/* ==========================================================================
   REPSA Autocentro · main.css · v2
   Paleta del logo: azul marino del fondo, celeste de la flecha, rojo de AUTOCENTRO.
   Tipografía: Archivo (titulares, ancho variable) + Hanken Grotesk (texto).
   Iconos: Phosphor (duotono) dibujados con currentColor.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--navy-950: #040e24;
	--navy-900: #071735;
	--navy-850: #09204a;
	--navy-800: #0b2350;
	--navy-700: #10306a;
	--blue-600: #1557b0;
	--blue-500: #1b6ccf;
	--blue-050: #eaf2fc;
	--sky: #27a6df;
	--sky-soft: #c3e7f8;
	--red: #d0202e;
	--red-700: #ab1823;
	--red-050: #fdecee;
	--ink: #0f1a2c;
	--ink-2: #334159;
	--muted: #5b6780;
	--on-dark: #e8eef8;
	--on-dark-2: #b4c2da;
	--line: #dde3ec;
	--line-2: #edf0f5;
	--surface: #f1f4f8;
	--white: #ffffff;
	--ok: #127a45;

	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--navy-surface:
		radial-gradient(90% 80% at 100% 0%, rgba(27, 108, 207, .32) 0%, rgba(27, 108, 207, 0) 62%),
		radial-gradient(70% 70% at 0% 100%, rgba(16, 48, 106, .8) 0%, rgba(16, 48, 106, 0) 70%),
		linear-gradient(170deg, #051330 0%, #0a2254 60%, #0c2a63 100%);

	--f-head: "Archivo", "Arial Narrow", Arial, sans-serif;
	--f-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

	--r-xs: 6px;
	--r-sm: 8px;
	--r: 12px;
	--r-lg: 16px;
	--shadow-sm: 0 1px 2px rgba(11, 35, 80, .06), 0 3px 10px rgba(11, 35, 80, .05);
	--shadow: 0 2px 4px rgba(11, 35, 80, .05), 0 18px 36px -16px rgba(11, 35, 80, .28);
	--shadow-lg: 0 34px 70px -30px rgba(4, 14, 36, .6);
	--ease: cubic-bezier(.2, .7, .2, 1);

	--wrap: 1240px;
	--gutter: max(20px, env(safe-area-inset-left, 0px));
	--gutter-r: max(20px, env(safe-area-inset-right, 0px));
	--header-h: 84px;
	--z-header: 90;
	--z-drawer: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 700; font-stretch: 104%; line-height: 1.08; letter-spacing: -.015em; color: var(--navy-900); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sky-soft); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.ico { width: 22px; height: 22px; flex: none; fill: currentColor; }
.flip { transform: scaleX(-1); }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.container--narrow { max-width: 840px; }

/* ---------- Tipografía de sección ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 3px; background: var(--red); clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 50%, calc(100% - 4px) 100%, 0 100%); }
.kicker--light { color: var(--sky-soft); }
.section-title { font-size: clamp(30px, 3.4vw, 46px); max-width: 20ch; }
.section-title--light { color: #fff; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 36em; }
.block-title { display: flex; align-items: center; gap: 10px; font-size: 21px; font-stretch: 100%; margin-bottom: 18px; }
.block-title .ico { width: 26px; height: 26px; color: var(--blue-600); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-600); white-space: nowrap; min-height: 44px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--navy-800); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid transparent; font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 1.1; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.btn .ico { width: 21px; height: 21px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 18px -10px rgba(208, 32, 46, .75), inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn--primary:hover { background: var(--red-700); }
.btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--outline { background: #fff; border-color: var(--line); color: var(--navy-800); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--white { background: #fff; color: var(--red-700); }
.btn--white:hover { background: #fff4f5; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--sm .ico { width: 19px; height: 19px; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-2); font-size: 13.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar__branches { list-style: none; display: flex; gap: 26px; }
.topbar__branches li { display: flex; align-items: center; gap: 8px; }
.topbar__name { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { width: 15px; height: 15px; color: var(--sky); }
.topbar__branches a { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.topbar__branches a:hover { color: var(--sky-soft); }
.topbar__meta { display: flex; align-items: center; gap: 22px; }
.topbar__hours { display: inline-flex; align-items: center; gap: 7px; }
.topbar__social { display: inline-flex; gap: 2px; }
.topbar__social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #cbd6ea; transition: background-color .2s, color .2s; }
.topbar__social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.topbar__social .ico { width: 17px; height: 17px; color: currentColor; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); transition: box-shadow .25s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(11, 35, 80, .3); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand__img { height: 50px; width: auto; }
.nav { margin-left: auto; }
.nav__head, .nav__foot, .nav__toggle { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; list-style: none; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font-weight: 600; font-size: 15.5px; color: var(--ink-2); transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__item.is-current > .nav__link { color: var(--navy-900); }
.nav__item.is-current > .nav__link::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__link:hover { color: var(--navy-900); }
.nav__chev { width: 14px; height: 14px; transition: transform .2s; }
.nav__panel { position: absolute; top: calc(100% + 8px); left: -14px; min-width: 300px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; z-index: 10; }
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item.has-sub:hover > .nav__panel, .nav__item.has-sub:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s var(--ease); }
.nav__item.has-sub:hover > .nav__link .nav__chev { transform: rotate(180deg); }
.nav__sub { list-style: none; display: grid; gap: 2px; }
.nav__list > .nav__item:first-child .nav__panel { width: 640px; }
.nav__list > .nav__item:first-child .nav__sub { grid-template-columns: 1fr 1fr; }
.nav__sublink { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r); font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background-color .15s, color .15s; }
.nav__sublink:hover { background: var(--surface); color: var(--navy-900); }
.nav__subicon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-050); color: var(--blue-600); flex: none; }
.nav__subicon .ico { width: 24px; height: 24px; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; align-items: center; gap: 10px; color: var(--navy-900); }
.header__phone-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); color: var(--blue-600); }
.header__phone-ico .ico { width: 20px; height: 20px; }
.header__phone-txt { display: flex; flex-direction: column; line-height: 1.15; }
.header__phone small { font-size: 12px; color: var(--muted); font-weight: 500; }
.header__phone b { font-size: 16.5px; font-variant-numeric: tabular-nums; }
.header__phone:hover b { color: var(--blue-600); }
.header__cta { min-height: 48px; padding: 0 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-scrim { position: fixed; inset: 0; background: rgba(4, 14, 36, .52); z-index: 95; }

/* ---------- Superficies azules con grano ---------- */
.hero, .diagnose, .page-hero, .fleet-band { position: relative; isolation: isolate; }
.diagnose::after, .page-hero:not(.page-hero--photo)::before, .fleet-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; pointer-events: none; }

/* ---------- Portada: hero en la línea de marca (franjas azules, vehículos, fachada) ---------- */
.hero { background: #f2f6fb; color: var(--ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 0 38%; z-index: -2; background: linear-gradient(90deg, #f2f6fb 0%, rgba(242, 246, 251, .9) 45%, rgba(242, 246, 251, .78) 100%), url("../img/foto-fachada.webp") right 30% / cover no-repeat; filter: saturate(.35); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: repeating-radial-gradient(circle at 115% 180%, transparent 0 26px, rgba(11, 71, 184, .05) 26px 27px); }
.hero__stage { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; z-index: -1; }
.hero__band, .hero__stripe { position: absolute; inset: 0; }
.hero__band { background: linear-gradient(158deg, #1aa6ea 0%, #0b74d6 38%, #0844b4 72%, #06318f 100%); clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%); }
.hero__band::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; }
.hero__stripe { right: -5%; background: linear-gradient(180deg, #8fd6f7, #27a6df); clip-path: polygon(70% 0, 76% 0, 100% 100%, 95% 100%); opacity: .9; }
.hero__photo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hero__photo.is-active { opacity: 1; }
.hero__photo:not(.hero__photo--cutout) { clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%); }
.hero__photo:not(.hero__photo--cutout) img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; transform: scale(1.05); transition: transform 8s linear; }
.hero__photo:not(.hero__photo--cutout)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(158deg, rgba(26, 166, 234, .28) 0%, rgba(8, 68, 180, .45) 100%); mix-blend-mode: multiply; }
.hero__photo.is-active:not(.hero__photo--cutout) img { transform: scale(1); }
.hero__photo--cutout img { position: absolute; left: 5%; right: 4%; bottom: 9%; width: 91%; height: 80%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 26px 24px rgba(3, 20, 70, .38)); transform: translateX(-14px); transition: transform 1.1s var(--ease); }
.hero__photo--cutout.is-active img { transform: none; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; min-height: clamp(560px, 44vw, 680px); padding-top: clamp(40px, 4vw, 56px); padding-bottom: clamp(100px, 8vw, 124px); }
.hero__copy { grid-column: 2; position: relative; }
.hero__marks { width: 44px; height: auto; margin-bottom: 14px; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.hero__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__title { font-family: var(--f-head); font-weight: 800; font-stretch: 76%; font-size: clamp(42px, 4.7vw, 68px); line-height: 1.02; letter-spacing: -.01em; color: #0a6ec2; max-width: 13ch; text-wrap: balance; }
.hl { display: inline-flex; align-items: center; gap: .1em; margin: .06em 0 .1em -.06em; padding: .02em .34em .08em .26em; background: linear-gradient(100deg, #0b2350 0%, #0b47b8 100%); color: #fff; transform: skewX(-12deg); box-shadow: .14em .1em 0 #27a6df; white-space: nowrap; }
.hl__t, .hl__plus { transform: skewX(12deg); }
.hl__t { display: inline-block; }
.hl__plus { display: inline-block; width: .58em; height: .58em; flex: none; background: linear-gradient(#e1202f, #e1202f) center / 100% 34% no-repeat, linear-gradient(#e1202f, #e1202f) center / 34% 100% no-repeat; }
.hero__text { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 31em; }
.hero__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--navy-800); border-bottom: 1.5px solid rgba(11, 35, 80, .25); padding-bottom: 3px; transition: border-color .2s, color .2s; }
.hero__link .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.hero__link:hover { border-color: var(--blue-600); color: var(--blue-600); }
.hero__link:hover .ico { transform: translateX(3px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn--ghost { background: #fff; border-color: #cdd8e7; color: var(--navy-800); }
.hero .btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-600); background: #fff; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; border-top: 1px solid #d6dfeb; }
.hero__proof { list-style: none; display: flex; }
.hero__proof li { display: flex; flex-direction: column; gap: 2px; padding-right: 20px; }
.hero__proof li + li { padding-left: 20px; border-left: 1px solid #d6dfeb; }
.hero__proof b { font-family: var(--f-head); font-stretch: 90%; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--navy-900); }
.hero__proof span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.hero__nav { display: flex; align-items: center; gap: 12px; width: 150px; }
.hero__count { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero__count b { color: var(--navy-900); }
.hero__bars { display: flex; gap: 5px; flex: 1; }
.hero__bar { flex: 1; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero__bar i { display: block; width: 100%; height: 3px; border-radius: 2px; background: rgba(11, 35, 80, .16); position: relative; overflow: hidden; }
.hero__bar i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done i::after, .hero__bar.is-active i::after { transform: scaleX(1); }
.hero.is-playing .hero__bar.is-active i::after { transform: scaleX(0); animation: heroProgress var(--hero-interval, 7s) linear forwards; }
.hero.is-paused .hero__bar.is-active i::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }

/* ---------- Barra de cita ---------- */
.booking-wrap { position: relative; z-index: 5; margin-top: -64px; }
.booking { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.5vw, 30px); box-shadow: var(--shadow); }
.booking__title { font-size: 23px; font-stretch: 102%; }
.booking__text { margin-top: 6px; font-size: 15px; color: var(--muted); }
.booking__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.booking--card .field--svc, .booking--card .field--branch, .booking--card .booking__submit { grid-column: 1 / -1; }
.booking--bar { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 24px; box-shadow: 0 30px 60px -28px rgba(4, 14, 36, .45), 0 2px 6px rgba(11, 35, 80, .06); }
.booking--bar .booking__head { padding-right: 24px; border-right: 1px solid var(--line); }
.booking--bar .booking__title { font-size: 21px; }
.booking--bar .booking__text { font-size: 14px; }
.booking--bar .booking__fields { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.25fr) auto; margin: 0; align-items: end; }
.booking--bar .booking__submit { margin: 0; height: 52px; }
.booking--bar .booking__alt { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 6px; }
.field input, .select select { width: 100%; height: 52px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fbfcfd; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input::placeholder { color: #95a0b3; }
.field input:focus, .select select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 3px rgba(27, 108, 207, .14); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; text-overflow: ellipsis; }
.select .ico { position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice__opt > span { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-height: 52px; padding: 8px 12px 8px 38px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fbfcfd; transition: border-color .2s, background-color .2s; position: relative; }
.choice__opt > span::before { content: ""; position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #a7b2c4; transform: translateY(-50%); background: #fff; transition: border-color .2s, box-shadow .2s; }
.choice__opt b { font-size: 15px; font-weight: 700; color: var(--navy-900); line-height: 1.2; }
.choice__opt small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.choice__opt input:checked + span { border-color: var(--blue-500); background: #f2f7fe; }
.choice__opt input:checked + span::before { border-color: var(--blue-500); box-shadow: inset 0 0 0 4px #fff; background: var(--blue-500); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.booking__submit { margin-top: 4px; min-height: 54px; width: 100%; }
.booking--bar .booking__submit { width: auto; }
.booking__alt { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.booking__alt a { font-weight: 700; color: var(--navy-800); font-variant-numeric: tabular-nums; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--surface { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 46px); }
.section-head__aside { max-width: 30em; color: var(--muted); font-size: 16.5px; }

/* ---------- Tarjetas de servicio ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.svc-card:hover { border-color: #b8cae4; box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; flex: 1; }
.svc-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--blue-050); color: var(--blue-600); margin-bottom: 6px; transition: background-color .2s, color .2s; }
.svc-card__icon .ico { width: 32px; height: 32px; }
.svc-card:hover .svc-card__icon { background: var(--blue-600); color: #fff; }
.svc-card.has-photo .svc-card__icon { position: absolute; top: 14px; left: 14px; margin: 0; width: 46px; height: 46px; background: #fff; box-shadow: var(--shadow-sm); }
.svc-card__title { font-family: var(--f-head); font-weight: 700; font-stretch: 102%; font-size: 19px; line-height: 1.2; color: var(--navy-900); letter-spacing: -.005em; }
.svc-card__text { font-size: 15px; color: var(--muted); line-height: 1.5; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--blue-600); }
.svc-card__more .ico { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-card__more .ico { transform: translateX(3px); }
.svc-card--feature { grid-column: span 2; background: var(--navy-surface); border: 0; color: #fff; min-height: 290px; isolation: isolate; }
.svc-card--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; }
.svc-card--feature .svc-card__body { padding: 30px 30px 28px; gap: 12px; }
.svc-card--feature .svc-card__icon { width: 60px; height: 60px; background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.svc-card--feature .svc-card__icon .ico { width: 34px; height: 34px; }
.svc-card--feature:hover .svc-card__icon { background: var(--sky); color: var(--navy-950); }
.svc-card--feature .svc-card__title { color: #fff; font-size: clamp(23px, 2.1vw, 29px); max-width: 17ch; }
.svc-card--feature .svc-card__text { color: var(--on-dark-2); font-size: 16px; max-width: 34em; }
.svc-card--feature .svc-card__more { color: var(--sky-soft); }
.svc-card--feature::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 250px; height: 250px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .045); box-shadow: 0 0 0 28px rgba(255, 255, 255, .02); pointer-events: none; }
.svc-card--feature.has-photo { display: grid; grid-template-columns: 1fr 1fr; }
.svc-card--feature.has-photo .svc-card__media { order: 2; aspect-ratio: auto; height: 100%; }
.svc-card--feature.has-photo .svc-card__icon { position: static; background: rgba(255, 255, 255, .1); box-shadow: none; }
.svc-card--feature.has-photo::after { display: none; }

/* ---------- Diagnóstico (esquema del vehículo) ---------- */
.diagnose { background: var(--navy-surface); color: #fff; padding-block: clamp(64px, 8vw, 104px); overflow: hidden; }
.diagnose::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(195, 231, 248, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(195, 231, 248, .05) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(80% 90% at 70% 50%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(80% 90% at 70% 50%, #000 30%, transparent 85%); }
.diagnose__in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.diagnose__lead { margin-top: 16px; color: var(--on-dark-2); font-size: 17.5px; max-width: 32em; }
.diagnose__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.diagnose__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid rgba(195, 231, 248, .22); background: rgba(255, 255, 255, .04); color: var(--on-dark); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.diagnose__tab:hover { border-color: rgba(195, 231, 248, .5); }
.diagnose__tab[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--navy-900); }
.diagnose__num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(195, 231, 248, .14); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.diagnose__tab[aria-selected="true"] .diagnose__num { background: var(--red); color: #fff; }
.diagnose__panel { margin-top: 22px; padding: 22px; border-radius: var(--r-lg); background: rgba(4, 14, 36, .45); border: 1px solid rgba(195, 231, 248, .14); min-height: 236px; }
.diagnose__zone { display: grid; gap: 14px; }
.diagnose__zone[hidden] { display: none; }
.diagnose__q { font-size: 17px; color: #fff; font-weight: 500; }
.diagnose__svc { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r); background: #fff; color: var(--navy-900); transition: transform .2s var(--ease); }
.diagnose__svc:hover { transform: translateX(3px); }
.diagnose__svc-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-050); color: var(--blue-600); flex: none; }
.diagnose__svc-ico .ico { width: 28px; height: 28px; }
.diagnose__svc small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.diagnose__svc b { display: block; font-size: 16.5px; line-height: 1.25; }
.diagnose__go { margin-left: auto; color: var(--blue-600); }
.diagnose__alt { font-size: 14.5px; color: var(--sky-soft); text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.diagnose__zone .btn { justify-self: start; }
.car { position: relative; }
.car__svg { width: 100%; height: auto; overflow: visible; }
.car__wheels rect { fill: #0b1428; stroke: rgba(195, 231, 248, .55); stroke-width: 1.5; }
.car__tread path { stroke: rgba(195, 231, 248, .16); stroke-width: 2; }
.car__body { fill: rgba(11, 35, 80, .92); stroke: rgba(195, 231, 248, .8); stroke-width: 2; }
.car__glass { fill: rgba(39, 166, 223, .1); stroke: rgba(195, 231, 248, .6); stroke-width: 1.5; }
.car__roof { fill: rgba(9, 32, 74, .9); stroke: rgba(195, 231, 248, .45); stroke-width: 1.5; }
.car__lines path { fill: none; stroke: rgba(195, 231, 248, .4); stroke-width: 1.3; }
.car__xray rect, .car__xray circle, .car__xray path { fill: none; stroke: var(--sky); stroke-width: 1.4; stroke-dasharray: 4 4; opacity: .7; }
.car__xray .car__spring { stroke-dasharray: none; opacity: .9; }
.car__calipers path { stroke: var(--red); stroke-width: 4; stroke-linecap: round; }
.car__mirror { fill: rgba(11, 35, 80, .95); stroke: rgba(195, 231, 248, .6); stroke-width: 1.3; }
.car__light { fill: rgba(195, 231, 248, .55); }
.car__light--rear { fill: rgba(208, 32, 46, .75); }
.car__dims path { stroke: rgba(195, 231, 248, .35); stroke-width: 1; fill: none; }
.car__dims text { fill: rgba(195, 231, 248, .55); font-family: var(--f-body); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; }
.car__spot { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.car__spot span { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--navy-900); font-size: 14px; font-weight: 700; box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 6px 14px rgba(0, 0, 0, .35); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.car__spot:hover span { transform: scale(1.1); }
.car__spot.is-active span { background: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(208, 32, 46, .3), 0 6px 14px rgba(0, 0, 0, .35); }
.car__spot.is-active span::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(208, 32, 46, .6); animation: spotPulse 2s ease-out infinite; }
@keyframes spotPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.car__note { margin-top: 18px; font-size: 13px; color: var(--on-dark-2); text-align: center; }

/* ---------- Llantas ---------- */
.tires__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.prod-list { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.prod-list li { border-bottom: 1px solid var(--line); }
.prod-list a { display: flex; align-items: center; gap: 18px; padding: 16px 6px; border-radius: var(--r-sm); transition: background-color .2s; }
.prod-list a:hover { background: var(--surface); }
.prod-list__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--blue-050); color: var(--blue-600); flex: none; }
.prod-list__ico .ico { width: 30px; height: 30px; }
.prod-list__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.prod-list b { font-family: var(--f-head); font-size: 19px; font-weight: 700; color: var(--navy-900); }
.prod-list small { font-size: 15px; color: var(--muted); }
.prod-list__go { color: var(--blue-600); transition: transform .25s var(--ease); }
.prod-list a:hover .prod-list__go { transform: translateX(4px); }
.tires__tool { display: grid; gap: 14px; }
.decoder { background: var(--navy-surface); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; isolation: isolate; }
.decoder__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.decoder__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-soft); max-width: 24ch; }
.decoder__tire { width: 46px; height: 46px; color: rgba(195, 231, 248, .55); }
.decoder__code { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-top: 18px; }
.decoder__part { font-family: var(--f-head); font-weight: 700; font-stretch: 104%; font-size: clamp(28px, 3vw, 40px); line-height: 1; min-width: 44px; padding: 10px 10px 12px; border: 0; border-radius: var(--r-xs); background: transparent; color: #fff; cursor: pointer; font-variant-numeric: tabular-nums; position: relative; transition: background-color .2s, color .2s; }
.decoder__part::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; background: rgba(255, 255, 255, .28); }
.decoder__part:hover { background: rgba(255, 255, 255, .08); }
.decoder__part[aria-selected="true"] { background: var(--sky); color: var(--navy-950); }
.decoder__part[aria-selected="true"]::after { display: none; }
.decoder__sep { font-family: var(--f-head); font-size: clamp(28px, 3vw, 40px); font-weight: 300; color: rgba(255, 255, 255, .5); }
.decoder__gap { width: clamp(6px, 1vw, 14px); }
.decoder__out { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--sky); background: rgba(4, 14, 36, .38); border-radius: 0 var(--r-xs) var(--r-xs) 0; min-height: 90px; }
.decoder__out b { display: block; font-size: 15px; font-weight: 700; color: var(--sky-soft); }
.decoder__out p { margin-top: 4px; font-size: 16px; color: #e5ecf8; }
.decoder__foot { margin-top: 14px; font-size: 14.5px; color: var(--on-dark-2); }
.detail__main .brands { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Experiencia ---------- */
.experience__in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.experience__media { position: relative; padding-bottom: 28px; }
.experience__photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow); }
.experience__photo img { width: 100%; height: 100%; object-fit: cover; }
.experience__stamp { position: absolute; right: -18px; bottom: 0; display: flex; align-items: center; gap: 14px; max-width: 290px; padding: 18px 22px; border-radius: var(--r); background: var(--navy-800); color: #fff; box-shadow: var(--shadow-lg); }
.experience__stamp b { font-family: var(--f-head); font-stretch: 110%; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.experience__stamp span { font-size: 14.5px; line-height: 1.35; color: var(--on-dark-2); }
.feature-list { list-style: none; display: grid; gap: 22px; margin: 30px 0 30px; }
.feature-list li { display: flex; gap: 18px; }
.feature-list__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: #fff; color: var(--blue-600); border: 1px solid var(--line); flex: none; }
.feature-list__ico .ico { width: 28px; height: 28px; }
.feature-list h3 { font-size: 19px; font-stretch: 100%; }
.feature-list p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }

/* ---------- Banda de flotas ---------- */
.fleet-band { background: var(--navy-surface); color: #fff; overflow: hidden; padding-block: clamp(64px, 8vw, 100px); }
.fleet-band__bg { position: absolute; inset: 0; z-index: -2; }
.fleet-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.fleet-band.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 18, 48, .95) 0%, rgba(5, 18, 48, .82) 50%, rgba(5, 18, 48, .55) 100%); }
.fleet-band__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.fleet-band__text > p:not(.kicker) { margin-top: 18px; font-size: 18px; color: var(--on-dark-2); max-width: 34em; }
.fleet-band__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.fleet-band__list { list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); }
.fleet-band__list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fleet-band__list .ico { width: 30px; height: 30px; color: var(--sky); margin-top: 1px; }
.fleet-band__list b { display: block; font-family: var(--f-head); font-size: 19px; font-weight: 700; }
.fleet-band__list span { display: block; margin-top: 3px; color: var(--on-dark-2); font-size: 15.5px; }

/* ---------- Sucursales ---------- */
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.branch { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.branch__media { aspect-ratio: 16 / 9; overflow: hidden; }
.branch__media img { width: 100%; height: 100%; object-fit: cover; }
.branch__body { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 32px); flex: 1; }
.branch__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.branch__kind { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.branch__name { font-size: clamp(27px, 2.6vw, 34px); margin-top: 4px; }
.branch__pin { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-050); color: var(--blue-600); flex: none; }
.branch__pin .ico { width: 30px; height: 30px; }
.branch__addr { color: var(--ink-2); font-size: 16px; max-width: 34em; }
.branch__data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line); }
.branch__data > div { padding: 14px 14px 14px 0; min-width: 0; }
.branch__data > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.branch__data dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.branch__data dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.branch__data dd a:hover { color: var(--blue-600); }
.branch__data .branch__hours { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
.branch__data .branch__hours dd { font-weight: 500; font-size: 15px; }
.branch__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- Tarjetas de blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--navy-surface); color: rgba(195, 231, 248, .35); }
.post-card__ph .ico { width: 64px; height: 64px; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13.5px; color: var(--muted); }
.post-card__meta > * + *::before { content: "·"; margin-right: 12px; color: #b4bdcb; }
.post-card__cat { font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.post-card__title { font-family: var(--f-head); font-weight: 700; font-stretch: 100%; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.post-card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease); }
.post-card:hover .post-card__title a { background-size: 100% 1.5px; }
.post-card__excerpt { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--blue-600); }
.post-card__more .ico { width: 17px; height: 17px; }
.post-feature { margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.post-card--large { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.post-card--large .post-card__media { aspect-ratio: 16 / 9.5; }
.post-card--large .post-card__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.post-card--large .post-card__excerpt { font-size: 17px; }
.blog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
form.search { position: relative; display: flex; width: min(320px, 100%); }
form.search input { width: 100%; height: 46px; padding: 0 48px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; transition: border-color .2s, background-color .2s; }
form.search input:focus { outline: none; border-color: var(--blue-600); background: #fff; }
form.search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
form.search button .ico { width: 20px; height: 20px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.nav-links .page-numbers.current { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.nav-links a.page-numbers:hover { border-color: var(--blue-600); color: var(--blue-600); }
.nav-links .ico { width: 18px; height: 18px; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); }
.empty .block-title { justify-content: center; }

/* ---------- Franja CTA ---------- */
.cta-band { background: linear-gradient(110deg, #a81520 0%, var(--red) 55%, #d93340 100%); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -6%; top: -70%; width: 540px; height: 540px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); z-index: -1; pointer-events: none; }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; padding-block: clamp(44px, 5vw, 64px); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); max-width: 20ch; }
.cta-band p { margin-top: 10px; color: #ffe1e4; font-size: 17.5px; max-width: 36em; }
.cta-band__actions { display: flex; align-items: center; gap: 24px 28px; flex-wrap: wrap; }
.cta-band__phones { display: flex; gap: 26px; flex-wrap: wrap; }
.cta-band__phones a { display: flex; align-items: center; gap: 10px; line-height: 1.2; min-height: 44px; }
.cta-band__phones .ico { width: 22px; height: 22px; opacity: .85; }
.cta-band__phones small { display: block; font-size: 13px; color: #ffd0d4; }
.cta-band__phones b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.cta-band__phones a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); font-size: 15px; padding-top: clamp(56px, 7vw, 84px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.4fr; gap: 40px; }
.footer__logo { height: 52px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 32ch; line-height: 1.6; }
.footer__social { display: flex; gap: 8px; margin-top: 22px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background-color .2s, border-color .2s; }
.footer__social a:hover { background: var(--blue-600); border-color: var(--blue-600); }
.footer__social .ico { width: 20px; height: 20px; }
.footer__h { font-family: var(--f-body); font-stretch: 100%; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__h--gap { margin-top: 30px; }
.footer__list { list-style: none; display: grid; gap: 9px; }
.footer__list a { transition: color .2s; }
.footer__list a:hover { color: #fff; }
.footer__branch + .footer__branch { margin-top: 20px; }
.footer__branch b { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer__branch p { line-height: 1.5; }
.footer__phones { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.footer__phones a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-variant-numeric: tabular-nums; min-height: 32px; }
.footer__phones .ico { width: 16px; height: 16px; color: var(--sky); }
.footer__phones a:hover { color: var(--sky-soft); }
.footer__hours { display: flex; gap: 8px; margin-top: 18px; }
.footer__hours .ico { width: 18px; height: 18px; color: var(--sky); margin-top: 2px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8796b1; }
.footer__bottom a { color: #c6d2e6; }
.footer__bottom a:hover { color: #fff; }
.mobile-bar { display: none; }

/* ---------- Encabezado de página interna ---------- */
.page-hero { background: var(--navy-surface); color: #fff; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(34%, 460px); height: 6px; background: var(--sky); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 18, 48, .95) 0%, rgba(5, 18, 48, .82) 45%, rgba(5, 18, 48, .42) 100%); }
.page-hero__in { padding-block: clamp(40px, 5vw, 64px) clamp(52px, 6vw, 80px); }
.page-hero__in--split { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__title { font-size: clamp(34px, 4.4vw, 56px); color: #fff; max-width: 18ch; letter-spacing: -.02em; line-height: 1.04; font-stretch: 106%; }
.page-hero__lead { margin-top: 18px; font-size: 18.5px; color: var(--on-dark-2); max-width: 36em; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 14.5px; color: var(--on-dark); }
.page-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__facts .ico { width: 18px; height: 18px; color: var(--sky); }
.page-hero--compact .page-hero__in { padding-block: clamp(32px, 4vw, 48px) clamp(40px, 5vw, 60px); }
.page-hero--compact .page-hero__title { font-size: clamp(31px, 4vw, 50px); }
.page-hero__photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.page-hero__photo--tall { aspect-ratio: 4 / 4; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__emblem { position: relative; justify-self: center; display: grid; place-items: center; width: min(320px, 80%); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(195, 231, 248, .2); color: #fff; }
.page-hero__emblem::before { content: ""; position: absolute; inset: 13%; border-radius: 50%; border: 1px dashed rgba(195, 231, 248, .26); }
.page-hero__emblem::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: rgba(39, 166, 223, .14); border: 2px solid rgba(39, 166, 223, .5); }
.page-hero__emblem .ico { position: relative; z-index: 1; width: 30%; height: 30%; }
.crumbs { font-size: 14px; color: #a9badb; margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .3); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #e2eaf7; }

/* ---------- Detalle de servicio ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail__main { display: grid; gap: clamp(40px, 5vw, 56px); min-width: 0; }
.detail__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.check-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); }
.check-card--warn { background: #fff; border: 1px solid var(--line); }
.check-card--warn .block-title .ico { color: var(--red); }
.check-card .block-title { font-size: 19.5px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.check-list--warn li::before { background: var(--red-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23d0202e' stroke-width='3' stroke-linecap='round' d='M12 6.5v7M12 17.5v.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.steps-inline__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps-inline__list li { counter-increment: s; padding-top: 18px; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 6px; position: relative; }
.steps-inline__list li::before { content: "Paso " counter(s); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.steps-inline__list li::after { content: ""; position: absolute; left: 0; top: -2px; width: 40px; height: 2px; background: var(--red); }
.steps-inline__list b { font-family: var(--f-head); font-size: 19px; color: var(--navy-900); }
.steps-inline__list span { color: var(--muted); font-size: 15.5px; }
.sticky-card { position: static; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-weight: 600; font-size: 17.5px; color: var(--navy-900); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; transition: background-color .2s, border-color .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; background: var(--navy-800); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--navy-800); border-color: var(--navy-800); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item summary:hover { color: var(--blue-600); }
.faq__a { padding: 0 48px 22px 0; color: var(--ink-2); font-size: 16.5px; }
.related__list { list-style: none; border-top: 1px solid var(--line); }
.related__list li { border-bottom: 1px solid var(--line); }
.related__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 4px; font-weight: 600; color: var(--navy-900); transition: color .2s; }
.related__list a:hover { color: var(--blue-600); }
.related__list .ico { color: var(--blue-600); width: 18px; height: 18px; }

/* ---------- Páginas: piezas ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { background: #fff; border-radius: var(--r-lg); padding: 28px 24px; border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 17px; }
.step h3 { font-size: 20px; margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.intro-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-bottom: clamp(48px, 6vw, 72px); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.benefit { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.benefit:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.benefit__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; background: var(--blue-050); color: var(--blue-600); }
.benefit__ico .ico { width: 30px; height: 30px; }
.benefit h3 { font-size: 20px; margin: 18px 0 8px; }
.benefit p { color: var(--muted); font-size: 15.5px; }
.benefits--3 { margin-top: 40px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--navy-800); }
.stats > div { padding: 22px 24px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stats dt { font-size: 15px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--f-head); font-weight: 700; font-stretch: 110%; font-size: clamp(42px, 5vw, 62px); line-height: 1; color: var(--navy-800); letter-spacing: -.03em; }
.exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.exp-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.exp-card__media { aspect-ratio: 16 / 9; }
.exp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.exp-card__body { padding: clamp(24px, 3vw, 34px); }
.exp-card__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--navy-800); color: #fff; }
.exp-card__ico .ico { width: 30px; height: 30px; }
.exp-card h3 { font-size: 23px; margin: 20px 0 10px; }
.exp-card p { color: var(--muted); }
.form-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: var(--ink-2); }
.contact-line .ico { color: var(--blue-600); }
.contact-line a { font-weight: 600; color: var(--blue-600); }
.contact-list { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-050); color: var(--blue-600); flex: none; }
.contact-list span:not(.contact-list__ico) { display: flex; flex-direction: column; font-size: 16px; min-width: 0; }
.contact-list small { font-size: 13px; color: var(--muted); }
.contact-list a { font-weight: 700; font-size: 18px; color: var(--navy-900); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue-600); }
.photo-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 12px; border: 1px dashed currentColor; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; opacity: .7; }
.photo-hint .ico { width: 16px; height: 16px; }

/* ---------- Artículo ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.article__head { background: var(--surface); padding-block: clamp(32px, 5vw, 56px) clamp(56px, 6vw, 84px); }
.article__head-in { max-width: 1020px; }
.article__head .crumbs { color: var(--muted); }
.article__head .crumbs li + li::before { color: #b5bfcd; }
.article__head .crumbs a:hover { color: var(--blue-600); }
.article__head .crumbs [aria-current] { color: var(--ink-2); }
.article__cat { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.article__title { margin-top: 14px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.022em; max-width: 22ch; font-stretch: 106%; }
.article__lead { margin-top: 18px; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.article__author { display: flex; align-items: center; gap: 12px; }
.article__author img { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 3px; object-fit: contain; }
.article__author b { display: block; font-size: 15px; color: var(--navy-900); }
.article__author small { display: block; font-size: 13px; color: var(--muted); }
.article__facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14.5px; color: var(--muted); }
.article__facts > * + *::before { content: "·"; margin-right: 16px; color: #b5bfcd; }
.article__cover { margin-top: clamp(-44px, -3.5vw, -28px); margin-bottom: 0; }
.article__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.article__layout { display: grid; grid-template-columns: minmax(0, 740px) 300px; justify-content: space-between; gap: 56px; padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 96px); }
.article__body { min-width: 0; }
.article__aside { display: flex; flex-direction: column; gap: 22px; position: static; align-self: start; }
.toc { border-left: 2px solid var(--line); padding-left: 18px; }
.toc__title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc__list { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.toc__list a { color: var(--ink-2); display: block; line-height: 1.35; transition: color .2s; }
.toc__list a:hover, .toc__list a.is-active { color: var(--blue-600); }
.toc__list a.is-active { font-weight: 600; }
.aside-cta { background: var(--navy-surface); color: #fff; border-radius: var(--r-lg); padding: 26px; }
.aside-cta__k { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-soft); }
.aside-cta__t { margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 1.15; }
.aside-cta__p { margin: 10px 0 18px; color: var(--on-dark-2); font-size: 15px; }
.aside-cta__call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; min-height: 44px; font-weight: 700; color: #fff; }
.aside-cta__call .ico { width: 19px; height: 19px; }
.svc-callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; align-items: center; margin-top: 48px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.svc-callout__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: var(--blue-050); color: var(--blue-600); }
.svc-callout__ico .ico { width: 34px; height: 34px; }
.svc-callout__k { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.svc-callout__t { font-family: var(--f-head); font-weight: 700; font-size: 21px; color: var(--navy-900); margin-top: 2px; }
.svc-callout__p { font-size: 15px; color: var(--muted); margin-top: 2px; }
.svc-callout__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.author-box { display: flex; gap: 18px; margin-top: 32px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 5px; object-fit: contain; flex: none; border: 1px solid var(--line); }
.author-box__name { font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.author-box p:not(.author-box__name) { font-size: 15.5px; color: var(--ink-2); }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.article__tags a { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: var(--surface); color: var(--ink-2); }
.article__tags a:hover { color: var(--blue-600); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer; font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s; }
.share a:hover, .share button:hover { border-color: var(--blue-600); color: var(--blue-600); }
.share .ico { width: 19px; height: 19px; }

/* ---------- Prosa (contenido del editor) ---------- */
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose .lead, .prose > p.lead { font-size: 20px; color: var(--ink); line-height: 1.6; }
.prose h2 { font-size: clamp(25px, 2.6vw, 32px); margin-top: 1.9em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 21px; margin-top: 1.6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy-800); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--red); }
.prose ol li::marker { color: var(--blue-600); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--sky); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; font-size: 19px; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--r); }
.prose figure { margin: 1.8em 0; }
.prose figure img { width: 100%; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.prose .wp-block-image.alignright, .prose .alignright { float: right; width: min(46%, 340px); margin: .3em 0 1em 1.6em; }
.prose .wp-block-image.alignleft, .prose .alignleft { float: left; width: min(46%, 340px); margin: .3em 1.6em 1em 0; }
.prose h2, .prose .wp-block-separator, .prose hr { clear: both; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose .wp-block-table { overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface); color: var(--navy-900); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose--center { margin-inline: auto; max-width: 760px; }
.prose .wp-block-button__link { background: var(--red); color: #fff; border-radius: var(--r-sm); padding: 14px 24px; font-weight: 700; text-decoration: none; }
.prose .is-style-repsa-consejo, .prose .is-style-repsa-solucion, .prose .is-style-repsa-alerta { position: relative; padding: 18px 20px 18px 58px; border-radius: var(--r); font-size: 17px; line-height: 1.6; }
.prose .is-style-repsa-consejo::before, .prose .is-style-repsa-solucion::before, .prose .is-style-repsa-alerta::before { content: ""; position: absolute; left: 18px; top: 19px; width: 26px; height: 26px; background-repeat: no-repeat; background-size: contain; }
.prose .is-style-repsa-consejo { background: var(--blue-050); color: var(--navy-900); border: 1px solid #cfe0f6; }
.prose .is-style-repsa-consejo::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231557b0'%3E%3Cpath d='M176 232a8 8 0 0 1-8 8H88a8 8 0 0 1 0-16h80a8 8 0 0 1 8 8Zm40-128a87.55 87.55 0 0 1-33.64 69.21A16.24 16.24 0 0 0 176 186v6a16 16 0 0 1-16 16H96a16 16 0 0 1-16-16v-6a16 16 0 0 0-6.23-12.66A87.59 87.59 0 0 1 40 104.49C39.74 56.83 78.26 17.14 125.88 16A88 88 0 0 1 216 104Zm-16 0a72 72 0 0 0-73.74-72c-39 .92-70.47 33.39-70.26 72.39a71.65 71.65 0 0 0 27.64 56.3A32 32 0 0 1 96 186v6h64v-6a32.15 32.15 0 0 1 12.47-25.35A71.65 71.65 0 0 0 200 104Z'/%3E%3C/svg%3E"); }
.prose .is-style-repsa-solucion { background: #ecf7f1; color: #0d3a24; border: 1px solid #cbe8d8; }
.prose .is-style-repsa-solucion::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23127a45'%3E%3Cpath d='M173.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0ZM232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104Zm-16 0a88 88 0 1 0-88 88 88.1 88.1 0 0 0 88-88Z'/%3E%3C/svg%3E"); }
.prose .is-style-repsa-alerta { background: var(--red-050); color: #5a0d13; border: 1px solid #f5ccd0; }
.prose .is-style-repsa-alerta::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23d0202e'%3E%3Cpath d='M236.8 188.09 149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19 23.51 23.51 0 0 0 .02-23.72Zm-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2 7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72ZM120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0Zm20 36a12 12 0 1 1-12-12 12 12 0 0 1 12 12Z'/%3E%3C/svg%3E"); }
.prose .has-navy-color { color: var(--navy-800); } .prose .has-red-color { color: var(--red); } .prose .has-blue-color { color: var(--blue-600); }
.prose .has-surface-background-color { background: var(--surface); padding: 20px 24px; border-radius: var(--r); }
.alignwide { margin-inline: -60px; }

/* ---------- Entrada suave ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	.header__phone-txt { display: none; }
	.nav__link { padding: 10px 9px; font-size: 15px; }
	.nav__link::after { left: 9px; right: 9px; }
	.booking--bar { grid-template-columns: 1fr; gap: 16px; }
	.booking--bar .booking__head { padding: 0; border: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
	.booking--bar .booking__text { margin: 0; }
}
@media (max-width: 1100px) {
	:root { --header-h: 72px; }
	.brand__img { height: 42px; }
	.nav-toggle { display: grid; }
	.header__phone { display: none; }
	.nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer); width: min(420px, 92vw); margin: 0; background: #fff; display: flex; flex-direction: column; clip-path: inset(0 0 0 100%); transition: clip-path .4s var(--ease), visibility 0s .4s; visibility: hidden; box-shadow: -20px 0 40px -20px rgba(4, 14, 36, .4); overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom, 0px); }
	.nav-open .nav { clip-path: inset(0 0 0 -60px); visibility: visible; transition: clip-path .4s var(--ease); }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { z-index: 101; }
	.nav__head { display: flex; justify-content: space-between; align-items: center; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px 24px; border-bottom: 1px solid var(--line); }
	.nav__title { font-weight: 700; color: var(--navy-900); }
	.nav__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 0; background: var(--surface); color: var(--navy-900); cursor: pointer; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.nav__item { border-bottom: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: center; }
	.nav__link { flex: 1; padding: 16px 24px; font-size: 17px; color: var(--navy-900); }
	.nav__link::after, .nav__chev { display: none; }
	.nav__toggle { display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-left: 1px solid var(--line-2); background: none; color: var(--navy-900); cursor: pointer; }
	.nav__toggle .ico { transition: transform .25s; }
	.nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
	.nav__panel, .nav__list > .nav__item:first-child .nav__panel { position: static; width: 100%; min-width: 0; padding: 0 12px 12px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; transition: none; }
	.nav__panel::before { display: none; }
	.nav__item.is-open > .nav__panel, .nav__list > .nav__item.is-open:first-child .nav__panel { display: block; }
	.nav__list > .nav__item:first-child .nav__sub { grid-template-columns: 1fr; }
	.nav__item .nav__item { border: 0; }
	.nav__foot { display: grid; gap: 10px; padding: 20px 24px 28px; margin-top: auto; }
	.nav__call { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); color: var(--ink-2); }
	.nav__call .ico { color: var(--blue-600); width: 20px; height: 20px; }
	.nav__call b { margin-left: auto; color: var(--navy-900); font-variant-numeric: tabular-nums; }
	.svc-grid, .svc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.diagnose__in { grid-template-columns: minmax(0, 1fr); }
	.diagnose__visual { order: -1; }
	.diagnose__text { max-width: 640px; }
	.tires__in, .experience__in, .fleet-band__in, .intro-split, .form-split { grid-template-columns: minmax(0, 1fr); }
	.experience__media { max-width: 560px; }
	.experience__stamp { right: 16px; }
	.detail { grid-template-columns: 1fr; }
	.sticky-card { position: static; }
	.page-hero__in--split { grid-template-columns: 1fr; }
	.page-hero__emblem { display: none; }
	.page-hero__photo { max-width: 620px; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.article__layout { grid-template-columns: 1fr; }
	.article__aside { position: static; }
	.toc { display: none; }
	.post-card--large { grid-template-columns: 1fr; }
	.alignwide { margin-inline: 0; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 760px) {
	body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
	.topbar__meta { display: none; }
	.topbar__branches { gap: 12px; font-size: 13px; width: 100%; justify-content: space-between; }
	.header__in { gap: 12px; }
	.header__actions { margin-left: auto; gap: 10px; }
	.header__cta { display: none; }
	.brand__img { height: 36px; }
	.booking-wrap { margin-top: -72px; }
	.booking--bar .booking__fields { grid-template-columns: 1fr 1fr; }
	.booking--bar .field--svc, .booking--bar .field--branch, .booking--bar .booking__submit { grid-column: 1 / -1; }
	.booking--bar .booking__submit { width: 100%; }
	.booking__fields { grid-template-columns: 1fr; }
	.booking--card .field { grid-column: 1 / -1; }
	.svc-grid, .svc-grid--3 { grid-template-columns: 1fr; gap: 12px; }
	.svc-card--feature { grid-column: auto; min-height: 0; }
	.svc-card--feature.has-photo { grid-template-columns: 1fr; }
	.svc-card--feature.has-photo .svc-card__media { order: 0; aspect-ratio: 16 / 10; }
	.svc-card:not(.svc-card--feature):not(.has-photo) .svc-card__body { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 18px; }
	.svc-card:not(.svc-card--feature):not(.has-photo) .svc-card__icon { grid-row: span 3; margin: 0; width: 50px; height: 50px; }
	.svc-card:not(.svc-card--feature):not(.has-photo) .svc-card__more { margin-top: 2px; }
	.diagnose__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter) var(--gutter-r); scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter) var(--gutter-r); }
	.diagnose__tabs::-webkit-scrollbar { display: none; }
	.diagnose__tab { flex: none; scroll-snap-align: start; }
	.diagnose__panel { padding: 18px; min-height: 0; }
	.car__spot { width: 40px; height: 40px; }
	.car__spot span { width: 24px; height: 24px; font-size: 12px; }
	.car__dims { display: none; }
	.decoder__part { min-width: 40px; padding: 8px 7px 10px; }
	.decoder__part::after { left: 7px; right: 7px; }
	.experience__stamp { position: relative; right: auto; margin: -36px 16px 0; max-width: none; }
	.experience__media { padding-bottom: 0; }
	.branches, .post-grid, .exp-grid, .detail__cols { grid-template-columns: 1fr; }
	.branch__data { grid-template-columns: 1fr 1fr; }
	.branch__data > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.branch__actions .btn { flex: 1 1 auto; }
	.check-list--2 { grid-template-columns: 1fr; }
	.steps-inline__list, .steps { grid-template-columns: 1fr; }
	.benefits { grid-template-columns: 1fr; }
	.benefit, .benefit:not(:nth-child(3n + 1)) { padding: 26px 0; border-left: 0; }
	.stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
	.cta-band__actions { width: 100%; }
	.cta-band__actions .btn { flex: 1 1 100%; }
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.footer__brand, .footer__branches { grid-column: 1 / -1; }
	.blog-bar { flex-direction: column; align-items: stretch; }
	.chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter) var(--gutter-r); scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
	form.search { width: 100%; }
	.article__lead { font-size: 18px; }
	.article__cover { padding-inline: 0; }
	.article__cover img { border-radius: 0; aspect-ratio: 16 / 10; }
	.prose { font-size: 17px; }
	.prose .wp-block-image.alignright, .prose .alignright, .prose .wp-block-image.alignleft, .prose .alignleft { float: none; width: 100%; margin: 1.2em 0; }
	.svc-callout { grid-template-columns: 1fr; }
	.svc-callout__actions .btn { flex: 1 1 auto; }
	.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 35, 80, .25); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--r-sm); font-weight: 700; font-size: 15.5px; }
	.mobile-bar__call { border: 1.5px solid var(--line); color: var(--navy-900); }
	.mobile-bar__wa { background: var(--red); color: #fff; }
	.mobile-bar .ico { width: 21px; height: 21px; }
}
@media (max-width: 400px) {
	.choice { grid-template-columns: 1fr; }
}

/* ---------- Ajustes finos ---------- */
.booking--bar .choice__opt > span { padding: 8px 10px 8px 34px; }
.booking--bar .choice__opt > span::before { left: 11px; }
.booking--bar .choice__opt b { white-space: nowrap; }
/* v2.0.5 · Barra de cita: cada campo en su columna, sin que nada se toque */
@media (min-width: 1101px) {
	.booking--bar .booking__fields { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) max-content max-content; column-gap: 20px; }
	.booking--bar .choice { grid-template-columns: repeat(2, max-content); gap: 10px; }
	.booking--bar .booking__submit { padding-inline: 28px; white-space: nowrap; }
	.booking-wrap .booking--bar { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 28px 28px; }
	.booking-wrap .booking--bar .booking__head { padding: 0; border: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
	.booking-wrap .booking--bar .booking__text { margin: 0; }
}
@media (max-width: 1100px) {
	.diagnose__in { row-gap: 0; }
	.diagnose__text { display: contents; }
	.diagnose__text > * { order: 0; }
	.diagnose__visual { order: 1; margin-top: 28px; }
	.diagnose__tabs, .diagnose__panel { order: 2; }
	.diagnose__tabs { margin-top: 24px; }
}
@media (max-width: 760px) {
	.booking--bar .booking__fields { grid-template-columns: minmax(0, 1fr); }
	.booking--bar .choice { grid-template-columns: 1fr 1fr; }
	.decoder__code { gap: 0; }
	.decoder__part, .decoder__sep { font-size: 27px; }
	.decoder__part { min-width: 0; padding: 8px 6px 10px; }
	.decoder__part::after { left: 6px; right: 6px; }
	.decoder__gap { width: 4px; }
}
.article__cover img, .article__cover img[style] { aspect-ratio: auto; max-height: 620px; object-fit: cover; }
@media (max-width: 760px) { .article__cover img { aspect-ratio: auto; } }
.prose figure.wp-block-image img { max-height: 760px; object-fit: contain; width: auto; margin-inline: auto; }
@media (max-width: 760px) {
	.page-hero__actions .btn, .fleet-band__actions .btn { flex: 1 1 100%; }
}

/* Hero en tableta y móvil */
@media (max-width: 1100px) {
	.hero__stage { position: relative; width: 100%; height: clamp(250px, 56vw, 470px); }
	.hero__band, .hero__photo:not(.hero__photo--cutout) { clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%); }
	.hero__stripe { right: 0; clip-path: polygon(0 100%, 100% 74%, 100% 79%, 0 105%); }
	.hero__photo--cutout img { left: 6%; right: 6%; width: 88%; bottom: 12%; height: 82%; }
	.hero::before { inset: 40% 0 0 0; }
	.hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 8px; padding-bottom: 108px; }
	.hero__copy { grid-column: auto; }
	.hero__marks { display: none; }
	.hero__title { max-width: 15ch; }
}
@media (max-width: 760px) {
	.hero__title { font-size: clamp(36px, 10.5vw, 48px); }
	.hero__text { font-size: 16.5px; margin-top: 14px; }
	.hero__actions { margin-top: 22px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__foot { margin-top: 26px; }
	.hero__proof { width: 100%; }
	.hero__proof li { flex: 1; padding-right: 10px; }
	.hero__proof li + li { padding-left: 10px; }
	.hero__proof b { font-size: 24px; }
	.hero__proof span { font-size: 12px; }
	.hero__nav { width: 100%; }
}
/* Hero: afinado */
.hero::before { background: linear-gradient(90deg, #f2f6fb 0%, rgba(242, 246, 251, .95) 50%, rgba(242, 246, 251, .86) 100%), url("../img/foto-fachada.webp") right 30% / cover no-repeat; }
.hero__title { max-width: 15ch; font-size: clamp(42px, 4.4vw, 62px); }
@media (min-width: 1101px) {
	.hero__photo--cutout img { top: 12%; bottom: 10%; height: auto; object-position: center 62%; }
}
@media (min-width: 1101px) {
	.hero__stage { width: 52%; }
	.hero__copy { padding-left: 16px; }
}
@media (max-width: 1100px) {
	.header__actions { margin-left: auto; }
}

/* ==========================================================================
   Hero v3: composición ajustada al alto de pantalla
   ========================================================================== */
.hero__marks { position: absolute; z-index: 1; left: 64%; top: 7%; width: 40px; height: auto; margin: 0; }
.hero__photo--cutout { display: flex; align-items: center; justify-content: center; padding: 6% 5% 9% 4%; }
.hero__photo--cutout img, .hero__photo--cutout img[width] { position: static; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.hero__photo--cutout::after { content: ""; position: absolute; left: 10%; right: 12%; bottom: 10%; height: 9%; background: radial-gradient(50% 50% at 50% 50%, rgba(2, 16, 58, .45), rgba(2, 16, 58, 0)); z-index: -1; }
.hero__in { min-height: clamp(500px, calc(100svh - 230px), 620px); padding-top: clamp(32px, 3.4vw, 48px); padding-bottom: clamp(92px, 7vw, 108px); }
.hero__title { font-size: clamp(40px, 3.9vw, 58px); line-height: 1; }
.hero__text { margin-top: 16px; font-size: 17.5px; }
.hero__link { margin-top: 12px; }
.hero__actions { margin-top: 24px; }
.hero__proof { margin-top: 28px; padding-top: 16px; border-top: 1px solid #d6dfeb; max-width: 520px; }
.hero__proof li { flex: 1; }
.hero__nav { position: absolute; z-index: 2; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: clamp(92px, 7vw, 108px); width: 170px; }
.hero__count { color: rgba(255, 255, 255, .75); }
.hero__count b { color: #fff; }
.hero__bar i { background: rgba(255, 255, 255, .3); }
.hero__bar i::after { background: #fff; }
@media (min-width: 1101px) {
	.hero__photo--cutout { padding: 7% 7% 12% 3%; }
}
@media (max-width: 1100px) {
	.hero__marks { display: none; }
	.hero__in { min-height: 0; padding-top: 8px; padding-bottom: 100px; }
	.hero__photo--cutout { padding: 5% 7% 15%; }
	.hero__photo--cutout::after { bottom: 15%; }
	.hero__nav { top: 16px; bottom: auto; left: auto; right: var(--gutter-r); width: 140px; }
}
@media (max-width: 760px) {
	.hero__proof { margin-top: 24px; }
	.hero__nav { width: 120px; }
}
/* Hero: tableta horizontal conserva la composición dividida */
@media (min-width: 861px) and (max-width: 1100px) {
	.hero__stage { position: absolute; width: 50%; height: auto; }
	.hero__band, .hero__photo:not(.hero__photo--cutout) { clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%); }
	.hero__stripe { right: -5%; clip-path: polygon(70% 0, 76% 0, 100% 100%, 95% 100%); }
	.hero::before { inset: 0 0 0 38%; }
	.hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 540px; padding-top: 36px; padding-bottom: 100px; }
	.hero__copy { grid-column: 2; padding-left: 8px; }
	.hero__title { font-size: clamp(38px, 4.6vw, 48px); }
	.hero__photo--cutout { padding: 8% 8% 14% 2%; }
	.hero__nav { top: auto; right: auto; bottom: 100px; left: var(--gutter); }
	.hero__text { font-size: 16.5px; }
	.hero__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 860px) {
	.hero__stage { height: clamp(220px, 50vw, 400px); }
}
@media (max-width: 760px) {
	.hero .kicker { font-size: 12px; letter-spacing: .07em; gap: 8px; }
	.hero .kicker::before { width: 16px; }
}
.hero::before { background: linear-gradient(90deg, #f2f6fb 0%, rgba(242, 246, 251, .96) 50%, rgba(242, 246, 251, .9) 100%), url("../img/foto-fachada.webp") right 30% / cover no-repeat; }
@media (min-width: 1101px) { .hero__photo--cutout { padding: 5% 5% 10% 1%; } }
@media (max-width: 760px) { .hero .kicker { align-items: flex-start; } .hero .kicker::before { margin-top: .6em; flex: none; } }
/* Pulido general */
.post-card__media { aspect-ratio: 2 / 1; }
.post-card--large .post-card__media { aspect-ratio: 2 / 1; }
@media (min-width: 761px) { .branch__addr { min-height: 3.2em; } }
@media (min-width: 1241px) { .booking--bar { grid-template-columns: 220px minmax(0, 1fr); } }
@media (max-width: 860px) { .hero__stage { height: clamp(240px, 64vw, 420px); } .hero__photo--cutout { padding: 7% 4% 17%; } }

/* ---------- Marcas: secuencia continua de logos oficiales ---------- */
.brands { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px 36px; margin-top: clamp(44px, 5vw, 64px); padding-top: 30px; border-top: 1px solid var(--line); }
.brands__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); max-width: 9.5em; line-height: 1.4; }
.brands__rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.brands__track { list-style: none; display: flex; gap: 14px; width: max-content; padding: 4px 0; animation: brandsRoll 48s linear infinite; }
.brands__rail:hover .brands__track { animation-play-state: paused; }
@keyframes brandsRoll { to { transform: translateX(calc(-50% - 7px)); } }
.brands__item { flex: none; display: grid; place-items: center; width: 188px; height: 84px; padding: 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(11, 35, 80, .04); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.brands__item:hover { border-color: #c4d3e8; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.brands__logo { display: block; max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.brands__name { font-family: var(--f-head); font-weight: 800; font-stretch: 112%; font-size: 19px; letter-spacing: -.01em; color: var(--navy-800); white-space: nowrap; }
.detail__main .brands { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
	.brands { grid-template-columns: minmax(0, 1fr); }
	.brands__label { max-width: none; }
	.brands__item { width: 150px; height: 72px; padding: 14px 16px; }
	.brands__logo { max-height: 32px; }
	.brands__name { font-size: 16px; }
	.brands__track { animation-duration: 30s; }
}
@media (prefers-reduced-motion: reduce) {
	.brands__rail { -webkit-mask-image: none; mask-image: none; }
	.brands__track { animation: none; width: auto; flex-wrap: wrap; }
	.brands__item[aria-hidden="true"] { display: none; }
}

/* v2.0.1 · Blog: imágenes de entradas antiguas y paginación */
.prose .legacy-img { margin: 28px 0; }
.prose .legacy-img img { width: 100%; height: auto; border-radius: var(--r-sm, 8px); }

/* v2.0.6 · Barra superior en celular: cada número con su sucursal */
@media (max-width: 760px) {
	.topbar__in { min-height: 36px; }
	.topbar__branches { gap: 10px; font-size: 12.5px; justify-content: center; }
	.topbar__branches li { gap: 6px; }
	.topbar__branches li + li { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .18); }
	.topbar__name { color: var(--on-dark-2); font-weight: 500; }
	.topbar__name .ico { display: none; }
}

/* v2.0.6 · Portadas diseñadas (con texto): se muestran completas sobre su propio fondo difuminado */
.post-card__media, .article__cover { position: relative; isolation: isolate; }
.cover-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) saturate(1.15) brightness(.92); transform: scale(1.2); pointer-events: none; }
.post-card__media img.is-fit { object-fit: contain; }
.post-card:hover .post-card__media img.is-fit { transform: none; }
.post-card__media .cover-bg { transition: none; }

/* v2.0.7 · Menú móvil: el desenfoque del encabezado encerraba el panel (72 px). En móvil el encabezado va sólido. */
@media (max-width: 1100px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav__item > a[href="#"] { cursor: pointer; }
}
/* v2.0.7 · Con sesión iniciada, la barra de WordPress no tapa el encabezado del menú */
@media (max-width: 1100px) { .admin-bar .nav { top: 32px; } }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
