/* =========================================================
   Sílvia Vieira Clinic — Design System
   Paleta: #ECEBE7 (marfim) · #7B4F35 (cacau) · dourado #8B6735 → #F4E0AE
   ========================================================= */
:root {
  --ivory: #ECEBE7;
  --cream: #F6F3EE;
  --paper: #FBFAF7;
  --white: #ffffff;
  --cocoa: #7B4F35;
  --cocoa-deep: #5A3826;
  --ink: #2F2219;
  --text: #5b4a3f;
  --muted: #97887c;
  --gold-1: #8B6735;
  --gold-2: #C9A66B;
  --gold-3: #F4E0AE;
  --line: rgba(123, 79, 53, .14);
  --gold-grad: linear-gradient(115deg, #8B6735 0%, #B8915A 22%, #F4E0AE 45%, #C9A66B 62%, #8B6735 100%);
  --gold-soft: linear-gradient(135deg, #F4E0AE 0%, #E2C690 40%, #B8915A 100%);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --script: "Pinyon Script", cursive;

  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
  --container: 1240px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold-1); outline-offset: 4px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -.01em; }
.title { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.title em, h1 em { font-style: italic; font-weight: 300; }
p { margin: 0 0 1.1em; }
.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-1); margin: 0 0 1.4rem; display: inline-flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-grad); }
.eyebrow--light { color: var(--gold-3); }

.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldflow 7s ease-in-out infinite;
  padding-right: .06em;
}
@keyframes goldflow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.divider { width: 64px; height: 1px; background: var(--gold-grad); margin: 2rem 0; }
.signature { font-family: var(--script); font-size: 2.6rem; color: var(--gold-1); margin: 1.2rem 0 0; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 1.05rem 2rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  padding: var(--pad); border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--sans); font-size: .78rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s, background-color .4s, border-color .4s;
  white-space: nowrap;
}
.btn--sm { --pad: .72rem 1.4rem; font-size: .7rem; }
.btn--gold {
  color: #3b2717;
  background: var(--gold-grad); background-size: 220% 100%;
  animation: goldflow 6s ease-in-out infinite;
  box-shadow: 0 10px 30px -12px rgba(139, 103, 53, .55), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn--gold::after { /* shimmer sweep */
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%);
  transform: translateX(-120%); animation: shimmer 4.2s var(--ease-io) infinite;
}
.btn--gold > * { position: relative; z-index: 1; }
@keyframes shimmer { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(139, 103, 53, .7), inset 0 1px 0 rgba(255,255,255,.6); }
.btn--ghost { color: var(--cocoa); border: 1px solid rgba(139,103,53,.35); background: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold-1); background: #fff; transform: translateY(-2px); }
.btn--light { color: var(--ink); background: var(--paper); }
.btn--light:hover { transform: translateY(-2px); background: #fff; }
.btn__arrow { width: 1.1rem; height: 1.1rem; stroke-width: 1.3; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.wa-ico { width: 1.15rem; height: 1.15rem; }

.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--cocoa); transition: .4s var(--ease); background: rgba(255,255,255,.5);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--gold-1); color: var(--gold-1); background: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-1); font-weight: 400;
}
.link-arrow::after { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.link-arrow:hover::after { width: 48px; }
.link-inline { color: var(--gold-1); border-bottom: 1px solid currentColor; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--paper); display: grid; place-items: center;
  transition: opacity .9s var(--ease), visibility .9s;
}
.preloader__inner { display: grid; justify-items: center; gap: 1.6rem; }
.preloader img { width: 62px; height: auto; animation: breathe 2.4s var(--ease-io) infinite; }
.preloader__line { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.preloader__line::after { content: ""; position: absolute; inset: 0; background: var(--gold-grad); transform: translateX(-100%); animation: load 1.4s var(--ease-io) infinite; }
@keyframes load { to { transform: translateX(100%); } }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.97); } 50% { opacity: 1; transform: scale(1); } }
.is-loaded .preloader { opacity: 0; visibility: hidden; }

/* ---------- Cursor glow (desktop) ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%;
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(244, 224, 174, .22) 0%, rgba(244, 224, 174, 0) 65%);
  mix-blend-mode: multiply;
}
@media (hover: hover) and (pointer: fine) { .has-pointer .cursor-glow { opacity: 1; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  transition: background-color .5s, box-shadow .5s, height .5s var(--ease), transform .6s var(--ease);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header__brand { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.header__mono { width: 26px; height: auto; }
.header__word { width: 170px; height: auto; }
.nav { display: flex; gap: 2.2rem; }
.nav a {
  position: relative; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 400; padding: .4rem 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: .8rem; }
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(251, 250, 247, .78); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.menu-toggle { display: none; width: 42px; height: 42px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 3vh) 28px calc(110px + var(--safe-b));
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: grid; gap: .3rem; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); color: var(--ink); display: flex; align-items: baseline; gap: 1rem;
  padding: .35rem 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.mobile-menu nav a span { font-family: var(--sans); font-size: .7rem; color: var(--gold-1); letter-spacing: .2em; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .5s; }
.mobile-menu__foot { display: grid; gap: 1rem; font-size: .85rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 4vh) 0 8vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 40%, rgba(244, 224, 174, .45), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(236, 235, 231, 1), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--cream));
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.hero__title { font-size: clamp(3.2rem, 7.4vw, 6.6rem); line-height: .98; margin-bottom: 2rem; letter-spacing: -.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.is-loaded .hero__title .line > span { transform: none; }
.hero__lead { max-width: 30rem; font-size: 1.08rem; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.4rem 0 2.6rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; padding: 0; margin: 0; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero__tags li { display: flex; align-items: center; gap: .6rem; }
.hero__tags li::before { content: "✦"; color: var(--gold-2); font-size: .7rem; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 470px); }
.arch { position: relative; border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--ivory); aspect-ratio: 3 / 4.15; box-shadow: 0 50px 80px -50px rgba(90, 56, 38, .45); }
.arch img { width: 100%; height: 112%; object-fit: cover; object-position: center 18%; will-change: transform; }
.arch--hero { clip-path: inset(100% 0 0 0 round 999px 999px 26px 26px); transition: clip-path 1.6s var(--ease) .2s; }
.is-loaded .arch--hero { clip-path: inset(0 0 0 0 round 999px 999px 26px 26px); }
.arch--hero img { transform: scale(1.12); transition: transform 2.2s var(--ease) .2s; }
.is-loaded .arch--hero img { transform: scale(1); }
.arch-outline {
  position: absolute; inset: -18px -18px 22px 18px; z-index: -1; border-radius: 999px 999px 30px 30px;
  border: 1px solid transparent; background: var(--gold-grad) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transform: translate(-10px, 10px); transition: opacity 1.4s var(--ease) .9s, transform 1.4s var(--ease) .9s;
}
.is-loaded .arch-outline, .arch-outline.is-in { opacity: .9; transform: none; }
.glass { background: rgba(255, 255, 255, .62); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 20px 50px -25px rgba(90, 56, 38, .35); }
.hero__badge {
  position: absolute; left: -12%; bottom: 12%; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.4rem .9rem 1rem; border-radius: 18px;
  opacity: 0; transform: translateY(20px); transition: 1.2s var(--ease) 1.2s; animation: float 6s ease-in-out infinite 2.4s;
}
.is-loaded .hero__badge { opacity: 1; transform: none; }
.hero__badge img { width: 22px; height: auto; }
.hero__badge strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
.hero__badge span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hero__seal { position: absolute; right: -8%; top: 6%; width: 118px; height: 118px; display: grid; place-items: center; color: var(--gold-1); }
.hero__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; stroke: none; fill: currentColor; }
.hero__seal text { font-family: var(--sans); font-size: 8.4px; letter-spacing: 2.6px; font-weight: 400; }
.hero__seal span { font-size: 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .reveal { transition-delay: .5s; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; border: 1px solid rgba(123,79,53,.35); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--gold-1); animation: wheel 2s var(--ease-io) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 1.4rem 0; }
.marquee__track { display: flex; gap: 2.4rem; width: max-content; align-items: center; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--cocoa); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold-2); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(5.5rem, 12vw, 10rem) 0; position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head__lead { margin-top: 1.6rem; font-size: 1.05rem; max-width: 34rem; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; }

/* About */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--ivory); box-shadow: 0 40px 70px -45px rgba(90,56,38,.5); }
.frame img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.about__float { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4/5; border-radius: 999px 999px 18px 18px; overflow: hidden; border: 8px solid var(--paper); box-shadow: 0 30px 60px -30px rgba(90,56,38,.5); }
.about__float img { width: 100%; height: 100%; object-fit: cover; }
.about__text > p:not(.eyebrow):not(.signature) { max-width: 36rem; }
.values { list-style: none; padding: 2.4rem 0 0; margin: 2.4rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.values li { display: grid; gap: .4rem; align-content: start; }
.values svg { width: 34px; height: 34px; color: var(--gold-1); stroke-width: 1; margin-bottom: .5rem; }
.values strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
.values span { font-size: .9rem; line-height: 1.6; color: var(--muted); }

/* Highlights */
.highlights { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.hl-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease), border-color .6s; transform-style: preserve-3d;
}
.hl-card:hover { box-shadow: 0 40px 70px -40px rgba(90,56,38,.45); border-color: rgba(139,103,53,.35); }
.hl-card__img { aspect-ratio: 4 / 3.6; overflow: hidden; }
.hl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hl-card:hover .hl-card__img img { transform: scale(1.06); }
.hl-card__body { padding: 2rem 2rem 2.2rem; position: relative; }
.hl-card__num { position: absolute; right: 1.8rem; top: -1.6rem; font-family: var(--serif); font-size: 3.4rem; font-style: italic; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl-card h3 { font-size: 1.9rem; margin-bottom: .8rem; }
.hl-card p { font-size: .95rem; line-height: 1.7; }
.hl-card::after { /* gold sheen on hover */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(244,224,174,.35), transparent 50%);
}
.hl-card:hover::after { opacity: 1; }

/* Services */
.tabs { position: relative; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 3rem; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 1rem 1.2rem; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .4s; font-weight: 400; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button:hover { color: var(--cocoa); }
.tabs__ink { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--gold-grad); transition: transform .7s var(--ease), width .7s var(--ease); border-radius: 2px; }
.panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .9s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.panel__intro { position: sticky; top: 110px; align-self: start; }
.panel__img { border-radius: 999px 999px 20px 20px; overflow: hidden; aspect-ratio: 4/4.4; margin-bottom: 2rem; background: var(--ivory); }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__intro h3 { font-size: 2.3rem; margin-bottom: 1rem; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; padding: 2rem 0; border-bottom: 1px solid var(--line); position: relative; }
.svc:first-child { padding-top: .4rem; }
.svc::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold-grad); transition: width 1s var(--ease); }
.svc:hover::before { width: 100%; }
.svc h4 { font-size: 1.65rem; margin-bottom: .55rem; transition: color .4s; }
.svc:hover h4 { color: var(--cocoa); }
.svc p { margin: 0; font-size: .96rem; line-height: 1.7; max-width: 36rem; }
.svc__cta { flex-shrink: 0; margin-top: .4rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(139,103,53,.3); color: var(--gold-1); transition: .5s var(--ease); }
.svc__cta:hover { background: var(--gold-grad); background-size: 200% 100%; color: #3b2717; border-color: transparent; }

/* Quote */
.quote { position: relative; min-height: 88vh; display: grid; align-items: center; overflow: hidden; color: #fff; }
.quote__bg { position: absolute; inset: 0; }
.quote__bg img { width: 100%; height: 120%; object-fit: cover; object-position: center 40%; filter: grayscale(1) contrast(1.05); will-change: transform; }
.quote__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,34,25,.82) 0%, rgba(47,34,25,.45) 55%, rgba(47,34,25,.2)); }
.quote__inner { position: relative; max-width: var(--container); }
.quote__mark { font-family: var(--serif); font-size: 9rem; line-height: .6; display: block; height: 4rem; background: var(--gold-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.14; max-width: 16em; color: #fff; }
.quote blockquote em { background: var(--gold-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote__by { font-family: var(--script); font-size: 2.4rem; color: var(--gold-3); margin-top: 2rem; }

/* Clinic gallery */
.clinic { padding-bottom: clamp(4rem, 8vw, 7rem); }
.gallery {
  display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(24px, (100vw - var(--container)) / 2) 1rem;
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery.is-dragging img { pointer-events: none; }
.gallery__item { flex: 0 0 clamp(240px, 26vw, 360px); margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; align-self: end; background: var(--ivory); }
.gallery__item.g-tall { aspect-ratio: 3/4.6; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .45rem 1rem; border-radius: 999px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.gallery__hint { display: flex; align-items: center; gap: 2rem; margin-top: 2rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.gallery__progress { flex: 1; height: 1px; background: var(--line); position: relative; max-width: 420px; }
.gallery__progress span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--gold-grad); transition: width .2s; }

/* Team */
.team { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.team__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.team__media { position: relative; width: min(100%, 440px); justify-self: center; }
.arch--team { aspect-ratio: 3/4.4; }
.arch--team img { object-position: center 30%; }
.arch-outline--team { inset: -18px 18px 22px -18px; }
.members { display: grid; gap: 1rem; margin-top: 2.4rem; }
.member { display: flex; align-items: center; gap: 1.2rem; padding: .9rem 1.2rem .9rem .9rem; border-radius: 18px; background: rgba(255,255,255,.6); border: 1px solid var(--line); transition: .6s var(--ease); }
.member:hover { transform: translateX(6px); border-color: rgba(139,103,53,.35); background: #fff; }
.member__img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--ivory); }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member__img--mono { display: grid; place-items: center; background: var(--cream); border: 1px solid var(--line); }
.member__img--mono img { width: 22px; height: auto; object-fit: contain; }
.member h3 { font-size: 1.4rem; font-weight: 400; }
.member__role { margin: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Friend */
.friend { padding: 0 0 clamp(5rem, 10vw, 8rem); background: var(--cream); }
.friend__inner {
  position: relative; overflow: hidden; border-radius: 32px; text-align: center; color: #f3e9dd;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 6vw, 6rem);
  background: radial-gradient(120% 140% at 50% 0%, #8d5c3f 0%, var(--cocoa) 45%, var(--cocoa-deep) 100%);
}
.friend__inner .eyebrow { justify-content: center; }
.friend__inner .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold-grad); }
.friend h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 1.4rem; }
.friend h2 em { font-style: italic; background: var(--gold-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.friend p:not(.eyebrow) { max-width: 36rem; margin: 0 auto 2.4rem; color: rgba(243,233,221,.85); }
.friend__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(244,224,174,.18) 48%, transparent 66%); transform: translateX(-100%); animation: shimmer 7s var(--ease-io) infinite; pointer-events: none; }
.friend__inner::before { content: ""; position: absolute; inset: 14px; border-radius: 22px; border: 1px solid rgba(244,224,174,.25); pointer-events: none; }

/* Booking */
.booking__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.frame--soft { border-radius: 999px 999px var(--radius) var(--radius); }
.frame--soft img { height: 100%; object-position: center 25%; }
.steps { list-style: none; padding: 0; margin: 2.4rem 0; display: grid; gap: 1.2rem; }
.steps li { display: flex; gap: 1.2rem; align-items: center; }
.steps span { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--gold-1); border: 1px solid rgba(139,103,53,.35); background: #fff; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink); line-height: 1.3; }
.steps small { font-size: .88rem; color: var(--muted); }
.booking__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* FAQ */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); }
.faq__head { position: sticky; top: 110px; align-self: start; }
.faq__img { margin-top: 2.4rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; max-width: 380px; }
.faq__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.6rem;
  padding: 1.8rem 0; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--ink); line-height: 1.3; transition: color .4s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--cocoa); }
.acc summary i { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(139,103,53,.3); flex-shrink: 0; transition: .5s var(--ease); }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--gold-1); transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.acc summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] summary i { background: var(--gold-grad); border-color: transparent; }
.acc[open] summary i::before, .acc[open] summary i::after { background: #3b2717; }
.acc[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { overflow: hidden; }
.acc__body p { padding-bottom: 1.8rem; margin: 0; max-width: 40rem; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.c-card {
  text-align: left; display: grid; gap: 1.2rem; align-content: space-between; padding: 1.8rem; border-radius: var(--radius);
  background: rgba(255,255,255,.7); border: 1px solid var(--line); transition: .6s var(--ease); min-height: 210px;
}
.c-card:hover { transform: translateY(-4px); background: #fff; border-color: rgba(139,103,53,.35); box-shadow: 0 30px 50px -35px rgba(90,56,38,.45); }
.c-card > svg { width: 30px; height: 30px; color: var(--gold-1); stroke-width: 1.1; }
.c-card small { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-1); margin-bottom: .4rem; }
.c-card strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--ink); line-height: 1.25; margin-bottom: .3rem; }
.c-card span { font-size: .86rem; color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 440px; position: relative; border: 1px solid var(--line); background: var(--ivory); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.25) contrast(.95); }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.map__placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.85); transform: scale(1.05); }
.map__placeholder .btn { position: relative; }

/* Footer */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 5rem 0 calc(2rem + var(--safe-b)); text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: 1.6rem; }
.footer__logo { width: min(320px, 70vw); height: auto; }
.footer__slogan { font-family: var(--script); font-size: 2.2rem; color: var(--gold-1); margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--gold-1); }
.footer__bottom { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; margin-top: 1.4rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.footer__bottom a:hover { color: var(--gold-1); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #3b2717; background: var(--gold-grad); background-size: 220% 100%; animation: goldflow 6s ease-in-out infinite;
  box-shadow: 0 16px 34px -12px rgba(139,103,53,.7); transition: transform .5s var(--ease), opacity .5s;
}
.wa-float svg { width: 26px; height: 26px; stroke-width: 1.3; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(201,166,107,.5); animation: pulse 2.8s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Tab bar (mobile app) */
.tabbar { display: none; }

/* ---------- Booking sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(47,34,25,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.sheet__panel {
  position: relative; width: min(940px, 94vw); height: min(860px, 90vh); background: var(--paper); border-radius: 28px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; box-shadow: 0 60px 120px -40px rgba(47,34,25,.6);
  transform: translateY(40px) scale(.98); opacity: 0; transition: transform .7s var(--ease), opacity .5s;
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; opacity: 1; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem 1.2rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.sheet__head .eyebrow { margin-bottom: .3rem; font-size: .64rem; }
.sheet__head h2 { font-size: 1.8rem; }
.sheet__actions { display: flex; gap: .6rem; }
.sheet__grip { display: none; }
.sheet__body { position: relative; background: #fff; }
.sheet__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s; }
.sheet__body iframe.is-ready { opacity: 1; }
.sheet__loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; color: var(--muted); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.sheet__loader img { width: 34px; animation: breathe 2s var(--ease-io) infinite; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(251,250,247,.96); display: grid; place-items: center; padding: 5vh 4vw; opacity: 0; transition: opacity .5s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(47,34,25,.5); transform: scale(.96); transition: transform .7s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 20px; right: 20px; }
.lightbox__cap { margin: 1rem 0 0; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header__actions .icon-btn { display: none; }
  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .highlights__grid .hl-card:last-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .highlights__grid .hl-card:last-child .hl-card__img { aspect-ratio: auto; height: 100%; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .header.is-scrolled { --header-h: 62px; }
  .header__word { width: 140px; }
  .header__actions .btn { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__text { order: 1; }
  .hero__visual { order: 0; width: min(78%, 360px); }
  .hero__title { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .hero__badge { left: -14%; bottom: 8%; }
  .hero__seal { right: -14%; width: 96px; height: 96px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .scroll-hint { display: none; }
  .about__grid, .team__grid, .booking__grid, .faq__grid { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; gap: 0; }
  .about__media { max-width: 520px; }
  .values { grid-template-columns: 1fr; gap: 1.4rem; }
  .values li { grid-template-columns: 44px 1fr; column-gap: 1rem; }
  .values svg { grid-row: span 2; margin: 0; }
  .highlights__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px 1rem; scrollbar-width: none; }
  .highlights__grid::-webkit-scrollbar { display: none; }
  .highlights__grid .hl-card, .highlights__grid .hl-card:last-child { flex: 0 0 82%; scroll-snap-align: center; display: block; }
  .highlights__grid .hl-card:last-child .hl-card__img { aspect-ratio: 4/3.6; height: auto; }
  .tabs { margin: 0 -24px 2.4rem; padding: 0 24px; }
  .panel { grid-template-columns: 1fr; gap: 1rem; }
  .panel__intro { position: static; display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; align-items: center; }
  .panel__img { margin: 0; aspect-ratio: 3/4; }
  .panel__intro h3 { font-size: 1.7rem; margin-bottom: .4rem; }
  .panel__intro p { font-size: .92rem; margin: 0; }
  .svc { flex-direction: column; gap: 1rem; padding: 1.6rem 0; }
  .svc h4 { font-size: 1.45rem; }
  .svc__cta { margin: 0; }
  .quote { min-height: 70vh; }
  .quote__bg::after { background: linear-gradient(0deg, rgba(47,34,25,.85) 0%, rgba(47,34,25,.4) 70%, rgba(47,34,25,.25)); }
  .quote__inner { align-self: end; padding-bottom: 4rem; }
  .gallery__item { flex-basis: 72vw; }
  .team__media { order: -1; width: min(80%, 360px); }
  .booking__media { max-width: 420px; justify-self: center; width: 80%; }
  .booking__ctas .btn { flex: 1 1 100%; }
  .faq__head { position: static; }
  .faq__img { display: none; }
  .contact__cards { grid-template-columns: 1fr; }
  .c-card { min-height: 0; grid-template-columns: 30px 1fr; align-items: center; padding: 1.3rem 1.4rem; gap: 1.2rem; }
  .map { min-height: 320px; }
  .wa-float { display: none; }
  .footer { padding-bottom: calc(110px + var(--safe-b)); }
  .footer__bottom { justify-content: center; text-align: center; }

  /* App-like bottom tab bar */
  .tabbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 70;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 68px; padding: 0 6px 8px;
    border-radius: 24px; background: rgba(251, 250, 247, .82); backdrop-filter: saturate(1.5) blur(20px); -webkit-backdrop-filter: saturate(1.5) blur(20px);
    border: 1px solid rgba(255,255,255,.8); box-shadow: 0 20px 40px -20px rgba(47,34,25,.4), 0 0 0 1px var(--line);
    transition: transform .6s var(--ease);
  }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 2px; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
  .tabbar svg { width: 22px; height: 22px; stroke-width: 1.2; }
  .tabbar a.is-current { color: var(--cocoa); }
  .tabbar a.is-current svg { color: var(--gold-1); }
  .tabbar__main { color: var(--cocoa) !important; }
  .tabbar__main svg {
    width: 54px; height: 54px; padding: 15px; margin-top: -26px; border-radius: 50%; color: #3b2717; stroke-width: 1.4;
    background: var(--gold-grad); background-size: 220% 100%; animation: goldflow 6s ease-in-out infinite;
    box-shadow: 0 12px 24px -8px rgba(139,103,53,.7), 0 0 0 5px var(--paper);
  }
  .menu-open .tabbar { transform: translateY(0); }

  /* Booking sheet = bottom sheet on mobile */
  .sheet { place-items: end center; }
  .sheet__panel { width: 100%; height: calc(100% - 40px); border-radius: 26px 26px 0 0; transform: translateY(100%); opacity: 1; }
  .sheet__head { padding: 1.6rem 1rem 1rem 1.4rem; }
  .sheet__head h2 { font-size: 1.5rem; }
  .sheet__grip { display: block; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line); }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 36px); }
  .hero__badge { left: -10%; padding: .7rem 1rem .7rem .8rem; }
  .hero__badge strong { font-size: 1rem; }
  .hero__seal { display: none; }
}

/* Installed app (standalone) */
@media (display-mode: standalone) {
  .footer__install { display: none !important; }
}

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