/* ============================================================
   JEUNE MEDSPA — La Habra · "Glow" Design System
   Near-white · coral/terracotta · soft lavender · rounded
   Fonts: General Sans (display) · Fraunces (serif accent) · Satoshi (body)
   ============================================================ */

:root {
  --bg:      #FCFBFC;
  --surf:    #F4F0F4;
  --ink:     #1E1B22;
  --muted:   #857f8c;
  --accent:  #E0785E;
  --accent2: #cf6147;
  --soft:    #FBE9E2;
  --lav:     #EFE7F5;
  --white:   #ffffff;
  --border:  rgba(30,27,34,0.08);
  --line:    #ece6ee;

  --font-disp: 'General Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-ser:  'Fraunces', Georgia, serif;
  --font-body: 'Satoshi', -apple-system, 'Segoe UI', sans-serif;

  --gutter: 46px;
  --max-w:  1200px;
  --ease:   cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ---- Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Animations ---- */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-animate="fade-right"] { transform: translateX(-28px); }
[data-animate="fade-left"]  { transform: translateX(28px); }
[data-animate="fade-scale"] { transform: scale(0.95); }
[data-animate].is-visible   { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.10s; }
[data-delay="2"] { transition-delay: 0.20s; }
[data-delay="3"] { transition-delay: 0.30s; }
[data-delay="4"] { transition-delay: 0.40s; }
[data-delay="5"] { transition-delay: 0.50s; }
[data-delay="6"] { transition-delay: 0.60s; }

/* ==============================================================
   MEGA-MENU
   ============================================================== */
.nav__dropdown { position: relative; }
.nav__dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav__dropdown > a::after {
  content: ""; width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5; flex-shrink: 0;
  transition: transform 0.2s;
}
.nav__dropdown.is-open > a::after { transform: rotate(180deg); }

.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px;
  padding-top: 20px;
  box-shadow: 0 24px 60px -24px rgba(60,40,70,0.25);
  display: none; white-space: nowrap;
  z-index: 200;
  min-width: 640px;
  max-width: calc(100vw - 32px);
}
.mega-menu.is-open { display: flex; gap: 40px; }

.mega-col { display: flex; flex-direction: column; }
.mega-col__head {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mega-col a {
  font-size: 13.5px; color: var(--muted); font-weight: 500;
  padding: 5px 0; transition: color 0.15s;
  opacity: 1;
}
.mega-col a:hover { color: var(--accent); }

/* Simple dropdown (1-col) */
.simple-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px 24px;
  box-shadow: 0 20px 50px -20px rgba(60,40,70,0.22);
  display: none; flex-direction: column; gap: 4px;
  z-index: 200; min-width: 220px;
}
.simple-menu.is-open { display: flex; }
.simple-menu a {
  font-size: 13.5px; color: var(--muted); font-weight: 500;
  padding: 6px 0; transition: color 0.15s; opacity: 1;
}
.simple-menu a:hover { color: var(--accent); }

/* ==============================================================
   NAV
   ============================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 20px var(--gutter);
  pointer-events: none;
}
.nav__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  background: rgba(252,251,252,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 10px 10px 28px;
  width: min(100%, 960px);
  box-shadow: 0 10px 30px -18px rgba(60,40,70,0.22);
  pointer-events: all;
  transition: box-shadow 0.3s var(--ease);
}
.nav__bar.scrolled { box-shadow: 0 14px 40px -20px rgba(60,40,70,0.30); }

.nav__logo {
  font-family: var(--font-disp); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em; color: var(--ink);
}
.nav__logo span { color: var(--accent); }

.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a {
  font-size: 13.5px; color: var(--ink); opacity: 0.78; font-weight: 500;
  transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav__links a:hover { opacity: 1; color: var(--accent); }

.btn-book {
  display: inline-block;
  background: var(--accent); color: var(--white);
  padding: 11px 22px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: background 0.2s var(--ease), transform 0.15s;
  white-space: nowrap;
}
.btn-book:hover { background: var(--accent2); transform: translateY(-1px); }

/* Hamburger */
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; border-radius: 50%;
  transition: background 0.2s;
}
.nav__hamburger:hover { background: var(--surf); }
.nav__hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 99; flex-direction: column;
  opacity: 0; transform: translateY(-12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  overflow: hidden;
}
.nav__drawer.open { opacity: 1; transform: none; }

/* Drawer header */
.drawer__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.drawer__close {
  background: none; border: none; font-size: 22px; line-height: 1;
  cursor: pointer; color: var(--ink); width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.drawer__close:hover { background: var(--soft); }

/* Scrollable body */
.drawer__scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Accordion sections */
.drawer__accordion { border-bottom: 1px solid var(--line); }
.drawer__section-btn {
  width: 100%; background: none; border: none; text-align: left;
  padding: 18px 20px; font-family: var(--font-ui); font-size: 16px; font-weight: 700;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; letter-spacing: -0.01em;
}
.drawer__chevron {
  font-size: 18px; font-weight: 400; color: var(--muted);
  transition: transform 0.22s var(--ease); display: inline-block;
}
.drawer__accordion.is-open .drawer__chevron { transform: rotate(90deg); }
.drawer__section-body {
  display: none; flex-direction: column; padding-bottom: 12px;
}
.drawer__accordion.is-open .drawer__section-body { display: flex; }
.drawer__subhead {
  font-size: 10px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--accent);
  padding: 14px 20px 4px; opacity: 0.75;
}
.drawer__section-body a {
  padding: 10px 20px 10px 28px; font-size: 14.5px; color: var(--muted);
  text-decoration: none; transition: color 0.15s;
}
.drawer__section-body a:hover { color: var(--ink); }

/* Direct nav links */
.drawer__link {
  display: block; padding: 18px 20px; font-family: var(--font-ui);
  font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line); letter-spacing: -0.01em;
  transition: color 0.15s;
}
.drawer__link:hover { color: var(--accent); }

/* Footer with Book Now */
.drawer__footer {
  padding: 16px 20px; border-top: 1px solid var(--line); flex-shrink: 0;
}
.drawer__book { display: block; text-align: center; width: 100%; }

/* ==============================================================
   HERO
   ============================================================== */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 40px; align-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute;
  top: -80px; left: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--soft), transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute;
  bottom: -60px; right: 5%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, var(--lav), transparent 70%);
  z-index: 0; pointer-events: none;
}

.hero__content { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid #eee; border-radius: 999px;
  padding: 7px 15px 7px 9px;
  font-size: 12.5px; color: var(--muted); font-weight: 500;
  box-shadow: 0 6px 18px -12px rgba(60,40,70,0.3);
  margin-bottom: 22px;
}
.hero__badge b {
  background: var(--accent); color: var(--white);
  font-size: 10px; padding: 3px 8px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.04em;
}

.hero__title {
  font-family: var(--font-disp); font-weight: 600;
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  line-height: 1.04; letter-spacing: -0.025em;
  color: var(--ink);
}
.hero__title em {
  font-family: var(--font-ser); font-style: italic; font-weight: 500;
  color: var(--accent);
}

.hero__sub {
  margin-top: 22px; font-size: 16.5px; line-height: 1.6;
  color: var(--muted); max-width: 30em;
}

.hero__ctas {
  margin-top: 32px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.btn-outline {
  display: inline-block;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
  padding: 12px 24px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.hero__trust {
  margin-top: 36px; display: flex; gap: 32px; flex-wrap: wrap;
}
.hero__trust-item b {
  font-family: var(--font-disp); font-size: 26px; font-weight: 700;
  display: block; line-height: 1; color: var(--ink);
}
.hero__trust-item span { font-size: 12px; color: var(--muted); }

.hero__image { position: relative; z-index: 2; }
.hero__image img {
  width: 100%; aspect-ratio: 5/6; object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(80,50,90,0.35);
}
.hero__float {
  position: absolute; left: -22px; bottom: 36px;
  background: var(--white); border-radius: 18px;
  padding: 14px 18px; box-shadow: 0 18px 40px -20px rgba(80,50,90,0.3);
  display: flex; align-items: center; gap: 12px;
}
.hero__float-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.hero__float b {
  font-family: var(--font-disp); font-size: 14px; font-weight: 600; display: block;
}
.hero__float span { font-size: 11.5px; color: var(--muted); }

/* ==============================================================
   TREATMENTS
   ============================================================== */
.treatments { padding: 20px var(--gutter) 80px; }

.treatments__header { text-align: center; margin-bottom: 40px; }
.treatments__eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.treatments__heading {
  font-family: var(--font-disp); font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.02em;
}

.chips {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 40px;
}
.chip {
  background: var(--surf); border-radius: 999px;
  padding: 9px 20px; font-size: 13px; color: var(--ink);
  font-weight: 500; cursor: pointer; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white); border: 1px solid #efe9f0;
  border-radius: 22px; overflow: hidden;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -34px rgba(80,50,90,0.32);
}
.card.hidden { display: none; }

.card__img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.card__body { padding: 24px 24px 28px; }
.card__title {
  font-family: var(--font-disp); font-size: 21px;
  font-weight: 600; margin-bottom: 8px;
}
.card__desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.card__link {
  font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
  /* stretched link — makes the entire card tappable */
  position: static;
}
.card__link::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
}
.card:hover .card__link { gap: 7px; }

.treatments__cta { text-align: center; margin-top: 44px; }

/* ==============================================================
   PHILOSOPHY / ABOUT STRIP
   ============================================================== */
.philosophy {
  background: var(--surf); margin: 0 var(--gutter);
  border-radius: 28px; padding: 70px 80px;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: center;
}
.philosophy__eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.philosophy__heading {
  font-family: var(--font-disp); font-weight: 600;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.15;
}
.philosophy__heading em {
  font-family: var(--font-ser); font-style: italic; font-weight: 500; color: var(--accent);
}
.philosophy__text { font-size: 16px; line-height: 1.75; color: var(--muted); }
.philosophy__text + .philosophy__text { margin-top: 16px; }
.philosophy__stats {
  display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap;
}
.philosophy__stat b {
  font-family: var(--font-disp); font-size: 32px; font-weight: 700;
  display: block; line-height: 1; color: var(--ink);
}
.philosophy__stat span { font-size: 12px; color: var(--muted); }

/* ==============================================================
   CTA BAND
   ============================================================== */
.cta-band {
  margin: 56px var(--gutter);
  background: linear-gradient(120deg, var(--accent), #e89a7f);
  border-radius: 28px; padding: 60px var(--gutter);
  text-align: center; color: var(--white);
}
.cta-band__title {
  font-family: var(--font-disp); font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -0.02em;
}
.cta-band__title em {
  font-family: var(--font-ser); font-style: italic; font-weight: 500;
}
.cta-band__sub {
  margin-top: 12px; font-size: 16px; opacity: 0.88;
}
.cta-band__btn {
  display: inline-block; margin-top: 28px;
  background: var(--white); color: var(--accent2);
  padding: 15px 36px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-band__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -18px rgba(0,0,0,0.3); }

/* ==============================================================
   INSTAGRAM STRIP
   ============================================================== */
.instagram { padding: 70px var(--gutter); text-align: center; }
.instagram__eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.instagram__handle {
  font-family: var(--font-ser); font-style: italic;
  font-size: 2rem; color: var(--ink); margin-bottom: 36px;
  display: block;
}
.instagram__handle:hover { color: var(--accent); }
.instagram__grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 10px; margin-bottom: 32px;
}
.instagram__tile {
  aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: var(--surf);
}
.instagram__tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s var(--ease), filter 0.4s;
  filter: saturate(0.9);
}
.instagram__tile:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ==============================================================
   CONTACT STRIP
   ============================================================== */
.contact-strip {
  background: var(--ink); color: var(--white);
  padding: 56px var(--gutter);
}
.contact-strip__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px; align-items: start;
}
.contact-strip__label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.contact-strip__value {
  font-size: 15px; color: var(--white); line-height: 1.6;
}
.contact-strip__value a { color: var(--white); transition: color 0.2s; }
.contact-strip__value a:hover { color: var(--accent); }

/* ==============================================================
   FOOTER
   ============================================================== */
.footer {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-disp); font-weight: 700;
  font-size: 18px; color: var(--white);
}
.footer__logo span { color: var(--accent); }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 12.5px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__links a:hover { color: var(--white); }

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .philosophy { padding: 56px 56px; gap: 48px; }
}

/* Tighten the link row on mid-size desktops so all 8 items fit the pill */
@media (max-width: 1180px) {
  .nav__links { gap: 18px; }
}

/* Switch nav to hamburger once the full link row no longer fits the pill */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__bar { padding: 10px 10px 10px 20px; }
  .nav__hamburger { display: flex; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; gap: 36px; }
  .hero__image img { aspect-ratio: 4/3; }
  .hero::before { width: 300px; height: 300px; }
  .hero::after { width: 240px; height: 240px; }

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

  .philosophy { grid-template-columns: 1fr; margin: 0 24px; padding: 48px 36px; gap: 32px; }

  .contact-strip__inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  .instagram__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .nav { padding: 14px var(--gutter); }
  .cards-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.4rem; }
  .chips { gap: 8px; }
  .chip { font-size: 12px; padding: 7px 14px; }
  .cta-band { margin: 40px var(--gutter); border-radius: 20px; padding: 48px 28px; }
  .philosophy { margin: 0; border-radius: 0; padding: 48px var(--gutter); }
  .contact-strip__inner { grid-template-columns: 1fr; gap: 28px; }
  .instagram__grid { grid-template-columns: repeat(3, 1fr); }
  .footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer__links { flex-wrap: wrap; gap: 12px; }
}
