/* Implante Batel v2: appointment-card stationery. Mobile first. */
:root {
  --wall: #67717c;        /* reception wall gray */
  --wall-deep: #4f5862;
  --wall-mist: #eef0f2;   /* the same gray, thinned on white stock */
  --ink: #2e2e2e;         /* graphite */
  --ink-soft: #545c64;
  --paper: #ffffff;
  --rule: #d5d9dd;
  --gold: #d4a53c;        /* only on the booking action */
  --gold-press: #c39431;
  --on-wall: #f6f7f8;
  --display: "Bricolage Grotesque", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --r: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; scrollbar-color: var(--wall) var(--wall-mist); }
body { margin: 0; font: 400 1.0625rem/1.6 var(--text); color: var(--ink); background: var(--paper); padding-bottom: 5.5rem; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--wall); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: var(--r); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: currentColor; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Buttons: the only gold on the page */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .8rem 1.4rem; background: var(--gold); color: var(--ink); font: 700 1.0625rem/1.2 var(--text); text-decoration: none; border-radius: var(--r); transition: background-color .18s ease, transform .18s ease; }
.btn:hover { background: var(--gold-press); }
.btn:active { transform: translateY(1px); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(6px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.mark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.05; min-height: 44px; justify-content: center; }
.mark-name { font: 700 1.25rem/1 var(--display); letter-spacing: -0.02em; }
.mark-sub { font-size: .8125rem; color: var(--ink-soft); margin-top: .15rem; }
.nav { display: none; }
.top-cta { display: none; }

/* Hero */
.hero { background: var(--wall); color: #fff; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 10% 50%; }
.hero-in { position: relative; padding-top: 2rem; padding-bottom: 2.5rem; }
.hero-copy { margin-bottom: 2rem; }
.hero h1 { font-size: clamp(2.25rem, 9vw, 4.6rem); font-weight: 700; letter-spacing: -0.03em; max-width: 14ch; }
.lede { margin-top: 1.1rem; font-size: 1.0625rem; color: var(--on-wall); max-width: 40ch; }

.ticket { background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 18px 40px -18px rgba(24,28,33,.55); padding: 1.4rem 1.25rem 0; }
.ticket-t { font: 700 1.375rem/1.15 var(--display); letter-spacing: -0.01em; padding-bottom: .9rem; border-bottom: 2px solid var(--ink); }
.fields { margin: 0; display: grid; grid-template-columns: 1fr; }
.fields div { padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.fields dt { font-size: .8125rem; color: var(--ink-soft); }
.fields dd { margin: .1rem 0 0; font-weight: 700; line-height: 1.4; }
.ticket-act { padding: 1.1rem 0 1rem; display: grid; gap: .6rem; }
.ticket-act .btn { width: 100%; }
.alt { font-size: .9375rem; color: var(--ink-soft); text-align: center; }
.alt a { color: var(--ink); font-weight: 700; text-underline-offset: .2em; display: inline-block; padding: .65rem .25rem; }
.ticket-foot { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; margin: 0 -1.25rem; padding: .5rem 1rem; border-top: 1px dashed var(--rule); background: var(--wall-mist); font-size: .9375rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.ticket-foot svg { color: var(--wall); }
.ticket-foot:hover { text-decoration: underline; text-underline-offset: .2em; }

/* Voices */
.voices { padding: 4rem 0 4.5rem; }
.lead-quote { margin: 0 0 3rem; }
.lead-quote blockquote { margin: 0; }
.lead-quote p { font: 500 clamp(1.6rem, 6.2vw, 2.9rem)/1.18 var(--display); letter-spacing: -0.02em; text-wrap: pretty; }
.lead-quote figcaption { margin-top: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: .75rem; }
.lead-quote figcaption::before { content: ""; width: 2.5rem; height: 2px; background: var(--ink); }
.voices-side h2 { font-size: 1.75rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); max-width: 30ch; }
.quotes { list-style: none; margin: 0; padding: 0; }
.quotes li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.quotes p { color: var(--ink); }
.who { display: block; margin-top: .4rem; font-size: .9375rem; font-weight: 700; color: var(--ink-soft); }
.more { margin-top: .75rem; font-weight: 700; }
.fine { font-size: .875rem; color: var(--ink-soft); }

/* Doctor */
.doctor { background: var(--wall-mist); }
.doctor-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.doctor-copy { padding: 2.5rem var(--gut) 3.5rem; max-width: 40rem; }
.doctor h2 { font-size: clamp(2rem, 8vw, 3.75rem); letter-spacing: -0.03em; }
.doctor-text { margin-top: 1.25rem; font-size: 1.1875rem; line-height: 1.55; max-width: 34ch; }
.sig { margin: 2rem 0 1rem; padding-top: .9rem; border-top: 1px solid var(--ink); display: flex; flex-direction: column; max-width: 22rem; }
.sig-name { font: 700 1.25rem/1.2 var(--display); }
.sig-cro { font-size: .9375rem; color: var(--ink-soft); margin-top: .2rem; }

/* Services: editorial, no tiles */
.services { padding: 4.5rem 0; }
.services h2 { font-size: clamp(1.9rem, 6.5vw, 3.4rem); letter-spacing: -0.03em; max-width: 20ch; }
.services-in { margin-top: 2.5rem; }
.implant picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.implant-copy { padding-top: 1.5rem; }
.implant h3 { font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -0.03em; }
.implant p { margin-top: .5rem; font-size: 1.1875rem; max-width: 34ch; }
.implant .h3-sub { margin-top: 1.75rem; font-size: 1.375rem; letter-spacing: -0.01em; }
.implant .h3-sub + p { font-size: 1.0625rem; color: var(--ink-soft); }
.also { margin-top: 3rem; }
.also-intro { font: 500 1.25rem/1.35 var(--display); max-width: 28ch; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.runin { list-style: none; margin: 0; padding: 0; }
.runin li { padding: .85rem 0 0; }
.runin li:first-child { padding-top: 1.1rem; }
.runin h4 { display: inline; font-size: 1.125rem; letter-spacing: -0.01em; }
.runin h4::after { content: ". "; }
.runin p { display: inline; color: var(--ink-soft); }
.maxim { margin-top: 2.25rem; font: 500 1.25rem/1.35 var(--display); color: var(--wall-deep); max-width: 30ch; }

/* Space */
.space { background: var(--wall); color: #fff; padding: 4rem 0; overflow: hidden; }
.space h2 { font-size: clamp(1.9rem, 6.5vw, 3rem); letter-spacing: -0.03em; max-width: 16ch; }
.space-copy > p { margin-top: 1rem; color: var(--on-wall); max-width: 36ch; }
.amen { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.35); }
.amen li { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.amen svg { flex: none; }
.collage { margin-top: 2.5rem; display: grid; grid-template-columns: 1.15fr 1fr; gap: .75rem; align-items: start; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { grid-column: 1 / -1; }
.collage .c1 img { aspect-ratio: 16 / 10; }
.collage .c2 img { aspect-ratio: 4 / 5; }
.collage .c3 { margin-top: 2.5rem; }
.collage .c3 img { aspect-ratio: 568 / 459; }

/* Contact */
.contact { padding: 4.5rem 0 3rem; }
.contact h2 { font-size: clamp(2rem, 7vw, 3.6rem); letter-spacing: -0.03em; max-width: 17ch; }
.contact-act { margin-top: 1.5rem; display: grid; gap: 1.1rem; justify-items: start; }
.contact-act p { font-size: 1.1875rem; max-width: 30ch; }
.where { margin-top: 3rem; }
.where-info { margin: 0; border-top: 2px solid var(--ink); }
.where-info > div { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.where-info dt { font-size: .875rem; color: var(--ink-soft); }
.where-info dd { margin: .2rem 0 0; line-height: 1.55; }
.map { margin-top: 1.5rem; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(.35); }

/* Footer */
.foot { background: var(--ink); color: #d9dde1; padding: 3rem 0 2rem; font-size: .9375rem; }
.foot-in { display: grid; gap: 1.5rem; }
.foot .mark-name { color: #fff; font-size: 1.5rem; margin-bottom: .4rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.legal { padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.18); color: #b9bfc5; }

/* Floating WhatsApp (mobile) */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; width: 60px; height: 60px; display: grid; place-items: center; background: var(--gold); color: var(--ink); border-radius: 50%; box-shadow: 0 10px 24px -8px rgba(24,28,33,.55); transition: transform .18s ease; }
.wa-float:hover { transform: translateY(-2px); }

/* Tablet up */
@media (min-width: 720px) {
  .fields { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .fields .wide { grid-column: 1 / -1; }
  .collage { grid-template-columns: 1.2fr 1fr 1fr; }
  .collage .c1 { grid-column: 1 / 3; }
  .collage .c2 { grid-column: 3; grid-row: 1 / 3; }
  .collage .c2 img { aspect-ratio: 3 / 5; }
  .collage .c3 { grid-column: 1 / 3; grid-row: 2; justify-self: end; width: 72%; margin-top: -3.5rem; position: relative; }
  .collage .c3 img { aspect-ratio: 16 / 7; object-position: 30% 74%; box-shadow: 0 0 0 .75rem var(--wall); }
  .runin { columns: 2; column-gap: 2.5rem; }
  .runin li { break-inside: avoid; }
}

/* Desktop */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .wa-float { display: none; }
  .nav { display: flex; gap: .25rem; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; text-decoration: none; font-weight: 700; font-size: .9375rem; }
  .nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
  .top-cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1rem; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .9375rem; text-decoration: none; border-radius: var(--r); transition: background-color .18s ease; }
  .top-cta:hover { background: var(--gold-press); }

  .hero { min-height: min(46rem, calc(100vh - 61px)); display: flex; }
  .hero-photo { position: absolute; inset: 0 0 0 46%; }
  .hero-photo picture, .hero-photo img { height: 100%; }
  .hero-photo img { aspect-ratio: auto; object-position: 16% 50%; }
  .hero-in { width: 100%; display: grid; grid-template-columns: 46% 1fr; grid-template-rows: 1fr auto; padding-top: 4.5rem; padding-bottom: 3.5rem; }
  .hero-copy { grid-column: 1; grid-row: 1; padding-right: 3rem; margin: 0; align-self: center; }
  .hero h1 { font-size: clamp(3rem, 4.2vw, 4rem); max-width: 13ch; }
  .lede { font-size: 1.1875rem; }
  .ticket { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: 2.5rem; margin-left: calc(46% - 10rem); width: 42rem; display: grid; grid-template-columns: 1fr 15rem; column-gap: 1.75rem; padding: 1.5rem 1.75rem 0; }
  .ticket-t { grid-column: 1 / -1; }
  .fields { grid-column: 1; }
  .ticket-act { grid-column: 2; align-content: center; padding: 1rem 0; }
  .ticket-foot { grid-column: 1 / -1; margin: 0 -1.75rem; }

  .voices { padding: 6.5rem 0; }
  .voices-in { display: grid; grid-template-columns: 1.35fr 1fr; gap: 5rem; align-items: start; }
  .lead-quote { margin: 0; position: sticky; top: 7rem; }
  .lead-quote p { font-size: clamp(2.2rem, 3.3vw, 3.1rem); }

  .doctor { display: grid; grid-template-columns: 44% 1fr; align-items: end; }
  .doctor-photo { height: 100%; }
  .doctor-photo picture, .doctor-photo img { height: 100%; }
  .doctor-photo img { aspect-ratio: auto; max-height: 46rem; min-height: 38rem; }
  .doctor-copy { padding: 5rem 4rem 5.5rem; }

  .services { padding: 7rem 0; }
  .services-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4.5rem; align-items: start; margin-top: 3.5rem; }
  .implant picture { margin-left: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2 + var(--gut))); }
  .implant picture img { aspect-ratio: 5 / 4; }
  .also { margin-top: 0; padding-top: .25rem; }
  .runin { columns: 1; }

  .space { padding: 6rem 0; }
  .space-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
  .collage { margin-top: 0; }

  .contact { padding: 7rem 0 4rem; }
  .contact-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: end; }
  .contact-act { margin-top: 0; }
  .where { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; margin-top: 4rem; align-items: start; }
  .map { margin-top: 0; }
  .map iframe { height: 420px; }

  .foot-in { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
  .legal { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
