/* ═══════════════════════════════════════════════
   Commercial Storm & Insurance — Divided Sky
   Prefix: csi-
   ═══════════════════════════════════════════════ */

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

/* ── Damage Types ── */
.csi-damage {
  padding: 100px 0;
}
.csi-damage h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ds-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.csi-damage-intro {
  font-size: 17px;
  color: var(--ds-gray-600);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 48px;
}
.csi-damage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.csi-damage-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;
}
.csi-damage-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.csi-damage-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.csi-damage-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 10px;
}
.csi-damage-card > p {
  font-size: 15px;
  color: var(--ds-gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}
.csi-damage-signs {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
}
.csi-damage-signs strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-dark);
  display: block;
  margin-bottom: 8px;
}
.csi-damage-signs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.csi-damage-signs ul li {
  font-size: 13px;
  color: var(--ds-gray-600);
  padding: 4px 0 4px 18px;
  position: relative;
}
.csi-damage-signs ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ds-green);
  font-weight: 700;
}

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

/* ── Process Steps ── */
.csi-process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.csi-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.csi-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;
}
.csi-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 4px;
}
.csi-step p {
  font-size: 14px;
  color: var(--ds-gray-600);
  line-height: 1.6;
  margin: 0;
}

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

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

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

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

  .csi-hero { min-height: 500px; }
  .csi-hero-content { padding: 100px 0 60px; }
  .csi-damage-grid { grid-template-columns: 1fr; }
  .csi-split-grid { grid-template-columns: 1fr; gap: 32px; }
  .csi-split-reverse { direction: ltr; }
  .csi-why-grid { grid-template-columns: 1fr; }
  .csi-reviews-grid { grid-template-columns: 1fr; }
  .csi-hero-ctas { flex-direction: column; }
  .csi-cta-btns { flex-direction: column; align-items: center; }
}

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