/* ==========================================================================
   RANCHO EL TORDILLO — BASCULAS GANADERAS
   Hoja de estilos: Replica fiel del diseño de referencia (referencia01.png)
   Lienzo base de referencia: 1670 x 941 px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tipografias
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Bronco";
  src: url("../assets/fonts/BroncoPersonalUse.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Variables de color y diseño
   -------------------------------------------------------------------------- */
/* Posicionamiento y tamanos personalizados */
:root {
  --crema-fondo:      #F7EFDF;  /* Fondo general del hero */
  --crema-franja:     #EFE4D0;  /* Franja inferior de beneficios */
  --crema-tarjeta:    #FBF6EA;  /* Tarjetas de datos sobre la imagen */
  --verde-bosque:     #14412F;  /* Titulos, nav, boton COTIZAR, acentos */
  --verde-etiqueta:   #174733;  /* Fondo de pildoras sobre la foto */
  --verde-whatsapp:   #0E9F5A;  /* Botones de WhatsApp */
  --verde-whatsapp-h: #0B8449;  /* Hover botones WhatsApp */
  --dorado:           #B18A35;  /* "bravo.", eyebrow, subrayado activo, hotspots */
  --dorado-claro:     #C9A24A;  /* Hover de acentos dorados */
  --vino-logo:        #5A1F1A;  /* Color del logo central (referencia) */
  --texto:            #2B2A26;  /* Parrafos principales */
  --texto-suave:      #5E5C54;  /* Microcopy y notas secundarias */
  --divisor:          #C9BBA0;  /* Lineas divisorias de la franja inferior */
  --sombra:           0 10px 30px rgba(20, 40, 30, 0.18);
  --sombra-boton:     0 8px 22px rgba(14, 159, 90, 0.35);

  --font-principal:   "Bronco", "Rockwell", "Georgia", serif;
  --font-secundaria:  "Source Serif 4", "Georgia", "Times New Roman", serif;

  /* Posicionamiento y tamanos personalizados */
  --texto-offset-x:   160px;
  --texto-offset-y:   0px;
  --img-offset-x:     60px;
  --img-offset-y:     0px;
  --img-scale:        0.92;

  --tamano-titulo:    110px;
  --tamano-eyebrow:   15px;
  --tamano-lead:      23px;
  --tamano-btn-wa:    27px;
  --tamano-conviene:  25px;
  --tamano-micro:     17px;

  /* Variables para Selector de Modelos, Formulario y Footer */
  --borde-tarjeta:     #E6DCC4;  /* borde tarjeta 1 */
  --dorado-borde:      #C9A24A;  /* borde tarjeta 2 y badge */
  --verde-oscuro-btn:  #0F4A35;  /* botones Becerrera y Monstruo */
  --verde-esmeralda:   #12966A;  /* boton Portatil */
  --verde-borde-3:     #14573F;  /* borde tarjeta 3 */
  --verde-bloque:      #0C4430;  /* bloque del formulario */
  --input-fondo:       #F6F0E1;
  --input-borde:       #DDD2B8;
  --vino-lema:         #7A1F1F;  /* lema del footer */
}

/* --------------------------------------------------------------------------
   3. Reseteo y bases
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[id] {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-secundaria);
  color: var(--texto);
  background-color: var(--crema-fondo);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3.1 Pantalla de Carga (Preloader) con Logo del Rancho
   -------------------------------------------------------------------------- */
body.cargando {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--crema-fondo);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, visibility;
}

.preloader.preloader--oculto {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

.preloader__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, #FFFDF8 0%, #F7EFDF 55%, #EADBBE 100%);
  pointer-events: none;
}

.preloader__card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  max-width: 440px;
  width: 90%;
  text-align: center;
}

.preloader__logo-box {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.preloader__glow {
  position: absolute;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 138, 53, 0.25) 0%, rgba(177, 138, 53, 0) 70%);
  animation: preloaderPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.preloader__ring-outer {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(177, 138, 53, 0.35);
  animation: preloaderSpin 20s linear infinite;
  pointer-events: none;
}

.preloader__ring-inner {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: var(--dorado);
  border-right-color: rgba(201, 162, 74, 0.55);
  animation: preloaderSpinReverse 2.8s cubic-bezier(0.68, -0.2, 0.27, 1.2) infinite;
  pointer-events: none;
}

.preloader__logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(90, 31, 26, 0.16));
  animation: preloaderLogoBreath 2.4s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}

.preloader__texto-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.preloader__marca {
  font-family: var(--font-principal);
  font-size: clamp(24px, 5.5vw, 32px);
  color: var(--verde-bosque);
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(20, 65, 47, 0.08);
}

.preloader__lema {
  font-family: var(--font-secundaria);
  font-size: clamp(12px, 2.5vw, 13px);
  color: var(--dorado);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.preloader__barra-wrap {
  width: 100%;
  max-width: 220px;
  height: 4.5px;
  background-color: rgba(20, 65, 47, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.preloader__barra {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #14412F 0%, #B18A35 50%, #C9A24A 100%);
  border-radius: 999px;
  transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 10px rgba(177, 138, 53, 0.45);
}

.preloader__estado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: var(--font-secundaria);
  font-size: 13px;
  color: var(--texto-suave);
  font-style: italic;
}

.preloader__puntos span {
  display: inline-block;
  animation: preloaderDot 1.4s infinite;
  opacity: 0;
}
.preloader__puntos span:nth-child(1) { animation-delay: 0s; }
.preloader__puntos span:nth-child(2) { animation-delay: 0.25s; }
.preloader__puntos span:nth-child(3) { animation-delay: 0.5s; }

@keyframes preloaderSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(220deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.25; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes preloaderLogoBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes preloaderDot {
  0%, 20% { opacity: 0; }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

@media (max-width: 480px) {
  .preloader__card {
    padding: 30px 20px;
  }
  .preloader__logo-box {
    width: 140px;
    height: 140px;
    margin-bottom: 18px;
  }
  .preloader__logo {
    width: 115px;
    height: 115px;
  }
  .preloader__barra-wrap {
    max-width: 190px;
  }
}

/* --------------------------------------------------------------------------
   4. Contenedor Hero principal (1670x941 base)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: var(--crema-fondo);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: 115px; /* Espacio reservado para el header fijo */
}

@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-top: 115px;
  }
}

/* --------------------------------------------------------------------------
   5. Header y Navegacion (Fijo y Adaptativo al Scroll)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 3.4vw, 55px) 0 clamp(24px, 4.8vw, 80px);
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.35s ease,
              -webkit-backdrop-filter 0.35s ease,
              box-shadow 0.35s ease,
              height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease,
              padding 0.3s ease;
}

/* 5.0 Header al scrollear (compacto) */
.header.header--scrolled {
  height: 78px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header.header--scrolled .logo {
  top: 6px;
}

.header.header--scrolled .logo img {
  width: clamp(68px, 5.8vw, 85px);
}

.header.header--scrolled .nav {
  top: 50%;
  transform: translate(-50%, -50%);
}

.header.header--scrolled .btn-cotizar {
  height: 42px;
  font-size: clamp(16px, 1.25vw, 20px);
  padding: 0 24px;
}

/* 5.1 Adaptacion dinamica del color del Header segun la posicion */

/* Tema: Hero / Inicio */
.header.header--theme-hero.header--scrolled {
  background-color: rgba(247, 239, 223, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(201, 187, 160, 0.45);
}

/* Tema: Modelos / Cual me conviene */
.header.header--theme-modelos {
  background-color: rgba(247, 239, 223, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(201, 162, 74, 0.4);
  box-shadow: 0 4px 20px rgba(20, 65, 47, 0.08);
}

/* Tema: Contacto (Bloque verde oscuro #0C4430) */
.header.header--theme-dark {
  background-color: rgba(12, 68, 48, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(201, 162, 74, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.header.header--theme-dark .nav__link {
  color: #F7EFDF;
}

.header.header--theme-dark .nav__link:hover {
  color: var(--dorado-claro);
}

.header.header--theme-dark .nav__link::after {
  background-color: var(--dorado-claro);
}

.header.header--theme-dark .btn-cotizar {
  background: linear-gradient(180deg, #D4AF37 0%, #B18A35 100%);
  color: #0C4430;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.header.header--theme-dark .btn-cotizar:hover {
  background: linear-gradient(180deg, #E0BF4E 0%, #C9A24A 100%);
  box-shadow: 0 6px 18px rgba(201, 162, 74, 0.4);
}

.header.header--theme-dark .menu-toggle {
  background-color: rgba(201, 162, 74, 0.2);
  border-color: rgba(201, 162, 74, 0.5);
}

.header.header--theme-dark .menu-bar {
  background-color: #F7EFDF;
}

.header.header--theme-dark .logo img {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

/* 5.2 Logo circular a la izquierda (x≈80, y≈15, sobresale del header) */
.logo {
  position: absolute;
  top: 15px;
  left: clamp(24px, 4.8vw, 80px);
  display: inline-block;
  flex-shrink: 0;
  z-index: 42;
  transition: top 0.3s ease;
}

.logo img {
  width: clamp(90px, 9.3vw, 155px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  transition: transform 0.3s ease, width 0.3s ease, filter 0.35s ease;
}

.logo:hover img {
  transform: scale(1.03);
}

/* 5.3 Navegacion central (x≈490..1180, centrada en pantalla) */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4.5vw, 75px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
  transition: top 0.3s ease;
}

.nav__link {
  font-family: var(--font-principal);
  font-size: clamp(18px, 1.45vw, 24px);
  letter-spacing: 0.02em;
  color: var(--verde-bosque);
  position: relative;
  text-transform: uppercase;
  transition: color 0.25s ease;
  white-space: nowrap;
  padding: 4px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -8px;
  right: -8px;
  height: 3px;
  background-color: var(--dorado);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav__link:hover {
  color: var(--dorado);
}

.nav__link:hover::after,
.nav__link.activo::after {
  opacity: 1;
  transform: scaleX(1);
}

/* 5.4 Acciones del header (Boton COTIZAR + Hamburguesa movil) */
.header__acciones {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  z-index: 42;
}

.btn-cotizar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(140px, 12.3vw, 205px);
  height: 50px;
  padding: 0 30px;
  background-color: var(--verde-bosque);
  color: #F7EFDF;
  font-family: var(--font-principal);
  font-size: clamp(18px, 1.45vw, 24px);
  letter-spacing: 0.02em;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, height 0.3s ease, font-size 0.3s ease, padding 0.3s ease;
  white-space: nowrap;
}

.btn-cotizar:hover {
  background-color: #0f3324;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.btn-cotizar:active {
  transform: translateY(1px);
}

/* Boton Hamburguesa para tablet y movil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background-color: var(--crema-franja);
  border: 1px solid var(--divisor);
  border-radius: 8px;
  cursor: pointer;
  z-index: 50;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--verde-bosque);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.activo .menu-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.activo .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.activo .menu-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Zona principal del Hero (2 Columnas)
   -------------------------------------------------------------------------- */
.hero__main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(580px, 41.5%) 1fr;
  align-items: center;
  width: 100%;
  flex: 1 1 auto;
  z-index: 10;
  overflow: visible;
}

/* 6.1 Columna izquierda: Textos */
.hero__texto {
  position: relative;
  padding-left: clamp(24px, 4.8vw, 80px);
  padding-right: 0;
  max-width: 650px;
  z-index: 20;
  transform: translate(var(--texto-offset-x, 0px), var(--texto-offset-y, 0px));
  transition: transform 0.05s ease-out;
}

.eyebrow {
  font-family: var(--font-secundaria);
  font-weight: 500;
  font-size: var(--tamano-eyebrow, 18px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 12px;
}

.hero__titulo {
  font-family: var(--font-principal);
  font-size: var(--tamano-titulo, 86px);
  line-height: 0.95;
  color: var(--verde-bosque);
  font-weight: normal;
  letter-spacing: 0.01em;
}

.hero__titulo-linea {
  display: block;
  white-space: nowrap;
}

.acento {
  position: relative;
  color: var(--dorado);
  display: inline-block;
  white-space: nowrap;
}

.hero__titulo .acento,
.acento--blanco {
  color: #FFFFFF;
  -webkit-text-stroke: 2px #000000;
  paint-order: stroke fill;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* Subrayado organico tipo pincelada / swoosh */
.swoosh {
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 0.22em;
  pointer-events: none;
}

.lead {
  font-family: var(--font-secundaria);
  font-weight: 400;
  font-size: var(--tamano-lead, 23px);
  line-height: 1.38;
  color: var(--texto);
  max-width: 560px;
  margin-top: clamp(16px, 1.8vw, 26px);
}

/* 6.2 Fila de CTAs */
.cta {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  margin-top: clamp(20px, 2.2vw, 32px);
  flex-wrap: nowrap;
}

/* Boton principal COTIZAR POR WHATSAPP */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: clamp(260px, 22.5vw, 370px);
  height: clamp(58px, 4.6vw, 76px);
  padding: 0 32px 0 24px;
  background: linear-gradient(180deg, #12A862 0%, #0C9453 100%);
  color: #FFFFFF;
  border-radius: 999px;
  box-shadow: var(--sombra-boton);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-wa__icon {
  width: clamp(34px, 2.75vw, 46px);
  height: clamp(34px, 2.75vw, 46px);
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.btn-wa span {
  font-family: var(--font-principal);
  font-size: var(--tamano-btn-wa, 27px);
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 159, 90, 0.45);
}

.btn-wa:active {
  transform: translateY(1px);
}

/* Enlace "¿Cual me conviene? ↓" */
.link-conviene {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-principal);
  font-size: var(--tamano-conviene, 21px);
  color: var(--verde-bosque);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  transition: color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.link-conviene__flecha {
  display: inline-block;
  font-size: 1.1em;
  transition: transform 0.25s ease;
}

.link-conviene:hover {
  color: var(--dorado);
}

.link-conviene:hover .link-conviene__flecha {
  transform: translateY(3px);
}

/* Microcopy */
.micro {
  font-family: var(--font-secundaria);
  font-size: var(--tamano-micro, 17px);
  color: var(--texto-suave);
  margin-top: clamp(14px, 1.5vw, 22px);
}

/* --------------------------------------------------------------------------
   7. Columna derecha: Visual con recorte y carrusel infinito de 4 imagenes
   -------------------------------------------------------------------------- */
.hero__visual {
  position: relative;
  width: 100%;
  height: 100%;
  margin-right: 0;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  filter: drop-shadow(-10px 14px 24px rgba(20, 40, 30, 0.18));
}

.hero__visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 7.1 Contenedor del Carrusel */
.hero__carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: url(#forma-hero);
  -webkit-clip-path: url(#forma-hero);
  overflow: hidden;
  transform: translate(var(--img-offset-x, 0px), var(--img-offset-y, 0px)) scale(var(--img-scale, 1));
  transform-origin: center center;
  transition: transform 0.05s ease-out;
}

/* Diapositivas con transicion horizontal fluida */
.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
  pointer-events: none;
}

.hero__slide.activa {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.hero__slide.anterior {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

/* 7.2 Imagenes con clip-path */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.03);
}

/* 7.3 Pildora de posicion de imagenes */
.hero__carousel-pildora {
  position: absolute;
  bottom: 28px;
  left: calc(50% + (var(--img-offset-x, 60px) / 2));
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(14, 45, 33, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(201, 162, 74, 0.55);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.hero__carousel-pildora:hover {
  background: rgba(14, 45, 33, 0.94);
  border-color: rgba(201, 162, 74, 0.85);
  transform: translateX(-50%) translateY(-1px);
}

.pildora__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background-color: rgba(247, 239, 223, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.3s ease,
              box-shadow 0.3s ease;
}

.pildora__dot:hover {
  background-color: rgba(247, 239, 223, 0.9);
}

.pildora__dot.activo {
  width: 26px;
  background-color: #C9A24A;
  box-shadow: 0 0 10px rgba(201, 162, 74, 0.8);
}



/* --------------------------------------------------------------------------
   8. Franja inferior de beneficios (y: 800–941px)
   -------------------------------------------------------------------------- */
.beneficios {
  position: relative;
  width: 100%;
  height: 140px;
  min-height: 140px;
  margin-top: auto;
  flex-shrink: 0;
  background-color: var(--crema-franja);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.1fr;
  align-items: center;
  padding-left: clamp(24px, 4.8vw, 80px);
  padding-right: clamp(180px, 14vw, 240px); /* Espacio reservado para el boton flotante */
  z-index: 20;
}

.beneficio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.35vw, 22px);
  padding: 10px 16px;
}

.beneficio__icono-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beneficio__icono {
  width: clamp(52px, 4.2vw, 70px);
  height: clamp(52px, 4.2vw, 70px);
  object-fit: contain;
}

.beneficio__texto {
  font-family: var(--font-secundaria);
  font-weight: 500;
  font-size: clamp(15px, 1.08vw, 18px);
  color: var(--texto);
  line-height: 1.25;
}

/* Divisores verticales */
.beneficio__divisor {
  width: 1px;
  height: 80px;
  background-color: var(--divisor);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   9. Boton flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-flotante {
  position: fixed;
  right: 28px;
  bottom: 50px;
  z-index: 50;
  background-color: var(--verde-whatsapp);
  border-radius: 999px;
  min-width: 207px;
  height: 56px;
  padding: 0 22px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  color: #FFFFFF;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}

.wa-flotante__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.wa-flotante__texto {
  font-family: var(--font-principal);
  font-size: 17px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.wa-flotante:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.36);
  background-color: var(--verde-whatsapp-h);
}

.wa-flotante:active {
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   10. Animaciones de entrada escalonada (FadeUp)
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__texto .eyebrow {
  animation: fadeUp 0.6s ease-out 0.1s backwards;
}

.hero__texto .hero__titulo {
  animation: fadeUp 0.7s ease-out 0.2s backwards;
}

.hero__texto .lead {
  animation: fadeUp 0.7s ease-out 0.35s backwards;
}

.hero__texto .cta {
  animation: fadeUp 0.7s ease-out 0.45s backwards;
}

.hero__texto .micro {
  animation: fadeUp 0.7s ease-out 0.55s backwards;
}

.hero__visual-inner {
  animation: fadeInScale 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}



/* --------------------------------------------------------------------------
   12. Responsividad y adaptacion a dispositivos
   -------------------------------------------------------------------------- */

/* 12.1 Tablets grandes y laptops medianas (1024px a 1199px) */
@media (max-width: 1199px) {
  .hero__main {
    grid-template-columns: minmax(460px, 44%) 1fr;
  }

  .nav {
    gap: 32px;
  }
}

/* 12.2 Tablets (768px a 1023px) */
@media (max-width: 1023px) {
  .hero {
    min-height: auto;
    height: auto;
    justify-content: flex-start;
    padding-top: 95px;
  }

  .header {
    height: 95px;
    padding: 0 24px;
  }

  .logo {
    position: static;
  }

  .logo img {
    width: 85px;
  }

  .nav {
    display: none;
  }

  .nav.abierto {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(247, 239, 223, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 45;
    transform: none;
  }

  .nav.abierto .nav__link {
    font-size: 28px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__main {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__texto {
    max-width: 100%;
    padding: 20px 24px 30px 24px;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero__img {
    min-height: 520px;
  }

  .beneficios {
    height: auto;
    min-height: 140px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .beneficio__divisor {
    display: none;
  }
}

/* 12.3 Telefonos moviles (< 768px) */
@media (max-width: 767px) {
  .header {
    height: 75px;
    padding: 0 16px;
  }

  .logo {
    position: static;
  }

  .logo img {
    width: 65px;
  }

  .header__acciones {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .btn-cotizar {
    min-width: auto;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .menu-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 6px;
    gap: 4px;
    flex-shrink: 0;
  }

  .hero__main {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
  }

  .hero__texto {
    padding: 10px 18px 24px 18px;
    max-width: 100%;
    transform: none;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    margin-bottom: 6px;
  }

  .hero__titulo {
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1;
  }

  .hero__titulo-linea {
    white-space: normal;
  }

  .lead {
    font-size: 15px;
    margin-top: 14px;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 20px;
  }

  .btn-wa {
    width: 100%;
    min-width: auto;
    height: 58px;
    justify-content: center;
  }

  .btn-wa span {
    font-size: 18px;
  }

  .link-conviene {
    justify-content: center;
    font-size: 16px;
  }

  .micro {
    text-align: center;
    font-size: 14px;
    margin-top: 14px;
  }

  /* Visual en movil: ancho completo */
  .hero__visual {
    min-height: 360px;
    width: 100%;
    filter: drop-shadow(0 6px 16px rgba(20, 40, 30, 0.12));
  }

  .hero__visual-inner {
    height: 360px;
  }

  .hero__carousel-slides {
    clip-path: url(#forma-hero-mobile);
    -webkit-clip-path: url(#forma-hero-mobile);
  }

  .hero__img {
    min-height: 360px;
  }

  .hero__carousel-pildora {
    left: 50%;
    bottom: 16px;
    padding: 6px 14px;
    gap: 6px;
  }

  /* Franja inferior en movil: vertical compacta */
  .beneficios {
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 16px;
  }

  .beneficio {
    justify-content: flex-start;
  }

  .beneficio__icono {
    width: 48px;
    height: 48px;
  }

  .beneficio__texto {
    font-size: 15px;
  }

  /* Boton flotante movil: boton circular compacto */
  .wa-flotante {
    right: 18px;
    bottom: 20px;
    min-width: 54px;
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .wa-flotante__texto {
    display: none;
  }

  .wa-flotante__icon {
    width: 28px;
    height: 28px;
  }

}

/* --------------------------------------------------------------------------
   14. Contenedor generico de seccion (alineado con el hero)
   -------------------------------------------------------------------------- */
.contenedor-seccion {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.2vw, 52px);
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------
   15. Bloque 1: Selector de Modelos ("¿Cual me conviene?")
   -------------------------------------------------------------------------- */
.modelos-sec {
  background-color: var(--crema-fondo);
  padding: clamp(48px, 4.5vw, 70px) 0 clamp(24px, 2.5vw, 36px);
  position: relative;
}

.modelos-head {
  text-align: center;
  margin-bottom: clamp(36px, 3.8vw, 56px);
}

.modelos-eyebrow {
  font-family: var(--font-secundaria);
  font-weight: 500;
  font-size: clamp(14px, 1.05vw, 17px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 12px;
}

.modelos-titulo {
  font-family: var(--font-principal);
  font-size: clamp(36px, 4.8vw, 80px);
  line-height: 1.05;
  color: var(--verde-bosque);
  font-weight: normal;
}

.modelos-titulo .acento {
  position: relative;
  color: var(--verde-bosque);
  display: inline-block;
  white-space: nowrap;
}

.modelos-titulo .swoosh {
  position: absolute;
  left: 0;
  bottom: -0.12em;
  width: 100%;
  height: 0.22em;
  pointer-events: none;
  color: var(--dorado);
}

.modelos-sub {
  font-family: var(--font-secundaria);
  font-weight: 400;
  font-size: clamp(17px, 1.55vw, 26px);
  color: var(--texto-suave);
  margin-top: 14px;
}

/* Rejilla de 3 tarjetas */
.modelos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
  align-items: stretch;
}

/* Tarjeta base: las 3 tienen el mismo borde base sutil */
.card {
  background-color: var(--crema-tarjeta);
  border-radius: 22px;
  border: 3px solid var(--borde-tarjeta);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  padding: clamp(24px, 2vw, 32px) clamp(20px, 2vw, 32px) clamp(30px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* Tarjeta 1: Becerrera - Borde activado al poner el mouse */
.card--becerrera {
  border: 3px solid var(--borde-tarjeta);
}

.card--becerrera:hover,
.card--becerrera.activa {
  border-color: var(--verde-oscuro-btn);
  box-shadow: 0 8px 24px rgba(15, 74, 53, 0.22);
}

/* Tarjeta 2: Portatil - Borde dorado activado al poner el mouse */
.card--portatil {
  border: 3px solid var(--borde-tarjeta);
}

.card--portatil:hover,
.card--portatil.activa {
  border-color: var(--dorado-borde);
  box-shadow: 0 8px 24px rgba(177, 138, 53, 0.25);
}

/* Tarjeta 3: Monstruo - Borde verde bosque activado al poner el mouse */
.card--monstruo {
  border: 3px solid var(--borde-tarjeta);
}

.card--monstruo:hover,
.card--monstruo.activa {
  border-color: var(--verde-borde-3);
  box-shadow: 0 8px 24px rgba(20, 65, 47, 0.22);
}

/* Badge superior en tarjeta 3 */
.card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dorado-borde);
  color: var(--verde-bosque);
  font-family: var(--font-secundaria);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  z-index: 10;
}

/* Titulos de tarjeta */
.card__titulo {
  font-family: var(--font-principal);
  font-size: clamp(30px, 2.65vw, 44px);
  line-height: 1.05;
  color: var(--verde-bosque);
  font-weight: normal;
  margin-bottom: 20px;
  min-height: 2.2em;
}

.card__titulo--monstruo {
  font-size: clamp(26px, 2.3vw, 38px);
}

/* Imagen de tarjeta */
.card__img-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: visible;
}

.card__img {
  width: 100%;
  height: clamp(230px, 18.5vw, 310px);
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}

/* Etiqueta flotante Puerta lateral en tarjeta 3 */
.card__tip {
  position: absolute;
  top: 4%;
  right: -6%;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  z-index: 8;
  pointer-events: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card__tip:hover,
.card__tip.activo {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
}

.card__tip-titulo {
  font-family: var(--font-secundaria);
  font-weight: 700;
  font-size: 13px;
  color: var(--verde-bosque);
  line-height: 1.2;
  white-space: nowrap;
}

.card__tip-sub {
  font-family: var(--font-secundaria);
  font-weight: 400;
  font-size: 11.5px;
  color: #1F6F63;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
}

/* Hotspots interactivos "+" en tarjeta 3 */
.card__hs {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--dorado);
  border: 3px solid #F7EFDF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 7;
  animation: pulsoHs 2.4s infinite ease-in-out;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.card__hs:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background-color: var(--dorado-claro);
}

.card__hs-plus {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
}

.card__hs-plus::before,
.card__hs-plus::after {
  content: "";
  position: absolute;
  background-color: #FFFFFF;
  border-radius: 1px;
}

.card__hs-plus::before {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

.card__hs-plus::after {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

.card__hs--1 {
  left: 66%;
  top: 40%;
}

.card__hs--2 {
  left: 87%;
  top: 77%;
}

.card__hs--3 {
  left: 55%;
  top: 86%;
}

@keyframes pulsoHs {
  0% {
    box-shadow: 0 0 0 0 rgba(177, 138, 53, 0.65), 0 3px 8px rgba(0, 0, 0, 0.35);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(177, 138, 53, 0), 0 3px 8px rgba(0, 0, 0, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(177, 138, 53, 0), 0 3px 8px rgba(0, 0, 0, 0.35);
  }
}

/* Linea "Te conviene:" */
.card__conviene {
  font-family: var(--font-secundaria);
  font-weight: 500;
  font-size: clamp(20px, 1.55vw, 26px);
  color: var(--texto);
  margin-top: 26px;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.card__conviene strong {
  font-family: var(--font-principal);
  font-size: clamp(24px, 1.8vw, 30px);
  color: var(--verde-bosque);
  font-weight: normal;
}

/* Lista de checks */
.card__checks {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__check {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-secundaria);
  font-weight: 400;
  font-size: clamp(15px, 1.08vw, 18px);
  color: var(--texto);
  line-height: 1.3;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* Botones de tarjeta */
.btn-card {
  margin-top: auto;
  width: 100%;
  height: clamp(56px, 4.1vw, 68px);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-principal);
  font-size: clamp(18px, 1.35vw, 22px);
  letter-spacing: 0.06em;
  color: #FFFFFF;
  text-transform: uppercase;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  text-align: center;
  margin-top: 26px;
  white-space: nowrap;
}

.btn-card:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn-card:active {
  transform: translateY(1px);
}

.btn-card--becerrera {
  background-color: var(--verde-oscuro-btn);
}

.btn-card--portatil {
  background-color: var(--verde-esmeralda);
}

.btn-card--monstruo {
  background-color: var(--verde-oscuro-btn);
}

.card__medidas {
  font-family: var(--font-secundaria);
  font-weight: 400;
  font-size: 15px;
  color: var(--texto-suave);
  text-align: center;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   16. Bloque 2: Formulario "Cuentanos de tu rancho"
   -------------------------------------------------------------------------- */
.contacto-seccion {
  background-color: var(--crema-fondo);
  padding: clamp(40px, 4.5vw, 70px) 0 clamp(40px, 4.5vw, 70px);
}

.bloque-contacto {
  background-color: var(--verde-bloque);
  border-radius: 28px;
  padding: clamp(36px, 3.5vw, 52px) clamp(24px, 3.2vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 3.8vw, 56px);
  align-items: center;
  box-shadow: 0 16px 40px rgba(12, 68, 48, 0.25);
}

.contacto__titulo {
  font-family: var(--font-principal);
  font-size: clamp(36px, 3.75vw, 62px);
  line-height: 1.05;
  color: #F7EFDF;
  font-weight: normal;
}

.contacto__sub {
  font-family: var(--font-secundaria);
  font-weight: 400;
  font-size: clamp(20px, 1.85vw, 31px);
  color: #F7EFDF;
  margin-top: 18px;
  line-height: 1.25;
}

.contacto__linea-dorada {
  display: block;
  width: 90px;
  height: 2px;
  background-color: var(--dorado-claro);
  margin: 26px 0;
}

.contacto__micro {
  font-family: var(--font-secundaria);
  font-weight: 400;
  font-size: clamp(16px, 1.35vw, 22px);
  color: #F7EFDF;
}

/* Tarjeta del formulario */
.contacto__form-wrap {
  background-color: var(--crema-tarjeta);
  border-radius: 20px;
  padding: clamp(22px, 1.9vw, 28px) clamp(22px, 2vw, 30px) clamp(18px, 1.5vw, 22px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.form-grupo {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-grupo--full {
  grid-column: 1 / -1;
}

.form-input {
  height: 58px;
  background-color: var(--input-fondo);
  border: 1.5px solid var(--input-borde);
  border-radius: 14px;
  font-family: var(--font-secundaria);
  font-size: 16px;
  color: var(--texto);
  padding: 0 18px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: #6B6B60;
  font-family: var(--font-secundaria);
}

.form-input:focus {
  border-color: var(--verde-borde-3);
  box-shadow: 0 0 0 3px rgba(20, 87, 63, 0.15);
  outline: none;
}

.form-input.error,
.select-wrap.error,
.form-select--ganado.error {
  border-color: #C0392B !important;
}

.form-error {
  font-family: var(--font-secundaria);
  font-size: 12px;
  color: #C0392B;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Selects unificados para Bascula de interes y Que ganado manejas */
/* Selects unificados para Bascula de interes y Que ganado manejas */
.select-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
  background-color: var(--input-fondo);
  border: 1.5px solid var(--input-borde);
  border-radius: 14px;
  padding: 8px 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.select-wrap:hover {
  border-color: var(--dorado-claro);
}

.select-wrap:focus-within,
.select-wrap.select-wrap--abierto {
  border-color: var(--verde-borde-3);
  box-shadow: 0 0 0 3px rgba(20, 87, 63, 0.16);
  background-color: #FFFFFF;
}

.select-wrap.select-wrap--abierto {
  z-index: 100;
  border-color: var(--dorado);
  box-shadow: 0 0 0 3px rgba(177, 138, 53, 0.22), 0 10px 28px rgba(20, 65, 47, 0.15);
}

.select-wrap.error {
  border-color: #C0392B !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.2) !important;
}

.select-label {
  font-family: var(--font-secundaria);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #727066;
  line-height: 1.1;
  margin-bottom: 2px;
  display: block;
  pointer-events: none;
}

.select-field {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Ocultar visualmente el select nativo cuando el custom select esta activo */
.select-wrap--custom .form-select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

/* Trigger del select personalizado */
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  outline: none;
  gap: 12px;
}

.custom-select-texto {
  font-family: var(--font-secundaria);
  font-size: 16px;
  font-weight: 500;
  color: var(--texto);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.custom-select-texto--placeholder {
  color: #6B6B60;
  font-weight: 400;
}

.custom-select-flecha {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(177, 138, 53, 0.14);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
}

.custom-select-flecha svg path {
  transition: stroke 0.25s ease;
}

.select-wrap:hover .custom-select-flecha {
  background: rgba(177, 138, 53, 0.25);
}

.select-wrap.select-wrap--abierto .custom-select-flecha {
  transform: rotate(180deg);
  background: var(--verde-bosque);
}

.select-wrap.select-wrap--abierto .custom-select-flecha svg path {
  stroke: #F7EFDF;
}

/* Menu desplegable premium */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 150;
  background-color: #FAF5EB;
  border: 1.5px solid var(--dorado-claro);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(12, 68, 48, 0.22), 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 8px 6px;
  max-height: 270px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s;
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: var(--dorado) rgba(20, 65, 47, 0.08);
}

.custom-select-dropdown::-webkit-scrollbar {
  width: 6px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: rgba(20, 65, 47, 0.06);
  border-radius: 10px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: var(--dorado);
  border-radius: 10px;
}

.select-wrap.select-wrap--abierto .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Opciones individuales dentro del dropdown */
.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-secundaria);
  font-size: 15px;
  font-weight: 500;
  color: var(--texto);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease, padding-left 0.16s ease;
  margin-bottom: 2px;
}

.custom-select-option:last-child {
  margin-bottom: 0;
}

.custom-select-option:hover {
  background-color: rgba(20, 65, 47, 0.08);
  color: var(--verde-bosque);
  padding-left: 18px;
}

.custom-select-option.activa {
  background: linear-gradient(90deg, rgba(20, 65, 47, 0.12) 0%, rgba(177, 138, 53, 0.12) 100%);
  color: var(--verde-bosque);
  font-weight: 600;
}

.custom-select-option-texto {
  flex-grow: 1;
}

.custom-select-option-check {
  display: none;
  flex-shrink: 0;
  margin-left: 10px;
}

.custom-select-option.activa .custom-select-option-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Select nativo (fallback de seguridad) */
.select-wrap .form-select {
  height: auto;
  border: none;
  background: transparent;
  padding: 0 24px 0 0;
  font-family: var(--font-secundaria);
  font-size: 16px;
  font-weight: 500;
  color: var(--texto);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333333' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px 8px;
  width: 100%;
  outline: none;
}

.select-wrap .form-select:focus {
  outline: none;
}

.form-select option {
  background-color: #FAF5EB;
  color: #2B2A26;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 15px;
  padding: 12px 14px;
}

.form-select option:checked {
  background-color: #14412F;
  color: #FFFFFF;
}

/* Compatibilidad clase form-select--ganado */
.form-select--ganado {
  background: transparent !important;
  border: none !important;
  height: auto !important;
  padding: 0 24px 0 0 !important;
}

/* Boton Enviar por WhatsApp */
.btn-enviar-wa {
  height: 58px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #12A864, #22B573);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-principal);
  font-size: clamp(18px, 1.35vw, 22px);
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(14, 159, 90, 0.3);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-enviar-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(14, 159, 90, 0.45);
  filter: brightness(1.04);
}

.btn-enviar-wa:active {
  transform: translateY(1px);
}

.btn-enviar-wa__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.form-micro {
  font-family: var(--font-secundaria);
  font-weight: 400;
  font-size: 14px;
  color: var(--texto-suave);
  text-align: center;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   17. Bloque 3: Footer
   -------------------------------------------------------------------------- */
.footer {
  width: 100%;
  background-color: var(--crema-fondo);
  border-top: 1px solid var(--divisor);
  padding: 24px 0;
}

.footer__inner {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6.7vw, 110px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer__logo {
  width: clamp(90px, 9vw, 150px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.footer__logo:hover {
  transform: scale(1.03);
}

.footer__centro {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__linea {
  display: inline-block;
  width: clamp(40px, 7vw, 120px);
  height: 1px;
  background-color: var(--dorado-claro);
}

.footer__lema {
  font-family: var(--font-secundaria);
  font-weight: 500;
  font-size: clamp(12px, 0.9vw, 15px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--vino-lema);
  white-space: nowrap;
}

.footer__redes {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: clamp(10px, 1.8vw, 24px);
}

.footer__red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer__red:hover {
  transform: scale(1.15);
  opacity: 0.88;
}

/* --------------------------------------------------------------------------
   18. Responsividad para nuevas secciones (Tablets y Movil)
   -------------------------------------------------------------------------- */
@media (max-width: 1099px) {
  .modelos {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .card {
    padding: 22px 18px 28px;
  }

  .card__titulo {
    font-size: 28px;
  }

  .bloque-contacto {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 28px;
  }

  .contacto__titulo {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .modelos {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .card {
    padding: 24px 20px 32px;
  }

  .card__tip {
    right: 4%;
    top: 4%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 16px;
  }

  .footer__linea {
    display: none;
  }

  .footer__lema {
    letter-spacing: 0.2em;
    white-space: normal;
  }

  .footer__redes {
    margin-left: 0;
  }
}

/* Animacion y transiciones de tarjetas y formulario */
.card,
.bloque-contacto {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* --------------------------------------------------------------------------
   13. Accesibilidad: Reduccion de movimiento
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
