@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ════════════════════════════════════════
   NESTLÉ SUBASTAS — CORPORATIVO PREMIUM
   Paleta institucional: Azul / Blanco / Crema
   ════════════════════════════════════════ */

:root {
  --blue:        #005CB9;
  --blue-dark:   #00438a;
  --blue-deeper: #002f63;
  --blue-light:  #e8f0fb;
  --blue-pale:   #f0f6ff;
  --white:       #ffffff;
  --cream:       #f8f9fc;
  --border:      #e3e8f0;
  --border-dark: #ccd4e0;
  --text:        #111827;
  --text-med:    #374151;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;
  --success:     #065f46;
  --success-bg:  #d1fae5;
  --gold:        #b07d2e;

  --font: 'Inter', system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.14);

  --r:   6px;
  --r-lg:12px;
  --tr:  all 0.28s ease;
}

/* ══ RESET ══════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a    { text-decoration:none; color:inherit; }
ul   { list-style:none; }
img  { display:block; max-width:100%; }
button { font-family:inherit; }

/* ══ LAYOUT ══════════════════════════════ */
.container    { max-width:1180px; margin:0 auto; padding:0 40px; }
.container-sm { max-width:820px;  margin:0 auto; padding:0 40px; }
.section      { padding:80px 0; }
.section-lg   { padding:110px 0; }

/* ══ TIPOGRAFÍA ══════════════════════════ */
h1 { font-size:clamp(2.2rem, 4.5vw, 3.8rem); font-weight:800; line-height:1.1; letter-spacing:-0.02em; }
h2 { font-size:clamp(1.7rem, 3vw, 2.6rem);   font-weight:800; line-height:1.2; letter-spacing:-0.01em; }
h3 { font-size:1.15rem; font-weight:700; line-height:1.3; }
p  { font-size:0.96rem; color:var(--text-med); line-height:1.8; }

.eyebrow {
  display:block;
  font-size:0.7rem; font-weight:700;
  text-transform:uppercase; letter-spacing:0.18em;
  color:var(--blue); margin-bottom:12px;
}
.lead { font-size:1.1rem; color:var(--text-med); line-height:1.75; }

/* ══ BARRA SUPERIOR ══════════════════════ */
.topbar {
  background:var(--blue-deeper);
  color:rgba(255,255,255,.75);
  font-size:0.75rem; font-weight:600;
  letter-spacing:0.02em;
  position:relative; z-index:1001; /* Fix mobile overlap by removing fixed */
}
.topbar-inner {
  max-width:1180px; margin:0 auto; padding:8px 40px;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.topbar a { color:rgba(255,255,255,.9); }
.topbar a:hover { color:white; }

/* ══ FRANJA PROMOCIONAL PREMIUM ══════════════════ */
.promo-strip {
  background: linear-gradient(135deg, #001f4d 0%, #002f63 40%, #003d7a 100%);
  border-bottom: 3px solid #b07d2e;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.promo-strip span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: background 0.3s ease;
}
.promo-strip span:last-child { border-right: none; }
.promo-strip span:hover { background: rgba(255,255,255,0.04); }
.promo-strip i {
  color: #d4af37;
  font-size: 1.5rem;
  margin-bottom: 2px;
  display: block;
}
.promo-strip .promo-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  display: block;
}
.promo-strip strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  letter-spacing: 0.01em;
}
.promo-strip .promo-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  display: block;
}
@media (max-width: 640px) {
  .promo-strip {
    grid-template-columns: 1fr;
  }
  .promo-strip span {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 14px 20px;
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }
  .promo-strip span:last-child { border-bottom: none; }
  .promo-strip i { font-size: 1.3rem; margin-bottom: 0; }
}

/* ══ NAVBAR ══════════════════════════════ */
.navbar {
  position:sticky; top:0; z-index:1000;
  background:var(--white);
  border-bottom:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  transition:box-shadow .3s ease;
}
.navbar.scrolled { box-shadow:var(--shadow-md); }
.navbar-inner {
  max-width:1180px; margin:0 auto; padding:0 40px;
  height:68px; display:flex; align-items:center;
  justify-content:space-between; gap:16px;
}

.logo { display:flex; align-items:center; gap:12px; }
.logo-img { height:32px; width:auto; }
.logo-sep  { width:1px; height:30px; background:var(--border); }
.logo-text { display:flex; flex-direction:column; line-height:1.2; }
.logo-text span:first-child  { font-size:0.82rem; font-weight:800; color:var(--blue); letter-spacing:0.01em; }
.logo-text span:last-child   { font-size:0.62rem; font-weight:500; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.08em; }

.nav-links { display:flex; align-items:center; gap:2px; }
.nav-links a {
  padding:7px 12px; border-radius:var(--r);
  font-size:0.83rem; font-weight:500; color:var(--text-med);
  transition:var(--tr); white-space:nowrap;
}
.nav-links a:hover  { background:var(--blue-pale); color:var(--blue); }
.nav-links a.active { background:var(--blue-light); color:var(--blue); font-weight:600; }
.nav-cta   { background:var(--blue)!important; color:white!important; font-weight:600!important; }
.nav-cta:hover { background:var(--blue-dark)!important; box-shadow:0 4px 14px rgba(0,92,185,.3)!important; }

.burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.burger span { display:block; width:22px; height:2px; background:var(--blue); border-radius:2px; transition:var(--tr); }
.burger:hover span:nth-child(2) { width:16px; }

.mobile-nav {
  display:none; flex-direction:column;
  position:fixed; inset:0; background:rgba(0,20,50,.97); z-index:999;
  align-items:center; justify-content:center; gap:10px;
}
.mobile-nav.open { display:flex; }
.mobile-nav a { font-size:1.4rem; font-weight:700; color:white; padding:12px 0; transition:color .2s; }
.mobile-nav a:hover { color:var(--blue-light); }
.mobile-close { position:absolute; top:24px; right:24px; background:none; border:none; color:white; font-size:2rem; cursor:pointer; }

/* ══ BOTONES ══════════════════════════════ */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 28px; border-radius:var(--r);
  font-size:0.83rem; font-weight:700;
  letter-spacing:0.02em; border:2px solid transparent;
  cursor:pointer; transition:var(--tr); white-space:nowrap;
}
.btn-blue    { background:var(--blue); color:white; border-color:var(--blue); }
.btn-blue:hover { background:var(--blue-dark); border-color:var(--blue-dark); transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,92,185,.3); }
.btn-outline { background:transparent; color:var(--blue); border-color:var(--blue); }
.btn-outline:hover { background:var(--blue); color:white; transform:translateY(-2px); }
.btn-white   { background:white; color:var(--blue); border-color:white; }
.btn-white:hover { background:rgba(255,255,255,.92); transform:translateY(-2px); }
.btn-ghost   { background:rgba(255,255,255,.12); color:white; border-color:rgba(255,255,255,.35); }
.btn-ghost:hover { background:rgba(255,255,255,.22); border-color:white; }
.btn-sm { padding:9px 18px; font-size:0.78rem; }
.btn-lg { padding:16px 38px; font-size:0.9rem; }

/* ══ HERO ══════════════════════════════ */
.hero {
  min-height:88vh; display:flex; align-items:center;
  position:relative; overflow:hidden;
  background:var(--blue-deeper);
}
.hero-bg {
  position:absolute; inset:0; z-index:0;
  background:url('https://images.unsplash.com/photo-1618843479313-40f8afb4b4d8?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
  opacity:0.22;
}
.hero-overlay {
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(110deg, rgba(0,47,99,.98) 0%, rgba(0,92,185,.82) 55%, rgba(0,67,138,.55) 100%);
}
.hero-body {
  position:relative; z-index:2;
  width:100%; padding:120px 40px 80px;
  max-width:1180px; margin:0 auto;
}
.hero-tag {
  display:inline-flex; align-items:center; gap:10px;
  font-size:0.7rem; font-weight:700; text-transform:uppercase;
  letter-spacing:0.18em; color:rgba(255,255,255,.65);
  margin-bottom:24px;
}
.hero-tag::before { content:''; display:block; width:28px; height:1.5px; background:rgba(255,255,255,.45); }
.hero h1 { color:white; max-width:760px; margin-bottom:22px; }
.hero-sub { font-size:1.05rem; color:rgba(255,255,255,.75); max-width:580px; line-height:1.75; margin-bottom:40px; }
.hero-btns { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:70px; }

.hero-kpis {
  display:flex; gap:0;
  border:1px solid rgba(255,255,255,.15);
  border-radius:var(--r-lg);
  overflow:hidden;
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(8px);
  max-width:680px;
}
.kpi { flex:1; padding:22px 28px; text-align:center; border-right:1px solid rgba(255,255,255,.1); }
.kpi:last-child { border-right:none; }
.kpi-n { display:block; font-size:2.1rem; font-weight:900; color:white; line-height:1; margin-bottom:6px; letter-spacing:-0.02em; }
.kpi-l { font-size:0.68rem; color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:0.1em; }

/* ══ ATRIBUTOS BAR ══════════════════════ */
.attr-bar {
  background:white; border-bottom:1px solid var(--border);
  box-shadow:var(--shadow-sm);
}
.attr-bar-inner {
  max-width:1180px; margin:0 auto; padding:16px 40px;
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:0;
}
.attr      { padding:6px 20px; font-size:0.78rem; font-weight:600; color:var(--text-med); white-space:nowrap; }
.attr-sep  { width:1px; height:18px; background:var(--border); }

/* ══ PAGE HEADER (páginas internas) ══════ */
.page-header {
  background:var(--blue-deeper);
  padding:130px 0 64px; position:relative; overflow:hidden;
}
.page-header-bg {
  position:absolute; inset:0; z-index:0;
  background:linear-gradient(110deg, var(--blue-deeper) 0%, var(--blue) 100%);
  opacity:.9;
}
.page-header-content { position:relative; z-index:1; }
.page-header h1 { color:white; margin-bottom:12px; }
.page-header p  { color:rgba(255,255,255,.7); font-size:1rem; max-width:540px; }
.page-header .eyebrow { color:rgba(255,255,255,.5); }

/* ══ ANIMACIONES SCROLL ══════════════════ */
.fade-up {
  opacity:0; transform:translateY(32px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity:1; transform:translateY(0); }

/* ══ SECCIONES ══════════════════════════ */
.bg-white  { background:white; }
.bg-cream  { background:var(--cream); }
.bg-dark   { background:var(--blue-deeper); }
.bg-navy   { background:var(--blue-dark); }
.bg-light  { background:var(--blue-pale); }

.section-intro { margin-bottom:56px; }
.section-intro h2 { margin-bottom:16px; }
.section-intro p  { max-width:580px; }

/* ══ EDITORIAL 2-COL ══════════════════ */
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.two-col.rev > :first-child { order:2; }
.two-col.rev > :last-child  { order:1; }
.two-col-text { display:flex; flex-direction:column; gap:16px; }
.two-col-text h2 { margin-bottom:4px; }
.two-col-img img {
  width:100%; border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);
  filter:brightness(0.96) saturate(0.95);
  transition:filter 0.4s ease;
}
.two-col-img:hover img { filter:brightness(1) saturate(1); }

/* ══ PILARES ══════════════════════════ */
.pillars { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1px; background:var(--border); }
.pillar  { background:white; padding:36px 32px; }
.pillar-bar { width:36px; height:3px; background:var(--blue); margin-bottom:18px; border-radius:2px; }
.pillar h3  { font-size:0.95rem; margin-bottom:10px; }
.pillar p   { font-size:0.86rem; }

/* ══ INVENTARIO ══════════════════════ */
.inv-controls {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:16px; margin-bottom:40px;
}
.inv-filters { display:flex; gap:8px; flex-wrap:wrap; }
.inv-filter {
  padding:8px 18px; border-radius:100px;
  font-size:0.78rem; font-weight:600;
  border:1.5px solid var(--border); background:white; color:var(--text-muted);
  cursor:pointer; transition:var(--tr);
}
.inv-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:28px; }

/* ── VCARD rediseño premium ── */
.vcard {
  background:white;
  border-radius:16px; overflow:hidden;
  display:flex; flex-direction:column;
  box-shadow:0 2px 12px rgba(0,0,0,0.07);
  transition:all 0.35s cubic-bezier(0.2,0,0,1);
  position:relative; text-decoration:none; color:inherit;
  border:1px solid transparent;
}
.vcard:hover {
  box-shadow:0 16px 48px rgba(0,69,140,0.18);
  transform:translateY(-6px);
  border-color:var(--blue);
}

/* Badge de estado (Disponible / Reservado etc.) */
.vcard-tag {
  position:absolute; top:14px; left:14px; z-index:3;
  font-size:0.65rem; font-weight:800; text-transform:uppercase; letter-spacing:0.1em;
  padding:5px 12px; border-radius:6px;
  background:var(--blue); color:white;
  box-shadow:0 2px 8px rgba(0,69,140,0.3);
}

/* Badge de descuento (dorado, esquina derecha) */
.vcard-discount {
  position:absolute; top:14px; right:14px; z-index:3;
  font-size:0.68rem; font-weight:900; text-transform:uppercase;
  padding:5px 10px; border-radius:6px;
  background:linear-gradient(135deg,#b07d2e,#d4af37);
  color:white; letter-spacing:0.05em;
  box-shadow:0 2px 8px rgba(176,125,46,0.4);
}

/* Imagen más grande */
.vcard-img {
  height:230px; overflow:hidden;
  background:#edf1f5; position:relative;
}
.vcard-img::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(to bottom, transparent 55%, rgba(0,20,50,0.35) 100%);
  z-index:1;
}
.vcard-img img {
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.55s cubic-bezier(0.2,0,0,1);
}
.vcard:hover .vcard-img img { transform:scale(1.08); }

/* Marca flotante sobre imagen */
.vcard-brand-overlay {
  position:absolute; bottom:12px; left:14px; z-index:2;
  font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em;
  color:rgba(255,255,255,0.85);
}

/* Cuerpo de la tarjeta */
.vcard-body { padding:22px 22px 20px; display:flex; flex-direction:column; flex:1; }
.vcard-label { font-size:0.68rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--text-muted); margin-bottom:4px; font-weight:700; }
.vcard-body h3 { font-size:1.12rem; margin-bottom:10px; color:var(--text); line-height:1.3; font-weight:800; }

/* Specs en chips */
.vcard-specs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.vspec {
  font-size:0.75rem; color:var(--text-med);
  background:var(--cream); border:1px solid var(--border);
  border-radius:100px; padding:3px 10px;
  font-weight:500;
}
.vspec strong { color:var(--blue-dark); font-weight:700; }

/* Inclusions row */
.vcard-includes {
  display:flex; gap:12px; flex-wrap:wrap;
  padding:12px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  margin-bottom:16px;
}
.vinclude {
  font-size:0.72rem; color:var(--text-med);
  display:flex; align-items:center; gap:5px;
}
.vinclude i { color:var(--blue); font-size:0.7rem; }

/* Precio + CTA */
.vcard-price {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  margin-top:auto;
}
.vp-amount {
  display:flex; flex-direction:column; line-height:1;
}
.vp-amount-main { font-size:1.5rem; font-weight:900; color:var(--blue); letter-spacing:-0.01em; }
.vp-amount-label { font-size:0.62rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.1em; margin-top:3px; }
.vp-btn {
  background:var(--blue); color:white;
  font-weight:700; font-size:0.8rem;
  padding:10px 20px; border-radius:8px;
  border:none; transition:all 0.25s ease;
  white-space:nowrap; display:flex; align-items:center; gap:6px;
}
.vcard:hover .vp-btn {
  background:var(--blue-dark);
  transform:translateX(2px);
  box-shadow:0 4px 14px rgba(0,69,140,0.3);
}

/* ══ PROCESO STEPS ══════════════════════ */
.steps { display:flex; flex-direction:column; gap:0; max-width:820px; }
.step  { display:grid; grid-template-columns:68px 1fr; gap:28px; align-items:start; }
.step-num-col { display:flex; flex-direction:column; align-items:center; }
.step-circle {
  width:52px; height:52px; border-radius:50%;
  background:var(--blue); color:white;
  font-size:1.15rem; font-weight:900;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 16px rgba(0,92,185,.3);
  flex-shrink:0;
}
.step-line { width:2px; flex:1; background:var(--border); margin:10px 0; min-height:36px; }
.step-body { padding:8px 0 48px; }
.step:last-child .step-body { padding-bottom:0; }
.step-body h3 { font-size:1.05rem; margin-bottom:10px; }
.step-body p  { max-width:640px; }
.step-body strong { color:var(--blue); font-weight:600; }
.req-box {
  background:var(--blue-pale); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:36px 40px; max-width:820px; margin-top:48px;
}
.req-box h3 { font-size:1rem; margin-bottom:8px; }
.req-box > p { margin-bottom:18px; }
.req-list { display:grid; grid-template-columns:1fr 1fr; gap:8px 32px; }
.req-list li { font-size:0.84rem; color:var(--text-med); padding:6px 0 6px 14px; position:relative; }
.req-list li::before { content:'—'; color:var(--blue); position:absolute; left:0; font-weight:700; }

/* ══ TESTIMONIOS ══════════════════════ */
.tgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:24px; }
.tcard {
  background:white; border:1px solid var(--border); border-radius:var(--r-lg);
  padding:32px; box-shadow:var(--shadow-sm); transition:var(--tr);
  position:relative;
}
.tcard::before {
  content:'\201C'; position:absolute; top:20px; right:24px;
  font-size:5rem; color:var(--blue-light); font-family:Georgia,serif; line-height:1;
  pointer-events:none;
}
.tcard:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); }
.tcard-stars  { color:#d97706; font-size:0.85rem; letter-spacing:2px; margin-bottom:14px; }
.tcard-quote  { font-size:0.9rem; color:var(--text-med); font-style:italic; line-height:1.8; margin-bottom:24px; }
.tcard-author { display:flex; align-items:center; gap:14px; }
.tcard-av {
  width:44px; height:44px; border-radius:50%;
  background:var(--blue); color:white;
  font-weight:700; font-size:0.88rem;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.tcard-author strong { display:block; font-size:0.86rem; color:var(--text); }
.tcard-author span   { font-size:0.74rem; color:var(--text-muted); line-height:1.4; }
.tcard-veh { color:var(--blue)!important; font-weight:600!important; }

/* ══ CONTACTO ══════════════════════════ */
.contact-wrap { display:grid; grid-template-columns:1fr 1.5fr; gap:64px; align-items:start; }
.cinfo-block  { padding:28px 0; border-bottom:1px solid var(--border); }
.cinfo-block:last-child { border-bottom:none; }
.cinfo-block h4 { font-size:0.72rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--blue); margin-bottom:8px; }
.cinfo-block p  { font-size:0.9rem; color:var(--text-med); line-height:1.65; }
.cinfo-block strong { color:var(--text); }
.banking-note {
  background:var(--blue-pale); border:1px solid var(--border);
  border-radius:var(--r); padding:16px 18px; margin-top:8px;
}
.banking-note p { font-size:0.83rem; color:var(--text-med); }

.cform { background:white; border:1px solid var(--border); border-radius:var(--r-lg); padding:40px; box-shadow:var(--shadow-md); }
.cform h3 { font-size:1.3rem; margin-bottom:28px; }
.fg { display:flex; flex-direction:column; margin-bottom:20px; }
.fg label { font-size:0.73rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-med); margin-bottom:6px; }
.fg input,.fg select,.fg textarea {
  padding:11px 13px; border:1.5px solid var(--border);
  border-radius:var(--r); font-family:var(--font);
  font-size:0.9rem; color:var(--text); background:white;
  outline:none; transition:border-color .25s;
  appearance:none;
}
.fg input:focus,.fg select:focus,.fg textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,92,185,.1); }
.fg-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-check { display:flex; gap:10px; align-items:flex-start; font-size:0.8rem; color:var(--text-muted); margin-bottom:20px; }
.form-check input[type=checkbox] { margin-top:3px; accent-color:var(--blue); flex-shrink:0; }
.form-check a { color:var(--blue); text-decoration:underline; }
.form-msg { display:none; padding:14px 18px; border-radius:var(--r); font-size:0.85rem; font-weight:600; margin-bottom:18px; }
.form-msg.success { display:block; background:var(--success-bg); color:var(--success); border:1px solid #6ee7b7; }

/* ══ LEGALES ══════════════════════════ */
.legal-tabs { display:flex; border-bottom:1px solid var(--border); margin-bottom:52px; }
.legal-tab {
  padding:14px 24px; font-size:0.78rem; font-weight:600;
  text-transform:uppercase; letter-spacing:0.08em;
  cursor:pointer; border:none; background:transparent;
  color:var(--text-muted); border-bottom:2px solid transparent;
  margin-bottom:-1px; transition:var(--tr);
}
.legal-tab.active { color:var(--blue); border-bottom-color:var(--blue); }
.legal-section { display:none; }
.legal-section.active { display:block; }
.legal-article h2 {
  font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em;
  color:var(--blue); padding:10px 16px;
  background:var(--blue-pale); border-left:3px solid var(--blue);
  border-radius:0 var(--r) var(--r) 0; margin:40px 0 14px;
}
.legal-article h2:first-child { margin-top:0; }
.legal-article p  { font-size:0.9rem; color:var(--text-med); margin-bottom:12px; text-align:justify; line-height:1.85; }
.legal-article ol,.legal-article ul { margin:0 0 14px 22px; font-size:0.9rem; color:var(--text-med); line-height:1.85; }
.legal-article ul { list-style:disc; }
.legal-article ol { list-style:decimal; }
.legal-article li { margin-bottom:8px; }
.legal-article strong { color:var(--blue); font-weight:600; }
.legal-date { font-size:0.73rem; color:var(--text-muted); text-align:center; padding-top:24px; border-top:1px solid var(--border); margin-top:40px; }

/* ══ NOSOTROS ══════════════════════════ */
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); background:var(--border); gap:1px; }
.stat-card  { background:white; padding:40px 28px; text-align:center; }
.stat-card-num { display:block; font-size:2.6rem; font-weight:900; color:var(--blue); line-height:1; margin-bottom:10px; }
.stat-card p { font-size:0.82rem; color:var(--text-muted); }
.avales { display:flex; flex-wrap:wrap; gap:8px; margin-top:32px; }
.aval {
  background:var(--blue-pale); border:1px solid var(--border);
  padding:7px 16px; border-radius:100px;
  font-size:0.73rem; font-weight:700; color:var(--text-med); letter-spacing:0.04em;
}

/* ══ FOOTER ══════════════════════════ */
.footer { background:var(--blue-deeper); }
.footer-main { display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:48px; padding:64px 0; }
.footer-brand { display:flex; flex-direction:column; gap:14px; }
.footer-brand p { font-size:0.84rem; color:rgba(255,255,255,.45); line-height:1.6; max-width:260px; }
.footer-col h4 { font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:0.18em; color:rgba(255,255,255,.35); margin-bottom:18px; }
.footer-col ul { display:flex; flex-direction:column; gap:10px; }
.footer-col li,.footer-col a { font-size:0.84rem; color:rgba(255,255,255,.5); transition:color .25s; }
.footer-col a:hover { color:white; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding:20px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom p { font-size:0.74rem; color:rgba(255,255,255,.35); }
.footer-bottom a { font-size:0.74rem; color:rgba(255,255,255,.4); transition:color .25s; }
.footer-bottom a:hover { color:white; }

/* ══ BACK TO TOP ══════════════════════ */
.back-top {
  position:fixed; bottom:28px; right:28px; z-index:800;
  width:44px; height:44px; border-radius:50%;
  background:var(--blue); color:white; border:none;
  font-size:1rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lg); cursor:pointer;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:var(--tr);
}
.back-top.visible { opacity:1; visibility:visible; transform:translateY(0); }
.back-top:hover   { background:var(--blue-dark); transform:translateY(-2px); }

/* ══ UTILIDADES ══════════════════════ */
.text-center { text-align:center; }
.mt-8  { margin-top:8px; }
.mt-16 { margin-top:16px; }
.mt-24 { margin-top:24px; }
.mt-32 { margin-top:32px; }
.mt-48 { margin-top:48px; }
.mb-0  { margin-bottom:0; }
.max-w-600 { max-width:600px; }

/* ══ RESPONSIVE ══════════════════════ */
@media(max-width:1024px){
  .two-col     { grid-template-columns:1fr; gap:48px; }
  .two-col.rev > :first-child { order:1; }
  .two-col.rev > :last-child  { order:2; }
  .footer-main { grid-template-columns:1fr 1fr; }
  .contact-wrap{ grid-template-columns:1fr; gap:40px; }
  .stats-grid  { grid-template-columns:1fr 1fr; }
  .stat-card:nth-child(2){ border-right:none; }
}
@media(max-width:768px){
  .container,.container-sm { padding:0 20px; }
  .navbar-inner   { padding:0 20px; }
  .topbar-inner   { padding:7px 20px; flex-direction:column; gap:2px; font-size:.66rem; text-align:center; }
  .hero-body      { padding:110px 20px 64px; }
  .hero-kpis      { flex-direction:column; }
  .kpi            { border-right:none; border-bottom:1px solid rgba(255,255,255,.1); }
  .kpi:last-child { border-bottom:none; }
  .attr-bar-inner { flex-direction:column; gap:4px; }
  .attr-sep       { display:none; }
  .inv-grid       { grid-template-columns:1fr; }
  .tgrid          { grid-template-columns:1fr; }
  .footer-main    { grid-template-columns:1fr; gap:32px; padding:40px 0; }
  .footer-bottom  { flex-direction:column; text-align:center; }
  .burger  { display:flex; }
  .nav-links { display:none; }
  .req-list { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .page-header { padding:110px 0 48px; }
  .cform { padding:28px 20px; }
}
@media(max-width:480px){
  h1 { font-size:2rem; }
  h2 { font-size:1.7rem; }
  .hero-btns { flex-direction:column; }
  .hero-btns .btn { width:100%; }
  .fg-row { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:1fr; }
  .legal-tabs { flex-direction:column; }
  .legal-tab  { border-bottom:1px solid var(--border); border-left:3px solid transparent; }
  .legal-tab.active { border-left-color:var(--blue); }
}

/* ══ WHATSAPP FLOTANTE ══════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.whatsapp-float i {
  font-size: 1.4rem;
}
.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #FFF;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(37,211,102,0.5);
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 0.95rem;
  }
}
