/* Gipuzkoa: ritmo compacto y señalética industrial. */
:root{--gp-h1:clamp(1.875rem,1.15rem + 3vw,3.5rem);--gp-hero-space:clamp(3rem,7vw,6rem);--gp-signal:#ff9e87;--gp-mobile-margin:12px}
.rd-heroe h1,.rd-heroe--editorial h1{font-size:var(--gp-h1);line-height:1.12;max-width:24ch}
.rd-heroe--foto .rd-heroe__interior,.rd-heroe--editorial .rd-heroe__interior{padding-block:var(--gp-hero-space)}
.rd-heroe--oscuro .rd-antetitulo,.rd-heroe--oscuro .rd-heroe__pruebas .rd-icono{color:var(--gp-signal)}
.rd-heroe--oscuro .rd-heroe__entrada,.rd-heroe--oscuro .rd-heroe__pruebas{color:var(--c-oscuro-texto)}
.rd-heroe__pruebas{font-size:1rem}
.rd-boton{white-space:nowrap}
.rd-migas a,.rd-nav__enlace{min-height:44px;align-content:center}
.rd-migas [aria-current=page]{max-width:none;flex-shrink:0}
.rd-cabecera__cta{font-size:1rem}
@media(max-width:640px){
 .rd-cabecera .rd-contenedor{padding-inline:var(--gp-mobile-margin)}
 .rd-cabecera__barra{gap:8px;min-height:64px}
 .rd-cabecera .rd-logo{font-size:1rem;gap:4px;letter-spacing:-.045em}
 .rd-cabecera .rd-logo__detalle{width:10px;height:10px}
 .rd-cabecera__acciones{gap:8px;margin-left:auto}
 .rd-nav+.rd-cabecera__acciones{margin-left:auto}
 .rd-cabecera__cta{display:inline-flex;padding-inline:12px;min-height:44px}
 .rd-cabecera .rd-hamburguesa{width:44px;height:44px;flex:none}
 .rd-heroe__velo{background:color-mix(in srgb,var(--c-oscuro) 82%,transparent)}
 .rd-heroe__acciones .rd-boton{width:100%}
 .rd-heroe__pruebas{gap:16px}
 .rd-heroe__entrada{font-size:1.0625rem}
}
@media(min-width:1000px) and (max-width:1200px){.rd-nav__enlace{padding-inline:8px;font-size:1rem}.rd-cabecera .rd-logo{font-size:1rem}}

.rd-pie__marca a{overflow-wrap:anywhere}

@media(min-width:760px) and (max-width:1199px){.rd-pie__rejilla{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.rd-pie__marca{grid-column:1/-1}}
@media(max-width:999px){.rd-nav+.rd-cabecera__acciones{margin-left:auto}}
.rd-pie__marca{min-width:0}
.rd-pie__contacto a{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.rd-pie__marca .rd-logo__fuerte{color:var(--gp-signal)}

@media(min-width:1200px){.rd-pie__rejilla{grid-template-columns:minmax(0,2.4fr) repeat(4,minmax(0,1fr));gap:24px}}

.gp-corredor{display:grid;gap:32px}.gp-corredor img{width:100%;height:auto;background:var(--c-fondo);border-radius:var(--radio,8px)}.gp-corredor__datos{display:grid;gap:24px;text-align:left}.gp-corredor__datos h3{margin-block:8px}.gp-corredor__datos p{max-width:65ch}.gp-corredor__datos .rd-antetitulo{color:var(--gp-signal)}
@media(min-width:1000px){.gp-corredor{grid-template-columns:1.4fr 1fr;align-items:center}[data-plantilla=hoja] .rd-heroe--editorial{position:relative}[data-plantilla=hoja] .rd-heroe--editorial::after{content:"";position:absolute;width:38%;height:65%;right:4%;top:20%;background:url('/corredor-gipuzkoa-4bab4756d4.svg') center/contain no-repeat;opacity:.6;pointer-events:none}}

:root{--gp-muted:#526059;--gp-footer:#d0d9d4;--gp-grid-gap:32px}
.cot .cot-pista,.cot .cot-campo .cot-pista,.cot .cot-datos dt,.cot .cot-precio small,.cot .cot-pasos{color:var(--gp-muted);font-size:1rem}
.cot-widget.cot-widget{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.rd-pie,.rd-pie a,.rd-pie__marca p{color:var(--gp-footer)}
[data-plantilla=cotizador-pago] .cot-datos{grid-template-columns:1fr;gap:24px}
[data-plantilla=cotizador-pago] .cot-datos>div{display:block}
[data-plantilla=cotizador-pago] .cot-datos dt{margin-bottom:8px}
@media(min-width:760px){[data-plantilla=cotizador-pago] .cot-datos{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gp-grid-gap)}}
.cot .cot-pasos [data-estado=hecho] i::before{color:var(--c-primario-contraste,#fff)}
@media(max-width:640px){
 .cot .cot-pasos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 .cot .cot-pasos li{justify-content:center}
 .cot .cot-pasos [data-estado] > :is(a,.cot-paso){display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px 0}
 .cot .cot-pasos [data-estado] > :is(a,.cot-paso) > span:not(.cot-solo-lectores){display:block;font-size:1rem}
 [data-plantilla=hoja] .rd-heroe--editorial::after{content:"";display:block;position:relative;width:calc(100% - 40px);height:110px;margin:0 20px 32px;background:url('/corredor-gipuzkoa-compacto-826da05824.svg') center/contain no-repeat}
}
@media(min-width:1000px){[data-plantilla=portada] .rd-heroe--foto::after{content:"";position:absolute;right:6%;top:45%;width:32%;height:140px;z-index:1;background:url('/corredor-gipuzkoa-compacto-826da05824.svg') center/contain no-repeat;pointer-events:none}}

[data-plantilla=hoja] .rd-heroe--editorial::after{opacity:1}
@media(max-width:640px){[data-plantilla=hoja] .rd-heroe--editorial::after{height:180px}}
@media(min-width:1000px){[data-plantilla=portada] .rd-heroe--foto::after{background-image:url('/corredor-gipuzkoa-heroe-3236cc5eab.svg');height:240px;top:36%;width:34%}}

@media(max-width:640px){[data-plantilla=cotizador-ofertas] .cot-resumen{padding:16px}[data-plantilla=cotizador-ofertas] .cot-ruta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}[data-plantilla=cotizador-ofertas] .cot-resumen-lineas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}[data-plantilla=cotizador-ofertas] .cot-resumen-lineas>div{display:block}[data-plantilla=cotizador-ofertas] .cot-resumen h2{margin-bottom:16px}}

/* Fichas y edición: la información operativa precede a la explicación. */
.rd-prosa + .rd-contenido-seccion{margin-top:48px}
.rd-modulo-intercalado + .rd-prosa{margin-top:32px}
.cot-oferta{gap:8px;padding:16px}
.cot-oferta>.cot-ficha{margin-top:0;padding-top:8px}
.cot-ficha>summary{font-size:1rem}
.cot-oferta .cot-datos{margin-bottom:8px}
@media(max-width:640px){
 [data-plantilla=cotizador-ofertas] .cot-resumen-lineas{grid-template-columns:1fr;gap:8px;font-size:1rem}
 [data-plantilla=cotizador-ofertas] .cot-resumen-lineas>div{display:flex;justify-content:space-between;gap:16px}
 [data-plantilla=cotizador-ofertas] .cot-resumen-lineas dd{text-align:right}
 [data-plantilla=portada] .rd-heroe--foto::after{content:"";display:block;position:relative;z-index:1;height:164px;width:calc(100% - 40px);margin:-24px 20px 24px;background:url('/corredor-gipuzkoa-heroe-3236cc5eab.svg') center/contain no-repeat;pointer-events:none}
}

.cot-sumaria{border-block:1px solid var(--cot-borde);padding-block:16px}
.cot-sumaria-ruta{font-size:1rem;line-height:1.5;overflow-wrap:anywhere}
.cot-sumaria-carga{font-size:1rem;margin-top:8px}
.cot-sumaria>.cot-ficha{margin-top:8px;padding-top:0;border-top:0}
@media(max-width:640px){[data-plantilla=cotizador-ofertas] .cot-cabecera{margin-bottom:16px;gap:8px}[data-plantilla=cotizador-ofertas] .cot-pasos{margin-bottom:16px}[data-plantilla=cotizador-ofertas] .cot-ficha>summary{font-size:1rem;min-height:44px}[data-plantilla=cotizador-ofertas] .cot-columnas{gap:24px}}

.gp-corredor__ficha{display:grid;gap:16px;text-align:left}
.gp-corredor__ficha>div{padding-block:16px;border-block-start:1px solid currentColor}
.gp-corredor__ficha dt{font-weight:700;margin-bottom:8px}
.gp-corredor__ficha dd{margin:0;line-height:1.6}
.cot .cot-pasos [data-estado=hecho] i::before{content:"";display:block;width:10px;height:6px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);line-height:1}

.gp-corredor__datos .rd-antetitulo{color:var(--c-primario)}
.rd-seccion--oscura .gp-corredor__datos .rd-antetitulo{color:var(--gp-signal)}

/* El esquema del corredor del héroe de las hojas se dibuja a la derecha, que
   es donde desde el 08/10/2026 va el cotizador rápido (marca.heroe_panel).
   Con los dos, el dibujo asomaba por detrás del panel. */
[data-plantilla=hoja] .rd-heroe--editorial.rd-heroe--partido::after{content:none}

/* El cotizador del héroe se integra sin marco adicional en móvil y tablet. */
@media(max-width:999px){.rd-heroe__panel{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}}

/* Controles de ruta en la rejilla del héroe, sin tarjeta exterior. */
.rd-heroe__panel{padding:0;padding-top:calc(var(--u) * 4);border:0;border-top:1px solid var(--c-borde);border-radius:0;box-shadow:none;background:transparent}
