/* ==========================================================================
   VYO Salon: styles (mobile-first)
   ========================================================================== */
:root {
  --cream: #FAF6F1;
  --cream-2: #F3ECE3;
  --nude: #EADCCD;
  --nude-2: #D9C3AE;
  --rose: #D8B4A6;
  --gold: #B89565;
  --gold-dark: #8F6F44;
  --text: #3B302A;
  --text-soft: #6B5D53;
  --white: #FFFDFB;
  --line: rgba(59, 48, 42, .12);

  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 2px;
  --radius-lg: 18px;
  --shadow: 0 18px 40px -24px rgba(59, 48, 42, .35);
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 500; line-height: 1.15; letter-spacing: .005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--cream); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  margin: 0 0 1rem;
  font-size: .75rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--nude); }
.section-title { font-size: clamp(2.1rem, 7vw, 3.2rem); margin-bottom: .6em; }
.section-intro { color: var(--text-soft); max-width: 36rem; }
.section-head { margin-bottom: 2.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .85em 1.3em;
  font: 400 .84rem/1.2 var(--font-sans); letter-spacing: .07em; text-transform: uppercase; text-align: center;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--outline { border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--cream); }
.btn--ghost-light { border-color: rgba(255, 253, 251, .55); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255, 253, 251, .12); }
.btn--sm { min-height: 42px; padding: .6em 1.2em; font-size: .78rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid, .site-header.menu-open {
  background: rgba(250, 246, 241, .96);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: block; color: inherit; line-height: 0; }
.logo { display: block; height: auto; }
.logo--header { width: 92px; }
.site-header:not(.is-solid):not(.menu-open) .logo--header .logo-accent { fill: var(--nude); }

.menu-toggle {
  position: relative; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 auto; padding: 1.5rem var(--gutter) 2rem;
  background: var(--cream); color: var(--text);
  box-shadow: 0 20px 30px -20px rgba(59, 48, 42, .3);
  display: none;
}
.no-js .nav { display: none; }
.nav.is-open { display: block; animation: navIn .35s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } }
.nav ul { display: grid; gap: .25rem; margin-bottom: 1.25rem; }
.nav a:not(.btn) {
  display: block; padding: .6rem 0; text-decoration: none;
  font-family: var(--font-serif); font-size: 1.6rem; border-bottom: 1px solid var(--line);
}
.nav-cta { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 2rem) 0 5.5rem;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(38, 29, 23, .45) 0%, rgba(38, 29, 23, .15) 35%, rgba(38, 29, 23, .7) 100%),
    linear-gradient(90deg, rgba(38, 29, 23, .35), rgba(38, 29, 23, 0) 70%);
}
.hero-content { max-width: 1180px; }
.hero-badge {
  display: inline-block; margin-bottom: 1.4rem; padding: .35em 1em;
  border: 1px solid rgba(234, 220, 205, .6); border-radius: 999px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--nude);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(38, 29, 23, .18);
}
.hero-title { margin: 0 0 1.25rem; color: var(--cream); }
.logo--hero { width: min(300px, 72vw); filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .25)); }
.logo--hero .logo-accent { fill: #D7B98A; }
.hero-tagline {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 5vw, 1.9rem); line-height: 1.35; max-width: 30rem; margin-bottom: 2rem;
  color: var(--cream);
}
.hero-actions { display: flex; flex-direction: column; gap: .75rem; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--nude);
}
.hero-scroll::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--nude), transparent); }

/* ---------- sections ---------- */
.section { padding: 5rem 0; }

/* about */
.about-grid { display: grid; gap: 2.5rem; }
.about-media { margin: 0; position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 120px var(--radius-lg); }
.about-media::before {
  content: ""; position: absolute; inset: 18px -12px -12px 18px; z-index: -1;
  border: 1px solid var(--nude-2); border-radius: var(--radius-lg) var(--radius-lg) 120px var(--radius-lg);
}
.about { position: relative; isolation: isolate; }
.about-text p { color: var(--text-soft); }
.highlights { margin-top: 1.75rem; display: grid; gap: .8rem; }
.highlights li { display: flex; align-items: center; gap: .9rem; font-weight: 400; }
.highlights li::before {
  content: ""; width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: var(--gold);
}

/* treatments */
.treatments { background: var(--cream-2); }
.tabs {
  display: flex; gap: .5rem; margin-bottom: 2rem; padding: .35rem;
  background: var(--white); border-radius: 999px; width: fit-content; max-width: 100%;
  box-shadow: 0 1px 0 var(--line);
}
.no-js .tabs { display: none; }
.tab {
  min-height: 44px; padding: .55em 1.6em; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text-soft);
  font: 400 .85rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tab[aria-selected="true"] { background: var(--text); color: var(--cream); }
.js .group:not(.is-active) { display: none; }
.no-js .group + .group { margin-top: 4rem; }
.group.is-active { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.group-intro { position: relative; margin-bottom: 1.75rem; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); }
.group-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.group-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(38, 29, 23, .72), rgba(38, 29, 23, 0) 65%); }
.group-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.4rem; z-index: 1; }
.group-title { font-size: 2.2rem; font-weight: 400; }
.group-caption p { margin: .2rem 0 0; font-size: .95rem; color: var(--nude); }

.cards { display: grid; gap: 1.25rem; }
.card {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.card-media { overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.card-title { font-size: 1.6rem; margin-bottom: .5rem; }
.card-text { font-size: .97rem; color: var(--text-soft); margin-bottom: 1.1rem; }
.card-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--line); font-size: .88rem; color: var(--text-soft);
}
.card-meta li { display: inline-flex; align-items: center; gap: .45rem; }
.card-meta .icon { color: var(--gold); }
.card-meta .price { color: var(--text); font-weight: 400; }
.card-link {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  margin-top: 1.1rem; padding: .4rem 0; text-decoration: none;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark);
  border-bottom: 1px solid currentColor;
}
.card-link .icon { transition: transform .3s var(--ease); }
.card-link:hover .icon { transform: translateX(4px); }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.gallery-item { display: block; overflow: hidden; border-radius: 12px; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-grid li:nth-child(1) { grid-column: span 2; }
.gallery-grid li:nth-child(1) img { aspect-ratio: 16 / 10; }

/* steps */
.steps { background: var(--nude); }
.steps-list { display: grid; gap: 1rem; counter-reset: step; }
.step {
  position: relative; padding: 1.75rem 1.5rem 1.5rem; background: var(--cream);
  border-radius: var(--radius-lg);
}
.step-num {
  display: block; margin-bottom: .6rem;
  font-family: var(--font-serif); font-size: 3rem; line-height: 1; font-weight: 400; color: var(--gold);
}
.step-title { font-size: 1.6rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--text-soft); }
.steps-cta { margin-top: 2.25rem; text-align: center; }

/* contact */
.contact-grid { display: grid; gap: 1.5rem; }
.contact-card { padding: 1.75rem 1.25rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-list { margin: 0; display: grid; gap: 1.4rem; }
.contact-list dt {
  display: flex; align-items: center; gap: .55rem; margin-bottom: .25rem;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark);
}
.contact-list dd { margin: 0; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.4; }
.contact-list dd a { text-decoration: none; }
.hours { display: grid; gap: .2rem; }
.hours span { white-space: nowrap; }
.hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .2rem; }
.women-only {
  display: inline-block; margin: 1.6rem 0 0; padding: .35em 1em; border-radius: 999px;
  background: var(--cream-2); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark);
}
.contact-actions { display: grid; gap: .75rem; margin-top: 1.6rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; background: var(--nude); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.35) sepia(.12); }

/* footer */
.site-footer {
  padding: 3.5rem 0 calc(6.5rem + env(safe-area-inset-bottom));
  background: var(--text); color: var(--nude); text-align: center; font-size: .92rem;
}
.footer-inner { display: grid; justify-items: center; gap: 1rem; }
.logo--footer { width: 120px; color: var(--cream); }
.footer-contact a { text-decoration: none; border-bottom: 1px solid rgba(234, 220, 205, .35); }
.footer-note { max-width: 34rem; font-size: .8rem; opacity: .75; }
.footer-copy { font-size: .75rem; opacity: .6; margin: 0; }

/* floating WhatsApp (mobile) */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--white);
  box-shadow: 0 10px 28px -8px rgba(59, 48, 42, .55);
  transition: transform .4s var(--ease), opacity .4s var(--ease), background .3s;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { background: var(--gold-dark); }
.js .wa-float:not(.is-visible) { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }

/* lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(30, 23, 19, .94); color: var(--cream);
}
.lightbox::backdrop { background: rgba(30, 23, 19, .6); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox-figure { margin: 0; padding: 4rem 1rem; display: grid; justify-items: center; gap: 1rem; }
.lightbox-figure img { max-width: 100%; max-height: calc(100dvh - 10rem); width: auto; object-fit: contain; border-radius: 8px; }
.lightbox-figure figcaption { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; text-align: center; color: var(--nude); }
.lightbox-btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(250, 246, 241, .08); color: var(--cream); border: 1px solid rgba(250, 246, 241, .25);
  border-radius: 50%; cursor: pointer;
}
.lightbox-btn .icon { width: 22px; height: 22px; }
.lightbox-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Wider screens
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .btn { padding: .85em 1.6em; font-size: .9rem; letter-spacing: .08em; white-space: nowrap; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: .9rem; }
  .gallery-grid li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-grid li { display: flex; }
  .gallery-grid .gallery-item { flex: 1; }
  .gallery-grid li:nth-child(1) .gallery-item { position: relative; min-height: 100%; }
  .gallery-grid li:nth-child(1) img { position: absolute; inset: 0; aspect-ratio: auto; }
  .steps-list { grid-template-columns: repeat(3, 1fr); }
  .contact-actions { grid-auto-flow: column; justify-content: start; }
}

@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .section { padding: 7.5rem 0; }
  .menu-toggle { display: none; }
  .nav, .no-js .nav {
    position: static; display: flex; align-items: center; gap: 2.25rem;
    padding: 0; background: none; box-shadow: none; color: inherit;
  }
  .nav ul { display: flex; gap: 2rem; margin: 0; }
  .nav a:not(.btn) {
    padding: .3rem 0; border: 0; font-family: var(--font-sans); font-size: .8rem;
    letter-spacing: .18em; text-transform: uppercase; position: relative;
  }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav a:not(.btn):hover::after { transform: scaleX(1); }
  .nav-cta { width: auto; }
  .logo--header { width: 104px; }

  .hero { align-items: center; padding-bottom: 6rem; }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(38, 29, 23, .72) 0%, rgba(38, 29, 23, .35) 45%, rgba(38, 29, 23, .05) 75%),
      linear-gradient(180deg, rgba(38, 29, 23, .35) 0%, rgba(38, 29, 23, 0) 30%);
  }
  .logo--hero { width: 380px; }
  .hero-scroll { display: flex; }

  .about-grid { grid-template-columns: 5fr 6fr; gap: 6rem; align-items: center; }
  .section-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: end; }
  .section-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .section-head .section-title { margin: 0; }
  .section-head .section-intro { margin: 0; }

  .group-intro { display: grid; grid-template-columns: 1fr; }
  .group-media img { aspect-ratio: 21 / 8; }
  .group-caption { padding: 2rem 2.5rem; }
  .group-title { font-size: 3rem; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

  .contact-grid { grid-template-columns: 5fr 6fr; gap: 2rem; }
  .contact-card { padding: 2.5rem; }
  .map, .map iframe { min-height: 100%; height: 100%; }

  .site-footer { padding-bottom: 3.5rem; }
  .wa-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
