/* [Inferencia] Paleta aproximada por el logo.
   Ajusta estos HEX si quieres que queden 100% exactos al archivo original. */
:root{
  --brand-blue: #122a66;   /* azul profundo */
  --brand-blue-2:#1a3b8f;  /* azul rey */
  --brand-gold:#d6a62a;    /* dorado */
  --brand-gold-2:#f0c24a;  /* dorado claro */

  --bg:#f7f9ff;
  --surface:#ffffff;
  --surface-2:#f2f5ff;
  --text:#0e1630;
  --muted:#475072;
  --stroke:rgba(16,24,48,.12);

  --shadow: 0 18px 50px rgba(16,24,48,.10);
  --shadow-soft: 0 10px 30px rgba(16,24,48,.08);

  --radius: 18px;
  --radius2: 26px;

  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
/* Fondo global continuo */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(900px 600px at 10% 0%, rgba(26,59,143,.14), transparent 65%),
    radial-gradient(800px 520px at 90% 10%, rgba(214,166,42,.16), transparent 65%),
    radial-gradient(900px 700px at 50% 90%, rgba(26,59,143,.10), transparent 70%),
    var(--bg);

  background-repeat: no-repeat;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width: min(var(--max), calc(100% - 40px)); margin:0 auto}
.main{padding-top: 66px}
.center{text-align:center}
.mt{margin-top:18px}
.mt-sm{margin-top:10px}

/* NAV */
.nav{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
}
.brand{display:flex; align-items:center; gap:12px}
.brand__logo{width:42px; height:42px; border-radius: 12px}
.brand__text{display:flex; flex-direction:column; line-height:1.1}
.brand__mark{font-weight: 900; letter-spacing:.3px; color: var(--brand-blue)}
.brand__sub{font-size:12px; color: var(--muted)}

.nav__toggle{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.75);
  cursor:pointer;
}
.nav__toggle span{
  display:block;
  height:2px;
  width:18px;
  background: rgba(18,42,102,.85);
  margin: 5px auto;
  border-radius: 2px;
}

.nav__links{display:flex; align-items:center; gap:10px}
.nav__link{
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(14,22,48,.88);
  font-weight: 700;
}
.nav__link:hover{background: rgba(26,59,143,.06)}
.nav__link.is-active{
  background: rgba(26,59,143,.10);
  border: 1px solid rgba(26,59,143,.14);
}
.nav__link--cta{
  background: rgba(214,166,42,.16);
  border: 1px solid rgba(214,166,42,.25);
}
.nav__link--cta:hover{
  background: rgba(214,166,42,.20);
}

/* Transición suave debajo del navbar */
.nav::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-24px;
  height:24px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.82),
    rgba(255,255,255,0)
  );
  pointer-events:none;
}
/* TYPO */
.h1{font-size: clamp(34px, 4vw, 54px); margin:14px 0 10px; letter-spacing: -0.9px; color: var(--brand-blue)}
.h2{font-size: clamp(24px, 2.4vw, 34px); margin:0 0 10px; letter-spacing:-0.5px; color: var(--brand-blue)}
.h3{font-size: 20px; margin:0 0 8px; color: var(--brand-blue)}
.lead{font-size: 16.5px; color: var(--muted); line-height: 1.65; max-width: 62ch}
.muted{color: var(--muted)}
.tiny{font-size: 12px}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  color: rgba(14,22,48,.92);
  font-weight: 900;
  cursor:pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background: #fff}
.btn--primary{
  background: linear-gradient(180deg, rgba(26,59,143,.98), rgba(18,42,102,.98));
  border-color: rgba(18,42,102,.22);
  color: #fff;
}
.btn--primary:hover{filter: brightness(1.02)}
.btn--gold{
  background: linear-gradient(180deg, rgba(240,194,74,.98), rgba(214,166,42,.98));
  border-color: rgba(214,166,42,.28);
  color: rgba(14,22,48,.95);
}
.btn--ghost{
  background: rgba(255,255,255,.70);
  border-color: rgba(16,24,48,.14);
  box-shadow: none;
}
.btn--block{width:100%}
.btn--sm{padding: 10px 12px; border-radius: 12px; font-size: 13px}

/* HERO */
.hero{
  position: relative;
  padding: 64px 0 24px;
  background: transparent;
}
.hero--compact{padding: 40px 0}

.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items:center;
}
.hero__inner--single{grid-template-columns: 1fr}
.hero__actions{display:flex; gap:12px; margin: 18px 0 16px; flex-wrap:wrap}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,48,.14);
  background: rgba(255,255,255,.78);
  font-size: 13px;
  color: rgba(14,22,48,.82);
  box-shadow: var(--shadow-soft);
}
.pill__dot{
  width:10px; height:10px; border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 4px rgba(214,166,42,.20);
}
.pill--brand{
  border-color: rgba(26,59,143,.16);
}
.pill--gold{
  background: rgba(240,194,74,.25);
  border-color: rgba(214,166,42,.30);
}

.hero__trust{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
}
.trustCard{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow-soft);
}
.trustCard__title{font-weight:900; font-size: 13px; color: var(--brand-blue)}
.trustCard__text{font-size: 12px; color: var(--muted); margin-top: 6px}

.microBadges{display:flex; gap:8px; flex-wrap:wrap; margin-top: 12px}
.microBadge{
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,48,.10);
  background: rgba(255,255,255,.88);
}
.microBadge--gold{background: rgba(240,194,74,.18); border-color: rgba(214,166,42,.25)}
.microBadge--blue{background: rgba(26,59,143,.10); border-color: rgba(26,59,143,.18)}
.microBadge--soft{background: rgba(16,24,48,.04)}

.cardHero{
  border-radius: var(--radius2);
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardHero__top{display:flex; gap:10px; padding: 14px}
.badge{
  font-size: 12px; font-weight: 1000;
  padding: 8px 10px; border-radius: 999px;
  border: 1px solid rgba(16,24,48,.10);
  background: rgba(16,24,48,.04);
}
.badge--gold{background: rgba(240,194,74,.22); border-color: rgba(214,166,42,.28)}
.badge--blue{background: rgba(26,59,143,.14); border-color: rgba(26,59,143,.20); color: var(--brand-blue)}
.cardHero__media{aspect-ratio: 4/3; overflow:hidden}
.cardHero__media img{width:100%; height:100%; object-fit:cover}
.cardHero__bottom{padding: 14px}
.kpi__num{font-size: 18px; font-weight: 1000; letter-spacing:.4px; color: var(--brand-blue)}
.kpi__label{font-size: 13px; color: var(--muted); margin-top: 4px}
.linkArrow{display:inline-flex; gap:8px; align-items:center; margin-top: 10px; color: var(--brand-blue); font-weight: 900}
.linkArrow span{transform: translateY(-1px)}

.miniNote{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}
.miniNote__title{font-weight: 1000; font-size: 13px; color: var(--brand-blue)}
.miniNote__text{color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.55}

/* SECTIONS */
.section{padding: 44px 0}
.section--soft{
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(2px);
  border-top: 1px solid rgba(16,24,48,.08);
  border-bottom: 1px solid rgba(16,24,48,.08);
}
.sectionHead{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom: 18px}
.sectionHead p{margin:0; max-width: 64ch}

/* GRIDS */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.grid2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.featureCard{
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.featureCard__icon{font-size: 18px}
.featureCard__title{font-weight: 1000; margin-top: 10px; color: var(--brand-blue)}
.featureCard__text{color: var(--muted); margin-top: 6px; line-height: 1.6}

/* CARDS */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.cards--dense{grid-template-columns: repeat(2, minmax(0,1fr))}
.card{
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.card--big{padding: 18px}
.card__top{display:flex; flex-direction:column; gap:6px}
.chip{
  display:inline-flex;
  width:max-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
  background: rgba(26,59,143,.12);
  border: 1px solid rgba(26,59,143,.18);
  color: var(--brand-blue);
}
.chip--gold{
  background: rgba(240,194,74,.20);
  border-color: rgba(214,166,42,.28);
  color: rgba(14,22,48,.92);
}
.card__title{font-weight: 1000; font-size: 18px; color: var(--brand-blue)}
.card__subtitle{color: var(--muted); font-size: 13px}
.card__text{color: var(--muted); line-height: 1.65; margin: 10px 0 0}
.card__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px}

.bullets{margin: 12px 0 0; padding-left: 18px; color: rgba(14,22,48,.90)}
.bullets li{margin: 7px 0}
.bullets--compact li{margin: 6px 0}

.callout{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(26,59,143,.06);
  border: 1px solid rgba(26,59,143,.14);
}
.callout__k{font-weight: 1000; font-size: 12px; color: var(--brand-blue)}
.callout__v{color: var(--muted); margin-top: 6px; line-height: 1.6}

/* PANELS */
.panel{
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.panel--big{padding: 18px}
.panel__title{font-weight: 1000; font-size: 16px; color: var(--brand-blue)}
.panel__text{color: var(--muted); margin-top: 8px; line-height: 1.65}

/* QUOTES */
.quotes{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.quotes--grid{grid-template-columns: repeat(2, minmax(0,1fr))}
.quote{
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.quote__mark{font-size: 28px; font-weight: 1000; color: rgba(18,42,102,.75)}
.quote__text{margin: 6px 0 14px; color: rgba(14,22,48,.88); line-height: 1.7}
.quote__meta{display:flex; align-items:center; gap:8px; color: var(--muted); font-size: 13px}
.dot{opacity:.7}

/* CTA */
.cta{
  margin-top: 18px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(16,24,48,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.86));
  box-shadow: var(--shadow-soft);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}
.cta__left{min-width:0}
.cta__left p{margin:0}
.cta__right{display:flex; gap:10px}

/* PAGE HERO */
.pageHero{
  padding: 38px 0 22px;
  border-bottom: 1px solid rgba(16,24,48,.08);
}
.pageHero--soft{
  background: linear-gradient(180deg, rgba(26,59,143,.05), rgba(214,166,42,.03));
}
.pageHero__inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.miniStats{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.miniStat{
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow-soft);
}
.miniStat__k{font-size: 12px; font-weight: 1000; color: var(--brand-blue)}
.miniStat__v{font-size: 12px; margin-top: 6px; color: var(--muted)}

.legalStrip{
  margin-top: 14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.legalStrip__item{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.88);
  font-size: 12px;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

/* CONTACT */
.contactGrid{
  display:grid;
  grid-template-columns: 1fr .92fr;
  gap: 16px;
  align-items:start;
}
.form{
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.form__row{display:flex; flex-direction:column; gap:8px; margin-bottom: 12px}
.label{font-size: 13px; font-weight: 1000; color: rgba(14,22,48,.86)}
.input,.textarea{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,24,48,.14);
  background: rgba(255,255,255,.92);
  color: rgba(14,22,48,.92);
  outline:none;
}
.input:focus,.textarea:focus{
  border-color: rgba(26,59,143,.30);
  box-shadow: 0 0 0 4px rgba(26,59,143,.10);
}

.contactCard{
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.contactCard__title{font-weight: 1000; font-size: 18px; color: var(--brand-blue)}
.infoList{margin-top: 12px; display:flex; flex-direction:column; gap:10px}
.infoItem{
  display:flex; justify-content:space-between; gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(16,24,48,.02);
}
.infoItem__k{font-weight: 1000; font-size: 12px; color: var(--brand-blue)}
.infoItem__v{color: var(--muted); font-size: 12px; text-align:right}

.miniPanel{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(240,194,74,.18);
  border: 1px solid rgba(214,166,42,.26);
}
.miniPanel__title{font-weight: 1000; font-size: 12px; color: rgba(14,22,48,.92)}
.miniPanel__text{margin: 8px 0 0; color: rgba(14,22,48,.85); line-height: 1.6}

.alert{
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}
.alert--ok{background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.20)}
.alert--warn{background: rgba(245,158,11,.14); border-color: rgba(245,158,11,.24)}

/* INFO GRID */
.infoGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.infoCard{
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(16,24,48,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.infoCard__k{font-weight: 1000; font-size: 13px; color: var(--brand-blue)}
.infoCard__v{color: var(--muted); margin-top: 8px; line-height: 1.6; font-size: 13px}

/* PROSE */
.prose{max-width: 76ch}
.prose h2{margin: 18px 0 8px; color: var(--brand-blue)}
.prose p{color: var(--muted); line-height: 1.8}

/* FOOTER */

.footer__inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  padding-bottom: 18px;
}
.footer__brand{font-weight: 1000; letter-spacing:.4px; font-size: 18px; color: var(--brand-blue)}
.footer__text{color: var(--muted); line-height: 1.7; margin: 10px 0}
.footer__title{font-weight: 1000; margin-bottom: 10px; color: var(--brand-blue)}
.footer__link{
  display:block;
  padding: 8px 0;
  color: rgba(14,22,48,.86);
  font-weight: 800;
}
.footer__link:hover{opacity:.9}
.footer__bottom{
  padding: 14px 0;
  border-top: 1px solid rgba(16,24,48,.10);
  color: rgba(14,22,48,.72);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .hero__inner{grid-template-columns: 1fr;}
  .hero__trust{grid-template-columns: 1fr;}
  .cards{grid-template-columns: 1fr;}
  .cards--dense{grid-template-columns: 1fr;}
  .quotes{grid-template-columns: 1fr;}
  .quotes--grid{grid-template-columns: 1fr;}
  .grid3{grid-template-columns: 1fr;}
  .grid2{grid-template-columns: 1fr;}
  .infoGrid{grid-template-columns: 1fr 1fr;}
  .footer__inner{grid-template-columns: 1fr;}
  .pageHero__inner{flex-direction:column; align-items:flex-start}
  .miniStats{grid-template-columns: 1fr;}
  .contactGrid{grid-template-columns: 1fr;}
}

@media (max-width: 820px){
  .nav__toggle{display:block}
  .nav__links{
    display:none;
    position:absolute;
    top: 66px;
    left: 20px; right: 20px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(16,24,48,.12);
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
    flex-direction:column;
    gap: 8px;
  }
  .nav__links.is-open{display:flex}
  .nav__link{width:100%}
}

.footer{
  border-top: 1px solid rgba(16,24,48,.10);
  background: rgba(255,255,255,.70);
  padding: 30px 0 0;
}

.footer__inner{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 18px;
  padding-bottom: 20px;
}

.footer__brand{
  font-weight: 1000;
  font-size: 20px;
  letter-spacing:.4px;
  color: var(--brand-blue);
}

.footer__title{
  font-weight: 1000;
  margin-bottom: 12px;
  color: var(--brand-blue);
}

.footer__text{
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0;
}

.footer__legal div{
  margin-top: 4px;
}

.footer__link{
  display:block;
  padding: 8px 0;
  font-weight: 800;
  color: rgba(14,22,48,.86);
}

.footer__link:hover{
  opacity:.85;
}

.footer__item{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
  color: rgba(14,22,48,.90);
}

.footer__item .icon{
  width: 24px;
  height: 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 8px;
  background: rgba(26,59,143,.08);
  border: 1px solid rgba(26,59,143,.18);
}

.footer__item .icon svg{
  width: 14px;
  height: 14px;
  fill: var(--brand-blue);
}

.footer__item--gold .icon{
  background: rgba(214,166,42,.20);
  border-color: rgba(214,166,42,.30);
}

.footer__item--gold svg{
  fill: var(--brand-gold);
}

.footer__bottom{
  border-top: 1px solid rgba(16,24,48,.10);
  padding: 14px 0;
  font-size: 13px;
  color: rgba(14,22,48,.72);
  text-align:center;
}

@media (max-width: 900px){
  .footer__inner{
    grid-template-columns: 1fr;
  }
}