/* layout.css — hero, trust bar, why grid, testimonials, CTA banner */

/* ── HERO ── */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(15, 123, 108, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(15, 45, 82, 0.6) 0%, transparent 50%);
  padding: 80px 5vw 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 123, 108, 0.2);
  border: 1px solid rgba(15, 123, 108, 0.4);
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  color: white;
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero-title em {
  font-style: normal;
  color: var(--teal-light);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num span {
  color: var(--accent);
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.hero-accred {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.accred-badge {
  background: var(--teal);
  color: white;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
}

.accred-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 20px 5vw;
}

.trust-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
}

.trust-icon {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  flex-shrink: 0;
}

/* ── WHY US GRID ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.why-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Syne', sans-serif;
  font-size: 80px;
  color: var(--teal);
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
  opacity: 0.4;
}

.testimonial-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 20px;
  font-weight: 300;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: white;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ── CTA BANNER ── */
.cta-banner {
  /* Both stops dark enough for white text (≥4.5:1); --teal-light was 2.97:1 */
  background: linear-gradient(135deg, var(--teal) 0%, #0b5f54 100%);
  padding: 72px 5vw;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: white;
  margin-bottom: 14px;
}

.cta-banner p {
  color: white;
  font-size: 17px;
  margin-bottom: 36px;
  font-weight: 300;
}

.cta-banner .btn-primary {
  background: white;
  color: var(--teal);
}

.cta-banner .btn-primary:hover {
  background: var(--light);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    display: none;
  }

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

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

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}