:root{
  --vino:#7a1238;
  --vino-oscuro:#5d0028;
  --vino-profundo:#4a001f;
  --dorado:#b79258;
  --gris-fondo:#f2f2f2;
  --gris-texto:#4b4b4b;
  --blanco:#ffffff;
  --verde-bg:#e8f8ea;
  --verde-tx:#1f6b2c;
  --rojo-bg:#fde7e7;
  --rojo-tx:#962828;
  --shadow:0 14px 34px rgba(0,0,0,.08);
  --max:1200px;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Montserrat',sans-serif;
  background:var(--gris-fondo);
  color:var(--gris-texto);
  line-height:1.65;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 24px;}

.topbar{background:var(--vino);color:#fff;}
.topbar-inner{
  max-width:var(--max);
  min-height:106px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand-wrap{display:flex;align-items:center;gap:16px;}
.logo-site{width:150px;height:auto;object-fit:contain;}
.brand-text{display:flex;flex-direction:column;line-height:1.05;}
.brand-small{font-size:15px;font-weight:500;opacity:.95;}
.brand-big{font-size:31px;font-weight:700;}
.top-nav{display:flex;align-items:center;gap:34px;font-size:15px;font-weight:500;}
.top-nav a:hover{opacity:.85;}

.subbar{background:var(--vino-profundo);color:#fff;}
.subbar-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 24px 22px;
  font-size:28px;
  font-weight:500;
}

.page{padding:54px 0 70px;}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:16px;margin-bottom:40px;color:#535353;}
.breadcrumb .active{font-weight:700;}
.main-title{
  font-family:'Baloo 2',cursive;
  font-size:82px;
  line-height:.92;
  color:#424242;
  letter-spacing:.3px;
  margin-bottom:34px;
}

.steps{
  max-width:870px;
  height:104px;
  background:#e8e8e8;
  border-radius:8px;
  overflow:hidden;
  display:flex;
  margin-bottom:48px;
}
.step{
  position:relative;
  min-width:260px;
  background:var(--vino);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:18px 62px 18px 28px;
  z-index:1;
}
.step strong{font-size:22px;font-weight:800;line-height:1.1;}
.step span{font-size:16px;font-weight:500;}
.step::after{
  content:"";
  position:absolute;
  top:0;
  right:-52px;
  width:0;height:0;
  border-top:52px solid transparent;
  border-bottom:52px solid transparent;
  border-left:52px solid var(--vino);
  z-index:2;
}
.step.muted{flex:1;min-width:auto;background:#e8e8e8;}
.step.muted::after{display:none;}

.hero-card,.info-box,.notice-box{
  background:var(--blanco);
  border-radius:24px;
  box-shadow:var(--shadow);
  border:1px solid #ececec;
}
.hero-card{padding:34px;margin-bottom:42px;}
.section-title{
  font-family:'Baloo 2',cursive;
  font-size:58px;
  line-height:.95;
  color:#404040;
  margin-bottom:10px;
}
.gold-line{width:48px;height:6px;background:var(--dorado);border-radius:999px;margin-bottom:22px;}
.section-desc{font-size:18px;color:#5a5a5a;margin-bottom:20px;}

.curp-form{display:grid;grid-template-columns:1fr 220px;gap:16px;}
.curp-form input{
  width:100%;height:62px;border:1px solid #d8d8d8;border-radius:14px;background:#fcfcfc;
  padding:0 18px;font-size:17px;text-transform:uppercase;outline:none;transition:.2s;
}
.curp-form input:focus{border-color:var(--vino);box-shadow:0 0 0 4px rgba(122,18,56,.10);background:#fff;}
.curp-form button{
  border:none;border-radius:14px;background:var(--vino);color:#fff;font-size:17px;font-weight:700;
  cursor:pointer;transition:.2s;box-shadow:0 10px 24px rgba(122,18,56,.20);min-height:62px;
}
.curp-form button:hover{background:#691031;}
.curp-form button:disabled{opacity:.75;cursor:not-allowed;}

.mensaje{display:none;margin-top:18px;padding:14px 16px;border-radius:14px;font-weight:600;font-size:15px;}
.mensaje.ok{display:block;background:var(--verde-bg);color:var(--verde-tx);}
.mensaje.error{display:block;background:var(--rojo-bg);color:var(--rojo-tx);}
.resultado{display:none;margin-top:18px;background:#f8f8f8;border:1px solid #ececec;border-radius:16px;padding:18px;}
.resultado.show{display:block;}
.resultado-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;}
.resultado-item{background:#fff;border:1px solid #ededed;border-radius:12px;padding:12px 14px;}
.resultado-item strong{display:block;font-size:13px;color:#7a7a7a;margin-bottom:4px;}
.resultado-item span{font-size:15px;color:#383838;font-weight:600;}
.mini-note{margin-top:18px;padding:16px 18px;background:#fbf7ee;border-left:4px solid var(--dorado);border-radius:12px;font-size:14px;color:#5b5449;}

.content-section{margin-top:10px;}
.grid-info{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
.info-box{padding:28px;}
.info-box h3{font-family:'Baloo 2',cursive;font-size:37px;line-height:1;color:#404040;margin-bottom:14px;}
.info-box p{margin-bottom:14px;font-size:16px;color:#555;}
.info-box ul{padding-left:20px;}
.info-box li{margin-bottom:10px;color:#555;}
.full{grid-column:1 / -1;}
.notice-box{margin-top:30px;padding:30px;background:#fff8eb;border:1px solid #f0dfbd;}
.notice-box p{margin-bottom:12px;color:#5a5349;}

.footer{background:var(--vino-oscuro);color:#fff;margin-top:50px;}
.footer-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:14px;}

@media (max-width: 992px){
  .main-title{font-size:60px;}
  .section-title{font-size:46px;}
  .curp-form{grid-template-columns:1fr;}
  .grid-info,.resultado-grid{grid-template-columns:1fr;}
  .steps{height:auto;flex-direction:column;border-radius:18px;}
  .step{min-width:100%;padding:20px 24px;}
  .step::after{display:none;}
}

@media (max-width: 768px){
  .topbar-inner{min-height:auto;padding:16px;flex-direction:column;align-items:flex-start;}
  .top-nav{gap:18px;flex-wrap:wrap;}
  .logo-site{width:110px;}
  .brand-big{font-size:24px;}
  .subbar-inner{padding:14px 16px 18px;font-size:20px;}
  .page{padding:30px 0 50px;}
  .container{padding:0 16px;}
  .main-title{font-size:47px;margin-bottom:24px;}
  .section-title{font-size:39px;}
  .hero-card,.info-box,.notice-box{padding:22px;}
  .curp-form button{
    width:100%;
    min-height:68px;
    font-size:18px;
    border-radius:16px;
  }
}
