:root {
  --red: #9d1c22;
  --red-dark: #711419;
  --ink: #1c1916;
  --muted: #5f5952;
  --blue: #1a3f73;
  --line: #e4ddd2;
  --paper: #f7f5f1;
  --card: #fffcf8;
  --night: #161513;
  --green: var(--red);
  --green-dark: var(--night);
  --green-soft: #f3ece6;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --max: 1180px;
  --shadow: 0 24px 50px rgba(28, 25, 22, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 100% -10%, rgba(157, 28, 34, 0.05), transparent 55%),
    var(--paper);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button, input, .btn, .menu, .nav, .kicker, .eyebrow, .footer, .fact-row, .cat, .tag {
  font-family: var(--sans);
}
h1, h2, h3 { font-family: var(--sans); font-weight: 560; letter-spacing: -0.035em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 30;
}
.skip:focus { top: 12px; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 40;
  pointer-events: none;
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.kicker, .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.eyebrow { color: var(--red); }
.kicker span {
  color: var(--red);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.kicker-mark {
  width: 18px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 0.98; margin: 0 0 18px; font-weight: 560; }
h2 { font-size: clamp(1.85rem, 3vw, 2.75rem); line-height: 1.08; margin: 0 0 12px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; letter-spacing: -0.02em; }

.topbar {
  background: var(--night);
  color: #efeae3;
  font-size: 0.86rem;
  font-family: var(--sans);
}
.topbar-inner, .nav-inner, .footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.topbar a:hover { border-bottom-color: white; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 241, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 241, 0.96);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong { display: block; font-size: 1rem; line-height: 1.15; font-weight: 620; letter-spacing: -0.02em; }
.brand span { display: block; color: var(--muted); font-size: 0.78rem; }

.menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 2px; }
.menu a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 11px;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.menu a:not(.nav-call)::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-call {
  margin-left: 8px;
  background: var(--red) !important;
  color: white !important;
  padding: 10px 14px !important;
  font-weight: 600 !important;
}
.nav-call::after { display: none !important; }
.nav-call:hover { background: var(--red-dark) !important; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  padding: 9px 12px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
}
.menu-sheet { display: none; }

.hero { padding: 28px 0 18px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: end;
}
.lede {
  font-size: 1.28rem;
  line-height: 1.45;
  color: #3c3832;
  margin: 0 0 24px;
  max-width: 38rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--red); color: white; }
.btn-green:hover { background: var(--red-dark); }
.btn-line { background: transparent; color: var(--ink); border-color: #cfc6ba; }
.btn-line:hover { background: white; border-color: var(--ink); }

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.fact-row li { padding: 14px 16px 0 0; }
.fact-row li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.fact-row strong { display: block; font-size: 1.55rem; letter-spacing: -0.04em; font-weight: 560; }
.fact-row span { color: var(--muted); font-size: 0.88rem; }

.hero-photo { margin: 0; }
.hero-frame {
  position: relative;
  overflow: hidden;
  background: #ddd6cc;
  aspect-ratio: 4 / 5;
  max-height: 640px;
}
.hero-frame img {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 18%;
}
.hero-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.86rem;
}

.section { padding: 88px 0; }
.section-tight { padding-top: 36px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p, .prose p, .faq-note { color: var(--muted); margin: 0; }
.section-head-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.section-head-row > div { max-width: 640px; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about-photos { position: relative; padding-bottom: 54px; }
.about-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.about-side {
  position: absolute;
  width: min(46%, 240px);
  height: 180px;
  object-fit: cover;
  right: -18px;
  bottom: 0;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow);
}
.prose p + p { margin-top: 14px; }
.ticks { padding: 0; margin: 18px 0 0; list-style: none; }
.ticks li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-top: 1px solid var(--line);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.service-list li {
  display: grid;
  grid-template-columns: 52px 210px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.service-list .idx {
  font-family: var(--sans);
  color: var(--red);
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
}
.service-list h3 { font-size: 1.15rem; margin: 0; }
.service-list p { margin: 0; color: var(--muted); }

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 28px 0 0;
  margin: 8px 0 0;
  list-style: none;
}
.steps li { padding-top: 8px; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--sans);
  color: var(--red);
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.steps h3 { font-size: 1.05rem; }

.doctor {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 36px;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding-top: 28px;
}
.doctor-photo { overflow: hidden; background: #ddd6cc; }
.doctor-photo img { width: 100%; height: 460px; object-fit: cover; object-position: top; }
.doctor-copy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 12px 0; }
.tag {
  display: inline-block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.doctor-copy p { color: #3f3a34; }

.post-grid, .cards, .faq-grid, .visit-grid { display: grid; gap: 16px; }
.post-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.post-card img { height: 190px; width: 100%; object-fit: cover; background: #ddd6cc; }
.post-card div { padding: 12px 0 4px; }
.post-card .cat { color: var(--red); font-size: 0.75rem; font-weight: 650; }
.post-card h3 { font-size: 1.18rem; margin: 4px 0 6px; }
.post-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px 12px;
}
.gallery figure { margin: 0; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 230px; object-fit: cover; background: #ddd6cc; }
.gallery figure:first-child img { height: 100%; min-height: 480px; }
.gallery figcaption {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 6px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.faq-note { margin-top: 8px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 0;
  font-size: 1.08rem;
  font-weight: 560;
  cursor: pointer;
  color: inherit;
}
.faq-item i { font-style: normal; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq-panel { overflow: hidden; }
.faq-panel p { margin: 0 0 16px; color: var(--muted); max-width: 46rem; }

.visit-grid { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; gap: 18px; }
.panel {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.map { min-height: 420px; border: 0; width: 100%; height: 100%; filter: grayscale(0.35) contrast(1.05); }
.visit-list { list-style: none; padding: 0; margin: 0; }
.visit-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.visit-list b { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; }
.visit-list span { color: #3f3a34; }
.visit-list a { font-weight: 600; margin-right: 12px; }

.band {
  margin-top: 28px;
  background: var(--night);
  color: #f4efe8;
  padding: 28px 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-left: 4px solid var(--red);
}
.band h2 { font-size: 1.7rem; }
.band p { margin: 6px 0 0; color: #d9d1c7; }
.band .btn-green { background: white; color: var(--night); }
.band .btn-green:hover { background: #f3ece6; }

.footer {
  background: var(--night);
  color: #ebe4db;
  padding: 56px 0 22px;
  margin-top: 10px;
  font-family: var(--sans);
}
.footer a { color: #ebe4db; text-decoration: none; }
.footer a:hover { color: white; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 0.7fr; gap: 28px; }
.footer h2, .footer h3 { font-size: 0.95rem; letter-spacing: 0; margin-bottom: 10px; }
.footer p { color: #c9c1b6; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 7px 0; color: #c9c1b6; }
.fine {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 14px;
  color: #b7aea3;
  font-size: 0.86rem;
  font-family: var(--serif);
}

.whatsapp-float,
.footer a.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  background: #1fa855;
  color: white;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(20, 90, 45, 0.28);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; flex: none; }
.whatsapp-float:hover,
.footer a.whatsapp-float:hover { background: #178a46; color: white; text-decoration: none; }
.whatsapp-float span { line-height: 1; }

.page-hero { padding: 36px 0 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.filters button, .search {
  border: 1px solid var(--line);
  background: white;
  border-radius: 0;
  padding: 8px 12px;
  font-family: var(--sans);
}
.filters button[aria-pressed="true"] { background: var(--night); color: white; border-color: var(--night); }
.search { min-width: min(100%, 320px); padding: 10px 12px; }
.article { width: min(760px, calc(100% - 40px)); margin: 10px auto 64px; }
.article .hero-img { width: 100%; height: 420px; object-fit: cover; border-radius: 0; }
.article h2 { font-size: 1.65rem; margin-top: 32px; }
.article ul, .article ol { padding-left: 20px; }
.note, .disclaimer {
  background: #f4efe6;
  border-left: 3px solid var(--red);
  border-radius: 0;
  padding: 12px 14px;
  color: #4d463c;
}
.alert {
  background: #fbf1ef;
  border-left: 3px solid var(--red);
  border-radius: 0;
  padding: 12px 16px 12px 28px;
}
.crumbs { font-size: 0.92rem; color: var(--muted); font-family: var(--sans); }
.crumbs a { color: var(--muted); }
.related { display: grid; gap: 10px; }
.related a { text-decoration: none; font-weight: 650; font-family: var(--sans); }

.card, .service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .menu-desktop { display: none; }
  .menu-sheet {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fffcf8;
    border-bottom: 1px solid var(--line);
    padding: 8px 12px 16px;
    box-shadow: var(--shadow);
  }
  .menu-sheet .nav-call { margin: 8px 11px 0; text-align: center; }
  .hero-grid, .split, .steps, .doctor, .visit-grid, .faq-layout, .footer-grid, .section-head-row {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-row: auto; }
  .gallery figure:first-child img, .gallery img, .about-main, .doctor-photo img, .article .hero-img { height: 280px; min-height: 0; }
  .about-side { position: static; width: 70%; height: 160px; margin-top: -40px; }
  .service-list li, .visit-list li { grid-template-columns: 1fr; gap: 4px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
  .hero-frame { aspect-ratio: 5 / 4; max-height: none; }
  .fact-row { grid-template-columns: 1fr; }
  .fact-row li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 8px; }
}
@media (max-width: 640px) {
  .wrap, .topbar-inner, .nav-inner, .footer-grid, .article { width: min(var(--max), calc(100% - 28px)); }
  .post-grid, .gallery { grid-template-columns: 1fr; }
  .topbar-inner { font-size: 0.8rem; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .whatsapp-float { width: 56px; padding: 0; justify-content: center; }
  h1 { font-size: 2.35rem; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .menu a::after, .scroll-progress { transition: none; }
  .scroll-progress { display: none; }
}
