:root {
  color-scheme: light;
  --cream: #f3ede5;
  --espresso: #594638;
  --deep: #33271f;
  --gold: #8b6e4d;
  --taupe: #d4c3b1;
  --white: #fffdf9;
  --line: rgba(89, 70, 56, .2);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-height: 86px;
  --section-space: clamp(64px, 5vw, 80px);
  --section-top-space: clamp(32px, 3vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--cream); color: var(--espresso); font-family: var(--sans); font-size: 16px; line-height: 1.72; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); scroll-margin-top: var(--header-height); }
#inicio ~ section.section { padding-top: var(--section-top-space); }
h1, h2, h3, h4, p, figure { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.035em; line-height: 1.1; }
h1 { max-width: 660px; margin-bottom: 24px; font-size: clamp(2.5rem, 5.5vw, 5rem); }
h2 { margin-bottom: 24px; font-size: clamp(2rem, 4vw, 3.4rem); }
h1 em, h2 em { font-weight: 400; }
.eyebrow { margin-bottom: 20px; color: var(--gold); font-size: .69rem; font-weight: 600; letter-spacing: .19em; line-height: 1.5; text-transform: uppercase; }
.lead { max-width: 570px; margin-bottom: 32px; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.8; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 16px; transform: translateY(-150%); background: var(--deep); color: var(--white); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; min-height: var(--header-height); background: rgba(243, 237, 229, .97); border-bottom: 1px solid rgba(89, 70, 56, .12); }
.header-inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; flex: 0 0 auto; flex-direction: column; text-decoration: none; line-height: 1.05; }
.wordmark span { font-family: var(--serif); font-size: 1.56rem; letter-spacing: .09em; }
.wordmark small { margin-top: 6px; font-size: .52rem; font-weight: 600; letter-spacing: .2em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.65vw, 25px); }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--espresso); font-size: .69rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.nav-cta):hover, .site-nav a[aria-current="location"] { color: var(--gold); }
.site-nav .nav-cta { padding-inline: 16px; background: var(--espresso); color: var(--cream); transition: background .2s ease; }
.site-nav .nav-cta:hover { background: var(--deep); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding-top: 44px; }
.hero-inner { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(36px, 7vw, 100px); }
.hero-copy { padding-block: 0; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 20px; padding: 0 22px; font-size: .74rem; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease; }
.button-dark { background: var(--espresso); color: var(--white); }
.button-dark:hover { background: var(--deep); }
.button-light { background: var(--cream); color: var(--deep); }
.button-light:hover { background: var(--white); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 11px; color: var(--espresso); font-size: .73rem; font-weight: 600; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.hero-note { margin: 28px 0 0; color: var(--espresso); font-size: .64rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.hero-note span { padding-inline: 7px; color: var(--gold); }
.hero-visual { position: relative; width: 100%; max-width: 560px; height: clamp(420px, 48vw, 640px); justify-self: end; margin: 0; }
.hero-visual::before { position: absolute; z-index: 0; top: -18px; right: -18px; width: 54%; height: 55%; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); content: ""; }
.hero-visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-visual figcaption { position: absolute; z-index: 2; right: -15px; bottom: 24px; padding: 10px 14px; background: var(--cream); color: var(--espresso); font-family: var(--serif); font-size: .9rem; font-style: italic; }
.hero-index { position: absolute; right: var(--gutter); bottom: 38px; color: var(--gold); font-size: .62rem; letter-spacing: .16em; }

.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(56px, 10vw, 145px); }
.about-visual { position: relative; max-width: 475px; margin: 0; }
.about-visual::after { position: absolute; z-index: 0; right: -16px; bottom: -16px; width: 57%; height: 48%; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); content: ""; }
.about-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 35%; }
.image-caption { position: absolute; z-index: 2; bottom: -30px; left: 0; color: var(--gold); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.about-copy { max-width: 650px; }
.about-copy h2 { max-width: 580px; }
.about-copy p:not(.eyebrow):not(.signature) { margin-bottom: 16px; color: #594e45; font-size: .91rem; line-height: 1.85; }
.doctor-name { margin: 0 0 18px; font-family: var(--serif); font-size: 1.18rem; }
.about-copy .text-link { margin-top: 9px; }
.signature { margin: 28px 0 0; color: var(--gold); font-family: var(--serif); font-size: 1.55rem; font-style: italic; }

.section-heading { max-width: 680px; margin: 0 auto 36px; }
.section-heading.centered { text-align: center; }
.section-heading > p:last-child { max-width: 590px; margin-inline: auto; color: #67594d; font-size: .91rem; }
.area-grid { display: grid; width: min(100%, 1080px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-inline: auto; }
.area-card { border: 1px solid var(--line); background: rgba(255, 253, 249, .45); }
.area-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1.8; background: var(--taupe); }
.area-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.area-image > span { position: absolute; bottom: 14px; left: 16px; padding: 7px 10px; background: var(--cream); color: var(--espresso); font-size: .61rem; letter-spacing: .12em; text-transform: uppercase; }
.area-content { padding: 28px clamp(22px, 3vw, 38px) 32px; }
.area-content h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 1.7rem; }
.area-content p { min-height: 90px; margin-bottom: 12px; color: #67594d; font-size: .84rem; line-height: 1.8; }

.protocols { background: #ebe2d8; }
.protocols .section-heading { margin-bottom: 44px; }
.protocol-group { scroll-margin-top: calc(var(--header-height) + 20px); }
.group-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(89, 70, 56, .28); }
.group-heading .eyebrow { margin-bottom: 8px; }
.group-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.group-heading > p { max-width: 300px; margin: 0 0 3px; color: #67594d; font-size: .8rem; text-align: right; }
.protocol-grid { display: grid; align-items: stretch; gap: 18px; }
.facial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.body-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.protocol-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid rgba(89, 70, 56, .2); background: var(--cream); }
.protocol-card > img { width: 100%; height: clamp(140px, 15vw, 180px); object-fit: cover; }
.protocol-body { display: flex; flex: 1; flex-direction: column; padding: 22px 20px 18px; }
.protocol-body h4 { margin-bottom: 12px; font-family: var(--serif); font-size: 1.23rem; letter-spacing: .04em; }
.protocol-body h4 sup { font-family: var(--sans); font-size: .55em; }
.protocol-body p { margin: 0 0 16px; color: #67594d; font-size: .75rem; line-height: 1.75; }
.protocol-body .text-link { min-height: 44px; margin-top: auto; font-size: .66rem; }
.body-signature { display: flex; flex-direction: column; align-items: center; margin: 44px auto 40px; padding: 24px 20px; border-top: 1px solid rgba(89, 70, 56, .25); border-bottom: 1px solid rgba(89, 70, 56, .25); text-align: center; }
.body-signature > span { font-family: var(--serif); font-size: 1.85rem; letter-spacing: .1em; line-height: 1.1; }
.body-signature small { font-size: .57rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.body-signature > p { margin: 22px 0 8px; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: .08em; }
.body-signature sup { font-family: var(--sans); font-size: .5em; }
.image-disclaimer { margin: 42px 0 0; color: #594e45; font-size: .7rem; text-align: center; }

.contact { background: var(--espresso); color: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(48px, 9vw, 128px); }
.contact-copy { max-width: 570px; }
.contact-copy .eyebrow { color: #dfc6a6; }
.contact-copy h2 { max-width: 530px; }
.contact-copy > p:not(.eyebrow) { max-width: 480px; margin-bottom: 26px; color: #eee3d8; font-size: .9rem; }
.contact-link { display: flex; min-height: 82px; align-items: center; gap: 19px; border-top: 1px solid rgba(243, 237, 229, .25); color: var(--cream); text-decoration: none; }
.contact-link:last-child { border-bottom: 1px solid rgba(243, 237, 229, .25); }
.contact-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid #d8bea0; border-radius: 50%; color: #f3ede5; font-size: 1.22rem; }
.instagram-icon { font-size: 1.6rem; }
.contact-link > span:last-child { display: grid; grid-template-columns: 1fr; }
.contact-link small { color: #dfc6a6; font-size: .62rem; }
.contact-link strong { font-size: .84rem; font-weight: 500; }
.contact-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.contact-visual { max-width: 460px; height: clamp(420px, 48vw, 590px); justify-self: end; margin: 0; }
.contact-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }

.location-inner { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(40px, 8vw, 110px); }
.location-copy { max-width: 460px; }
.location-copy h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.location-name { margin: 28px 0 2px; font-family: var(--serif); font-size: 1.18rem; }
.location-copy address { margin-bottom: 18px; font-size: .88rem; font-style: normal; }
.location-copy > p:not(.eyebrow):not(.location-name) { color: #67594d; font-size: .79rem; }
.location-copy .pin-note { margin: 18px 0 24px; padding-left: 13px; border-left: 2px solid var(--gold); font-size: .72rem !important; }
.map-frame iframe { display: block; width: 100%; aspect-ratio: 1.55; border: 0; background: var(--taupe); }
.map-frame > p { margin: 10px 0 0; color: #67594d; font-size: .68rem; }
.map-frame a { text-underline-offset: 3px; }

.final-cta { position: relative; isolation: isolate; display: grid; min-height: 570px; align-items: center; overflow: hidden; color: var(--cream); text-align: center; }
.cta-background { position: absolute; z-index: -2; inset: 0; background: url("assets/CTA-final.webp") center 43% / cover no-repeat; }
.cta-background::after { position: absolute; inset: 0; background: rgba(43, 32, 25, .72); content: ""; }
.cta-content { max-width: 720px; padding-block: 68px; }
.cta-content .eyebrow { color: #e3c6a2; }
.cta-content h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.cta-content > p:not(.eyebrow) { max-width: 590px; margin: 0 auto 28px; color: #f2e8dd; font-size: .88rem; }

.site-footer { padding-block: 48px 28px; background: var(--deep); color: var(--cream); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px 36px; }
.wordmark-light { width: fit-content; }
.footer-inner > div > p { margin: 14px 0 0; color: #ded2c6; font-size: .67rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.footer-inner nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--cream); font-size: .7rem; text-decoration: none; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.private-note { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(243, 237, 229, .18); color: #d5c7b8; font-size: .63rem; }

[data-reveal] { opacity: 1; transform: none; }
.js-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.65,.3,1); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .area-image:hover img { transform: scale(1.025); } }

@media (max-width: 1100px) {
  :root { --header-height: 76px; --section-top-space: clamp(28px, 4vw, 32px); }
  .section { --section-space: clamp(48px, 6vw, 64px); }
  .header-inner { gap: 20px; }
  .menu-toggle { position: relative; z-index: 2; display: flex; width: 48px; height: 48px; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1px; background: var(--espresso); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); background: var(--cream); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { width: 100%; min-height: 48px; border-bottom: 1px solid rgba(89, 70, 56, .12); font-size: .78rem; }
  .site-nav .nav-cta { justify-content: center; margin-top: 14px; border: 0; }
  .facial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .body-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { padding-block: 0; }
  .hero-copy .eyebrow { margin-bottom: 20px; }
  .hero-visual { width: min(100%, 560px); height: clamp(360px, 102vw, 530px); justify-self: center; }
  .hero-visual figcaption { right: -4px; }
  .hero-index { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 58px; }
  .about-visual { width: min(100%, 480px); justify-self: center; }
  .about-copy { max-width: 620px; }
  .area-grid { gap: 20px; }
  .area-content { padding: 22px 20px 26px; }
  .area-content p { min-height: 125px; }
  .contact-inner { grid-template-columns: 1fr; gap: 38px; }
  .contact-visual { width: min(100%, 500px); height: clamp(390px, 100vw, 570px); justify-self: center; }
  .location-inner { grid-template-columns: 1fr; gap: 34px; }
  .location-copy { max-width: 600px; }
  .map-frame iframe { aspect-ratio: 1.2; }
  .final-cta { min-height: 500px; }
}
@media (max-width: 560px) {
  :root { --gutter: 22px; --section-space: clamp(32px, 9vw, 48px); --section-top-space: clamp(24px, 6vw, 32px); }
  .section { padding-block: var(--section-space); }
  .button-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-note { margin-top: 28px; }
  .section-heading { margin-bottom: 28px; }
  .area-grid { grid-template-columns: 1fr; }
  .area-content p { min-height: 0; }
  .group-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .group-heading > p { text-align: left; }
  .facial-grid, .body-grid { grid-template-columns: 1fr; gap: 16px; }
  .protocol-card { max-width: 460px; width: 100%; justify-self: center; }
  .protocol-body { padding: 20px 20px 18px; }
  .protocol-body p { font-size: .81rem; }
  .body-signature { margin-block: 36px 32px; }
  .contact-visual { height: clamp(360px, 118vw, 510px); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-content: flex-start; }
  .private-note { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
}
