/* ═══════════════════════════════════════════════
   Commercial Exteriors — Divided Sky
   Prefix: ce-
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.ce-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ce-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.ce-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;
}
.ce-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}
.ce-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--ds-white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.ce-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.ce-hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.ce-stat {
  display: flex;
  flex-direction: column;
}
.ce-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--ds-green);
}
.ce-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.ce-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Services Grid ── */
.ce-services {
  padding: 100px 0;
}
.ce-services h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.ce-services-intro {
  font-size: 17px;
  color: var(--ds-gray-600);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 48px;
}
.ce-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ce-service-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;
}
.ce-service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.ce-service-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;
}
.ce-service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 10px;
}
.ce-service-card p {
  font-size: 14px;
  color: var(--ds-gray-600);
  line-height: 1.6;
  margin-bottom: 14px;
}
.ce-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ce-features li {
  font-size: 13px;
  color: var(--ds-dark);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}
.ce-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ds-green);
  font-weight: 700;
}

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

/* ── Properties Grid (dark) ── */
.ce-properties {
  padding: 100px 0;
}
.ce-properties h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 48px;
}
.ce-properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ce-prop-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;
}
.ce-prop-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.ce-prop-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.ce-prop-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ds-white);
  margin-bottom: 8px;
}
.ce-prop-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ── Process Steps ── */
.ce-process {
  padding: 100px 0;
}
.ce-process h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 48px;
}
.ce-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ce-process-step {
  text-align: center;
}
.ce-process-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--ds-green);
  margin-bottom: 16px;
}
.ce-process-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 8px;
}
.ce-process-step p {
  font-size: 14px;
  color: var(--ds-gray-600);
  line-height: 1.6;
}

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

/* ── FAQ ── */
.ce-faq {
  padding: 100px 0;
}
.ce-faq h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 48px;
}
.ce-faq-list {
  max-width: 740px;
}
.ce-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ce-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;
}
.ce-faq-q svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.ce-faq-item.open .ce-faq-q svg {
  transform: rotate(180deg);
}
.ce-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.ce-faq-item.open .ce-faq-a {
  max-height: 300px;
}
.ce-faq-a p {
  font-size: 15px;
  color: var(--ds-gray-600);
  line-height: 1.7;
  padding-bottom: 20px;
}
.ce-faq-a a {
  color: var(--ds-green);
  font-weight: 600;
  text-decoration: underline;
}

/* ── CTA ── */
.ce-cta {
  padding: 100px 0;
}
.ce-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.ce-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) {
  .ce-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%);
  }

  .ce-hero { min-height: 500px; }
  .ce-hero-content { padding: 100px 0 60px; }
  .ce-services-grid { grid-template-columns: 1fr; }
  .ce-split-grid { grid-template-columns: 1fr; gap: 32px; }
  .ce-properties-grid { grid-template-columns: 1fr 1fr; }
  .ce-process-grid { grid-template-columns: 1fr 1fr; }
  .ce-reviews-grid { grid-template-columns: 1fr; }
  .ce-hero-ctas { flex-direction: column; }
  .ce-cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .ce-hero-stats { flex-direction: column; gap: 12px; }
  .ce-stat { flex-direction: row; gap: 8px; align-items: baseline; }
  .ce-properties-grid { grid-template-columns: 1fr; }
  .ce-process-grid { grid-template-columns: 1fr; }
}
