/* ADI — shared styles (mobile first) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0; background: var(--blush); color: var(--plum);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  overflow-x: clip;
  padding-bottom: calc(var(--nav-h) + var(--safe-b));
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.on-plum :focus-visible, .on-plum:focus-visible { outline-color: var(--blush); }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--plum); color: var(--blush); padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--plum-70); }
.eyebrow .bar { display: inline-block; width: 1px; height: .9em; background: currentColor; margin-inline: .5em; vertical-align: -1px; opacity: .6; }
.accent-num { font-family: var(--font-accent); font-style: italic; font-size: 1.15em; color: var(--rose); direction: ltr; unicode-bidi: isolate; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 500; font-size: 17px; text-decoration: none; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-plum { background: var(--plum); color: var(--blush); box-shadow: 0 10px 24px -14px rgba(84, 36, 62, .8); }
.btn-plum:hover { background: var(--plum-deep); }
.btn-blush { background: var(--blush); color: var(--plum); }
.btn-ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn .arrow { width: 22px; height: 12px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(-4px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header { padding: 14px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin-inline: auto; }
.site-header .logo { display: block; width: 104px; aspect-ratio: 760 / 456; }
.site-header .logo img { width: 100%; height: 100%; object-fit: contain; }
.site-header .head-link { font-size: 14px; font-weight: 500; text-decoration: none; padding: 10px 2px; border-bottom: 1px solid var(--plum-12); }


/* ---------- Bottom navigation (right → left: WhatsApp, Home, Treatments, Results, Products) ---------- */
.bottom-nav {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  padding-bottom: var(--safe-b);
  background: rgba(252, 244, 243, .92); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid var(--plum-12);
}
.bottom-nav ul { list-style: none; margin: 0 auto; padding: 0 6px; display: flex; max-width: 560px; height: var(--nav-h); }
.bottom-nav li { flex: 1; }
.bottom-nav a {
  position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; font-size: 12px; font-weight: 500; color: var(--plum-70); -webkit-tap-highlight-color: transparent;
  transition: color .2s;
}
.bottom-nav svg { width: 24px; height: 24px; transition: transform .3s var(--ease); }
.bottom-nav a[aria-current="page"], .bottom-nav a[aria-current="location"], .bottom-nav a.is-current { color: var(--plum); }
.bottom-nav a.is-current::before, .bottom-nav a[aria-current]::before {
  content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--plum);
}
.bottom-nav a.is-current svg, .bottom-nav a[aria-current] svg { transform: translateY(-1px); }
.bottom-nav .nav-wa svg { color: var(--plum); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Opening ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--plum);
  display: grid; place-items: center; cursor: pointer;
  transition: clip-path .6s var(--ease);
  clip-path: inset(0 0 0 0);
}
.intro img { width: min(68vw, 360px); height: auto; opacity: 0; transform: scale(.94); }
.intro.play img { animation: introLogo 1.4s var(--ease) forwards; }
.intro .intro-leaf-line { position: absolute; bottom: 18%; width: 0; height: 1px; background: var(--rose); opacity: .7; }
.intro.play .intro-leaf-line { animation: introLine 1.2s .25s var(--ease) forwards; }
.intro.leaving { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro[hidden] { display: none; }
.show-intro .intro[hidden] { display: grid; }
@keyframes introLogo { 0% { opacity: 0; transform: scale(.94); filter: blur(6px); } 45% { opacity: 1; transform: scale(1); filter: blur(0); } 100% { opacity: 1; transform: scale(1.015); } }
@keyframes introLine { to { width: min(40vw, 180px); } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; inset-inline: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 84px); z-index: 70; margin-inline: auto; max-width: 360px;
  background: var(--plum); color: var(--blush); border-radius: 14px; padding: 12px 16px; font-size: 15px; text-align: center;
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Desktop: nav becomes a floating pill ---------- */
@media (min-width: 900px) {
  .bottom-nav { inset-inline: auto; left: 50%; transform: translateX(-50%); bottom: 18px; border-radius: 999px; border: 1px solid var(--plum-12); box-shadow: 0 18px 40px -24px rgba(84, 36, 62, .6); width: 520px; }
  .site-header .logo { width: 128px; }
}
