/* ==========================================================================
   OPCIÓN B · AUTOMOTORES MOTUL R.P — landing de conversión, oscura y fotográfica
   Paleta: #000000 · naranja #FD6E03 (manual de marca definitivo) · #FFFFFF · gris #4F5050 · #E3E3E3
   (los paneles usan el gris #4F5050 con transparencia sobre negro)
   Tipografías del manual: Archivo Black (títulos) · Be Vietnam Pro (textos)
   ========================================================================== */

:root {
  --black: #000000;
  --orange: #fd6e03;
  --white: #ffffff;
  --gray: #4f5050;
  --light: #e3e3e3;
  --panel: rgba(79, 80, 80, 0.16);
  --panel-2: rgba(79, 80, 80, 0.28);
  --line: rgba(227, 227, 227, 0.14);
  --display: "Archivo Black", "Arial Black", sans-serif;
  --pad: clamp(22px, 6vw, 110px);
  --r: 6px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, calc(0.45vw + 9.5px), 18.5px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Be Vietnam Pro", system-ui, sans-serif; font-weight: 300; line-height: 1.7; color: var(--white); background: var(--black); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, dt { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.tbd { font-style: normal; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; padding: 2px 6px; margin-left: 6px; vertical-align: middle; color: var(--black); background: var(--orange); }
.stars { color: var(--orange); letter-spacing: 0.1em; }
.kicker { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); }
.kicker::before { content: ""; width: 1.8rem; height: 1px; background: currentColor; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }

/* ---------- Botones ---------- */
.ico { width: 1.15rem; height: 1.15rem; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3.3rem; padding: 0 1.7rem; border-radius: var(--r); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; border: 1px solid transparent; transition: background-color 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 2.6rem; padding: 0 1.1rem; font-size: 0.72rem; }
.btn--lg { min-height: 3.9rem; padding: 0 2.2rem; font-size: 0.88rem; }
.btn--line { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--line .ico { color: var(--orange); }
.btn--line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--orange { background: var(--orange); color: var(--black); }
.btn--orange:hover { background: var(--white); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1s var(--ease) backwards; animation-delay: var(--d, 0.1s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 2.4rem; height: 4.8rem; padding-inline: var(--pad); transition: background-color 0.4s, height 0.4s var(--ease); }
.header.is-scrolled { height: 4.1rem; background: rgba(0, 0, 0, 0.92); }
.brand img { height: 2.4rem; width: auto; }
.header__nav { display: flex; gap: 2rem; margin-left: auto; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.header__nav a { opacity: 0.75; transition: opacity 0.3s, color 0.3s; }
.header__nav a:hover { opacity: 1; color: var(--orange); }

/* ==========================================================================
   1 · HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: 50% 50%; transform: translateY(calc(var(--p, 0) * -12%)); }
.hero__media img { animation: settle 2.4s var(--ease) both; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
@keyframes settle { from { scale: 1.12; filter: brightness(0.4); } to { scale: 1; filter: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.2)), linear-gradient(0deg, var(--black) 2%, rgba(0, 0, 0, 0) 40%); }
.hero__content { position: relative; z-index: 2; display: grid; justify-items: start; gap: 1.5rem; padding: 6rem var(--pad) 4rem; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 6.6vw, 6.6rem); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; }
.line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.line > span { display: block; animation: lineup 1.1s var(--ease) backwards; }
.line:nth-child(1) > span { animation-delay: 0.2s; }
.line:nth-child(2) > span { animation-delay: 0.32s; }
@keyframes lineup { from { transform: translateY(105%); } to { transform: none; } }
.hero__lead { max-width: 38ch; font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--light); }
.hero__lead b { font-weight: 600; color: var(--white); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 0.4rem; }
.hero__proof { font-size: 0.84rem; color: var(--light); transition: color 0.3s; }
.hero__proof:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }


/* ==========================================================================
   SECCIONES
   ========================================================================== */
.sec { padding: clamp(60px, 6.5vw, 104px) var(--pad); }
.sec--panel { background: var(--panel); border-block: 1px solid var(--line); }
.sec__head { display: grid; gap: 1rem; justify-items: start; max-width: 860px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sec__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.6rem 3rem; }
.sec__head--row > div:first-child { display: grid; gap: 1rem; justify-items: start; max-width: 760px; }
.sec__aside { max-width: 30ch; font-size: 0.92rem; color: var(--light); opacity: 0.7; }
.sec__cta { display: flex; justify-content: center; margin-top: clamp(36px, 4.5vw, 60px); }

/* ---------- 2 · Beneficios ---------- */
.perks { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 14px; }
.perk { position: relative; display: grid; align-content: start; gap: 0.7rem; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color 0.4s, transform 0.5s var(--ease); }
.perk:hover { border-color: rgba(253, 110, 3, 0.6); transform: translateY(-4px); }
.perk__ico { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 0.6rem; border-radius: 50%; background: rgba(253, 110, 3, 0.14); color: var(--orange); }
.perk__ico svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.perk h3 { font-family: var(--display); font-weight: 400; font-size: 1.12rem; line-height: 1.2; text-transform: uppercase; }
.perk p { font-size: 0.92rem; color: var(--light); opacity: 0.75; }
.perk__big { font-family: var(--display); font-size: clamp(6rem, 10vw, 9rem); line-height: 0.8; color: var(--orange); }
.perk--main h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.perk--main p { opacity: 0.9; }

/* Horario dentro de "Sin turno previo" (ocupa 2 columnas) */
.perk--hours { grid-column: span 2; }
.perk--hours > div { display: grid; gap: 0.5rem; }
.hours { display: flex; flex-wrap: wrap; gap: 0.8rem 2.6rem; margin-top: 0.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.hours dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--light); opacity: 0.65; }
.hours dd { font-family: var(--display); font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.2; color: var(--orange); }

/* Tarjeta 3D de la garantía: se inclina con el mouse (en celular, con el scroll) */
.perk--main { grid-row: span 2; min-height: 440px; padding: 0; border: 0; background: none; overflow: visible; perspective: 1100px; display: block; }
.perk--main:hover { transform: none; }
.card3d { position: relative; height: 100%; min-height: inherit; display: grid; align-content: end; border-radius: calc(var(--r) * 2); transform-style: preserve-3d; transform: rotateX(var(--rx, 3deg)) rotateY(var(--ry, -6deg)); transition: transform 0.7s var(--ease); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(253, 110, 3, 0.35); }
.card3d.is-live { transition: transform 0.12s linear; }
.card3d__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 70%) var(--gy, 0%), rgba(255, 255, 255, 0.2), transparent 55%); opacity: var(--go, 0.5); transition: opacity 0.4s; transform: translateZ(1px); }
.card3d__body { position: relative; display: grid; gap: 0.7rem; padding: clamp(24px, 2.6vw, 38px); transform-style: preserve-3d; transform: translateZ(45px); }
.card3d__body .perk__big { transform: translateZ(35px); text-shadow: 0 18px 40px rgba(0, 0, 0, 0.6); }

/* Aspecto de certificado: fondo con guilloché, doble marco y filas de datos */
.cert { align-content: stretch; background:
  repeating-radial-gradient(circle at 100% 0, rgba(253, 110, 3, 0.07) 0 1px, transparent 1px 10px),
  repeating-radial-gradient(circle at 0 100%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px),
  linear-gradient(160deg, #1c1c1c, #0a0a0a 70%); }
.cert__frame { position: absolute; inset: 12px; border: 1px solid rgba(253, 110, 3, 0.5); border-radius: 4px; pointer-events: none; transform: translateZ(10px); }
.cert__frame::before, .cert__frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--orange); }
.cert__frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.cert__frame::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.cert .card3d__body { gap: 0.9rem; align-content: space-between; height: 100%; padding: clamp(30px, 3vw, 42px); }
.cert__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cert__top img { height: 1.9rem; width: auto; }
.cert__top span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; line-height: 1.5; text-align: right; text-transform: uppercase; color: var(--orange); }
.cert__num { display: flex; align-items: flex-end; gap: 0.9rem; margin-top: 0.6rem; transform-style: preserve-3d; }
.cert__unit { padding-bottom: 0.5rem; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.05; text-transform: uppercase; }
.cert h3 { font-family: inherit; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: none; color: var(--light); }
.cert__rows { display: grid; border-top: 1px dashed rgba(227, 227, 227, 0.22); }
.cert__rows div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; border-bottom: 1px dashed rgba(227, 227, 227, 0.22); font-size: 0.8rem; }
.cert__rows dt { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.66rem; color: var(--light); opacity: 0.6; align-self: center; }
.cert__rows dd { text-align: right; font-weight: 500; }
.cert p { font-size: 0.86rem; }

/* ---------- 3 · Reseñas ---------- */
.gscore { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; }
.gscore__n { font-family: var(--display); font-size: 3.6rem; line-height: 0.85; }
.gscore small { color: var(--light); opacity: 0.7; }
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--r); background: var(--black); border: 1px solid var(--line); }
.review blockquote { flex: 1; font-size: 1.04rem; font-weight: 400; line-height: 1.55; color: var(--white); }
.review figcaption { display: flex; align-items: center; gap: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review figcaption > span:last-child { display: grid; }
.review b { font-weight: 600; font-size: 0.92rem; }
.review small { font-size: 0.76rem; color: var(--light); opacity: 0.65; }
.avatar { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-weight: 700; background: var(--orange); color: var(--black); }
.carousel__nav { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 1.2rem; }
.carousel__btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: none; cursor: pointer; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.carousel__btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }

.tidx { min-height: 320px; }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review__g { width: 1.3rem; height: 1.3rem; flex: none; }
.review blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review .avatar { overflow: hidden; }
.review .avatar img { width: 100%; height: 100%; object-fit: cover; }
.review a.review__who { color: inherit; }
.greviews { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; padding: clamp(22px, 2.6vw, 36px); border-radius: calc(var(--r) * 2); border: 1px solid var(--line); background: var(--black); }
.greviews__g { width: 3rem; height: 3rem; flex: none; padding: 0.55rem; border-radius: 50%; background: var(--white); }
.greviews__txt { display: grid; gap: 0.2rem; flex: 1; min-width: 14rem; }
.greviews__txt b { font-weight: 600; font-size: 1.05rem; }
.greviews__txt > span { font-size: 0.88rem; color: var(--light); }
.greviews .btn { margin-left: auto; }

/* ---------- 4 · Entregas: 20 fotos verticales que corren solas (se ven 3) ---------- */
.reel { --gap: 14px; --n: 3; position: relative; overflow: hidden; container-type: inline-size; }
.reel__track { display: flex; gap: var(--gap); width: max-content; will-change: transform; }
.reel__item { flex: none; width: calc((100cqw - (var(--n) - 1) * var(--gap)) / var(--n)); aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--panel-2); }
.reel__item img { width: 100%; height: 100%; object-fit: cover; }
.reel__btn { position: absolute; top: 50%; right: 16px; z-index: 2; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border: 0; border-radius: 50%; cursor: pointer; background: var(--orange); color: var(--black); transform: translateY(-50%); box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.8); transition: background-color 0.3s, transform 0.3s var(--ease); }
.reel__btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reel__btn:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }

/* ---------- La agencia (video del salón) ---------- */
.agency { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.agency__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--r) * 2); background: var(--panel-2); }
.agency__video { width: 100%; height: 100%; object-fit: cover; }
.agency__copy { display: grid; gap: 1.1rem; justify-items: start; }
.agency__p { max-width: 40ch; color: var(--light); opacity: 0.85; }
.agency__info { display: grid; gap: 0.9rem; width: 100%; padding-block: 1.1rem; border-block: 1px solid var(--line); }
.agency__info dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.agency__info dd { font-size: 0.95rem; }
.agency__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.3rem; }

/* ---------- 5 · Nosotros + equipo ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about__copy { display: grid; gap: 1.1rem; justify-items: start; }
.about__p { max-width: 46ch; color: var(--light); opacity: 0.85; }
.about__facts { display: flex; flex-wrap: wrap; gap: 1.2rem 2.6rem; margin-top: 0.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.about__facts dd { font-family: var(--display); font-size: 1.4rem; line-height: 1.1; }
.about__facts dt { font-size: 0.78rem; color: var(--light); opacity: 0.65; }
.faces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.face { display: grid; justify-items: center; gap: 0.15rem; text-align: center; }
.face__ph { position: relative; width: 100%; aspect-ratio: 1; margin-bottom: 0.9rem; border-radius: calc(var(--r) * 2); overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); transition: border-color 0.4s, transform 0.5s var(--ease); }
.face:hover .face__ph { border-color: rgba(253, 110, 3, 0.6); transform: translateY(-4px); }
.face__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; text-transform: uppercase; }
.face small { font-size: 0.76rem; color: var(--light); opacity: 0.7; line-height: 1.4; }
.face__years { margin-top: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--orange); }
.face .tbd { display: block; width: max-content; margin: 4px auto 0; }

/* ---------- 7 · Preguntas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.3rem; font-size: 1.02rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--orange), var(--orange)) center / 14px 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 14px no-repeat; transition: transform 0.4s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(135deg); }
.faq__list details p { padding-bottom: 1.4rem; max-width: 58ch; color: var(--light); opacity: 0.8; }

/* ---------- 8 · Cierre ---------- */
.wide { position: relative; min-height: 72vh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow: hidden; text-align: center; }
.wide__media { position: absolute; inset: -12% 0; }
.wide__media img { width: 100%; height: 100%; object-fit: cover; transform: translateY(calc((var(--p, 0) - 0.5) * 16%)); }
.wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--black), rgba(0, 0, 0, 0.35) 25%, rgba(0, 0, 0, 0.35) 75%, var(--black)); }
.wide__content { position: relative; z-index: 2; width: 100%; min-width: 0; display: grid; justify-items: center; gap: 1.8rem; padding: 6rem var(--pad); }
/* Cierre: video difuminado de fondo */
.wide__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); transform: translateY(calc((var(--p, 0) - 0.5) * 16%)); }
.wide__video.is-playing { opacity: 1; }
.wide__title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: 1.02; text-transform: uppercase; }
.play { position: relative; display: grid; place-items: center; width: 5.4rem; height: 5.4rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.8); color: var(--white); transition: background-color 0.35s, border-color 0.35s, color 0.35s; }
.play .ico { width: 1.9rem; height: 1.9rem; }
.play::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--orange); animation: ring 2.4s ease-out infinite; }
.play:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.wide__addr { font-size: 0.88rem; color: var(--light); }

.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 30px var(--pad); border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--light); opacity: 0.85; }
.footer img { height: 2.1rem; width: auto; }
.footer__text { display: grid; gap: 0.35rem; justify-items: end; text-align: right; }
.footer__legal { margin: 0; font-size: 0.72rem; opacity: 0.6; }

.sticky { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header .btn { margin-left: auto; }
  .perks { grid-template-columns: 1fr 1fr 1fr; }
  .perk--main { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .card3d { --rx: 0deg; --ry: 0deg; }
  .carousel__track { grid-auto-columns: calc((100% - 14px) / 2); }
  .about, .faq, .agency { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .header { height: 4.1rem; }
  .brand img { height: 2rem; }
  .header .btn span { display: none; }
  .header .btn { width: 2.6rem; padding: 0; }
  .hero { align-items: end; background: var(--black); }
  /* En celular el video ocupa la parte de arriba, así el cartel queda por encima del texto */
  .hero__media { bottom: auto; height: 64%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .hero__media img, .hero__video { height: 112%; object-position: 50% 42%; }
  .hero::after { background: linear-gradient(0deg, var(--black) 38%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%); }
  .hero__content { padding-bottom: 3.5rem; }
  .hero__content, .wide__content { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: min(10vw, 3rem); }
  .wide__title { font-size: min(8.5vw, 2.4rem); }
  .hero__cta .btn, .sec__cta .btn, .wide .btn { width: 100%; }
  /* En celulares angostos (o con letra grande) el texto del botón puede bajar de línea en vez de salirse por el borde */
  .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .btn--lg { padding: 0.7rem 1.1rem; letter-spacing: 0.08em; }
  .btn > span { min-width: 0; }
  .perks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .perk { padding: 18px 16px; gap: 0.5rem; }
  .perk h3 { font-size: 0.86rem; }
  .perk p { font-size: 0.8rem; line-height: 1.5; }
  .perk__ico { width: 2.4rem; height: 2.4rem; margin-bottom: 0.2rem; }
  .perk__ico svg { width: 1.15rem; height: 1.15rem; }
  .perk--main { grid-column: 1 / -1; min-height: 360px; }
  .perk--main h3 { font-size: 1.15rem; }
  .perk--hours { grid-column: 1 / -1; }
    .cert__unit { font-size: 1.1rem; }
  .carousel__track { grid-auto-columns: 86%; }
  .reel { --gap: 10px; --n: 2; }
  .reel__btn { width: 3rem; height: 3rem; right: 10px; }
  .faces { gap: 10px; }
  .face__ph { margin-bottom: 0.5rem; }
  .face b { font-size: 0.8rem; }
  .face small { font-size: 0.68rem; }
  .face__years { font-size: 0.7rem; }
  .sec__head--row .btn, .greviews .btn, .agency__cta .btn { width: 100%; }
  .greviews .btn { margin-left: 0; }
  .footer { justify-content: center; text-align: center; padding-bottom: 96px; }
  .footer__text { justify-items: center; text-align: center; }

  .sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 54px; border-radius: var(--r); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--orange); color: var(--black); transform: translateY(150%); transition: transform 0.5s var(--ease); }
  .sticky.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play::before { animation: none; }
  .card3d { transform: none !important; }
}
