/* ============================================================
   Dr. Yuri Arévalo — vanilla static site
   Shared stylesheet for all pages
   ============================================================ */

:root {
  --green: #09b77a;
  --green-bright: #06d6a0;
  --green-wa: #00c26f;
  --teal: #0b5871;
  --teal-h1: #0a4d68;
  --teal-deep: #033746;
  --ink: #163947;
  --ink-muted: #264652;
  --muted: #4f6772;
  --border: #d9e2e6;
  --soft: #f9fbfb;
  --pale: #f4f7f8;
  --card-shadow: 0 10px 24px rgba(3, 55, 70, .1);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Open Sans", "Inter", sans-serif;
  --maxw: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; }
ul { list-style: none; padding: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 72px; }
@media (max-width: 768px) { .section { padding-block: 48px; } }
@media (min-width: 640px) { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 40px; } }

.section-title { font-size: 36.8px; font-weight: 800; color: var(--ink); text-align: center; margin-bottom: 16px; }
.section-intro { text-align: center; color: var(--ink-muted); max-width: 760px; margin: 0 auto 34px; font-size: 16px; }
@media (max-width: 640px) { .section-title { font-size: 28px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 700; line-height: 1;
  border-radius: 12px; padding: 13.6px 22.4px; border: 1px solid transparent;
  cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s, border-color .2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #08a06b; }
.btn-outline { background: #fff; color: var(--teal); border: 2px solid var(--teal); box-shadow: 0 8px 20px rgba(3, 55, 70, .08); }
.btn-outline:hover { background: var(--soft); }
.btn-secondary { background: var(--teal); color: #fff; border-radius: 8px; padding: 13.6px 21.6px; }
.btn-secondary:hover { background: #0a4d63; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* per-service accent buttons (servicios page) */
.btn-accent-1 { background: #0743bb; color: #fff; }
.btn-accent-2 { background: #6f3d21; color: #fff; }
.btn-accent-3 { background: #5f6851; color: #fff; }
.btn-accent-4 { background: #6ea9c0; color: #fff; }
.btn-accent-1:hover, .btn-accent-2:hover, .btn-accent-3:hover, .btn-accent-4:hover { filter: brightness(1.08); }

/* ---------- Icon pills ---------- */
.icon-pill, .service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 28px; border-radius: 7px; color: #fff; font-size: 16px; flex: none;
}
.icon-pill { background: var(--teal); }
.service-icon { background: var(--green-bright); border-radius: 8px; }
.icon-pill svg, .service-icon svg { stroke: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand img { height: 54px; width: auto; }
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links > a, .nav-item-with-menu > a { font-size: 16px; color: #4a5568; transition: color .2s; }
.nav-links > a:hover, .nav-links > a.active,
.nav-item-with-menu > a:hover, .nav-item-with-menu > a.active { color: var(--teal); }

/* Desktop dropdown menus */
.nav-item-with-menu { position: relative; }
.nav-item-with-menu > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item-with-menu > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); transition: transform .2s; opacity: .7; }
.nav-item-with-menu:hover > a::after { transform: rotate(225deg) translate(-2px, -2px); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; padding-top: 14px;
  display: none; z-index: 60;
}
.nav-item-with-menu:hover .nav-dropdown { display: block; }
.nav-dropdown-inner,
.nav-dropdown:not(.nav-dropdown-mega) {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 16px 34px rgba(3, 55, 70, .14); padding: 10px; min-width: 270px;
}
.nav-dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav-dropdown a:hover { background: var(--soft); color: var(--teal); }
/* Mega menu (Padecimientos) */
.nav-dropdown-mega { padding-top: 14px; }
.nav-item-with-menu:hover .nav-dropdown-mega { display: block; }
.nav-dropdown-mega .mega-inner {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 16px 34px rgba(3, 55, 70, .14); padding: 18px;
  display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 4px 12px;
}
.nav-dropdown-heading { font-weight: 800; color: var(--teal-h1); font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; padding: 8px 12px 2px; }
.nav-dropdown-heading:hover { background: transparent; color: var(--green); }
.nav-dropdown-mega a:not(.nav-dropdown-heading) { font-size: 14px; padding: 7px 12px; }

/* anchor scroll offset under sticky header */
:target { scroll-margin-top: 120px; }
[id] { scroll-margin-top: 120px; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--teal); border-radius: 2px; transition: .25s; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 0 20px; border-top: 1px solid var(--border); }
.mobile-menu.open {
  display: flex;
  max-height: calc(100vh - 84px);
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu > a { padding: 12px 4px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--border); }
.mobile-menu > a:last-child { border: 0; margin-top: 8px; }
/* Mobile collapsible groups */
.m-group { border-bottom: 1px solid var(--border); }
.m-row { display: flex; align-items: center; justify-content: space-between; }
.m-row > a { flex: 1; padding: 12px 4px; font-size: 17px; color: var(--ink); }
.m-toggle { background: none; border: 0; padding: 12px; cursor: pointer; color: var(--teal); font-size: 12px; line-height: 1; }
.m-toggle::before { content: ""; display: inline-block; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.m-group.open .m-toggle::before { transform: rotate(225deg); }
.m-panel { display: none; padding: 2px 4px 12px; }
.m-group.open .m-panel { display: block; }
.m-panel .mobile-subheading { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--teal-h1); padding: 10px 8px 2px; }
.m-panel .mobile-sub { display: block; padding: 8px 8px 8px 16px; font-size: 15px; color: var(--ink-muted); }
.m-panel .mobile-sub:hover { color: var(--teal); }

@media (min-width: 1024px) {
  .header-inner { min-height: 96px; }
  .nav-links { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal); color: #fff; padding: 36px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-label { display: block; font-size: 16px; font-weight: 800; color: rgba(255, 255, 255, .65); margin-bottom: 8px; }
.footer-stack { display: flex; flex-direction: column; gap: 16px; }
.footer-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: rgba(255, 255, 255, .88); transition: color .2s; }
.footer-link:hover { color: #fff; }
.footer-link svg { width: 20px; height: 20px; stroke: currentColor; }
.footer-emails { display: flex; flex-direction: column; gap: 6px; }
.footer-emails a { color: rgba(255, 255, 255, .88); }
.footer-emails a:hover { color: #fff; }
.footer-legal { margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.footer-legal nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-legal nav a:hover { color: #fff; text-decoration: underline; }
.footer-legal p { margin-top: 6px; }

/* ---------- Cookie banner ---------- */
.cookie-consent {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 40;
  width: min(960px, calc(100% - 32px));
  background: #fff; border-radius: 22px; padding: 16px 18px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-consent.hidden { display: none; }
.cookie-text { flex: 1 1 320px; font-size: 15px; color: var(--ink); }
.cookie-text a { color: var(--green); font-size: 13.5px; margin-right: 12px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 999px; background: var(--green-wa);
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
.wa-fab svg { width: 28px; height: 28px; stroke: #fff; }

@keyframes whatsappPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(9, 183, 122, .28); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(9, 183, 122, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(9, 183, 122, 0); }
}
.whatsapp-pulse { animation: whatsappPulse 2.2s ease-out infinite; }

/* ---------- Home hero ---------- */
.hero {
  overflow: hidden; padding: 48px 0 44px;
  background: radial-gradient(circle at 0% 0%, rgba(0, 155, 120, .08), transparent 30%), linear-gradient(#fff, #f7fbfb);
}
.hero-grid { display: grid; gap: 56px; align-items: start; }
.hero h1 { font-size: 48px; font-weight: 700; line-height: 1.1; color: var(--teal-h1); margin-bottom: 18px; max-width: 620px; }
.hero-sub { font-size: 24px; font-weight: 700; line-height: 32px; color: var(--green); margin-bottom: 18px; }
.hero-lead { font-size: 17.28px; line-height: 28.5px; color: var(--ink-muted); margin-bottom: 24px; max-width: 620px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-metrics { display: grid; grid-template-columns: 1fr; gap: 12px 18px; max-width: 620px; margin-top: 28px; }
.hero-metric { display: flex; align-items: center; gap: 10px; font-size: 15.68px; color: var(--ink); }
.hero-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 999px; background: var(--green); flex: none; }
.hero-check svg { width: 12px; height: 12px; stroke: #fff; }
.hero-media { position: relative; margin-inline: auto; width: 100%; max-width: 520px; }
.hero-backdrop { display: none; }
.hero-photo { position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 26px 53px -12px rgba(0, 0, 0, .25); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (min-width: 640px) { .hero-metrics { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .hero h1 { font-size: 56px; line-height: 64px; }
  .hero-grid { grid-template-columns: minmax(0, 620px) 1fr; }
  .hero-media { max-width: none; }
  .hero-backdrop { display: block; position: absolute; border-radius: 73px; background: var(--teal-h1); }
  .hero-backdrop-1 { top: -24px; left: 24px; width: 112%; height: calc(100% + 48px); }
  .hero-backdrop-2 { top: -40px; left: 64px; width: 110%; height: calc(100% + 80px); }
  .hero-photo { height: 820px; }
}

/* verification card (home + about) */
.verify-card { margin-top: 32px; max-width: 620px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--card-shadow); }
.verify-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); }
.verify-card > p { margin-top: 4px; font-size: 14px; color: var(--ink-muted); }
.cedula-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
@media (min-width: 480px) { .cedula-grid { grid-template-columns: 1fr 1fr; } }
.cedula { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.cedula .label, .verify-row .label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.cedula .num { margin-top: 4px; font-size: 22px; font-weight: 700; color: var(--teal); }
.cedula .links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.cedula .links a, .copy-btn { font-size: 13px; font-weight: 600; background: none; border: 0; cursor: pointer; padding: 0; }
.copy-btn { color: var(--green); }
.cedula .links a { color: var(--teal); }
.verify-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.verify-row .val { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--ink); }
.verify-note { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.verify-link { margin-top: 12px; display: inline-block; font-size: 15px; font-weight: 600; color: var(--green); }

/* ---------- Generic card ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--card-shadow); }
.card h3 { font-size: 18.72px; font-weight: 800; color: var(--ink); margin: 12px 0; }
.card p { color: var(--ink-muted); font-size: 16px; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 22px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Mission / values ---------- */
.mission-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
@media (min-width: 768px) { .mission-grid { grid-template-columns: 1fr 1fr; } }
.mission-card { border-radius: 16px; padding: 34px; color: #fff; }
.mission-card.dark { background: var(--teal); }
.mission-card.green { background: var(--green); }
.mission-card .icon-pill { background: rgba(255, 255, 255, .16); margin-bottom: 14px; }
.mission-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.mission-card p { color: rgba(255, 255, 255, .92); }

/* ---------- Chips (services) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.chip { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8.8px 16px; font-size: 16px; font-weight: 700; color: var(--ink); }

/* ---------- Page hero band (internal pages) ---------- */
.page-hero {
  min-height: 230px; display: flex; align-items: center; color: #fff;
  background: linear-gradient(90deg, rgba(3, 55, 70, .9), rgba(3, 55, 70, .55)), #0b5871 center/cover no-repeat;
}
.page-hero.with-photo { background: linear-gradient(90deg, rgba(3, 55, 70, .9), rgba(3, 55, 70, .45)), url("assets/images/doctor/knee-consultation.webp") center/cover no-repeat; }
.page-hero h1 { font-size: 44px; font-weight: 700; margin-bottom: 8px; }
.page-hero p { font-size: 18px; color: rgba(255, 255, 255, .9); max-width: 640px; }
@media (max-width: 640px) { .page-hero h1 { font-size: 32px; } }

/* ---------- Services detail rows ---------- */
.service-row { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.service-row:last-child { margin-bottom: 0; }
.service-row img { border-radius: 16px; box-shadow: 0 26px 53px -12px rgba(0, 0, 0, .22); width: 100%; object-fit: cover; }
.service-row h2 { font-size: 30px; font-weight: 800; color: var(--teal-h1); margin-bottom: 12px; }
.service-row > div > p { color: var(--ink-muted); margin-bottom: 16px; }
.includes-box { background: var(--soft); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.includes-box h4 { font-size: 16px; font-weight: 800; color: var(--teal); margin-bottom: 12px; }
.includes-box ul { display: grid; gap: 8px; }
.includes-box li { position: relative; padding-left: 18px; color: var(--ink-muted); font-size: 15px; }
.includes-box li::before { content: "•"; position: absolute; left: 4px; color: var(--green); }
@media (min-width: 768px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 56px; }
  .service-row.reverse .media { order: 2; }
}

/* ---------- Promotions page ---------- */
.promo-badge { display: inline-block; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.promo-card { overflow: hidden; }
.promo-card .media { aspect-ratio: 3/2; border-radius: 14px; overflow: hidden; background: #f5f8fc; margin-bottom: 18px; }
.promo-card .media.media-poster { aspect-ratio: 4/5; }
.promo-card .media img { width: 100%; height: 100%; object-fit: cover; }
.promo-card h3 { font-size: 22px; }
.promo-card .opts-title { font-weight: 800; color: var(--teal); margin: 16px 0 8px; }
.promo-card ul { display: grid; gap: 6px; margin-bottom: 18px; }
.promo-card li { position: relative; padding-left: 18px; color: var(--ink-muted); }
.promo-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.promo-card .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.promo-vigencia { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--teal); background: #eef7f6; border-radius: 10px; padding: 9px 12px; margin: 0 0 16px; }
.promo-vigencia::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 12.05C20 16.45 16.42 20 12 20c-1.39 0-2.7-.36-3.85-.98L4 20l1.05-3.99A7.9 7.9 0 0 1 4 12.12C4 7.7 7.58 4.12 12 4.12s8 3.51 8 7.93Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 12.05C20 16.45 16.42 20 12 20c-1.39 0-2.7-.36-3.85-.98L4 20l1.05-3.99A7.9 7.9 0 0 1 4 12.12C4 7.7 7.58 4.12 12 4.12s8 3.51 8 7.93Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }
.promo-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }
.svc-list { display: grid; gap: 6px; margin: 14px 0 18px; }
.svc-list li { position: relative; padding-left: 18px; color: var(--ink-muted); font-size: 15px; }
.svc-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.promo-card .promo-prices { margin-bottom: 8px; }
.promo-card .promo-option { margin-bottom: 10px; }
.promo-card .promo-option strong { font-size: 15px; }
.promo-card .promo-option .price-new, .promo-card .promo-option .price { font-size: 19px; }

/* ---------- Padecimientos ---------- */
.condition-category { margin-bottom: 48px; }
.category-title { font-size: 28px; font-weight: 800; color: var(--teal-h1); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.condition-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .condition-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .condition-grid { grid-template-columns: repeat(3, 1fr); } }
.condition-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.condition-card .media { aspect-ratio: 16/10; overflow: hidden; background: #eef3f5; }
.condition-card .media img { width: 100%; height: 100%; object-fit: cover; }
.condition-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.condition-card h3 { font-size: 18px; margin: 0 0 8px; }
.condition-link { color: inherit; transition: color .2s; }
.condition-link:hover { color: var(--teal); }
.condition-card .headline { color: var(--ink-muted); font-size: 14.5px; margin-bottom: 14px; }
.condition-card .when-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--teal); margin-bottom: 8px; }
.condition-card ul { display: grid; gap: 6px; margin-bottom: 16px; }
.condition-card li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-muted); }
.condition-card li::before { content: "•"; position: absolute; left: 2px; color: var(--green); }
.condition-card .card-cta { margin-top: auto; }
.condition-card .card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.condition-card .card-actions .btn { flex: 1 1 auto; }

/* ---------- Padecimientos: catálogo (layout original) ---------- */
.cat-section { margin-bottom: 52px; }
.cat-banner {
  min-height: 320px; border-radius: 18px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center; margin-bottom: 28px;
}
.cat-banner h2 { font-size: 52px; font-weight: 800; color: #fff; margin: 0; padding: 20px; }
.cond-list { display: grid; grid-template-columns: 1fr; gap: 28px; }
.cond-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); padding: 28px; }
.cond-card > h3 { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.cond-card > h3 a { color: var(--teal-h1); }
.cond-card > h3 a:hover { color: var(--teal); }
.cond-headline { color: var(--ink-muted); font-size: 16.5px; margin-bottom: 18px; }
.cond-panel { background: var(--pale); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 860px) { .cond-panel { grid-template-columns: 1.55fr 1fr; gap: 40px; } }
.cond-blocks { display: grid; gap: 18px; align-content: start; }
.cond-block h4 { font-size: 16px; font-weight: 800; color: var(--teal); margin: 0 0 8px; }
.cond-block p { color: var(--ink-muted); margin: 0; }
.cond-block ul { display: grid; gap: 7px; }
.cond-block li { position: relative; padding-left: 18px; color: var(--ink-muted); font-size: 15px; }
.cond-block li::before { content: "•"; position: absolute; left: 4px; color: var(--green); }
.cond-media { border-radius: 12px; overflow: hidden; min-height: 240px; background: #eef3f5; }
.cond-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cond-cta { margin-top: 22px; }
@media (max-width: 640px) { .cat-banner { min-height: 200px; } .cat-banner h2 { font-size: 34px; } .cond-card { padding: 20px; } }

/* Detalle de padecimiento (misma tarjeta que el original) */
.detail-cat { font-size: 15px; font-weight: 800; color: var(--teal); margin: 8px 0 16px; }
.cond-card > h2 { font-size: 24px; font-weight: 800; color: var(--teal-h1); margin: 0 0 6px; }
.cond-blocks .cond-block + .cond-block { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 18px; }
.cond-card .cond-cta .btn { width: 100%; }

/* ---------- Detalle de promoción ---------- */
.promo-eyebrow { color: var(--green); font-size: 14px; font-weight: 800; letter-spacing: .08em; margin: 8px 0 6px; }
.promo-title { font-size: 40px; font-weight: 800; color: var(--teal-h1); margin: 0 0 24px; line-height: 1.1; }
.promo-panel { background: var(--pale); border: 1px solid var(--border); border-radius: 18px; padding: 34px; }
.promo-subtitle { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.promo-desc { color: var(--ink-muted); max-width: 640px; margin: 0 0 26px; line-height: 1.6; }
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
@media (min-width: 900px) { .promo-grid { grid-template-columns: 1.35fr 1fr; gap: 44px; } }
.promo-info { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 560px) { .promo-info { grid-template-columns: 1fr 1fr; } }
.promo-info h2 { font-size: 20px; font-weight: 800; color: var(--teal-h1); margin: 0 0 14px; }
.promo-option { margin-bottom: 16px; }
.promo-option strong { display: block; color: var(--ink); font-size: 16px; }
.promo-option .price-old { display: inline-block; text-decoration: line-through; color: var(--muted); margin-right: 8px; }
.promo-option .price-new, .promo-option .price { color: var(--green); font-weight: 800; font-size: 22px; }
.promo-includes ul { display: grid; gap: 10px; }
.promo-includes li { position: relative; padding-left: 20px; color: var(--ink-muted); }
.promo-includes li::before { content: "•"; position: absolute; left: 4px; color: var(--green); }
.promo-media { border-radius: 16px; overflow: hidden; background: #f5f8fc; }
.promo-media img { width: 100%; height: auto; display: block; }
.promo-cta { margin-top: 28px; }
.promo-note { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 560px) { .promo-title { font-size: 30px; } .promo-panel { padding: 22px; } }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { text-align: center; }
.contact-card .icon-pill { margin: 0 auto 12px; width: 46px; height: 46px; border-radius: 12px; }
.contact-card .icon-pill svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 16px; margin: 0 0 6px; }
.contact-card a, .contact-card p { color: var(--ink-muted); font-size: 15px; word-break: break-word; }
.location-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 900px) { .location-grid { grid-template-columns: 1.4fr 1fr; } }
.map-frame { border: 0; width: 100%; height: 340px; border-radius: 16px; box-shadow: var(--card-shadow); }
.hours-list { display: grid; gap: 10px; margin: 16px 0; }
.hours-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.hours-row span:last-child { color: var(--muted); }
.hours-note { font-size: 14px; color: var(--muted); margin: 14px 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-sans); }
.faq-q::after { content: "+"; font-size: 22px; color: var(--green); flex: none; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 20px 18px; color: var(--ink-muted); }

/* ---------- Insurance band ---------- */
.insurance-logos { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: center; margin-top: 28px; }
.insurance-logos img { height: 40px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.insurance-logos img:hover { filter: none; opacity: 1; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.9fr 1.1fr; } }
.about-photo img { border-radius: 20px; box-shadow: 0 26px 53px -12px rgba(0, 0, 0, .22); width: 100%; }
.about-body h2 { font-size: 30px; font-weight: 800; color: var(--teal-h1); }
.about-role { color: var(--green); font-weight: 700; margin: 4px 0 16px; }
.about-body > p { color: var(--ink-muted); margin-bottom: 16px; }
.about-features { display: grid; gap: 12px; margin: 20px 0; }
.about-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.about-features .hero-check { margin-top: 3px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(#fff, #f1f8f7); text-align: center; }
.cta-banner p { max-width: 640px; margin: 0 auto 24px; color: var(--muted); }

.text-center { text-align: center; }
.mt-btn { margin-top: 34px; text-align: center; }

/* ---------- Legal pages (privacidad / cookies) ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal > .legal-intro { color: var(--ink-muted); font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.legal h2 { font-size: 20px; font-weight: 800; color: var(--teal-h1); margin: 30px 0 10px; }
.legal p { color: var(--ink-muted); line-height: 1.7; margin-bottom: 8px; }
.legal a { color: var(--green); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

/* ---------- Condition detail pages ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--border); }
.detail-top { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; margin-bottom: 32px; }
@media (min-width: 900px) { .detail-top { grid-template-columns: 0.85fr 1.15fr; } }
.detail-photo img { width: 100%; border-radius: 16px; box-shadow: 0 26px 53px -12px rgba(0, 0, 0, .22); object-fit: cover; }
.detail-intro h2 { font-size: 26px; font-weight: 800; color: var(--teal-h1); margin-bottom: 12px; }
.detail-intro p { color: var(--ink-muted); font-size: 16.5px; line-height: 1.6; }
.detail-blocks { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 768px) { .detail-blocks { grid-template-columns: 1fr 1fr; } }
.detail-block { background: var(--soft); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.detail-block.price { background: #eef7f3; border-color: #cdeadd; }
.detail-block h3 { font-size: 18px; font-weight: 800; color: var(--teal); margin-bottom: 14px; }
.detail-block ul { display: grid; gap: 10px; }
.detail-block li { position: relative; padding-left: 20px; color: var(--ink-muted); }
.detail-block li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.detail-block p { color: var(--ink-muted); }
.detail-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.detail-back { color: var(--teal); font-weight: 600; }
.detail-back:hover { text-decoration: underline; }
