/* ── RESET & VARIABLES ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1e3a5f;
  --navy-dk:   #142b48;
  --teal:      #2ec4b6;
  --teal-lt:   #a8ede8;
  --pink:      #e8405a;
  --pink-dk:   #c72e47;
  --bg:        #e8f0f8;
  --white:     #ffffff;
  --body:      #4a4a6a;
  --body-lt:   #7a7a9a;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius:    16px;
  --shadow:    0 8px 32px rgba(30,58,95,0.12);
  --shadow-lg: 0 20px 60px rgba(30,58,95,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--body);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-pink {
  background: var(--pink);
  color: #fff; font-family: var(--font-body);
  font-weight: 600; font-size: 0.9rem;
  border: none; border-radius: 50px;
  padding: 12px 28px; cursor: pointer;
  text-decoration: none; display: inline-flex;
  align-items: center; gap: 6px;
  transition: background .2s, transform .18s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(232,64,90,0.35);
}
.btn-pink:hover {
  background: var(--pink-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232,64,90,0.45);
}

.btn-teal {
  background: var(--teal); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  border: none; border-radius: 50px;
  padding: 12px 28px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, transform .18s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(46,196,182,0.35);
}
.btn-teal:hover { background: #25a89c; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46,196,182,0.45); }

.btn-outline {
  background: transparent;
  color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.6); border-radius: 50px;
  padding: 11px 28px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-outline-navy {
  background: transparent;
  color: var(--navy); font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  border: 2px solid var(--navy); border-radius: 50px;
  padding: 11px 28px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, color .2s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ── NAV ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  padding: 0 5vw;
  display: flex; align-items: center; gap: 1.5rem;
  height: 70px;
  transition: background .35s, box-shadow .35s, border-color .35s;
}
nav.nav-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 28px rgba(30,58,95,0.15);
  border-bottom: 1px solid rgba(30,58,95,0.07);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  flex-shrink: 0; line-height: 1.25;
  transition: color .35s;
}
.nav-logo span { color: var(--teal); font-style: italic; }
nav.nav-scrolled .nav-logo { color: var(--navy); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.88); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-links a.active { color: var(--teal); font-weight: 600; }
nav.nav-scrolled .nav-links a { color: var(--body); }
nav.nav-scrolled .nav-links a:hover { color: var(--navy); background: var(--bg); }
nav.nav-scrolled .nav-links a.active { color: var(--teal); }

.nav-badge {
  display: flex; align-items: center; gap: 6px;
  background: #0077b5; color: #fff;
  padding: 5px 12px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600;
  text-decoration: none; flex-shrink: 0;
  transition: opacity .2s;
}
.nav-badge:hover { opacity: .85; }
.nav-badge svg { width: 14px; height: 14px; fill: #fff; }

.nav-phone {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.88); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; flex-shrink: 0; white-space: nowrap;
  transition: color .35s;
}
.nav-phone svg { color: var(--teal); flex-shrink: 0; }
nav.nav-scrolled .nav-phone { color: var(--navy); }

.nav-spacer { flex: 1; }

.nav-mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; color: var(--white);
  transition: color .35s;
}
nav.nav-scrolled .nav-mobile-toggle { color: var(--navy); }

/* ── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 150px 5vw 100px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-bubble {
  position: absolute; border-radius: 50%;
  background: rgba(46,196,182,0.09);
}
.page-hero-bubble-1 { width: 380px; height: 380px; top: -160px; right: -80px; }
.page-hero-bubble-2 { width: 220px; height: 220px; bottom: -80px; left: -60px; }

.page-hero-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.page-hero h1 em { color: var(--teal); font-style: italic; }
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem; max-width: 560px;
  margin: 0 auto; position: relative; z-index: 1;
}
.page-hero-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0;
}

/* ── SECTION LABELS ─────────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1.2;
  color: var(--navy); margin-bottom: 1.2rem;
}
.section-heading em { color: var(--teal); font-style: italic; }
.section-heading-white { color: var(--white); }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--navy-dk);
  padding: 60px 5vw 30px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 50px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  text-decoration: none; display: inline-block; margin-bottom: 14px;
}
.footer-logo span { color: var(--teal); font-style: italic; }
.footer-tagline { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--teal); color: #fff; }
.social-btn svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-weight: 600; font-size: 0.82rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 0.88rem; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }

/* ── LOGOS STRIP ────────────────────────────────────────────── */
.logos { background: var(--bg); padding: 60px 5vw; text-align: center; }
.logos-heading {
  font-family: var(--font-head);
  font-size: 1.4rem; color: var(--navy);
  margin-bottom: 2.5rem; font-weight: 600;
}
.logos-track {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 12px 20px;
}
.logo-chip {
  background: var(--white); border-radius: 12px;
  padding: 14px 28px;
  font-weight: 700; font-size: 0.88rem; color: var(--body);
  box-shadow: 0 2px 10px rgba(30,58,95,0.08); letter-spacing: 0.5px;
  transition: box-shadow .2s, transform .2s;
}
.logo-chip:hover { box-shadow: 0 6px 20px rgba(30,58,95,0.14); transform: translateY(-2px); }

/* ── CERTIFICATIONS ─────────────────────────────────────────── */
.certs {
  background: var(--white); padding: 50px 5vw;
  display: flex; align-items: center; flex-wrap: wrap; gap: 30px 50px;
}
.certs-label {
  font-weight: 700; font-size: 0.85rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--body-lt); flex-shrink: 0;
}
.certs-badges { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.cert-badge {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--teal-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; text-align: center;
  color: var(--navy); padding: 8px; line-height: 1.3;
  transition: border-color .2s, transform .2s;
}
.cert-badge:hover { border-color: var(--teal); transform: rotate(-3deg) scale(1.05); }

/* ── TESTIMONIAL CARDS ──────────────────────────────────────── */
.t-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.t-li-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; color: #0077b5;
  margin-bottom: 14px;
}
.t-li-badge svg { width: 16px; height: 16px; fill: #0077b5; }
.t-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 12px; }
.t-quote {
  font-size: 0.88rem; line-height: 1.7;
  color: var(--body); margin-bottom: 20px; font-style: italic;
}
.t-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--bg); padding-top: 16px;
}
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.9rem; flex-shrink: 0;
}
.t-author-name { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.t-author-title { font-size: 0.76rem; color: var(--body-lt); }

/* ── TEAM ───────────────────────────────────────────────────── */
.team { background: var(--bg); padding: 90px 5vw; }
.team-header { text-align: center; margin-bottom: 60px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.team-card {
  background: var(--white); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo {
  height: 280px; background: linear-gradient(135deg, var(--teal-lt), var(--bg));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-info { padding: 24px 28px; }
.team-info h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.team-info .role { font-size: 0.8rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.team-info p { font-size: 0.85rem; color: var(--body-lt); line-height: 1.6; }

/* ── WHAT SETS US APART ─────────────────────────────────────── */
.apart {
  background: var(--teal); padding: 90px 5vw;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; overflow: hidden;
}
.apart-bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.1); }
.apart-bub-1 { width: 400px; height: 400px; bottom: -180px; right: -120px; }
.apart-bub-2 { width: 180px; height: 180px; top: -70px; left: 40%; }
.apart-visual {
  position: relative; z-index: 1; height: 380px;
  border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.25);
}
.apart-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apart-visual-icon { font-size: 6rem; opacity: .4; }
.apart-content { position: relative; z-index: 1; }
.apart-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 0.75rem;
}
.apart-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 2rem;
}
.apart-list { list-style: none; }
.apart-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2);
  font-size: 0.95rem; font-weight: 500; color: #fff;
}
.apart-list li:last-child { border-bottom: none; }
.apart-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.apart-check svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 2.5; fill: none; }

/* ── FINAL CTA BAND ─────────────────────────────────────────── */
.final-cta {
  background: var(--navy); padding: 90px 5vw;
  text-align: center; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.cta-bubble-1 {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(46,196,182,0.08); top: -160px; left: -100px;
}
.cta-bubble-2 {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: rgba(232,64,90,0.07); bottom: -100px; right: -80px;
}
.cta-rocket {
  width: 80px; height: 80px; margin-bottom: 20px; display: flex;
  align-items: center; justify-content: center;
  animation: float 3.5s ease-in-out infinite; position: relative; z-index: 1;
}
.cta-rocket svg { width: 80px; height: 80px; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.cta-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.75rem; position: relative; z-index: 1;
}
.cta-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 1rem;
  max-width: 680px; position: relative; z-index: 1;
}
.cta-heading em { color: var(--teal); font-style: normal; }
.cta-sub {
  color: rgba(255,255,255,0.65); font-size: 1rem;
  margin-bottom: 2rem; max-width: 480px; position: relative; z-index: 1;
}
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .apart { grid-template-columns: 1fr; }
  .apart-visual { height: 260px; }
}
@media (max-width: 768px) {
  nav { padding: 0 4vw; gap: 1rem; }
  .nav-links, .nav-badge, .nav-phone { display: none; }
  .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .certs { justify-content: center; text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .apart { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .page-hero { padding: 60px 4vw 80px; }
}

/* ── MOBILE: CAROUSELS + TIGHTER LAYOUT (≤680px) ─────────────
   Higher-specificity (`body .x`) selectors so these win against
   per-page <style> rules loaded after this file.            */
@media (max-width: 680px) {
  /* Tighter section padding */
  body .about,
  body .process,
  body .testimonials,
  body .apart,
  body .services,
  body .team,
  body .values,
  body .reviews-section,
  body .final-cta,
  body .packages,
  body .story,
  body .logos,
  body .quick-actions,
  body .contact-body { padding-top: 60px; padding-bottom: 60px; }

  /* Heading sizes */
  body .section-heading,
  body .t-heading,
  body .apart-heading,
  body .services-heading,
  body .cta-heading,
  body .page-hero h1 { font-size: 1.65rem; line-height: 1.25; }

  /* Hero — kill 100vh, shrink photo */
  body .hero { min-height: auto; padding-bottom: 50px; padding-top: 80px; }
  body .hero-content { padding-top: 0; }
  body .hero-headline { font-size: 2rem; line-height: 1.18; }
  body .hero-photo-placeholder { height: 360px; max-width: 300px; margin: 0 auto; }
  body .hero-wave { display: none; }

  /* Page hero (inner pages) tighter */
  body .page-hero { padding: 110px 5vw 70px; }

  /* CAROUSELS — convert column grids to horizontal swipe rails */
  body .t-cards-grid,
  body .services-grid,
  body .process-grid,
  body .team-grid,
  body .values-grid,
  body .reviews-grid,
  body .packages-grid,
  body .quick-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding: 8px 5vw 22px;
    margin-left: -5vw;
    margin-right: -5vw;
    max-width: 100vw;
  }
  body .t-cards-grid::-webkit-scrollbar,
  body .services-grid::-webkit-scrollbar,
  body .process-grid::-webkit-scrollbar,
  body .team-grid::-webkit-scrollbar,
  body .values-grid::-webkit-scrollbar,
  body .reviews-grid::-webkit-scrollbar,
  body .packages-grid::-webkit-scrollbar,
  body .quick-grid::-webkit-scrollbar { display: none; }

  body .t-cards-grid > *,
  body .services-grid > *,
  body .team-grid > *,
  body .values-grid > *,
  body .reviews-grid > *,
  body .packages-grid > *,
  body .quick-grid > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
    min-width: 0;
  }
  body .process-grid > * {
    flex: 0 0 75%;
    scroll-snap-align: start;
    min-width: 0;
  }

  /* Reset transforms that look bad in carousel layout */
  body .t-cards-grid .t-card:nth-child(2) { transform: none; }
  body .pkg-card.featured { transform: none; }
  body .pkg-card.featured:hover { transform: translateY(-6px); }

  /* CTA / button rows stack and stretch */
  body .cta-btns,
  body .hero-ctas,
  body .svc-btns,
  body .process-ctas,
  body .testimonials-header > div:last-child,
  body .btn-group { flex-direction: column; align-items: stretch; }
  body .cta-btns > *,
  body .hero-ctas > *,
  body .svc-btns > *,
  body .process-ctas > *,
  body .btn-group > * { justify-content: center; text-align: center; }

  /* Story photo + about-photo + apart-visual: leaner on mobile */
  body .story-photo { height: 320px; }
  body .about-photo { height: 280px; }
  body .apart-visual { height: 240px; }

  /* Footer collapses to 1 col, left-aligned */
  body .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  body .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Sticky service-nav padding */
  body .services-nav { padding: 14px 4vw; gap: 8px; }
  body .svc-nav-btn { padding: 6px 14px; font-size: 0.78rem; }

  /* Contact form padding */
  body .form-card { padding: 28px 20px; }

  /* Body horizontal scroll guard */
  body { overflow-x: hidden; }
}
