/* =========================================================
   CAL EL FILO — Hoja de estilos
   Paleta oficial: negro · rojo · blanco (línea del logo)
   ========================================================= */

:root {
  /* Paleta principal — alineada al logo */
  --black:        #0e0e0e;
  --black-2:      #1a1a1a;
  --black-3:      #2a2a2a;
  --red:          #e63027;
  --red-dark:     #b8221a;
  --red-soft:     #ff5a51;
  --white:        #ffffff;
  --off-white:    #f6f4f1;

  /* Grises industriales */
  --gray-50:  #f5f5f5;
  --gray-100: #ebebeb;
  --gray-200: #d4d4d4;
  --gray-400: #888888;
  --gray-600: #555555;
  --gray-800: #2a2a2a;

  /* Funcionales */
  --ink:    #0e0e0e;
  --muted:  #6a6a6a;
  --whats:        #25d366;
  --whats-dark:   #128c7e;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.14);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.25);
  --shadow-red: 0 10px 24px rgba(230,48,39,0.35);

  --max: 1200px;
  --transition: .25s ease;

  --display: "Oswald", "Impact", "Arial Narrow", sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img, svg, iframe { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ============== TOPBAR ============== */
.topbar {
  background: var(--black);
  color: var(--gray-100);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--red);
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.topbar__sep { opacity: 0.4; color: var(--red); }
.topbar__item { white-space: nowrap; }

/* ============== HEADER ============== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.brand__logo {
  height: 56px;
  width: auto;
  display: block;
}
.brand__tag {
  font-family: var(--display);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  border-left: 3px solid var(--red);
  padding-left: 12px;
  line-height: 1.2;
  max-width: 180px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--black-2);
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}
.nav a:hover { color: var(--red); }
.nav a:hover::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--red);
}
.nav__cta {
  background: var(--red);
  color: white !important;
  margin-left: 8px;
}
.nav__cta:hover { background: var(--black) !important; color: white !important; }
.nav__cta:hover::after { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: var(--transition);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(20,20,20,0.75) 50%, rgba(0,0,0,0.92) 100%),
    radial-gradient(1000px 500px at 80% 20%, rgba(230,48,39,0.25), transparent 60%),
    linear-gradient(180deg, #0e0e0e 0%, #1a1a1a 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
/* Montañas decorativas inspiradas en el logo */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'><path fill='%23000' fill-opacity='0.55' d='M0,200 L0,140 L140,40 L210,90 L290,20 L380,110 L470,60 L590,130 L700,50 L820,120 L920,80 L1050,140 L1200,90 L1200,200 Z'/><path fill='%23e63027' fill-opacity='0.08' d='M0,200 L0,160 L160,80 L260,130 L360,70 L480,150 L600,90 L720,140 L860,100 L1000,150 L1200,110 L1200,200 Z'/></svg>");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  pointer-events: none;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  filter: grayscale(0.2) contrast(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.85) 100%),
    linear-gradient(120deg, rgba(230,48,39,0.20), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 110px 24px;
  max-width: 920px;
}
.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--red);
  color: white;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 22px;
}
.hero__title em {
  font-style: normal;
  color: var(--red);
}
.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 0 32px;
  line-height: 1.65;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  padding: 14px 20px;
  min-width: 160px;
}
.badge strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  color: white;
  font-weight: 700;
}
.badge span {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* ============== BOTONES ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn--primary {
  background: var(--red);
  color: white;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { background: var(--black); color: white; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: white; color: var(--black); border-color: white; }
.btn--small { padding: 10px 20px; font-size: 13px; }
.btn--full { width: 100%; }
.btn--whatsapp {
  background: var(--whats);
  color: white;
  box-shadow: 0 10px 24px rgba(37,211,102,0.35);
}
.btn--whatsapp:hover { background: var(--whats-dark); color: white; transform: translateY(-2px); }

/* ============== SECCIONES ============== */
.section { padding: 100px 0; }
.section--soft { background: var(--off-white); }
.section--dark {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(230,48,39,0.15), transparent 60%),
    linear-gradient(180deg, #0e0e0e 0%, #1a1a1a 100%);
  color: var(--gray-100);
  position: relative;
}
.section--dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.section__head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
  padding: 4px 0;
  position: relative;
}
.section__eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 8px auto 0;
}
.section__eyebrow--light { color: var(--red-soft); }
.section__eyebrow--light::after { background: var(--red-soft); }
.section__title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
  line-height: 1.1;
  color: var(--black);
}
.section__title--light { color: white; }
.section__sub { color: var(--muted); font-size: 1.05rem; }
.section__sub--light { color: rgba(255,255,255,0.75); }

/* ============== GRID DE 2 COLUMNAS ============== */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Listas */
.check-list, .info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--black-2);
}
.check-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.info-list--light li { border-color: rgba(255,255,255,0.12); color: var(--gray-100); }
.info-list--light a { color: var(--red-soft); }
.info-list--light a:hover { color: white; }
.info-list--light span:first-child {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--display);
}

/* Foto del equipo + tarjeta flotante */
.nosotros__visual {
  position: relative;
}
.team-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--black);
  box-shadow: var(--shadow-md);
}
.team-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.team-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
}
.stack-card--floating {
  position: absolute;
  bottom: -24px;
  right: -24px;
  padding: 22px 28px;
  border-radius: var(--radius);
  background: var(--red);
  color: white;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--black);
  z-index: 2;
}
.stack-card__num {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}
.stack-card__lbl {
  display: block;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-top: 4px;
}

/* ============== PROCESO ============== */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process__step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}
.process__step:hover {
  background: rgba(230,48,39,0.07);
  transform: translateY(-4px);
  border-top-color: var(--red);
}
.process__num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
  letter-spacing: 1px;
}
.process__step h3 {
  font-family: var(--display);
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  color: white;
  font-weight: 600;
}
.process__step p { color: rgba(255,255,255,0.78); margin: 0; font-size: 15px; }

/* ============== PRODUCTOS ============== */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.product {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--red); }
.product--wide { grid-column: 1 / -1; }

.product__media {
  height: 280px;
  position: relative;
  background: #0e0e0e;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-bottom: 3px solid var(--red);
  overflow: hidden;
}
.product__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0e0e0e;
  transition: transform .35s ease;
}
.product:hover .product__media img { transform: scale(1.04); }
.product__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.5));
  pointer-events: none;
}
.product__media.no-img {
  background:
    radial-gradient(circle at 70% 30%, rgba(230,48,39,0.5), transparent 55%),
    linear-gradient(135deg, #2a2a2a 0%, #0e0e0e 100%);
}
.product__chip {
  position: relative;
  z-index: 1;
  color: white;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--red);
  padding: 6px 14px;
  border-radius: 2px;
}

/* Fondos generados (sin imágenes externas) — paleta negro/rojo */
.product__media--1 {
  background-image:
    radial-gradient(circle at 70% 30%, rgba(230,48,39,0.5), transparent 55%),
    linear-gradient(135deg, #2a2a2a 0%, #0e0e0e 100%);
}
.product__media--2 {
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15), transparent 55%),
    linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
}
.product__media--3 {
  background-image:
    radial-gradient(circle at 50% 60%, rgba(230,48,39,0.4), transparent 55%),
    linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
}
.product__media--4 {
  background-image:
    radial-gradient(circle at 20% 70%, rgba(230,48,39,0.3), transparent 55%),
    linear-gradient(135deg, #2a2a2a 0%, #0e0e0e 100%);
}
.product__media--big {
  height: 160px;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(230,48,39,0.4), transparent 50%),
    linear-gradient(135deg, #0e0e0e 0%, #2a2a2a 100%);
}

.product__body { padding: 26px 28px 30px; }
.product__body h3 {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  color: var(--black);
  font-weight: 600;
}
.product__desc { color: var(--muted); margin: 0 0 18px; }

.product__specs {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px 16px;
  margin: 0 0 16px;
  padding: 16px 18px;
  background: var(--gray-50);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
}
.product__specs dt {
  color: var(--black);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}
.product__specs dd { margin: 0; color: var(--gray-600); }

.product__pros {
  margin: 12px 0 18px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 0 18px;
}
.product__pros summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  padding: 14px 0;
  list-style: none;
}
.product__pros summary::after {
  content: " ▾";
  transition: var(--transition);
  display: inline-block;
}
.product__pros[open] summary::after { transform: rotate(180deg); }
.product__pros p { padding: 0 0 16px; margin: 0; font-size: 14.5px; color: var(--black-2); }

/* Presentaciones (formatos) */
.formats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.format {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--red);
  transition: var(--transition);
}
.format:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.format__num {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.5px;
}
.format__lbl {
  display: block;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin: 4px 0 10px;
  font-weight: 600;
}
.format p { margin: 0; font-size: 13.5px; color: var(--gray-600); }

/* ============== GALERÍA PLANTA ============== */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
}
.gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0e0e0e;
  border: 3px solid var(--black);
  transition: var(--transition);
  cursor: zoom-in;
}
.gallery__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
}
.gallery__item--wide {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}
.gallery__item.no-img {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #2a2a2a, #0e0e0e);
}
.gallery__item.no-img::before {
  content: "Foto pendiente";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.4);
  font-family: var(--display);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
}

/* Galería ampliada (6+ fotos) */
.gallery--xl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  height: auto;
}
.gallery--xl .gallery__item { height: 100%; }
.gallery--xl .gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery--xl .gallery__item--tall { grid-row: span 2; }

@media (max-width: 980px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  .gallery__item--wide { grid-row: 1 / 2; grid-column: 1 / 3; height: 280px; }
  .gallery__item { height: 220px; }
  .gallery--xl { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery--xl .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .gallery--xl .gallery__item--tall { grid-row: span 1; }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide, .gallery__item { grid-column: auto; grid-row: auto; height: 220px; }
  .gallery--xl { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery--xl .gallery__item--wide,
  .gallery--xl .gallery__item--tall { grid-column: auto; grid-row: auto; }
}

/* ============== APLICACIONES ============== */
.apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app {
  background: white;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--gray-100);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.app:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--red);
}
.app__ico { font-size: 32px; margin-bottom: 12px; filter: grayscale(0.2); }
.app h3 {
  font-family: var(--display);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  color: var(--black);
  font-weight: 600;
}
.app p { margin: 0; font-size: 14px; color: var(--muted); }

/* ============== RESEÑAS ============== */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  margin: 0;
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review__stars { color: var(--red); font-size: 18px; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote {
  margin: 0 0 16px;
  color: var(--black-2);
  font-size: 16px;
  line-height: 1.55;
}
.review blockquote::before {
  content: "“";
  font-family: var(--display);
  font-size: 42px;
  color: var(--red);
  line-height: 0.6;
  display: block;
  margin-bottom: 6px;
}
.review figcaption {
  color: var(--muted);
  font-size: 13px;
  font-family: var(--display);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.reviews__note { text-align: center; margin-top: 40px; color: var(--muted); }
.reviews__note a { color: var(--red); font-weight: 600; }

/* ============== UBICACIÓN ============== */
.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--black);
  aspect-ratio: 4/3;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============== CONTACTO ============== */
.contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--display);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--sans);
  transition: var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255,255,255,0.1);
}
.field select option { background: var(--black-2); color: white; }
.form__note { font-size: 13px; color: rgba(255,255,255,0.6); margin: 12px 0 0; text-align: center; }
.form__note a { color: var(--red-soft); }

.contact__info {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 32px;
}
.contact__info h3 {
  font-family: var(--display);
  margin: 0 0 18px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 22px;
}
.contact__cta { margin-top: 24px; }
.contact__small {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin: 12px 0 0;
}

/* ============== FOOTER ============== */
.footer {
  background: var(--black);
  color: var(--gray-100);
  padding: 70px 0 0;
  border-top: 3px solid var(--red);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand strong {
  font-family: var(--display);
  font-size: 26px;
  display: block;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
.footer__brand span {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 4px 0 12px;
}
.footer__brand p { color: rgba(255,255,255,0.55); font-size: 14px; }
.footer__col h4 {
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 16px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}
.footer__col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--red);
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  padding: 4px 0;
}
.footer__col a:hover { color: var(--red-soft); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============== FLOATING WHATSAPP ============== */
.float-whats {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--whats);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  z-index: 90;
  transition: var(--transition);
  animation: pulse 2.4s infinite;
}
.float-whats:hover { background: var(--whats-dark); color: white; transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============== INSTAGRAM / QR ============== */
.social-cta {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
}
.social-cta__qr {
  background: white;
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.social-cta__qr img { width: 100%; height: auto; display: block; }
.social-cta__body h3 {
  font-family: var(--display);
  margin: 0 0 8px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 22px;
}
.social-cta__body p { color: rgba(255,255,255,0.7); margin: 0 0 16px; font-size: 15px; }
.social-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white !important;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 4px;
  transition: var(--transition);
}
.social-cta__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(220,39,67,0.35); color: white !important; }
.social-cta__link svg { width: 18px; height: 18px; fill: currentColor; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .grid-2, .contact { grid-template-columns: 1fr; gap: 40px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .stack-card--floating { right: 12px; bottom: -16px; padding: 16px 20px; }
  .hero { min-height: auto; }
  .social-cta { grid-template-columns: 1fr; text-align: center; }
  .social-cta__qr { max-width: 220px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .topbar { font-size: 12px; }
  .topbar__sep { display: none; }
  .topbar__inner { gap: 4px; flex-direction: column; }

  .header__inner { padding: 10px 18px; gap: 8px; }
  .brand { gap: 10px; }
  .brand__logo { height: 42px; }
  .brand__tag { display: none; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; border-radius: 4px; font-size: 16px; }
  .nav a:hover::after { display: none; }
  .nav__cta { margin: 8px 0 0; text-align: center; }

  .section { padding: 60px 0; }
  .hero { min-height: auto; }
  .hero__content { padding: 60px 18px 90px; }
  .hero__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero__lead { font-size: 0.98rem; }
  .hero__cta { gap: 10px; margin-bottom: 36px; }
  .hero__cta .btn { flex: 1 1 auto; min-width: 0; padding: 14px 18px; font-size: 13px; }
  .hero__badges { gap: 10px; }
  .badge { padding: 12px 14px; min-width: 0; flex: 1 1 calc(50% - 10px); }
  .badge strong { font-size: 20px; }

  .section__title { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  .section__head { margin-bottom: 40px; }

  .process { grid-template-columns: 1fr; }
  .process__step { padding: 24px; }
  .apps { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .contact__info { padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }

  .product__media { height: 220px; }
  .product__body { padding: 22px; }
  .product__specs { grid-template-columns: 1fr; gap: 2px; padding: 14px; }
  .product__specs dt { margin-top: 8px; }

  .stack-card--floating { position: static; margin-top: 18px; display: inline-flex; gap: 12px; align-items: center; }
  .stack-card__num { font-size: 26px; }

  .float-whats { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .float-whats svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero__content { padding: 50px 14px 80px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: 2px; padding: 5px 10px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .badge { flex: 1 1 100%; }
  .section { padding: 50px 0; }
  .review { padding: 22px; }
  .topbar__item { font-size: 11px; }
  .btn { padding: 12px 18px; font-size: 13px; }
  .social-cta { padding: 20px; }
}

/* Soporte para notch / safe area en iPhones */
@supports (padding: max(0px)) {
  .float-whats {
    bottom: max(18px, env(safe-area-inset-bottom));
    right: max(18px, env(safe-area-inset-right));
  }
}
