/* ============================================
   STORM DAMAGE PAGE — Divided Sky
   Extends homepage-v2.css base styles
   ============================================ */

/* --- HERO --- */
.sd-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sd-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sd-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;
}
.sd-hero .ds-container {
  position: relative;
  z-index: 2;
}
.sd-hero-content {
  max-width: 700px;
  padding: 120px 0 80px;
}
.sd-hero-urgent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(119, 232, 6, 0.12);
  border: 1px solid rgba(119, 232, 6, 0.3);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.sd-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--ds-white);
  line-height: 1.05;
  margin-bottom: 20px;
}
.sd-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 580px;
}
.sd-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.sd-btn-pulse {
  animation: sd-pulse 2s ease-in-out infinite;
}
@keyframes sd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(119, 232, 6, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(119, 232, 6, 0); }
}

/* Hero Stats */
.sd-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.sd-hero-stat {
  text-align: left;
}
.sd-hero-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ds-white);
  line-height: 1.2;
}
.sd-hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* --- TYPES OF STORM DAMAGE --- */
.sd-types {
  padding: 100px 0;
  background: var(--ds-white);
}
.sd-types-header {
  text-align: center;
  margin-bottom: 60px;
}
.sd-types-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ds-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.sd-types-sub {
  font-size: 1.1rem;
  color: var(--ds-gray-600);
  max-width: 600px;
  margin: 0 auto;
}
.sd-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.sd-type-card {
  background: var(--ds-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ds-gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sd-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.sd-type-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.sd-type-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sd-type-card:hover .sd-type-img {
  transform: scale(1.05);
}
.sd-type-body {
  padding: 28px;
}
.sd-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(119, 232, 6, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ds-green);
}
.sd-type-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 12px;
}
.sd-type-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ds-gray-600);
  margin-bottom: 16px;
}
.sd-type-signs {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sd-type-signs li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ds-gray-600);
  margin-bottom: 6px;
  line-height: 1.5;
}
.sd-type-signs li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
}

/* --- PROCESS STEPS --- */
.sd-process {
  padding: 100px 0;
  background: var(--ds-dark);
}
.sd-process-header {
  text-align: center;
  margin-bottom: 60px;
}
.sd-process-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ds-white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.sd-process-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
}
.sd-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.sd-step {
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.sd-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ds-green);
  color: var(--ds-dark);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}
.sd-step-connector {
  position: absolute;
  top: 26px;
  left: calc(50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: rgba(119, 232, 6, 0.2);
  z-index: 1;
}
.sd-step:last-child .sd-step-connector {
  display: none;
}
.sd-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-white);
  margin-bottom: 12px;
}
.sd-step p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.sd-process-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- INSURANCE SECTION --- */
.sd-insurance {
  padding: 100px 0;
  background: var(--ds-white);
}
.sd-insurance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sd-insurance-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--ds-dark);
  margin-bottom: 20px;
  line-height: 1.15;
}
.sd-insurance-content > p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ds-gray-600);
  margin-bottom: 28px;
}
.sd-insurance-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sd-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sd-check-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.sd-check-item span {
  font-size: 0.95rem;
  color: var(--ds-dark);
  line-height: 1.5;
}
.sd-insurance-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* --- WHY DIVIDED SKY --- */
.sd-why {
  padding: 100px 0;
  background: #f8f9fa;
}
.sd-why-header {
  text-align: center;
  margin-bottom: 72px;
}
.sd-why-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ds-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.sd-why-sub {
  font-size: 1.1rem;
  color: var(--ds-gray-600);
  max-width: 620px;
  margin: 0 auto;
}
.sd-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.sd-why-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--ds-white);
  border-radius: 12px;
  border: 1px solid var(--ds-gray-200);
  transition: box-shadow 0.3s ease;
}
.sd-why-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.sd-why-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ds-green);
  flex-shrink: 0;
  line-height: 1;
}
.sd-why-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ds-dark);
  margin-bottom: 10px;
}
.sd-why-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ds-gray-600);
}

/* --- STORM TRACKER --- */
.sd-tracker {
  padding: 100px 0;
  background: var(--ds-dark);
}
.sd-tracker-header {
  text-align: center;
  margin-bottom: 48px;
}
.sd-tracker-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ds-white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.sd-tracker-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.sd-tracker-map {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(119, 232, 6, 0.15);
}
.sd-tracker-cta {
  text-align: center;
  margin-top: 40px;
}
.sd-tracker-note {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .sd-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%);
  }

  .sd-tracker {
    padding: 70px 0;
  }
  .sd-tracker-map iframe {
    height: 450px !important;
  }
}

/* --- REVIEWS --- */
.sd-reviews {
  padding: 100px 0;
  background: var(--ds-white);
}
.sd-reviews-header {
  text-align: center;
  margin-bottom: 60px;
}
.sd-reviews-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ds-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.sd-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.sd-review-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--ds-gray-200);
}
.sd-review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.sd-review-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ds-dark);
  font-style: italic;
  margin-bottom: 16px;
}
.sd-review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ds-gray-500);
}
.sd-reviews-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}
.sd-badge {
  height: 48px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.sd-badge:hover {
  opacity: 1;
}

/* --- FAQ --- */
.sd-faq {
  padding: 100px 0;
  background: var(--ds-dark);
}
.sd-faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.sd-faq-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ds-white);
  line-height: 1.3;
}
.sd-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.sd-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sd-faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ds-white);
  text-align: left;
  gap: 16px;
  font-family: inherit;
}
.sd-faq-trigger:hover {
  color: var(--ds-green);
}
.sd-faq-icon {
  font-size: 1.4rem;
  color: var(--ds-green);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.sd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.sd-faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.sd-faq-open .sd-faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.sd-faq-open .sd-faq-icon {
  transform: rotate(45deg);
}

/* --- SERVICE AREA --- */
.sd-service-area {
  padding: 80px 0;
  background: var(--ds-white);
}
.sd-area-content {
  text-align: center;
}
.sd-area-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ds-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}
.sd-area-sub {
  font-size: 1.05rem;
  color: var(--ds-gray-600);
  margin-bottom: 24px;
}
.sd-area-link {
  color: var(--ds-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.sd-area-link:hover {
  text-decoration: underline;
}

/* --- FINAL CTA --- */
.sd-final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--ds-dark) 0%, #1a1a1a 100%);
  text-align: center;
}
.sd-final-icon {
  margin-bottom: 24px;
}
.sd-final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--ds-white);
  margin-bottom: 16px;
  line-height: 1.3;
}
.sd-final-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.sd-final-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .sd-types-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sd-process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .sd-step-connector {
    display: none;
  }
  .sd-insurance-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sd-insurance-image {
    order: -1;
  }
  .sd-why-grid {
    grid-template-columns: 1fr;
  }
  .sd-reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sd-hero-content {
    padding: 100px 0 60px;
  }
  .sd-hero h1 {
    font-size: 2.2rem;
  }
  .sd-hero-stats {
    gap: 24px;
  }
  .sd-types,
  .sd-process,
  .sd-insurance,
  .sd-why,
  .sd-reviews,
  .sd-faq,
  .sd-final-cta {
    padding: 70px 0;
  }
  .sd-types-grid {
    grid-template-columns: 1fr;
  }
  .sd-process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sd-reviews-grid {
    grid-template-columns: 1fr;
  }
  .sd-reviews-badges {
    gap: 24px;
    flex-wrap: wrap;
  }
  .sd-hero-buttons {
    flex-direction: column;
  }
  .sd-final-buttons {
    flex-direction: column;
    align-items: center;
  }
}
