:root {
  --bg:        #ffffff;
  --bg-light:  #f8f5f2;
  --bg-mist:   #f0f7fb;
  --bg-dark:   #2c2c2c;
  --text:      #2c2c2c;
  --muted:     #6b6b6b;
  --accent:    #6a9ab0;
  --accent-lt: #b8cdd8;
  --line:      #e8e8e8;
  --blue-pale: #d4e4ec;
  --font-sans: 'Jost', system-ui, sans-serif;
  --r-card: 14px;
  --r-btn:  999px;
  --shadow:      0 10px 40px -10px rgba(42,60,80,.08);
  --shadow-lift: 0 20px 50px -10px rgba(42,60,80,.14);
  --ease: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(38px, 5.2vw, 72px); font-weight: 600; }
h2 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 500; }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 500; }
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.dark em { color: var(--accent-lt); }
p { color: var(--muted); line-height: 1.72; }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '—';
  color: var(--accent);
}
.dark .eyebrow { color: rgba(255,255,255,.4); }
.dark .eyebrow::before { color: var(--accent-lt); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-btn);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease);
  line-height: 1;
  padding: 14px 28px;
}
.btn-dark {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 13px 27px;
}
.btn-dark:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106,154,176,.38);
}
.btn-accent {
  background: var(--accent);
  color: var(--bg);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106,154,176,.38);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 13px 27px;
}
.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106,154,176,.38);
}
.btn-cream {
  background: transparent;
  color: var(--accent-lt);
  border: 1.5px solid var(--accent-lt);
  padding: 13px 27px;
}
.btn-cream:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(106,154,176,.4);
}

#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 72px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.08));
}
.nav-logo-tagline {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 14px;
  margin-left: 14px;
  line-height: 1.3;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-book {
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 10px 22px;
  border-radius: 999px;
}
.nav-book-li { display: none; }

.section {
  padding: clamp(80px, 10vw, 130px) clamp(24px, 5vw, 80px);
}
#hero + .section { padding-top: clamp(40px, 5vw, 64px); }
.section.mist  { background: var(--bg-mist); }
.section.light { background: var(--bg-light); }
.section.dark  { background: var(--bg-dark); }

.section-intro {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-intro p {
  margin-top: 16px;
  font-size: 17px;
  max-width: 500px;
}
.section-intro.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-intro.centered .eyebrow { justify-content: center; }
.section-intro.centered .eyebrow::before { content: none; }
.section-intro.centered p { margin-left: auto; margin-right: auto; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .08s; }
.stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .16s; }
.stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .24s; }
.stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: .32s; }
.stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: .40s; }
.stagger.in > *:nth-child(7) { opacity: 1; transform: none; transition-delay: .48s; }

#footer {
  background: var(--bg-dark);
  padding: 64px clamp(24px, 5vw, 80px) 36px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-logo {
  margin-bottom: 14px;
}
.footer-logo img {
  height: 52px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.36);
  max-width: 240px;
  line-height: 1.65;
}
.footer-col h4 {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.52);
  transition: color var(--ease);
}
.footer-col ul a:hover { color: var(--bg); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.28);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.45);
  transition: border-color var(--ease), color var(--ease), transform var(--ease);
}
.footer-social a svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-social a:hover {
  border-color: rgba(255,255,255,.28);
  color: var(--bg);
  transform: translateY(-2px);
}

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 12px;
  background: var(--bg);
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  z-index: 999;
  transition: transform var(--ease), box-shadow var(--ease), opacity var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px -10px rgba(42,60,80,.22);
}
.wa-float.footer-visible {
  opacity: 0;
  pointer-events: none;
}
.wa-float svg { width: 32px; height: 32px; flex-shrink: 0; display: block; }
.wa-float span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 300ms ease, backdrop-filter 300ms ease;
}
.lightbox.open {
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: all;
}
.lightbox-content {
  position: relative;
  width: min(460px, 88vw);
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(.88);
  opacity: 0;
  transition: transform 380ms cubic-bezier(.34,1.4,.64,1), opacity 300ms ease;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.lightbox.open .lightbox-content {
  transform: scale(1);
  opacity: 1;
}
.lightbox-inner {
  width: 100%;
  height: 100%;
}
.lightbox-inner img,
.lightbox-inner .result-ph {
  width: 100%;
  height: 100%;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
  z-index: 2;
}
.lightbox-close:hover { background: rgba(0,0,0,.75); transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-cue-line { animation: none; }
  .hero-heading-bob { animation: none; }
  .result-card img { transition: none; }
  .result-card:hover img { transform: none; }
  .proc-card-img img { transition: none; }
  .proc-card-img:hover img { transform: none; }
}

@media (max-width: 1080px) {
  #nav { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .nav-toggle { display: flex; }
  .nav-logo-tagline { display: none; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease;
  }
  .nav-links.open {
    max-height: 480px;
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    display: block;
    padding: 16px clamp(24px, 5vw, 80px);
    border-bottom: 1px solid var(--line);
    text-align: center;
  }
  .nav-book { display: none; }
  .nav-book-li {
    display: block;
    padding: 16px clamp(24px, 5vw, 80px);
    text-align: center;
  }
  .nav-book-li a.nav-book-dropdown {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 10px 22px;
    border-radius: 999px;
    border-bottom: none;
  }
}

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

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