/* Oléolécar · identidad de marca (logotipo + tipografía)
   Fondo oscuro  -> arco/Oléolé en blanco, coche y «car» en verde lima (#9BD93C)
   Fondo claro   -> arco/Oléolé en negro (#111827), coche y «car» en verde (#0B7A4B)
   El color lo gobiernan las variables --olc-*: por defecto = versión CLARA; añade la clase .olc-dark
   (o ponla en cualquier contenedor) para la versión OSCURA. */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fredoka-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.olc-dark { --olc-ink: #ffffff; --olc-acc: #9BD93C; --olc-sun: #FBBF24; }

/* Marca (arco de herradura + sol + coche) */
.olc-mark { display: block; overflow: visible; }
.olc-mark .olc-arch  { fill: none; stroke: var(--olc-ink, #111827); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
.olc-mark .olc-sun   { fill: var(--olc-sun, #FDBF24); }
.olc-mark .olc-car   { fill: var(--olc-acc, #0B7A4B); fill-rule: evenodd; }
.olc-mark .olc-wheel { fill: var(--olc-ink, #111827); }

/* Palabra «Oléolécar» */
.olc-word { font-family: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--olc-ink, #111827); }
.olc-word > span { color: var(--olc-acc, #0B7A4B); }

/* Logotipo completo (marca + palabra) */
.olc-lockup { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-size: 1.5rem; }
.olc-lockup .olc-mark { width: 1.7em; height: 2em; flex: none; }

/* Cabecera de la web: transparente sobre el hero oscuro -> versión oscura; con fondo blanco -> versión clara */
.site-header { --olc-ink: #ffffff; --olc-acc: #9BD93C; --olc-sun: #FBBF24; }
.site-header.is-solid { --olc-ink: #111827; --olc-acc: #0B7A4B; --olc-sun: #FDBF24; }
.site-header .brand-name { color: var(--olc-ink); font-family: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.site-header .brand-name .brand-on { color: var(--olc-acc); }
.site-header .brand-tagline { margin-top: .25rem; }
@media (min-width: 640px) { .site-header .brand-name { font-size: 1.75rem; } }

/* Marca sin arco: solo sol + coche, juntos */
.olc-mark .olc-rays { fill: none; stroke: var(--olc-sun, #FDBF24); stroke-width: 3; stroke-dasharray: 3 6.5; stroke-linecap: round; }

/* Marca pegada al nombre: la caja del icono se ajusta al ancho real del dibujo (sin huecos laterales) */
.olc-mark { width: auto; aspect-ratio: 52 / 91; }
.site-header .logo > div:first-child { width: auto !important; aspect-ratio: 52 / 91; }
.site-header .logo { gap: .45rem !important; }
.site-header .logo > div:first-child .olc-mark { width: auto; height: 100%; }
.olc-lockup { gap: .35rem; }
.olc-lockup .olc-mark { width: auto; height: 2em; }
.legal-logo { gap: .4rem !important; }
.legal-logo__svg { width: auto !important; }

/* Logotipo un poco más grande (≈ +2 pt) */
.site-header .logo > div:first-child { height: 3.2rem !important; }
@media (max-width: 639px) { .site-header .logo > div:first-child { height: 2.65rem !important; } }
@media (max-width: 359px) { .site-header .logo > div:first-child { height: 2.4rem !important; } }
.olc-lockup .olc-mark { height: 2.2em; }
.legal-logo__svg { height: 3.2rem !important; }
@media (max-width: 640px) { .legal-logo__svg { height: 2.5rem !important; } }
@media (max-width: 420px) { .legal-logo__svg { height: 2.3rem !important; } }

/* Portada (pantalla grande): «Andalucía» un punto más grande que «Comparte coche en» */
@media (min-width: 640px) { .hero-title .hero-accent { font-size: calc(min(4.4rem, 8.2cqw) + 2pt) !important; } }

/* Menos espacio en blanco entre carrusel de categorías, «Pensado para los dos» y «¿Necesitas que te lleven?» */
.sfty { padding-top: 1.6rem !important; padding-bottom: 1.4rem !important; }
.hv-band { padding-top: .5rem !important; padding-bottom: 1rem !important; margin-top: 0 !important; }
:has(+ .sfty) { padding-bottom: .25rem !important; margin-bottom: 0 !important; }
#cats-original { padding-bottom: .25rem !important; }
.sfty { padding-top: 1.2rem !important; }

/* Logotipo y nombre: otros +3 pt (cabecera, páginas legales y de categoría) */
.site-header .logo > div:first-child { height: 3.45rem !important; }
@media (min-width: 640px) { .site-header .brand-name { font-size: 2rem !important; } }
@media (max-width: 639px) {
  .site-header .logo > div:first-child { height: 2.9rem !important; }
  .site-header .brand-name { font-size: clamp(1.2rem, 6.2vw, 1.65rem) !important; }
}
@media (max-width: 359px) {
  .site-header .logo > div:first-child { height: 2.65rem !important; }
  .site-header .brand-name { font-size: 1.4rem !important; }
}
.olc-lockup { font-size: 1.75rem; }
.legal-logo__svg { height: 3.45rem !important; }
.legal-logo__name { font-size: 1.75rem !important; }
@media (max-width: 640px) { .legal-logo__svg { height: 2.75rem !important; } .legal-logo__name { font-size: 1.45rem !important; } }
@media (max-width: 420px) { .legal-logo__svg { height: 2.55rem !important; } body.bg-white > header.legal-header a.legal-logo .legal-logo__name { font-size: 1.3rem !important; } }

/* Título de portada.
   Pantalla grande: «Comparte coche» / «en Andalucía» («Andalucía» 1 pt más grande que «en»).
   Móvil: «Comparte coche en» / «Andalucía». */
.hero-en-d { display: none; }
@media (min-width: 640px) {
  .hero-en-m { display: none; }
  .hero-en-d { display: inline; color: #fff; }
  .hero-title .hero-accent { font-size: calc(min(4.4rem, 8.2cqw) + 1pt) !important; }
  .hero-title .hero-an { font-size: calc(1em + 1pt); }
}
@media (max-width: 639px) { .hero-banner { padding-left: 16px !important; padding-right: 16px !important; } }
.sfty { background: #fff !important; }
.how { padding-top: .3rem !important; margin-top: 0 !important; }
@media (max-width: 639px) { .hero-banner { padding-bottom: .5rem !important; } }

/* «Equipaje y objetos»: icono | título | texto en tres columnas alineadas */
.tips-eq > li { display: grid !important; grid-template-columns: 1.4rem 13.5rem 1fr; column-gap: .8rem; row-gap: .15rem; align-items: start; }
.tips-eq > li > i { margin-top: .2rem; text-align: center; }
.tips-eq > li > b, .tips-eq > li > span { margin: 0 !important; }
@media (max-width: 760px) {
  .tips-eq > li { grid-template-columns: 1.4rem 1fr; }
  .tips-eq > li > span { grid-column: 2; }
}
