/* ===================================
   SiteAssurance — Layout Styles
   =================================== */

/* =========== HERO =========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + var(--space-3xl)) var(--container-padding) var(--space-3xl);
  overflow: hidden;
  background: var(--color-noir);
  color: var(--color-text-on-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 35%, rgba(9, 76, 65, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(252, 183, 144, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 45% 35% at 10% 65%, rgba(9, 76, 65, 0.08) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(252, 183, 144, 0.4) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero h1, .hero h2, .hero h3 {
  color: var(--color-text-on-dark);
}

.hero em {
  color: var(--color-lime);
}

.hero-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-lime);
  border: 1px solid rgba(252, 183, 144, 0.25);
  border-radius: var(--radius-full);
  padding: var(--space-2xs) var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: rgba(226, 237, 232, 0.6);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero .btn-ghost {
  border-color: rgba(226, 237, 232, 0.18);
  color: rgba(226, 237, 232, 0.75);
}

.hero .btn-ghost:hover {
  border-color: rgba(252, 183, 144, 0.35);
  background: rgba(252, 183, 144, 0.06);
  color: var(--color-lime);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-on-dark);
  line-height: 1;
  margin-bottom: var(--space-2xs);
}

.trust-item span {
  font-size: var(--text-sm);
  color: rgba(226, 237, 232, 0.35);
  letter-spacing: var(--tracking-wide);
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(226, 237, 232, 0.1);
}

/* =========== SERVICES =========== */
.services {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* =========== HOW IT WORKS =========== */
.how-it-works {
  padding: var(--space-section) 0;
  background: var(--color-bg-alt);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-xl);
}

/* =========== WHY US =========== */
.why-us {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-3xl);
  align-items: start;
}

.why-us-text h2 {
  margin-bottom: var(--space-lg);
}

.why-us-text p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* =========== FAQ =========== */
.faq {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

.faq-list {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

/* =========== CONTACT =========== */
.contact {
  padding: var(--space-section) 0;
  background: var(--color-bg-warm);
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}

.contact-detail svg {
  flex-shrink: 0;
  color: var(--color-teal);
}

.contact-detail a,
.contact-detail address {
  color: var(--color-text-secondary);
}

.contact-detail a:hover {
  color: var(--color-teal);
}

/* =========== RESPONSIVE =========== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    background: var(--color-bg);
    z-index: 9999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: var(--text-lg);
    color: var(--color-ink);
  }

  .nav-toggle {
    display: flex;
    z-index: 10000;
  }

  .site-header:not(.scrolled) .nav-toggle span {
    background: #ffffff;
  }

  .site-header:not(.scrolled) .nav-toggle.active span {
    background: var(--color-ink) !important;
  }

  .lang-switcher-desktop {
    display: none;
  }

  .nav-lang-mobile {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: calc(80px + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .trust-divider {
    width: 36px;
    height: 1px;
    background: rgba(226, 237, 232, 0.1);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .step-connector {
    width: 2px;
    height: 32px;
    background: var(--color-border);
    margin-top: 0;
  }

  .step p {
    max-width: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: var(--space-xl);
  }

}

@media (max-width: 480px) {
  .lead-form {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
  }

}