/* =========================
   BASE
========================= */
:root{
  --bg:#0b1220;
  --bg2:#0f1b33;
  --text:#0b1220;
  --muted:#5b6576;
  --white:#fff;
  --card:rgba(255,255,255,.08);
  --stroke:rgba(255,255,255,.14);
  --stroke2:rgba(15,23,42,.10);
  --accent:#e11d2e;
  --shadow:0 18px 55px rgba(0,0,0,.22);
  --radius:18px;
  --container:1400px;
  --font:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:#0b1220;
  background:#fff;
  overflow-x:hidden;
}

/* Container */
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 40px;
}

.container-wide{
  max-width:1400px; /* prueba 1400–1500 */
}


/* =========================
   HEADER / NAV
========================= */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.navbar{
  position:sticky;
  top:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 40px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(148,163,184,.25);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}
.brand-dot{
  width:42px;height:42px;border-radius:50%;
  background:var(--accent);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-text small{ color:#6b7280; font-weight:600; }

.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  width:46px;height:46px;
  border-radius:12px;
  cursor:pointer;
}
.nav-toggle span{
  display:block; height:2px; background:#0b1220;
  margin:7px 10px;
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  margin:0;
  padding:0;
}

.nav-links a,
.dropdown-btn{
  display:inline-flex;
  align-items:center;
  height:40px;
  padding:0 12px;
  border-radius:12px;
  text-decoration:none;
  color:#0b1220;
  font-weight:800;
  font-size:14px;
  letter-spacing:.2px;
}
.nav-links a:hover,
.dropdown-btn:hover{ background:rgba(0,0,0,.05); }

.dropdown{ position:relative; }
.dropdown-btn{
  border:0;
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
}
.dropdown-menu{
  position:absolute;
  top:52px; left:0;
  min-width:240px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:10px;
  display:none;
}
.dropdown-menu a{
  display:block;
  padding:10px 12px;
  font-weight:700;
  border-radius:12px;
}
.dropdown-menu a:hover{ background:rgba(0,0,0,.05); }

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:.2s ease;
}
.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 10px 30px rgba(225,29,46,.25);
}
.btn-primary:hover{ filter:brightness(.98); transform:translateY(-1px); }
.btn-ghost{
  background:rgba(255,255,255,.10);
  color:#fff;
  border-color:rgba(255,255,255,.20);
}
.btn-ghost:hover{ background:rgba(255,255,255,.14); }

/* =========================
   HERO
========================= */
.hero{
  position:relative;
  color:#fff;
  padding:64px 0 170px;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(225,29,46,.38), transparent 60%),
    radial-gradient(900px 500px at 80% 40%, rgba(2,132,199,.20), transparent 60%),
    linear-gradient(120deg, #0b1220, #071021);
}

.hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:120px;
  background:linear-gradient(to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.9) 60%,
    rgba(255,255,255,1) 100%);
  pointer-events:none;
  z-index:1;
}

.hero .container,
.hero .hero-center,
.hero .hero-grid{
  position:relative;
  z-index:2;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:center;
}

.pill{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  font-weight:700;
  font-size:13px;
  color:rgba(255,255,255,.92);
  margin-bottom:18px;
}

.hero h1{
  font-size:clamp(34px, 4vw, 56px);
  line-height:1.02;
  margin:0 0 14px;
  letter-spacing:-1px;
}

.lead{
  font-size:18px;
  line-height:1.6;
  color:rgba(255,255,255,.82);
  max-width:55ch;
  margin:0 0 22px;
}

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.hero-metrics{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}
.metric{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  padding:14px;
  transition:.2s ease;
}
.metric strong{ display:block; font-size:16px; }
.metric span{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,.75);
  font-weight:600;
  font-size:13px;
}

.hero-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:22px;
  box-shadow:0 18px 50px rgba(0,0,0,.22);
}

/* Hero centrado */
.hero-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  max-width:900px;
  margin:0 auto;
  padding:0 20px;
}
.hero-center h1{
  margin:18px 0 14px;
  font-size:clamp(38px, 4.5vw, 64px);
  line-height:1.05;
  letter-spacing:-1.2px;
}
.hero-center .lead{ max-width:680px; line-height:1.7; }
.hero-center .hero-cta{ justify-content:center; }
.hero-center .hero-metrics{ margin-top:28px; max-width:820px; }

/* Canvas particles */
.hero-particles{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.55;
}

/* =========================
   ROTATOR PRO (UNA SOLA VEZ)
========================= */
.hero-rotator{
  display:inline-block;
  position:relative;
  min-height:1.2em;
}
.hero-phrase{
  display:block;
  position:absolute;
  left:0; right:0;
  opacity:0;
  pointer-events:none;
}
.hero-phrase.is-active{
  position:relative;
  opacity:1;
  pointer-events:auto;
}

.hero-rotator--pro .hero-phrase{
  transform:translateY(18px) scale(.985);
  filter:blur(10px);
  clip-path:inset(0 0 100% 0 round 16px);
  transition:
    opacity .55s ease,
    transform .75s cubic-bezier(.2,.9,.2,1),
    filter .75s cubic-bezier(.2,.9,.2,1),
    clip-path .85s cubic-bezier(.2,.9,.2,1);
}
.hero-rotator--pro .hero-phrase.is-active{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
  clip-path:inset(0 0 0 0 round 16px);
}
.hero-rotator--pro .hero-phrase.is-leaving{
  opacity:0;
  transform:translateY(-14px) scale(.99);
  filter:blur(8px);
  clip-path:inset(0 0 100% 0 round 16px);
}

@media (prefers-reduced-motion: reduce){
  .hero-rotator--pro .hero-phrase{
    transition:none !important;
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
    clip-path:none !important;
    position:relative !important;
  }
}

/* =========================
   SECTIONS
========================= */
.section{ padding:80px 0; background:#fff; }
.section-alt{
  background:#f6f7fb;
  border-top:1px solid rgba(15,23,42,.06);
  border-bottom:1px solid rgba(15,23,42,.06);
}

.section-head{ text-align:center; margin-bottom:34px; }
.kicker{
  display:inline-block;
  font-weight:900;
  font-size:12px;
  letter-spacing:.22em;
  color:var(--accent);
  margin-bottom:10px;
}
.section h2{
  margin:0 0 10px;
  font-size:36px;
  letter-spacing:-.6px;
}
.subtitle{
  margin:0 auto;
  max-width:72ch;
  color:#111111;
  font-weight:600;
  line-height:1.7;
}

/* =========================
   NOSOTROS (OVERLAP PANEL)
========================= */

/* .about-dark{
  position:relative;
  z-index:3;
  margin-top:-90px;
  background:#fff;
  border-top-left-radius:42px;
  border-top-right-radius:42px;
  box-shadow:0 -18px 60px rgba(0,0,0,.12);
  padding-top:70px;
  width:100%;
}

.two-col{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:start;
}

.highlights{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:18px;
}

.highlight{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.highlight h4{ margin:0 0 6px; }
.highlight p{ margin:0; color:#475569; font-weight:600; line-height:1.6; }

.highlight h4{
  margin:0 0 6px;
  color:#020617;
}

.highlight p{
  margin:0;
  color:#1e293b;
  font-weight:600;
  line-height:1.6;
}

.media-card{
  background:linear-gradient(180deg,#ffffff,#f7f8ff);
  border:1px solid rgba(15,23,42,.10);
  border-radius:20px;
  padding:22px;
  box-shadow:0 18px 55px rgba(0,0,0,.06);
}

.highlight p,
.media-card p{
  color:#1e293b;
}

.highlight h4,
.media-card h3{
  color:#020617;
}


.media-badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(225,29,46,.10);
  color:var(--accent);
  font-weight:900;
  margin-bottom:12px;
}
.media-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:16px;
}


.media-stats div{
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  padding:12px;
  background:#fff;
}

.media-stats strong{ display:block; }
.media-stats span{
  display:block;
  color:#221b1b;
  font-weight:700;
  font-size:13px;
  margin-top:4px;
} */

/* =========================
   NOSOTROS (MEJOR DISTRIBUCIÓN)
========================= */

.about-bg{
  position: relative;
  overflow: hidden;
}

/* fondo suave para que no se vea vacío */
.about-bg::before,
.about-bg::after{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  border-radius:999px;
  filter: blur(40px);
  opacity:.55;
  pointer-events:none;
  z-index:0;
}
.about-bg::before{
  left:-180px;
  top:-160px;
  background: radial-gradient(circle at 30% 30%, rgba(225,29,46,.18), transparent 60%);
}
.about-bg::after{
  right:-220px;
  bottom:-220px;
  background: radial-gradient(circle at 40% 40%, rgba(59,130,246,.14), transparent 60%);
}

.about-wrap{
  position: relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:32px;
  align-items:start;
}

/* Columna izquierda un poquito más “contenida” */
.about-left .subtitle{
  max-width: 62ch;
}

/* Media card más pegada al top y con aire */
.about-right{
  position: relative;
}

.highlights--timeline{
  padding-left:18px;
}

.highlights--timeline::before{
  left:0;
  top:6px;
  bottom:6px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(
    180deg,
    rgba(225,29,46,.15),
    rgba(225,29,46,.55),
    rgba(225,29,46,.15)
  );
}
.highlight{
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  padding:18px;
  box-shadow:none;
}

.highlight::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(225,29,46,.75), rgba(225,29,46,.20));
  opacity:.9;
}

.highlight:hover::before{
  opacity:1;
  width:4px;
}

.highlight:hover{
  border-color:rgba(225,29,46,.35);
  transform:translateX(4px);
}

.hl-dot{
  position:absolute;
  left:2px;
  top:20px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px #fff;
}

.hl-dot{
  display:none;
}

.hl-content{
  padding-left: 10px; /* separa del borde/acento */
}

.highlight h4{
  margin:0 0 6px;
  color:#020617;
  font-weight: 900;
  letter-spacing: -.01em;
}
.highlight p{
  margin:0;
  color:#334155;
  font-weight: 650;
  line-height:1.6;
}

/* MEDIA CARD MÁS “PRO” */
.media-card{
  position: relative;
  background: linear-gradient(180deg,#ffffff 0%, #f7f8ff 60%, #ffffff 100%);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
  overflow: hidden;
}

.media-card{
  background:#ffffff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:20px;
  padding:24px;
  box-shadow:0 20px 60px rgba(15,23,42,.06);
}

/* glow interno suave
.media-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(circle at 20% 15%, rgba(225,29,46,.16), transparent 45%),
              radial-gradient(circle at 75% 35%, rgba(59,130,246,.12), transparent 42%);
  pointer-events:none;
} */

.media-card > *{
  position: relative;
  z-index: 1;
}

.media-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(225,29,46,.10);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 12px;
  border: 1px solid rgba(225,29,46,.18);
}

.media-card h3{
  margin: 0 0 8px;
  color:#020617;
  letter-spacing: -.01em;
}
.media-card p{
  margin: 0;
  color:#334155;
  font-weight: 650;
  line-height:1.6;
}

/* stats tipo “chips” */
.media-stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:16px;
}

.media-stats div{
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 26px rgba(0,0,0,.04);
  transition: transform .18s ease;
}
.media-stats div:hover{ transform: translateY(-2px); }

.media-stats strong{
  display:block;
  color:#0f172a;
  font-weight: 900;
}
.media-stats span{
  display:block;
  color:#334155;
  font-weight: 750;
  font-size: 13px;
  margin-top:4px;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .about-wrap{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .media-stats{
    grid-template-columns: 1fr;
  }
  .highlights--timeline{
    padding-left: 24px;
  }
}


/* =========================
   CARDS
========================= */
.cards-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:20px;
}
.card{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,.05);
  transition:.2s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 55px rgba(0,0,0,.10);
  border-color:rgba(15,23,42,.12);
}
.card-img{
  height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f3f4f6;
}
.card-img img{ width:100%; height:100%; object-fit:cover; }
.card-body{ padding:18px; }
.card-body h3{ margin:0 0 8px; }
.card-body p{
  margin:0 0 12px;
  color:#475569;
  font-weight:600;
  line-height:1.6;
}
.card-link{
  color:var(--accent);
  text-decoration:none;
  font-weight:900;
}
.card-link:hover{ text-decoration:underline; }

/* =========================
   CONTACTO (normal)
========================= */
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:22px;
  align-items:start;
}

.form{
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  padding:18px;
  background:#fff;
  box-shadow:0 12px 40px rgba(0,0,0,.05);
}

.row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.field{ margin-bottom:12px; }
label{ display:block; font-weight:800; margin-bottom:6px; }

input, textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  outline:none;
  font-family:var(--font);
}
input:focus, textarea:focus{
  border-color:rgba(225,29,46,.45);
  box-shadow:0 0 0 4px rgba(225,29,46,.10);
}
.form-status{ margin:10px 0 0; font-weight:800; }

/* =========================
   CONTACTO estilo HERO (dark)
========================= */
.contact-hero{
  position:relative;
  color:#fff;
  padding:90px 0;
  overflow:hidden;
}
.contact-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(850px 420px at 18% 30%, rgba(225,29,46,.30), transparent 60%),
    radial-gradient(900px 520px at 85% 55%, rgba(2,132,199,.18), transparent 60%),
    linear-gradient(120deg, #0b1220, #071021);
}
.contact-hero::after{
  content:"";
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  opacity:.14;
  mix-blend-mode:overlay;
  pointer-events:none;
}
.contact-wrap{ position:relative; z-index:2; }
.contact-head{ text-align:center; margin-bottom:28px; }
.contact-head h2{ color:rgba(255,255,255,.96); }
.contact-head .subtitle{ color:rgba(255,255,255,.78); }

.contact-grid-dark{ align-items:stretch; }

.contact-panel,
.form-dark{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);
  border-radius:18px;
  box-shadow:0 18px 55px rgba(0,0,0,.22);
}

.contact-panel{ padding:22px; }

.contact-items{ display:grid; gap:12px; }
.contact-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.10);
}
.contact-ico{
  width:38px;height:38px;
  border-radius:12px;
  background:rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
}
.contact-item strong{ display:block; color:rgba(255,255,255,.92); }
.contact-item span{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.72);
  font-weight:600;
  font-size:13px;
}

.form-dark{ padding:22px; }
.form-dark label{ color:rgba(255,255,255,.88); }
.form-dark input,
.form-dark textarea{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.92);
}
.form-dark input::placeholder,
.form-dark textarea::placeholder{ color:rgba(255,255,255,.55); }
.form-dark input:focus,
.form-dark textarea:focus{
  border-color:rgba(225,29,46,.55);
  box-shadow:0 0 0 4px rgba(225,29,46,.18);
}

/* ===== TIP (CONTACTO DARK) ===== */
.contact-note{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;

  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);

  color: rgba(255,255,255,.86);
  font-weight: 700;
  line-height: 1.55;

  display:flex;
  align-items:flex-start;
  gap: 10px;
}

.contact-note strong{
  color: rgba(255,255,255,.95);
  font-weight: 700;
}

/* opcional: iconito "tip" a la izquierda */
/* .contact-note::before{
  content:"💡";
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
  margin-top: 1px;
} */

/* responsive */
@media (max-width: 980px){
  .contact-note{
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
  }
  .contact-note::before{
    width: 26px;
    height: 26px;
    border-radius: 9px;
  }
}

.contact-panel{
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* =========================
   MODALS (una sola versión)
========================= */
.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
  padding:18px;
}
.modal.show{ display:flex; }

.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.72);
  backdrop-filter:blur(6px);
}

.modal-content{
  position:relative;
  width:min(900px, 100%);
  background:#fff;
  border-radius:24px;
  box-shadow:0 40px 90px rgba(0,0,0,.35);
  animation:modalIn .45s cubic-bezier(.2,.9,.2,1);
  overflow:hidden;
  max-height:calc(100vh - 36px);
  display:flex;
  flex-direction:column;
}
@keyframes modalIn{
  from{ opacity:0; transform:translateY(40px) scale(.96); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

.modal-header{
  padding:26px 28px;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.modal-header h2{ margin:0 0 6px; }
.modal-header p{
  margin:0;
  color:#64748b;
  font-weight:600;
  line-height:1.6;
}

.modal-body{
  padding:26px 28px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.modal-footer{
  padding:18px 28px 26px;
  border-top:1px solid rgba(15,23,42,.08);
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

.modal-close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border-radius:12px;
  border:0;
  background:#0b1220;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.modal-close:hover{ transform:scale(1.05); }

/* Bloquear scroll al abrir modal */
body.modal-open{
  overflow:hidden;
  height:100vh;
  touch-action:none;
}

/* =========================
   TABLA CUSTOM (UNA SOLA)
========================= */
.custom-table{
  width:100%;
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  margin:12px 0 18px;
}

/* Desktop */
.custom-table .table-row{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:14px;
  padding:12px 14px;
  align-items:start;
}
.custom-table .table-row + .table-row{
  border-top:1px solid rgba(15,23,42,.08);
}
.custom-table .table-row.header{
  background:var(--accent);
  color:#fff;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

/* Columna 1 “pill” */
.custom-table .table-row:not(.header) > div:first-child{
  font-weight:900;
  color:#0b1220;
  background:#f3f4f6;
  border:1px solid rgba(15,23,42,.08);
  padding:8px 10px;
  border-radius:999px;
  text-align:center;
  line-height:1.2;
}

/* Columna 2 */
.custom-table .table-row:not(.header) > div:last-child{
  color:#334155;
  font-weight:650;
  line-height:1.45;
}

/* Mobile: apilar y clarísimo */
@media (max-width:700px){
  .custom-table .table-row{
    grid-template-columns:1fr;
    gap:10px;
  }
  .custom-table .table-row.header{ display:none; }
  .custom-table .table-row:not(.header) > div:first-child{
    width:fit-content;
    text-align:left;
  }
}

/* =========================
   HIGH VALUE (bloques + barra)
========================= */
.modal-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.modal-block{
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:20px;
}
.modal-block h4{
  margin:0 0 14px;
  font-size:18px;
  font-weight:900;
  color:#0b1220;
}
.check-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.check-list li{
  position:relative;
  padding-left:26px;
  font-weight:600;
  color:#475569;
}
.check-list li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  width:18px;height:18px;
  border-radius:6px;
  background:rgba(225,29,46,.12);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:900;
}

.security-meter{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(15,23,42,.08);
}
.security-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.security-label{
  font-weight:900;
  color:#0b1220;
  font-size:13px;
}
.security-badge{
  font-weight:900;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#f8fafc;
  color:#0b1220;
}
.security-badge.is-high{
  background:rgba(225,29,46,.10);
  color:var(--accent);
  border-color:rgba(225,29,46,.18);
}
.security-bar{
  position:relative;
  height:12px;
  border-radius:999px;
  background:#eef2f7;
  border:1px solid rgba(15,23,42,.08);
  overflow:hidden;
}
.security-fill{
  position:absolute;
  inset:0;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(225,29,46,.55), rgba(225,29,46,.95));
  animation:securityFill 900ms cubic-bezier(.2,.9,.2,1) forwards;
}
@keyframes securityFill{ from{ width:0%; } to{ width:var(--level); } }
.security-node{
  position:absolute;
  top:50%;
  width:10px;height:10px;
  border-radius:999px;
  background:#fff;
  border:2px solid rgba(15,23,42,.20);
  transform:translate(-50%,-50%);
  opacity:.95;
}
.security-node.n1{ left:33%; }
.security-node.n2{ left:66%; }
.security-node.n3{ left:92%; border-color:rgba(225,29,46,.45); }
.security-scale{
  display:flex;
  justify-content:space-between;
  margin-top:8px;
  font-size:12px;
  color:#64748b;
  font-weight:700;
}

/* =========================
   FOOTER + WHATSAPP
========================= */
.footer{
  border-top:1px solid rgba(15,23,42,.08);
  padding:26px 0;
  background:#fff;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#64748b;
  font-weight:700;
}
.footer a{ color:#0b1220; text-decoration:none; font-weight:900; }
.footer a:hover{ text-decoration:underline; }

.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius:18px;
  background:#16a34a;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 55px rgba(0,0,0,.18);
  z-index:60;
}
.wa-float svg{ width:30px; height:30px; fill:#fff; }

/* =========================
   RESPONSIVE GLOBAL
========================= */
@media (max-width:980px){
  .container{ padding:0 18px; }
  .hero{ padding:54px 0 120px; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-metrics{ grid-template-columns:1fr; }
  .two-col{ grid-template-columns:1fr; }
  .cards-3{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .modal-columns{ grid-template-columns:1fr; }

  .about-dark{
    margin-top:-40px;
    border-top-left-radius:28px;
    border-top-right-radius:28px;
    padding-top:42px;
  }

  /* Mobile menu */
  .nav-toggle{ display:block; }
  .nav-links{
    position:fixed;
    top:72px;
    right:16px;
    left:16px;
    background:#fff;
    border:1px solid rgba(0,0,0,.10);
    border-radius:18px;
    padding:12px;
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    display:none;
  }
  .nav-links.open{ display:flex; }
  .dropdown-menu{
    position:relative;
    top:auto; left:auto;
    box-shadow:none;
    border-radius:14px;
  }

  /* Form: 1 columna */
  .row{ grid-template-columns:1fr; }

  /* Modal padding */
  .modal-header{ padding:18px; }
  .modal-body{ padding:18px; }
  .modal-footer{ padding:14px 18px 18px; }
}

@media (max-width:520px){
  .navbar{ padding:12px 18px; }
  .brand-text small{ display:none; } /* opcional, más limpio */
}

/* POR QUE ELEGIRNOS */
.reasons{
display:grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
margin-top: 20px;
}

.reason{
background:#fff;
border: 1px solid rgba(15,23,42,.10);
border-radius: 18px;
padding: 18px;
display:flex;
gap: 14px;
align-items:flex-start;
box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.icon{
 width:38px; height:38px;
border-radius:12px;
background: rgba(225,29,46,.12);
color: var(--accent);
display:flex; align-items:center; justify-content:center;
font-weight:900;
}

.reason h3{ margin:0 0 6px; }
.reason p{ margin:0; color:#475569; font-weight:600; line-height:1.6; }


/* ===== CTA PRO en cards ("Ver detalles") ===== */
.card-link{
  appearance: none;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
  color: var(--accent);
  font-weight: 900;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none; /* por si alguna card usa <a> */
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.card-link span{
  display:inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  background: rgba(225,29,46,.10);
  border: 1px solid rgba(225,29,46,.18);
  transform: translateX(0);
  transition: transform .18s ease;
}

.card-link:hover{
  background: rgba(225,29,46,.06);
  border-color: rgba(225,29,46,.22);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
}

.card-link:hover span{
  transform: translateX(3px);
}

.card-link:active{
  transform: translateY(0px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.card-link:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(225,29,46,.18), 0 16px 34px rgba(0,0,0,.10);
}

/* En móvil: que no se vea chiquito */
@media (max-width: 700px){
  .card-link{
    width: 100%;
    justify-content: space-between;
  }
}


.about-right{
  position:sticky;
  top:110px;
}