/* Golden Fryers — sitio propio. Marca: azul noche #00003E, azul rey #2A2FC1, rojo #DB3B3B, negro #111111. Oldburg Display + Montserrat. */
@font-face { font-family: "Oldburg"; src: url(/fonts/oldburg-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oldburg"; src: url(/fonts/oldburg-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --noche: #00003E; --noche2: #0A0B5C; --rey: #2A2FC1; --rojo: #DB3B3B; --rojo2: #C22F2F; --negro: #111111;
  --blanco: #FFFFFF; --gris: #F3F4F8; --gris2: #E7E9F1; --linea: #DDE0EA; --texto: #16172B; --suave: #555A72;
  --wa: #25D366; --r: 14px; --r2: 22px; --sombra: 0 10px 30px rgba(0, 0, 62, .10);
  --tit: "Oldburg", "Montserrat", system-ui, sans-serif; --cuerpo: "Montserrat", system-ui, -apple-system, sans-serif;
  --ancho: 1200px; --pad: clamp(16px, 4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--cuerpo); font-size: 16px; line-height: 1.6; color: var(--texto); background: var(--blanco); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rey); }
button { font: inherit; cursor: pointer; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--noche); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.saltar:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rey); outline-offset: 3px; }

/* ---------- botones (siempre redondos) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--rojo { background: var(--rojo); color: #fff; box-shadow: 0 8px 22px rgba(219, 59, 59, .28); }
.btn--rojo:hover { background: var(--rojo2); }
.btn--azul { background: var(--rey); color: #fff; }
.btn--azul:hover { background: var(--noche2); }
.btn--blanco { background: #fff; color: var(--noche); }
.btn--vidrio { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--vidrio:hover { background: rgba(255, 255, 255, .22); }
.btn--linea { background: transparent; color: var(--noche); border-color: var(--noche); }
.btn--linea:hover { background: var(--noche); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--chico { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--ancho { width: 100%; }
.enlace { background: none; border: 0; padding: 0; color: var(--rey); font-weight: 600; text-align: left; }

/* ---------- cabecera */
.cab { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.cab__in { max-width: var(--ancho); margin: 0 auto; padding: 8px var(--pad); display: flex; align-items: center; gap: 24px; }
.cab__logo img { width: 168px; height: auto; }
.cab__in { min-height: 68px; }
.cab__nav { display: flex; gap: 26px; margin-left: auto; }
.cab__nav a, .cab__movil a { color: var(--noche); text-decoration: none; font-weight: 600; font-size: 15px; }
.cab__nav a:hover { color: var(--rojo); }
.cab__menu { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; margin-left: 4px; }
.cab__menu span { display: block; height: 2px; background: var(--noche); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.cab__movil { display: none; }
@media (max-width: 960px) {
  .cab__nav { display: none; }
  .cab__cta { margin-left: auto; }
  .cab__menu { display: block; }
  .cab__logo img { width: 136px; }
  .cab.abierta .cab__movil { display: flex; flex-direction: column; padding: 8px var(--pad) 18px; border-top: 1px solid var(--linea); }
  .cab__movil a { padding: 12px 0; border-bottom: 1px solid var(--gris2); }
  .cab.abierta .cab__menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .cab.abierta .cab__menu span:nth-child(2) { opacity: 0; }
  .cab.abierta .cab__menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) { .cab__cta span { display: none; } .cab__cta { padding: 8px 12px; } }

/* ---------- tipografía */
.ojo { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo); }
.ojo--claro { color: #FF8A8A; }
.tit { font-family: var(--tit); font-weight: 600; color: var(--noche); font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; margin: 0 0 14px; letter-spacing: .005em; }
.tit--claro { color: #fff; }
.tit--ficha { font-size: clamp(26px, 3.6vw, 38px); }
.tit--art { font-size: clamp(28px, 4vw, 42px); }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--suave); max-width: 720px; margin: 0 0 28px; }

/* ---------- secciones */
.sec { padding: clamp(48px, 8vw, 96px) 0; }
.sec--gris { background: var(--gris); }
.sec--cab { padding-top: clamp(24px, 4vw, 40px); }
.sec--ficha { padding-top: clamp(20px, 3vw, 32px); }
.sec__in { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--pad); }
.sec__in--texto { max-width: 820px; }
.sec__fila { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec__fila .tit { margin: 0; }
.migas { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--suave); margin-bottom: 18px; }
.migas a { color: var(--suave); text-decoration: none; }
.migas a:hover { color: var(--rey); }
.cuenta { font-size: 14px; color: var(--suave); margin: -12px 0 22px; }

/* ---------- hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--noche); color: #fff; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 62, .35) 0%, rgba(0, 0, 62, .55) 45%, rgba(0, 0, 62, .94) 100%), linear-gradient(90deg, rgba(0, 0, 62, .7), rgba(0, 0, 62, 0) 70%); }
.hero__in { position: relative; max-width: var(--ancho); width: 100%; margin: 0 auto; padding: 120px var(--pad) clamp(48px, 8vw, 88px); }
.hero h1 { font-family: var(--tit); font-weight: 600; font-size: clamp(30px, 6vw, 64px); line-height: 1.02; margin: 0 0 18px; max-width: 860px; }
.hero__p { font-size: clamp(16px, 1.8vw, 19px); max-width: 640px; color: rgba(255, 255, 255, .88); margin: 0 0 28px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 520px) { .hero__btns .btn { width: 100%; } }

/* ---------- países */
.paises { border-bottom: 1px solid var(--linea); padding: 18px 0; text-align: center; overflow: hidden; }
.paises p { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--noche); }
.paises__riel { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.paises__riel div { display: inline-flex; gap: 34px; white-space: nowrap; animation: riel 40s linear infinite; }
.paises__riel span { font-weight: 600; color: var(--suave); font-size: 15px; }
@keyframes riel { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .paises__riel div { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; } }

/* ---------- líneas (con hueso / sin hueso) */
.lineas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.linea { display: grid; grid-template-columns: 42% 1fr; align-items: center; background: var(--gris); border: 1px solid var(--linea); border-radius: var(--r2); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.linea:hover { box-shadow: var(--sombra); transform: translateY(-2px); border-color: var(--rey); }
.linea img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; background: #e9eaef; }
.linea__cuerpo { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.linea__num { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo); }
.linea__tit { font-family: var(--tit); font-weight: 600; font-size: 24px; color: var(--noche); line-height: 1.1; }
.linea__txt { color: var(--suave); font-size: 15px; }
.linea__ir { font-weight: 700; color: var(--rey); margin-top: 4px; }
@media (max-width: 860px) { .lineas { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .linea { grid-template-columns: 1fr; } .linea img { aspect-ratio: 16/10; } }

/* ---------- banda azul CX-1000 */
.banda { background: radial-gradient(120% 90% at 20% 30%, #12148a 0%, var(--noche) 60%); color: #fff; padding: clamp(56px, 8vw, 100px) 0; overflow: hidden; }
.banda__in { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.banda__foto { position: relative; background: linear-gradient(160deg, #eef0f6, #cfd3e0); border-radius: var(--r2); overflow: hidden; }
.banda__foto img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pin { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--rojo); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(219, 59, 59, .25); }
.llamadas { list-style: none; counter-reset: ll; padding: 0; margin: 8px 0 26px; display: grid; gap: 14px; }
.llamadas li { counter-increment: ll; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.llamadas li::before { content: counter(ll); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--rojo); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.llamadas b { font-size: 17px; }
.llamadas span { color: rgba(255, 255, 255, .78); font-size: 15px; }
.banda__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 860px) { .banda__in { grid-template-columns: 1fr; } }

/* ---------- calculadora de aceite */
.calc { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); padding: 18px; }
.calc__tit { margin: 0 0 12px; font-weight: 700; }
.calc__campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.calc input { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .95); color: var(--noche); font: 600 16px var(--cuerpo); padding: 8px 12px; }
.calc__res { margin: 14px 0 6px; font-size: 16px; }
.calc__res strong { font-family: var(--tit); font-size: 26px; font-weight: 600; color: #fff; display: block; line-height: 1.1; }
.calc__nota { margin: 0; font-size: 12px; opacity: .7; }
.calc--claro { background: var(--gris); border-color: var(--linea); color: var(--texto); margin: 22px 0; }
.calc--claro input { border-color: var(--linea); }
.calc--claro .calc__res strong { color: var(--noche); }
@media (max-width: 420px) { .calc__campos { grid-template-columns: 1fr; } }

/* ---------- pasos del proceso */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.paso { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--linea); border-radius: var(--r2); padding: 14px 14px 20px; transition: box-shadow .2s, transform .2s; }
.paso:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.paso__img { background: var(--gris); border-radius: var(--r); overflow: hidden; margin-bottom: 8px; }
.paso__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.paso__num { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo); }
.paso__tit { font-family: var(--tit); font-weight: 600; font-size: 19px; color: var(--noche); line-height: 1.15; }
.paso__txt { font-size: 14px; color: var(--suave); }
@media (max-width: 960px) { .pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .pasos { grid-template-columns: 1fr; } }

/* ---------- respaldo */
.respaldo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.dato { background: #fff; border-radius: var(--r2); padding: 26px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--rey); }
.dato:nth-child(2) { border-top-color: var(--rojo); }
.dato:nth-child(3) { border-top-color: var(--noche); }
.dato__n { font-family: var(--tit); font-weight: 600; font-size: clamp(26px, 6vw, 38px); line-height: 1; color: var(--noche); }
.dato__n small { font-size: 18px; margin-left: 6px; }
.dato__t { color: var(--suave); }
.dato a, .dato .enlace { font-weight: 700; text-decoration: none; margin-top: auto; }
@media (max-width: 860px) { .respaldo { grid-template-columns: 1fr; } }

/* ---------- tarjetas de producto */
.rejilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tj { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--linea); border-radius: var(--r2); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.tj:hover { box-shadow: var(--sombra); transform: translateY(-2px); }
.tj__img { background: var(--gris); }
.tj__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tj__cuerpo { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tj__tipo { font-size: 12px; color: var(--suave); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tj__tit { font-weight: 700; color: var(--noche); line-height: 1.3; }
.tj__precio { font-weight: 700; color: var(--rojo); margin-top: 4px; }
.tj--coll .tj__tit { font-family: var(--tit); font-weight: 600; font-size: 20px; }
@media (max-width: 1024px) { .rejilla { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .rejilla { grid-template-columns: 1fr 1fr; gap: 12px; } .tj__cuerpo { padding: 12px; } .tj__tit { font-size: 14px; } }

/* ---------- blog */
.notas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nota { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--linea); border-radius: var(--r2); overflow: hidden; transition: box-shadow .2s; }
.nota:hover { box-shadow: var(--sombra); }
.nota__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.nota__cuerpo { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.nota__fecha { font-size: 13px; color: var(--suave); }
.nota__tit { font-weight: 700; color: var(--noche); line-height: 1.3; font-size: 17px; }
.nota__txt { color: var(--suave); font-size: 14px; }
@media (max-width: 960px) { .notas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .notas { grid-template-columns: 1fr; } }

/* ---------- texto largo (fichas, artículos, páginas) */
.texto { font-size: 16px; overflow-wrap: anywhere; }
.texto h2 { font-family: var(--tit); font-weight: 600; color: var(--noche); font-size: 26px; line-height: 1.15; margin: 32px 0 10px; }
.texto h3, .texto h4 { color: var(--noche); margin: 24px 0 8px; }
.texto ul, .texto ol { padding-left: 22px; }
.texto li { margin: 4px 0; }
.texto img { border-radius: var(--r); margin: 18px 0; }
.texto table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.texto td, .texto th { border: 1px solid var(--linea); padding: 8px 10px; text-align: left; }
.texto blockquote { border-left: 4px solid var(--rojo); margin: 18px 0; padding: 4px 0 4px 16px; color: var(--suave); }
.art__portada { border-radius: var(--r2); margin: 8px 0 24px; width: 100%; }
.art__cta { margin-top: 40px; padding: 22px; border-radius: var(--r2); background: var(--noche); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.art__cta div { display: grid; }
.art__cta span { opacity: .8; }

/* ---------- ficha de producto */
.ficha { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.galeria { position: sticky; top: 96px; }
.galeria__grande { background: var(--gris); border-radius: var(--r2); overflow: hidden; }
.galeria__grande img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.galeria__mini { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.galeria__mini button { flex: none; width: 72px; height: 72px; padding: 0; border: 2px solid var(--linea); border-radius: 12px; overflow: hidden; background: var(--gris); }
.galeria__mini button.activa { border-color: var(--rey); }
.galeria__mini img { width: 100%; height: 100%; object-fit: cover; }
.ficha__precio { font-family: var(--tit); font-weight: 600; font-size: 30px; color: var(--rojo); margin: 4px 0 6px; }
.ficha__nota { font-size: 14px; color: var(--suave); margin: 0 0 18px; }
.ficha__sellos { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ficha__sellos li { background: var(--gris); border: 1px solid var(--linea); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--noche); }
.ficha__desc { border-top: 1px solid var(--linea); padding-top: 8px; margin-top: 8px; }
@media (max-width: 900px) { .ficha { grid-template-columns: 1fr; } .galeria { position: static; } }

/* ---------- páginas con formulario */
.pag { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 5vw, 64px); align-items: start; }
.caja-form { position: sticky; top: 96px; background: var(--noche); color: #fff; border-radius: var(--r2); padding: 26px; }
.caja-form h2 { font-family: var(--tit); font-weight: 600; margin: 0 0 6px; font-size: 26px; }
.caja-form p { opacity: .85; }
.caja-form__o { font-size: 14px; text-align: center; margin: 14px 0 0; }
.caja-form a { color: #fff; }
@media (max-width: 900px) { .pag { grid-template-columns: 1fr; } .caja-form { position: static; } }

.alianza { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.alianza .lead { margin-bottom: 0; }
.gracias { text-align: center; display: flex; flex-direction: column; align-items: center; padding: clamp(40px, 8vw, 80px) var(--pad); }
.gracias .lead { margin-left: auto; margin-right: auto; }

/* ---------- pie */
.pie { background: var(--noche); color: rgba(255, 255, 255, .8); padding: 56px 0 24px; }
.pie__in { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.pie__marca img { width: 190px; height: auto; margin-bottom: 16px; }
.pie__marca p { max-width: 320px; margin: 0 0 18px; }
.pie h3 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.pie a { display: block; color: rgba(255, 255, 255, .8); text-decoration: none; padding: 4px 0; }
.pie a:hover { color: #fff; }
.pie__legal { max-width: var(--ancho); margin: 40px auto 0; padding: 18px var(--pad) 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
@media (max-width: 860px) { .pie__in { grid-template-columns: 1fr 1fr; } .pie__marca { grid-column: 1 / -1; } }

/* ---------- WhatsApp */
.wa-flota { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--wa); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); display: grid; place-items: center; }
.wa-flota svg { width: 32px; height: 32px; fill: #fff; }
.wa-capa { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 30, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.wa-capa[hidden] { display: none; }
.wa-caja { width: min(420px, 100%); max-height: 92vh; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.wa-cab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075E54; color: #fff; }
.wa-cab img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.wa-cab div { display: grid; line-height: 1.25; }
.wa-cab span { font-size: 13px; opacity: .85; }
.wa-cerrar { margin-left: auto; background: none; border: 0; color: #fff; font-size: 20px; width: 40px; height: 40px; }
.wa-cuerpo { overflow-y: auto; min-height: 420px; background: #ECE5DD; }
.wa-cuerpo iframe { width: 100%; height: 560px; border: 0; display: block; background: transparent; }
.wa-cargando { padding: 40px 20px; text-align: center; color: var(--suave); }
@media (max-width: 520px) { .wa-capa { align-items: flex-end; padding: 0; } .wa-caja { border-radius: 18px 18px 0 0; width: 100%; } }

/* nada se sale del ancho en pantallas chicas */
.lineas > *, .pasos > *, .respaldo > *, .rejilla > *, .notas > *, .ficha > *, .pag > *, .banda__in > *, .pie__in > * { min-width: 0; }
body { overflow-x: clip; }
.tit, .hero h1, .linea__tit, .paso__tit { overflow-wrap: break-word; }
@media (max-width: 420px) { .tit { font-size: 27px; } .hero h1 { font-size: 30px; } }
