/* Dentea V2 palette and shared UI; page layout remains in site.css. */
:root {
  --green: #3D5F48;
  --dark: #173a2e;
  --ink: #193e32;
  --muted: #5a665c;
  --paper: #eeeee5;
  --cream: #f8f7f2;
  --sage: #e2e7d9;
  --lime: #e5e9d2;
  --line: #d4dbcf;
}
body { background: var(--cream); color: var(--ink); }
::selection { background: var(--lime); color: var(--ink); }
.hero, .welcome, .treatments { background: var(--cream); }
/* Align treatments to the existing hero/header container without resizing the hero. */
.treatments { max-width: 1440px; }
.hero-frames { background: var(--paper); border-color: #e3e6dc; }
/* Subtle Ken Burns: a slow transform-only zoom on the active cover photo. Using a long transition
   (not a keyframe animation) means the outgoing photo holds its zoom through the 1.1s crossfade
   instead of snapping back, so the zoom and the fade read as one smooth cross-dissolve. The
   JS-added is-kenburns class triggers the first zoom-in on load. */
.carousel.is-kenburns .slide img { transform: scale(1); transition: transform 7s linear; will-change: transform; }
.carousel.is-kenburns .slide.active img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .carousel.is-kenburns .slide img { transform: none; transition: none; } }
.eyebrow { color: var(--green); letter-spacing: .12em; }
.treatment p, .article-body p, .blog-card p { color: var(--muted); }
/* YouTube embed in a blog article: centered, responsive 16:9. */
.article-video { max-width: 900px; margin: 40px auto; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #000; }
.article-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.button {
  min-height: 54px; padding: 16px 26px; font-size: 14px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--green); color: #fff; letter-spacing: .01em;
  box-shadow: none; transition: background-color .25s, transform .25s;
}
.button:hover { background: #304C39; transform: translateY(-1px); }
.button svg { width: 17px; height: 17px; flex: 0 0 17px; }
.button.light { background: var(--cream); color: var(--green); }
.button.light:hover { background: #f0f0e5; }

/* A quiet sticky header, suited to the framed hero rather than an image overlay. */
.header {
  position: sticky; top: 0; background: #f8f7f2f5;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid #193e3212; box-shadow: 0 2px 24px #14332b04;
}
.header-inner { max-width: 1440px; padding-top: 20px; padding-bottom: 20px; }
.logo { width: 153px; }
.logo img { mix-blend-mode: normal; }
.header nav a, .header nav summary { font-size: 14px; color: var(--ink); }
.header .button { min-height: 48px; padding: 13px 22px; gap: 11px; }
.header-phone { color: var(--ink); font-variant-numeric: tabular-nums; }
.nav-dropdown { background: var(--cream); border-color: var(--line); border-radius: 10px; box-shadow: 0 15px 40px #173c300c; }

/* Both contact entry points use the V2's sage/cream pairing. */
.closing.closing-with-form {
  background: var(--sage); color: var(--ink); padding-top: 76px; padding-bottom: 76px;
  align-items: center; gap: clamp(38px, 7vw, 100px);
}
.closing-copy { padding-top: 0; }
.closing h2 { font-size: clamp(43px, 4.5vw, 66px); line-height: 1.08; letter-spacing: -.035em; max-width: 570px; }
.closing .eyebrow { color: var(--green); margin-bottom: 24px; }
.closing p { color: #526354; line-height: 1.85; max-width: 470px; }
.inner-page .contact { background: var(--sage); align-items: start; }
.contact-copy > p { color: #526354; line-height: 1.85; }
.contact-number { color: var(--green); font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; }
.contact-email { color: var(--green); }
.contact-form, .closing-with-form .contact-form {
  background: var(--cream); color: var(--ink); border: 0;
  padding: clamp(28px, 3.2vw, 42px); box-shadow: 0 20px 70px #173c3006;
}
.contact-form h2 { font-family: var(--serif); font-size: clamp(31px, 2.5vw, 38px); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 22px; }
.contact-form-row { gap: 24px; }
.contact-form label { font-size: 14px; line-height: 1.5; margin: 22px 0 3px; color: var(--ink); }
.contact-form label span { color: var(--muted); font-size: 13px; }
.contact-form input:not([type=checkbox]):not([type=hidden]), .contact-form textarea {
  display: block; width: 100%; padding: 12px 0 13px; color: var(--green);
  background: transparent; border: 0; border-bottom: 1px solid #a6b19a; border-radius: 0;
  box-shadow: none; font-size: 16px; line-height: 1.6;
  transition: border-color .2s, background-color .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #73806f; opacity: 1; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid #537659; outline-offset: 5px; border-bottom-color: var(--green); }
.contact-form textarea { min-height: 108px; resize: vertical; }
.contact-form .form-note, .closing-with-form .contact-form .form-note { color: #5d6c5e; font-size: 13px; line-height: 1.7; margin: 20px 0 16px; max-width: none; }
.form-local-note { display: block; font-weight: 500; margin-top: 8px; color: var(--green); }
.contact-form .form-privacy { display: inline-block; min-height: 28px; font-size: 13px; margin: 0 0 6px; text-underline-offset: 3px; }
.contact-form .form-consent { margin: 15px 0 20px; gap: 10px; font-size: 13px; }
.contact-form .form-consent input { flex-basis: 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.contact-form .form-consent span { font-size: 13px; line-height: 1.6; color: #526354; }
.contact-form .button, .closing-with-form .contact-form .button { width: 100%; margin-top: 8px; min-height: 54px; justify-content: space-between; padding: 16px 24px; }
.contact-form .button-label { text-align: left; }
.contact-form .form-status { margin: 16px 0 0; font-size: 14px; line-height: 1.7; color: var(--green); }
/* Failures must not look like confirmations. */
.contact-form .form-status.is-error { color: #8a5a43; }

/* The same icon family, real clinic URLs and generous click/tap targets. */
footer { background: #173a2e; color: var(--cream); padding-top: 76px; padding-bottom: 30px; }
.footer-top, .footer-bottom { max-width: 1260px; }
.footer-top { grid-template-columns: 1.25fr .8fr 1fr; gap: clamp(32px, 5vw, 76px); }
.footer-logo { width: 205px; }
.footer-top > div:first-child p { max-width: 260px; font-size: 14px; line-height: 1.85; color: #c3cfbe; margin-top: 25px; }
.footer-links { gap: 12px; font-size: 14px; line-height: 1.8; }
.footer-links > span { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; color: #e4e9da; margin-bottom: 11px; }
.footer-links a { color: #e3e9dd; overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-socials { display: flex; gap: 11px; margin-top: 24px; }
.footer-socials a { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #63816b; border-radius: 50%; color: var(--cream); transition: background-color .2s, color .2s, border-color .2s; }
.footer-socials svg { width: 19px; height: 19px; }
.footer-socials a:hover { background: var(--cream); border-color: var(--cream); color: var(--green); }
.footer-socials a:focus-visible { outline: 2px solid var(--cream); outline-offset: 5px; }
.footer-bottom { color: #c3cfbe; border-color: #50694875; margin-top: 45px; padding-top: 24px; font-size: 12px; }
.whatsapp-float { background: #25d366; color: #fff; box-shadow: 0 7px 24px #173c3026; border: 3px solid var(--cream); }
.whatsapp-float:hover { background: #25d366; }
.mobile-actions { background: var(--cream); border-top-color: var(--line); box-shadow: 0 -4px 22px #173c3008; }
.mobile-actions a { border-color: #9aa990; color: var(--green); min-height: 46px; }
.mobile-actions a:last-child { background: var(--green); color: #fff; border-color: var(--green); }

@media (max-width: 1100px) {
  .header-inner { padding-top: 16px; padding-bottom: 16px; }
  .header nav { background: var(--cream); border-bottom-color: var(--line); }
  .header nav a, .header nav summary { font-size: 17px; }
}
@media (max-width: 850px) {
  .treatments { max-width: 800px; }
  .header-inner { padding-left: 24px; padding-right: 24px; }
  .logo { width: 136px; }
  .closing.closing-with-form { padding-top: 56px; padding-bottom: 56px; align-items: start; gap: 35px; }
  .closing h2 { max-width: 600px; }
  .contact-form, .closing-with-form .contact-form { padding: 30px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px 32px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .header-inner { padding: 13px 20px; gap: 12px; }
  .logo { width: 121px; }
  .header .button { min-height: 44px; padding: 11px 18px; font-size: 13px; }
  .header .button svg { display: none; }
  .closing.closing-with-form { padding: 48px 24px 52px; gap: 32px; }
  .closing h2 { font-size: 43px; }
  .closing .eyebrow { margin-bottom: 20px; }
  .closing p { font-size: 16px; }
  .contact-form, .closing-with-form .contact-form { padding: 28px 23px; }
  .contact-form h2 { font-size: 32px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .form-note, .closing-with-form .contact-form .form-note { font-size: 13px; }
  footer { padding: 55px 24px 112px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-top > div:first-child { grid-column: auto; }
  .footer-logo { width: 190px; }
  .footer-top > div:first-child p { margin-top: 20px; }
  .footer-bottom { margin-top: 35px; padding-top: 22px; font-size: 12px; }
}
@media (max-width: 380px) { .header-inner { gap: 10px; } .logo { width: 108px; } }
@media (prefers-reduced-motion: reduce) {
  .button, .footer-socials a, .contact-form input, .contact-form textarea { transition: none; }
  .button:hover { transform: none; }
}

/* One centered dot style for every carousel, with generous tap targets. */
.hero-pagination .dots, .treatment-pagination, .review-dots {
  display: flex; justify-content: center; align-items: center; gap: 0;
  max-width: none; margin-left: auto; margin-right: auto; flex-wrap: wrap;
}
.hero-pagination .dots button, .treatment-pagination button, .review-dots button {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
}
.hero-pagination .dots button::after, .treatment-pagination button::after, .review-dots button::after {
  content: ''; position: static; inset: auto; width: 7px; height: 7px; border-radius: 50%;
  background: #b9c7b5; transition: background-color .2s, transform .2s;
}
.hero-pagination .dots button[aria-current=true]::after,
.treatment-pagination button[aria-current=true]::after,
.review-dots button[aria-current=true]::after {
  width: 7px; height: 7px; background: var(--green); transform: scale(1.15);
}
.treatment-controls { justify-content: center; position: relative; margin-top: 12px; }
.treatment-help { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.review-dots { margin-top: 20px; }
.review-carousel { max-width: 900px; }
.review-viewport { overflow: hidden; }
.reviews-ready .review-viewport { touch-action: pan-y pinch-zoom; cursor: grab; }
.reviews-ready .review-slides { display: flex; align-items: stretch; min-height: 260px; }
.reviews-ready .review-slide { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 22px clamp(12px,3vw,36px); }
.reviews-ready .review-slide blockquote { margin-bottom: 25px; }
.reviews-ready .review-viewport.is-dragging, .reviews-ready .review-viewport.is-dragging * { cursor: grabbing; user-select: none; }
@media(max-width:640px) {
  .reviews-ready .review-slides { min-height: 330px; }
  .reviews-ready .review-slide { padding: 16px 8px; }
  .review-dots { margin-top: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-pagination .dots button::after, .treatment-pagination button::after, .review-dots button::after { transition: none; }
}

/* Final UI simplification: recognizable WhatsApp and one primary contact action. */
.contact-whatsapp svg { color: #25d366; }
#consulta { scroll-margin-top: 110px; }
.footer-bottom { justify-content: space-between; }
/* Team content is independent of the horizontally scrolling treatment cards. */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 36px; }
.team-card { min-width: 0; max-width: 420px; }
.team-card > img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; border-radius: 6px; margin-bottom: 24px; }
.team-card h3 { font-family: var(--serif); font-size: 32px; line-height: 1.15; margin-bottom: 12px; }
.team-card p { font-size: 16px; line-height: 1.8; margin-top: 12px; }
.team-card .team-role { color: var(--green); font-size: 14px; margin-bottom: 14px; }
/* Contact channels sit directly under the intro; hours moved to the visit block below. */
.contact-channels { margin-top: 30px; }
.contact-channels .contact-number { margin-top: 0; }
/* Visit block: a concise, grouped hours schedule above a full-width map. Consecutive days with the same
   hours collapse to one range row; today's row is highlighted and a live open/closed badge sits by the title. */
.hours-strip { max-width: 680px; margin-bottom: clamp(30px,4vw,48px); }
.hours-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 8px; }
.hours-head #hours-title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,2.1vw,30px); line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.hours-status { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; font-weight: 500; color: var(--green); }
.hours-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.hours-status.is-closed { color: #8a5a43; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 15px 0; border-top: 1px solid #c7d1bd; }
.hours-list li:last-child { border-bottom: 1px solid #c7d1bd; }
.hours-range { font-size: 16px; color: var(--ink); }
.hours-time { font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-time.is-closed-day { color: #8a5a43; }
.hours-list li.is-today .hours-range { color: var(--green); font-weight: 500; }
@media(max-width:640px) { .treatments { padding-left: 20px; padding-right: 20px; } }
@media(max-width:600px) {
  .header-contact { display: none; }
  .menu-toggle { margin-left: auto; }
  .contact-channels { margin-top: 24px; }
  .hours-list li { padding: 13px 0; }
}

/* Footer channels share one monochrome style; only floating WhatsApp is green. */
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.footer-legal a:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; border-radius: 2px; }
/* Legal pages follow the FAQ pattern: serif title, sans section titles over hairlines, muted body. */
.legal-page { padding-top: 48px; padding-bottom: 88px; overflow-wrap: anywhere; }
.legal-heading { position: sticky; top: calc(116px + var(--dv-toolbar-height,0px)); }
.legal-page h1 { font-weight: 400; margin: 0 0 18px; }
.legal-updated { margin: 0 0 32px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.legal-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.legal-nav li { border-bottom: 1px solid var(--line); }
.legal-nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; font-size: 15px; line-height: 1.4; color: var(--muted); transition: color .2s; }
.legal-nav a[aria-current="page"] { color: var(--green); font-weight: 500; }
.legal-nav a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 2px; }
.legal-content { color: var(--muted); }
.legal-intro { margin-bottom: 32px; font-size: 17px; line-height: 1.8; color: var(--ink); }
.legal-section { padding: 26px 0 10px; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 12px; font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: 0; color: var(--ink); }
.legal-content h3 { margin: 22px 0 10px; font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: 0; color: var(--ink); }
.legal-content p, .legal-content ul, .legal-content ol { margin: 0 0 16px; }
.legal-content ul, .legal-content ol { padding-left: 20px; }
.legal-content li { margin-bottom: 6px; padding-left: 4px; }
.legal-content li::marker { color: var(--green); }
.legal-content strong { font-weight: 500; color: var(--ink); }
.legal-content a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.legal-content table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: 14px; }
.legal-content th, .legal-content td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-content th { font-weight: 500; color: var(--ink); }
.legal-todo { padding: 1px 6px; border-radius: 4px; background: #f3e6c4; color: #6b4e16; font-weight: 500; }
.legal-contact { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
@media(max-width:900px) {
  .legal-heading { position: static; }
  .legal-updated { margin-bottom: 24px; }
}
@media(max-width:640px) {
  .footer-legal { width: 100%; flex-direction: column; align-items: flex-start; gap: 0; }
  .legal-page { padding-top: 32px; padding-bottom: 56px; }
  .legal-content h2 { font-size: 17px; }
}

/* One native link per public treatment card: mouse, touch and keyboard share a target. */
.treatment-carousel { position: relative; }
.treatment-stage { position: relative; min-width: 0; }
.treatment-carousel .treatment-controls { position: static; }
.treatment-nav {
  position: absolute; top: var(--treatment-arrow-y,8px); z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--green); border-radius: 50%; background: var(--paper); color: var(--green);
  box-shadow: 0 3px 14px rgb(25 62 50 / .09); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.treatment-nav[hidden] { display: none; }
.treatment-prev { left: -24px; }
.treatment-next { right: -24px; }
.treatment-nav svg { display: block; width: 22px; height: 22px; }
.treatment-nav:disabled { opacity: .35; cursor: default; box-shadow: none; }
.treatment-nav:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (hover:hover) and (pointer:fine) {
  .treatment-nav:not(:disabled):hover { background: var(--green); color: var(--paper); }
}
/* Touch navigation uses dragging and centered dot buttons without side arrows. */
@media (max-width:850px) {
  .treatment-carousel .treatment-nav { display: none; }
  .treatment-carousel .treatment-controls {
    display: flex; justify-content: center; margin-top: 12px; min-width: 0;
  }
  .treatment-carousel .treatment-pagination { min-width: 0; margin: 0; justify-content: center; }
  .treatment-carousel .treatment-pagination button { width: 44px; height: 44px; flex: 0 0 44px; }
}
@media (prefers-reduced-motion:reduce) { .treatment-nav { transition: none; } }
.treatment-card-link { display: flex; flex-direction: column; flex: 1; min-width: 0; border-radius: 6px; color: inherit; text-decoration: none; -webkit-user-drag: none; }
a.treatment-card-link { cursor: pointer; }
.treatment-card-link .treatment-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.treatment-title-text { min-width: 0; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.treatment-arrow { display: block; width: 23px; height: 23px; flex: 0 0 23px; margin-top: .18em; color: var(--green); transition: transform .25s ease; }
.treatment-card-link .treatment-copy p { margin-bottom: 12px; }
.treatment-card-link .treatment-image img { transform: none; transition: transform .45s var(--ease); }
.treatment-grid a.treatment-card-link:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.treatment-card-link:focus-visible .treatment-title-text { text-decoration-line: underline; }
.treatment-card-link:focus-visible .treatment-arrow { transform: translate(2px,-2px); }
@media(hover:hover) and (pointer:fine) {
  a.treatment-card-link:hover .treatment-title-text { text-decoration-line: underline; }
  a.treatment-card-link:hover .treatment-image img { transform: scale(1.025); }
  a.treatment-card-link:hover .treatment-arrow { transform: translate(2px,-2px); }
}
@media(prefers-reduced-motion:reduce) {
  .treatment-card-link .treatment-image img, .treatment-arrow { transition: none; }
  a.treatment-card-link:hover .treatment-image img, a.treatment-card-link:hover .treatment-arrow,
  .treatment-card-link:focus-visible .treatment-arrow { transform: none; }
}

/* Compact contact: clear labels, a short optional message and one privacy row. */
.closing.closing-with-form { padding-top: 56px; padding-bottom: 56px; gap: clamp(32px,5vw,72px); }
.closing h2 { font-size: clamp(40px,4vw,56px); }
.contact-form.contact-form-compact, .closing-with-form .contact-form.contact-form-compact {
  width: 100%; max-width: 520px; padding: 26px 28px; box-shadow: none; justify-self: end;
}
.contact-form-compact .contact-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px 20px; }
.contact-fields > div { min-width: 0; }
.contact-fields .contact-field-wide { grid-column: 1 / -1; }
.contact-form-compact .contact-fields label { display: block; margin: 0 0 3px; font-size: 13px; line-height: 1.5; }
.contact-form-compact .contact-fields label span { font-size: 12px; }
.contact-form-compact .contact-fields input, .contact-form-compact .contact-fields textarea {
  min-height: 44px; padding: 8px 0; font-size: 16px; line-height: 1.5;
}
.contact-form-compact .contact-fields textarea { height: 64px; min-height: 64px; resize: vertical; }
.contact-form-compact .contact-fields textarea::placeholder { font-size: 14px; }
.contact-form-compact .form-message-note, .closing-with-form .contact-form-compact .form-message-note {
  margin: 5px 0 0; padding: 0; max-width: none; color: var(--muted); font-size: 11px; line-height: 1.5;
}
.contact-form-compact .form-consent { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 12px; }
.contact-form-compact .form-consent input { margin: 4px 0 0; }
.contact-form-compact .form-consent-copy { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; column-gap: 8px; }
.contact-form-compact .form-consent-copy label { margin: 0; padding: 2px 0; min-height: 24px; font-size: 12px; line-height: 1.6; cursor: pointer; }
.contact-form-compact .form-privacy { margin: 0; padding: 2px 0; min-height: 24px; font-size: 12px; line-height: 1.6; text-decoration: underline; }
.contact-form.contact-form-compact .button, .closing-with-form .contact-form.contact-form-compact .button {
  width: auto; min-width: 140px; min-height: 46px; padding: 12px 22px; margin-top: 0; gap: 24px;
}
.contact-form-compact .form-local-note, .closing-with-form .contact-form-compact .form-local-note {
  margin: 10px 0 0; padding: 0; max-width: none; color: var(--muted); font-size: 11px; line-height: 1.5; font-weight: 400;
}
.contact-form-compact .form-status:empty { display: none; }
@media(max-width:850px) {
  .contact-form.contact-form-compact, .closing-with-form .contact-form.contact-form-compact { max-width: none; justify-self: stretch; }
}
@media(max-width:640px) {
  .closing.closing-with-form { padding: 42px 24px; gap: 26px; }
  .closing h2 { font-size: 40px; }
  .contact-form.contact-form-compact, .closing-with-form .contact-form.contact-form-compact { padding: 22px; }
  .contact-form-compact .contact-fields { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .contact-form-compact .form-consent { margin: 14px 0; }
}

/* Patient reviews: complete, readable copy with an explicit source. */
.reviews-heading h2 { font-size: clamp(34px,3.5vw,48px); line-height: 1.18; text-wrap: balance; }
.review-carousel { max-width: 740px; margin-top: 24px; }
.review-slides, .reviews-ready .review-slides { min-height: 0; }
.reviews-ready .review-slide { justify-content: flex-start; padding: 20px clamp(8px,2vw,24px) 4px; }
.review-slide .review-stars { color: #9b772c; font-size: 18px; line-height: 1; letter-spacing: 3px; margin: 0 auto 20px; }
.review-slide blockquote, .reviews-ready .review-slide blockquote { font-family: var(--sans); font-size: clamp(17px,1.45vw,20px); line-height: 1.8; letter-spacing: 0; max-width: 62ch; margin: 0 auto 24px; overflow-wrap: anywhere; }
.review-slide figcaption { margin-top: auto; font-size: 14px; line-height: 1.6; }
.review-slide figcaption .review-author { color: var(--green); font-size: 14px; font-weight: 500; }
.review-slide figcaption .review-source { margin-top: 4px; color: var(--muted); font-size: 12px; }
.review-source-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: 8px; padding: 6px 8px; color: var(--green); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; touch-action: manipulation; }
.review-source-link svg { width: 16px; height: 16px; flex: 0 0 auto; }
.review-source-link:hover { text-decoration-thickness: 2px; }
.review-source-link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }
.review-dots { margin-top: 16px; }
@media(max-width:640px) {
  .reviews { padding-top: 44px; padding-bottom: 32px; }
  .review-carousel { margin-top: 20px; }
  .reviews-ready .review-slide { padding: 12px 4px 4px; }
  .review-slide .review-stars { margin-bottom: 18px; }
  .review-slide blockquote, .reviews-ready .review-slide blockquote { font-size: 17px; line-height: 1.75; margin-bottom: 22px; }
}

/* Outlined text fields: the floating label notches the single border. */
.contact-form.contact-form-compact { --field-surface: var(--cream); }
.contact-form.contact-form-compact .contact-form-title { margin: 0 0 16px; font-size: clamp(20px,2.2vw,26px); line-height: 1.15; }
.contact-form.contact-form-compact .contact-fields { gap: 18px 20px; }
.contact-form.contact-form-compact .contact-fields .floating-field { position: relative; }
.contact-form.contact-form-compact .contact-fields .floating-control {
  display: block; width: 100%; height: 56px; min-height: 56px; margin: 0;
  padding: 15px 14px; border: 1px solid #a7b2a4;
  background: transparent; color: var(--ink); box-shadow: none;
  font-size: 16px; line-height: 24px; caret-color: var(--green);
  transition: border-color 160ms ease;
}
.contact-form.contact-form-compact .contact-fields textarea.floating-control { height: 96px; min-height: 96px; resize: vertical; }
.contact-form.contact-form-compact .contact-fields .floating-label {
  position: absolute; top: 16px; left: 10px; z-index: 1; display: block;
  width: auto; max-width: calc(100% - 20px); margin: 0; padding: 0 5px;
  background: var(--field-surface); color: #536457;
  font-size: 16px; line-height: 24px; font-weight: 400;
  white-space: nowrap; transform-origin: left top; cursor: text;
  transition: transform 160ms ease, color 160ms ease;
}
.contact-form.contact-form-compact .contact-fields .floating-label span { color: inherit; font: inherit; }
.contact-form.contact-form-compact .contact-fields .floating-control:focus + .floating-label,
.contact-form.contact-form-compact .contact-fields .floating-control:not(:placeholder-shown) + .floating-label {
  transform: translateY(-25px) scale(.75); color: var(--green);
}
.contact-form.contact-form-compact .contact-fields .floating-control:autofill + .floating-label { transform: translateY(-25px) scale(.75); color: var(--green); }
.contact-form.contact-form-compact .contact-fields .floating-control:-webkit-autofill + .floating-label { transform: translateY(-25px) scale(.75); color: var(--green); }
.contact-form.contact-form-compact .contact-fields .floating-control:hover { border-color: var(--green); }
/* The 2px border is the visible focus indicator; avoid a second outer outline. */
.contact-form.contact-form-compact .contact-fields .floating-control:focus,
.contact-form.contact-form-compact .contact-fields .floating-control:focus-visible { border: 2px solid var(--green); padding: 14px 13px; outline: 0; box-shadow: none; }
.contact-form.contact-form-compact .contact-fields .floating-control:user-invalid { border-color: #a33a32; }
.contact-form.contact-form-compact .contact-fields .floating-control:user-invalid + .floating-label { color: #a33a32; }
@media(prefers-reduced-motion:reduce) {
  .contact-form.contact-form-compact .contact-fields .floating-control,
  .contact-form.contact-form-compact .contact-fields .floating-label { transition: none; }
}

/* A dedicated FAQ page; native disclosures remain usable without JavaScript. */
.faq-page { max-width: 1040px; padding-top: 48px; padding-bottom: 72px; }
.faq-page-heading { max-width: 720px; margin-bottom: 40px; }
.faq-page-heading h1 { font-size: clamp(42px,4.5vw,64px); line-height: 1.12; margin-bottom: 22px; }
.faq-page-heading > p { font-size: 17px; line-height: 1.8; }
.faq-page-list { border-top: 1px solid var(--line); }
.faq-page details { border-bottom: 1px solid var(--line); }
.faq-page summary { list-style: none; display: block; min-height: 68px; padding: 22px 0; cursor: pointer; }
.faq-page summary::-webkit-details-marker { display: none; }
.faq-page summary h2 { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: 0; color: var(--ink); }
.faq-page summary svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--green); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.faq-page .faq-icon-vertical { transition: opacity 150ms ease; }
.faq-page details[open] .faq-icon-vertical { opacity: 0; }
.faq-page summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 2px; }
.faq-page .faq-answer { margin: 0; padding: 0 44px 24px 0; max-width: 760px; font-size: 16px; line-height: 1.85; color: var(--muted); white-space: pre-line; }
@media(max-width:640px) {
  .faq-page { padding-top: 32px; padding-bottom: 48px; }
  .faq-page-heading { margin-bottom: 28px; }
  .faq-page-heading > p { font-size: 16px; }
  .faq-page summary h2 { font-size: 16px; gap: 16px; }
  .faq-page .faq-answer { padding-right: 0; }
}
@media(prefers-reduced-motion:reduce) { .faq-page .faq-icon-vertical { transition: none; } }

/* Secondary action: outlined pill (same family as the primary filled pill). */
.button.button-outline { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.button.button-outline svg { width: 18px; height: 18px; }
@media (hover:hover) { .button.button-outline:hover { background: var(--green); color: var(--cream); } }
/* Contact card while the form is off: title, one line, call + WhatsApp, email as a text link. */
.contact-form-offline .contact-form-title { margin-bottom: 12px; }
.contact-form-offline > p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.contact-offline-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-form .contact-offline-actions .button, .closing-with-form .contact-form .contact-offline-actions .button { flex: 1 1 200px; width: auto; margin-top: 0; justify-content: center; gap: 10px; }
.contact-form-offline > .contact-offline-email { margin: 18px 0 0; font-size: 15px; }
.contact-offline-email a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
/* Skip link (WCAG 2.4.1): for keyboard and screen-reader users only. It appears on keyboard focus
   (Tab), never after a mouse click, a tap or browser-initiated focus, and uses the brand pill style. */
.skip { top: 12px; left: 16px; z-index: 1100; padding: 12px 22px; border-radius: 999px; background: var(--green); color: var(--cream); font-size: 14px; font-weight: 500; line-height: 1.4; box-shadow: 0 8px 24px #173c3026; transition: transform .15s ease; }
.skip:focus { transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline: 2px solid var(--cream); outline-offset: -6px; }
