@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');

/*
  MiPaís.app - Estilo base público
  Ubicación recomendada: /public_html/assets/style.css

  Uso visual:
  - Logo/emblema recomendado: /imag/mipais-emblema.png
  - Marca textual: MiPaís
  - Dominio/plataforma: MiPaís.app
*/

:root{
  --mp-blue:#073f8c;
  --mp-blue-2:#0b57b8;
  --mp-dark:#07162c;
  --mp-gold:#e6b325;
  --mp-gold-2:#ffd24a;
  --mp-red:#d92332;
  --mp-bg:#f4f7fb;
  --mp-card:#ffffff;
  --mp-line:#dbe4f2;
  --mp-line-2:#e8eef8;
  --mp-text:#132033;
  --mp-muted:#667085;
  --mp-soft:#fbfcff;
  --font-title:'Montserrat', Arial, Helvetica, sans-serif;
  --font-body:'Inter', Arial, Helvetica, sans-serif;
  --shadow-soft:0 14px 35px rgba(11,31,66,.08);
  --shadow-hover:0 18px 42px rgba(11,31,66,.13);
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:12px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:var(--font-body);
  background:var(--mp-bg);
  color:var(--mp-text);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

a{
  color:inherit;
}

img{
  max-width:100%;
  height:auto;
}

.header{
  background:linear-gradient(135deg,var(--mp-dark),var(--mp-blue) 56%,#7d224a);
  color:#fff;
  padding:24px 22px 76px;
  position:relative;
  overflow:hidden;
}

.header::after{
  content:"";
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-48px;
  height:88px;
  background:rgba(255,255,255,.11);
  transform:rotate(-2.5deg);
}

.nav{
  width:min(1180px,100%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position:relative;
  z-index:2;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-title);
  font-size:28px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.7px;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
}

.logo span:not(.brand-word),
.gold{
  color:var(--mp-gold-2);
}

.logo img,
.logo-mark{
  width:54px;
  height:54px;
  object-fit:contain;
  border-radius:50%;
  flex:0 0 auto;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.22));
}

.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  flex-wrap:wrap;
}

.menu a{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:15px;
  opacity:.95;
  transition:opacity .16s ease, transform .16s ease;
}

.menu a:hover{
  opacity:1;
  transform:translateY(-1px);
}

.hero{
  width:min(1180px,100%);
  margin:56px auto 0;
  text-align:center;
  position:relative;
  z-index:2;
}

.hero::before{
  content:"";
  position:absolute;
  right:-34px;
  top:-34px;
  width:min(430px,45vw);
  aspect-ratio:1/1;
  background:url('/imag/mipais-emblema.png') center/contain no-repeat;
  opacity:.10;
  filter:drop-shadow(0 18px 40px rgba(0,0,0,.25));
  pointer-events:none;
}

.tag,
.hero-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  color:#fff4ce;
  font-weight:800;
}

h1,
h2,
h3,
h4,
.logo,
.btn,
.section-title{
  font-family:var(--font-title);
}

h1{
  font-size:clamp(42px,7vw,78px);
  line-height:.96;
  margin:22px 0 16px;
  letter-spacing:-2.4px;
}

.lema{
  max-width:980px;
  margin:0 auto;
  font-size:clamp(18px,2.25vw,27px);
  line-height:1.35;
  font-weight:800;
  color:#fff;
}

.human-copy,
.sub{
  max-width:940px;
  margin:18px auto 0;
  font-size:1.08rem;
  line-height:1.75;
  color:rgba(255,255,255,.92);
}

.actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:14px 20px;
  border-radius:999px;
  border:0;
  text-decoration:none;
  cursor:pointer;
  font-weight:900;
  line-height:1.1;
  transition:transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary,
.btnPrimary{
  background:var(--mp-gold-2);
  color:var(--mp-dark);
  box-shadow:0 12px 26px rgba(230,179,37,.25);
}

.btn-secondary,
.btnSecondary{
  background:rgba(255,255,255,.12);
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
}

.main{
  width:min(1180px,100%);
  margin:-42px auto 48px;
  padding:0 20px;
  position:relative;
  z-index:3;
}

.panel{
  background:var(--mp-card);
  border:1px solid var(--mp-line);
  border-radius:var(--radius-lg);
  padding:24px;
  box-shadow:var(--shadow-soft);
  margin-bottom:18px;
}

.section-title{
  font-size:clamp(28px,4vw,42px);
  line-height:1.05;
  margin:0 0 12px;
  color:var(--mp-dark);
  letter-spacing:-1.1px;
}

.lead{
  font-size:18px;
  line-height:1.7;
  color:#344054;
  margin:0;
  max-width:1040px;
}

.quote{
  margin-top:20px;
  padding:18px 20px;
  border-left:5px solid var(--mp-gold);
  border-radius:var(--radius-md);
  background:#fff9df;
  color:#2f260b;
  font-weight:900;
  line-height:1.55;
}

.notice{
  margin-top:16px;
  padding:16px 18px;
  border:1px solid #f3d16b;
  border-radius:var(--radius-md);
  background:#fff8df;
  color:#3d3010;
  line-height:1.55;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:22px;
}

.card{
  background:var(--mp-soft);
  border:1px solid var(--mp-line-2);
  border-radius:20px;
  padding:20px;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.card:hover{
  transform:translateY(-2px);
  border-color:#cbd9ee;
  box-shadow:0 12px 28px rgba(11,31,66,.07);
}

.card h3{
  margin:0 0 8px;
  color:var(--mp-blue);
  font-size:20px;
  line-height:1.18;
}

.card p{
  margin:0;
  color:#536075;
  line-height:1.58;
}

/* Formularios */

.form{
  display:grid;
  gap:18px;
  margin-top:22px;
}

.row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.field{
  display:grid;
  gap:7px;
}

label{
  font-weight:800;
  color:#172b4d;
}

input,
select,
textarea{
  width:100%;
  border:1px solid #ccd6e5;
  border-radius:14px;
  padding:13px 14px;
  font:inherit;
  background:#fff;
  color:var(--mp-text);
  outline:none;
  transition:border-color .16s ease, box-shadow .16s ease;
}

textarea{
  resize:vertical;
  min-height:140px;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--mp-blue-2);
  box-shadow:0 0 0 4px rgba(11,87,184,.10);
}

.small{
  margin:0;
  color:var(--mp-muted);
  font-size:13px;
  line-height:1.45;
}

.honeypot{
  display:none !important;
}

.checkbox-line,
.consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:14px;
  border:1px solid var(--mp-line-2);
  border-radius:16px;
  background:var(--mp-soft);
  line-height:1.5;
}

.checkbox-line input,
.consent input{
  width:auto;
  margin-top:3px;
}

/* Tarjetas de participación de index/opina */

.aporte-grid,
.aporte-selector{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:26px;
}

.aporte-card,
.aporte-option{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border:1px solid var(--mp-line);
  border-radius:22px;
  padding:22px;
  box-shadow:0 14px 35px rgba(15,23,42,.07);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.aporte-card:hover,
.aporte-option:hover,
.aporte-option.active{
  transform:translateY(-4px);
  border-color:var(--mp-blue-2);
  box-shadow:var(--shadow-hover);
}

.aporte-option.active{
  background:linear-gradient(180deg,#fff,#f4f8ff);
}

.aporte-num{
  width:38px;
  height:38px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:linear-gradient(135deg,var(--mp-blue),#0b66d8);
  font-weight:900;
  margin-bottom:12px;
}

.aporte-card h3,
.aporte-option strong{
  display:block;
  margin:0 0 9px;
  color:#0b2f66;
  font-size:1.08rem;
  font-family:var(--font-title);
  font-weight:900;
}

.aporte-card p,
.aporte-option span{
  display:block;
  margin:0;
  color:#3f4f66;
  line-height:1.55;
  font-size:.96rem;
}

.trust-box{
  background:#fff8df;
  border:1px solid #f3d16b;
  border-radius:18px;
  padding:18px;
  margin:18px 0 26px;
  color:#3d3010;
  line-height:1.55;
}

.after-send,
.process{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:22px 0 26px;
}

.after-card,
.process-step{
  background:#f8fafc;
  border:1px solid var(--mp-line);
  border-radius:18px;
  padding:17px;
  line-height:1.5;
  color:#44546a;
}

.after-card strong,
.process-step h3{
  display:block;
  color:#0b2f66;
  margin:0 0 6px;
  font-family:var(--font-title);
}

.process{
  counter-reset:pasos;
}

.process-step::before{
  counter-increment:pasos;
  content:counter(pasos);
  display:inline-flex;
  width:32px;
  height:32px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  background:var(--mp-gold-2);
  color:#0b2f66;
  font-weight:900;
  margin-bottom:10px;
}

.final-cta{
  text-align:center;
  background:linear-gradient(135deg,#061b3d,#0a4fa8);
  color:#fff;
  border:0;
}

.final-cta .section-title,
.final-cta .lead{
  color:#fff;
}

.final-cta .lead{
  margin-left:auto;
  margin-right:auto;
}

.footer{
  background:var(--mp-dark);
  color:#dbe7ff;
  text-align:center;
  padding:30px 20px;
}

.footer p{
  margin:7px 0;
  line-height:1.5;
}

.credits{
  color:#9fb3d9;
  font-size:14px;
}

@media(max-width:980px){
  .nav{
    align-items:flex-start;
    flex-direction:column;
  }

  .menu{
    justify-content:flex-start;
    gap:12px 16px;
  }

  .hero{
    margin-top:44px;
  }

  .hero::before{
    right:-80px;
    top:20px;
    width:360px;
    opacity:.08;
  }

  .grid,
  .aporte-grid,
  .aporte-selector,
  .after-send,
  .process{
    grid-template-columns:1fr;
  }

  .row{
    grid-template-columns:1fr;
  }
}

@media(max-width:620px){
  .header{
    padding:20px 16px 68px;
  }

  .main{
    padding:0 14px;
  }

  .panel{
    padding:18px;
    border-radius:20px;
  }

  .logo{
    font-size:24px;
  }

  .logo img,
  .logo-mark{
    width:44px;
    height:44px;
  }

  h1{
    letter-spacing:-1.4px;
  }

  .menu a{
    font-size:14px;
  }
}

.brand-mark{width:54px;height:54px;object-fit:contain;border-radius:50%;filter:drop-shadow(0 8px 18px rgba(0,0,0,.22));}

/* Marca MiPaís: siempre una sola palabra visual y conceptual.
   Mi = blanco | País = dorado | sin subrayado */
.logo,
.brand,
.logo:hover,
.brand:hover,
.logo *,
.brand *{
  text-decoration:none !important;
}

.logo .brand-word,
.brand .brand-word,
.brand-word{
  display:inline-block;
  font-family:var(--font-title);
  font-weight:900;
  letter-spacing:-.7px;
  line-height:1;
  white-space:nowrap;
  text-decoration:none !important;
  background:linear-gradient(90deg,#ffffff 0 34%, var(--mp-gold-2) 34% 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent !important;
}

.logo .brand-word:hover,
.brand .brand-word:hover{
  text-decoration:none !important;
}

