:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#1f2937;
  --line:#e2e8f0;
  --brand:#1f5f46;
  --brand2:#2b6cb0;
  --radius:18px;
  --max:1150px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
a{color:#14532d; text-decoration:none; font-weight:650}
a:hover{color:#1e40af;}
a:hover{opacity:.9}
img{max-width:100%; height:auto; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.hr{height:1px; background:var(--line); margin:34px 0}
.muted{color:var(--muted)}
.small{font-size:.95rem}
.kicker{letter-spacing:.08em; text-transform:uppercase; font-size:.82rem; color:var(--muted)}
.h1{font-size:clamp(2rem, 5vw, 3.6rem); line-height:1.06; margin:0}
.h2{font-size:clamp(1.5rem, 3vw, 2.2rem); margin:0 0 12px}
.h3{font-size:1.2rem; margin:0 0 8px}
.lead{font-size:1.1rem; color:var(--muted); margin:14px 0 0}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.10);
  color:#fff;
  padding:12px 16px;
  border-radius:999px;
  font-weight:600;
  gap:10px;
  backdrop-filter: blur(6px);
}
.btn.dark{
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  backdrop-filter:none;
}
.btn.dark:hover{background:#f8fafc}
.btn:active{transform:translateY(1px)}

.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(226,232,240,.7);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; height:66px}
.brand{display:flex; align-items:center; gap:12px; min-width:190px}
.brand img{height:40px; width:auto}
.nav{display:flex; align-items:center; gap:18px}
.nav a{
  padding:8px 10px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
}
.nav a.active{color:var(--text); background:#f1f5f9}
.lang{
  display:flex; align-items:center; gap:8px; margin-left:10px;
  border-left:1px solid var(--line); padding-left:12px;
}
.lang a{padding:6px 10px; border-radius:999px; color:var(--muted); font-weight:700}
.lang a.active{background:#0f172a; color:#fff}

.burger{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  width:42px; height:42px;
  border-radius:999px;
  align-items:center; justify-content:center;
}
.burger svg{width:20px; height:20px; color:var(--text)}
.mobile{
  display:none;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.mobile a{
  display:block;
  padding:14px 20px;
  border-top:1px solid #f1f5f9;
  color:var(--muted);
  font-weight:700;
}
.mobile a.active{color:var(--text)}
.mobile .lang-row{display:flex; gap:10px; padding:14px 20px; border-top:1px solid #f1f5f9}
.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding:10px 14px; border:1px solid var(--line);
  border-radius:999px; background:#fff;
  color:var(--muted); font-weight:700;
}
.pill.active{background:#1f5f46; color:#ffffff; border-color:#0f172a}

.hero{
  position:relative;
  color:#fff;
  min-height:420px;
  display:flex;
  align-items:center;
}
.hero.full{min-height:calc(100vh - 66px)}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(12,26,20,.84), rgba(15,23,42,.35) 55%, rgba(15,23,42,.18)),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.28));
}
.hero .bg{
  position:absolute; inset:0;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  filter:saturate(1.05) contrast(1.02);
}
.hero .content{position:relative; padding:56px 0}
.hero .actions{margin-top:22px; display:flex; gap:12px; flex-wrap:wrap}

.scroll-hint{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  opacity:.85;
  font-size:.95rem;
  display:flex; align-items:center; gap:8px;
}
.scroll-hint svg{width:18px; height:18px}

.section{padding:56px 0}
.grid-2{display:grid; grid-template-columns:1.1fr .9fr; gap:28px; align-items:start}
.cards{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:#fff;
}
.card p{margin:0; color:var(--muted)}
.bullets{margin:12px 0 0; padding-left:18px; color:var(--muted)}
.bullets li{margin:6px 0}
.banner{
  background:#f1f5f9;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px 16px;
  color:var(--muted);
  font-weight:700;
  display:inline-block;
}

.form{display:grid; gap:12px}
.field label{display:block; font-weight:700; margin:0 0 6px}
.field input,.field select,.field textarea{
  width:100%;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  font-size:1rem;
  outline:none;
}
.field textarea{min-height:140px; resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#94a3b8}

.footer{border-top:1px solid var(--line); padding:28px 0; color:var(--muted)}
.footer .row{display:flex; gap:18px; flex-wrap:wrap; align-items:center; justify-content:space-between}
.footer .links{display:flex; gap:14px; flex-wrap:wrap}

@media (max-width: 920px){
  .nav{display:none}
  .burger{display:flex}
  .grid-2{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .hero::before{
    background:
      linear-gradient(180deg, rgba(15,23,42,.74), rgba(15,23,42,.28) 60%, rgba(15,23,42,.18)),
      linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.25));
  }
}

.btn{
  border-color:#1f5f46;
}
.btn:hover{
  background:#1f5f46;
  border-color:#1f5f46;
}
.btn.dark:hover{
  background:#2b6cb0;
  color:#ffffff;
  border-color:#2b6cb0;
}


/* Hero readability overrides */
.hero .kicker{color:rgba(255,255,255,.86)!important}
.hero .lead{color:rgba(255,255,255,.92)!important}
.hero .btn{border-color:rgba(255,255,255,.70)}
.hero .btn:hover{background:rgba(255,255,255,.18)}


/* Mobile-first layout tweaks */
@media (max-width: 720px){
  .hero{min-height: 52vh !important;}
  .hero.full{min-height: 56vh !important;}
  .hero .content{padding-top: 16px !important; padding-bottom: 12px !important;}
  .hero .h1{font-size: 32px !important; line-height: 1.12 !important;}
  .hero .lead{font-size: 16px !important;}
  .hero .actions{gap: 10px !important; flex-direction: column !important; align-items: stretch !important;}
  .hero .actions .btn{width: 100% !important; justify-content:center !important;}
  .section{padding: 18px 0 !important;}
  .card{padding: 16px !important;}
  .header-inner{padding: 10px 0 !important;}
}


/* Reduce hero height slightly on larger screens too */
@media (min-width: 721px){
  .hero{min-height: 58vh;}
  .hero.full{min-height: 62vh;}
}


/* Mini-hero option: keep the hero compact so key actions are visible without scrolling */
@media (max-width: 720px){
  .hero{min-height: 30vh !important;}
  .hero.full{min-height: 34vh !important;}
  .hero .content{padding-top: 10px !important; padding-bottom: 8px !important;}
  .hero .kicker{display:none !important;} /* reduce noise on small screens */
  .hero .h1{font-size: 26px !important; line-height: 1.12 !important; margin-top: 2px !important;}
  .hero .lead{font-size: 15px !important; margin-top: 6px !important;}
  .hero .actions{margin-top: 10px !important;}
}
@media (min-width: 721px){
  .hero{min-height: 38vh;}
  .hero.full{min-height: 42vh;}
}


/* Hide scroll hint (mini-hero already shows content) */
.scroll-hint{display:none !important;}


/* Ultra mini-hero: prioritize navigation + actions above the fold */
@media (max-width: 720px){
  .hero{min-height: 22vh !important; max-height: 24vh !important;}
  .hero.full{min-height: 24vh !important; max-height: 26vh !important;}
  .hero .content{padding-top: 8px !important; padding-bottom: 6px !important;}
  .hero .lead{display:none !important;} /* keep it tight on phones */
}
@media (min-width: 721px){
  .hero{min-height: 30vh !important; max-height: 34vh !important;}
  .hero.full{min-height: 32vh !important; max-height: 36vh !important;}
}
/* ===== EVV Home Form Enhancement ===== */

.evv-card{
  border:2px solid var(--brand);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.evv-card .h2{
  font-size:22px;
  margin-bottom:14px;
}

.evv-input{
  padding:12px 12px;
  font-size:16px;
  border-radius:10px;
  border:2px solid #94a3b8;
  background:#ffffff;
  transition: all .2s ease;
  width:30ch;           /* ancho aproximado a 30 caracteres */
  max-width:100%;
}

.evv-input:focus{
  outline:none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(16,185,129,.18);
}

/* Placeholder styling */
.evv-input::placeholder{
  color:#9ca3af;        /* más opaco */
  opacity:1;            /* consistente en todos los navegadores */
  font-style:italic;    /* ayuda a indicar que es ejemplo */
}
.evv-btn{
  width:100%;
  padding:16px;
  font-size:18px;
  border-radius:14px;
  font-weight:700;
}
