:root {
  color-scheme: light;
  --cream: #f7f4ee;
  --sage: #344f49;
  --copper: #b77c64;
  --copper-text: #80503d;
  --ink: #252b29;
  --paper: #fffefb;
  --line: #dadfd8;
  --muted: #68736e;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 5.5vw, 6rem);
  --content-width: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(100% - var(--page-gutter) * 2, var(--content-width)); margin-inline: auto; }
.section-pad { padding-block: clamp(5.5rem, 10vw, 10rem); }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; transform: translateY(-160%); background: var(--paper); color: var(--sage); padding: .75rem 1rem; border: 2px solid var(--sage); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(247 244 238 / 94%); border-bottom: 1px solid rgb(52 79 73 / 9%); backdrop-filter: blur(14px); }
.header-inner { min-height: 5.3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; flex-direction: column; gap: .1rem; line-height: 1.2; }
.wordmark-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.03em; color: var(--sage); }
.wordmark-caption { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.5rem); font-size: .75rem; font-weight: 600; }
.site-nav a:not(.nav-cta), .footer-main nav a { transition: color .2s ease; }
.site-nav a:not(.nav-cta):hover, .footer-main nav a:hover { color: var(--copper); }
.nav-cta { color: var(--paper); background: var(--sage); padding: .78rem 1rem; border-radius: 2px; transition: background .2s, transform .2s; }
.nav-cta:hover { background: #263d38; transform: translateY(-1px); }
.nav-cta span { padding-left: .65rem; }
.menu-toggle { display: none; }
.hero { position: relative; min-height: min(790px, calc(100svh - 5.3rem)); padding-block: clamp(3rem, 5vw, 5.5rem); overflow: clip; }
.hero-inner { min-height: 580px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(390px, .9fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); position: relative; }
.hero-copy { max-width: 640px; padding-block: 2rem; }
.eyebrow { margin: 0 0 1.35rem; display: flex; align-items: center; gap: .7rem; color: var(--sage); font-size: .67rem; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-mark { width: 1.5rem; height: 1px; background: var(--copper); display: inline-block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--sage); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 11ch; margin-bottom: 1.5rem; font-size: clamp(3.4rem, 6.4vw, 6.9rem); line-height: .99; }
h1 em, h2 em { color: var(--copper); font-weight: 400; }
.hero-description, .body-copy { max-width: 60ch; color: #505b56; font-size: clamp(.92rem, 1.05vw, 1.02rem); line-height: 1.85; }
.hero-description { max-width: 47ch; margin-bottom: 2rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; padding: .85rem 1.15rem; font-size: .74rem; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sage); color: var(--paper); }
.button-primary:hover { background: #263d38; }
.button-primary span, .button-outline span, .button-light span { font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: .85rem; color: var(--sage); font-size: .75rem; font-weight: 700; border-bottom: 1px solid var(--copper); padding-bottom: .4rem; transition: gap .2s ease, color .2s ease; }
.text-link:hover { gap: 1.15rem; color: #263d38; }
.hero-note { display: flex; align-items: center; gap: .8rem; margin-top: 4.1rem; color: var(--muted); font-size: .68rem; }
.note-line { width: 2rem; height: 1px; background: var(--line); }
.hero-portrait { position: relative; width: 100%; height: min(70vw, 610px); min-height: 430px; max-height: 610px; background: #e9e3d9; }
.hero-portrait img { object-position: 50% 38%; }
.image-frame { overflow: hidden; background: #e8e4db; }
.image-frame.image-missing { display: grid; place-items: center; background: #e9e3d9; }
.image-frame.image-missing::after { content: attr(data-fallback, "Dra. Estela Dourado · Odontologia humanizada"); max-width: 12ch; color: var(--sage); font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 2.5rem); line-height: 1.15; text-align: center; }
.image-frame img { transition: transform .7s cubic-bezier(.2,.65,.3,1); }
.image-frame:hover img { transform: scale(1.025); }
.portrait-caption { position: absolute; inset: auto 1rem 1rem; display: flex; justify-content: space-between; color: white; font-size: .63rem; letter-spacing: .08em; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.portrait-stamp { position: absolute; right: -1.65rem; top: 17%; display: grid; place-items: center; width: 6rem; height: 6rem; border-radius: 50%; border: 1px solid var(--copper); color: var(--sage); background: var(--cream); text-align: center; font-family: var(--serif); font-size: .9rem; line-height: 1.05; transform: rotate(8deg); }
.hero-side-label { position: absolute; right: -2.6rem; top: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right; color: var(--muted); font-size: .59rem; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue { position: absolute; bottom: 1.6rem; left: var(--page-gutter); display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.scroll-cue span { height: 1.8rem; width: 1px; background: var(--copper); }
.about { background: var(--paper); }
.about-inner { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: clamp(4rem, 12vw, 11rem); }
.about-image-wrap { width: min(100%, 470px); position: relative; padding: 0 0 2.4rem 2.4rem; }
.about-image-wrap::before { content: ""; position: absolute; inset: 2.4rem 2.4rem 0 0; border: 1px solid var(--line); }
.about-image { position: relative; height: clamp(360px, 45vw, 560px); }
.about-image img { object-position: center 32%; }
.image-caption { position: absolute; bottom: .35rem; right: 0; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 1rem; font-style: italic; }
.about-copy h2, .section-heading h2, .experience h2, .social-proof h2, .contact h2, .location h2, .closing h2 { font-size: clamp(2.65rem, 4.5vw, 4.6rem); line-height: 1.06; }
.about-copy h2 { max-width: 12ch; margin-bottom: 1.6rem; }
.about-copy .body-copy { margin-bottom: 2rem; }
.principles { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.principles li { display: flex; align-items: center; gap: 1.25rem; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--sage); font-size: .84rem; font-weight: 600; }
.principles li span { color: var(--copper); font-size: .65rem; letter-spacing: .08em; }
.treatments { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.15fr .7fr; align-items: end; gap: 5rem; margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.section-heading h2 { max-width: 12ch; margin-bottom: 0; }
.section-heading .body-copy { margin-bottom: .25rem; }
.treatment-feature { display: grid; grid-template-columns: 1.1fr .8fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.treatment-image { position: relative; height: clamp(330px, 48vw, 590px); }
.treatment-image img { object-position: center 42%; }
.treatment-image figcaption, .card-image figcaption { position: absolute; bottom: .75rem; left: .8rem; color: white; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 5px rgb(0 0 0 / .6); }
.feature-copy { padding-block: 2rem; max-width: 480px; }
.treatment-number { margin-bottom: 1rem; color: var(--copper-text); font-size: .63rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.treatment-number span { padding-inline: .3rem; }
.feature-copy h3, .card-copy h3 { margin-bottom: 1rem; color: var(--sage); font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.25rem); font-weight: 400; line-height: 1.05; }
.feature-callout { max-width: 24ch; margin-bottom: 1rem; color: var(--ink); font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; }
.feature-copy .body-copy { margin-bottom: 1.7rem; font-size: .89rem; }
.button-outline { border: 1px solid var(--sage); color: var(--sage); }
.button-outline:hover { background: var(--sage); color: var(--paper); }
.treatment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 6rem); row-gap: 4.5rem; margin-top: clamp(5rem, 9vw, 9rem); }
.treatment-card { display: grid; grid-template-columns: minmax(145px, .72fr) 1fr; align-items: start; gap: clamp(1.25rem, 3vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.card-image { position: relative; height: 250px; }
.treatment-card:nth-child(2) .card-image { height: 210px; margin-top: 2.5rem; }
.treatment-card:nth-child(3) .card-image { height: 210px; }
.treatment-card:nth-child(4) .card-image { height: 250px; margin-top: 2.5rem; }
.card-copy h3 { font-size: clamp(1.75rem, 2.4vw, 2.5rem); }
.card-callout { margin-bottom: .75rem; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; line-height: 1.25; }
.card-copy > p:not(.treatment-number):not(.card-callout) { color: #59635e; font-size: .78rem; line-height: 1.75; }
.card-copy .text-link { margin-top: .55rem; font-size: .68rem; }
.experience { background: var(--sage); color: var(--paper); }
.experience-inner { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: clamp(4rem, 11vw, 11rem); }
.eyebrow-light { color: var(--cream); }
.experience h2, .location h2 { color: var(--cream); }
.experience h2 { max-width: 13ch; margin-bottom: 1.5rem; }
.experience h2 em, .location h2 em { color: #d7a18b; }
.experience-intro > p:last-child { max-width: 45ch; color: #e1e7e3; font-size: .9rem; line-height: 1.8; }
.care-steps { list-style: none; padding: 0; margin: 0; }
.care-steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.3rem; padding: 1.6rem 0; border-top: 1px solid rgb(255 255 255 / .22); }
.care-steps li:last-child { border-bottom: 1px solid rgb(255 255 255 / .22); }
.step-number { color: #d7a18b; font-size: .7rem; letter-spacing: .12em; }
.care-steps h3 { margin-bottom: .4rem; color: var(--paper); font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.care-steps p { max-width: 47ch; margin: 0; color: #d8e0db; font-size: .77rem; }
.social-proof { background: var(--paper); }
.social-inner { max-width: 1050px; display: grid; grid-template-columns: .2fr 1fr; gap: 2rem; }
.social-mark { color: var(--copper); font-family: var(--serif); font-size: 8rem; line-height: .8; }
.social-proof h2 { max-width: 17ch; margin-bottom: 1.3rem; }
.social-proof .body-copy { max-width: 68ch; margin-bottom: 1.7rem; font-size: .87rem; }
.contact { background: #eee9df; }
.contact-inner { display: grid; grid-template-columns: .9fr .8fr; gap: clamp(4rem, 12vw, 12rem); align-items: center; }
.contact-copy h2 { max-width: 12ch; margin-bottom: 1.5rem; }
.contact-copy .body-copy { margin-bottom: 2.4rem; }
.contact-links { border-top: 1px solid #cfd3cb; }
.contact-link { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #cfd3cb; color: var(--sage); font-size: .75rem; font-weight: 600; transition: color .2s; }
.contact-link:hover { color: #8c5945; }
.contact-image { position: relative; height: clamp(380px, 48vw, 590px); }
.contact-image img { object-position: center 30%; }
.contact-image figcaption { position: absolute; bottom: 1rem; left: 1rem; color: white; font-size: .65rem; text-shadow: 0 1px 8px rgb(0 0 0 / .55); }
.location { background: var(--sage); color: var(--paper); padding-block: clamp(5rem, 9vw, 8rem); }
.location-inner { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 5rem; }
.location h2 { max-width: 12ch; margin-bottom: 1.5rem; }
.address { margin-bottom: .6rem; color: var(--cream); font-size: .94rem; }
.pending-note { max-width: 39ch; margin-bottom: 1.8rem; color: #d9e1dd; font-size: .67rem; }
.button-light { background: var(--cream); color: var(--sage); }
.button-light:hover { background: white; }
.location-detail { position: relative; min-height: 330px; overflow: hidden; border: 1px solid rgb(255 255 255 / .18); background-image: linear-gradient(33deg, transparent 49.7%, rgb(255 255 255 / .09) 50%, transparent 50.4%), linear-gradient(147deg, transparent 49.7%, rgb(255 255 255 / .08) 50%, transparent 50.4%); background-size: 110px 110px, 145px 145px; }
.map-cross { position: absolute; top: 37%; left: 56%; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid #d7a18b; border-radius: 50%; color: #d7a18b; font-size: 1.5rem; }
.map-label { position: absolute; top: calc(37% + 3.4rem); left: calc(56% + 1.3rem); color: var(--cream); font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.map-label small { color: #d5ded9; font-family: var(--sans); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.map-line { position: absolute; width: 70%; height: 1px; top: 37%; left: -7%; background: rgb(255 255 255 / .2); transform: rotate(-28deg); }
.closing { text-align: center; background: var(--cream); }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { max-width: 18ch; margin-bottom: 1.1rem; }
.closing-inner > p:not(.eyebrow) { max-width: 55ch; margin-bottom: 1.7rem; color: #59635e; font-size: .87rem; }
.site-footer { background: #263d38; color: var(--cream); padding-block: 2.8rem 1.2rem; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; }
.footer-wordmark .wordmark-name { color: var(--cream); }
.footer-wordmark .wordmark-caption { color: #c4d0ca; }
.footer-main > p { margin: 0; color: #d7a18b; font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.footer-main nav { display: flex; gap: 1.5rem; font-size: .68rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .18); color: #d3ddd8; font-size: .6rem; }
[data-reveal] { opacity: 1; transform: none; }
.js-ready [data-reveal] { transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 650ms cubic-bezier(.2,.7,.25,1) var(--reveal-delay, 0ms); }
.js-ready [data-reveal].is-pending { opacity: 0; transform: translateY(22px); }
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (min-width: 1500px) { .hero-inner { grid-template-columns: 1fr .88fr; } }
@media (max-width: 1000px) {
  .site-nav { gap: 1rem; font-size: .68rem; }
  .hero-inner { gap: 3rem; grid-template-columns: 1fr .9fr; }
  .hero-portrait { min-height: 390px; }
  .hero-side-label { right: -2.4rem; }
  .about-inner, .experience-inner { gap: 4rem; }
  .section-heading { gap: 3rem; }
  .treatment-card { grid-template-columns: 1fr; }
  .card-image, .treatment-card:nth-child(n) .card-image { height: 240px; margin: 0; }
  .treatment-card .card-copy { max-width: 470px; }
}
@media (max-width: 760px) {
  :root { --page-gutter: 1.25rem; }
  html { scroll-padding-top: 4.5rem; }
  .header-inner { min-height: 4.7rem; }
  .menu-toggle { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--sage); cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .2s; }
  .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: calc(100% + 1px); inset-inline: 0; display: none; align-items: stretch; gap: 0; padding: .5rem var(--page-gutter) 1.3rem; border-bottom: 1px solid var(--line); background: var(--cream); font-size: .9rem; }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > a:not(.nav-cta) { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { align-self: flex-start; margin-top: 1rem; }
  .hero { min-height: auto; padding-block: 2.7rem 5rem; }
  .hero-inner { min-height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 2.3rem; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 1rem; font-size: .6rem; }
  h1 { max-width: 10ch; font-size: clamp(3.35rem, 13.2vw, 5rem); }
  .hero-description { font-size: .9rem; }
  .hero-note { margin-top: 2rem; }
  .hero-portrait { align-self: flex-end; width: 88%; height: 112vw; min-height: 390px; max-height: 550px; }
  .portrait-stamp { right: -1.1rem; width: 5.3rem; height: 5.3rem; font-size: .8rem; }
  .hero-side-label { right: auto; left: 0; top: auto; bottom: 16%; transform: rotate(-90deg); transform-origin: left; }
  .scroll-cue { display: none; }
  .about-inner, .experience-inner, .contact-inner, .location-inner { grid-template-columns: 1fr; }
  .about-inner { gap: 3rem; }
  .about-image-wrap { width: 88%; max-width: 430px; }
  .about-image { height: 115vw; max-height: 500px; min-height: 360px; }
  .about-copy h2, .section-heading h2, .experience h2, .social-proof h2, .contact h2, .location h2, .closing h2 { font-size: clamp(2.65rem, 10vw, 4rem); }
  .section-heading { grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 3rem; }
  .section-heading h2 { max-width: 12ch; }
  .treatment-feature { grid-template-columns: 1fr; gap: 1.7rem; }
  .treatment-image { height: 76vw; min-height: 280px; max-height: 440px; }
  .feature-copy { padding: 0; }
  .treatment-grid { grid-template-columns: 1fr; row-gap: 2.4rem; margin-top: 4rem; }
  .treatment-card { grid-template-columns: minmax(115px, .74fr) 1fr; gap: 1.2rem; }
  .card-image, .treatment-card:nth-child(n) .card-image { height: 175px; }
  .treatment-card:nth-child(2) .card-image, .treatment-card:nth-child(4) .card-image { margin-top: 1.5rem; }
  .card-copy h3 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .card-callout { font-size: 1rem; }
  .card-copy > p:not(.treatment-number):not(.card-callout) { font-size: .72rem; }
  .card-copy .text-link { font-size: .64rem; }
  .experience-inner { gap: 2.5rem; }
  .care-steps li { grid-template-columns: 2.5rem 1fr; gap: .8rem; }
  .social-inner { grid-template-columns: 1fr; gap: .5rem; }
  .social-mark { font-size: 5rem; }
  .contact-inner { gap: 3rem; }
  .contact-image { height: 115vw; min-height: 390px; max-height: 550px; width: 88%; justify-self: end; }
  .location-inner { gap: 3rem; }
  .location-detail { min-height: 250px; }
  .closing h2 { max-width: 15ch; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .footer-main nav { flex-wrap: wrap; gap: 1rem; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 390px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .treatment-card { grid-template-columns: 1fr; }
  .card-image, .treatment-card:nth-child(n) .card-image { height: 210px; margin: 0; }
}
@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], .js-ready [data-reveal].is-pending { opacity: 1; transform: none; }
}
