/* Clinica Dental Rio Murta: diseno base y paleta institucional. */
:root {
  --petrol: #192E43;
  --petrol-deep: #192E43;
  --petrol-soft: #EDF1F5;
  --ivory: #FAF9F6;
  --ivory-deep: #EDE8F3;
  --sage: #8C8C8C;
  --sage-soft: #E8EDF2;
  --bronze: #65428A;
  --accent-hover: #4D306C;
  --bronze-text: #65428A;
  --ink: #343C46;
  --ink-soft: #34465C;
  --white: #FFFFFF;
  --line: #DDE4EB;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(25, 46, 67, .06), 0 8px 24px rgba(25, 46, 67, .07);
  --shadow-lg: 0 2px 4px rgba(25, 46, 67, .06), 0 20px 48px rgba(25, 46, 67, .12);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(18px, 4.5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 82px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--petrol-deep); letter-spacing: -0.01em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.narrow-left { max-width: var(--wrap); }
.narrow-left > * { max-width: 780px; }
.center { text-align: center; }
.mt-l { margin-top: 2.5rem; }

.pt-0 { padding-top: 0 !important; }
.bg-white { background: var(--white); }
svg { flex-shrink: 0; }

.eyebrow { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); margin: 0 0 1rem; line-height: 1.4; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.note { font-size: .95rem; color: var(--ink-soft); border-left: 3px solid var(--sage); padding: .2em 0 .2em 1em; }

/* ---------- Botones ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.4em; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-align: center; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--bronze); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: var(--white); color: var(--petrol); border-color: var(--petrol); }
.btn-outline:hover { background: var(--petrol-soft); color: var(--petrol-deep); }
.btn-light { background: var(--ivory); color: var(--petrol-deep); }
.btn-light:hover { background: var(--white); color: var(--petrol-deep); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: var(--white); border-color: var(--ivory); }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn-lg { min-height: 52px; padding: .85em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--petrol); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { width: 106px; height: auto; }
.logo-light { padding: 3px 10px; border-radius: 8px; background: var(--white); }
.logo-wave { stroke: var(--bronze); }
.main-nav, .header-cta { margin-left: auto; }
.main-nav + .header-cta { margin-left: 0; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a { white-space: nowrap; display: block; padding: 9px 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; border-radius: 8px; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current] { background: var(--petrol-soft); color: var(--petrol); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.btn.urgent-link { color: #812f34; background: #fff2f1; border: 1px solid #e2b9ba; }
.btn.urgent-link:hover { color: #6b2429; background: #fbe4e3; }
.mobile-disclosure { display: none; }
.mobile-disclosure summary { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--petrol); cursor: pointer; font-size: .88rem; font-weight: 700; list-style: none; }
.mobile-disclosure summary::-webkit-details-marker { display: none; }
.mobile-disclosure summary svg { width: 14px; height: 14px; }
.mobile-disclosure[open] summary svg { transform: rotate(180deg); }
.mobile-menu { position: absolute; inset: 100% 0 auto; background: var(--white); border-block: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 66px); overflow-y: auto; padding: 6px 0 12px; }
.mm-list { list-style: none; margin: 0; padding: 0; }
.mm-list a { display: block; min-height: 44px; padding: 9px 10px; color: var(--ink); text-decoration: none; font-size: .95rem; border-radius: 8px; }
.mm-list a:hover, .mm-list a[aria-current] { background: var(--petrol-soft); color: var(--petrol); }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .main-nav + .header-cta { margin-left: auto; }
  .header-inner { gap: 12px; }
  .mobile-disclosure { display: block; }
}
@media (max-width: 760px) {
  .header-cta .header-urgent { display: none; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); max-width: 760px; }
.section-head .lead { margin-top: .4em; }
.split-head { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.split-head .lead { margin: 0; }
@media (max-width: 800px) { .split-head { grid-template-columns: 1fr; gap: 0; } }
.narrow .section-head { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Portada ---------- */
.hero { background: var(--ivory); padding: clamp(38px, 5.5vw, 82px) 0 clamp(42px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: clamp(28px, 4.8vw, 65px); }
.hero-kicker { color: var(--petrol-deep); margin-bottom: 1rem; }
.hero h1 { font-family: var(--sans); font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.78rem); line-height: 1.08; letter-spacing: -.042em; margin-bottom: .42em; text-wrap: balance; }
.hero-lead { color: var(--ink-soft); font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.65; max-width: 48ch; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 27px 0 16px; }
.center-actions { justify-content: center; }
.hero-whatsapp { min-height: 44px; color: var(--bronze); }
.hero-whatsapp svg { width: 20px; height: 20px; }
.hero-photo { min-width: 0; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { padding: 11px 16px; font-size: .85rem; color: var(--ink-soft); }
.trust-strip { background: var(--petrol-deep); color: var(--white); }
.trust-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0 auto; }
.trust-list li + li { border-left: 1px solid rgba(255, 255, 255, .2); }
.trust-list a { display: grid; gap: 5px; color: var(--white); text-decoration: none; padding: 24px clamp(12px, 2.7vw, 36px); height: 100%; }
.trust-list li:first-child a { padding-left: 0; }
.trust-list a:hover strong { text-decoration: underline; }
.trust-list a:focus-visible { outline-color: var(--white); outline-offset: -5px; }
.trust-list strong { font-size: 1.08rem; }
.trust-list span { font-size: .9rem; color: #E2EAF2; line-height: 1.4; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 20ch; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .trust-list a { padding: 16px 0; }
}

/* ---------- Tarjetas de especialidad ---------- */

.spec-num { font-family: var(--serif); font-size: .95rem; color: var(--bronze-text); font-weight: 500; letter-spacing: .04em; }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-grid-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid-lg { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.person-card { background: var(--ivory); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.bg-white .person-card { background: var(--ivory); }
.section:not(.bg-white) .person-card { background: var(--white); }
.person-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pc-link { display: block; overflow: hidden; background: var(--sage-soft); }
.pc-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.person-card:hover .pc-photo img { transform: scale(1.03); }
.pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-name { margin: 0; font-size: 1.32rem; }
.pc-name a { color: var(--petrol-deep); text-decoration: none; }
.pc-role { margin: 0 0 6px; font-size: .92rem; color: var(--bronze-text); font-weight: 600; line-height: 1.4; }
.pc-qualification { margin: 0; color: var(--ink-soft); font-size: .85rem; }
.pc-body .link-arrow { margin-top: auto; padding-top: 10px; }
.team-grid-lg .person-card { display: grid; grid-template-columns: 44% 1fr; }
.team-grid-lg .pc-photo img { height: 100%; }
.team-grid-lg .pc-body { padding: 28px; justify-content: center; }
.chips { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sage-soft); color: var(--petrol-deep); line-height: 1.4; }
.chips-lg li { font-size: .9rem; padding: 7px 14px; }
@media (max-width: 1000px) { .team-grid, .team-grid-3 { grid-template-columns: 1fr 1fr; } .team-grid-lg { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .team-grid, .team-grid-3 { grid-template-columns: 1fr; } .team-grid-lg .person-card { grid-template-columns: 1fr; } }

/* ---------- Bloque ansiedad ---------- */

.promise-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 1px 2px rgba(25, 46, 67, .05); }
.promise-list svg { width: 22px; height: 22px; color: var(--white); background: var(--petrol); border-radius: 50%; padding: 4px; margin-top: 2px; }
.promise-list strong { display: block; color: var(--petrol-deep); }
.promise-list span { color: var(--ink-soft); font-size: .95rem; }
.promise-card li { background: var(--white); border: 1px solid var(--line); }

/* ---------- Recorrido ---------- */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: j; }
.journey-4 { grid-template-columns: repeat(4, 1fr); }
.journey li { position: relative; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line); }
.section:not(.bg-white) .journey li { background: var(--white); }
.journey h3, .journey .h3 { font-size: 1.18rem; margin: 14px 0 6px; }
.journey p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.j-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--petrol); color: var(--ivory); font-family: var(--serif); font-size: 1.05rem; }
@media (max-width: 960px) { .journey, .journey-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .journey, .journey-4 { grid-template-columns: 1fr; } }

/* ---------- Clínica / mapa ---------- */
.clinic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.clinic-facts { display: grid; gap: 12px; margin: 24px 0; }
.clinic-facts > div { display: flex; gap: 12px; align-items: flex-start; }
.clinic-facts svg { width: 22px; height: 22px; color: var(--bronze); margin-top: 2px; }
.clinic-facts strong { display: block; color: var(--petrol-deep); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sage-soft); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .clinic-grid { grid-template-columns: 1fr; } }

/* ---------- Reseñas ---------- */
.reviews { text-align: center; }
.reviews .section-head { margin-left: auto; margin-right: auto; }
.reviews .lead { margin-left: auto; margin-right: auto; }
.reviews-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.bg-white .faq details { background: var(--ivory); }
.faq details[open] { border-color: var(--sage); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--petrol-deep); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; transition: transform .2s; color: var(--bronze-text); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--ink-soft); }
.faq-a p { margin: 0; }
.faq-group { font-size: 1.4rem; margin: 2.2em 0 .8em; }
.faq-group:first-child { margin-top: 0; }

/* ---------- CTA ---------- */
.cta-band { background: var(--petrol); color: var(--ivory); padding: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Página interior ---------- */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: .6em; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--ink-soft); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--sage); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--petrol); text-decoration: underline; }
.sub-title { color: var(--ink-soft); font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.need-table { display: grid; gap: 0; border-top: 1px solid var(--line); }
.need-table a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.need-table em { font-style: normal; font-weight: 500; color: var(--petrol); display: inline-flex; align-items: center; gap: 6px; font-size: .94rem; text-align: right; }
.need-table svg { width: 16px; height: 16px; }
.need-table a:hover { background: var(--ivory); }
@media (max-width: 560px) { .need-table a { flex-direction: column; align-items: flex-start; gap: 4px; } .need-table em { text-align: left; } }

.spec-hero-grid { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: end; }
.spec-hero h1 { max-width: 20ch; }
.spec-aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.aside-title, .side-title { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); margin: 0 0 12px; }
.spec-aside ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .95rem; }
.spec-aside a { text-decoration: none; }
.spec-aside a:hover { text-decoration: underline; }
@media (max-width: 900px) { .spec-hero-grid { grid-template-columns: 1fr; } .spec-aside { display: none; } }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.side-card > p:not(.side-title) { font-size: .96rem; color: var(--ink-soft); }
.side-card .btn + .btn { margin-top: 10px; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-weight: 600; text-decoration: none; }
.side-phone svg { width: 18px; height: 18px; }
.side-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.side-links a { display: block; padding: 7px 0; text-decoration: none; font-size: .95rem; border-bottom: 1px solid var(--ivory-deep); }
.big-card { padding: 32px; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .side { position: static; } }

.prose { min-width: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose > p, .prose li { color: var(--ink); }
.prose ul:not([class]) li, .prose ol:not([class]) li { margin-bottom: .4em; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--bronze); margin-top: 4px; }
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 1.4em; }
.sol { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.sol h3 { font-size: 1.12rem; margin: 0 0 .3em; }
.sol p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 600px) { .sol-grid { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0 0 1.2em; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 58px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--petrol); color: var(--petrol); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 500; }
.steps li::after { content: ''; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 1.5px; background: var(--sage); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; margin: 6px 0 4px; }
.steps p { margin: 0; color: var(--ink-soft); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; border-radius: var(--radius); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; background: var(--white); font-size: .95rem; min-width: 520px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--petrol); color: var(--ivory); font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--petrol-deep); width: 30%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.mini-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 1.4em; }
.mini-person { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; color: var(--ink); transition: border-color .2s; }
.mini-person:hover { border-color: var(--petrol); color: var(--ink); }
.mini-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.mini-person strong { display: block; color: var(--petrol-deep); font-size: 1rem; }
.mini-person span { font-size: .86rem; color: var(--ink-soft); line-height: 1.4; }
.link-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.link-list a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-list svg { width: 16px; height: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-grid > div { padding: 26px 24px; border-top: 2px solid var(--bronze); background: var(--ivory); border-radius: 0 0 var(--radius) var(--radius); }
.value-grid h3 { margin: 8px 0 8px; font-size: 1.2rem; }
.value-grid p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 960px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Perfil ---------- */
.profile-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.profile-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.profile-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sage-soft); position: relative; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.profile-main h1 { margin-bottom: .35em; }
.profile-intro { font-size: 1.18rem; color: var(--ink-soft); max-width: 58ch; }
.creds { display: grid; gap: 0; margin: 22px 0 6px; border-top: 1px solid var(--line); max-width: 560px; }
.creds > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.creds dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-text); padding-top: 3px; }
.creds dd { margin: 0; font-weight: 600; color: var(--petrol-deep); }
@media (max-width: 800px) { .profile-grid { grid-template-columns: 1fr; } .profile-photo { max-width: 420px; } }
@media (max-width: 480px) { .creds > div { grid-template-columns: 1fr; gap: 2px; } }
.timeline { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 0; border-left: 1.5px solid var(--sage); }
.timeline li { position: relative; padding: 0 0 20px 26px; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--bronze); }
.timeline h3 { font-size: 1.12rem; margin: 0 0 4px; }
.timeline p { margin: 0; color: var(--ink-soft); }
.quote { margin: 2em 0; padding: 30px 32px; background: var(--petrol); color: var(--ivory); border-radius: var(--radius-lg); position: relative; }
.quote p { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; margin: 0 0 14px; color: var(--white); }
.quote cite { font-style: normal; font-size: .9rem; color: var(--sage); font-weight: 600; letter-spacing: .04em; }
.treat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.treat { border-radius: var(--radius); padding: 22px 24px; background: var(--white); border: 1px solid var(--line); }
.treat:first-child { border-top: 3px solid var(--petrol); }
.treat:last-child { border-top: 3px solid var(--bronze); }
.treat h3 { font-size: 1.15rem; }
.treat ul { list-style: none; padding: 0; margin: 0; }
.treat li { padding: 9px 0; border-bottom: 1px solid var(--ivory-deep); font-size: .97rem; }
.treat li:last-child { border-bottom: 0; }
@media (max-width: 600px) { .treat-grid { grid-template-columns: 1fr; } }
.hours { margin: 0 0 16px; display: grid; gap: 0; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ivory-deep); }
.hours > div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0; color: var(--petrol-deep); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; word-break: break-word; }
.contact-list svg { width: 20px; height: 20px; color: var(--bronze-text); margin-top: 3px; }
.contact-list a { text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--petrol); text-decoration: underline; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-grid-2 { grid-template-columns: 1fr 1fr; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.bg-white .post-card { background: var(--ivory); }
.post-card h2, .post-card h3 { margin: 0; font-size: 1.3rem; }
.post-card h2 a, .post-card h3 a { color: var(--petrol-deep); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; }
.post-card > p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; }
.post-meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-text) !important; margin: 0 0 .6em; }
.post-date { font-size: .9rem; }
.post-hero h1 { max-width: none; font-size: clamp(2rem, 4vw, 3rem); }
.post-by { font-size: .94rem; color: var(--ink-soft); }
.post-body { font-size: 1.07rem; }
.post-body h2 { font-size: 1.6rem; }
.post-cta { margin: 2.4em 0 1.4em; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--sage-soft); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid, .post-grid-2 { grid-template-columns: 1fr; } }

/* ---------- Contacto / formulario ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-side { display: grid; gap: 16px; }
.booking { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-intro { color: var(--ink-soft); font-size: .96rem; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; color: var(--petrol-deep); padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, background .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23192E43' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; width: 1px; min-height: 0; height: 1px; padding: 0; border: 0; clip-path: inset(50%); }
.pill span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--ivory); cursor: pointer; font-size: .94rem; font-weight: 500; transition: all .15s; }
.pill input:checked + span { background: var(--petrol); border-color: var(--petrol); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--bronze); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: 4px 0 14px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--petrol); flex-shrink: 0; }
.err { color: #A3312A; font-size: .88rem; margin: 6px 0 0; font-weight: 600; }
.form-alt { font-size: .9rem; color: var(--ink-soft); margin: 16px 0 0; text-align: center; }
.sched-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sched { background: var(--ivory); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--line); }
.sched-head { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); margin-bottom: 10px; }
.sched-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.sched-head strong { display: block; color: var(--petrol-deep); }
.sched-head span { font-size: .84rem; line-height: 1.35; color: var(--ink-soft); }
.sched .hours dt, .sched .hours dd { font-size: .92rem; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } .sched-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sched-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-deep); color: #DCE5EF; padding-top: clamp(32px, 5vw, 64px); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.f-brand p { margin: 14px 0 18px; max-width: 31ch; line-height: 1.55; }
.f-title { font-family: var(--sans); font-size: .98rem; letter-spacing: 0; color: var(--white); font-weight: 700; margin: 0 0 12px; }
.site-footer a:not(.btn) { color: #EDF2F8; }
.site-footer a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.site-footer a:focus-visible { outline-color: var(--white); }
.f-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.f-list a { text-decoration: none; overflow-wrap: anywhere; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { flex: none; width: 17px; height: 17px; color: #CDBBDD; margin-top: 4px; }
.f-schedule { padding: 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.f-schedule .f-title { margin-bottom: 5px; }
.f-hours { margin: 0; }
.f-hours div { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: baseline; gap: 8px; padding: 9px 0; }
.f-hours div + div { border-top: 1px solid rgba(255, 255, 255, .14); }
.f-hours div:last-child { padding-bottom: 0; }
.f-hours dd { margin: 0; text-align: right; white-space: nowrap; color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; }
.f-hours div:last-child dd { color: #DCE5EF; font-weight: 400; }
.f-navigation { margin-top: clamp(24px, 4vw, 44px); }
.f-navigation ul { display: flex; flex-wrap: wrap; gap: 8px 23px; padding: 13px 0; margin: 0; border-block: 1px solid rgba(255, 255, 255, .15); list-style: none; }
.f-navigation a { text-decoration: none; }
.f-legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 5px 24px; padding-top: 16px; padding-bottom: 84px; font-size: .79rem; color: #C9D5E4; }
.f-legal p { margin: 0; }
.f-legal p:nth-child(2) { grid-column: 1; grid-row: 2; max-width: 76ch; }
.f-legal p:last-child { grid-column: 2; grid-row: 1; }
@media (max-width: 850px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .footer-grid, .f-legal { grid-template-columns: 1fr; }
  .f-legal p:nth-child(2), .f-legal p:last-child { grid-column: auto; grid-row: auto; }
  .f-navigation li { flex: 0 1 calc(50% - 12px); }
  .f-navigation a { display: inline-flex; align-items: center; min-height: 36px; }
}
@media (max-width: 350px) {
  .f-schedule { padding-inline: 13px; }
  .f-hours { font-size: .87rem; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: var(--bronze); color: var(--white); text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 600; border: 2px solid var(--ivory); transition: transform .2s, background .2s; }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-2px); }
.urgent-float { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .urgent-float {
    display: inline-flex;
    min-height: 48px;
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
    background: #812f34;
    font-weight: 700;
  }
  .urgent-float:hover { background: #6b2429; }
}

/* =================================================================== */
/* REDISEÑO v3 — editorial: menos cajas, más aire, líneas finas         */
/* =================================================================== */

/* ---------- Bloques en dos columnas ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.split-intro { position: sticky; top: 112px; }
.split-intro .lead { margin: .4em 0 1.6em; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-intro { position: static; } }

/* ---------- Lista editorial de especialidades ---------- */
.spec-list { border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 52px 1fr 28px; gap: 20px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .25s, background .25s; }
.spec-row:hover { color: var(--ink); padding-left: 14px; padding-right: 0; }
.sr-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--petrol-soft); color: var(--petrol); display: grid; place-items: center; transition: background .2s, color .2s; }
.sr-ico svg { width: 24px; height: 24px; }
.spec-row:hover .sr-ico { background: var(--petrol); color: var(--ivory); }
.sr-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.25; color: var(--petrol-deep); margin: 0 0 3px; }
.sr-body > span { display: block; font-size: .96rem; color: var(--ink-soft); line-height: 1.5; }
.sr-arrow { color: var(--bronze-text); }
.sr-arrow svg { width: 22px; height: 22px; transition: transform .2s; }
.spec-row:hover .sr-arrow svg { transform: translateX(4px); }
.also { margin: 24px 0 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.9; }
.also > span:first-child { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: 4px; }
.also a { color: var(--petrol); font-weight: 600; text-decoration: none; }
.also a:hover { text-decoration: underline; }
.lists-2 { gap: clamp(32px, 5vw, 64px); }
.lists-2 .sub-title { margin-bottom: 14px; }
.narrow-list { max-width: 860px; }
@media (max-width: 520px) { .spec-row { grid-template-columns: 44px 1fr 20px; gap: 14px; } .sr-ico { width: 44px; height: 44px; } .sr-title { font-size: 1.15rem; } }

/* ---------- Transparencia + presupuesto ---------- */
.transp { background: var(--sage-soft); }
.transp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.transp .check-list { margin: 24px 0 26px; }
.budget { margin: 0; background: var(--white); border-radius: 22px; padding: 26px 26px 20px; box-shadow: var(--shadow-lg); }
.b-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.b-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--petrol); color: var(--ivory); display: grid; place-items: center; flex-shrink: 0; }
.b-logo { width: 24px; height: 26px; }
.b-logo .logo-wave, .m-logo .logo-wave { stroke: #BBA9CC; }
.b-head strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--petrol-deep); line-height: 1.2; }
.b-head div span { font-size: .8rem; color: var(--ink-soft); }
.b-steps { list-style: none; padding: 0; margin: 6px 0 0; }
.b-steps li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ivory-deep); }
.b-n { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--petrol); color: var(--petrol); display: grid; place-items: center; font-family: var(--serif); font-size: .92rem; }
.b-steps strong { display: block; color: var(--petrol-deep); font-size: .96rem; }
.b-steps div span { font-size: .84rem; color: var(--ink-soft); }
.b-steps em { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--petrol); background: var(--petrol-soft); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.b-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .86rem; font-weight: 600; color: var(--petrol-deep); }
.b-foot svg { width: 18px; height: 18px; color: var(--bronze); }
@media (max-width: 900px) { .transp-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .b-steps li { grid-template-columns: 30px 1fr; } .b-steps em { grid-column: 2; justify-self: start; } .budget { padding: 20px 18px 16px; } }

/* ---------- Equipo: retratos sin caja ---------- */
.person-card, .section:not(.bg-white) .person-card, .bg-white .person-card { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.person-card:hover { box-shadow: none; transform: none; }
.pc-link { border-radius: 20px; overflow: hidden; }
.pc-body { padding: 16px 2px 0; gap: 4px; }
.pc-qualification { margin: 0; color: var(--ink-soft); font-size: .85rem; }
.pc-body .link-arrow { padding-top: 6px; font-size: .94rem; }
.team-grid-lg .person-card { background: var(--white); border-radius: 22px; overflow: hidden; }
.team-grid-lg .pc-link { border-radius: 0; }
.team-grid-lg .pc-body { padding: 28px; }

/* ---------- Experiencia: línea de tiempo vertical ---------- */
.exp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.exp-intro { position: sticky; top: 112px; }
.exp-intro .lead { margin: .4em 0 0; }
.timeline-v { list-style: none; margin: 0; padding: 0; }
.timeline-v li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 30px; }
.timeline-v li:last-child { padding-bottom: 0; }
.timeline-v li::before { content: ''; position: absolute; left: 23.5px; top: 52px; bottom: 6px; width: 1px; background: var(--sage); }
.timeline-v li:last-child::before { display: none; }
.tv-num { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--bronze); color: var(--bronze-text); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; }
.timeline-v h3 { font-size: 1.3rem; margin: 10px 0 4px; }
.timeline-v p { margin: 0; color: var(--ink-soft); }
.experience { background: var(--ivory-deep); color: var(--ink); }
.experience h2, .experience .timeline-v h3 { color: var(--petrol-deep); }
.experience .eyebrow { color: var(--bronze-text); }
.experience .lead, .experience .timeline-v p { color: var(--ink-soft); }
.experience .tv-num { border-color: #BBA9CC; color: var(--bronze-text); }
.experience .timeline-v li::before { background: var(--line); }
@media (max-width: 900px) { .exp-grid { grid-template-columns: 1fr; } .exp-intro { position: static; } }

/* ---------- Clínica ---------- */
.reviews-line { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); }
.reviews-line a { font-weight: 600; }

/* ---------- FAQ: separadores finos en vez de cajas ---------- */
.faq { gap: 0; border-top: 1px solid var(--line); }
.faq details, .bg-white .faq details { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.faq summary { padding: 22px 2px; font-size: 1.06rem; }
.faq-a { padding: 0 2px 22px; }

/* ---------- Aligerar bloques repetidos en páginas interiores ---------- */
.value-grid { gap: 36px 44px; }
.value-grid > div { background: none; border-radius: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
.sol-grid { gap: 22px 36px; }
.sol { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0 0; }
.promise-list { gap: 0; }
.promise-list li, .promise-card li { background: none; border: 0; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
.promise-list li:first-child { border-top: 1px solid var(--line); }
.journey { gap: 28px; }
.journey li, .section:not(.bg-white) .journey li { background: none; border: 0; border-radius: 0; padding: 0; }
.journey li::after { content: ''; position: absolute; left: 52px; right: 4px; top: 19px; height: 1px; background: var(--sage); }
.journey li:last-child::after { display: none; }
.j-num { background: var(--white); border: 1.5px solid var(--petrol); color: var(--petrol); }
@media (max-width: 960px) { .journey li::after { display: none; } }
.big-card { background: none; border: 0; border-top: 2px solid var(--petrol); border-radius: 0; padding: 22px 0 0; }

/* ---------- Chips de compromiso ---------- */
.promise-chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.promise-chips li { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--petrol-deep); }
.promise-chips svg { width: 18px; height: 18px; color: var(--bronze-text); }
.spec-hero .promise-chips { margin-top: 8px; }
.profile-main .promise-chips { margin-top: 18px; }

/* ---------- Encabezados interiores con motivo de río ---------- */
.page-hero, .profile-hero { position: relative; overflow: hidden; }
.page-hero::after, .profile-hero::after { content: ''; position: absolute; right: -60px; top: 0; width: 560px; height: 100%; max-height: 420px; pointer-events: none; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 420' fill='none' stroke='%23DDE4EB' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M0 120c46-22 93-22 140 0s93 22 140 0 93-22 140 0 93 22 140 0'/%3E%3Cpath d='M0 160c46-22 93-22 140 0s93 22 140 0 93-22 140 0 93 22 140 0' opacity='.75'/%3E%3Cpath d='M0 200c46-22 93-22 140 0s93 22 140 0 93-22 140 0 93 22 140 0' opacity='.5'/%3E%3Cpath d='M0 240c46-22 93-22 140 0s93 22 140 0 93-22 140 0 93 22 140 0' opacity='.3'/%3E%3C/svg%3E") no-repeat right top / contain; }
.page-hero > .wrap, .profile-hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .page-hero::after, .profile-hero::after { width: 320px; right: -120px; opacity: .35; } }

/* ---------- Tipografía general ---------- */
h2 { font-weight: 400; letter-spacing: -0.015em; }
.section-head h2, .split-intro h2, .exp-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.section { padding: clamp(72px, 9vw, 128px) 0; }


/* Web 2.0: editorial layout for the clinic's own photography and content. */
:root {
  --paper: #f2eee7;
  --paper-line: #ddd6ca;
}

.site-header { min-height: 74px; }
.header-inner { min-height: 74px; }
.header-inner > .logo img { width: 111px; }
.header-cta .btn, .nav-list > li > a {
  min-height: 44px;
  align-content: center;
}
.btn { border-radius: 8px; white-space: normal; }
.btn:active { transform: translateY(1px); }
.mobile-menu { max-height: calc(100dvh - 74px); }

.hero {
  background: var(--ivory);
  display: grid;
  align-items: center;
  padding-block: clamp(34px, 5vw, 70px);
}
.hero-grid {
  width: 100%;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 84px);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 5.7vw, 6.25rem);
  line-height: .99;
  letter-spacing: -.043em;
  text-wrap: initial;
}
.hero h1 em { display: block; color: var(--bronze); font-weight: 400; }
.hero-lead { max-width: 41ch; }
.hero-actions { align-items: center; gap: 12px 24px; margin: 28px 0 20px; }
.hero-actions .link-arrow, .hero-address { min-height: 44px; }
.hero-address {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--ink-soft);
  font-size: .9rem;
  text-decoration-color: var(--paper-line);
}
.hero-address svg { width: 18px; height: 18px; }
.hero-photo { border: 0; border-radius: 5px; box-shadow: none; background: var(--paper); }
.hero-photo img { aspect-ratio: 1.15; object-position: center; transition: transform .5s ease; }
@media (hover: hover) {
  .hero-photo:hover img { transform: scale(1.025); }
}
@media (min-width: 961px) {
  .home .hero { min-height: calc(100svh - 74px); }
}
[data-enter] .hero-copy { animation: enter-copy .55s ease both; }
@keyframes enter-copy {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-services { background: var(--paper); }
.home .split { align-items: start; }
.home .split-intro, .home .exp-intro { position: static; }
.home .section h2 { font-size: clamp(2.2rem, 4.2vw, 4.25rem); line-height: 1.05; letter-spacing: -.035em; }
.home .section :is(.split > *, .transp-grid > *, .clinic-grid > *, .exp-grid > *) { min-width: 0; }
.home .section .lead { max-width: 43ch; }
.home .transp { background: var(--petrol-soft); }
.home .budget-card { min-width: 0; }
.home-team .section-head { align-items: start; }
.home-team .person { box-shadow: none; }
.home-visit .hours { margin-block: 1.5rem; }
.home-visit .hours dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.page-hero::after, .profile-hero::after { content: none; }

.site-footer { background: var(--paper); color: var(--ink); }
.site-footer .f-title, .site-footer a:not(.btn) { color: var(--petrol); }
.site-footer a:not(.btn):hover { color: var(--accent-hover); }
.site-footer a:focus-visible { outline-color: var(--bronze); }
.site-footer .f-brand p, .site-footer .f-legal, .site-footer .f-hours dt,
.site-footer .f-hours > div:last-child dd { color: var(--ink-soft); }
.site-footer .f-hours dd { color: var(--petrol); }
.site-footer .f-schedule { background: var(--ivory); border-color: var(--paper-line); }
.site-footer .f-navigation, .site-footer .f-legal, .site-footer .f-hours > div { border-color: var(--paper-line); }
.site-footer .f-contact svg { color: var(--accent-hover); }
.site-footer .f-brand .btn { color: var(--white); background: var(--petrol); }
.site-footer .f-brand .btn:hover { background: var(--bronze); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(2.85rem, 8.5vw, 5rem); max-width: none; }
  .hero-photo img { aspect-ratio: 1.65; }
}
@media (max-width: 760px) {
  .site-footer { padding-bottom: 82px; }
  .hero-actions { align-items: start; }
  .hero-photo img { aspect-ratio: 1.33; }
  .header-inner { gap: 6px; }
}
@media (max-width: 560px) {
  .hero { padding-block: 25px; }
  .hero-grid { gap: 20px; }
  .header-inner > .logo img { width: 86px; }
  .header-cta .btn-sm { padding-inline: .7em; }
  .hero-actions { flex-direction: column; gap: 4px; margin-block: 22px 10px; }
  .hero h1 { font-size: clamp(2.55rem, 10.1vw, 3.6rem); }
  .home .section .btn { max-width: 100%; }
}

