/* ==========================================================================
   HETZU MOTORS — Hoja de estilos principal
   Para cambiar colores, edita las variables de :root
   ========================================================================== */

:root {
  --rojo: #E10A0A;
  --rojo-osc: #B80808;
  --rojo-claro: #FDE6E6;
  --noche: #0E0D1F;
  --noche-2: #17162E;
  --texto: #14132B;
  --texto-2: #4A4D6A;
  --gris: #F6F7FB;
  --borde: #E6E8F0;
  --blanco: #FFFFFF;
  --verde-wa: #25D366;

  --f-titulo: "Outfit", system-ui, sans-serif;
  --f-texto: "Plus Jakarta Sans", system-ui, sans-serif;

  --radio: 16px;
  --sombra: 0 10px 40px rgba(20, 19, 43, .08);
  --sombra-fuerte: 0 20px 60px rgba(20, 19, 43, .16);
  --ancho: 1240px;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto-2);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
h1, h2, h3, h4, h5 { font-family: var(--f-titulo); color: var(--texto); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
svg.ic { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.ic.solid { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rojo { color: var(--rojo); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--rojo); color: #fff; font-weight: 700; font-family: var(--f-texto);
  padding: 15px 34px; border-radius: 50px; border: 0; cursor: pointer;
  font-size: 15px; letter-spacing: .2px;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 10px 25px rgba(225, 10, 10, .25);
}
.btn:hover { background: var(--rojo-osc); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(225, 10, 10, .35); }
.btn .ic { font-size: 18px; }
.btn--sm { padding: 11px 24px; font-size: 14px; }
.btn--dark { background: var(--noche); box-shadow: none; }
.btn--dark:hover { background: #000; }
.btn--wa { background: var(--verde-wa); box-shadow: 0 10px 25px rgba(37, 211, 102, .25); }
.btn--wa:hover { background: #1ebe5a; }
.btn--fb { background: #1877F2; box-shadow: 0 10px 25px rgba(24, 119, 242, .25); }
.btn--fb:hover { background: #0f63d1; }
.btn--outline { background: transparent; color: var(--rojo); border: 2px solid var(--rojo); box-shadow: none; }
.btn--outline:hover { background: var(--rojo); color: #fff; }

.badge {
  display: inline-block; background: var(--rojo-claro); color: var(--rojo);
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 7px 18px; border-radius: 50px; margin-bottom: 18px;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--blanco);
  display: grid; place-items: center; transition: opacity .5s, visibility .5s;
}
.preloader.oculto { opacity: 0; visibility: hidden; }
.preloader__box { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__box img { width: 150px; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--rojo-claro); border-top-color: var(--rojo); animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Top bar ---------- */
.topbar { background: var(--noche); color: #fff; font-size: 14px; }
.topbar .container { display: flex; align-items: center; gap: 28px; min-height: 48px; }
.topbar__item { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .88); }
.topbar__item .ic { color: var(--rojo); font-size: 16px; }
.topbar__item a:hover { color: #fff; text-decoration: underline; }
.topbar__der { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.topbar__social { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .25s; }
.topbar__social:hover { background: var(--rojo); }
.topbar__social .ic { font-size: 15px; color: #fff; }
.topbar__tel { display: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 900; background: #fff;
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 8px 30px rgba(20, 19, 43, .08); }
.header .container { display: flex; align-items: center; height: var(--header-h); gap: 30px; }
.header__logo img { height: 52px; width: auto; }
.nav { margin: 0 auto; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  display: block; padding: 10px 16px; font-family: var(--f-titulo); font-weight: 600;
  font-size: 16.5px; color: var(--texto); position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--rojo); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover, .nav a.activo { color: var(--rojo); }
.nav a:hover::after, .nav a.activo::after { transform: scaleX(1); }

.header__der { display: flex; align-items: center; gap: 20px; }
.btn-buscar {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--borde); background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--texto); font-size: 19px; transition: all .25s;
}
.btn-buscar:hover, .btn-buscar[aria-expanded="true"] { background: var(--rojo); color: #fff; border-color: var(--rojo); }
.header__sep { width: 1px; height: 44px; background: var(--borde); }
.llamar { display: flex; align-items: center; gap: 12px; }
.llamar__ic {
  width: 50px; height: 50px; border-radius: 50%; background: var(--rojo); color: #fff;
  display: grid; place-items: center; font-size: 20px; position: relative;
}
.llamar__ic::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(225, 10, 10, .35); }
.llamar small { display: block; font-size: 13px; color: var(--texto-2); line-height: 1.2; }
.llamar strong { display: block; font-family: var(--f-titulo); font-size: 18px; color: var(--texto); line-height: 1.3; }
.llamar:hover strong { color: var(--rojo); }
.btn-menu { display: none; width: 46px; height: 46px; border-radius: 10px; border: 0; background: var(--rojo); color: #fff; font-size: 22px; cursor: pointer; place-items: center; }

/* Buscador desplegable */
.buscador {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  box-shadow: 0 20px 40px rgba(20, 19, 43, .1); border-top: 1px solid var(--borde);
  padding: 26px 0; opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: all .3s;
}
.buscador.abierto { opacity: 1; visibility: visible; transform: none; }
.header .buscador .container { display: block; height: auto; }
.search-box { position: relative; max-width: 720px; margin: 0 auto; }
.search-form { display: flex; gap: 10px; }
.search-form input {
  flex: 1; min-width: 0; height: 54px; border: 1px solid var(--borde); border-radius: 50px; padding: 0 24px;
  background: var(--gris); color: var(--texto); outline: none; transition: border-color .25s, background .25s;
}
.search-form input:focus { border-color: var(--rojo); background: #fff; }
.search-form .btn { height: 54px; padding: 0 28px; }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; z-index: 50;
  border-radius: 14px; box-shadow: var(--sombra-fuerte); border: 1px solid var(--borde);
  max-height: 360px; overflow-y: auto; display: none;
}
.search-results.visible { display: block; }
.search-results a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--borde); }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--gris); }
.search-results strong { display: block; color: var(--texto); font-family: var(--f-titulo); font-size: 16px; }
.search-results span { font-size: 13.5px; color: var(--texto-2); }
.search-results .vacio { padding: 16px 20px; font-size: 14px; }

/* ---------- Menú móvil ---------- */
.menu-movil {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 1000;
  background: var(--noche); color: #fff; padding: 26px 28px; overflow-y: auto;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.7, 0, .2, 1);
}
.menu-movil.abierto { transform: none; }
.menu-movil__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.menu-movil__top img { height: 42px; }
.menu-movil__cerrar { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--rojo); color: #fff; font-size: 20px; display: grid; place-items: center; cursor: pointer; }
.menu-movil nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--f-titulo); font-size: 18px; font-weight: 600; }
.menu-movil nav a:hover, .menu-movil nav a.activo { color: var(--rojo); }
.menu-movil__datos { margin-top: 30px; display: grid; gap: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.menu-movil__datos div { display: flex; gap: 12px; align-items: flex-start; }
.menu-movil__datos .ic { color: var(--rojo); font-size: 18px; margin-top: 3px; }
.menu-movil .search-form { margin-top: 26px; }
.menu-movil .search-form input { height: 48px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.menu-movil .search-form .btn { height: 48px; padding: 0 18px; }
.overlay { position: fixed; inset: 0; background: rgba(14, 13, 31, .6); z-index: 999; opacity: 0; visibility: hidden; transition: all .3s; }
.overlay.visible { opacity: 1; visibility: visible; }

/* ---------- Decoraciones geométricas ---------- */
.deco-cubos { position: absolute; pointer-events: none; color: #9AA3C7; opacity: .45; }
.deco-cubos svg { width: 100%; height: 100%; }

/* ==========================================================================
   INICIO — Slider hero
   ========================================================================== */
.hero { position: relative; height: min(88vh, 860px); min-height: 640px; background: var(--noche); overflow: hidden; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s;
  background-size: cover; background-position: center;
}
.slide.activo { opacity: 1; visibility: visible; z-index: 2; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.slide--1 { background: radial-gradient(ellipse at 80% 30%, #241f4a 0%, var(--noche) 55%, #05050c 100%); }
.slide--2 {
  /* REEMPLAZAR IMAGEN: assets/img/slide-2-repuestos.jpg (hombre sonriente con laptop) */
  background: linear-gradient(135deg, #1d1b3a 0%, #2a1020 50%, #0b0a18 100%);
}
.slide--2::before { background: rgba(10, 9, 22, .62); }
.slide--3 {
  /* REEMPLAZAR IMAGEN: assets/img/slide-3-equipo.jpg (equipo de trabajo en oficina) */
  background: linear-gradient(225deg, #2b0f14 0%, #15142c 55%, #070611 100%);
}
.slide--3::before { background: rgba(10, 9, 22, .55); }
.slide__deco { position: absolute; z-index: 1; pointer-events: none; }
.slide__deco--engranaje { right: -120px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); color: rgba(225, 10, 10, .12); animation: girar 60s linear infinite; }
.slide__deco--engranaje2 { right: 330px; bottom: -120px; width: 300px; height: 300px; color: rgba(255, 255, 255, .05); animation: girar 40s linear infinite reverse; }
.slide__deco--rayo { left: 6%; top: 50%; transform: translateY(-50%); width: 420px; height: 420px; color: rgba(225, 10, 10, .1); }
.slide__deco--grid {
  inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.slide .container { position: relative; z-index: 3; padding-bottom: 80px; }
.slide__content { max-width: 780px; color: #fff; }
.slide--2 .slide__content { margin: 0 auto; text-align: center; }
.slide--3 .slide__content { margin-left: auto; text-align: right; }
.slide__tag {
  display: inline-block; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .15); padding: 8px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 600; margin-bottom: 22px;
}
.slide__title { color: #fff; font-size: clamp(30px, min(5.2vw, 7.4vh), 66px); font-weight: 700; line-height: 1.08; margin-bottom: 22px; letter-spacing: -.5px; }
.slide__title em { font-style: normal; color: var(--rojo); position: relative; display: inline-block; }
.slide__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px; background: var(--rojo); border-radius: 3px; }
.slide__text { font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 34px; }
.slide--2 .slide__text { margin-left: auto; margin-right: auto; }
.slide--3 .slide__text { margin-left: auto; }
.slide [data-anim] { opacity: 0; transform: translateY(40px); }
.slide.activo [data-anim] { animation: subir .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.slide.activo [data-anim="2"] { animation-delay: .15s; }
.slide.activo [data-anim="3"] { animation-delay: .3s; }
.slide.activo [data-anim="4"] { animation-delay: .45s; }
@keyframes subir { to { opacity: 1; transform: none; } }

.hero__flecha {
  position: absolute; top: 50%; z-index: 5; width: 58px; height: 58px; border-radius: 50%;
  border: 0; display: grid; place-items: center; cursor: pointer; font-size: 22px;
  transform: translateY(-50%); transition: transform .25s, background .25s;
}
.hero__flecha--prev { left: 30px; background: #fff; color: var(--texto); }
.hero__flecha--next { right: 30px; background: var(--rojo); color: #fff; }
.hero__flecha:hover { transform: translateY(-50%) scale(1.08); }
.hero__dots { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero__dots button { width: 14px; height: 14px; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: background .25s, transform .25s; }
.hero__dots button.activo { background: var(--rojo); border-color: var(--rojo); transform: rotate(45deg); }

/* ---------- Tarjetas de servicios (superpuestas) ---------- */
.servicios-top { position: relative; z-index: 10; margin-top: -90px; }
.servicios-top__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.srv-card {
  position: relative; background: #fff; border-radius: var(--radio); padding: 34px 28px 30px;
  box-shadow: var(--sombra); transition: transform .35s, box-shadow .35s; overflow: hidden; display: block;
}
.srv-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rojo); transform: scaleX(0); transition: transform .4s; transform-origin: left; }
.srv-card:hover { transform: translateY(-8px); box-shadow: var(--sombra-fuerte); }
.srv-card:hover::before { transform: scaleX(1); }
.srv-card__num { position: absolute; top: 22px; right: 26px; font-family: var(--f-titulo); font-weight: 600; color: #C3C7DA; font-size: 17px; }
.srv-card__ic { position: relative; width: 76px; height: 76px; margin-bottom: 22px; color: var(--rojo); font-size: 40px; display: grid; place-items: center; }
.srv-card__ic::before { content: ""; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: #EEF0F7; right: -6px; bottom: -4px; z-index: 0; transition: background .3s; }
.srv-card:hover .srv-card__ic::before { background: var(--rojo-claro); }
.srv-card__ic .ic { position: relative; z-index: 1; stroke-width: 1.6; }
.srv-card h3 { font-size: 19px; letter-spacing: .4px; margin-bottom: 16px; transition: color .25s; }
.srv-card:hover h3 { color: var(--rojo); }
.srv-card hr { border: 0; height: 1px; background: var(--borde); margin: 0 0 16px; }
.srv-card p { font-size: 15px; margin: 0; }

/* ---------- Quiénes somos ---------- */
.seccion { padding: 110px 0; position: relative; }
.about { overflow: hidden; }
.about::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; top: 10%; background: radial-gradient(circle, rgba(225, 10, 10, .12), transparent 65%); filter: blur(20px); }
.about .deco-cubos { top: 30px; right: -30px; width: 280px; height: 220px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; }
.about__media { position: relative; padding: 0 30px 30px 0; }
.about__media::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 180px; height: 180px; z-index: 0;
  background-image: radial-gradient(var(--rojo) 2px, transparent 2px); background-size: 18px 18px; opacity: .35;
}
.about__img { position: relative; z-index: 1; border-radius: 20px; overflow: hidden; box-shadow: var(--sombra-fuerte); aspect-ratio: 4 / 3.4; background: var(--noche); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__sello {
  position: absolute; z-index: 2; left: -26px; bottom: 60px; width: 96px; height: 96px; border-radius: 50%;
  background: var(--rojo); color: #fff; display: grid; place-items: center; font-size: 38px;
  border: 8px solid #fff; box-shadow: var(--sombra-fuerte);
}
.about h2 { font-size: clamp(32px, 3.6vw, 46px); }
.about__txt { margin-bottom: 34px; }
.contadores { display: grid; gap: 18px; max-width: 440px; }
.contador {
  display: flex; align-items: center; gap: 22px; background: #fff; border-radius: var(--radio);
  padding: 22px 28px; box-shadow: var(--sombra); border: 1px solid var(--borde);
}
.contador__ic { color: var(--rojo); font-size: 42px; display: flex; }
.contador__ic .ic { stroke-width: 1.6; }
.contador__linea { width: 1px; align-self: stretch; background: var(--borde); }
.contador__num { font-family: var(--f-titulo); font-weight: 700; font-size: 40px; color: var(--texto); line-height: 1; }
.contador__lbl { font-size: 15px; margin-top: 4px; }

/* ---------- Ventajas ---------- */
.ventajas { background: var(--gris); overflow: hidden; }
.ventajas::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='40' viewBox='0 0 200 40'%3E%3Cpath d='M0 20 Q25 0 50 20 T100 20 T150 20 T200 20' fill='none' stroke='%23DDE1EE' stroke-width='1'/%3E%3C/svg%3E");
}
.cabecera-seccion { text-align: center; max-width: 720px; margin: 0 auto 56px; position: relative; }
.cabecera-seccion h2 { font-size: clamp(30px, 3.4vw, 44px); }
.ventajas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.ventaja {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 40px 34px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.ventaja:hover { transform: translateY(-6px); box-shadow: var(--sombra-fuerte); border-color: transparent; }
.ventaja__ic { position: relative; width: 72px; height: 72px; border-radius: 14px; background: var(--rojo-claro); color: var(--rojo); display: grid; place-items: center; font-size: 32px; margin: 14px 0 26px; transition: all .35s; }
.ventaja__ic::before { content: ""; position: absolute; top: -14px; left: 0; width: 30px; height: 3px; background: var(--rojo); border-radius: 2px; }
.ventaja:hover .ventaja__ic { background: var(--rojo); color: #fff; }
.ventaja h3 { font-size: 22px; }
.ventaja p { font-size: 15.5px; }
.mas { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--texto); font-size: 15px; }
.mas .ic { color: var(--rojo); transition: transform .25s; }
.mas:hover { color: var(--rojo); }
.mas:hover .ic { transform: translateX(5px); }

/* ---------- Banner ubicación ---------- */
.banner-ubi {
  position: relative; padding: 100px 0; color: #fff; overflow: hidden;
  /* REEMPLAZAR IMAGEN: assets/img/banner-teleferico.jpg (teleférico de La Paz con nevado de fondo) */
  background: linear-gradient(120deg, #1b2240 0%, #0E0D1F 60%, #2a0d14 100%) center / cover;
}
.banner-ubi::before { content: ""; position: absolute; inset: 0; background: rgba(14, 13, 31, .85); }
.banner-ubi .deco-cubos { left: -20px; top: 0; bottom: 0; width: 340px; height: 100%; color: #3B4C8F; opacity: .6; }
.banner-ubi__monte { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; color: rgba(255, 255, 255, .04); }
.banner-ubi__monte svg { width: 100%; height: 100%; }
.banner-ubi .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.banner-ubi h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); max-width: 720px; }
.banner-ubi__datos { display: flex; flex-wrap: wrap; gap: 10px 28px; color: rgba(255, 255, 255, .82); font-size: 16px; }
.banner-ubi__datos span { display: flex; gap: 10px; align-items: center; }
.banner-ubi__datos .ic { color: var(--rojo); font-size: 18px; }
.ver-mapa { display: flex; flex-direction: column; align-items: center; gap: 16px; flex-shrink: 0; font-family: var(--f-titulo); font-weight: 600; font-size: 18px; }
.ver-mapa__circ { position: relative; width: 110px; height: 110px; border-radius: 50%; background: var(--rojo); display: grid; place-items: center; font-size: 40px; transition: transform .3s; }
.ver-mapa__circ::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.ver-mapa__circ::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--rojo); z-index: -1; animation: pulso 2s ease-out infinite; }
.ver-mapa:hover .ver-mapa__circ { transform: scale(1.06); }
@keyframes pulso { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.ver-mapa__circ { isolation: isolate; }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-head {
  position: relative; padding: 100px 0 90px; color: #fff; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse at 70% 0%, #2a2558 0%, var(--noche) 60%);
}
.page-head::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 50px 50px; }
.page-head .deco-cubos { right: 2%; top: 10px; width: 260px; height: 200px; color: #3B4C8F; opacity: .7; }
.page-head .deco-cubos--izq { left: 2%; right: auto; top: auto; bottom: -20px; }
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; font-size: clamp(30px, 4.6vw, 56px); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.miga { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); padding: 8px 22px; border-radius: 50px; font-size: 14.5px; }
.miga a:hover { color: var(--rojo); }
.miga .ic { color: var(--rojo); font-size: 14px; }
.miga span[aria-current] { color: var(--rojo); font-weight: 600; text-transform: uppercase; }

.interna { padding: 90px 0 100px; }
.interna__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 50px; align-items: start; }
.contenido > * + * { margin-top: 0; }
.contenido .intro { font-size: 18px; color: var(--texto); border-left: 4px solid var(--rojo); padding: 4px 0 4px 22px; margin-bottom: 48px; }
.contenido .intro strong { color: var(--rojo); }
.contenido h2 { font-size: 26px; text-transform: uppercase; letter-spacing: .5px; margin: 56px 0 18px; display: flex; align-items: center; gap: 14px; }
.contenido h2::before { content: ""; width: 34px; height: 4px; background: var(--rojo); border-radius: 2px; flex-shrink: 0; }
.contenido h2:first-of-type { margin-top: 0; }
.contenido h3 { font-size: 20px; margin: 30px 0 10px; }
.contenido p { margin-bottom: 1em; }
.contenido a:not(.btn) { color: var(--rojo); font-weight: 600; }
.contenido a:not(.btn):hover { text-decoration: underline; }
.lista { display: grid; gap: 14px; margin: 0 0 20px; }
.lista li { position: relative; padding: 16px 20px 16px 54px; background: var(--gris); border-radius: 12px; }
.lista li::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.lista strong { color: var(--texto); }
.lista--simple li { background: none; padding: 4px 0 4px 34px; }
.lista--simple li::before { left: 0; top: 8px; }

/* Tarjetas de servicio internas */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 20px; }
.svc {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 34px 30px;
  display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--sombra-fuerte); }
.svc__ic { width: 66px; height: 66px; border-radius: 14px; background: var(--rojo-claro); color: var(--rojo); display: grid; place-items: center; font-size: 30px; margin-bottom: 22px; transition: all .3s; }
.svc:hover .svc__ic { background: var(--rojo); color: #fff; }
.svc h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .4px; margin: 0 0 12px; line-height: 1.3; }
.svc p { font-size: 15.5px; flex: 1; }
.svc .btn { align-self: flex-start; }

/* Pasos (línea de tiempo) */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0 20px; position: relative; counter-reset: paso; }
.pasos::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--rojo) 0 10px, transparent 10px 18px); opacity: .5; }
.paso { position: relative; text-align: center; }
.paso__num {
  position: relative; width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 2px solid var(--rojo);
  color: var(--rojo); font-family: var(--f-titulo); font-weight: 700; font-size: 24px; display: grid; place-items: center;
  margin: 0 auto 18px; transition: all .3s; box-shadow: 0 0 0 8px #fff;
}
.paso:hover .paso__num { background: var(--rojo); color: #fff; }
.paso h3 { font-size: 17px; margin: 0 0 8px; }
.paso p { font-size: 14.5px; margin: 0; }

/* Caja de contacto final */
.caja-contacto { background: var(--rojo-claro); border-radius: 20px; padding: 40px; margin-top: 56px; position: relative; overflow: hidden; }
.caja-contacto::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(225, 10, 10, .07); }
.caja-contacto h2 { margin-top: 0 !important; }
.caja-contacto__datos { display: flex; flex-wrap: wrap; gap: 16px 34px; margin: 18px 0; }
.caja-contacto__datos a { display: flex; align-items: center; gap: 12px; color: var(--texto) !important; font-weight: 600; }
.caja-contacto__datos a .ic-circ { width: 44px; height: 44px; border-radius: 50%; background: var(--rojo); color: #fff; display: grid; place-items: center; font-size: 18px; }
.caja-contacto__cierre { font-weight: 700; color: var(--texto); font-size: 17px; }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; }
.widget { background: var(--gris); border-radius: var(--radio); padding: 30px 26px; }
.widget h3 { font-size: 20px; margin-bottom: 18px; padding-bottom: 12px; position: relative; }
.widget h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--rojo); border-radius: 2px; }
.widget .search-form { flex-direction: column; }
.widget .search-form input { background: #fff; height: 50px; }
.widget .search-form .btn { height: 50px; }
.widget--cta { background: var(--noche); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.widget--cta h3 { color: #fff; }
.widget--cta .ic-grande { font-size: 44px; color: var(--rojo); margin-bottom: 12px; display: flex; }
.widget--cta a.tel { display: block; font-family: var(--f-titulo); font-size: 24px; font-weight: 700; color: #fff; margin: 6px 0 18px; }
.widget--cta a.tel:hover { color: var(--rojo); }
.widget__links li a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--borde); font-weight: 600; color: var(--texto); font-size: 15px; }
.widget__links li:last-child a { border-bottom: 0; }
.widget__links li a:hover, .widget__links li a.activo { color: var(--rojo); }
.widget__links .ic { color: var(--rojo); }

/* Contacto */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 26px 24px; transition: box-shadow .3s, transform .3s; }
.info-card:hover { box-shadow: var(--sombra); transform: translateY(-4px); }
.info-card__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--rojo); color: #fff; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.info-card h3 { font-size: 18px; margin: 4px 0 6px; }
.info-card p { margin: 0; font-size: 15px; }
.info-card a { color: var(--texto-2) !important; font-weight: 500 !important; }
.info-card a:hover { color: var(--rojo) !important; }

.form { background: #fff; border: 1px solid var(--borde); border-radius: 20px; padding: 36px; box-shadow: var(--sombra); margin-top: 10px; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form__full { grid-column: 1 / -1; }
.campo label { display: block; font-weight: 600; color: var(--texto); font-size: 14.5px; margin-bottom: 8px; }
.campo label .req { color: var(--rojo); }
.campo input, .campo textarea {
  width: 100%; border: 1px solid var(--borde); background: var(--gris); border-radius: 12px; padding: 14px 18px;
  color: var(--texto); outline: none; transition: border-color .25s, background .25s, box-shadow .25s;
}
.campo textarea { min-height: 160px; resize: vertical; }
.campo input:focus, .campo textarea:focus { border-color: var(--rojo); background: #fff; box-shadow: 0 0 0 4px rgba(225, 10, 10, .08); }
.campo.error input, .campo.error textarea { border-color: var(--rojo); background: #fff8f8; }
.campo__err { display: none; color: var(--rojo); font-size: 13px; margin-top: 6px; }
.campo.error .campo__err { display: block; }
.form .btn { margin-top: 24px; }
.form .btn[disabled] { opacity: .7; pointer-events: none; }
.aviso { display: none; margin-top: 20px; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.aviso.ok { display: block; background: #E7F8EE; color: #137a3d; }
.aviso.err { display: block; background: var(--rojo-claro); color: var(--rojo-osc); }

.mapa { border-radius: 20px; overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 16 / 9; margin: 20px 0; background: var(--gris); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

/* Textos legales */
.legal h2 { font-size: 21px; }
.legal p, .legal li { font-size: 15.5px; }
.legal ul.puntos { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal ul.puntos li { margin-bottom: 6px; }
.legal .actualizado { font-size: 14px; color: #8a8ea8; }

/* ==========================================================================
   Tienda
   ========================================================================== */
.tienda { padding: 44px 0 90px; background: var(--gris); }
.tienda__lista { display: grid; gap: 40px; }

/* Cabecera de página compacta (Tienda) */
.page-head--compacto { padding: 38px 0 34px; }
.page-head--compacto h1 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 10px; }
.page-head--compacto .deco-cubos { width: 170px; height: 130px; }

/* Categorías (se generan solas desde la etiqueta de cada producto) */
.tienda__categorias { display: flex; gap: 10px; margin: 0 0 26px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tienda__categorias::-webkit-scrollbar { display: none; }
.tienda__categorias:empty { display: none; }
.tienda__categorias button {
  flex-shrink: 0; border: 1px solid var(--borde); background: #fff; color: var(--texto); border-radius: 50px;
  padding: 9px 20px; font: 700 13px/1 var(--f-texto); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all .25s;
}
.tienda__categorias button:hover { border-color: var(--rojo); color: var(--rojo); }
.tienda__categorias button.activo { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.prod[hidden] { display: none; }

.prod {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 46px; align-items: start;
  background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--sombra); border: 1px solid var(--borde);
}
/* Galería deslizable */
.prod__galeria { position: relative; position: sticky; top: calc(var(--header-h) + 20px); }
.prod__fotos {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 16px;
  background: #0b0b14; aspect-ratio: 4 / 3; scrollbar-width: none;
}
.prod__fotos::-webkit-scrollbar { display: none; }
.prod__fotos img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.prod__flecha {
  position: absolute; top: calc(50% - 32px); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer; font-size: 18px; background: rgba(255, 255, 255, .92); color: var(--texto);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: background .25s, color .25s;
}
.prod__flecha:hover { background: var(--rojo); color: #fff; }
.prod__flecha--prev { left: 12px; }
.prod__flecha--next { right: 12px; }
.prod__puntos { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.prod__puntos button { width: 10px; height: 10px; padding: 0; border: 1.5px solid #9aa0b5; border-radius: 50%; background: transparent; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.prod__puntos button:hover { border-color: var(--rojo); }
.prod__puntos button.activo { background: var(--rojo); border-color: var(--rojo); transform: scale(1.15); }

/* Información */
.prod__categoria { display: none; } /* solo la usa la barra de categorías */
.prod__titulo { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.prod__modelo { color: var(--texto-2); font-size: 15px; margin-bottom: 26px; }
.prod__carac { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.prod__carac li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--gris); }
.prod__ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--rojo); color: var(--rojo); display: grid; place-items: center; font-size: 21px; }
.prod__carac strong { display: block; color: var(--texto); font-family: var(--f-titulo); font-size: 15.5px; line-height: 1.25; text-transform: uppercase; letter-spacing: .3px; }
.prod__carac div span { font-size: 13.5px; line-height: 1.4; display: block; }
.prod__compat { border: 1px dashed #cfd4e4; border-radius: 14px; padding: 16px 18px; margin-bottom: 22px; }
.prod__compat p { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 700; color: var(--texto); font-size: 14.5px; text-transform: uppercase; letter-spacing: .5px; }
.prod__compat p .ic { color: var(--rojo); font-size: 20px; }
.prod__compat ul { display: flex; flex-wrap: wrap; gap: 8px; }
.prod__compat li { background: var(--noche); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 50px; }
.prod__specs { border: 1px solid var(--borde); border-radius: 14px; margin-bottom: 26px; overflow: hidden; }
.prod__specs summary {
  cursor: pointer; list-style: none; padding: 14px 54px 14px 20px; color: var(--texto); background: #fff; position: relative; display: block;
}
.prod__specs-tit { display: block; font-family: var(--f-titulo); font-weight: 700; font-size: 16px; line-height: 1.3; }
.prod__specs-ayuda { display: block; font-size: 12.5px; color: #8a8ea8; margin-top: 2px; }
.prod__specs[open] .prod__specs-ayuda { display: none; }
.prod__specs summary::-webkit-details-marker { display: none; }
.prod__specs summary::after { content: "+"; position: absolute; right: 20px; top: 50%; margin-top: -12px; font-size: 24px; color: var(--rojo); line-height: 1; transition: transform .25s; }
.prod__specs[open] summary::after { transform: rotate(45deg); }
.prod__specs table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prod__specs tr:nth-child(odd) { background: var(--gris); }
.prod__specs th, .prod__specs td { padding: 10px 20px; text-align: left; vertical-align: top; }
.prod__specs th { color: var(--texto); font-weight: 600; width: 46%; }
.prod__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.prod__acciones .btn { padding: 17px 36px; font-size: 16px; }
.prod__acciones .btn .ic { font-size: 20px; }
.prod__nota { font-size: 13.5px; color: var(--texto-2); }
/* Ventajas debajo del botón */
.prod__ventajas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--borde); }
.prod__ventajas li { display: flex; align-items: center; gap: 10px; }
.prod__ventajas .ic { flex-shrink: 0; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--rojo-claro); color: var(--rojo); }
.prod__ventajas strong { display: block; color: var(--texto); font-size: 13.5px; line-height: 1.25; }
.prod__ventajas span { display: block; font-size: 12.5px; line-height: 1.35; }

/* Bloques creados desde el panel de administración */
.cms-figura { margin: 0 0 24px; }
.cms-figura img { width: 100%; height: auto; border-radius: var(--radio); box-shadow: var(--sombra); }
.cms-figura figcaption { font-size: 14px; color: #8a8ea8; margin-top: 10px; text-align: center; }
.contenido .svc-grid, .contenido .pasos, .contenido .info-grid { margin-top: 10px; }
.cms-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); margin: 0 0 24px; background: #000; }
.cms-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fondos con foto elegidos desde el panel: oscurecer para que se lea el texto */
.slide--1[style*="background-image"]::before { background: rgba(10, 9, 22, .6); }
.page-head[style*="background-image"] { background-size: cover; background-position: center; }
.page-head[style*="background-image"]::before { content: ""; position: absolute; inset: 0; background: rgba(14, 13, 31, .78); z-index: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--noche); color: rgba(255, 255, 255, .72); position: relative; overflow: hidden; padding-top: 80px; }
.footer__deco { position: absolute; left: 0; top: 0; width: 420px; height: 100%; color: #2A2F5A; opacity: .8; pointer-events: none; }
.footer__deco svg { width: 100%; height: 100%; }
.footer .container { position: relative; z-index: 1; }
.footer__grande { display: block; text-align: center; font-family: var(--f-titulo); font-weight: 800; color: var(--rojo); font-size: clamp(28px, 10vw, 140px); line-height: 1; letter-spacing: 2px; padding-bottom: 40px; white-space: nowrap; border-bottom: 1px solid rgba(255, 255, 255, .1); transition: letter-spacing .4s, color .3s; }
.footer__grande:hover { letter-spacing: 6px; color: #ff2a2a; }
.footer__cols { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr 1.3fr; gap: 40px; padding: 60px 0; }
.footer h4 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 24px; position: relative; }
.footer h4 .ligero { font-weight: 300; }
.footer h4.subr { padding-bottom: 14px; }
.footer h4.subr::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--rojo); border-radius: 2px; }
.footer__dato { display: flex; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.footer__dato .ic { color: var(--rojo); font-size: 18px; margin-top: 4px; }
.footer__dato a:hover { color: #fff; }
.footer__dato strong { color: var(--rojo); }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.footer__links a { display: flex; gap: 8px; font-size: 15px; line-height: 1.5; }
.footer__links a::before { content: "»"; color: var(--rojo); font-weight: 700; }
.footer__links a:hover { color: #fff; transform: translateX(3px); }
.footer .search-form { flex-direction: column; position: relative; }
.footer .search-form input { background: #fff; height: 50px; border-radius: 8px; border: 0; }
.footer .search-form .btn { height: 50px; border-radius: 8px; }
.footer .search-results { top: calc(100% + 8px); }
.footer .search-results strong { color: var(--texto); }
.newsletter p { font-size: 15px; }
.newsletter__form { display: flex; position: relative; }
.newsletter__form input[type="email"] { flex: 1; min-width: 0; height: 52px; border: 0; border-radius: 8px 0 0 8px; padding: 0 18px; outline: none; color: var(--texto); }
.newsletter__form button { width: 56px; height: 52px; border: 0; background: var(--rojo); color: #fff; border-radius: 0 8px 8px 0; cursor: pointer; font-size: 20px; display: grid; place-items: center; transition: background .25s; }
.newsletter__form button:hover { background: var(--rojo-osc); }
.newsletter .aviso { margin-top: 12px; font-size: 14px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; text-align: center; font-size: 14.5px; }
.footer__bottom strong { color: #fff; }

/* ---------- Botones flotantes ---------- */
.subir {
  position: fixed; right: 24px; bottom: 24px; z-index: 800; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--rojo); background: #fff; color: var(--rojo); display: grid; place-items: center;
  font-size: 22px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .35s;
}
.subir.visible { opacity: 1; visibility: visible; transform: none; }
.subir:hover { background: var(--rojo); color: #fff; }
.wa-flotante {
  position: fixed; left: 24px; bottom: 24px; z-index: 800; width: 60px; height: 60px; border-radius: 50%;
  background: var(--verde-wa); color: #fff; display: grid; place-items: center; font-size: 32px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .3s;
}
.wa-flotante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--verde-wa); z-index: -1; animation: pulso 2.2s ease-out infinite; }
.wa-flotante { isolation: isolate; }
.wa-flotante:hover { transform: scale(1.1); }
.wa-flotante__tip { position: absolute; left: 74px; white-space: nowrap; background: #fff; color: var(--texto); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 8px; box-shadow: var(--sombra); opacity: 0; transform: translateX(-8px); transition: all .3s; pointer-events: none; }
.wa-flotante:hover .wa-flotante__tip { opacity: 1; transform: none; }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.visto { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .slide [data-anim] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .nav, .header__sep, .llamar { display: none; }
  .btn-menu { display: grid; }
  .header__der { margin-left: auto; }
  .servicios-top__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  :root { --header-h: 78px; }
  .header__logo img { height: 44px; }
  .topbar__dir { display: none; }
  .about__grid, .interna__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__media { max-width: 600px; }
  .ventajas__grid { grid-template-columns: 1fr 1fr; }
  .banner-ubi .container { flex-direction: column; align-items: flex-start; }
  .sidebar { position: static; }
  .hero__flecha { width: 48px; height: 48px; font-size: 19px; }
  .hero__flecha--prev { left: 14px; }
  .hero__flecha--next { right: 14px; }
  .slide__deco--engranaje { width: 420px; height: 420px; right: -160px; }
}
@media (max-width: 767px) {
  .topbar__mail, .topbar__hora { display: none; }
  .topbar__tel { display: none; }
  .topbar .container { min-height: 42px; }
  .topbar__der { gap: 14px; }
  .hero { min-height: 600px; height: 92vh; }
  .slide .container { padding: 0 34px 100px; }
  .slide--3 .slide__content, .slide--1 .slide__content { text-align: left; margin: 0; }
  .slide--3 .slide__text { margin-left: 0; }
  .slide__text { font-size: 16px; }
  .hero__flecha { top: auto; bottom: 26px; transform: none; }
  .hero__flecha:hover { transform: scale(1.06); }
  .hero__dots { bottom: 44px; }
  .servicios-top { margin-top: -50px; }
  .servicios-top__grid, .ventajas__grid, .svc-grid, .info-grid, .form__grid, .footer__cols { grid-template-columns: 1fr; }
  .seccion { padding: 80px 0; }
  .about__sello { left: 10px; width: 80px; height: 80px; font-size: 30px; }
  .pasos { grid-template-columns: 1fr; gap: 0; }
  .pasos::before { top: 10px; bottom: 10px; left: 30px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--rojo) 0 10px, transparent 10px 18px); }
  .paso { display: grid; grid-template-columns: 62px 1fr; gap: 0 18px; text-align: left; padding-bottom: 26px; }
  .paso__num { grid-row: span 2; margin: 0; }
  .paso h3 { margin-top: 8px; }
  .caja-contacto, .form { padding: 28px 22px; }
  .page-head { padding: 48px 0 44px; }
  .page-head h1 { font-size: 28px; }
  .interna { padding: 60px 0 70px; }
  .contenido h2 { font-size: 21px; }
  .footer__links { grid-template-columns: 1fr; }
  .wa-flotante { width: 54px; height: 54px; font-size: 28px; left: 16px; bottom: 16px; }
  .subir { right: 16px; bottom: 16px; width: 46px; height: 46px; }
  .search-form .btn { padding: 0 18px; }
}
@media (max-width: 420px) {
  .header .container { gap: 12px; }
  .header__logo img { height: 38px; }
  .btn-buscar { width: 44px; height: 44px; }
}

/* Tienda – responsive */
@media (max-width: 991px) {
  .prod { grid-template-columns: 1fr; gap: 30px; }
  .prod__galeria { position: relative; top: auto; }
}
@media (max-width: 767px) {
  .tienda { padding: 22px 0 60px; }
  .page-head--compacto { padding: 22px 0 20px; }
  .page-head--compacto h1 { font-size: 24px; margin-bottom: 8px; letter-spacing: .5px; }
  .page-head--compacto .miga { padding: 5px 14px; font-size: 13px; }
  .page-head--compacto .deco-cubos { display: none; }
  .container:has(> .tienda__lista) { padding: 0 12px; }
  .prod__galeria { margin: -18px -18px 0; }
  .prod__fotos { border-radius: 18px 18px 0 0; }
  .prod__titulo { font-size: 24px; }
  .prod__modelo { font-size: 14px; margin-bottom: 18px; }
  .prod__compat { padding: 9px 10px; border-radius: 10px; margin-bottom: 16px; }
  .prod__compat p { font-size: 10.5px; gap: 6px; margin-bottom: 7px; letter-spacing: .3px; }
  .prod__compat p .ic { font-size: 14px; }
  .prod__compat ul { flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .prod__compat ul::-webkit-scrollbar { display: none; }
  .prod__compat li { flex-shrink: 0; font-size: 10.5px; padding: 4px 8px; }
  .prod__specs summary { padding: 12px 46px 12px 16px; }
  .prod__specs summary::after { right: 16px; }
  .prod__specs-tit { font-size: 15px; }
  .prod__specs-ayuda { font-size: 12px; }
  .prod__ventajas { grid-template-columns: 1fr; gap: 12px; }
  .prod { padding: 18px; border-radius: 18px; }
  .prod__carac { gap: 8px; margin-bottom: 18px; }
  .prod__carac li { gap: 9px; padding: 10px; border-radius: 12px; }
  .prod__ic { width: 34px; height: 34px; font-size: 16px; border-width: 1.5px; }
  .prod__carac strong { font-size: 12.5px; letter-spacing: 0; }
  .prod__carac div span { font-size: 11.5px; line-height: 1.3; }
  .prod__specs th, .prod__specs td { padding: 9px 14px; display: block; width: auto; }
  .prod__specs th { padding-bottom: 0; }
  .prod__acciones .btn { width: 100%; }
  .prod__puntos { gap: 7px; margin-top: 12px; }
}

/* ==========================================================================
   Tienda con pedidos: precio, stock, carrito, pedido y seguimiento
   ========================================================================== */
/* Botón del carrito en la cabecera */
.btn-carrito {
  position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--borde); background: #fff;
  display: grid; place-items: center; color: var(--texto); font-size: 20px; transition: all .25s;
}
.btn-carrito:hover { background: var(--rojo); color: #fff; border-color: var(--rojo); }
.btn-carrito__n {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--rojo);
  color: #fff; font-size: 11.5px; font-weight: 700; line-height: 17px; text-align: center; border: 2px solid #fff;
}
.btn-carrito__n[hidden] { display: none; }

/* Precio y disponibilidad en el producto */
.prod__compra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -8px 0 22px; }
.prod__precio { font-family: var(--f-titulo); font-weight: 800; font-size: 30px; color: var(--rojo); line-height: 1; }
.prod__precio--consultar { font-size: 18px; color: var(--texto-2); font-weight: 600; }
.prod__stock { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 50px; }
.prod__stock--ok { background: #E7F8EE; color: #137a3d; }
.prod__stock--pocas { background: #FFF4DB; color: #8a5a00; }
.prod__stock--agotado { background: #EEF0F6; color: #6b6f86; }
.cantidad { display: inline-flex; align-items: center; border: 1px solid var(--borde); border-radius: 50px; background: #fff; overflow: hidden; }
.cantidad button { width: 44px; height: 52px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--texto); }
.cantidad button:hover { background: var(--gris); color: var(--rojo); }
.cantidad input { width: 44px; height: 52px; border: 0; text-align: center; font: 700 16px var(--f-texto); color: var(--texto); -moz-appearance: textfield; }
.cantidad input::-webkit-outer-spin-button, .cantidad input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cantidad--mini button { width: 30px; height: 30px; font-size: 16px; }
.cantidad--mini span { min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }
.tienda__aviso { background: #FFF4DB; color: #6b4600; border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.tienda__vacia { background: #fff; border-radius: 16px; padding: 40px; text-align: center; }

/* Panel lateral del carrito */
.carrito { position: fixed; inset: 0; z-index: 1100; }
.carrito[hidden] { display: none; }
.carrito__fondo { position: absolute; inset: 0; background: rgba(14, 13, 31, .55); opacity: 0; transition: opacity .3s; }
.carrito__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.7, 0, .2, 1); box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
}
.carrito.abierto .carrito__fondo { opacity: 1; }
.carrito.abierto .carrito__panel { transform: none; }
body.carrito-abierto { overflow: hidden; }
.carrito__cab { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--borde); }
.carrito__cab h2 { margin: 0; font-size: 22px; }
.carrito__x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gris); font-size: 24px; cursor: pointer; color: var(--texto); }
.carrito__avisos p { margin: 10px 22px 0; background: #FFF4DB; color: #6b4600; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; }
.carrito__lista { flex: 1; overflow-y: auto; padding: 8px 22px; }
.carrito__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--borde); align-items: start; }
.carrito__item img, .carrito__sinfoto { display: block; width: 72px; height: 54px; object-fit: cover; border-radius: 8px; background: #0b0b14; }
.carrito__info strong { display: block; color: var(--texto); font-size: 14.5px; line-height: 1.3; }
.carrito__info small { display: block; font-size: 12.5px; }
.carrito__precio { display: block; font-size: 13px; margin: 2px 0 8px; }
.carrito__der { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.carrito__der strong { color: var(--texto); font-size: 15px; white-space: nowrap; }
.carrito__quitar { border: 0; background: none; color: var(--rojo); font-size: 13px; cursor: pointer; padding: 0; text-decoration: underline; }
.carrito__vacio { text-align: center; padding: 50px 0; }
.carrito__pie { padding: 18px 22px 22px; border-top: 1px solid var(--borde); display: grid; gap: 10px; }
.carrito__pie[hidden] { display: none; }
.carrito__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; color: var(--texto); }
.carrito__subtotal strong { font-family: var(--f-titulo); font-size: 22px; }
.carrito__seguir { border: 0; background: none; color: var(--texto-2); cursor: pointer; font: inherit; font-size: 14px; }
.btn-bloque { width: 100%; }
.tostada {
  position: fixed; left: 50%; bottom: 26px; z-index: 1200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--noche); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14.5px; transition: all .3s; max-width: 92vw; text-align: center;
}
.tostada.visible { opacity: 1; transform: translate(-50%, 0); }
.tostada.ok { background: #137a3d; }

/* Formulario de pedido */
.tienda--pedido { padding-top: 40px; }
.pedido { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.pedido[hidden] { display: none; }
.pedido__form { display: grid; gap: 18px; }
.pedido__bloque { background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 24px; margin: 0; min-width: 0; }
.pedido__bloque legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; font-family: var(--f-titulo); font-weight: 700; font-size: 19px; color: var(--texto); display: flex; align-items: center; gap: 10px; }
.pedido__bloque legend > span:first-child { width: 30px; height: 30px; border-radius: 50%; background: var(--rojo); color: #fff; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.pedido__bloque legend small { font-weight: 400; font-size: 14px; color: var(--texto-2); }
.pedido__bloque > *:not(legend) { clear: both; }
.campo select { width: 100%; border: 1px solid var(--borde); background: var(--gris); border-radius: 12px; padding: 14px 18px; color: var(--texto); font: inherit; }
.campo.error select { border-color: var(--rojo); }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opciones--mini { max-width: 420px; margin-bottom: 14px; }
.opcion { position: relative; cursor: pointer; margin: 0; }
.opcion input { position: absolute; opacity: 0; }
.opcion__caja { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 2px solid var(--borde); border-radius: 14px; transition: border-color .2s, background .2s; }
.opcion__caja .ic { font-size: 24px; color: var(--rojo); margin-bottom: 4px; }
.opcion__caja strong { color: var(--texto); font-size: 15px; }
.opcion__caja small { font-size: 13px; line-height: 1.45; }
.opcion input:checked + .opcion__caja { border-color: var(--rojo); background: #FFF7F7; }
.opcion input:focus-visible + .opcion__caja { box-shadow: 0 0 0 4px rgba(225, 10, 10, .15); }
.opciones--mini .opcion__caja { padding: 12px 16px; align-items: center; }
.pedido__envio { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--borde); }
.pedido__envio[hidden], [data-factura][hidden] { display: none; }
.campo__err--grupo { display: none; color: var(--rojo); font-size: 13px; margin-top: 8px; }
.campo__err--grupo.visible { display: block; }
.check-legal { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-top: 16px; cursor: pointer; font-weight: 400; }
.check-legal input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--rojo); flex-shrink: 0; }
.check-legal a { color: var(--rojo); font-weight: 600; }
.pedido__resumen { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border-radius: 18px; padding: 24px; border: 1px solid var(--borde); box-shadow: var(--sombra); }
.pedido__resumen h2 { font-size: 20px; margin-bottom: 14px; }
.resumen__items { display: grid; gap: 12px; margin-bottom: 8px; }
.resumen__items li { display: flex; align-items: center; gap: 12px; }
.resumen__items img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; background: #0b0b14; flex-shrink: 0; }
.resumen__items span { flex: 1; min-width: 0; }
.resumen__items strong { display: block; color: var(--texto); font-size: 14px; line-height: 1.3; }
.resumen__items small { font-size: 12.5px; }
.resumen__items b { color: var(--texto); font-size: 14px; white-space: nowrap; }
.resumen__editar { font-size: 13.5px; color: var(--rojo); font-weight: 600; }
.pedido__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--borde); margin-top: 14px; padding-top: 14px; color: var(--texto); }
.pedido__total strong { font-family: var(--f-titulo); font-size: 26px; color: var(--rojo); }
.pedido__pago { background: var(--gris); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 14px 0 16px; }
.pedido__seguir { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--texto-2); }
.pedido__vacio { max-width: 560px; margin: 0 auto; text-align: center; background: #fff; border-radius: 18px; padding: 50px 30px; }
.pedido__vacio[hidden] { display: none; }

/* Confirmación */
.confirmacion { max-width: 680px; margin: 0 auto; text-align: center; background: #fff; border-radius: 22px; padding: 40px 34px; box-shadow: var(--sombra); }
.confirmacion__ok { width: 76px; height: 76px; border-radius: 50%; background: #E7F8EE; color: #137a3d; display: grid; place-items: center; font-size: 40px; margin: 0 auto 14px; }
.confirmacion__etq { margin: 0; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; font-weight: 700; }
.confirmacion__num { font-family: var(--f-titulo); font-weight: 800; font-size: 46px; color: var(--texto); margin: 0 0 12px; letter-spacing: 1px; }
.btn--grande { padding: 18px 34px; font-size: 17px; }
.confirmacion__caja, .pago { text-align: left; background: var(--gris); border-radius: 16px; padding: 20px 22px; margin-top: 26px; }
.confirmacion__caja h3, .pago h3 { font-size: 17px; margin-bottom: 10px; }
.confirmacion__items li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; color: var(--texto); }
.confirmacion__items small { display: block; color: var(--texto-2); }
.confirmacion__caja p { margin: 10px 0 0; font-size: 14.5px; }
.pago__grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.pago__qr { width: 200px; height: 200px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--borde); }
.pago__banco { flex: 1; min-width: 200px; font-size: 14.5px; }
.pago__banco p { margin: 6px 0 0; }
.confirmacion__nota { font-size: 14px; margin-top: 12px; }
.confirmacion__seg { margin-top: 28px; }
.confirmacion__link { font-size: 12.5px; word-break: break-all; color: #8a8ea8; margin-top: 8px; }

/* Seguimiento */
.seguimiento { max-width: 720px; margin: 0 auto; display: grid; gap: 24px; }
.seguimiento__form, .seguimiento__resultado { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--sombra); }
.seguimiento__resultado[hidden] { display: none; }
.seguimiento__form .btn { margin-top: 18px; }
.seg__cab { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--borde); }
.seg__cab small { display: block; font-size: 13px; }
.seg__cab strong { display: block; font-family: var(--f-titulo); font-size: 30px; color: var(--texto); line-height: 1.1; }
.estado { display: inline-block; font-weight: 700; font-size: 14px; padding: 7px 16px; border-radius: 50px; background: #EEF0F6; color: var(--texto); }
.estado--nuevo { background: #E8F0FE; color: #1e40af; }
.estado--conf { background: #EDE9FE; color: #5b21b6; }
.estado--pago { background: #FFF4DB; color: #8a5a00; }
.estado--listo, .estado--env { background: #E0F2FE; color: #075985; }
.estado--ok { background: #E7F8EE; color: #137a3d; }
.estado--cancel { background: #FDE6E6; color: var(--rojo-osc); }
.tl { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 0; }
.tl li { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.tl li:not(:last-child)::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--borde); }
.tl li.hecho:not(:last-child)::before { background: var(--rojo); }
.tl__punto { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--borde); background: #fff; flex-shrink: 0; margin-top: 2px; }
.tl li.hecho .tl__punto { background: var(--rojo); border-color: var(--rojo); }
.tl li.actual .tl__punto { box-shadow: 0 0 0 5px rgba(225, 10, 10, .18); }
.tl strong { display: block; color: var(--texto); font-size: 15px; }
.tl li:not(.hecho) strong { color: #9aa0b5; font-weight: 500; }
.tl small { font-size: 12.5px; }
.seg__caja { background: var(--gris); border-radius: 16px; padding: 18px 20px; margin-top: 16px; }
.seg__caja h3 { font-size: 16px; margin-bottom: 8px; }
.seg__caja p { margin: 0; font-size: 14.5px; }
.seg__caja--ok { background: #E7F8EE; }
.seg__caja--pago { background: #FFF8EC; }
.seg__nota { font-size: 13px; margin-top: 8px !important; color: var(--texto-2); }
.seg__subir { margin-top: 16px; display: grid; gap: 10px; }
.zona-archivo { display: block; border: 2px dashed #d9c38f; border-radius: 12px; padding: 16px; text-align: center; cursor: pointer; background: #fff; font-weight: 600; font-size: 14px; }
.zona-archivo input { display: block; margin: 8px auto 0; font-size: 13px; max-width: 100%; }
.seg__ayuda { text-align: center; font-size: 14px; margin-top: 18px; }
.seg__ayuda a { color: var(--rojo); font-weight: 600; }

@media (max-width: 991px) {
  .pedido { grid-template-columns: 1fr; }
  .pedido__resumen { position: static; }
}
@media (max-width: 767px) {
  .btn-carrito { width: 44px; height: 44px; font-size: 18px; }
  .prod__compra { margin: -4px 0 16px; }
  .prod__precio { font-size: 26px; }
  .prod__acciones { gap: 10px; }
  .prod__acciones .cantidad { flex-shrink: 0; }
  .prod__acciones .btn { flex: 1; width: auto; padding: 15px 16px; }
  .prod__acciones .btn--wa { width: 100%; }
  .cantidad button, .cantidad input { height: 50px; width: 38px; }
  .opciones { grid-template-columns: 1fr; }
  .pedido__bloque, .pedido__resumen, .seguimiento__form, .seguimiento__resultado { padding: 18px; border-radius: 16px; }
  .confirmacion { padding: 30px 18px; }
  .confirmacion__num { font-size: 36px; }
  .btn--grande { width: 100%; padding: 16px 18px; }
  .pago__qr { width: 170px; height: 170px; }
}
@media (max-width: 420px) {
  .header .container { gap: 10px; }
  .header__der { gap: 8px; }
  .btn-carrito, .btn-buscar { width: 40px; height: 40px; }
  .btn-menu { width: 42px; height: 42px; }
}

/* ==========================================================================
   Tienda: cuadrícula de productos (estilo catálogo) y página de producto
   ========================================================================== */
.tienda__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.tcard {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--borde); color: var(--texto); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tcard[hidden] { display: none; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--sombra-fuerte); border-color: transparent; }
.tcard__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #0b0b14; overflow: hidden; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tcard:hover .tcard__img img { transform: scale(1.04); }
.tcard__sinfoto { display: grid; place-items: center; width: 100%; height: 100%; color: #565a78; font-size: 40px; }
.tcard__stock { position: absolute; left: 10px; top: 10px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 50px; }
.tcard__stock--pocas { background: #FFF4DB; color: #8a5a00; }
.tcard__stock--agotado { background: rgba(14, 13, 31, .85); color: #fff; }
.tcard--agotado .tcard__img img { opacity: .55; filter: grayscale(.5); }
.tcard__info { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; flex: 1; }
.tcard__cat { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--rojo); }
.tcard__nombre {
  font-family: var(--f-titulo); font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0; color: var(--texto);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tcard__modelo { font-size: 12.5px; color: var(--texto-2); }
.tcard__precio { margin-top: auto; padding-top: 8px; font-family: var(--f-titulo); font-weight: 800; font-size: 20px; color: var(--rojo); line-height: 1.1; }
.tcard__precio--consultar { font-size: 13.5px; font-weight: 600; color: var(--texto-2); }

/* Página de producto */
.tienda--producto { padding-top: 22px; }
.migas-prod { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; margin-bottom: 18px; color: var(--texto-2); }
.migas-prod a { color: var(--texto-2); font-weight: 600; }
.migas-prod a:hover { color: var(--rojo); }
.migas-prod span { color: #b0b5c8; }
.tienda--producto .prod__titulo { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.relacionados { margin-top: 50px; }
.relacionados__cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.relacionados__cab h2 { font-size: 24px; margin: 0; }
.relacionados__cab a { color: var(--rojo); font-weight: 700; font-size: 14.5px; white-space: nowrap; }

@media (max-width: 1100px) { .tienda__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .tienda__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tcard { border-radius: 12px; }
  .tcard:hover { transform: none; }
  .tcard__info { padding: 9px 10px 11px; gap: 2px; }
  .tcard__cat { font-size: 9.5px; letter-spacing: .5px; }
  .tcard__nombre { font-size: 13.5px; }
  .tcard__modelo { font-size: 11px; }
  .tcard__precio { font-size: 16px; padding-top: 6px; }
  .tcard__precio--consultar { font-size: 11.5px; }
  .tcard__stock { left: 6px; top: 6px; font-size: 10px; padding: 3px 8px; }
  .tienda--producto { padding-top: 14px; }
  .migas-prod { font-size: 12.5px; margin-bottom: 12px; }
  .relacionados { margin-top: 34px; }
  .relacionados__cab h2 { font-size: 19px; }
  .tienda__categorias { margin-bottom: 16px; }
  .tienda__categorias button { padding: 8px 14px; font-size: 12px; }
}

/* Pie de página: «CONTÁCTANOS» entra completo en celulares */
@media (max-width: 767px) {
  .footer__grande { font-size: 10.4vw; letter-spacing: 0; }
  .footer__grande:hover { letter-spacing: 0; }
}

/* Redes sociales en la barra superior (Facebook + TikTok) y sin botón flotante de WhatsApp */
.topbar__social + .topbar__social { margin-left: -12px; }
.topbar__social--tiktok:hover { background: #000; }
.btn--tiktok { background: #000; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); }
.btn--tiktok:hover { background: #222; }
.wa-flotante { display: none !important; }
@media (max-width: 767px) {
  .topbar__social + .topbar__social { margin-left: -6px; }
}

/* Producto en el celular: botón «Agregar al carrito» y cantidad más compactos */
@media (max-width: 767px) {
  .prod__acciones .btn { padding: 11px 14px; font-size: 14.5px; gap: .45em; }
  .prod__acciones .btn .ic { font-size: 17px; }
  .prod__acciones .cantidad button, .prod__acciones .cantidad input { height: 42px; width: 34px; font-size: 15px; }
}
/* Formulario de pedido: casilla legal alineada con su texto */
.check-legal span { flex: 1; line-height: 1.5; }
/* Formulario de pedido: «(opcional)» debajo del título en el celular */
@media (max-width: 767px) {
  .pedido__bloque legend { flex-wrap: wrap; row-gap: 2px; }
  .pedido__bloque legend small { flex-basis: 100%; padding-left: 40px; font-size: 13px; }
}

/* ==========================================================================
   2.6 — Inicio
   ========================================================================== */
/* Slider: sin etiqueta superior, sin botón «Contactar Ahora» y sin flechas */
.slide__tag, .slide__content > .btn, .hero__flecha { display: none !important; }
.slide__text { margin-bottom: 0; }
/* Slider: puntos pequeños */
.hero__dots { gap: 8px; bottom: 112px; }
.hero__dots button { width: 9px; height: 9px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%; transform: none; }
.hero__dots button.activo { background: var(--rojo); border-color: var(--rojo); transform: scale(1.2); }
@media (max-width: 767px) {
  .hero__dots { bottom: 66px; gap: 7px; }
  .hero__dots button { width: 8px; height: 8px; }
}
/* Títulos del slider: raya roja que se puede quitar desde el editor */
.slide__title em.sin-raya::after { display: none; }

/* Íconos cambiados por una imagen propia (editor del panel) */
.srv-card__ic > img, .svc__ic > img, .ventaja__ic > img, .info-card__ic > img, .contador__ic > img {
  position: relative; z-index: 1; width: 1.15em; height: 1.15em; object-fit: contain; display: block;
}

/* Tarjetas de inicio con foto de fondo (editor del panel → «Cambiar foto de fondo») */
.srv-card[style*="background-image"] { background-color: var(--noche); background-size: cover; background-position: center; color: rgba(255, 255, 255, .88); }
.srv-card[style*="background-image"]::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14, 13, 31, .45) 0%, rgba(14, 13, 31, .82) 100%); transition: background .3s; }
.srv-card[style*="background-image"]:hover::after { background: linear-gradient(180deg, rgba(14, 13, 31, .35) 0%, rgba(14, 13, 31, .78) 100%); }
.srv-card[style*="background-image"] > * { position: relative; z-index: 1; }
.srv-card[style*="background-image"] > .srv-card__num { position: absolute; color: rgba(255, 255, 255, .7); }
.srv-card[style*="background-image"]::before { z-index: 2; }
.srv-card[style*="background-image"] h3 { color: #fff; }
.srv-card[style*="background-image"] hr { background: rgba(255, 255, 255, .25); }
.srv-card[style*="background-image"] .srv-card__ic::before { background: rgba(255, 255, 255, .16); }

/* Quiénes somos: foto vertical (matrícula) sin el ícono de documento */
.about__sello { display: none !important; }
.about__media { width: 100%; max-width: 440px; justify-self: center; }
.about__img { aspect-ratio: auto; background: #fff; }
.about__img img { height: auto; object-fit: contain; }
@media (max-width: 991px) {
  .about__media { max-width: 400px; margin: 0 auto; }
}
@media (max-width: 767px) {
  .about__media { max-width: 340px; padding: 0 18px 18px 0; }
}

/* ==========================================================================
   2.7 — Slider
   ========================================================================== */
/* Sin los engranajes del slide 1 ni el rayo del slide 3 */
.slide__deco--engranaje, .slide__deco--engranaje2, .slide__deco--rayo { display: none !important; }
/* Las fotos subidas desde el panel se ajustan al tamaño del slide (antes se veían a tamaño real desde la esquina) */
.slide[style*="background-image"], .slide[style*="--fondo-movil"] { background-size: cover; background-position: center; background-repeat: no-repeat; }
/* Celular: foto propia para cada slide y parte de la foto que se muestra (editor del panel) */
@media (max-width: 767px) {
  .slide[style*="--pos-movil"] { background-position: var(--pos-movil) !important; }
  .slide[style*="--fondo-movil"] { background-image: var(--fondo-movil) !important; background-position: center; }
}

/* ==========================================================================
   2.8 — Producto: precio → cantidad y «Agregar al carrito» → Detalles del producto
   ========================================================================== */
.prod__acciones { margin-bottom: 22px; }
.prod__acciones + .prod__specs { margin-bottom: 24px; }
@media (max-width: 767px) {
  .prod__acciones { margin-bottom: 18px; }
  .prod__acciones + .prod__specs { margin-bottom: 20px; }
}

/* ==========================================================================
   2.9 — Tienda: modelo y descripción corta en las tarjetas (máximo 2 líneas)
   ========================================================================== */
/* 3.0 — modelo en su propia línea y la descripción debajo (máximo 2 líneas) */
.tcard__modelo { font-weight: 400; color: var(--texto); line-height: 1.35; }
.tcard__desc { font-size: 12.5px; color: var(--texto-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
  .tcard__desc { font-size: 11px; }
}

/* ==========================================================================
   3.3 — Contacto: país delante del celular
   ========================================================================== */
.tel-fila { display: flex; gap: 8px; }
.tel-fila .tel-pais { flex: 0 0 auto; width: 47%; max-width: 230px; min-width: 0; padding-left: 12px; padding-right: 6px; text-overflow: ellipsis; }
.tel-fila input { flex: 1; min-width: 0; }
