/* Jump straight to anchors (Costos, form buttons, TOC) instead of animating the scroll. */
html { scroll-behavior: auto; }
/* Site — multi-page components layered on the approved Claro design (claro.css). Same tokens, same rhythm. */

/* ---------- Sub-page hero ---------- */
.page-hero { padding: clamp(128px, 16vh, 168px) 0 clamp(40px, 5vw, 72px); position: relative; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 78px); max-width: 17ch; }
.page-hero .lede { margin-top: 24px; max-width: 58ch; }
.page-hero .hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-soft); }
.page-hero-media .float-chip { position: absolute; left: -18px; bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--mute); margin-bottom: 22px; }
.crumbs a { transition: color 0.3s; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-hidden] { opacity: 0.45; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Generic sections ---------- */
.section { padding: calc(var(--section) / 2) 0; }
.section-tight { padding: calc(var(--section) / 3) 0; }
.section h2 { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 88px); align-items: start; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card { background: var(--ice); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.info-card h3 { font-size: 21px; line-height: 1.2; }
.info-card p { color: var(--mute); font-size: 16px; }
.info-card .t-k, .t-k { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.stage .info-card { background: #fff; }
.num-steps { counter-reset: s; display: grid; gap: 14px; }
.num-steps li { counter-increment: s; position: relative; padding: 22px 24px 22px 76px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.num-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--ice); color: var(--navy); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.num-steps h3 { font-size: 19px; margin-bottom: 6px; line-height: 1.25; }
.num-steps p { color: var(--mute); font-size: 16px; }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ice-2); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.callout { background: var(--ice); border-radius: var(--r-lg); padding: 24px 28px; color: var(--ink); }
.callout strong { color: var(--navy); }
.cta-band { background: var(--navy); color: #fff; border-radius: var(--r-stage); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 7fr) auto; gap: 28px 48px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 56px); max-width: 18ch; }
.cta-band h2 em { color: var(--sky); }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-top: 14px; max-width: 52ch; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cta-band .btn-ghost:hover { color: #fff; border-color: #fff; }

/* ---------- Service cards (services index) ---------- */
.svc-list { display: grid; gap: 16px; }
/* Video testimonials */
.vtesti-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vtesti { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--ice); border-radius: var(--r-xl); padding: 20px 28px 20px 20px; }
.vtesti-media .clip-figure { margin: 0; max-width: none; }
.vtesti-media .clip-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vtesti-body { display: flex; flex-direction: column; gap: 16px; }
.vtesti-tag { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.vtesti blockquote { margin: 0; }
.vtesti blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--ink); }
.vtesti-who strong { display: block; font-size: 16px; }
.vtesti-who span { display: block; font-size: 14px; color: var(--mute); }
.vtesti-note { font-size: 14px; color: var(--mute); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 14px; }
/* Services index: photo cards */
.svc-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-photo { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.3s; }
.svc-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.svc-photo figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.svc-photo figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-photo:hover figure img { transform: scale(1.04); }
.svc-photo figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 33, 58, 0.35)); pointer-events: none; }
.svc-tag { position: absolute; left: 16px; top: 16px; z-index: 1; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.svc-body h2 { font-size: clamp(24px, 2.4vw, 32px); max-width: none; }
.svc-body p { color: var(--mute); margin-top: 10px; }
.svc-body .chips { margin-top: 16px; }
.svc-more { margin-top: auto; padding-top: 20px; font-weight: 600; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
.svc-more i { font-style: normal; transition: transform 0.3s var(--ease); }
.svc-photo:hover .svc-more i { transform: translateX(4px); }
.svc-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 28px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px 32px 20px 20px; transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.3s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.svc-card .svc-art { background: var(--ice); border-radius: var(--r-lg); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.svc-card .svc-art img { width: 82%; }
.svc-card h2, .svc-card h3 { font-size: clamp(24px, 2.4vw, 32px); max-width: none; }
.svc-card p { color: var(--mute); margin-top: 8px; max-width: 60ch; }
.svc-card .chips { margin-top: 14px; }
.svc-go { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 20px; }

/* ---------- Prose (articles, legal) ---------- */
.prose { font-size: 18px; line-height: 1.75; color: #1d2a44; max-width: 72ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(27px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.03em; margin-top: 2.1em; max-width: none; scroll-margin-top: 110px; color: var(--ink); }
.prose h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; margin-top: 1.8em; scroll-margin-top: 110px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ul.check-list { list-style: none; padding-left: 0; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(43, 67, 98, 0.35); transition: text-decoration-color 0.3s; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { font-size: 14px; color: var(--mute); margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .lead { font-size: 21px; line-height: 1.6; color: var(--ink); }

/* ---------- Article page ---------- */
.article-head { padding: clamp(124px, 15vh, 160px) 0 0; }
.article-head h1 { font-size: clamp(36px, 4.6vw, 64px); max-width: 20ch; line-height: 1.05; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; color: var(--mute); font-size: 14px; }
.article-meta .by { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.article-meta .by img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: top; }
.article-cover { margin-top: clamp(32px, 4vw, 48px); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-xl); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 96px); align-items: start; padding: clamp(40px, 5vw, 64px) 0 calc(var(--section) / 2); }
.article-aside { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 14px; }
.toc { background: var(--ice); border-radius: var(--r-lg); padding: 22px 24px; }
.toc .t-k { display: block; margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: t; }
.toc a { display: block; font-size: 14px; line-height: 1.4; color: var(--mute); padding: 6px 0 6px 14px; border-left: 2px solid transparent; transition: color 0.3s, border-color 0.3s; }
.toc a:hover, .toc a.is-current { color: var(--navy); border-left-color: var(--navy); }
.cta-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.cta-card strong { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.cta-card p { color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.cta-card .btn { width: 100%; min-height: 48px; }
.cta-card .btn-light { color: var(--navy); }
.cta-card a.plain { color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.author-box { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; background: var(--ice); border-radius: var(--r-lg); padding: 24px; margin-top: 56px; }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; }
.author-box strong { font-size: 19px; }
.author-box p { color: var(--mute); font-size: 15px; margin-top: 4px; }
.author-box .link { padding: 6px 0 0; font-size: 14px; }
.note-medical { font-size: 14px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 36px; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; background: var(--ice); border-radius: var(--r-lg); padding: 22px 26px; margin: 2em 0; }
.inline-cta p { margin: 0; font-weight: 600; color: var(--ink); max-width: 36ch; line-height: 1.4; }
.prose .inline-cta a { text-decoration: none; color: #fff; }

/* ---------- Post grid (articles index, related) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lm-acard h2, .lm-acard h3 { font-size: 20px; line-height: 1.2; max-width: none; letter-spacing: -0.02em; }
.post-grid .lm-acard p { color: var(--mute); font-size: 15px; line-height: 1.5; }
.post-grid .lm-acard .acard-foot { font-size: 13px; color: var(--mute); margin-top: auto; padding-top: 6px; }
.post-grid .lm-acard > div { flex: 1; }
.post-grid .lm-acard[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter small { opacity: 0.6; margin-left: 4px; }
.filter-count { font-size: 14px; color: var(--mute); margin: -20px 0 24px; }

/* ---------- Clips (doctor's short videos, self-hosted) ---------- */
.clip { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.clip img, .clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip button { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 18px; background: linear-gradient(180deg, rgba(20, 33, 58, 0) 45%, rgba(20, 33, 58, 0.55)); }
.clip .vplay { left: 14px; bottom: 14px; top: auto; transform: none; padding: 10px 16px 10px 12px; font-size: 13px; }
.clip button:hover .vplay { background: var(--navy); color: #fff; }
.clip button:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.clip-cap { font-size: 15px; font-weight: 600; line-height: 1.35; margin-top: 12px; }
.clip-cap small { display: block; font-weight: 400; color: var(--mute); font-size: 13px; margin-top: 2px; }
.clip-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.clip-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clip-figure { max-width: 320px; margin-inline: auto; }
.clip-row .clip-figure, .lp-media .clip-figure { max-width: none; width: 100%; margin: 0; }
.prose .clip-figure { margin-top: 2em; margin-bottom: 2em; }
.clip-src { font-size: 12px; color: var(--mute); }
.clip-src a { text-decoration: underline; }

/* ---------- Lead form ---------- */
.form-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-soft); }
.form-card h2, .form-card h3 { font-size: clamp(24px, 2.4vw, 30px); max-width: none; }
.form-card .form-sub { color: var(--mute); font-size: 15px; margin: 8px 0 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(59, 95, 140, 0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mute); line-height: 1.45; margin: 4px 0 18px; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--navy); }
.consent a { color: var(--navy); text-decoration: underline; }
.form-card .btn { width: 100%; }
.form-card .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-foot { font-size: 13px; color: var(--mute); margin-top: 14px; text-align: center; }
.form-foot a { color: var(--navy); font-weight: 600; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; color: #8b1d1d; background: #fdecec; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; line-height: 1.45; }
.form-preview-note { font-size: 12px; color: #8a5a00; background: #fff6df; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }

/* ---------- Contact layout (agenda page) ---------- */
.agenda-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.agenda-side { display: grid; gap: 16px; }
.agenda-side .ccard { background: var(--ice); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ice); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Thank-you ---------- */
.thanks { padding: clamp(140px, 18vh, 190px) 0 var(--section); text-align: center; }
.thanks .badge-ok { width: 72px; height: 72px; border-radius: 50%; background: var(--ice-2); color: var(--navy); display: grid; place-items: center; margin: 0 auto 28px; font-size: 32px; }
.thanks h1 { font-size: clamp(40px, 5vw, 72px); max-width: 16ch; margin-inline: auto; }
.thanks .lede { margin: 22px auto 0; max-width: 52ch; }
.thanks .btn-wa-big { margin-top: 36px; min-height: 68px; padding: 0 40px; font-size: 18px; background: #1f8f4e; box-shadow: 0 16px 36px -14px rgba(31, 143, 78, 0.7); }
.thanks .btn-wa-big:hover { background: #18773f; }
.thanks .after { margin: 48px auto 0; max-width: 720px; text-align: left; }

/* ---------- Doctor page ---------- */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--ice-2); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.timeline .yr { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; }
.timeline strong { display: block; font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
.timeline span { color: var(--mute); font-size: 15px; }

/* ---------- Landing pages (Google Ads) ---------- */
.lp .site-header .header-cta { margin-left: auto; }
.lp-hero { padding: clamp(116px, 14vh, 150px) 0 clamp(40px, 5vw, 64px); }
.lp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.lp-hero h1 { font-size: clamp(38px, 5vw, 68px); max-width: 16ch; }
.lp-hero .lede { margin-top: 20px; max-width: 54ch; }
.lp-points { margin-top: 26px; display: grid; gap: 10px; }
.lp-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-proof span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--ice); font-size: 14px; font-weight: 500; }
.lp-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 32px; max-width: 560px; }
.lp-form { position: sticky; top: 100px; }
.lp .footer-cols { display: none; }

/* Media + text stage (doctor blocks). */
.media-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.media-stage.top { align-items: start; }
.lp-grid { grid-template-areas: "copy form" "media form"; }
.lp-copy { grid-area: copy; } .lp-form { grid-area: form; } .lp-grid > .lp-media { grid-area: media; margin-top: 0; }

/* ---------- Footer (multi-page) ---------- */
.footer-cols { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; padding-bottom: 32px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-cols p { font-size: 14px; color: var(--mute); margin-top: 14px; max-width: 34ch; line-height: 1.55; }
.footer-cols h2 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.footer-cols ul { display: grid; gap: 8px; font-size: 14px; }
.footer-cols ul a { color: var(--ink); transition: color 0.3s; }
.footer-cols ul a:hover { color: var(--navy); text-decoration: underline; }
.footer-cols address { font-size: 14px; color: var(--mute); line-height: 1.55; }
.footer-grid a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.nf { padding: clamp(150px, 20vh, 210px) 0 var(--section); text-align: center; }
.nf h1 { font-size: clamp(44px, 6vw, 88px); max-width: 14ch; margin-inline: auto; }
.nf .lede { margin: 20px auto 32px; }
.nf .hero-actions { justify-content: center; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .page-hero-grid, .two-col, .agenda-grid, .lp-grid, .cta-band, .media-stage { grid-template-columns: 1fr; }
  .lp-grid { grid-template-areas: "copy" "form" "media"; }
  .page-hero-media { max-width: 520px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .article-aside .toc { display: none; }
  .post-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .clip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .lp-form { position: static; }
  .svc-card { grid-template-columns: 160px minmax(0, 1fr); }
  .vtesti-grid { grid-template-columns: 1fr; }
  .svc-go { display: none; }
}
@media (max-width: 720px) {
  .page-hero { padding-top: 100px; }
  .page-hero .hero-actions .btn { width: 100%; }
  .page-hero-media .float-chip { left: 12px; bottom: 12px; }
  .article-head { padding-top: 96px; }
  .article-cover img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .prose { font-size: 17px; }
  .post-grid, .info-grid, .info-grid.cols-2 { grid-template-columns: 1fr; }
  .svc-photo-grid { grid-template-columns: 1fr; gap: 16px; }
  .vtesti { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; padding: 14px; align-items: start; }
  .vtesti blockquote p { font-size: 19px; }
  .vtesti-body { gap: 10px; }
  .vtesti-note { display: none; }
  .vtesti-tag { font-size: 10px; letter-spacing: 0.04em; padding: 5px 10px; }
  .svc-body { padding: 18px 18px 22px; }
  .lm-acard h2, .lm-acard h3 { font-size: 17px; }
  .clip-row, .clip-row.cols-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .svc-card { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .svc-card .svc-art { max-width: 180px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .cta-band { border-radius: 26px; padding: 28px 22px; }
  .cta-band .actions .btn { width: 100%; }
  .author-box { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; }
  .author-box img { width: 64px; height: 64px; }
  .num-steps li { padding: 18px 18px 18px 66px; }
  .num-steps li::before { left: 16px; top: 18px; }
  .lp-hero { padding-top: 96px; }
  .lp .site-header .header-cta { display: inline-flex; margin-left: auto; }
  .lp .brand-text strong { font-size: 15px; }
  .lp-media { grid-template-columns: 1fr 1fr; gap: 10px; }
  .thanks .btn-wa-big { width: 100%; padding: 0 20px; }
  .inline-cta .btn { width: 100%; }
}

/* ================= Knee-prosthesis landing page (flagship LP) ================= */
.lp-head-note { margin-left: auto; font-size: 14px; color: var(--mute); }
.lp-head-note strong { color: var(--ink); }
.lp .site-header .lp-head-note + .header-cta { margin-left: 18px; }
.lp-mobile-cta .btn { flex: 1; }

/* Hero: copy + form; on phones the form follows the headline */
.klp-hero { padding: clamp(112px, 13vh, 140px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(1200px 520px at 85% 10%, var(--ice), transparent 70%), linear-gradient(180deg, #fff, #f7f9fd); }
.klp-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "top form" "bottom form"; grid-template-rows: min-content 1fr; gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.klp-hero-top { grid-area: top; }
.klp-hero-form { grid-area: form; }
.klp-hero-bottom { grid-area: bottom; }
.klp-hero h1 { font-size: clamp(40px, 5.2vw, 72px); max-width: 14ch; }
.klp-hero .lede { margin-top: 20px; max-width: 52ch; }
.klp-checks { display: grid; gap: 12px; margin-top: 28px; }
.klp-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--ink); }
.klp-checks li strong { font-weight: 600; }
.klp-checks i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); position: relative; margin-top: 1px; }
.klp-checks i::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.klp-checks-sm li { font-size: 15px; }
.klp-checks-light li { color: #fff; }
.klp-checks-light i { background: #fff; }
.klp-checks-light i::after { border-color: var(--navy); }
.klp-doc { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; max-width: 560px; box-shadow: 0 10px 30px -22px rgba(20, 33, 58, 0.5); }
.klp-doc img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.klp-doc > div:nth-child(2) { flex: 1; min-width: 0; }
.klp-doc strong { display: block; font-size: 15px; }
.klp-doc span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.klp-stars { text-align: center; padding-left: 14px; border-left: 1px solid var(--line); flex: none; }
.klp-stars strong { font-size: 22px; line-height: 1; color: var(--navy); }
.klp-stars small { display: block; font-size: 11.5px; color: var(--mute); max-width: 80px; line-height: 1.3; margin-top: 2px; }

/* Short form */
.lp-form-card { box-shadow: 0 30px 60px -30px rgba(20, 33, 58, 0.45); border-color: rgba(43, 67, 98, 0.16); }
.lp-form-card .form-sub { margin-bottom: 18px; }
.field.tiempo { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.field.tiempo legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.tchips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tchip { position: relative; cursor: pointer; }
.tchip input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.tchip span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 14px; font-weight: 500; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.tchip:hover span { border-color: var(--navy); }
.tchip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.tchip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(59, 95, 140, 0.25); }
.lp-form-foot { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--mute); line-height: 1.45; }
.lp-form-foot svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--navy); }

/* Stats strip */
.klp-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.klp-stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.klp-stats-row > div { padding: 26px 20px; text-align: center; border-left: 1px solid var(--line); }
.klp-stats-row > div:first-child { border-left: 0; }
.klp-stats-row strong { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.03em; color: var(--navy); line-height: 1.05; }
.klp-stats-row span { display: block; margin-top: 6px; font-size: 14px; color: var(--mute); }
.klp-ins-compact::after { display: none; }

/* Symptoms */
.klp-signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.klp-signs li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--ice); border-radius: var(--r-lg); }
.klp-signs i { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--navy); position: relative; background: #fff; margin-top: 2px; }
.klp-signs i::after { content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.klp-signs h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.klp-signs p { margin-top: 4px; font-size: 15px; color: var(--mute); }
.klp-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 22px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.klp-inline-cta p { max-width: 60ch; }

/* Testimonial story */
.klp-story-card { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--navy-deep); color: #fff; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); }
.klp-story-media .clip-figure { margin: 0; max-width: none; }
.klp-story-media .clip-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.klp-story .eyebrow { color: rgba(255, 255, 255, 0.7); }
.klp-story .eyebrow::before { background: rgba(255, 255, 255, 0.5); }
.klp-story blockquote { margin: 18px 0 0; }
.klp-story blockquote p { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; }
.klp-story blockquote em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #cfe0f7; }
.klp-story-who { margin-top: 14px; color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.klp-story-who strong { color: #fff; }
.klp-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 28px; }
.klp-before-after > div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
.klp-before-after > div:last-child { background: rgba(255, 255, 255, 0.16); }
.klp-before-after span { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe0f7; }
.klp-before-after p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
.klp-story .btn-navy { background: #fff; color: var(--navy-deep); }
.klp-story .btn-navy:hover { background: var(--ice); }

/* Recovery timeline */
.klp-timeline-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.klp-timeline { margin-top: 28px; display: grid; gap: 0; position: relative; }
.klp-timeline li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.klp-timeline li:first-child { border-top: 0; }
.klp-when { display: inline-flex; align-self: start; justify-self: start; justify-content: center; padding: 6px 10px; border-radius: 999px; background: var(--ice); color: var(--navy); font-size: 13px; font-weight: 600; white-space: nowrap; }
.klp-timeline h3 { font-size: 18px; letter-spacing: -0.02em; }
.klp-timeline p { margin-top: 2px; color: var(--mute); font-size: 15px; }
.klp-fine { margin-top: 16px; font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.klp-timeline-media .clip-figure { margin: 0; max-width: none; }

/* Myths */
.klp-myths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.klp-myth-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.klp-myth { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.klp-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #b4423a; background: #fbecea; padding: 4px 9px; border-radius: 999px; }
.klp-myth h3 { margin-top: 12px; font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.klp-myth p { margin-top: 6px; font-size: 15px; color: var(--mute); }
.klp-myth-clips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.klp-myth-clips .clip-figure { margin: 0; max-width: none; }

/* Doctor */
.klp-doctor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.klp-doctor-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); }
.klp-doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.klp-doctor-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.klp-doctor-photo figcaption strong { display: block; font-size: 15px; }
.klp-doctor-photo figcaption span { font-size: 13px; color: var(--mute); }
.klp-doctor h2 { font-size: clamp(34px, 4vw, 56px); }
.klp-quote { margin: 22px 0 24px; padding-left: 18px; border-left: 2px solid var(--navy); }
.klp-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: var(--ink); }
.klp-doctor .cred-rows li { background: var(--ice); }

/* Price */
.klp-price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.klp-price-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.klp-price-amount { margin-top: 10px; font-size: 22px; font-weight: 600; color: var(--mute); }
.klp-price-amount span { font-size: clamp(56px, 6vw, 80px); letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.klp-price-label { margin-top: 4px; font-size: 16px; font-weight: 600; }
.klp-price-card .klp-checks { margin: 22px 0 26px; }
.klp-price-card .btn { width: 100%; }
.klp-price-side h2 { font-size: clamp(32px, 3.6vw, 50px); }
.klp-price-side .lede { margin-top: 16px; }
.klp-ins-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.klp-ins-grid img { width: 100%; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }

/* Final CTA band with the second form */
.klp-final-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: radial-gradient(800px 400px at 0% 0%, #34507a, transparent 70%), var(--navy-deep); color: #fff; }
.klp-final .eyebrow { color: rgba(255, 255, 255, 0.7); }
.klp-final .eyebrow::before { background: rgba(255, 255, 255, 0.5); }
.klp-final h2 { color: #fff; font-size: clamp(34px, 4vw, 58px); }
.klp-final h2 em { color: #cfe0f7; }
.klp-final-copy > p:not(.eyebrow) { margin-top: 16px; color: rgba(255, 255, 255, 0.85); max-width: 46ch; }
.klp-final .lp-form-card { color: var(--ink); }
.klp-final .lp-form-card h2 { color: var(--ink); font-size: clamp(24px, 2.4vw, 30px); }

@media (max-width: 1080px) {
  .klp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .klp-signs { grid-template-columns: 1fr 1fr; }
  .klp-myths { grid-template-columns: 1fr; }
  .klp-myth-clips { max-width: 560px; }
  .klp-stats-row { grid-template-columns: 1fr 1fr; }
  .klp-stats-row > div:nth-child(3) { border-left: 0; }
  .klp-stats-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .lp-head-note { display: none; }
  .klp-hero-grid { grid-template-columns: 1fr; grid-template-areas: "top" "form" "bottom"; grid-template-rows: auto; }
  .klp-hero-form { margin-top: 24px; }
  .klp-story-card, .klp-timeline-wrap, .klp-doctor, .klp-price, .klp-final-band { grid-template-columns: 1fr; }
  .klp-story-media { max-width: 300px; }
  .klp-timeline-media { max-width: 300px; }
  .klp-doctor-photo { max-width: 460px; aspect-ratio: 1; }
}
@media (max-width: 720px) {
  .klp-hero { padding-top: 92px; }
  .klp-hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .klp-hero .lede { font-size: 16px; margin-top: 14px; }
  .klp-signs { grid-template-columns: 1fr; gap: 10px; }
  .klp-signs li { padding: 16px; }
  .klp-inline-cta { flex-direction: column; align-items: stretch; text-align: left; padding: 18px; }
  .klp-myth-list { grid-template-columns: 1fr; }
  .klp-before-after { grid-template-columns: 1fr; }
  .klp-timeline li { grid-template-columns: 1fr; gap: 8px; }
  .klp-timeline-wrap .klp-timeline-media, .klp-story-media { max-width: 240px; }
  .klp-ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .klp-doc { flex-wrap: wrap; }
  .klp-stars { border-left: 0; padding-left: 0; text-align: left; display: flex; gap: 6px; align-items: baseline; width: 100%; padding-top: 10px; border-top: 1px solid var(--line); }
  .klp-stars small { max-width: none; }
  .klp-stats-row > div { padding: 18px 12px; }
  .klp-final-band { padding: 22px 16px; }
}

/* Thank-you page: WhatsApp-now block */
.wa-now { margin: 32px auto 0; max-width: 560px; padding: 26px; border-radius: var(--r-xl); background: #effaf3; border: 1px solid #cdebd8; }
.wa-now-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.wa-now-sub { margin: 6px 0 18px; color: var(--mute); font-size: 15px; }
.wa-now-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #1fa855; color: #fff; }
.wa-now-btn:hover { background: #178a45; color: #fff; }
.wa-now-btn svg { width: 22px; height: 22px; }
.thanks .wa-now .btn-wa-big { margin-top: 0; padding: 0 20px; }
.klp-fine-light { color: rgba(255, 255, 255, 0.65); margin: 0 0 18px; }

/* Knee LP, variant B: simple dark hero (what · who · why) with photo + video */
.klp-hero-b { position: relative; overflow: hidden; padding: clamp(96px, 11vh, 120px) 0 0; color: #fff; background: radial-gradient(900px 600px at 22% 40%, #15183a, transparent 70%), #0a0b1e; }
.klp-b-grid { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 5fr) minmax(0, 4.5fr); grid-template-areas: "photo copy form"; gap: 0 clamp(24px, 3vw, 48px); align-items: end; }
.klp-b-photo { grid-area: photo; position: relative; margin: 0; align-self: end; height: min(760px, 82vh); }
.klp-b-photo > img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 78%, transparent 100%); mask-composite: intersect; }
.klp-b-copy { grid-area: copy; align-self: center; padding-bottom: clamp(32px, 4vw, 56px); }
.klp-hero-b .klp-hero-form { grid-area: form; align-self: center; padding-bottom: clamp(32px, 4vw, 56px); color: var(--ink); }
.klp-b-eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); font-weight: 600; }
.klp-hero-b h1 { color: #fff; font-size: clamp(40px, 4.2vw, 64px); line-height: 1.04; margin-top: 14px; max-width: 12ch; }
.klp-hero-b h1 em { color: #9fc1ff; }
.klp-b-who { margin-top: 20px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 34ch; }
.klp-b-who strong { color: #fff; font-weight: 600; }
.klp-b-why { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 28px; }
.klp-b-why li { padding: 0 22px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.klp-b-why li:first-child { padding-left: 0; border-left: 0; }
.klp-b-why strong { display: block; font-size: clamp(28px, 2.4vw, 36px); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.klp-b-why span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, 0.66); max-width: 12ch; }
.klp-b-video { position: absolute; right: -4%; bottom: 16%; z-index: 2; width: 128px; aspect-ratio: 9 / 16; padding: 0; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 18px; overflow: hidden; background: #000; color: #fff; cursor: pointer; font: inherit; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.8); transition: transform 0.2s ease; }
.klp-b-video:hover { transform: translateY(-3px) scale(1.02); }
.klp-b-video:focus-visible { outline: 3px solid #9fc1ff; outline-offset: 3px; }
.klp-b-video > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.klp-b-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.65)); }
.klp-b-play svg { width: 22px; height: 22px; padding: 11px; border-radius: 50%; background: #fff; color: var(--navy); box-sizing: content-box; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25); }
.klp-b-vtxt { position: absolute; left: 0; right: 0; bottom: 10px; font-size: 12.5px; font-weight: 600; text-align: center; }
.clip-dialog { padding: 0; border: 0; background: transparent; max-width: min(92vw, 420px); width: 100%; overflow: visible; }
.clip-dialog::backdrop { background: rgba(5, 6, 16, 0.86); }
.clip-dialog-player video { display: block; width: 100%; max-height: 86vh; border-radius: 18px; background: #000; aspect-ratio: 9 / 16; }
.clip-dialog-close { position: absolute; top: 10px; right: 10px; z-index: 1; box-shadow: 0 4px 14px rgba(0,0,0,.4); width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
@media (max-width: 1180px) {
  .klp-b-grid { grid-template-columns: minmax(0, 3.6fr) minmax(0, 5fr) minmax(0, 4.6fr); }
  .klp-b-photo { height: min(680px, 80vh); }
  .klp-b-photo > img { width: 130%; height: 100%; object-fit: cover; object-position: 40% 20%; right: -10%; }
  .klp-b-video { right: 0; width: 104px; }
}
@media (max-width: 900px) {
  .klp-hero-b { padding-top: 88px; }
  .klp-b-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form"; }
  .klp-b-copy { position: relative; z-index: 1; padding-bottom: 0; pointer-events: none; }
  .klp-b-copy > :not(.klp-b-why) { max-width: 64%; }
  .klp-b-photo { position: absolute; top: 60px; right: -14%; width: 62%; max-width: 380px; height: auto; aspect-ratio: 900 / 1067; z-index: 0; }
  .klp-b-photo > img { height: 100%; }
  .klp-b-video { right: auto; left: 12%; bottom: auto; top: 58%; width: 72px; border-radius: 12px; }
  .klp-b-play svg { width: 16px; height: 16px; padding: 8px; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25); }
  .klp-b-vtxt { display: none; }
  .klp-hero-b .klp-hero-form { position: relative; z-index: 1; margin-top: 22px; padding-bottom: 36px; }
  .klp-hero-b h1 { font-size: clamp(32px, 8.6vw, 48px); }
  .klp-b-who { font-size: 16px; margin-top: 14px; }
  .klp-b-why { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
  .klp-b-why li { padding: 0 12px; }
  .klp-b-why span { max-width: none; font-size: 12px; }
}
@media (min-width: 521px) and (max-width: 900px) {
  .klp-b-copy { max-width: 60%; }
  .klp-b-copy > :not(.klp-b-why) { max-width: none; }
  .klp-b-photo { width: 46%; right: -4%; }
}
@media (max-width: 520px) {
  .klp-b-eyebrow { display: none; }
  .klp-hero-b h1 { margin-top: 0; }
}
/* Variant B, desktop fit-to-screen pass (Nov 1): hero fits a laptop window, photo anchored to top */
@media (min-width: 901px) {
  .klp-hero-b { padding: calc(var(--header-h, 84px) + 20px) 0 28px; }
  .klp-b-grid { align-items: stretch; }
  .klp-b-photo { height: auto; min-height: 480px; align-self: stretch; margin: -20px 0 -28px; }
  .klp-b-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; right: auto; }
  .klp-b-copy { align-self: center; padding-bottom: 0; }
  .klp-hero-b .klp-hero-form { align-self: center; padding-bottom: 0; }
  .klp-hero-b h1 { font-size: clamp(38px, 3.5vw, 58px); max-width: 14ch; margin-top: 0; }
  .klp-b-who { margin-top: 16px; font-size: clamp(16px, 1.2vw, 19px); }
  .klp-b-why { margin-top: 24px; }
  .klp-b-video { right: 8%; bottom: 7%; width: 104px; }
  .klp-hero-b .lp-form-card { padding: 26px 28px 22px; }
  .klp-hero-b .lp-form-card h2 { font-size: 26px; }
  .klp-hero-b .lp-form-card .form-sub { margin: 4px 0 14px; font-size: 14px; }
  .klp-hero-b .field { margin-bottom: 10px; gap: 4px; }
  .klp-hero-b .field input { min-height: 46px; padding: 10px 14px; }
  .klp-hero-b .field.tiempo legend { margin-bottom: 6px; }
  .klp-hero-b .tchip span { min-height: 40px; padding: 6px 8px; font-size: 13.5px; }
  .klp-hero-b .form-preview-note { margin-bottom: 10px; padding: 6px 10px; }
  .klp-hero-b .lp-form-foot { margin-top: 10px; font-size: 12px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .klp-b-photo > img { width: 100%; object-position: 45% 8%; }
}
/* Variant B (Nov 1b): photo bleeds to the screen's left edge, so no left fade over the arm */
@media (min-width: 901px) {
  .klp-b-photo { margin-left: calc((min(var(--wrap), 100vw - var(--gutter) * 2) - 100vw) / 2); }
  .klp-b-photo > img { object-position: 42% 8%; -webkit-mask-image: linear-gradient(to right, #000 0, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 82%, transparent 100%); mask-image: linear-gradient(to right, #000 0, #000 80%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 82%, transparent 100%); }
}

/* ---------- Migration parity (Nov 5): header phone, floating WhatsApp, home H1 chip ---------- */
.header-tel { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-left: 26px; color: var(--navy); font-size: 14px; font-weight: 600; white-space: nowrap; }
.header-tel svg { width: 16px; height: 16px; }
.header-tel:hover { text-decoration: underline; text-underline-offset: 3px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px rgba(20, 33, 58, 0.5); transition: transform 0.3s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.hero-title .hero-chip { display: flex; width: max-content; max-width: 100%; margin-bottom: 26px; font-size: 13px; line-height: 1.35; letter-spacing: normal; font-weight: 500; }
@media (max-width: 1080px) {
  .header-tel { margin-left: auto; }
  .header-tel span { display: none; }
  .header-tel + .header-cta { margin-left: 0; }
  .hero-title .hero-chip { margin-bottom: 14px; }
}
@media (max-width: 720px) {
  .header-tel { display: none; }
  .header-tel + .header-cta { margin-left: auto; }
  .wa-float { display: none; } /* phones use the fixed bottom bar (call + WhatsApp) */
}
@media (max-width: 520px) {
  .hero-title .hero-chip { width: auto; white-space: normal; border-radius: 16px; font-size: 12.5px; padding: 7px 12px 7px 9px; align-items: flex-start; }
  .hero-title .hero-chip img { margin-top: 1px; }
}
