/* ==========================================================================
   Simétrica Group — sistema visual v4 («La frase es el layout»)
   Inicio, Portafolio, encabezado y pie. Marca: azul #00306C + Inter.
   Sin etiquetas sobre títulos, sin numeración, sin líneas finas, sin
   degradados ni sombras en reposo.
   ========================================================================== */

:root {
    --v-bg: #f7f9fc;
    --v-tone: #edf1f7;
    --v-paper: #ffffff;
    --v-ink: #141a22;
    --v-soft: #4a5260;
    --v-mute: #5f6776;
    --v-navy: #00306c;
    --v-blue: #004697;
    --v-pale: #cdd9ec;

    --fs-display: clamp(44px, 9.2vw, 148px);
    --fs-h2: clamp(21px, 3.3vw, 52px);
    --fs-h3: clamp(22px, 2.15vw, 34px);
    --fs-lead: clamp(18px, 1.35vw, 22px);
    --fs-body: 17px;
    --fs-small: 14px;

    --gutter: clamp(20px, 2.8vw, 40px);
    --space: clamp(88px, 11vw, 184px);
    --radius-media: 10px;
    --nav-h: 76px;

    --ease-out: cubic-bezier(.2, .8, .2, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base de las páginas v4 ---------- */
body.v4 { background: var(--v-bg); color: var(--v-ink); font-family: 'Inter', system-ui, sans-serif; font-size: var(--fs-body); line-height: 1.55; }
.v4-main { display: block; }
.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding-inline: var(--gutter); }
.v4-main h1, .v4-main h2, .v4-main h3 { color: inherit; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.v4-main p { margin: 0; }
.v4-main img { display: block; max-width: 100%; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--v-navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }

/* Botones: rectángulo sólido, esquinas rectas, una sola forma en todo el sitio */
.b { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; font-size: 16px; font-weight: 600; line-height: 1.2; border: 2px solid transparent; border-radius: 0; text-decoration: none; transition: transform 120ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.b:active { transform: scale(.97); }
.b--solid { background: var(--v-navy); color: #fff; }
.b--line { background: transparent; color: var(--v-navy); border-color: var(--v-navy); }
.b--paper { background: #fff; color: var(--v-navy); }
.b--line-paper { background: transparent; color: #fff; border-color: #fff; }
@media (hover: hover) and (pointer: fine) {
    .b--solid:hover { background: var(--v-blue); }
    .b--line:hover { background: var(--v-navy); color: #fff; }
    .b--paper:hover { background: var(--v-pale); }
    .b--line-paper:hover { background: #fff; color: var(--v-navy); }
}
.b:focus-visible, .text-link:focus-visible, .symptom:focus-visible, .brands-names a:focus-visible, .fcase:focus-visible { outline: 3px solid var(--v-blue); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-block; font-weight: 600; color: var(--v-navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; text-decoration-color: rgba(0, 48, 108, .35); transition: text-decoration-color 180ms ease; }
@media (hover: hover) { .text-link:hover { text-decoration-color: currentColor; } }

/* ---------- Encabezado (todas las páginas) ---------- */
.site-nav { position: sticky; top: 0; z-index: 60; background: var(--v-bg); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: 0; } /* taste-skill-ignore: anula la sombra y el vidrio de main.css */
.site-nav .nav-inner { max-width: 1680px; height: var(--nav-h); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px; }
.site-nav .nav-logo img { height: 40px; width: auto; display: block; }
.site-nav .nav-links { margin-left: auto; }
.site-nav .nav-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav .nav-menu a { font-size: 16px; font-weight: 600; color: var(--v-ink); padding: 6px 0; background: none; border-radius: 0; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .35em; transition: text-decoration-color 180ms ease; }
.site-nav .nav-menu a:hover, .site-nav .nav-menu .current-menu-item > a { text-decoration-color: var(--v-navy); color: var(--v-ink); background: none; }
.site-nav .btn-nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; background: var(--v-navy); color: #fff; font-size: 16px; font-weight: 600; border-radius: 0; box-shadow: none; transition: background-color 180ms ease, transform 120ms var(--ease-out); } /* taste-skill-ignore: anula sombra */
.site-nav .btn-nav-cta:hover { background: var(--v-blue); transform: none; box-shadow: none; } /* taste-skill-ignore: anula sombra */
.site-nav .btn-nav-cta:active { transform: scale(.97); }
.site-nav .nav-hamburger { display: none; margin-left: auto; min-height: 44px; padding: 0 4px; background: none; border: 0; font: 600 16px/1 'Inter', sans-serif; color: var(--v-ink); text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
.site-nav .nav-mobile { background: var(--v-bg); border: 0; padding: 8px var(--gutter) 28px; }
.site-nav .nav-mobile-list { list-style: none; margin: 0 0 20px; padding: 0; }
.site-nav .nav-mobile-list a { display: block; padding: 10px 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--v-ink); border: 0; }
@media (max-width: 1024px) {
    .site-nav .nav-links, .site-nav .nav-inner > .btn-nav-cta { display: none; }
    .site-nav .nav-hamburger { display: inline-block; }
    .site-nav .btn-nav-cta--mobile { display: inline-flex; }
}

/* ---------- 1. Hero: la frase con la franja de trabajo ---------- */
.hs { padding-block: clamp(40px, 7vh, 96px) clamp(48px, 8vh, 104px); min-height: calc(100svh - var(--nav-h)); display: flex; align-items: stretch; }
.hs > .wrap { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(48px, 9vh, 120px); }
.hs-title { font-size: var(--fs-display); line-height: .92; letter-spacing: -.048em; color: var(--v-navy); }
.hs-line { display: flex; align-items: flex-end; gap: .2em; white-space: nowrap; }
.hs-line + .hs-line { margin-top: .04em; }
.hs-strip { position: relative; flex: 1 1 auto; min-width: 2.2em; height: .727em; margin-bottom: .095em; border-radius: var(--radius-media); overflow: hidden; background: var(--v-tone); }
.hs-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; }
.hs-strip img:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .hs-strip img { animation: strip-fade 28s linear infinite both; animation-delay: calc(var(--i) * 4s); }
    .hs-strip img:first-child { opacity: 0; }
    .hs-strip img { transform-origin: 50% 40%; }
}
@keyframes strip-fade {
    0% { opacity: 0; transform: scale(1.06); }
    2% { opacity: 1; }
    14.3% { opacity: 1; transform: scale(1); }
    16.3% { opacity: 0; }
    100% { opacity: 0; transform: scale(1); }
}
.hs-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 64px; }
.hs-lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 44ch; color: var(--v-ink); }
.hs-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.hs-note { font-size: var(--fs-small); color: var(--v-soft); }

/* ---------- 2. Marcas: los nombres como un párrafo ---------- */
.brands { padding-block: clamp(40px, 5vw, 72px) var(--space); }
.brands-title { font-size: var(--fs-h2); line-height: 1.08; max-width: 22ch; color: var(--v-ink); margin-bottom: clamp(28px, 3.4vw, 48px) !important; }
.brands-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1em .38em; font-size: clamp(30px, 4.7vw, 76px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.brands-names li:not(:last-child)::after { content: ","; color: var(--v-mute); }
.brands-names a { color: var(--v-mute); text-decoration: none; transition: color 200ms ease; display: inline-flex; align-items: flex-end; gap: .14em; }
.brands-frame { display: inline-block; width: 1.18em; height: .72em; margin-bottom: .14em; border-radius: 8px; overflow: hidden; transform-origin: left center; transition: transform 300ms var(--ease-out); }
.brands-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (hover: hover) and (pointer: fine) {
    .brands-names a:hover { color: var(--v-ink); }
    .brands-names a:hover .brands-frame { transform: scale(1.5); }
}

/* ---------- 3. El problema (campo azul) + síntomas ---------- */
.problem { background: var(--v-navy); color: #fff; padding-block: var(--space); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.problem h2 { font-size: var(--fs-h2); line-height: 1.06; color: #fff; margin-bottom: 28px !important; }
.problem-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--v-pale); max-width: 42ch; }
.problem-close { margin-top: 24px !important; font-size: var(--fs-lead); line-height: 1.5; font-weight: 600; color: #fff; max-width: 40ch; }
.symptoms { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.symptom { width: 100%; text-align: left; display: grid; gap: 6px; padding: 20px 24px; background: rgba(255, 255, 255, .08); color: #fff; border: 0; border-radius: 0; cursor: pointer; font: inherit; transition: background-color 180ms ease, color 180ms ease, transform 120ms var(--ease-out); }
.symptom strong { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.symptom span { font-size: 16px; line-height: 1.5; color: var(--v-pale); }
.symptom:active { transform: scale(.99); }
.symptom[aria-pressed="true"] { background: #fff; color: var(--v-navy); }
.symptom[aria-pressed="true"] span { color: var(--v-soft); }
@media (hover: hover) { .symptom[aria-pressed="false"]:hover { background: rgba(255, 255, 255, .16); } }
.answer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: #fff; color: var(--v-ink); }
.answer[hidden] { display: none; }
.answer-case { position: relative; display: block; overflow: hidden; min-height: 100%; background: var(--v-tone); }
.answer-case img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; aspect-ratio: 4 / 3; transition: transform 500ms var(--ease-out); }
.answer-case span { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: #fff; color: var(--v-ink); font-size: var(--fs-small); font-weight: 600; }
@media (hover: hover) { .answer-case:hover img { transform: scale(1.04); } }
.answer-body { padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.answer-body h3 { font-size: var(--fs-h3); line-height: 1.1; color: var(--v-navy); }
.answer-body p { font-size: var(--fs-body); line-height: 1.55; }
.answer-body .b { margin-top: auto; background: var(--v-navy); color: #fff; }
@media (hover: hover) { .answer-body .b:hover { background: var(--v-blue); } }
@media (prefers-reduced-motion: no-preference) {
    .answer.is-swapped { animation: answer-in 260ms var(--ease-out) both; }
}
@keyframes answer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 4. El sistema: filas con fotografía al margen ---------- */
.system { padding-block: var(--space); }
.system-head { margin-left: 33.333%; max-width: 760px; margin-bottom: clamp(64px, 8vw, 128px); }
.system-head h2 { font-size: var(--fs-h2); line-height: 1.04; margin-bottom: 20px !important; }
.system-head p { font-size: var(--fs-lead); line-height: 1.5; max-width: 46ch; }
.system-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(64px, 7vw, 112px); }
.system-row { display: grid; grid-template-columns: 33.333% minmax(0, 1fr) auto; align-items: start; gap: 0 clamp(24px, 3vw, 56px); }
.system-copy { grid-column: 2; max-width: 40ch; padding-top: 4px; }
.system-copy h3 { font-size: var(--fs-h3); line-height: 1.1; margin-bottom: 12px !important; }
.system-copy p { font-size: var(--fs-body); line-height: 1.6; }
.system-pic { grid-column: 3; margin: 0; }
.system-pic img { width: 100%; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-media); }
.system-pic figcaption { margin-top: 10px; font-size: var(--fs-small); color: var(--v-soft); }
.system-pic--portrait { width: clamp(200px, 19vw, 280px); }
.system-pic--portrait img { aspect-ratio: 4 / 5; }
.system-pic--wide { width: clamp(260px, 26vw, 400px); }
.system-pic--wide img { aspect-ratio: 3 / 2; }
.system-pic--square { width: clamp(200px, 18vw, 270px); }
.system-pic--square img { aspect-ratio: 1; object-position: 30% 20%; }
.system-pic--wide-sm { width: clamp(240px, 22vw, 340px); }
.system-pic--wide-sm img { aspect-ratio: 16 / 10; }
.system .text-link { margin: clamp(56px, 6vw, 96px) 0 0 33.333%; font-size: 18px; }

/* ---------- 5. Trabajo seleccionado ---------- */
.featured { background: var(--v-tone); padding-block: var(--space); }
.featured-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 4vw, 64px); }
.featured-head h2 { font-size: var(--fs-h2); line-height: 1.04; }
.featured-head .text-link { font-size: 18px; }
.featured-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: clamp(28px, 3vw, 48px) clamp(24px, 3vw, 48px); }
.fcase { display: flex; flex-direction: column; gap: 12px; color: var(--v-ink); text-decoration: none; }
.fcase--lead { grid-row: 1 / span 2; }
.fcase-pic { display: block; overflow: hidden; border-radius: var(--radius-media); background: #fff; }
.fcase-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 20%; transition: transform 600ms var(--ease-out); }
.fcase--lead .fcase-pic img { aspect-ratio: 5 / 4; }
.fcase-name { font-size: clamp(18px, 1.4vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.fcase-text { font-size: var(--fs-body); line-height: 1.55; max-width: 52ch; }
@media (hover: hover) { .fcase:hover .fcase-pic img { transform: scale(1.03); } .fcase:hover .fcase-name { text-decoration: underline; text-underline-offset: .25em; } }
/* Movimiento firma: la imagen principal se abre como un obturador */
@media (prefers-reduced-motion: no-preference) {
    .js-rv .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
    .js-rv .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease-out); }
    .js-rv .shutter.is-in { clip-path: inset(0); }
    .js-rv .shutter.is-in img { transform: none; }
}

/* ---------- 6. Método: las frases bajan en escalera ---------- */
.method { padding-block: var(--space); }
.method-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(56px, 7vw, 112px); }
.method-head h2 { font-size: var(--fs-h2); line-height: 1.04; }
.method-head p { font-size: var(--fs-lead); line-height: 1.5; justify-self: end; max-width: 38ch; }
.method-head p .text-link { margin-left: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 3.6vw, 56px); }
.step { margin-left: calc(var(--s) * 9%); max-width: 64%; }
.step h3 { font-size: clamp(24px, 2.9vw, 46px); line-height: 1.04; letter-spacing: -.035em; }
.step:last-child h3 { color: var(--v-navy); }
.step p { margin-top: 12px !important; font-size: var(--fs-body); line-height: 1.55; color: var(--v-soft); max-width: 50ch; }

/* ---------- 7. Llamado final: la pregunta en los dos bordes ---------- */
.ask { background: var(--v-navy); color: #fff; }
.ask-inner { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; text-align: center; padding-block: 32px 24px; }
.ask-title { display: contents; }
.ask-title span { font-size: clamp(54px, 10.6vw, 168px); line-height: 1; letter-spacing: -.05em; font-weight: 800; color: #fff; }
.ask-title span:last-child { grid-row: 3; }
.ask-mid { grid-row: 2; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 40px; }
.ask-choice { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.ask-or { font-size: 18px; color: var(--v-pale); }
.ask-note { font-size: var(--fs-body); color: var(--v-pale); max-width: 52ch; line-height: 1.55; }
.ask--pf .ask-title span { font-size: clamp(40px, 6.8vw, 112px); }

/* ---------- Pie de página (todas las páginas) ---------- */
.site-footer.v4-footer { background: var(--v-blue); color: #fff; border: 0; padding-block: clamp(72px, 7vw, 112px) 32px; font-family: 'Inter', system-ui, sans-serif; }
.v4-footer a { color: #fff; text-decoration: none; }
.v4-footer .ft-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px clamp(24px, 3vw, 56px); }
.v4-footer .ft-logo img { height: 42px; width: auto; display: block; margin-bottom: 20px; }
.v4-footer .ft-brand p { font-size: var(--fs-body); line-height: 1.55; color: var(--v-pale); max-width: 30ch; margin: 0; }
.v4-footer h2 { font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; margin: 0 0 16px; }
.v4-footer .ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v4-footer .ft-col a { font-size: 16px; color: var(--v-pale); transition: color 160ms ease; }
.v4-footer .ft-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.v4-footer .ft-resource p { font-size: 16px; color: var(--v-pale); margin: 0 0 14px; }
.v4-footer .footer-newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.v4-footer .footer-newsletter-form input[type="email"] { width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; color: var(--v-ink); border: 0; border-radius: 0; font: 16px 'Inter', sans-serif; }
.v4-footer .footer-newsletter-form .newsletter-btn-text { min-height: 48px; background: var(--v-navy); color: #fff; border: 0; border-radius: 0; font: 600 16px 'Inter', sans-serif; cursor: pointer; transition: background-color 160ms ease; }
.v4-footer .footer-newsletter-form .newsletter-btn-text:hover { background: #00265a; }
.v4-footer .newsletter-legal { font-size: var(--fs-small); color: var(--v-pale); margin-top: 10px; line-height: 1.5; }
.v4-footer .newsletter-legal a { color: #fff; text-decoration: underline; }
.v4-footer .newsletter-msg--ok { color: #fff; }
.v4-footer .newsletter-msg--error { color: #ffe1e1; }
.v4-footer .ft-contact { margin-top: clamp(80px, 10vw, 160px); }
.v4-footer .ft-contact-title { color: var(--v-pale); font-weight: 600; margin-bottom: 8px; }
.v4-footer .ft-big { display: block; font-size: clamp(34px, 6.4vw, 108px); font-weight: 800; letter-spacing: -.045em; line-height: 1; white-space: nowrap; transition: color 180ms ease; }
.v4-footer .ft-big:hover { color: var(--v-pale); }
.v4-footer .ft-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; margin-top: 28px; font-size: 18px; }
.v4-footer .ft-contact-row a:hover { text-decoration: underline; text-underline-offset: .25em; }
.v4-footer .social-links--footer { margin: 0; }
.v4-footer .social-links--footer a { background: rgba(255, 255, 255, .14); color: #fff; width: 44px; height: 44px; border-radius: 0; }
.v4-footer .social-links--footer a:hover { background: #fff; color: var(--v-blue); }
.v4-footer .ft-bottom { margin-top: clamp(48px, 5vw, 80px); font-size: var(--fs-small); color: var(--v-pale); }
.v4-footer .ft-bottom a { color: var(--v-pale); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Portafolio ---------- */
.pf-hero { padding-block: clamp(40px, 6vh, 88px) var(--space); }
.pf-title { display: flex; align-items: flex-end; gap: .22em; font-size: var(--fs-display); line-height: .92; letter-spacing: -.048em; color: var(--v-navy); }
.pf-strip { min-width: 2em; }
.pf-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; margin-top: clamp(40px, 5vw, 80px); align-items: start; }
.pf-statement { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; max-width: 22ch; }
.pf-intro-side { display: grid; gap: 20px; }
.pf-intro-side > p:first-child { font-size: var(--fs-lead); line-height: 1.5; }
.pf-nda { padding: 18px 20px; background: var(--v-tone); font-size: 16px; line-height: 1.55; color: var(--v-ink); }
.pf-group { padding-block: var(--space); }
.pf-group--0, .pf-group--2 { background: var(--v-tone); }
.pf-group--1 { background: var(--v-bg); }
.pf-group--1 .pf-change { background: var(--v-tone); }
.pf-group-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.pf-group-head h2 { font-size: var(--fs-h2); line-height: 1.04; color: var(--v-navy); }
.pf-group-head p { font-size: var(--fs-lead); line-height: 1.5; max-width: 44ch; justify-self: end; }
.pf-case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4.5vw, 80px); align-items: center; }
.pf-case + .pf-case { margin-top: clamp(80px, 9vw, 144px); }
.pf-case--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pf-case--flip .pf-case-media { order: 2; }
.pf-case-media { position: relative; }
.pf-shot { overflow: hidden; border-radius: var(--radius-media); background: #fff; }
.pf-shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 15%; transition: transform 700ms var(--ease-out); }
@media (hover: hover) { .pf-case:hover .pf-shot img { transform: scale(1.025); } }
.pf-phone { position: absolute; right: -2%; bottom: -8%; width: 22%; border-radius: 18px; overflow: hidden; background: #fff; border: 6px solid var(--v-ink); }
.pf-case--flip .pf-phone { right: auto; left: -2%; }
.pf-phone img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; }
.pf-case-body h3 { font-size: clamp(30px, 3.4vw, 56px); line-height: 1; letter-spacing: -.04em; }
.pf-sector { margin-top: 10px !important; font-size: 18px; font-weight: 600; color: var(--v-navy); }
.pf-case-body > p:not(.pf-sector):not(.pf-change):not(.pf-tags) { margin-top: 20px; font-size: var(--fs-body); line-height: 1.65; max-width: 54ch; }
.pf-change { margin-top: 20px !important; padding: 16px 18px; background: var(--v-paper); font-size: var(--fs-body); line-height: 1.55; max-width: 54ch; }
.pf-change strong { color: var(--v-navy); font-weight: 600; }
.pf-tags { margin-top: 16px !important; font-size: var(--fs-small); line-height: 1.6; color: var(--v-soft); max-width: 54ch; }

/* ---------- Aparición por partes (contenido visible sin JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js-rv .rv { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
    .js-rv .rv.in { opacity: 1; transform: none; }
}

/* ---------- Tableta y celular ---------- */
@media (max-width: 1024px) {
    .problem-grid { grid-template-columns: 1fr; }
    .system-head { margin-left: 0; }
    .system-row { grid-template-columns: minmax(0, 1fr) auto; }
    .system-copy { grid-column: 1; }
    .system-pic { grid-column: 2; }
    .system .text-link { margin-left: 0; }
    .featured-layout { grid-template-columns: 1fr 1fr; }
    .fcase--lead { grid-column: 1 / -1; grid-row: auto; }
    .fcase--lead .fcase-pic img { aspect-ratio: 16 / 10; }
    .step { max-width: 82%; margin-left: calc(var(--s) * 4%); }
    .pf-case, .pf-case--flip { grid-template-columns: 1fr; }
    .pf-case--flip .pf-case-media { order: 0; }
    .v4-footer .ft-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    :root { --space: 80px; }
    .hs { min-height: 0; padding-block: 28px 64px; }
    .hs > .wrap { gap: 40px; }
    .hs-title { font-size: clamp(40px, 11vw, 64px); }
    .hs-line { flex-wrap: wrap; white-space: normal; }
    .hs-strip { flex: 0 0 100%; height: auto; aspect-ratio: 2 / 1; margin: .18em 0 .12em; order: 2; }
    .hs-foot { grid-template-columns: 1fr; }
    .hs-actions { align-items: stretch; }
    .hs-actions .btn-row { flex-direction: column; }
    .hs-actions .b { width: 100%; }
    .brands-names { font-size: clamp(28px, 8.4vw, 40px); }
    .brands-frame--desk { display: none; }
    .answer { grid-template-columns: 1fr; }
    .answer-case img { aspect-ratio: 16 / 10; }
    .system-row { grid-template-columns: 1fr; gap: 20px; }
    .system-pic { grid-column: 1; }
    .system-row:nth-child(odd) .system-pic { width: 100%; }
    .system-row:nth-child(even) .system-pic { width: 72%; justify-self: end; }
    .featured-head { flex-direction: column; align-items: flex-start; }
    .featured-layout { grid-template-columns: 1fr; }
    .method-head, .pf-group-head, .pf-intro { grid-template-columns: 1fr; }
    .method-head p, .pf-group-head p { justify-self: start; }
    .step { max-width: none; margin-left: calc(var(--s) * 5vw); }
    .ask-inner { min-height: 86svh; padding-block: 28px 24px; }
    .ask-title span { font-size: clamp(44px, 14vw, 72px); }
    .ask--pf .ask-title span { font-size: clamp(32px, 9.4vw, 52px); }
    .ask-choice { flex-direction: column; gap: 12px; width: 100%; }
    .ask-choice .b { width: 100%; }
    .pf-title { flex-wrap: wrap; font-size: clamp(48px, 15vw, 80px); }
    .pf-strip { flex: 0 0 100%; height: auto; aspect-ratio: 2 / 1; margin: .1em 0 0; }
    .pf-phone { width: 30%; bottom: -6%; }
    .v4-footer .ft-top { grid-template-columns: 1fr; }
    .v4-footer .ft-big { white-space: normal; font-size: clamp(34px, 10vw, 56px); }
}

/* ---------- Ronda 2 ---------- */
:root { --fs-display: clamp(44px, 11.6vw, 176px); }
.v4-main .hs-title, .v4-main .pf-title { color: var(--v-navy); }
.hs { min-height: 0; padding-block: clamp(32px, 5vh, 72px) clamp(56px, 7vw, 104px); }
.hs > .wrap { gap: clamp(40px, 5vw, 80px); }
.ask-title span { font-size: clamp(54px, 9.6vw, 152px); }
.problem-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.problem-text { display: contents; }
.problem h2 { grid-column: 1 / -1; max-width: 24ch; margin-bottom: 0 !important; }
.problem-copy { grid-column: 1; }
.problem-live { grid-column: 2; }
.site-nav .nav-hamburger { width: auto; height: auto; padding: 0; }
@media (max-width: 720px) {
    .step { margin-left: calc(var(--s) * 3vw); }
    .step h3 { font-size: clamp(19px, 5.2vw, 24px); }
    .problem-copy, .problem-live { grid-column: 1; }
}
:root { --fs-display: clamp(44px, 11.2vw, 172px); }
.hs, .pf-hero, .brands { overflow-x: clip; }

/* ---------- Ronda 3: capturas siempre en su proporción real ---------- */
.fcase-pic img, .fcase--lead .fcase-pic img { aspect-ratio: 16 / 10; object-position: 50% 0; }
.featured-layout { align-items: start; }
.system-pic img, .system-pic--portrait img, .system-pic--square img, .system-pic--wide img, .system-pic--wide-sm img { aspect-ratio: 16 / 10; object-position: 50% 0; }
.system-pic--portrait { width: clamp(280px, 30vw, 480px); }
.system-pic--wide { width: clamp(300px, 36vw, 560px); }
.system-pic--square { width: clamp(260px, 27vw, 420px); }
.system-pic--wide-sm { width: clamp(280px, 32vw, 500px); }
.system-row { grid-template-columns: 25% minmax(0, 1fr) auto; }
.system-head, .system .text-link { margin-left: 25%; }
.symptom strong, .fcase-name { font-size: var(--fs-lead); }
.featured-head .text-link, .system .text-link { font-size: var(--fs-lead); }
.ask-or { font-size: 16px; }
@media (max-width: 1024px) {
    .system-row { grid-template-columns: minmax(0, 1fr) auto; }
    .system-head, .system .text-link { margin-left: 0; }
    .system-pic--portrait, .system-pic--wide, .system-pic--square, .system-pic--wide-sm { width: clamp(240px, 40vw, 380px); }
}
@media (max-width: 720px) {
    .system-row { grid-template-columns: 1fr; }
    .system-row:nth-child(odd) .system-pic { width: 100%; }
    .system-row:nth-child(even) .system-pic { width: 78%; }
}
@media (max-width: 1024px) {
    .problem-grid { grid-template-columns: 1fr; }
    .problem-copy, .problem-live { grid-column: 1; }
}
@media (max-width: 720px) { .ask--pf .ask-title span { font-size: clamp(26px, 7.2vw, 40px); } }

/* ---------- Franja de logos ---------- */
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 72px) clamp(24px, 3vw, 56px); align-items: center; }
.logo-wall a { display: flex; align-items: center; justify-content: flex-start; min-height: 72px; text-decoration: none; }
.logo-wall img { width: auto; max-width: min(100%, 230px); max-height: 46px; object-fit: contain; filter: brightness(0) opacity(.48); transition: filter 220ms ease, transform 220ms var(--ease-out); }
.logo-wall .logo-3house { max-height: 76px; }
.logo-wall .logo-latin-lover { max-height: 62px; }
.logo-wall .logo-calma-home { max-height: 58px; }
.logo-wall .logo-coordinadora { max-height: 34px; }
.logo-wall .logo-text { font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; letter-spacing: -.035em; color: var(--v-ink); opacity: .48; transition: opacity 220ms ease, color 220ms ease; }
@media (hover: hover) and (pointer: fine) {
    .logo-wall a:hover img { filter: none; }
    .logo-wall .is-light a:hover img { filter: brightness(0); }
    .logo-wall a:hover .logo-text { opacity: 1; color: var(--v-navy); }
}
.logo-wall a:focus-visible { outline: 3px solid var(--v-blue); outline-offset: 6px; }
@media (max-width: 720px) {
    .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
    .logo-wall img { max-width: 100%; max-height: 34px; }
    .logo-wall .logo-3house { max-height: 60px; }
    .logo-wall .logo-latin-lover, .logo-wall .logo-calma-home { max-height: 46px; }
    .logo-wall .logo-coordinadora { max-height: 26px; }
}
@media (max-width: 720px) { .ask--pf .ask-title span { font-size: clamp(26px, 7.2vw, 40px); } }
.logo-wall .logo-the-host { max-height: 60px; }
@media (max-width: 720px) { .logo-wall .logo-the-host { max-height: 46px; } }

/* Franja del titular: 3 capturas (3House, Calma Home, Caribe Paint), 5 s cada una */
@media (prefers-reduced-motion: no-preference) {
    .hs-strip img { animation: strip-fade-3 15s linear infinite both; animation-delay: calc(var(--i) * 5s); }
}
@keyframes strip-fade-3 {
    0% { opacity: 0; transform: scale(1.06); }
    4% { opacity: 1; }
    33.3% { opacity: 1; transform: scale(1); }
    37.3% { opacity: 0; }
    100% { opacity: 0; transform: scale(1); }
}
.hs-strip img { object-position: 50% 45%; }
