:root{
  --rojo-principal:#c1121f;
  --rojo-secundario:#e31b23;
  --rojo-oscuro:#8d0b14;
  --rojo-claro:#ffe3e6;
  --rojo-suave:#fff5f6;
  --blanco:#ffffff;
  --texto:#451116;
  --texto-claro:#fff8f8;
  --sombra:0 12px 30px rgba(0,0,0,.18);
  --radio:22px;
  --max:1240px;
  --resaltado:#ffd9dc;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat', Arial, Helvetica, sans-serif;
  color:var(--texto);
  line-height:1.5;
  overflow-x:hidden;
  background-image:
    linear-gradient(rgba(141,11,20,.75), rgba(227,27,35,.75)),
    url("../../images/fondo_natalyvega.jpeg");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  background-attachment:fixed;
}

a{
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(141,11,20,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.15);
}

.topbar-inner{
  max-width:var(--max);
  margin:auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.brand{
  color:var(--blanco);
  font-weight:800;
  font-size:1.05rem;
  display:flex;
  align-items:center;
  gap:10px;
}

.menu{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.menu a{
  color:var(--texto-claro);
  padding:10px 14px;
  border-radius:999px;
  transition:.2s ease;
  font-size:.95rem;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
}

.menu a:hover{
  background:rgba(255,255,255,.13);
}

.container{
  max-width:var(--max);
  margin:auto;
  padding:24px 18px 60px;
}

.hero{
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(0, .98fr);
  gap:28px;
  align-items:center;
  padding-top:24px;
  padding-bottom:10px;
}

.hero-text{
  color:var(--blanco);
  position:relative;
  z-index:2;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  color:#fff6f7;
  padding:8px 14px;
  border-radius:999px;
  font-size:.9rem;
  margin-bottom:18px;
  font-weight:700;
}

.hero h1{
  font-size:clamp(2.3rem, 5vw, 4.4rem);
  line-height:1.02;
  margin-bottom:14px;
  font-weight:900;
}

.hero h1 .numero{
  background:var(--blanco);
  color:var(--rojo-oscuro);
  padding:2px 10px;
  border-radius:12px;
  display:inline-block;
}

.hero p{
  font-size:1.06rem;
  max-width:640px;
  color:#fff3f4;
  margin-bottom:24px;
}

.cta-group{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:26px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:14px 22px;
  border-radius:999px;
  font-weight:800;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow:var(--sombra);
  font-size:.96rem;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:var(--blanco);
  color:var(--rojo-oscuro);
}

.btn-secondary{
  background:transparent;
  color:var(--blanco);
  border:2px solid rgba(255,255,255,.75);
}

.count-card{
  background:var(--blanco);
  border-radius:var(--radio);
  box-shadow:var(--sombra);
  padding:24px;
}

.countdown-card{
  max-width:540px;
}

.count-card h3{
  color:var(--rojo-oscuro);
  font-size:1.35rem;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}

.count-card p{
  margin-bottom:18px;
  color:#7a3139;
  font-size:.95rem;
}

.countdown{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:10px;
}

.time-box{
  background:var(--rojo-suave);
  border:2px solid var(--rojo-claro);
  border-radius:16px;
  padding:16px 10px;
  text-align:center;
  min-width:0;
}

.time-number{
  display:block;
  font-size:1.9rem;
  font-weight:900;
  color:var(--rojo-oscuro);
  line-height:1.1;
}

.time-label{
  display:block;
  font-size:.9rem;
  color:#8d4d54;
  margin-top:4px;
  font-weight:600;
}

.status-message{
  margin-top:14px;
  color:#8d4d54;
  font-weight:700;
  font-size:.95rem;
  text-align:center;
}

.candidate-area{
  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-photo-wrap{
  position:relative;
  width:100%;
  max-width:560px;
  min-height:620px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.img-marca3{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:600px;
  max-width:none;
  height:auto;
  z-index:2;
  pointer-events:none;
  background:transparent;
  border:none;
  box-shadow:none;
  outline:none;
  filter:none;
}

.hero-candidata{
  position:relative;
  z-index:1;
  width:100%;
  max-width:380px;
  transform:translateY(-40%);
  height:auto;
  filter:drop-shadow(0 24px 36px rgba(0,0,0,.30));
}

section{
  margin-top:36px;
}

.card{
  background:var(--blanco);
  border-radius:var(--radio);
  box-shadow:var(--sombra);
  padding:28px;
}

.section-title{
  font-size:clamp(1.6rem, 3vw, 2.3rem);
  color:var(--rojo-oscuro);
  margin-bottom:10px;
  font-weight:900;
  display:flex;
  align-items:center;
  gap:12px;
}

.section-subtitle{
  color:#7a4a50;
  margin-bottom:20px;
  font-weight:500;
}

.marca-card{
  background:#fff;
  border-radius:30px;
  padding:30px;
  box-shadow:var(--sombra);
  display:grid;
  grid-template-columns:1fr 340px;
  gap:26px;
  align-items:start;
  overflow:hidden;
  position:relative;
}

.marca-card::before{
  content:"";
  position:absolute;
  top:-50px;
  right:-50px;
  width:180px;
  height:180px;
  background:rgba(227,27,35,.08);
  border-radius:50%;
}

.marca-left{
  position:relative;
  z-index:1;
}

.marca-chip{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:#fff1f2;
  color:var(--rojo-oscuro);
  font-weight:800;
  margin-bottom:14px;
}

.marca-title{
  font-size:clamp(2rem, 4vw, 3rem);
  color:var(--rojo-oscuro);
  font-weight:900;
  line-height:1.05;
  margin-bottom:12px;
}

.marca-title .resaltado{
  background:var(--resaltado);
  padding:0 10px;
  border-radius:12px;
  display:inline-block;
  transform:rotate(-2deg);
}

.marca-copy{
  color:#6b4146;
  font-size:1.02rem;
  max-width:650px;
  margin-bottom:18px;
}

.manuscrito{
  font-family:'Caveat', cursive;
  font-size:2rem;
  color:var(--rojo-oscuro);
  line-height:1.1;
  margin-top:6px;
}

.marca-steps{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.step-pill{
  background:#fff5f6;
  color:var(--rojo-oscuro);
  border:1px solid #ffd9dc;
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.ballot-box{
  position:relative;
  z-index:1;
  background:#fff;
  border:4px solid var(--rojo-oscuro);
  border-radius:24px;
  padding:20px;
  width:100%;
  max-width:320px;
  justify-self:center;
  box-shadow:0 15px 35px rgba(141,11,20,.18);
}

.ballot-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:12px;
}

.ballot-head span{
  color:var(--rojo-oscuro);
  font-weight:900;
  font-size:.95rem;
  text-align:center;
  line-height:1.2;
}

.ballot-grid{
  display:grid;
  gap:12px;
}

.ballot-row{
  display:grid;
  grid-template-columns:72px 1fr;
  align-items:center;
  gap:14px;
  background:#fff8f8;
  border:2px solid #ffdfe2;
  border-radius:18px;
  padding:12px;
}

.ballot-mark{
  width:72px;
  height:72px;
  border:3px solid var(--rojo-oscuro);
  border-radius:14px;
  position:relative;
  background:#fff;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ballot-mark-logo{
  width:72px;
  height:72px;
  border:3px solid var(--rojo-oscuro);
  border-radius:14px;
  position:relative;
  overflow:hidden;
  background-image:url("../../images/LOGO_NACION.jpg");
  background-size:100%;
  background-repeat:no-repeat;
  background-position:center;
  background-color:#ffffff;
}

.ballot-mark-logo svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:2;
}

.check-line{
  fill:none;
  stroke:#000;
  stroke-width:7;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:120;
  stroke-dashoffset:120;
  animation:drawCheck 1.2s ease forwards;
}

.check-line.second{
  animation-delay:.45s;
}

.ballot-number{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}

.ballot-number small{
  color:#8d5c62;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.6px;
}

.numero-escrito{
  font-family:'Caveat', cursive;
  font-size:4.6rem;
  color:var(--rojo-oscuro);
  line-height:1;
  position:relative;
}

.banner-votacion{
  grid-column:1 / -1;
  width:100%;
  margin-top:10px;
  border-radius:18px;
  overflow:hidden;
}

.banner-votacion img{
  width:100%;
  height:auto;
  display:block;
}

.video-wrapper,
.facebook-wrapper{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:18px;
}

.video-wrapper{
  padding-top:56.25%;
  background:#000;
}

.video-wrapper iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.video-actions{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.video-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#e62117;
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
  border:none;
  cursor:pointer;
}

.video-link.secondary{
  background:var(--rojo-oscuro);
}

.facebook-flex{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:20px;
  align-items:start;
}

.facebook-note{
  background:var(--rojo-suave);
  border:1px solid var(--rojo-claro);
  border-radius:18px;
  padding:18px;
}

.facebook-note h4{
  color:var(--rojo-oscuro);
  margin-bottom:8px;
  font-size:1.1rem;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}

.facebook-note p{
  color:#6f4449;
  margin-bottom:14px;
  font-size:.95rem;
}

.facebook-note a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--rojo-principal);
  color:var(--blanco);
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
}

/* PROPUESTAS */
.propuestas-card{
  overflow:hidden;
}

.propuestas-layout{
  display:grid;
  grid-template-columns:360px 1fr;
  gap:22px;
  align-items:stretch;
  min-height:680px;
}

.propuestas-sidebar{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.prop-tab{
  width:100%;
  text-align:left;
  border:none;
  border-radius:20px;
  padding:16px 18px;
  background:linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
  border:1px solid #ffd9dd;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:14px;
  transition:all .25s ease;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}

.prop-tab:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 24px rgba(0,0,0,.10);
}

.prop-tab.active{
  background:linear-gradient(135deg, #8d0b14 0%, #c1121f 60%, #e31b23 100%);
  border-color:transparent;
}

.prop-tab.active .prop-num,
.prop-tab.active .prop-label{
  color:#fff;
}

.prop-num{
  min-width:48px;
  height:48px;
  border-radius:14px;
  background:#ffecef;
  color:#8d0b14;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:1rem;
}

.prop-tab.active .prop-num{
  background:rgba(255,255,255,.18);
}

.prop-label{
  font-weight:800;
  color:#7b1a24;
  font-size:1rem;
  line-height:1.25;
}

.propuesta-detail{
  position:relative;
  min-height:680px;
  border-radius:28px;
  overflow:hidden;
  background:#ffffff;
  box-shadow:0 16px 34px rgba(0,0,0,.10);
  border:1px solid #ffdce0;
}

.propuesta-bg{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
}

.propuesta-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  opacity:.30;
  transition:opacity .35s ease;
  display:block;
}

.propuesta-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.66) 55%, rgba(255,255,255,.58) 90%);
  z-index:2;
  pointer-events:none;
}

.propuesta-content{
  position:relative;
  z-index:3;
  height:100%;
  display:flex;
  flex-direction:column;
  padding:34px;
}

.propuesta-head{
  margin-bottom:18px;
}

.propuesta-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff1f3;
  border:1px solid #ffd9dd;
  color:#8d0b14;
  font-weight:800;
  padding:8px 14px;
  border-radius:999px;
  margin-bottom:14px;
  font-size:.9rem;
}

.propuesta-head h3{
  color:#8d0b14;
  font-size:2rem;
  line-height:1.1;
  font-weight:900;
  margin-bottom:8px;
}

.propuesta-head h4{
  color:#b21b28;
  font-size:1.08rem;
  font-weight:800;
  line-height:1.35;
}

.propuesta-text-scroll{
  position:relative;
  flex:1;
  overflow-y:auto;
  padding-right:12px;
  scroll-behavior:smooth;
}

.propuesta-text-scroll::-webkit-scrollbar{
  width:10px;
}

.propuesta-text-scroll::-webkit-scrollbar-track{
  background:#f9e6e8;
  border-radius:999px;
}

.propuesta-text-scroll::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, #c1121f, #8d0b14);
  border-radius:999px;
}

.propuesta-text{
  color:#5f3a3f;
  font-size:1.02rem;
  line-height:1.9;
}

.propuesta-text p{
  margin-bottom:16px;
}

.propuesta-text strong{
  color:#8d0b14;
}

.shorts-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:18px;
}

.short-card{
  background:#ffffff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--sombra);
  transition:transform .25s ease, box-shadow .25s ease;
}

.short-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.short-frame{
  position:relative;
  width:100%;
  padding-top:177.77%;
  background:#000;
}

.short-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.short-content{
  padding:16px;
}

.short-content a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--rojo-principal);
  font-weight:800;
}

.footer{
  text-align:center;
  color:rgba(255,255,255,.92);
  padding:30px 18px 50px;
  font-size:.95rem;
}

.footer p{
  margin-bottom:8px;
}

.footer strong{
  color:#ffffff;
}

.footer-social{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.footer-social a{
  width:46px;
  height:46px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  border:1px solid rgba(255,255,255,.18);
}

@keyframes drawCheck{
  to{ stroke-dashoffset:0; }
}

/* TABLET */
@media (max-width:1100px){
  .hero{
    grid-template-columns:1fr;
    gap:10px;
  }

  .candidate-area{
    order:2;
  }

  .hero-photo-wrap{
    max-width:520px;
    min-height:520px;
    margin:0 auto;
  }

  .img-marca3{
    width:520px;
  }

  .marca-card{
    grid-template-columns:1fr;
  }

  .propuestas-layout{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .propuestas-sidebar{
    display:grid;
    grid-template-columns:repeat(2,1fr);
  }

  .propuesta-detail{
    min-height:620px;
  }
}

/* MOBILE */
@media (max-width:768px){
  body{
    background-attachment:scroll;
  }

  .topbar-inner{
    justify-content:center;
  }

  .menu{
    justify-content:center;
  }

  .container{
    padding:18px 14px 40px;
  }

  .hero{
    padding-top:10px;
  }

  .hero h1{
    font-size:clamp(2rem, 10vw, 3.1rem);
  }

  .hero p{
    font-size:.98rem;
  }

  .cta-group{
    gap:10px;
  }

  .btn{
    width:100%;
  }

  .count-card,
  .card,
  .marca-card{
    padding:20px;
  }

  .count-card h3{
    font-size:1.1rem;
  }

  .countdown{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:8px;
  }

  .time-box{
    padding:12px 6px;
  }

  .time-number{
    font-size:1.15rem;
  }

  .time-label{
    font-size:.72rem;
  }

  .hero-photo-wrap{
    max-width:100%;
    min-height:390px;
  }

  .img-marca3{
    width:115%;
    max-width:460px;
    bottom:-4px;
  }

  .hero-candidata{
    max-width:280px;
  }

  .marca-title{
    font-size:2rem;
  }

  .manuscrito{
    font-size:1.7rem;
  }

  .ballot-row{
    grid-template-columns:62px 1fr;
  }

  .ballot-mark,
  .ballot-mark-logo{
    width:62px;
    height:62px;
  }

  .facebook-flex,
  .shorts-grid{
    grid-template-columns:1fr;
  }

  .propuestas-sidebar{
    grid-template-columns:1fr;
  }

  .propuesta-content{
    padding:22px;
  }

  .propuesta-head h3{
    font-size:1.6rem;
  }

  .propuesta-head h4{
    font-size:1rem;
  }

  .propuesta-detail{
    min-height:560px;
  }
}