@property --inset {
  syntax: "<length>";
  inherits: true;
  initial-value: 16px;
}

@font-face {
  font-family: "Atkinson Fallback";
  src: local("Arial"), local("Arimo"), local("Liberation Sans");
  font-weight: 400;
  font-style: normal;
  size-adjust: 100.18%;
  ascent-override: 98.22%;
  descent-override: 31.54%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Atkinson Fallback";
  src: local("Arial"), local("Arimo"), local("Liberation Sans");
  font-weight: 700;
  font-style: normal;
  size-adjust: 105.81%;
  ascent-override: 93.00%;
  descent-override: 29.87%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Mono Fallback";
  src: local("DejaVu Sans Mono"), local("Liberation Mono");
  font-weight: 500;
  font-style: normal;
  size-adjust: 104.97%;
  ascent-override: 95.26%;
  descent-override: 23.82%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("../fonts/atkinson-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b2a36;
  --primary: #004c67;
  --muted: #3e5a66;
  --link: #006e8f;
  --cyan: #01b6ed;
  --tint: #e6f6fc;
  --paper: #ffffff;
  --mist: #f3f7f8;
  --line: #d3dfe4;
  --sans: "Atkinson Hyperlegible Next", "Atkinson Fallback", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", "Atkinson Mono Fallback", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --content: 1200px;
  --gutter: 16px;
  --stick: 56px;
  --pad: max(var(--gutter), calc((100% - var(--content)) / 2));
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --stick: 104px; }
}
@media (min-width: 1024px) {
  :root { --stick: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0;
  --inset: max(var(--gutter), calc((100vw - var(--content)) / 2));
  background: var(--paper);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { overflow-wrap: normal; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}
.site-footer :focus-visible { outline-color: var(--mist); }
::selection { background: var(--tint); color: var(--ink); }

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
  font-weight: 700;
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  --inset: max(var(--gutter), calc((100vw - var(--content)) / 2));
  padding-inline: var(--inset);
}

.concept-band {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  padding: 6px var(--inset);
}
.concept-short { display: none; }
@media (max-width: 767px) {
  .concept-full { display: none; }
  .concept-short { display: inline; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.strip { display: none; }
.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}
.logo { display: flex; flex: none; line-height: 0; }
.logo img { height: 32px; width: auto; aspect-ratio: 429 / 112; }
.bar-status { display: none; }
.menu-btn {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  background: none;
  border: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav { display: flex; gap: 14px; align-items: center; }
.nav a {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  text-underline-offset: 0.18em;
}
.header-call { display: none; }

@media (max-width: 767px) {
  html.js .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    display: none;
  }
  html.js .nav {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 4px 16px 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 160ms var(--ease);
  }
  html.js .nav.is-open { opacity: 1; visibility: visible; }
  html:not(.js) .nav {
    display: grid;
    padding: 0 16px 12px;
  }
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .logo img { height: 40px; }
  .header-call {
    display: inline-flex;
    margin-left: auto;
    min-height: 44px;
    height: 44px;
    padding: 0 16px;
  }
  .nav { margin-left: auto; }
  .header-call { margin-left: 8px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .strip { display: block; height: 40px; border-bottom: 1px solid var(--line); }
  .strip-inner {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
  }
  .strip a { color: var(--ink); }
  .strip [data-status="short"] {
    display: inline-block;
    width: 19ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    flex: none;
  }
  .strip-address {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .bar { min-height: 64px; }
}
@media (min-width: 1024px) {
  .bar { min-height: 64px; gap: 16px; }
  .bar-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
  }
  .bar-status a { color: var(--ink); }
  .nav { gap: 12px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .logo img { height: 32px; }
  .bar { gap: 8px; }
  .nav { gap: 6px; }
  .bar-status { gap: 6px; }
  .header-call { padding-inline: 12px; }
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--paper);
  box-sizing: border-box;
  flex: none;
  display: inline-block;
}
.dot[data-state="filled"] {
  background: var(--cyan);
  border-color: var(--ink);
}

/* Progressive blur: delete this rule to remove it. */
.site-header.is-scrolled::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1px);
  height: 12px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled::after { display: none; }
}

h1, h2, #conteudo { scroll-margin-top: calc(var(--stick) + 8px); }

.hero { padding: 20px 0 8px; }
h1 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4.125rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.h1-a, .h1-b { display: block; white-space: nowrap; }
@media (max-width: 389px) {
  h1 { display: block; }
  h1 .sec-num { display: block; margin: 0 0 8px; }
  .h1-a, .h1-b { display: inline; white-space: normal; }
  .h1-b::before { content: " "; }
}
.sec-num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  flex: none;
}
.lead { margin: 0 0 16px; color: var(--ink); max-width: 62ch; }
.lead-short { display: none; }
@media (max-width: 767px) {
  .lead-full { display: none; }
  .lead-short { display: inline; }
  .lead { margin-bottom: 12px; line-height: 1.4; }
  .ficha-tel .tel-sep { display: none; }
  .ficha-tel .ficha-value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .lead-full { display: none; }
  .lead-short { display: inline; }
}

.hero-actions { display: none; gap: 12px; margin-top: 8px; }
@media (min-width: 768px) {
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero { padding-top: 40px; }
}

.ficha-label {
  margin: 0 0 2px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}
.ficha-value, .status {
  margin: 0;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}
.ficha-tel a, .phones a { white-space: nowrap; }
.ficha-value a, .phones a, .addr a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
.ficha-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ficha-hoje { display: contents; }
.hero-grid { display: flex; flex-direction: column; }
.hero-grid > * { min-width: 0; }
.hero-copy { order: 1; }
.ficha-tel { order: 2; }
.ficha-hoje > .ficha-label { order: 3; }
.ruler-body { order: 4; }
.status { order: 5; }
.span-notes { order: 6; }
.ficha-morada { order: 7; }
.discs-row { order: 8; }
@media (max-width: 1023px) {
  .ruler { display: contents; }
}
.tel-kind { font-weight: 400; font-size: 18px; color: var(--muted); }
.status { font-weight: 400; font-size: 18px; line-height: 1.4; min-height: 1.4em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.status-long { display: none; }
@media (min-width: 1024px) {
  .status-short { display: none; }
  .status-long { display: inline; }
}

.ruler-body { padding-top: 22px; }
.ruler-track {
  position: relative;
  height: 28px;
}
.ruler-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--ink);
  opacity: 0.35;
}
.spans { position: absolute; inset: 0; }
.spanbar {
  position: absolute;
  top: 50%;
  height: 4px;
  margin-top: -2px;
}
.spanbar.solid { background: var(--primary); }
.spanbar.dashed {
  color: var(--primary);
  background: none;
}
.spanbar.dashed svg {
  display: block;
  width: 100%;
  height: 4px;
  overflow: visible;
}
.spanbar.faded { background: var(--primary); opacity: 0.28; }
.disc {
  display: none;
  visibility: hidden;
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid var(--ink);
  background: var(--cyan);
  transform: translate(-50%, -50%);
}
html.js .disc { display: block; }
.disc.is-placed { visibility: visible; }
.disc[data-state="ring"] {
  background: var(--paper);
  border-color: var(--primary);
}
.disc-now {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}
.disc[data-edge="start"] .disc-now { left: 0; transform: none; }
.disc[data-edge="end"] .disc-now { left: auto; right: 0; transform: none; }
.ticks { position: relative; height: 28px; margin-top: 2px; }
.ticks span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  display: none;
}
.ticks span::before {
  content: "";
  position: absolute;
  top: -8px;
  width: 1px;
  height: 6px;
  background: #d3dfe4;
  left: 50%;
  transform: translateX(-50%);
}
.ticks span[data-h="8"]::before { left: 0; transform: none; }
.ticks span[data-h="20"]::before { left: auto; right: 0; transform: none; }
@media (max-width: 389px) {
  .ticks span[data-h="8"],
  .ticks span[data-h="14"],
  .ticks span[data-h="20"] { display: block; }
}
@media (min-width: 390px) and (max-width: 1023px) {
  .ticks span[data-h="8"],
  .ticks span[data-h="12"],
  .ticks span[data-h="16"],
  .ticks span[data-h="20"] { display: block; }
}
@media (min-width: 1024px) {
  .ticks span { display: block; }
  .disc { width: 22px; height: 22px; }
}
.ticks span[data-h="9"]::before,
.ticks span[data-h="19"]::before {
  top: -12px;
  height: 10px;
  background: var(--primary);
}
.ticks span[data-h="8"] { transform: none; }
.ticks span[data-h="20"] { transform: translateX(-100%); }
.span-notes {
  margin: 4px 0 0;
  min-height: 1.6em;
  line-height: 1.6;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
html.js .span-notes { visibility: hidden; }
html.js .span-notes.is-placed { visibility: visible; }
.status-keep { white-space: nowrap; }
.postcode { white-space: nowrap; }
@media (min-width: 1280px) {
  .span-notes {
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    white-space: nowrap;
  }
}

.discs { display: flex; gap: 12px; }
.mini { flex: 1 1 0; min-width: 0; }
.mini img, .portrait img, .surgery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  max-width: none;
}
.mini picture, .portrait picture { display: block; width: 100%; height: 100%; }
.mini picture {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mist);
  border: 2px solid var(--primary);
  box-sizing: border-box;
}
.mini-name {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
}
.mini-flag { margin: 4px 0 0; }
.mini .mark {
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .mini .mark { padding-inline: 3px; letter-spacing: -0.06em; }
}
.cedula {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--link);
  text-underline-offset: 0.15em;
}
.ext {
  display: inline-block;
  transition: transform 160ms var(--ease);
}
.cedula:hover .ext, .cedula:focus-visible .ext,
.text-link:hover .ext, .text-link:focus-visible .ext {
  transform: translate(2px, -2px);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .hero-copy { grid-column: 1 / -1; grid-row: 1; order: 0; }
  .ficha-tel { grid-column: 1; grid-row: 2; }
  .ficha-hoje > .ficha-label { grid-column: 1; grid-row: 3; }
  .ruler-body { grid-column: 1; grid-row: 4; }
  .status { grid-column: 1; grid-row: 5; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .span-notes { grid-column: 1; grid-row: 6; }
  .ficha-morada { grid-column: 1; grid-row: 7; }
  .discs-row { grid-column: 2; grid-row: 2 / span 6; align-self: start; border-bottom: 0; }
  .mini picture { width: 72px; height: 72px; }
}
@media (min-width: 1024px) {
  .hero { padding-bottom: 28px; }
  .hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .hero-copy { grid-column: 1 / 7; grid-row: 1 / 5; align-self: start; }
  .ficha-tel { grid-column: 7 / 13; grid-row: 1; }
  .ficha-hoje { grid-column: 7 / 13; grid-row: 2; }
  .ficha-morada { grid-column: 7 / 13; grid-row: 3; }
  .discs-row { grid-column: 7 / 13; grid-row: 4; }
  .ruler {
    display: block;
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 36px;
    margin-inline: calc(var(--inset) * -1);
    padding: 28px var(--inset) 12px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .ruler-body { padding-top: 0; order: 0; }
  .span-notes { order: 0; }
  .ficha-hoje {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 8px;
    align-items: baseline;
  }
  .status { border-bottom: 0; padding-bottom: 0; }
  .ficha-tel, .ficha-morada, .discs-row {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 8px;
    align-items: baseline;
  }
  .ficha-hoje .ficha-label,
  .ficha-tel .ficha-label,
  .ficha-morada .ficha-label,
  .discs-row .ficha-label { margin: 0; }
  .status { min-height: 2.8em; }
}
@media (min-width: 1024px) {
  .logo,
  .nav,
  .header-call { flex: none; }
  .bar-status { flex: 0 1 auto; min-width: 0; }
  .bar-status .dot,
  .bar-status a { flex: none; }
  .bar-status a { order: 1; }
  .bar-status [data-status="short"] {
    order: 2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (min-width: 1280px) {
  .mini picture { width: 96px; height: 96px; }
  .hero { padding-top: 72px; }
  .hero-grid { align-items: start; }
  .hero-copy { grid-row: 1 / 4; align-self: start; }
  .ficha-hoje { display: contents; }
  .ficha-hoje > .ficha-label { display: none; }
  .ficha-tel { grid-row: 1; }
  .ficha-morada { grid-row: 2; }
  .discs-row { grid-row: 3; }
  .status {
    grid-column: 1 / 13;
    grid-row: 4;
    align-self: start;
    margin: 28px 0 0;
    padding: 0;
    border: 0;
    min-height: 1.2em;
    white-space: nowrap;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--ink);
  }
  .ruler { grid-row: 5; margin-top: 36px; }
}

.section { padding: 48px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .section { padding: 72px 0; } }
h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.sub { margin: 0 0 28px; max-width: 62ch; }

.team { border-top: 1px solid var(--line); }
.person { padding: 28px 0; border-bottom: 1px solid var(--line); }
.portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mist);
  border: 3px solid var(--cyan);
  box-sizing: border-box;
}
.person h3 {
  margin: 16px 0 4px;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}
.role { margin: 0 0 12px; }
.areas { list-style: none; margin: 0 0 16px; padding: 0; }
.areas li { display: flex; align-items: center; gap: 8px; }
.areas li::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--primary);
  flex: none;
}
.portrait-note {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--muted);
}
@media (min-width: 768px) {
  .team[data-count="3"] { display: grid; grid-template-columns: repeat(3, 1fr); }
  .team[data-count="2"] { display: grid; grid-template-columns: 1fr 1fr; }
  .person { border-bottom: 0; padding: 32px 24px 8px; }
  .person + .person { border-left: 1px solid var(--line); }
}
@media (min-width: 768px) and (max-width: 859px) {
  .team[data-count="3"] { grid-template-columns: 1fr 1fr; }
  .team[data-count="3"] .person:last-child {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.mark {
  display: inline-block;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--primary);
  padding: 2px 6px;
  vertical-align: middle;
  border-radius: 0;
}
.mark-on-ink { background: var(--mist); color: var(--ink); }

.specs { border-top: 1px solid var(--line); }
.spec { border-bottom: 1px solid var(--line); }
.spec-h { margin: 0; font-size: inherit; font-weight: inherit; }
.spec-btn {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) auto;
  grid-template-areas: "sq plain plus" "sq clinical plus";
  gap: 2px 12px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 0;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms var(--ease);
}
.spec-btn:hover { background: var(--mist); }
.sq {
  grid-area: sq;
  width: 6px;
  height: 6px;
  background: var(--primary);
  align-self: center;
}
.spec-plain {
  grid-area: plain;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}
.spec-clinical { grid-area: clinical; color: var(--muted); }
.plus {
  grid-area: plus;
  position: relative;
  width: 18px;
  height: 18px;
  color: var(--primary);
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.plus::after {
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  transform: scaleY(1);
  transition: transform 200ms cubic-bezier(.2, 0, 0, 1);
}
html:not(.js) .plus::after,
.spec:has(.spec-panel.is-open) .plus::after { transform: scaleY(0); }
.spec-panel { display: grid; grid-template-rows: 1fr; }
html.js .spec-panel {
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms var(--ease);
}
html.js .spec-panel.is-open { grid-template-rows: 1fr; }
.spec-inner { overflow: hidden; min-height: 0; }
.spec-inner p { margin: 0 0 12px; max-width: 62ch; }
.spec-panel img, .spec-inner img { aspect-ratio: 4 / 5; height: auto; }
.who-label { font-weight: 700; color: var(--ink); }
@media (min-width: 768px) {
  .spec-btn {
    grid-template-columns: 6px minmax(0, 1fr) auto auto;
    grid-template-areas: "sq plain clinical plus";
    gap: 12px;
  }
  .spec-clinical { justify-self: end; }
}

.clinic-copy blockquote { margin: 8px 0 12px; }
blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  max-width: 22ch;
}
blockquote footer {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 15px;
  font-style: normal;
  color: var(--muted);
}
.footnote { margin: 0 0 20px; }
.footnote a, .text-link, .footer-links a, .qa a {
  color: var(--link);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--ink); }
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.surgery {
  width: min(360px, 100%);
  max-width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mist);
  margin: 0;
  position: relative;
  z-index: 1;
}
.surgery picture { display: block; width: 100%; height: 100%; }
.stills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
  min-width: 0;
}
.still {
  margin: 0;
  min-width: 0;
  background: transparent;
}
.still picture {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d7e4ea;
}
.still img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.still figcaption {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding-top: 6px;
}
@media (min-width: 768px) {
  .stills { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .clinic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
  }
  .clinic-copy {
    grid-column: 1 / 6;
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 120px;
  }
  .clinic-photos {
    grid-column: 7 / 13;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .clinic-copy .facts { margin-top: 48px; }
  .surgery {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 360px;
    margin: 0 0 -88px;
    justify-self: start;
    z-index: 2;
  }
  .stills {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
}

.qa { padding: 16px 0; border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}
.qa p { margin: 0; max-width: 62ch; }

.contact-card {
  background: var(--tint);
  padding: 28px 24px 32px;
}
.contact-card h2 { margin-bottom: 16px; }
.addr { margin: 0 0 8px; font-size: 1.375rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.phones {
  margin: 16px 0 4px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.hours caption {
  text-align: left;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.hours th, .hours td {
  text-align: left;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.hours th { padding-right: 16px; color: var(--ink); }
.transport { margin: 16px 0 0; }
.map-block { margin-top: 24px; }
.map-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--mist);
  line-height: 0;
}
.map-link img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid var(--ink);
  box-sizing: border-box;
}
.map-note {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}
.hours-note {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}
.star { font-family: var(--mono); font-weight: 500; }
@media (min-width: 1024px) {
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    align-items: stretch;
  }
  .contact-card { grid-column: 1 / 8; }
  .map-block {
    grid-column: 8 / 13;
    margin-top: 0;
    display: flex;
    flex-direction: column;
  }
  .map-link { flex: 1; aspect-ratio: auto; min-height: 280px; }
}

.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 48px 0 32px;
}
.footer-logo { height: 32px; width: auto; aspect-ratio: 429 / 112; }
.footer-facts, .footer-links {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}
.footer-links a { color: var(--mist); }
.site-footer a:hover { color: var(--paper); }
.credits {
  margin: 20px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.5;
  color: var(--mist);
}
.concept-foot {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--mist);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--mist);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: var(--paper); }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-secondary {
  background: var(--paper);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover { background: var(--mist); color: var(--primary); }
@media (max-width: 767px) {
  a.header-call { display: none; }
}

.dock-short { display: none; }
@media (max-width: 359px) {
  .dock-long { display: none; }
  .dock-short { display: inline; }
}
.logo,
.cedula,
.strip a,
.bar-status a,
.ficha-value a,
.phones a,
.addr a,
.text-link {
  padding-block: 10px;
  margin-block: -10px;
}
.nav a,
.footer-links a {
  padding-block: 13px;
  margin-block: -13px;
}
.footnote a,
.qa a {
  padding-block: 10px;
  margin-block: -10px;
}
@media (max-width: 767px) {
  .ficha-tel .ficha-value a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 48px;
    padding-block: 0;
    margin-block: 0;
  }
}
.dock { display: none; }
@media (max-width: 767px) {
  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  }
  .dock .btn { min-height: 56px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 767px) and (orientation: landscape) {
  .dock .btn { min-height: 48px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}
