/* =========================================================
   Tres Nueves — estilos.css
   Un solo archivo para todo el sitio. Ordenado por sección.
   Puntos de quiebre (los mismos del sitio original):
     - tableta: hasta 1024px
     - celular: hasta 767px
   ========================================================= */

/* ---------- 1. Fuentes ---------- */
@font-face { font-family: "Gotham"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fuentes/gotham-light.ttf") format("truetype"); }
@font-face { font-family: "Gotham"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fuentes/gotham-medium.ttf") format("truetype"); }
@font-face { font-family: "Gotham"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fuentes/gotham-bold.ttf") format("truetype"); }
/* Roboto solo se usa en las reseñas y en los campos del formulario */
@font-face { font-family: "Roboto"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fuentes/roboto.woff2") format("woff2"); }

/* ---------- 2. Colores y medidas ---------- */
:root {
  --rojo: #9E1C20;          /* rojo de la marca */
  --rojo-oscuro: #521113;   /* bordes de tarjetas y botón Enviar */
  --rojo-tienda: #A01C24;   /* precios y botones de la tienda */
  --verde: #53702D;         /* detalles verdes de la portada */
  --negro: #000000;
  --blanco: #FFFFFF;
  --gris-texto: #1F1F1F;    /* texto de las entradas del blog */
  --whatsapp: #25D366;

  --letra: "Gotham", Sans-serif;
  --letra-resenas: "Roboto", Arial, sans-serif;

  --borde-pie: 50px;        /* barra roja al final de cada página */
  --alto-cabecera: 10vh;
}
@media (max-width: 767px) {
  :root { --borde-pie: 20px; }
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--letra);
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1; }
p { margin: 0 0 .9rem; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oculto-escritorio { }
@media (min-width: 1025px) { .oculto-escritorio { display: none !important; } }
@media (max-width: 1024px) { .solo-escritorio { display: none !important; } }
@media (max-width: 767px)  { .oculto-celular { display: none !important; } }
@media (min-width: 768px)  { .solo-celular { display: none !important; } }

/* Páginas con desplazamiento "por pantallas" (Drone, Branding, Productos) */
html.por-pantallas { scroll-snap-type: y mandatory; }
html.por-pantallas .pantalla { scroll-snap-align: start; scroll-snap-stop: normal; }

/* ---------- 4. Cabecera y menú ---------- */
.cabecera {
  position: relative;
  z-index: 999;
  display: flex;
  min-height: var(--alto-cabecera);
}
.cabecera__logo {
  width: 10%;
  margin-left: 10%;
  display: flex;
  align-items: center;
}
.cabecera__logo img { width: 100%; height: auto; }
.menu {
  width: 44%;
  margin-left: 27%;
  min-height: 96px; /* el original reservaba dos renglones (menú + carrito) */
}
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.menu a {
  display: block;
  padding: 13px 20px;
  font-family: var(--letra);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--blanco);
}
.menu-boton { display: none; }

/* Cabecera en tableta y celular: logo a la izquierda y botón de menú */
@media (max-width: 1024px) {
  .cabecera { min-height: 0; padding-top: 10px; align-items: center; }
  .cabecera__logo { width: 50%; margin-left: -2%; min-height: 8vh; justify-content: center; }
  .cabecera__logo img { width: 150px; }
  .menu { width: 50%; margin-left: 0; min-height: 5vh; padding-right: 8%; display: flex; align-items: center; justify-content: flex-end; }
  .menu-boton {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: .25em;
    font-size: 22px;
    line-height: 1;
    border: 0;
    border-radius: 3px;
    background: #FFFFFF2E;
    color: var(--blanco);
    cursor: pointer;
  }
  .menu-boton svg { width: 1em; height: 1em; fill: var(--blanco); }
  .menu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--blanco);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
  }
  .menu.abierto ul { display: flex; }
  .menu a {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 300;
    color: var(--negro);
    text-align: left;
  }
  .menu a:hover, .menu a:focus { background: var(--rojo); color: var(--blanco); }
}

/* ---------- 5. Piezas que se repiten ---------- */

/* Título con barras a los lados ( | TEXTO | ) */
.titulo-barras {
  margin: 0 auto;
  text-align: center;
  font-family: var(--letra);
  font-weight: 700;
  color: var(--blanco);
}
@media (min-width: 1200px) { .titulo-barras { border: solid var(--rojo); border-width: 0 10px; } }
@media (max-width: 600px)  { .titulo-barras { border: solid var(--rojo); border-width: 0 10px; } }

/* Línea roja corta centrada */
.linea-roja { width: 25%; margin: 5px auto; border-top: 5px solid var(--rojo); }

/* Bloque "¿ESTÁS LISTO PARA EMPEZAR?"
   Medidas del original: títulos con interlineado de 100px y márgenes negativos; espaciadores de 25px.
   El rojo (blog, tienda y productos) no lleva los espaciadores de arriba y abajo (7vh / 5vh). */
.empezar {
  min-height: 32vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 7vh 10px 5vh;
  background: var(--negro);
  text-align: center;
}
.empezar.empezar--rojo { padding: 0 10px; background: linear-gradient(178deg, #9c1c24 0%, #6B090F 100%); }
.empezar h2 {
  margin: -2vw 0;
  font-size: 2.8vw;
  font-weight: 600;
  letter-spacing: -2px;
  color: var(--blanco);
  line-height: 100px;
}
.empezar h3 {
  margin: calc(25px - 3vw) 0 -3vw;
  font-size: 1.6vw;
  font-weight: 500;
  color: var(--rojo);
  line-height: 100px;
}
.empezar--rojo h3 { color: var(--negro); }
.empezar--h3-negrita h3 { font-weight: 700; }
.empezar--drone h2 { margin-bottom: -3vw; } /* en Drone el título lleva −3vw abajo */
.empezar__redes {
  display: flex;
  gap: 45px;
  justify-content: center;
  margin-top: 25px;
}
.empezar__redes a, .empezar__redes span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2vw;
  font-weight: 400;
  color: var(--blanco);
}
.empezar__redes svg { width: 25px; height: 25px; fill: var(--blanco); }
@media (max-width: 1024px) {
  .empezar h2 { font-size: 3.8vw; margin: -2vw 0 -3vw; }
  .empezar h3 { font-size: 2vw; margin: calc(25px - 5vw) 0 -5vw; }
}
@media (max-width: 767px) {
  .empezar { padding: 9vh 10px 0; }
  .empezar.empezar--rojo { padding: 0 10px; }
  .empezar h2 { margin: 0; font-size: 8vw; line-height: 1.1em; letter-spacing: -1px; }
  .empezar h3 { margin: 2vh 0 0; font-size: 4.5vw; line-height: 1.3em; }
  .empezar__redes { flex-direction: column; gap: 10px; align-items: center; margin-top: 2vh; padding-bottom: 10px; } /* margen de 10px bajo Instagram, como el original */
  .empezar__redes a, .empezar__redes span { font-size: 15px; }
}

/* ---------- 6. Contacto (logo, correo, dirección y formulario) ---------- */
.contacto {
  display: flex;
  padding: 0 3% 7%;
  background: var(--negro);
  border-bottom: var(--borde-pie) solid var(--rojo);
}
.contacto__logo { width: 25%; padding: 10px; }
.contacto__logo img { width: 100%; height: 500px; object-fit: cover; }
@media (min-width: 1200px) {
  .contacto__logo { padding: 0; }
  .contacto__logo img { height: 417px; margin-top: -30px; }
}
.contacto__datos { width: 25%; padding: 2% 2% 0 0; color: var(--blanco); }
.contacto__datos h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--rojo);
  line-height: 1;
  margin-bottom: 20px;
}
/* Medidas del original: el bloque de Inicio y Conoce al Equipo (--portada) tiene otra letra que el del resto */
.contacto__datos p { font-size: 15.36px; line-height: 23.04px; font-weight: 300; }
.contacto__direccion { margin-top: calc(21vh + 54.4px); }
.contacto__direccion p { font-size: 16.64px; line-height: 23.296px; }
.contacto--portada .contacto__datos p { font-size: 16px; line-height: 24px; }
.contacto--portada .contacto__direccion p { line-height: 30px; }
.contacto__formulario { width: 50%; padding-top: calc(2% - 6.8px); }
.contacto .formulario button { font-size: 16.64px; line-height: 16.64px; }
.contacto--portada .formulario button { font-size: 21px; line-height: 21px; }

@media (max-width: 1024px) {
  .contacto__datos { padding: 2%; }
}
@media (max-width: 767px) {
  .contacto { flex-direction: column; padding: 0 3% 15%; margin-top: -3%; }
  .contacto--portada { margin-top: 0; }
  .contacto__logo, .contacto__datos, .contacto__formulario { width: 100%; }
  .contacto__logo { padding: 0; }
  .contacto__logo img { height: 250px; margin: -2vw 0 -9vw; }
  .contacto__datos { margin-top: -20px; padding: 15% 0 0; text-align: center; }
  .contacto__datos h2 { font-size: 31.2px; margin-bottom: 4.3px; }
  .contacto__datos p { font-size: 16px; line-height: 24px; }
  .contacto__direccion p { font-size: 15px; }
  .contacto__direccion { margin-top: calc(5vh + 6px); }
  .contacto__direccion p { line-height: 20px; }
  .contacto__formulario { padding-top: calc(6vh + 5.3px); }
  .contacto .formulario button { font-size: 18px; line-height: 18px; }
  .contacto .formulario .campo:last-of-type { margin-bottom: 0; }
  .entrada-tarjeta__mas { margin-bottom: 5.75px; }
  /* Inicio y Conoce al Equipo */
  .contacto--portada .contacto__logo img { margin-top: 0; }
  .contacto--portada .contacto__datos { padding-top: 30%; }
  .contacto--portada .contacto__datos h2 { font-size: 30px; }
  .contacto--portada .contacto__datos p { font-size: 14px; line-height: 21px; }
  .contacto--portada .contacto__direccion { margin-top: 56.6px; }
  .contacto--portada .contacto__direccion p { font-size: 14px; line-height: 20px; }
  .contacto--portada .contacto__formulario { padding-top: calc(6vh - 7.1px); }
}

/* Formulario */
.formulario { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.formulario .campo { width: 100%; padding: 0 5px; margin-bottom: 14px; }
.formulario .campo--mitad { width: 50%; }
.formulario label {
  display: block;
  font-family: var(--letra);
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  color: var(--blanco);
}
.formulario input, .formulario textarea {
  width: 100%;
  font-family: var(--letra);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--blanco);
  background: var(--negro);
  border: 0;
  border-bottom: 1px solid #69727d;
  border-radius: 3px;
  padding: 8px 16px;
  min-height: 40px;
}
.formulario textarea { padding: 5px 14px; resize: vertical; }
.formulario input:focus, .formulario textarea:focus { outline: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.formulario ::placeholder { color: #69727d; opacity: 1; }
.formulario .trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario button {
  width: 100%;
  min-height: 40px;
  padding: 0 24px;
  font-family: var(--letra);
  font-size: 21px;
  font-weight: 500;
  color: var(--blanco);
  background: var(--rojo-oscuro);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background .3s;
}
.formulario button:hover { background: var(--rojo); }
.formulario button[disabled] { opacity: .6; cursor: wait; }
.formulario__aviso { width: 100%; padding: 0 5px; margin: 10px 0 0; font-size: 15px; font-weight: 300; color: var(--blanco); }
.formulario__aviso.error { color: #ff6b6b; }
@media (max-width: 767px) {
  .formulario .campo--mitad { width: 100%; }
  .formulario label { font-size: 14px; }
  .formulario button { font-size: 18px; }
}

/* ---------- 7. Botón flotante de WhatsApp ---------- */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 1px 6px 24px 0 rgba(7,94,84,.24);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.05); }
.whatsapp svg { width: 36px; height: 36px; fill: var(--blanco); }

/* Franja negra vacía al final de Drone, Branding y Productos (en el original: contenedor de 5vh) */
.pantallas-fin { min-height: 5vh; background: var(--negro); }

/* Barra de avance al fondo (Drone, Branding, Productos) */
.avance {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 10px;
  background: var(--negro);
}
.avance span { display: block; height: 100%; width: 0; background: var(--rojo); }

/* ---------- 8. Portada ---------- */
.portada-hero {
  position: relative;
  min-height: 100vh;
  margin-top: -7%;
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #000 url("../img/portada-fondo.jpg") 50% 50% / cover;
}
/* Video de fondo: cubre toda la sección; la foto del fondo queda de respaldo */
.portada-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.portada-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(180deg, #00000000 15%, #000000 93%);
}
.portada-hero > :not(video) { position: relative; z-index: 2; }
.portada-hero h1 {
  margin: -1% 0 -2%;
  font-size: 80px;
  font-weight: 600;
  line-height: 100px;
  letter-spacing: -4px;
  color: var(--rojo);
}
/* En pantallas muy anchas (2K/4K) el margen en % crecía tanto que el título tapaba el lema: se topa al de 1440 px */
@media (min-width: 1441px) { .portada-hero h1 { margin: -11px 0 -23px; } }
.portada-hero__lema { padding-left: .3%; font-size: 16px; font-weight: 300; color: var(--blanco); }
.portada-hero__lema p { margin: 0 0 .9rem; }
.portada-hero__espacio { height: 37vh; }
.portada-hero__pie {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3%;
}
.portada-hero__frase {
  width: 25%;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: var(--blanco);
  text-shadow: 0 0 10px rgba(0,0,0,.3);
}
.portada-hero__frase span { color: var(--verde); }
.portada-hero__insta {
  width: 20%;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 16px;
  font-weight: 300;
  color: var(--blanco);
}
.portada-hero__insta svg { width: 23px; height: 23px; fill: var(--verde); }
@media (max-width: 1024px) {
  .portada-hero { min-height: 95vh; margin-top: -22%; }
}
@media (max-width: 767px) {
  .portada-hero { margin-top: -20%; padding: 0 5%; }
  .portada-hero h1 { margin: 0; font-size: 13.5vw; line-height: .8em; letter-spacing: -3px; }
  .portada-hero__lema { padding-left: .5%; font-size: 14px; line-height: 1.4em; }
  .portada-hero__espacio { height: 25vh; }
  .portada-hero__frase { width: 45%; font-size: 15px; line-height: 20px; }
  .portada-hero__insta { width: auto; padding-top: 16px; font-size: 15px; white-space: nowrap; }
}

/* Nuestros servicios */
.servicios-titulo { padding: 5% 0; background: var(--negro); }
/* en el original el .5% se mide dentro del título con barras (43% − 20px), no en todo el ancho */
.servicios-titulo h2 { width: 43%; padding-top: .207%; font-size: 3vw; letter-spacing: -1.5px; }
@media (max-width: 1199px) and (min-width: 601px) { .servicios-titulo h2 { width: auto; } }
@media (max-width: 767px) {
  .servicios-titulo { padding: 10% 0; }
  .servicios-titulo h2 { width: 55%; padding-top: .25%; font-size: 30px; }
}

.servicios {
  display: flex;
  padding: 0 3% 7%;
  background: var(--negro);
}
.servicio { width: 25%; }
.servicio__tarjeta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  margin-right: 10px;
  background-position: center;
  background-size: cover;
  border-bottom: 20px solid var(--rojo-oscuro);
  transition: border-color .3s;
}
.servicio__tarjeta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .7;
  transition: opacity .3s;
}
.servicio__tarjeta:hover { border-color: var(--rojo); }
.servicio__tarjeta:hover::before { opacity: .3; }
.servicio__tarjeta h2 {
  position: relative;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--blanco);
  text-align: center;
}
.servicio--productos .servicio__tarjeta::before { opacity: .55; }
.servicio--productos .servicio__tarjeta:hover::before { opacity: .17; }
.servicio--merch .servicio__tarjeta:hover::before { opacity: .23; }
.servicio__texto { padding: 10px; font-size: 16px; font-weight: 300; line-height: 22px; color: var(--blanco); }
.servicio__texto p { margin-bottom: .9rem; }
.servicio--drone .servicio__tarjeta    { background-image: url("../img/servicio-drone.jpg"); }
.servicio--branding .servicio__tarjeta { background-image: url("../img/servicio-branding.jpg"); }
.servicio--productos .servicio__tarjeta{ background-image: url("../img/servicio-productos.jpg"); }
.servicio--merch .servicio__tarjeta    { background-image: url("../img/servicio-merch.jpg"); }
@media (max-width: 1024px) {
  .servicios { flex-wrap: wrap; justify-content: center; }
  .servicio { width: 48%; }
}
@media (max-width: 767px) {
  .servicios { flex-direction: column; padding: 0 3%; }
  .servicio { width: 100%; }
  .servicio__tarjeta { margin: 0 0 1%; }
  .servicio__tarjeta h2 { font-size: 30px; }
  .servicio__texto { padding: 0 0 8% .3%; font-size: 14px; line-height: 1.4em; }
  /* medido en el original: los bloques de un renglón (Branding y Merch) quedan más bajos */
  .servicio--branding .servicio__texto { padding-bottom: calc(8% - 12.6px); }
  .servicio--merch .servicio__texto { padding-bottom: calc(8% - 8.6px); }
}

/* Reseñas de Google (texto fijo)
   Medidas del widget original: resumen 25% centrado, carrusel 75% con 17px a los lados,
   3 tarjetas de 238px por vista (1 en celular), flechas a media tarjeta y puntos 7px debajo. */
.resenas { padding: 0 3% 3%; background: var(--negro); }
.resenas__caja {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  font-family: var(--letra-resenas);
  color: #fff;
}
.resenas__resumen { flex: 0 0 25%; padding: 20px 20px 20px 78px; }
.resenas__resumen a { display: block; font-size: 16px; font-weight: 700; line-height: 21px; color: #eee; }
.resenas__nota { display: flex; align-items: center; gap: 6px; margin: 6px 0; font-size: 17px; font-weight: 700; color: #fb8e28; }
.estrellas { color: #fb8e28; letter-spacing: 2px; font-size: 20px; line-height: 1; }
.resenas__total { font-size: 16px; line-height: normal; color: #ccc; }
.resenas__google { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 19px; color: #fff; }
.resenas__google b { font-weight: 700; }
.g-azul { color: #4285F4; } .g-rojo { color: #EA4335; } .g-amarillo { color: #FBBC05; } .g-verde { color: #34A853; }
.resenas__carrusel { position: relative; flex: 0 0 75%; min-width: 0; padding: 0 17px; }
.resenas__lista {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.resenas__lista::-webkit-scrollbar { display: none; }
.resena {
  flex: 0 0 calc(33.3333% - 2.667px);
  height: 238px;
  padding: 20px 23px;
  scroll-snap-align: start;
  font-size: 15px;
  line-height: 24px;
}
.resena__autor { display: flex; align-items: center; gap: 12px; position: relative; }
.resena__autor img, .resena__inicial {
  width: 46px; height: 46px; border-radius: 50%; object-fit: fill; flex: none; /* fill, como el original */
}
.resena__inicial { display: flex; align-items: center; justify-content: center; background: #e6326e; font-size: 24px; color: #fff; }
.resena__nombre { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 700; line-height: 19px; color: #427fed; }
.resena__fecha { display: block; margin-top: 6px; font-size: 13px; line-height: 15px; color: #bbb; }
.resena__g { position: absolute; right: 0; top: -6px; width: 16px; height: 16px; }
.resena .estrellas { margin: 12px 0; }
.resena__texto {
  margin: 0;
  color: #ececec;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resenas__flecha {
  position: absolute;
  top: 102px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #555;
  box-shadow: 0 0 2px rgba(0,0,0,.4);
  font-size: 16px;
  cursor: pointer;
}
.resenas__flecha--izq { left: 0; }
.resenas__flecha--der { right: 0; }
.resenas__puntos { position: absolute; left: 0; right: 0; top: 245px; text-align: center; font-size: 0; }
.resenas__puntos span { display: inline-block; width: 7px; height: 7px; margin: 0 5px; border-radius: 50%; background: #ccc; opacity: .5; }
.resenas__puntos span.activo { background: #fb8e28; opacity: 1; }
@media (max-width: 767px) {
  .resenas__caja { flex-direction: column; align-items: stretch; }
  .resenas__resumen { flex: none; min-height: 143px; }
  .resenas__carrusel { flex: none; }
  .resena { flex-basis: 100%; }
}

/* Título "CONTÁCTANOS" de la portada */
.contactanos-titulo { padding: 1% 0 4%; background: var(--negro); }
.contactanos-titulo h2 {
  width: 28%;
  padding-top: .132%; /* .5% de la caja con barras (28% − 20px), como en el original */
  font-size: 3vw;
  letter-spacing: -3px;
  border-color: var(--verde);
}
@media (max-width: 1199px) and (min-width: 601px) { .contactanos-titulo h2 { width: auto; } }
@media (max-width: 767px) {
  .contactanos-titulo { padding: 17% 0 0; }
  .contactanos-titulo h2 { width: 80%; font-size: 35px; padding-top: .75%; }
}

/* ---------- 9. Conoce al equipo ---------- */
.equipo-hero {
  position: relative;
  min-height: 55vh;
  margin-top: -9%;
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000 url("../img/equipo-fondo.jpg") center / cover no-repeat;
}
.equipo-hero::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .47; mix-blend-mode: darken; }
.equipo-hero h1 {
  position: relative;
  margin: 0 0 -72.6px; /* −15% del ancho del propio título (484px), como en el original */
  font-size: 3em;
  font-weight: 600;
  line-height: 100px;
  letter-spacing: -2px;
  color: var(--blanco);
}
.equipo-intro { display: flow-root; padding: 5% 3% 1%; background: var(--negro); }
.equipo-intro p {
  width: 70%;
  margin: 0 auto 5px;
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: .5px;
  color: var(--blanco);
  text-align: center;
}
.equipo-intro strong { font-weight: 700; }
.equipo-fotos { padding: 2% 3% 7%; background: linear-gradient(180deg, #070000 0%, #010000 15%, #000 100%); }
.equipo-fotos__fila {
  width: 70%;
  margin: 0 auto 1vw;
  display: flex;
  gap: 0 .6em;
  min-height: 33.3vh;
}
.persona {
  position: relative;
  width: 33.3%;
  min-height: 33.3vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  border: 0;
  padding: 10px;
  font: inherit;
}
.persona::before { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .3s; }
.persona:hover::before, .persona:focus-visible::before { opacity: .65; }
.persona > * { position: relative; opacity: 0; transition: opacity .3s; }
.persona:hover > *, .persona:focus-visible > * { opacity: 1; }
.persona__nombre { margin-bottom: 1%; font-size: 23px; font-weight: 700; letter-spacing: .5px; color: var(--blanco); }
.persona__puesto { font-size: 15px; font-weight: 300; letter-spacing: .5px; color: var(--blanco); margin: 6px 0; }
.persona__boton { display: inline-block; margin-top: 5px; padding: 12px 24px; border-radius: 3px; background: #fff; color: #2C2C2C; font-family: "Poppins", var(--letra); font-size: .7em; font-weight: 700; }
.persona--vacia { visibility: hidden; }
.equipo-fotos__fila:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .equipo-hero { min-height: 45vh; margin-top: -20%; padding: 0 5%; }
  .equipo-hero h1 { margin: 10% 0 0; font-size: 2.2em; line-height: 1em; letter-spacing: -1px; text-align: center; }
  .equipo-intro { padding: 10% 5% 0; }
  .equipo-intro p { width: 95%; }
  .equipo-fotos { padding: 10% 7% 10%; }
  .equipo-fotos__fila { width: 100%; margin-bottom: 0; flex-direction: column; gap: 1em; }
  .equipo-fotos__fila + .equipo-fotos__fila { margin-top: 6vw; }
  .persona { width: 100%; min-height: 42vh; }
}

/* Ventana con la frase de cada persona */
.ventana { border: 0; padding: 0; width: min(900px, 92vw); background: #000; color: #fff; }
.ventana::backdrop { background: rgba(0,0,0,.8); }
.ventana__caja { display: flex; align-items: center; }
.ventana__caja img { width: 45%; aspect-ratio: 1; object-fit: cover; }
.ventana__texto { flex: 1; padding: 30px; text-align: center; }
.ventana__texto blockquote { margin: 0 0 20px; font-size: 20px; font-weight: 300; font-style: italic; }
.ventana__texto h3 { font-size: 23px; font-weight: 700; }
.ventana__texto p { margin: 8px 0 0; font-weight: 300; color: var(--rojo); }
.ventana__cerrar { position: absolute; top: 8px; right: 12px; border: 0; background: none; color: #fff; font-size: 28px; cursor: pointer; }
@media (max-width: 600px) {
  .ventana__caja { flex-direction: column; }
  .ventana__caja img { width: 100%; height: 20em; }
}

/* ---------- 10. Páginas de servicio (Drone, Branding, Productos) ---------- */
.pantalla { position: relative; min-height: 100vh; background: var(--negro); }
/* contacto y «empezar» también se «enganchan» al desplazar, pero no ocupan toda la pantalla */
.contacto.pantalla { min-height: 0; }
.empezar.pantalla { min-height: 32vh; }
.centrado { display: flex; flex-direction: column; justify-content: center; padding: 0 10%; }
.servicio-hero { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--blanco); }
.servicio-hero h1 {
  font-size: 4.5vw;
  font-weight: 600;
  line-height: 100px;
  letter-spacing: -2px;
  color: var(--blanco);
}
@media (min-width: 1200px) { .servicio-hero h1 { width: 70%; } }
@media (max-width: 767px) {
  .servicio-hero h1 { font-size: 3em; line-height: 1em; margin: 0 3vw; }
}

/* Drone */
.drone-hero { margin-top: -7%; }
.drone-hero__espacio1 { height: 20em; }
.drone-hero h1 { margin-bottom: -1vw; }
.drone-hero__icono { width: 8%; margin: -1em 0; }
.drone-hero__espacio2 { height: 27vh; }
.drone-hero__logo { width: 15%; margin: -2% 0; }
.drone-hero__titulo { margin: 0 0 calc(-1% + 14.4px); font-size: 1.5vw; font-weight: 700; }
.drone-hero__sub { margin: 0 0 14.4px; font-size: 1vw; font-weight: 300; }
@media (max-width: 1024px) {
  .drone-hero__espacio1 { height: 35vh; }
  .drone-hero__icono { width: 10%; }
  .drone-hero__espacio2 { height: 32vh; }
  .drone-hero__logo { width: 20%; }
  .drone-hero__titulo { font-size: 1em; }
  .drone-hero__sub { font-size: .9em; }
}
@media (max-width: 767px) {
  .drone-hero { margin-top: -19%; }
  .drone-hero__icono { width: 20%; }
  .drone-hero__espacio2 { height: 9.5em; }
  .drone-hero__logo { width: 35%; }
  .drone-hero h1 { margin: -2vw 3vw 0; }
  .drone-hero__titulo { margin-bottom: 4.9px; padding: 0 5px; line-height: 1em; }
  .drone-hero__sub { padding: 0 5px; font-size: 15px; line-height: 1em; }
}

/* Foto grande con degradado e icono abajo */
.foto-titulo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 3%;
  background-color: #000;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--blanco);
}
.foto-titulo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(180deg, #FFFFFF00 50%, #000000 75%); }
.foto-titulo > * { position: relative; }
.foto-titulo img { width: 7.5%; margin: 0 auto; } /* original: caja de 10% con la imagen al 75% */
.foto-titulo h2 { margin: .5vw 0 calc(-.5vw + 14.4px); font-size: 1.7vw; font-weight: 700; line-height: 1.5; }
.foto-titulo p { margin: 0 0 .9rem; font-size: 1.2vw; font-weight: 300; }
@media (max-width: 1024px) {
  .foto-titulo h2 { margin: 0 0 calc(-2vw + 20px); }
  .foto-titulo p { font-size: 1.5vw; }
}
@media (max-width: 767px) {
  .foto-titulo { padding-bottom: 20%; }
  .foto-titulo img { width: 13.5%; }
  .foto-titulo h2 { margin: 0 0 7.4px; font-size: 4.8vw; }
  .foto-titulo p { padding: 0 5px; font-size: 15px; line-height: 17px; }
}

/* Mosaico de fotos (2 o 4 fotos que llenan la pantalla) */
.mosaico { display: flex; flex-wrap: wrap; }
.mosaico > div { min-height: 50vh; background-size: cover; background-position: center; }
.mosaico--2 > div { min-height: 100vh; }
.m-66 { width: 66.6666%; } .m-33 { width: 33.3333%; } .m-50 { width: 50%; }
@media (max-width: 767px) {
  .mosaico > div, .mosaico--2 > div { width: 100%; min-height: 25vh; }
  .mosaico--2 > div { min-height: 50vh; }
}

/* Branding */
.branding-hero { margin-top: -7%; }
.branding-hero h1 { margin-bottom: -1vw; font-size: 6.15vw; letter-spacing: -4px; }
.branding-hero__lema { display: flex; justify-content: center; align-items: flex-start; width: 32vw; }
/* Medidas del original: el logo es un fondo de 7vw × 10vh (arriba a la derecha) y las dos cajas se encogen juntas */
.branding-hero__lema p { flex: 0 1 25vw; min-width: 0; margin: 0 0 .9rem; padding-top: .5vw; font-size: 1.3vw; font-weight: 300; line-height: 1.2em; text-align: left; }
.branding-hero__logo { flex: 0 1 7vw; min-width: 0; min-height: 10vh; margin: 0 -0.5vw 0 1vw; background: url("../img/logo-rojo.png") top right / contain no-repeat; }
.texto-centro { width: 70%; margin: 0 auto .9rem; text-align: center; font-size: 1em; font-weight: 300; line-height: 1.5em; color: var(--blanco); }
.branding-texto__esp { height: 50px; }
.proceso h2 { width: 28vw; padding-top: .3vw; font-size: 1.9em; letter-spacing: -1px; }
.proceso__esp1, .proceso__esp2 { height: 50px; }
.proceso__pasos { display: flex; width: 100%; max-width: 1140px; margin: 80px auto; }
.paso { width: 25%; padding: 0 1vw 0 0; }
.paso:last-child { padding-right: 0; }
.paso__dia { margin: 0 0 calc(.9rem - 1em); font-size: 1em; font-weight: 300; color: var(--rojo); }
.paso__nombre { margin: 0 0 calc(.9rem - .5em); font-size: 1.2em; font-weight: 500; line-height: 1.3em; color: var(--rojo); }
.paso__texto { margin: 0 0 .9rem; font-size: .9em; font-weight: 300; line-height: 1.4em; color: var(--blanco); }
.branding-fotos { display: flex; }
.branding-fotos__grande { width: 65%; flex: none; min-height: 100vh; background-size: cover; background-position: center; }
.branding-fotos__columna { flex: 1; display: flex; flex-direction: column; }
.branding-fotos__columna > div { flex: 1; background-size: cover; background-position: center; }
.branding-fotos--b .branding-fotos__grande { width: 60%; }
@media (max-width: 1024px) {
  .branding-hero { margin-top: -10%; }
  .branding-hero h1 { font-size: 9vw; }
  .branding-hero__lema { width: 47vw; }
  .branding-hero__lema p { flex-basis: 31vw; font-size: 1.7vw; }
  .branding-hero__logo { flex-basis: 15vw; }
  .proceso h2 { font-size: 3.3vw; }
  .paso__dia, .paso__nombre { font-size: 1.7vw; }
  .paso__texto { font-size: 1.4vw; }
}
@media (max-width: 767px) {
  .branding-hero { margin-top: -19%; }
  .branding-hero h1 { margin: 0 0 .5vw -1.5vw; font-size: 14.5vw; line-height: .8em; }
  .branding-hero__lema { width: 75vw; }
  .branding-hero__lema p { flex-basis: 45vw; padding-top: .7vw; font-size: 15px; }
  .branding-hero__logo { flex-basis: 30vw; margin: 0; }
  .texto-centro { width: 100%; font-size: 4vw; }
  .branding-texto__esp { height: 4vh; }
  .branding-texto .linea-roja { margin-bottom: calc(5px + 15vw); }
  .proceso { padding-right: 9%; }
  .proceso .linea-roja { margin-bottom: calc(5px + 18vw); }
  .proceso__esp1 { height: 10px; }
  .proceso__esp2 { height: 1vh; }
  .proceso h2 { width: 83%; margin: 32.43% auto; font-size: 6vw; }
  .proceso__pasos { flex-direction: column; margin: 1vh 0 7vw; }
  .paso { width: 100%; margin-bottom: 2vw; padding-right: 1vw; }
  .paso:last-child { margin-bottom: 0; padding-right: 0; }
  .paso__dia, .paso__nombre { font-size: 4.5vw; }
  /* en el original, «DÍA n» queda con interlineado de .1em y casi encima del nombre */
  .paso__dia { line-height: .1em; margin-bottom: calc(.9rem - .5em); }
  .paso:first-child .paso__dia { margin-top: 1em; }
  .paso__nombre { margin-bottom: calc(.9rem - 1em); }
  .paso__texto { font-size: 3.8vw; }
  .branding-fotos { flex-direction: column; }
  .branding-fotos__grande { width: 100%; min-height: 100vh; }
  .branding-fotos--b .branding-fotos__grande { width: 100%; min-height: 51vh; }
  .branding-fotos__columna > div { min-height: 50vh; }
  .branding-fotos--b .branding-fotos__columna > div { min-height: 33.33vh; }
}

/* Productos de tu marca */
.productos-hero { margin-top: -6vw; padding: 0 10px; }
.productos-hero__espacio1 { height: 40vh; }
.productos-hero h1 { margin-bottom: -1vw; }
.productos-hero__logo { width: 19vw; height: 12vh; margin-top: -2vw; object-fit: cover; }
.productos-hero__espacio2 { height: 33vh; }
.productos-hero__pregunta { margin: 0 0 .9rem; font-size: 1.2em; font-weight: 300; }
.texto-negrita { width: 70%; margin: 0 auto .9rem; text-align: center; font-weight: 700; color: var(--blanco); }
.esp-4-3 { height: 4vh; }
.regalos h2 { width: 31%; margin-top: 8px; padding-top: .5vw; font-size: 1.5em; letter-spacing: -1px; }
.regalos__sub { margin: 5px 0 .9rem; text-align: center; font-size: 1.1em; font-weight: 700; color: var(--blanco); }
.regalos__tipos { display: flex; width: 100%; max-width: 1140px; margin: 60px auto 100px; }
.regalos__tipos > div { width: 33.3%; }
.regalos__tipos h3 { margin: 0 0 calc(.9rem - .5em); font-size: 1.2em; font-weight: 700; line-height: 1.5; color: var(--rojo); }
.regalos__tipos p { margin: 0 0 .9rem; padding-right: 10px; font-size: .9em; font-weight: 300; font-style: italic; color: var(--blanco); }
.cita-autor { margin: 0 0 .9rem; text-align: center; font-weight: 300; color: var(--rojo); }
.pasos-marca { display: flex; }
.pasos-marca__izq { width: 50%; display: flex; flex-direction: column; justify-content: center; }
.pasos-marca__izq div { min-height: 35vh; display: flex; align-items: center; justify-content: center; border-right: 5px solid var(--rojo); }
.pasos-marca__izq h2 { margin: 0 0 .9rem; font-size: 1.5em; font-weight: 700; line-height: 1.5; color: var(--rojo); text-align: center; }
.pasos-marca--grande .pasos-marca__izq h2 { font-size: 2vw; }
.pasos-marca__der { width: 50%; display: flex; flex-direction: column; }
.pasos-marca__der > div { padding: 0 20% 0 10%; display: flex; flex-direction: column; }
.pasos-marca__der--dos > div { min-height: 50vh; }
.pasos-marca__der--dos > div:first-child { justify-content: flex-end; padding-bottom: 4%; }
.pasos-marca__der--dos > div:last-child { justify-content: flex-start; padding-top: 4%; }
.pasos-marca__der--uno > div { min-height: 100vh; justify-content: center; }
.pasos-marca__der--tres > div { min-height: 33.3vh; justify-content: center; }
.pasos-marca__der h3 { margin: 0 0 calc(.9rem - .5em); font-size: 1em; font-weight: 700; line-height: 1.5; color: var(--blanco); }
.pasos-marca__der p { margin: 0 0 .9rem; padding-right: 10px; font-size: .9em; font-weight: 300; color: var(--blanco); }
.galeria-productos { display: flex; flex-direction: column; justify-content: center; padding: 5% 0; }
.galeria-productos__rejilla { width: 90%; margin: 0 auto; display: flex; align-items: flex-start; gap: 35px; }
.galeria-productos__rejilla > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 35px; }
.galeria-productos__rejilla a { display: block; position: relative; }
.galeria-productos__rejilla a::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .8s; }
.galeria-productos__rejilla a:hover::after { background: rgba(0,0,0,.5); }
.galeria-productos__rejilla img { width: 100%; }
.empresas { display: flex; align-items: center; justify-content: center; }
.empresas p { margin: 0 0 .9rem; font-size: 25px; font-weight: 700; line-height: 1.5; color: var(--rojo); }
@media (max-width: 1024px) {
  .galeria-productos__rejilla, .galeria-productos__rejilla > div { gap: 10px; }
  .productos-hero { margin-top: -8vw; }
  .productos-hero__espacio1 { height: 37vh; }
  .productos-hero__logo { height: 10vh; margin-top: -1vw; }
  .productos-hero__pregunta { font-size: 1.7vw; }
  .texto-negrita { font-size: 1.7vw; }
}
@media (max-width: 767px) {
  .productos-hero { margin-top: -19%; padding: 0 5%; }
  .productos-hero h1 { margin: 0; }
  .productos-hero__logo { width: 30%; height: 10vh; margin: -7% 0 14.1px; }
  .productos-hero__espacio2 { height: 29vh; }
  .productos-hero__pregunta { padding: 0 5px; font-size: 15px; line-height: 17px; }
  .esp-4-3 { height: 3vh; }
  .cita-autor { padding: 0 5px; font-size: 15px; line-height: 17px; }
  .texto-negrita { width: 100%; font-size: 1em; line-height: 1.2em; }
  .regalos { justify-content: flex-start !important; }
  .regalos h2 { width: 83%; font-size: 21px; }
  .regalos__sub { font-size: 15px; }
  .regalos__tipos { flex-direction: column; margin: 20px 0; }
  .regalos__tipos > div { width: 100%; }
  .regalos__tipos h3, .regalos__tipos p { font-size: 15px; }
  /* Pasos en celular, medidos en el original: las dos columnas crecen igual hasta llenar la pantalla.
     En «Visualiza» y «Cuéntanos» los títulos llevan interlineado de .1em (así se ven en el original). */
  .pasos-marca { flex-direction: column; padding: 0 10%; }
  .pasos-marca__izq, .pasos-marca__der { width: 100%; flex: 1 1 auto; }
  .pasos-marca__izq { justify-content: flex-end; }
  .pasos-marca__izq div { min-height: 10vh; border-right: 0; flex-direction: column; justify-content: flex-end; }
  .pasos-marca__izq div::after { content: ""; width: 25%; border-top: 5px solid var(--rojo); margin: 5px 0 21px; }
  .pasos-marca__izq h2, .pasos-marca--grande .pasos-marca__izq h2 { margin: 0 0 14.4px; font-size: 19.2px; line-height: .1em; }
  .pasos-marca__der { justify-content: flex-start; }
  .pasos-marca__der > div, .pasos-marca__der--dos > div, .pasos-marca__der--uno > div, .pasos-marca__der--tres > div { min-height: 20vh; padding: 0; justify-content: center; align-items: center; text-align: center; }
  .pasos-marca__der--tres > div { min-height: 15vh; }
  .pasos-marca__der--dos > div:first-child { justify-content: center; padding-bottom: 0; }
  .pasos-marca__der--dos > div:last-child { justify-content: flex-start; padding-top: 0; }
  .pasos-marca__der h3 { margin: 0 0 14.4px; font-size: 15px; line-height: .1em; }
  .pasos-marca__der p { margin: 0 0 14.4px; padding-right: 10px; font-size: .9em; line-height: 1.1em; }
  .pasos-marca--b .pasos-marca__izq { justify-content: center; }
  .pasos-marca--b .pasos-marca__izq div { margin-top: 70px; }
  .pasos-marca--b .pasos-marca__izq div::after { margin: 25px 0 5px; }
  .pasos-marca--b .pasos-marca__izq h2 { font-size: 17px; }
  .pasos-marca--b .pasos-marca__der h3 { line-height: 1em; }
  .pasos-marca--disenamos .pasos-marca__der { margin-top: -110px; }
  .pasos-marca--hacemos .pasos-marca__der { margin-top: -90px; }
  .pasos-marca--hacemos .pasos-marca__der > div { justify-content: flex-start; }
  .galeria-productos__rejilla, .galeria-productos__rejilla > div { flex-direction: column; gap: 10px; }
  .galeria-productos__rejilla > div { width: 100%; }
  .empresas p { font-size: 15px; line-height: .1em; } /* en el original queda con interlineado de .1em */
}

/* ---------- 11. Blog ---------- */
.blog-hero {
  position: relative;
  min-height: 52.5vh;
  margin-top: -7em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.blog-hero::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .5; }
.blog-hero__caja { position: relative; width: 80%; margin: 0 auto; padding: 10px 0; }
.blog-hero h1, .blog-hero .blog-hero__titulo { margin-top: 3%; font-size: 40px; font-weight: 300; color: var(--blanco); line-height: 1; }
.blog-hero__linea { width: 5%; margin: 15px 0; border-top: .3em solid #A01C24; }
.blog-hero--entrada { min-height: 53vh; } /* la plantilla de las entradas es 4px más alta */
@media (max-width: 767px) {
  .blog-hero { min-height: 53vh; }
  .blog-hero__caja { width: 90%; }
  .blog-hero h1, .blog-hero .blog-hero__titulo { margin-top: 25%; font-size: 1.7em; }
  .blog-hero__linea { width: 15%; margin-top: 8px; }
  .blog-hero .blog-hero__titulo { margin-top: calc(25% + 3.1px); }
}

/* Medidas del original: lista de 85% centrada, tarjetas de 400px (foto 40% + texto con 64px a la izquierda),
   todo centrado en vertical; en celular, foto de 260px y texto en una caja de 162px */
.blog-lista { width: 100%; margin: 0 auto; padding: 4.7% 10.05%; display: flex; flex-direction: column; gap: 30px; }
.entrada-tarjeta { display: flex; height: 400px; color: var(--negro); }
.entrada-tarjeta__foto { width: 40%; height: 100%; flex: none; object-fit: cover; }
.entrada-tarjeta > div { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-left: 64px; }
.entrada-tarjeta__fecha { display: flex; align-items: center; gap: 5px; padding-bottom: 8px; font-size: 12.8px; line-height: 19.2px; font-weight: 300; color: #333; }
.entrada-tarjeta__fecha svg { width: 12.8px; height: 14px; fill: var(--rojo); }
.entrada-tarjeta h2 { margin: 0; font-size: 16px; font-weight: 500; line-height: 1; }
.entrada-tarjeta__mas { padding-top: 3%; font-size: 14.4px; line-height: 21.6px; font-weight: 300; color: var(--rojo); }
@media (max-width: 767px) {
  .blog-lista { padding: 11.52% 2% 9.6%; }
  /* tarjeta de 422px: la foto (base 211px) y el texto crecen igual, como en el original */
  .entrada-tarjeta { flex-direction: column; height: 422px; }
  .entrada-tarjeta__foto { width: 100%; height: auto; min-height: 0; flex: 1 1 211.1px; }
  .entrada-tarjeta > div { flex: 1 1 auto; padding: 0 3%; }
}

.entrada { width: 80%; margin: 0 auto; padding: 4% 0 5%; text-align: center; }
.entrada h1 { font-size: 2em; font-weight: 600; color: var(--rojo); line-height: 1; margin-bottom: 20px; }
.entrada__contenido { color: var(--gris-texto); font-size: .9em; font-weight: 300; line-height: 1.5; }
.entrada__contenido img { display: block; margin: 0 auto 1em; max-width: 100%; height: auto; }
.entrada__contenido .columnas { display: flex; gap: 24px; margin-bottom: calc(1em - 3.7px); }
.entrada__contenido .columnas > div { flex: 1; }
.entrada__contenido img.derecha { margin-right: 0; }
.entrada__contenido img.izquierda { margin-left: 0; }
/* como en el original («is-not-stacked-on-mobile»): en celular las 2 fotos siguen lado a lado, con 2em de aire */
@media (max-width: 781px) { .entrada__contenido img.derecha { max-width: calc(100% - 2em); margin-left: auto; } .entrada__contenido img.izquierda { max-width: calc(100% - 2em); } }
.entrada__contenido strong { font-weight: 700; }
.entrada__contenido h1 { line-height: 1.2; margin-bottom: 16px; }
@media (max-width: 767px) {
  .entrada { width: 100%; padding: 24.6px 5% 25px; text-align: left; }
  .entrada h1 { font-size: 1.3em; }
}

/* ---------- 12. Tienda ---------- */
.tienda-hero { }  /* sin position: la capa oscura se mide desde el borde de arriba de la página, como en el original */
.tienda-hero__tiras { display: flex; min-height: 57vh; margin-top: -10%; }
.tienda-hero__tiras > div { width: 12.5%; background-size: cover; background-position: center; }
.tienda-hero__tiras > div:first-child { background-position: -99px 0; }
.tienda-hero__tiras--celular { display: none; }
.tienda-hero__capa {
  position: absolute;
  left: 0; right: 0; top: 0;
  min-height: 56.5vh;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #00000085;
}
.tienda-hero__capa .titulo { width: 80%; margin: 0 auto; font-size: 2em; font-weight: 300; color: var(--blanco); line-height: 1; }
.tienda-hero__capa .linea { width: 80%; margin: 0 auto; padding: 15px 0; }
.tienda-hero__capa .linea span { display: block; width: 3%; border-top: .4em solid #A01C24; }
@media (max-width: 1024px) { .tienda-hero__tiras { margin-top: -12%; } .tienda-hero__tiras > div:first-child { background-position: 0 0; } }
@media (max-width: 767px) {
  .tienda-hero__tiras { display: none; }
  .tienda-hero__tiras--celular { display: flex; min-height: 45vh; margin-top: -25%; }
  .tienda-hero__tiras--celular > div { width: 25%; }
  .tienda-hero__capa { min-height: 45vh; z-index: 5; }
  .tienda-hero__capa .titulo, .tienda-hero__capa .linea { width: 90%; }
  .tienda-hero__capa .linea span { width: 7%; }
  /* fichas de producto: la capa empieza 8vw más arriba, mide 46vh y el título baja 9% */
  .tienda-hero--producto .tienda-hero__capa { top: -8vw; min-height: 46vh; }
  .tienda-hero--producto .tienda-hero__capa .titulo { margin-top: 9%; }
}

.catalogo { padding: 2% 0 8%; background: var(--negro); }
.catalogo__filtros { width: 60%; margin: 0 auto; padding-top: 3vw; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.catalogo__filtros button {
  padding: 6px 14px;
  font-family: var(--letra);
  font-size: 14px;
  font-weight: 300;
  color: var(--blanco);
  background: none;
  border: 1px solid #444;
  border-radius: 3px;
  cursor: pointer;
}
.catalogo__filtros button.activo, .catalogo__filtros button:hover { border-color: var(--rojo-tienda); background: var(--rojo-tienda); }
.catalogo__lista {
  width: 60%;
  margin: 0 auto;
  padding: 25px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  column-gap: 1.5em;
  row-gap: 2em;
}
.tarjeta-producto { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tarjeta-producto img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: .5em; }
.tarjeta-producto h2 { padding: .5em 0; font-size: 1em; font-weight: 300; line-height: 1.2; color: var(--blanco); }
.precio { font-family: var(--letra); font-weight: 700; color: var(--rojo-tienda); }
.tarjeta-producto .precio { margin-bottom: .5em; font-size: 1em; }
.boton-tienda {
  display: inline-block;
  margin-top: .5em;
  padding: .618em 1em;
  font-family: var(--letra);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: var(--blanco);
  background: var(--rojo-tienda);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}
.boton-tienda:hover { background: #7d1519; }
.boton-tienda--agotado, .boton-tienda--agotado:hover { opacity: .5; cursor: not-allowed; background: var(--rojo-tienda); }
.tarjeta-producto .agotado-etiqueta { font-size: 13px; font-weight: 300; color: #aaa; }
@media (max-width: 1024px) { .catalogo__lista, .catalogo__filtros { width: 80%; } }
@media (max-width: 767px) {
  .catalogo { padding: 11% 0 15%; }
  .catalogo__lista, .catalogo__filtros { width: 90%; }
  .catalogo__filtros { padding-top: 0; }
  .catalogo__lista { grid-template-columns: minmax(0, 1fr); }
}

/* Página de producto */
/* Medidas del original: migas a 64px del borde, galería de 50% (512px a 1280) y datos con 1% + 16px a la izquierda */
.producto { width: 80%; margin: 0 auto; padding: 38.4px 0 0; color: var(--blanco); }
.migas { margin: 0 0 5.8px; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--blanco); }
.migas span { color: var(--rojo-tienda); }
.migas .actual { color: var(--rojo); font-weight: 300; }
.producto__cuerpo { display: flex; }
.producto__galeria { width: 50%; }
.producto__foto { position: relative; display: block; background: #fff; }
.producto__foto img { width: 100%; height: auto; display: block; }
.producto__miniaturas { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3em; margin-top: .5em; padding-bottom: .3em; }
.producto__miniaturas button { padding: 0; border: 0; background: none; cursor: pointer; opacity: .5; aspect-ratio: 1; overflow: hidden; }
.producto__miniaturas button.activa, .producto__miniaturas button:hover { opacity: 1; }
.producto__miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.producto__info { width: 50%; padding: 11.2px 0 0 1%; }
.producto__info h1 { padding-left: 16px; font-size: 24px; font-weight: 700; line-height: 1.2em; color: var(--blanco); }
.producto__info .precio { padding-left: 16px; margin: 0 0 9.3px; font-size: 25px; font-weight: 500; line-height: 37.5px; color: var(--rojo); }
/* Mismo alto que el bloque de compra del original: con tallas, sin tallas o agotado */
.compra { min-height: 142.7px; margin: 0 0 0 16px; }
.compra[data-variantes="no"] { min-height: 72.2px; }
.compra:has(.compra__estado.agotado) { min-height: 57.2px; }
.compra__variante { display: flex; align-items: center; gap: 20px; margin-bottom: 15px; }
.compra__variante label { font-size: 16px; font-weight: 700; color: var(--blanco); }
.compra__variante select {
  min-width: 260px;
  padding: 8px 12px;
  font-family: var(--letra);
  font-size: 15px;
  font-weight: 300;
  color: var(--rojo);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.compra__boton { font-size: 15px; padding: .8em 1.4em; }
.compra__boton[disabled] { opacity: .5; cursor: not-allowed; }
.compra__boton--whatsapp { background: var(--whatsapp); }
.compra__boton--whatsapp:hover { background: #1da851; }
.compra__estado { margin: 4.7px 0 0; font-size: 14px; font-weight: 300; color: #ccc; min-height: 1.5em; }
.compra__estado.agotado { font-size: 14.72px; font-weight: 400; line-height: 22.08px; color: #aa0000; } /* «Sin existencias», como en el original */
.producto__pestanas { margin: 0 0 0 .5em; }
/* El original reserva un renglón de pestañas (41px), o dos en los productos con tallas (82px) */
.pestanas__botones { display: flex; flex-wrap: wrap; align-content: flex-start; min-height: 41px; border-bottom: 1px solid #fff; padding-left: 10px; }
.compra[data-variantes="si"] + .producto__pestanas .pestanas__botones { min-height: 82px; }
.pestanas__botones button {
  padding: .5em 1em;
  font-family: var(--letra);
  font-size: 15px;
  font-weight: 700;
  color: var(--blanco);
  background: #000;
  border: 1px solid #fff;
  border-bottom: 0;
  cursor: pointer;
}
.pestanas__botones button.activa { background: var(--rojo); }
.pestanas__panel { margin-top: -1px; padding: 25px 20px 20px; font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--blanco); }
.pestanas__panel[hidden] { display: none; }
.pestanas__panel strong, .pestanas__panel b { font-weight: 700; }
.pestanas__panel table { border-collapse: collapse; }
.pestanas__panel th { text-align: left; padding-right: 20px; font-weight: 700; }
.producto__meta { margin: 5.9px 0 0 13px; font-size: 13px; font-weight: 300; line-height: 1.5; }
.producto__meta b { font-weight: 700; }
.regresar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 37.6px 0 0 16px;
  padding: 12px 24px;
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blanco);
  background: var(--rojo);
  border-radius: 0;
}
/* Espacios del original después de la ficha: «Relacionados» empieza 25.6px bajo la ficha y termina 89.5px antes de
   «¿Estás listo?»; sin relacionados quedan 115.3px después del botón «Regresar» */
.catalogo:has(> .producto) { padding-bottom: 0; }
.producto:last-child { padding-bottom: 115.3px; }
.relacionados { padding: 25.6px 0 89.5px; text-align: center; }
.relacionados > h2 { margin: 8px 0 48px; font-family: var(--letra-resenas); font-size: 32px; font-weight: 500; line-height: 38.4px; color: var(--blanco); }
/* Medidas del original: lista de 60% con 2 tarjetas de 368px (32px entre ellas); en celular, una columna de 90% */
.relacionados .catalogo__lista { padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.relacionados .tarjeta-producto img { margin-bottom: 16px; }
.relacionados .tarjeta-producto .precio { margin-bottom: 7.2px; font-size: 14.4px; line-height: 21.6px; }
.relacionados .boton-tienda { margin-top: 14.4px; padding: 8.9px 14.4px; font-size: 14.4px; line-height: 14.4px; }
@media (max-width: 767px) {
  .producto { width: 90%; margin-top: -3vw; padding-top: 0; }
  .migas { margin-bottom: 9px; }
  .producto__cuerpo { flex-direction: column; }
  .producto__galeria, .producto__info { width: 100%; }
  .producto__galeria { margin-bottom: 32px; }
  .producto__info { padding: 4% 0 0 1%; }
  .producto__info h1, .producto__info .precio { padding-left: 0; }
  .producto__info h1 { font-size: 1.2em; }
  .producto__info .precio { margin-bottom: 7.5px; font-size: 1em; line-height: 24px; }
  .compra { min-height: 132.9px; }
  .compra[data-variantes="no"] { min-height: 59.2px; }
  .compra:has(.compra__estado.agotado) { min-height: 41.4px; }
  /* en el original, la galería de la T-9 y de la Taza empieza más abajo */
  .producto--playera-merida-edificios-tres-nueves .producto__galeria { margin-top: 14.7px; }
  .producto--taza-lavin .producto__galeria { margin-top: 9.9px; }
  /* en el original las migas de la Gorra ocupan dos renglones */
  .producto--gorra-bordada-yucatancito-tres-nueves .migas { min-height: 48px; }
  .compra { margin-left: 0; }
  .compra__variante select { min-width: 0; flex: 1; }
  .producto__pestanas, .producto__meta { margin-left: 0; }
  .producto__meta { margin-top: 0; }
  .regresar { display: flex; width: max-content; margin: 15.7px auto 0; }
  .relacionados .catalogo__lista { grid-template-columns: minmax(0, 1fr); row-gap: 15.9px; width: 90%; }
  .relacionados { padding: 33.8px 0 27.3px; }
  .producto:last-child { padding-bottom: 61.1px; }
  .relacionados > h2 { margin-bottom: 48px; }
  .relacionados .boton-tienda { margin-top: 7.2px; }
}

/* ---------- 13. Página de gracias / error ---------- */
.aviso-pagina { min-height: 60vh; margin-top: -7%; padding: 20vh 10% 10vh; background: var(--negro); color: var(--blanco); text-align: center; }
.aviso-pagina h1 { font-size: 4.5vw; font-weight: 700; letter-spacing: -2px; color: var(--rojo); margin-bottom: 20px; }
.aviso-pagina p { font-size: 18px; font-weight: 300; }
.aviso-pagina .boton-tienda { margin-top: 20px; }
@media (max-width: 767px) { .aviso-pagina { margin-top: -19%; } .aviso-pagina h1 { font-size: 3em; } }
