/* ===================================================================
   BANCHAJUL — Landing page
   Paleta de marca, layout y animaciones ligadas al scroll
   =================================================================== */

:root {
  --brand-red: #AE1222;
  --brand-red-dark: #8E0E1C;
  --brand-red-soft: #C8313F;
  /* Fondo blanco + acentos en gris claro (según referencia) */
  --bg-page: #FFFFFF;
  --bg-cream: #FFFFFF;
  --bg-cream-2: #F7F6F4;
  --gray-card: #ECECEC;
  --chip: #EFEDE9;
  --text-dark: #2C2C2C;
  --text-muted: #6B6B6B;
  --text-gold: #B8860B;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-red: 0 12px 28px rgba(174, 18, 34, 0.28);
  --radius: 16px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --nav-h: 76px;
  /* Títulos: heavy soft-serif (~ Goudy Heavy / Cooper Black) · Cuerpo: geométrica (~ Futura) */
  --font-display: 'Fraunces', 'Goudy Old Style', Georgia, serif;
  --font-body: 'Montserrat', 'Century Gothic', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; font-weight: 900; font-optical-sizing: auto; letter-spacing: -0.01em; }

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

.section { padding: 90px 0; position: relative; }
.section--cream { background: var(--bg-cream); }
.section--cream-2 { background: var(--bg-cream-2); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--brand-red);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; font-size: 0.78rem;
  color: var(--text-gold); margin-bottom: 12px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--brand-red-soft) 0%, var(--brand-red) 55%, var(--brand-red-dark) 100%); color: var(--white); box-shadow: var(--shadow-red); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--brand-red); border-color: var(--brand-red); }
.btn-outline:hover { background: var(--brand-red); color: var(--white); transform: translateY(-3px); }
.btn-ghost-light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--brand-red); transform: translateY(-3px); }

/* ===================================================================
   NAVBAR
   =================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h); z-index: 1000;
  background: var(--brand-red);
  display: flex; align-items: center;
  transition: height .3s ease, box-shadow .3s ease, background .3s ease;
}
.navbar.scrolled { height: 64px; box-shadow: 0 6px 24px rgba(0,0,0,.18); background: var(--brand-red-dark); }
.nav-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 22px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 42px; width: auto; filter: brightness(0) invert(1); transition: height .3s ease; }
.navbar.scrolled .nav-logo img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 12px; }
.nav-links a { color: #fff; font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: #fff; transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-search { margin-left: auto; position: relative; }
.nav-search input {
  border: none; outline: none; border-radius: 50px; padding: 11px 46px 11px 20px;
  width: 280px; max-width: 38vw; font-family: var(--font-body); font-size: .9rem; color: var(--text-dark);
  background: #fff; box-shadow: var(--shadow-sm);
}
.nav-search button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: none; background: var(--brand-red); color: #fff; width: 34px; height: 34px;
  border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .25s;
}
.nav-search button:hover { background: var(--brand-red-dark); }

/* Dropdown de búsqueda (secciones seleccionables) */
.search-results {
  position: absolute; top: calc(100% + 10px); right: 0; width: 320px; max-width: 80vw;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 8px; display: none; z-index: 1200; max-height: 60vh; overflow-y: auto;
  border: 1px solid rgba(0,0,0,.06);
}
.search-results.open { display: block; animation: ddIn .18s ease-out; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.search-results li {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px;
  cursor: pointer; color: var(--text-dark); font-size: .92rem; font-weight: 500; transition: background .15s, color .15s;
}
.search-results li .s-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--bg-cream); color: var(--brand-red); display: grid; place-items: center; flex: none; }
.search-results li .s-ico svg { width: 17px; height: 17px; stroke: currentColor; }
.search-results li .s-sub { display: block; font-size: .76rem; color: var(--text-muted); font-weight: 400; }
.search-results li.active, .search-results li:hover { background: var(--brand-red); color: #fff; }
.search-results li.active .s-ico, .search-results li:hover .s-ico { background: rgba(255,255,255,.2); color: #fff; }
.search-results li.active .s-sub, .search-results li:hover .s-sub { color: rgba(255,255,255,.85); }
.search-results .s-empty { padding: 14px; text-align: center; color: var(--text-muted); font-size: .88rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Barra de progreso de lectura */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--text-gold); z-index: 1100; transition: width .1s linear; }

/* ===================================================================
   SLIDER (hero) — imagen contenida con esquinas redondeadas + píldora de dots
   =================================================================== */
.slider-section { background: var(--bg-page); padding: calc(var(--nav-h) + 30px) 0 48px; }
.slider { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.slider-head { text-align: center; max-width: 1120px; margin: 0 auto 26px; }
.slider-head .eyebrow { color: var(--text-gold); margin-bottom: 8px; }
.slider-head h1 { color: var(--brand-red); font-size: clamp(1.9rem, 4.6vw, 3.3rem); white-space: nowrap; }
.slider-frame {
  position: relative; border-radius: 30px; overflow: hidden;
  aspect-ratio: 16 / 7.4; box-shadow: var(--shadow-md);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06); transition: opacity 1.1s ease, transform 6.5s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 1; }

/* Píldora blanca con dots, sobre el borde inferior del slide */
.hero-controls {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  display: flex; align-items: center; gap: 9px; z-index: 5;
  background: #fff; padding: 11px 18px; border-radius: 50px; box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.hero-dot { width: 11px; height: 11px; border-radius: 50%; border: none; background: #d9d3cb; cursor: pointer; transition: .3s; padding: 0; }
.hero-dot.active { width: 30px; border-radius: 7px; background: var(--brand-red); }

/* Flechas discretas dentro del marco (solo al pasar el cursor) */
.slider-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.78); color: var(--brand-red); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; transition: opacity .25s, background .25s; backdrop-filter: blur(4px);
}
.slider-frame:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

/* ===================================================================
   TABS de categorías — pestaña activa en caja gris
   =================================================================== */
.cats { background: var(--bg-cream); padding: 6px 0 10px; }
.cats-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 14px;
  cursor: pointer; border: none; border-radius: 20px; background: transparent;
  color: var(--text-dark); font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  transition: background .25s, transform .2s;
}
.cat .cat-ico { color: var(--brand-red); display: grid; place-items: center; transition: transform .25s; }
.cat .cat-ico svg { width: 32px; height: 32px; stroke: currentColor; }
.cat:hover { background: rgba(44,44,44,.05); }
.cat:hover .cat-ico { transform: translateY(-3px); }
.cat.active { background: #EAE7E0; }
.cat.active .cat-lbl { color: var(--text-dark); font-weight: 700; }

/* ===================================================================
   PRODUCTO destacado — tarjeta gris, persona recortada, flecha afuera
   =================================================================== */
.product-section { padding-top: 30px; }
.product-wrap { position: relative; }
.product-card {
  width: 100%; background: #EFEDE8; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: 340px;
  position: relative; overflow: visible;
}
.product-text { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; }
.product-text h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--brand-red); margin-bottom: 16px; }
.product-text p { color: var(--text-muted); margin-bottom: 26px; max-width: 420px; }
.product-media { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.product-media img {
  max-height: 420px; width: auto; max-width: 100%; object-fit: contain;
  align-self: flex-end; margin-bottom: -2px;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.16));
  animation: prodIn .5s ease both;
}
@keyframes prodIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.product-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: none; background: #fff; color: var(--brand-red); cursor: pointer;
  font-size: 1.7rem; line-height: 1; box-shadow: var(--shadow-sm); opacity: .92;
  transition: opacity .2s, transform .2s, background .2s, color .2s; font-family: var(--font-body);
}
.product-arrow:hover { opacity: 1; background: var(--brand-red); color: #fff; transform: translateY(-50%) scale(1.08); }
.product-arrow.prev { left: -16px; }
.product-arrow.next { right: -16px; }
.product-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.product-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #cfc7bd; cursor: pointer; transition: .25s; padding: 0; }
.product-dots button.active { background: var(--brand-red); width: 26px; border-radius: 6px; }

/* ===================================================================
   BANNER ROJO (15% anual)
   =================================================================== */
.promo { background: linear-gradient(105deg, var(--brand-red-dark) 0%, var(--brand-red) 52%, var(--brand-red-soft) 100%); color: #fff; overflow: hidden; position: relative; }
.promo::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px); background-size: 26px 26px; opacity: .6; }
.promo-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 30px; position: relative; z-index: 2; min-height: 420px; }
.promo-img { align-self: stretch; background-size: cover; background-position: center top; border-radius: var(--radius); min-height: 360px; }
.promo-text { padding: 30px 10px; }
.promo-text h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 18px; line-height: 1.1; }
.promo-rate { display: flex; align-items: baseline; gap: 14px; margin-top: 10px; }
.promo-rate .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 9vw, 6rem); line-height: 1; color: #ffd9a0; }
.promo-rate .lbl { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; }
.promo-text .sub { opacity: .9; margin-top: 6px; }

/* ===================================================================
   SOLUCIONES (grid de tarjetas)
   =================================================================== */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.sol-card {
  background: var(--gray-card); border-radius: var(--radius-md);
  padding: 38px 46px; min-height: 180px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  transition: transform .3s ease, background .3s ease;
}
.sol-card:nth-child(even) { clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); align-items: flex-end; text-align: right; }
.sol-card:hover { transform: translateY(-6px); background: #E6E5E2; }
.sol-card h3 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); color: var(--brand-red); line-height: 1.12; }
.sol-card p { color: var(--text-muted); font-size: .95rem; max-width: 360px; }
.sol-btn { background: var(--brand-red); color: #fff; font-size: .85rem; font-weight: 600; padding: 10px 18px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, transform .2s; }
.sol-btn:hover { background: var(--brand-red-dark); transform: translateX(3px); }
.sol-btn svg { width: 15px; height: 15px; stroke: currentColor; }

/* ===================================================================
   PASOS (¿Cómo solicitar?) — NUEVO
   =================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { content: ''; position: absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-red) 0 10px, transparent 10px 20px); opacity: .4; z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: var(--white);
  border: 3px solid var(--brand-red); color: var(--brand-red); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, background .3s ease, color .3s ease;
}
.step-num svg { width: 34px; height: 34px; stroke: currentColor; }
.step:hover .step-num { transform: translateY(-6px) scale(1.05); background: var(--brand-red); color: #fff; }
.step .badge { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--text-gold); letter-spacing: 1px; margin-bottom: 6px; }
.step h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: .92rem; }

/* ===================================================================
   SOBRE NOSOTROS
   =================================================================== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); object-fit: cover; max-height: 520px; }
.about-img::after { content: ''; position: absolute; left: -18px; bottom: -18px; width: 130px; height: 130px; border: 4px solid var(--text-gold); border-radius: var(--radius); z-index: -1; }
.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--brand-red); margin-bottom: 18px; }
.about-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.about-quote { border-left: 4px solid var(--brand-red); padding-left: 18px; font-family: var(--font-display); font-style: italic; color: var(--text-dark); font-size: 1.2rem; margin-top: 22px; }

/* ===================================================================
   ESTADÍSTICAS — NUEVO
   =================================================================== */
.stats { background: linear-gradient(120deg, var(--brand-red) 0%, var(--brand-red-dark) 100%); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 2; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: #ffd9a0; line-height: 1; }
.stat .num small { font-size: .55em; }
.stat .lbl { margin-top: 10px; font-weight: 600; letter-spacing: .5px; opacity: .95; }
.stat + .stat { position: relative; }

/* Destacado de una sola estadística (centrado) */
.stats-single { position: relative; z-index: 2; text-align: center; max-width: 660px; margin: 0 auto; }
.stats-single .eyebrow { color: #ffd9a0; margin-bottom: 10px; }
.stats-single .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(4.2rem, 13vw, 7.5rem); color: #ffd9a0; line-height: 1; }
.stats-single .num small { font-size: .45em; }
.stats-single .lbl { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600; margin-top: 6px; }
.stats-single .stats-note { opacity: .92; margin-top: 16px; font-size: 1.02rem; }

/* ===================================================================
   VALORES
   =================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--brand-red); transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--chip); color: var(--brand-red); display: grid; place-items: center; margin-bottom: 16px; }
.value-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.value-card h3 { font-size: 1.25rem; color: var(--brand-red); margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: .95rem; }

/* ===================================================================
   TESTIMONIOS — NUEVO
   =================================================================== */
.testi { position: relative; max-width: 820px; margin: 0 auto; }
.testi-track { position: relative; min-height: 250px; }
.testi-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 40px 44px; display: flex; gap: 26px; align-items: center;
}
.testi-slide.active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }
.testi-photo { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; object-position: center 18%; flex: none; border: 4px solid var(--chip); box-shadow: var(--shadow-sm); }
.testi-body .quote { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--text-dark); margin-bottom: 14px; position: relative; }
.testi-body .quote::before { content: '\201C'; font-size: 3rem; color: rgba(174,18,34,.18); position: absolute; left: -10px; top: -22px; }
.testi-name { font-weight: 700; color: var(--brand-red); }
.testi-role { color: var(--text-muted); font-size: .9rem; }
.testi-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #d8c9c9; cursor: pointer; transition: .25s; padding: 0; }
.testi-dots button.active { background: var(--brand-red); width: 26px; border-radius: 6px; }

/* ===================================================================
   CONTACTO
   =================================================================== */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: stretch; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px 38px; }
.contact-form h2 { color: var(--brand-red); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 6px; }
.contact-form .lead { color: var(--text-muted); margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field label .req { color: var(--brand-red); }
.field .hint { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid #e0d9cf; border-radius: 12px; padding: 12px 14px;
  font-family: var(--font-body); font-size: .95rem; color: var(--text-dark); background: var(--bg-cream); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-red); box-shadow: 0 0 0 3px rgba(174,18,34,.12); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radios { display: flex; flex-wrap: wrap; gap: 16px; }
.radios label { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: .92rem; cursor: pointer; }
.radios input { width: auto; accent-color: var(--brand-red); }
.field input.invalid, .field textarea.invalid { border-color: var(--brand-red); background: #fff3f3; }
.error-msg { color: var(--brand-red); font-size: .8rem; margin-top: 5px; display: none; }
.error-msg.show { display: block; }
.form-status { margin-top: 14px; font-weight: 600; font-size: .95rem; }
.form-status.ok { color: #1d8f3a; }
.contact-aside { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 420px; background: var(--brand-red); display: flex; flex-direction: column; justify-content: flex-end; }
.contact-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.contact-aside .info { position: relative; z-index: 2; padding: 26px; color: #fff; background: linear-gradient(to top, rgba(142,14,28,.95), rgba(142,14,28,0)); }
.contact-aside .info h3 { font-size: 1.3rem; margin-bottom: 10px; }
.contact-aside .info li { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size: .92rem; }
.contact-aside .info svg { width: 18px; height: 18px; flex: none; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--brand-red); color: #fff; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand img { height: 58px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { opacity: .9; max-width: 320px; font-size: .95rem; }
.footer h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; margin-bottom: 16px; opacity: .85; }
.footer li { margin-bottom: 11px; display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.footer li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.footer a:hover { color: #ffd9a0; }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer-social a:hover { background: #fff; color: var(--brand-red); transform: translateY(-3px); }
.footer-social svg { width: 22px; height: 22px; }
.footer-bottom { text-align: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .85rem; opacity: .85; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; z-index: 900; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  .nav-search input { width: 200px; }
  .slider-frame { aspect-ratio: 16 / 10; }
  .product-card { grid-template-columns: 1fr; min-height: 0; }
  .product-text { padding: 36px 32px 0; text-align: center; align-items: center; }
  .product-media img { max-height: 340px; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-img { min-height: 260px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-img::after { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .contact-aside { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-search { display: none; }
  .nav-toggle { display: block; }
  .navbar.menu-open { height: auto; flex-direction: column; align-items: stretch; padding-bottom: 14px; }
  .navbar.menu-open .nav-inner { flex-wrap: wrap; }
  .navbar.menu-open .nav-links { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 14px 0 6px; }
  .navbar.menu-open .nav-links a { padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .navbar.menu-open .nav-search { display: block; width: 100%; margin: 0; }
  .navbar.menu-open .nav-search input { width: 100%; max-width: none; }
  .cats-inner { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .testi-slide { flex-direction: column; text-align: center; padding: 32px 24px; }
  .testi-body .quote::before { display: none; }
  .slider-frame { aspect-ratio: 4 / 3; }
  .slider-head h1 { white-space: normal; }
  .slider-arrow { display: none; }
  .cat { padding: 16px 8px; gap: 8px; font-size: .85rem; }
  .cat .cat-ico svg { width: 26px; height: 26px; }
  .product-arrow { display: none; }
  .sol-card, .sol-card:nth-child(even) { clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%); align-items: flex-start; text-align: left; }
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-slide { transition: opacity .4s ease; transform: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
