/* ═══════════════════════════════════════════════
   Commercial Roofing — Divided Sky
   Prefix: cr-
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.cr-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cr-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}
.cr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(25,25,25,0.25) 0%, rgba(25,25,25,0.5) 50%, rgba(25,25,25,0.7) 100%);
  z-index: 1;
}
.cr-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}
.cr-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--ds-white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.cr-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.cr-hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cr-stat {
  display: flex;
  flex-direction: column;
}
.cr-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--ds-green);
}
.cr-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.cr-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Roofing Systems Grid ── */
.cr-systems {
  padding: 100px 0;
}
.cr-systems h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.cr-systems-intro {
  font-size: 17px;
  color: var(--ds-gray-600);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 48px;
}
.cr-systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.cr-system-card {
  background: var(--ds-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 36px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cr-system-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.cr-system-icon {
  width: 56px;
  height: 56px;
  background: rgba(119, 232, 6, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-green);
  margin-bottom: 20px;
}
.cr-system-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 12px;
}
.cr-system-card p {
  font-size: 15px;
  color: var(--ds-gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cr-system-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cr-system-features li {
  font-size: 14px;
  color: var(--ds-dark);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}
.cr-system-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ds-green);
  font-weight: 700;
}

/* ── Split Sections ── */
.cr-split {
  padding: 100px 0;
}
.cr-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cr-split-reverse .cr-split-grid {
  direction: rtl;
}
.cr-split-reverse .cr-split-grid > * {
  direction: ltr;
}
.cr-split-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.cr-split-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.cr-split-text p {
  font-size: 16px;
  color: var(--ds-gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cr-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cr-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ds-dark);
  padding: 8px 0;
}

/* ── Buildings Grid ── */
.cr-buildings {
  padding: 100px 0;
}
.cr-buildings h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 48px;
}
.cr-buildings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cr-building-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.cr-building-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.cr-building-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.cr-building-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ds-white);
  margin-bottom: 8px;
}
.cr-building-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ── Process Steps ── */
.cr-process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cr-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cr-step-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--ds-green);
  background: rgba(119, 232, 6, 0.08);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cr-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 4px;
}
.cr-step p {
  font-size: 14px;
  color: var(--ds-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ── Why Grid ── */
.cr-why {
  padding: 100px 0;
}
.cr-why h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 48px;
}
.cr-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cr-why-card {
  background: var(--ds-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cr-why-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.cr-why-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.cr-why-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 8px;
}
.cr-why-card p {
  font-size: 14px;
  color: var(--ds-gray-600);
  line-height: 1.6;
}

/* ── Reviews ── */
.cr-reviews {
  padding: 100px 0;
}
.cr-reviews h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 48px;
}
.cr-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cr-review-card {
  background: var(--ds-white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cr-review-stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 16px;
}
.cr-review-card p {
  font-size: 15px;
  color: var(--ds-dark);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}
.cr-review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-gray-500);
}

/* ── FAQ ── */
.cr-faq {
  padding: 100px 0;
}
.cr-faq h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 48px;
}
.cr-faq-list {
  max-width: 740px;
}
.cr-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cr-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ds-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.cr-faq-q svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.cr-faq-item.open .cr-faq-q svg {
  transform: rotate(180deg);
}
.cr-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.cr-faq-item.open .cr-faq-a {
  max-height: 300px;
}
.cr-faq-a p {
  font-size: 15px;
  color: var(--ds-gray-600);
  line-height: 1.7;
  padding-bottom: 20px;
}
.cr-faq-a a {
  color: var(--ds-green);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Service Area ── */
.cr-service-area {
  padding: 80px 0;
}
.cr-service-area h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 32px;
}
.cr-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cr-cities span {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── CTA ── */
.cr-cta {
  padding: 100px 0;
}
.cr-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.cr-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Animations ── */
.ds-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ds-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .cr-hero-overlay {
    background: linear-gradient(to bottom, rgba(25,25,25,0.25) 0%, rgba(25,25,25,0.5) 50%, rgba(25,25,25,0.7) 100%);
  }

  .cr-hero { min-height: 500px; }
  .cr-hero-content { padding: 100px 0 60px; }
  .cr-hero-stats { gap: 20px; }
  .cr-stat-num { font-size: 22px; }
  .cr-systems-grid { grid-template-columns: 1fr; }
  .cr-split-grid { grid-template-columns: 1fr; gap: 32px; }
  .cr-split-reverse .cr-split-grid { direction: ltr; }
  .cr-buildings-grid { grid-template-columns: 1fr; }
  .cr-why-grid { grid-template-columns: 1fr; }
  .cr-reviews-grid { grid-template-columns: 1fr; }
  .cr-hero-ctas { flex-direction: column; }
  .cr-cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .cr-hero-stats { flex-direction: column; gap: 12px; }
  .cr-stat { flex-direction: row; gap: 8px; align-items: baseline; }
}
