/* ═══════════════════════════════════════════════════
   LEGALIÓN — LANDING PAGE (REDISEÑO)
   ═══════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #005C82;
  --primary-dark:  #004060;
  --primary-light: #0079AA;
  --secondary:     #F2F3F6;
  --accent:        #E6F2F8;
  --white:         #ffffff;
  --text:          #1a2535;
  --muted:         #5a6a7e;
  
  --radius:        16px;
  --radius-sm:     10px;
  --shadow-sm:     0 2px 12px rgba(0,92,130,.07);
  --shadow-md:     0 8px 32px rgba(0,92,130,.13);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.18);
  --ease:          cubic-bezier(.4,0,.2,1);
  --font:          'Montserrat', sans-serif;
}

html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #005C82;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.25); }

.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}

.logo-link img { height: 34px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 30px; }
.header-nav a { color: rgba(255,255,255,.82); font-size: .875rem; font-weight: 500; letter-spacing: .02em; transition: color .2s; }
.header-nav a:hover { color: #fff; }
.header-nav .nav-cta {
  color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28);
  padding: 8px 20px; border-radius: 50px; font-weight: 600; transition: background .2s, border-color .2s;
}
.header-nav .nav-cta:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.45); }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: var(--primary-dark); border-top: 1px solid rgba(255,255,255,.07);
  padding: 8px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(255,255,255,.88); font-size: .95rem; font-weight: 500; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); transition: color .2s, padding-left .2s; }
.mobile-nav a:hover { color: #fff; padding-left: 6px; }
.mobile-nav .nav-cta-mobile { margin-top: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 50px; padding: 13px 20px; text-align: center; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.28); }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 70px; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0,28,48,.75)   0%,
    rgba(0,35,58,.55)  30%,
    rgba(0,22,38,.25)  58%,
    rgba(0,10,22,.10) 100%
  );
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1500px; margin: 0 auto; padding: 80px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 200px;
  align-items: center;
}

/* Text column */
.hero-eyebrow {
  display: inline-block; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92); font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -.025em; margin-bottom: 18px;
}
.hero-title em { font-style: normal; color: #7DCDE8; }

.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.85); line-height: 1.72;
  margin-bottom: 28px; max-width: 500px;
}
.hero-subtitle strong { color: #fff; }

.hero-bullets { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.hero-bullets li { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.92); font-size: .93rem; font-weight: 500; }

.check-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; min-width: 22px;
  background: var(--success); border-radius: 50%;
}
.check-icon svg { width: 12px; height: 12px; }

/* Desktop: show bullets in hero-text, hide the mobile copy */
.hero-bullets--desktop { display: flex; }
.hero-bullets--mobile  { display: none; }

/* Form column */
.hero-form-wrap { display: flex; justify-content: flex-end; }

.form-card {
  background: #fff; border-radius: 20px;
  padding: 28px 26px 30px;
  box-shadow: 0 20px 70px rgba(0,0,0,.26);
  width: 100%; max-width: 420px;
}

/* Phone CTA */
.form-phone-cta {
  text-align: center; margin-bottom: 14px;
}
.form-phone-label {
  font-size: 1rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.form-phone-number {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 2rem; font-weight: 800; color:#00d512;
  letter-spacing: .02em; transition: color .2s;
}
.form-phone-number svg { width: 20px; height: 20px; stroke: #00d512; }


.form-divider {
  height: 1px; background: #edf0f5; margin-bottom: 16px;
}

.form-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: var(--primary);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 50px; margin-bottom: 12px;
}
.form-badge svg { width: 13px; height: 13px; stroke: var(--primary); }

.form-title { font-size: 1.3rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; margin-bottom: 3px; }
.form-sub   { font-size: 1rem; color: var(--muted); font-weight: 700; margin-bottom: 18px; text-align: center;}

.contact-form { display: flex; flex-direction: column; gap: 10px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: .72rem; font-weight: 700; color: var(--text); letter-spacing: .04em; text-transform: uppercase; }

.form-group input {
  padding: 11px 13px; border: 1.5px solid #dde3ec; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .9rem; color: var(--text); background: var(--secondary);
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.form-group input::placeholder { color: #aab5c3; }
.form-group input:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,92,130,.11);
}

.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: #e53e3e; color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 14px 22px; font-family: var(--font); font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: background .25s, transform .2s, box-shadow .25s; margin-top: 4px;
}
.form-submit svg { width: 17px; height: 17px; flex-shrink: 0; }
.form-submit:hover { background: red; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,92,130,.32); }

.form-legal { font-size: .75rem; color: var(--muted); text-align: center; line-height: 1.55; margin-top: 2px; }
.form-legal a { color: var(--primary); text-decoration: underline; }

/* ══════════════════════════════════════════════════
   SHARED SECTION PARTS
══════════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 56px; }

.section-tag {
  display: inline-block; background: var(--accent); color: var(--primary);
  font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 14px;
}
.section-tag.light { background: rgba(255,255,255,.15); color: rgba(255,255,255,.92); }

.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); line-height: 1.2; }
.section-title.light { color: #fff; }

/* ══════════════════════════════════════════════════
   SECCIÓN 1 — PROTEGE TU BOLSILLO
══════════════════════════════════════════════════ */
.protege-section { padding: 100px 0; background: var(--secondary); }

.protege-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px;
}

.protege-card {
  background: #fff; border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,92,130,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  opacity: 0; transform: translateY(22px);
  width: calc(33.333% - 15px);
}
.protege-card.visible { opacity: 1; transform: translateY(0); }
.protege-card:nth-child(1) { transition-delay: 0ms; }
.protege-card:nth-child(2) { transition-delay: 70ms; }
.protege-card:nth-child(3) { transition-delay: 140ms; }
.protege-card:nth-child(4) { transition-delay: 210ms; }
.protege-card:nth-child(5) { transition-delay: 280ms; }
.protege-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,92,130,.14); }
.protege-card.visible:hover { transform: translateY(-4px); }

.protege-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.protege-icon svg { width: 22px; height: 22px; stroke: var(--primary); }

.protege-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -.01em; }
.protege-card p  { font-size: .875rem; color: var(--muted); line-height: 1.72; }

/* ══════════════════════════════════════════════════
   SECCIÓN 2 — VENTAJAS
══════════════════════════════════════════════════ */
.ventajas-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  position: relative; overflow: hidden;
}
.ventajas-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.04);
}
.ventajas-section::after {
  content: ''; position: absolute; bottom: -130px; left: -80px;
  width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.03);
}

.ventajas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 1;
}

.ventaja-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius); padding: 30px 26px; backdrop-filter: blur(8px);
  transition: background .3s, border-color .3s, box-shadow .3s, transform .4s var(--ease);
  opacity: 0; transform: translateY(22px);
}
.ventaja-card.visible { opacity: 1; transform: translateY(0); }
.ventaja-card:nth-child(1) { transition-delay: 0ms; }
.ventaja-card:nth-child(2) { transition-delay: 65ms; }
.ventaja-card:nth-child(3) { transition-delay: 130ms; }
.ventaja-card:nth-child(4) { transition-delay: 195ms; }
.ventaja-card:nth-child(5) { transition-delay: 260ms; }
.ventaja-card:nth-child(6) { transition-delay: 325ms; }
.ventaja-card:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.26); box-shadow: 0 12px 40px rgba(0,0,0,.18); transform: translateY(-4px); }
.ventaja-card.visible:hover { transform: translateY(-4px); }

.ventaja-num { font-size: .68rem; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 12px; }

.ventaja-icon {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.ventaja-icon svg { width: 19px; height: 19px; stroke: rgba(255,255,255,.9); }

.ventaja-card h3 { font-size: .98rem; font-weight: 700; color: #fff; margin-bottom: 9px; letter-spacing: -.01em; }
.ventaja-card p  { font-size: .845rem; color: rgba(255,255,255,.72); line-height: 1.72; }

/* ══════════════════════════════════════════════════
   SECCIÓN 3 — CALIDAD
══════════════════════════════════════════════════ */
.calidad-section { padding: 100px 0; background: #fff; }

.calidad-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}

.calidad-card {
  background: var(--secondary); border-radius: var(--radius); padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(0,92,130,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  opacity: 0; transform: translateY(22px);
}
.calidad-card.visible { opacity: 1; transform: translateY(0); }
.calidad-card:nth-child(1) { transition-delay: 0ms; }
.calidad-card:nth-child(2) { transition-delay: 65ms; }
.calidad-card:nth-child(3) { transition-delay: 130ms; }
.calidad-card:nth-child(4) { transition-delay: 195ms; }
.calidad-card:nth-child(5) { transition-delay: 260ms; }
.calidad-card:nth-child(6) { transition-delay: 325ms; }
.calidad-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,92,130,.14); }
.calidad-card.visible:hover { transform: translateY(-4px); }

.calidad-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.calidad-icon svg { width: 24px; height: 24px; stroke: #fff; }

.calidad-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }

/* ══════════════════════════════════════════════════
   SECCIÓN 4 — SOBRE LEGALIÓN
══════════════════════════════════════════════════ */
.sobre-section { padding: 100px 0; background: var(--secondary); }

.sobre-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 64px; align-items: start; }

.sobre-text { display: flex; flex-direction: column; gap: 20px; }
.sobre-text p { font-size: .96rem; color: var(--muted); line-height: 1.88; }
.sobre-text strong { color: var(--primary); font-weight: 700; }

.sobre-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: sticky; top: 96px; }

.stat-card {
  background: #fff; border-radius: var(--radius); padding: 28px 18px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,92,130,.06);
  transition: transform .4s var(--ease), box-shadow .4s;
  opacity: 0; transform: scale(.94);
}
.stat-card.visible { opacity: 1; transform: scale(1); }
.stat-card:nth-child(1) { transition-delay: 0ms; }
.stat-card:nth-child(2) { transition-delay: 80ms; }
.stat-card:nth-child(3) { transition-delay: 160ms; }
.stat-card:nth-child(4) { transition-delay: 240ms; }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card.visible:hover { transform: translateY(-4px); }

.stat-number { font-size: 2.1rem; font-weight: 900; color: var(--primary); letter-spacing: -.04em; margin-bottom: 5px; }
.stat-label  { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

/* ══════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════ */
.cta-section { padding: 80px 0; background: linear-gradient(130deg, var(--primary) 0%, var(--primary-dark) 100%); }
.cta-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: 2.1rem; font-weight: 800; color: #fff; letter-spacing: -.03em; margin-bottom: 12px; }
.cta-inner p  { color: rgba(255,255,255,.8); font-size: 1.02rem; margin-bottom: 32px; }

.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--primary);
  font-family: var(--font); font-size: .98rem; font-weight: 700;
  padding: 17px 36px; border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  transition: background .25s, transform .2s, box-shadow .25s;
}
.cta-btn svg { width: 17px; height: 17px; stroke: var(--primary); }
.cta-btn:hover { background: var(--secondary); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,.28); }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer { background: var(--text); padding: 60px 0 0; }

.footer-inner {

  display: grid; 
  text-align: center;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; margin: auto; }
.footer-brand p { font-size: .855rem; color: rgba(255,255,255,.5); line-height: 1.72; margin-top: 20px;}

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0; }
.footer-links h4, .footer-contact h4 {
  font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.38); margin-bottom: 14px;
}
.footer-links a { font-size: .855rem; color: rgba(255,255,255,.62); padding: 4px 0; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact p { display: flex; align-items: center; gap: 9px; font-size: .855rem; color: rgba(255,255,255,.62); padding: 4px 0; }
.footer-contact svg { width: 14px; height: 14px; flex-shrink: 0; stroke: rgba(255,255,255,.4); }

.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.28); }

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET ≤ 1024px
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 60px 24px 70px; }
  .hero-subtitle { max-width: 100%; }
  .hero-form-wrap { justify-content: flex-start; }
  .form-card { max-width: 100%; }
  .protege-card { width: calc(50% - 11px); }
  .ventajas-grid { grid-template-columns: repeat(2, 1fr); }
  .calidad-grid { grid-template-columns: repeat(3, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-stats { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 768px
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding-top: 70px; }
  .hero-inner { padding: 28px 16px 36px; gap: 20px; }
  .hero-overlay {
    background: linear-gradient(175deg, rgba(0,26,44,.82) 0%, rgba(0,32,54,.70) 100%);
  }

  /* Hero text centered on mobile */
  .hero-text { text-align: center; }
  .hero-title { font-size: 1.7rem; margin-bottom: 10px; }
  .hero-subtitle { font-size: .92rem; margin-bottom: 12px; max-width: 100%; }
  .hero-eyebrow { margin-bottom: 14px; }

  /* Mobile: hide desktop bullets, show mobile bullets below form centered */
  .hero-bullets--desktop { display: none; }
  .hero-bullets--mobile  { display: flex; flex-direction: column; gap: 10px; align-items: center; }
  .hero-bullets--mobile li { justify-content: center; }

  /* Smaller form on mobile */
  .form-card { padding: 20px 14px 22px; max-width: 340px; margin: 0 auto; }
  .form-title { font-size: 1.1rem; }
  .form-sub { margin-bottom: 12px; font-size: .8rem; font-weight: 800;}
  .form-phone-cta { margin-bottom: 8px; }
  .form-phone-number { font-size: 1.15rem; }
  .form-phone-label { font-size: .8rem; }
  .form-divider { margin-bottom: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input { padding: 10px 12px; font-size: .88rem; }
  .form-group label { font-size: .68rem; }
  .form-badge { font-size: .67rem; padding: 4px 10px; margin-bottom: 10px; }
  .form-submit { padding: 13px 18px; font-size: .88rem; }
  .form-legal { font-size: .65rem; }

  .protege-section, .ventajas-section, .calidad-section, .sobre-section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }

  /* Cards centered: text + icons */
  .protege-card { width: 100%; text-align: center; }
  .protege-grid { gap: 16px; }
  .protege-icon { margin: 0 auto 18px; }

  .ventajas-grid { grid-template-columns: 1fr; gap: 16px; }
  .ventaja-card { padding: 24px 22px; text-align: center; }
  .ventaja-icon { margin: 0 auto 14px; }
  .ventaja-num { text-align: center; }

  .calidad-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .sobre-section .sobre-text { text-align: center; }
  .sobre-stats { grid-template-columns: 1fr 1fr; gap: 12px; position: static; }
  .stat-number { font-size: 1.75rem; }

  .cta-inner h2 { font-size: 1.65rem; }
  .cta-btn { padding: 15px 26px; font-size: .93rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE ≤ 480px
══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: 1.4rem; }
  .hero-inner { padding: 22px 12px 28px; }
  .form-card { padding: 18px 12px 20px; max-width: 310px; }
  .form-group input { padding: 10px 10px; font-size: .87rem; }
  .form-submit { padding: 12px 14px; font-size: .85rem; }
  .section-title { font-size: 1.5rem; }
  .calidad-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .calidad-card { padding: 28px 16px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 1.55rem; }
  .form-phone-number { font-size: 1.6rem; }
}

/* ══════════════════════════════════════════════════
   ACCESSIBILITY & FALLBACKS
══════════════════════════════════════════════════ */
/* Users who prefer reduced motion: show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .protege-card, .ventaja-card, .calidad-card, .stat-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Fallback if JS doesn't load: show content after 3s via animation */
@keyframes forceShow {
  to { opacity: 1; transform: none; }
}
.protege-card, .ventaja-card, .calidad-card, .stat-card {
  animation: forceShow 0s 3s forwards;
}
.protege-card.visible, .ventaja-card.visible, .calidad-card.visible, .stat-card.visible {
  animation: none;
}

/* ══════════════════════════════════════════════════
   MOBILE STICKY BAR
══════════════════════════════════════════════════ */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
    padding: 10px 12px;
    gap: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform .35s var(--ease);
  }

  .mobile-sticky-bar.visible {
    transform: translateY(0);
  }

  .mobile-sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 10px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
  }
  .mobile-sticky-btn:active {
    transform: scale(.96);
  }
  .mobile-sticky-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .mobile-sticky-btn--contact {
    background: var(--primary);
    color: #fff;
  }
  .mobile-sticky-btn--contact svg {
    stroke: #fff;
  }

  .mobile-sticky-btn--phone {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
  .mobile-sticky-btn--phone svg {
    stroke: var(--primary);
  }

  /* Add bottom padding to body so content isn't hidden behind bar */
  body {
    padding-bottom: 76px;
  }
}

 .form-group input.input-error { border-color: #e53e3e !important; }
  .form-group input.input-ok    { border-color: #38a169 !important; }
  .field-error { color:#e53e3e; font-size:12px; margin-top:4px; display:block; font-family:'Montserrat',sans-serif; }

#privacyModal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);align-items:center;justify-content:center;padding:16px;}
.innermodal{background:#fff;border-radius:12px;width:100%;max-width:550px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 64px rgba(0,0,0,0.3);}
.innermodal iframe{padding:15px}
.modalHead{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e5e7eb;flex-shrink:0;}
.modalHead span{font-family:'Montserrat',sans-serif;font-weight:600;font-size:15px;color:#1a1a2e;}
#closePrivacyModal{background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;color:#6b7280;}
