/* Spaso 1.18: one clinic palette and one locally hosted type family. */
@font-face {
  font-family: 'Spaso Sans';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/spaso-sans-latin.woff2') format('woff2');
}
:root {
  --sx-ink: #193F4A;
  --sx-link: #2F6570;
  --sx-muted: #52666C;
  --sx-surface: #F3F6F5;
  --sx-line: #CAD7D8;
  --sx-paper: #FFFFFF;
  --sx-wa: var(--sx-link);
  --sx-accent: var(--sx-link);
  --sx-wash: var(--sx-surface);
  --sx-font: 'Spaso Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body { font-family: var(--sx-font); font-size: 1.0625rem; }
h1, h2, h3, h4, .sx-brand, .sx-offer-value, .sx-hero-price, .sx-price-row > strong {
  font-family: var(--sx-font);
}
.sx-site { --ink: var(--sx-ink); --muted: var(--sx-muted); --brand: var(--sx-link); }
.sx-location { color: var(--sx-accent, var(--sx-link)); font-weight: 600; }
.sx-intro { line-height: 1.7; max-width: 56ch; }
.sx-section-heading p { font-size: 1rem; }
.sx-button { border-radius: 8px; font-size: .95rem; }
.sx-button-outline { border-color: var(--sx-link); }
.sx-text-link, .sx-service-links a, .sx-unit-service-links a { text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline-color: var(--sx-link); }
/* White navigation gives the photographs and brand room to breathe. */
.sx-header { color: var(--sx-ink); background: var(--sx-paper); border-bottom: 1px solid var(--sx-line); }
.sx-brand { color: var(--sx-ink); }
.sx-brand img { background: var(--sx-ink); border-radius: 9px; padding: 5px; width: 62px; height: 62px; }
.sx-brand small { color: var(--sx-muted); }
.sx-navigation a { color: var(--sx-ink); }
.sx-navigation .sx-header-contact { background: var(--sx-wa); border-color: var(--sx-wa); color: var(--sx-paper); }
.sx-navigation .sx-header-contact:hover { background: var(--sx-ink); }
.sx-menu-toggle { color: var(--sx-ink); border-color: var(--sx-link); }
.sx-nav-panel { border-radius: 12px; border-top: 1px solid var(--sx-line); }
.sx-nav-values { left: auto; right: 0; }
.sx-nav-service { padding-left: 0; }
.sx-navigation .sx-nav-panel a { font-size: .95rem; }
.sx-navigation a[aria-current="page"] { font-weight: 700; text-decoration: underline; }
/* One identity for every service and location. */
.sx-home-hero { background: var(--sx-paper); padding-block: 52px; }
.sx-home .sx-hero-grid { grid-template-columns: 1fr 1.08fr; gap: 56px; }
.sx-hero-copy h1 { letter-spacing: -.035em; }
.sx-home .sx-hero-photo { background: var(--sx-surface); border-radius: 12px; overflow: hidden; justify-content: start; }
.sx-home .sx-hero-photo img { aspect-ratio: 5/4; border-radius: 0; flex: 1; }
.sx-home .sx-hero-photo figcaption { margin: 0; padding: 17px 22px; color: var(--sx-muted); font-size: .9rem; }
.sx-service-hero { background: var(--sx-paper); padding-block: 32px 44px; }
.sx-service-hero .sx-hero-photo img, .sx-unit-hero .sx-hero-photo img { border-radius: 12px; }
.sx-hero-photo figcaption { font-size: .84rem; }
.sx-service-page .sx-location { margin-bottom: 12px; }
.sx-hero-price { color: var(--sx-accent, var(--sx-ink)); }
.sx-hero-price span { color: var(--sx-muted); }
.sx-hero-note { font-size: .88rem; }
.sx-unit-strip { background: var(--sx-surface); border-bottom: 1px solid var(--sx-line); }
.sx-unit-strip a { position: relative; gap: 8px; flex-direction: column; align-items: start; padding-right: 28px; }
.sx-unit-strip strong { font: 600 1.1rem var(--sx-font); }
.sx-unit-strip span { font-size: .92rem; }
.sx-unit-strip a::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--sx-link); border-top: 2px solid var(--sx-link); transform: rotate(45deg); }
/* Service cards are choices; their bottom row always identifies the destination. */
.sx-services { gap: 24px; }
.sx-service-item { background: var(--sx-paper); border: 1px solid var(--sx-line); border-radius: 12px; padding: 28px 30px; display: flex; flex-direction: column; }
.sx-service-item h3 { color: var(--sx-accent); font-size: 1.55rem; margin-bottom: 14px; }
.sx-service-item p { color: var(--sx-ink); font-size: 1rem; }
.sx-service-links { margin-top: auto; padding-top: 4px; gap: 8px 24px; }
.sx-service-links a { background: transparent; color: var(--sx-link); border: 0; border-radius: 0; padding: 10px 0; font-size: 1rem; text-decoration: underline; }
.sx-service-links a:hover { text-decoration: underline; }
.sx-home #valores { background: var(--sx-surface); }
.sx-price-list { border-top: 0; background: var(--sx-paper); border-radius: 12px; padding: 6px 28px; }
.sx-price-row { border-bottom-color: var(--sx-line); padding-block: 22px; }
.sx-price-row:last-child { border-bottom: 0; }
.sx-price-row > strong { color: var(--sx-link); }
.sx-price-row h3 { font-size: 1.07rem; }
.sx-price-row span, .sx-price-links a { font-size: .92rem; }
.sx-tours { gap: 28px; }
.sx-tour { background: var(--sx-paper); border-color: var(--sx-line); border-radius: 16px; }
.sx-tour-copy h3 { color: var(--sx-link); }
.sx-tour address, .sx-tour p { font-size: .95rem; }
.sx-tour .sx-text-link, .sx-tour-services a { font-size: .88rem; }
.sx-tour-services { border-block: 1px solid var(--sx-line); padding-block: 6px; }
.sx-care { background: var(--sx-surface); color: var(--sx-ink); }
.sx-care h2, .sx-care h3 { color: var(--sx-ink); }
.sx-care-list p { color: var(--sx-muted); font-size: 1rem; }
.sx-care-list li::before { color: var(--sx-link); font-weight: 600; }
.sx-professional { border-color: var(--sx-line); }
/* Price and preparation surfaces have separate purposes and visual weights. */
.sx-page-nav { background: var(--sx-paper); }
.sx-page-nav a { color: var(--sx-accent, var(--sx-link)); font-size: .92rem; }
.sx-service-values { background: var(--sx-paper); }
.sx-service-page #como-funciona { background: var(--sx-wash); }
.sx-offer-sheet, .sx-price-page .sx-price-intro .sx-offer-sheet { background: var(--sx-paper); border: 1px solid var(--sx-line); border-top: 1px solid var(--sx-line); border-radius: 12px; }
.sx-offer-sheet h2, .sx-offer-sheet h3, .sx-offer-value strong, .sx-offer-session-price strong { color: var(--sx-accent, var(--sx-ink)); }
.sx-offer-options li { padding-block: 18px; }
.sx-offer-link, .sx-price-page .sx-price-intro .sx-offer-link { background: var(--sx-surface); border-color: var(--sx-link); font-size: .94rem; }
.sx-offer-link:hover, .sx-price-page .sx-price-intro .sx-offer-link:hover { background: var(--sx-wa); color: var(--sx-paper); }
.sx-offer-frequency { font-size: 1rem; }
.sx-booking-notes { background: var(--sx-surface); border-radius: 12px; }
.sx-note { background: var(--sx-wash, var(--sx-surface)); border-left-color: var(--sx-accent, var(--sx-link)); border-radius: 0 12px 12px 0; }
.sx-note p, .sx-list li { font-size: 1rem; }
.sx-steps li { border-top-color: var(--sx-accent, var(--sx-link)); }
.sx-steps li::before { color: var(--sx-accent, var(--sx-link)); }
.sx-steps p { font-size: .96rem; }
.sx-price-page .sx-price-intro { background: var(--sx-paper); padding-top: 30px; }
.sx-price-page #incluido, .sx-price-page #localizacao { background: var(--sx-paper); }
.sx-price-page #condicoes { background: var(--sx-surface); }
.sx-price-page .sx-booking-notes { background: var(--sx-paper); border: 1px solid var(--sx-line); }
.sx-faq-section { background: var(--sx-paper); }
.sx-faqs summary { font-size: 1.02rem; }
.sx-faqs details[open] { background: var(--sx-surface); padding-inline: 16px; }
.sx-faqs details p { font-size: .98rem; }
.sx-related { background: var(--sx-surface); }
.sx-related-links a { font-size: .97rem; }
.sx-contact { background: var(--sx-surface); }
.sx-contact h2 { color: var(--sx-ink); }
.sx-contact p { font-size: 1rem; }
.sx-footer { background: var(--sx-ink); }
.sx-footer a, .sx-footer address, .sx-footer-brand p { font-size: .94rem; }
.sx-footer h2 { font-size: 1.05rem; }
.sx-footer .sx-button-wa { background: var(--sx-surface); color: var(--sx-ink); }
.sx-footer .sx-button-wa:hover { background: var(--sx-paper); color: var(--sx-ink); }
.sx-unit-hero, .sx-contact-intro { background: var(--sx-paper); padding-block: 32px 44px; }
.sx-unit-facts { background: var(--sx-surface); border-color: var(--sx-line); }
.sx-unit-services { border: 0; display: grid; gap: 18px; }
.sx-unit-service { border: 1px solid var(--sx-line); border-radius: 10px; background: var(--sx-paper); padding: 26px; }
.sx-unit-service h3 { color: var(--sx-accent); }
.sx-contact-unit { border: 1px solid var(--sx-line); border-radius: 12px; }
.sx-unit-other { background: var(--sx-surface); }
@media (min-width: 1000px) and (max-width: 1150px) {
  .sx-header-inner { gap: 12px; }
  .sx-navigation { gap: 13px; }
  .sx-brand > span { font-size: .86rem; }
}
@media (max-width: 999px) {
  .sx-brand img { width: 48px; height: 48px; padding: 4px; }
  .sx-navigation a, .sx-nav-group > summary { border-top-color: var(--sx-line); }
  .sx-nav-panel { background: var(--sx-surface); border-top: 0; }
  .sx-home .sx-hero-grid { gap: 30px; }
}
@media (max-width: 767px) {
  .sx-home-hero { padding-block: 28px 32px; }
  .sx-home .sx-hero-grid { grid-template-columns: 1fr; }
  .sx-hero-copy h1 { font-size: clamp(1.95rem, 7.3vw, 2.65rem); }
  .sx-service-hero { padding-block: 18px 32px; }
  .sx-service-page .sx-hero-copy .sx-actions { margin-top: 16px; }
  .sx-service-page .sx-hero-copy .sx-intro { line-height: 1.65; }
  .sx-service-page .sx-location { margin-bottom: 10px; font-size: .8rem; }
  .sx-home .sx-hero-photo figcaption { padding: 14px 18px; }
  .sx-hero-note { font-size: .84rem; }
  .sx-service-item { padding: 24px; }
  .sx-service-links { display: flex; }
  .sx-service-links a { font-size: .9rem; }
  .sx-price-list { padding-inline: 22px; }
  .sx-unit-strip span { font-size: .85rem; }
  .sx-unit-strip strong { font-size: 1rem; }
  .sx-unit-strip .sx-wrap { gap: 24px; }
  .sx-unit-strip a { padding-right: 14px; }
  .sx-unit-strip a::after { right: -2px; width: 7px; height: 7px; }
  .sx-price-page .sx-price-intro { padding-top: 14px; }
  .sx-price-page .sx-price-intro .sx-intro, .sx-price-page .sx-price-summary { line-height: 1.65; }
  .sx-unit-hero, .sx-contact-intro { padding-top: 18px; }
  .sx-page-nav .sx-wrap { gap: 0 20px; }
  .sx-page-nav a { font-size: .9rem; }
}
@media (max-width: 540px) {
  .sx-services { grid-template-columns: 1fr; gap: 18px; }
  .sx-price-row > strong { font-size: 1.1rem; }
  .sx-price-row { column-gap: 10px; }
}
@media (max-width: 359px) {
  .sx-brand img { width: 38px; height: 44px; }
  .sx-brand > span { font-size: .8rem; }
  .sx-brand small { font-size: .61rem; }
  .sx-nav-panel { padding: 12px; }
  .sx-nav-service { padding-left: 9px; }
  .sx-service-item { padding: 22px; }
  .sx-price-list { padding-inline: 18px; }
  .sx-price-row { grid-template-columns: 1fr; gap: 6px; }
  .sx-price-row > strong { grid-row: auto; }
}

/* Shared controls and legacy templates also follow the clinic tokens. */
.sx-site { --ink-2: var(--sx-ink); --bg: var(--sx-surface); --paper: var(--sx-paper); --line: var(--sx-line); --line-2: var(--sx-line); --brand-2: var(--sx-link); --brand-3: var(--sx-ink); --brand-4: var(--sx-ink); --brand-soft: var(--sx-surface); --wa: var(--sx-link); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.02em; }
.sx-hero-copy h1 { letter-spacing: -.025em; }
.sx-brand > span { font-size: 1.1rem; }
.sx-brand small { font-size: .82rem; }
.sx-navigation { font-size: .95rem; }
.sx-nav-panel { box-shadow: 0 10px 28px rgb(25 63 74 / 12%); }
.sx-nav-panel a, .sx-footer a { overflow-wrap: anywhere; }
.sx-text-link:hover { color: var(--sx-ink); }
.sx-button-wa:hover, .sp-btn-wa:hover, .sx-wa-float:hover { background: var(--sx-ink); color: var(--sx-paper); }
.sx-button-outline:hover { background: var(--sx-surface); }
.sx-offer-sheet, .sx-price-page .sx-price-intro .sx-offer-sheet { background: var(--sx-surface); }
.sx-service-values { background: var(--sx-paper); }
.sx-offer-link, .sx-price-page .sx-price-intro .sx-offer-link { background: var(--sx-paper); }
.sx-footer { color: var(--sx-paper); }
.sx-footer h2, .sx-footer a, .sx-footer .spaso-consent-settings { color: var(--sx-paper); }
.sx-footer-bottom { color: var(--sx-surface); border-color: var(--sx-muted); }
.sx-footer :focus-visible { outline-color: var(--sx-paper); }
.sx-breadcrumb li:not(:last-child)::after { color: var(--sx-muted); }
.sx-faqs details[open] { padding-inline: 0; }
.sx-faqs details[open] summary { color: var(--sx-ink); }
.sx-video-status { color: var(--sx-ink) !important; }
.spaso-consent { font-family: var(--sx-font); color: var(--sx-ink); border-color: var(--sx-line); box-shadow: 0 8px 28px rgb(25 63 74 / 16%); }
.spaso-consent h2 { font-family: var(--sx-font); }
.spaso-consent p { color: var(--sx-muted); }
.spaso-consent a { color: var(--sx-link); }
.spaso-consent button { font-family: var(--sx-font); border-color: var(--sx-link); }
.spaso-consent-accept { background: var(--sx-link); color: var(--sx-paper); }
.spaso-consent-accept:hover { background: var(--sx-ink); }
.spaso-consent-reject { background: var(--sx-paper); color: var(--sx-link); }
.spaso-consent-reject:hover { background: var(--sx-surface); }
.sx-search input { border-color: var(--sx-link); }
.sx-tour video, .sx-unit-space video { background: var(--sx-ink); }
@media (min-width: 1000px) and (max-width: 1150px) {
  .sx-navigation { font-size: .9rem; gap: 12px; }
  .sx-brand > span { font-size: 1rem; }
}
@media (max-width: 999px) {
  .sx-navigation { font-size: 1rem; }
  .sx-nav-service { padding-left: 0; }
}
@media (max-width: 420px) {
  .sx-brand > span { font-size: .95rem; }
  .sx-brand small { font-size: .72rem; }
}
@media (max-width: 359px) {
  .sx-brand > span { font-size: .9rem; }
  .sx-brand small { font-size: .68rem; }
}
/* Inline preferences: no overlay on navigation, cards or contact actions. */
.spaso-consent {
  position: static; left: auto; right: auto; bottom: auto; z-index: auto;
  width: 100%; max-width: none; max-height: none; margin: 0;
  padding: 14px max(20px, calc((100% - 1200px) / 2));
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 28px; align-items: center;
  border: 0; border-block: 1px solid var(--sx-line); border-radius: 0;
  box-shadow: none; background: var(--sx-surface); overflow: visible;
}
.spaso-consent h2 { font-size: 15px; margin: 0; }
.spaso-consent p { font-size: 14px; line-height: 1.5; margin: 0; max-width: 70ch; }
.spaso-consent-actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; gap: 10px; }
.spaso-consent button { min-width: 144px; min-height: 44px; font-size: 14px; padding: 10px 14px; }
@media (max-width: 767px) {
  .spaso-consent { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 20px; }
  .spaso-consent p { font-size: 14px; }
  .spaso-consent-actions { grid-column: 1; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; margin-top: 4px; gap: 10px; }
  .spaso-consent button { min-width: 0; padding-inline: 8px; }
}

.sx-footer-access { font-size: .8rem; line-height: 1.6; margin: 0 0 12px; max-width: 30ch; }
.sx-footer .sx-footer-hours { font-size: .9rem; line-height: 1.7; margin: 18px 0; max-width: 32ch; }
.sx-footer-hours a { display: inline; text-underline-offset: .2em; }
.sx-unit-hours { border-block: 1px solid var(--sx-line); }
.sx-hours { min-width: 0; }
.sx-hours table { border-collapse: collapse; width: 100%; font-size: .98rem; font-variant-numeric: tabular-nums; }
.sx-hours caption { text-align: left; font-weight: 600; margin-bottom: 18px; color: var(--sx-ink); }
.sx-hours thead th { font-weight: 400; font-size: .87rem; color: var(--sx-muted); }
.sx-hours th, .sx-hours td { padding: 12px 0; border-bottom: 1px solid var(--sx-line); text-align: left; }
.sx-hours tbody th { font-weight: 500; }
.sx-hours td, .sx-hours thead th:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.sx-hours .sx-hours-note { font-size: .87rem; line-height: 1.7; color: var(--sx-muted); margin: 18px 0 0; }
.sx-contact-unit .sx-hours { margin-top: 24px; }
.sx-clinic-photo { margin: 0; min-width: 0; }
.sx-clinic-photo picture, .sx-clinic-photo img { display: block; width: 100%; }
.sx-clinic-photo img { height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.sx-clinic-photo figcaption { font-size: .87rem; line-height: 1.6; color: var(--sx-muted); padding-top: 12px; }
.sx-clinic-collection { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.sx-unit-photo { margin-bottom: 40px; max-width: 960px; }
.sx-entry-photo img { aspect-ratio: 404/720; object-fit: contain; border-radius: 8px; }
.sx-entry-photo figcaption { font-size: .8rem; line-height: 1.6; }
.sx-entry-context { display: grid; grid-template-columns: minmax(0,1fr) 150px; gap: 24px; align-items: center; }
.sx-entry-context > div { min-width: 0; }
.sx-entry-context .sx-clinic-photo { width: 150px; }
.sx-entry-context .sx-arrival-small { margin-bottom: 0; }
.sx-location-access { min-width: 0; max-width: 440px; justify-self: center; width: 100%; }
.sx-location-access h3 { font-size: 1.2rem; margin-bottom: 22px; }
.sx-location-access .sx-entry-photo { max-width: 210px; margin-inline: auto; }
.sx-location-access > p { font-size: .9rem; margin-top: 20px; }
.sx-unit-space-refined { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: start; gap: 56px; }
.sx-unit-space-refined h3 { font-size: 1.15rem; margin-bottom: 22px; }
.sx-unit-space-refined .sx-unit-photo { max-width: 620px; margin: 0; }
.sx-unit-space-refined .sx-tour-media { width: min(100%,210px); margin: 24px auto 10px; }
.sx-unit-tour > p { font-size: .95rem; }
@media (max-width: 999px) { .sx-unit-space-refined { gap: 32px; } }
@media (max-width: 767px) { .sx-unit-space-refined { grid-template-columns: 1fr; gap: 32px; } .sx-location-access .sx-entry-photo { max-width: 180px; } }
@media (max-width: 599px) { .sx-entry-context { grid-template-columns: minmax(0,1fr) 120px; gap: 16px; } .sx-entry-context .sx-clinic-photo { width: 120px; } .sx-entry-context h3 { font-size: 1rem; } .sx-entry-context .sx-arrival-small { font-size: .8rem; } }
@media (max-width: 360px) { .sx-entry-context { grid-template-columns: 1fr; } .sx-entry-context .sx-clinic-photo { width: 140px; margin-inline: auto; } }
@media (max-width: 767px) { .sx-clinic-collection { grid-template-columns: 1fr 1fr; gap: 16px; } .sx-clinic-photo figcaption { font-size: .8rem; } .sx-unit-photo { margin-bottom: 28px; } }
@media (max-width: 360px) { .sx-clinic-collection { grid-template-columns: 1fr; gap: 24px; } }
.sx-tour-copy .sx-unit-access { color: var(--sx-ink); font-size: .88rem; line-height: 1.6; margin-block: 10px; }

/* A photographic opening on each service card, with text below the image. */
.sx-services .sx-service-item { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.sx-service-photo { margin: 0; background: var(--sx-surface); }
.sx-service-photo picture, .sx-service-photo img { display: block; width: 100%; }
.sx-service-photo img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sx-service-photo figcaption { font-size: 13px; line-height: 1.5; color: var(--sx-muted); padding: 8px 30px 0; }
.sx-service-body { padding: 24px 30px 26px; flex: 1; display: flex; flex-direction: column; }
.sx-service-body .sx-service-links { margin-top: auto; }
@media (max-width: 767px) {
  .sx-service-body { padding: 22px 24px 24px; }
  .sx-service-photo figcaption { padding-inline: 24px; }
}
@media (max-width: 359px) {
  .sx-service-body { padding-inline: 22px; }
  .sx-service-photo figcaption { padding-inline: 22px; }
}
