:root{
  /* Colores institucionales (ajustables) */
  --red:    #E10600;
  --orange: #F27A00;
  --yellow: #FFC200;
  --white:  #FFFFFF;
  --black:  #111111;

  /* Neutros */
  --bg: #FFFFFF;
  --soft: rgba(0,0,0,.04);
  --line: rgba(0,0,0,.10);
  --muted: rgba(0,0,0,.70);

  --radius: 18px;
  --shadow: 0 18px 45px rgba(0,0,0,.10);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Avenir, "Avenir Next", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--black);
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(255,194,0,.18), transparent 55%),
    radial-gradient(900px 520px at 90% 10%, rgba(242,122,0,.15), transparent 55%),
    radial-gradient(900px 520px at 50% -10%, rgba(225,6,0,.10), transparent 60%),
    var(--bg);
}

a{ color:inherit; text-decoration:none; }
.page{ width:100%; }

/* TOPBAR */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 260px;
}
.brand__logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand__title{
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
}
.brand__subtitle{
  font-size: 12px;
  color: var(--muted);
}

/* Nav desktop */
.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav__link{
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
}
.nav__link.is-active{
  border-color: rgba(255,194,0,.60);
  box-shadow: 0 0 0 4px rgba(255,194,0,.14);
}
.nav__btn{
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: #111;
  background: linear-gradient(135deg, var(--yellow), #ffe27a);
  border: 1px solid rgba(255,194,0,.65);
}

/* Hamburger */
.hamburger{
  display:none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 8px;
  cursor:pointer;
}
.hamburger span{
  display:block;
  height: 2px;
  background: #111;
  margin: 6px 0;
  border-radius: 99px;
}

/* Mobile menu */
.mobileMenu{
  display:none;
  border-top: 1px solid var(--line);
  padding: 10px 18px 16px;
}
.mobileMenu.is-open{ display:block; }
.mobileMenu__link{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
  margin-top: 10px;
}
.mobileMenu__cta{
  font-weight: 900;
  border-color: rgba(255,194,0,.60);
  background: rgba(255,194,0,.15);
}

/* HERO */
.hero{
  position: relative;
  min-height: 74vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 34px 18px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.85)),
    radial-gradient(900px 520px at 15% 20%, rgba(255,194,0,.16), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(242,122,0,.12), transparent 60%),
    radial-gradient(900px 520px at 50% 0%, rgba(225,6,0,.10), transparent 60%);
}
.hero__content{
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 26px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 700;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
}
.hero__title{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.6px;
}
.hero__lead{
  margin: 0;
  max-width: 780px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0,0,0,.78);
}
.hero__actions{
  display:flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.85);
  font-weight: 900;
  font-size: 13px;
}
.btn--primary{
  border-color: rgba(0,0,0,.16);
  color: #111;
  background: linear-gradient(135deg, var(--yellow), #ffe27a);
}
.btn--ghost{
  background: rgba(255,255,255,.9);
}
.hero__meta{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.metaCard{
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  padding: 12px;
}
.metaCard__kpi{
  font-weight: 900;
  font-size: 13px;
}
.metaCard__desc{
  font-size: 12px;
  color: rgba(0,0,0,.70);
  margin-top: 4px;
}

/* SECTIONS */
.section{
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 18px;
}
.section__head{
  margin-bottom: 14px;
}
.section__title{
  margin: 0;
  font-size: 22px;
  letter-spacing: -.2px;
}
.section__subtitle{
  margin: 6px 0 0;
  color: rgba(0,0,0,.68);
  font-size: 13px;
  line-height: 1.6;
}
.section--plain .panel{
  max-width: 860px;
  margin-top: 12px;
}

/* Grid Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
  padding: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.card__icon{
  font-size: 22px;
}
.card__title{
  margin-top: 8px;
  font-weight: 900;
}
.card__text{
  margin-top: 6px;
  color: rgba(0,0,0,.70);
  font-size: 13px;
  line-height: 1.55;
}
.card__cta{
  margin-top: 10px;
  font-weight: 900;
  color: rgba(0,0,0,.85);
}

/* Panels / lists / notices */
.panel{
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  padding: 16px;
}
.panel__title{
  margin: 0 0 10px;
  font-weight: 900;
}
.list{
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,.78);
}
.notice{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,194,0,.55);
  background: rgba(255,194,0,.12);
}
.muted{ color: rgba(0,0,0,.70); }

/* Footer */
.footer{
  padding: 18px 18px 28px;
}
.footer__inner{
  max-width: 1160px;
  margin: 0 auto;
}
.footer__line{
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
}
.footer__text{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0,0,0,.65);
}

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .hamburger{ display:inline-block; }
  .hero__meta{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
}