/* ============================
   Empate USA Landing - style.css
   Minimal, corporate + human
   ============================ */

/* --------- CSS Reset (light) --------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* --------- Brand Tokens --------- */
/* Note: Replace these with exact manual values if you want */
:root{
  --bg: #ffffff;
  --text: #0f172a;        /* slate-ish */
  --muted: #5b6475;
  --line: rgba(15, 23, 42, 0.10);

  --green-900: #0B5E3C;   /* Empate green (approx) */
  --green-700: #0F6D45;
  --green-200: rgba(11, 94, 60, 0.12);

  --alt: #f5f7f8;         /* soft section bg */
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.12);

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --container: 1120px;
}

/* --------- Typography --------- */
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

h1, h2, h3{
  margin: 0 0 12px 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1{ font-size: clamp(34px, 4.2vw, 56px); }
h2{ font-size: clamp(26px, 3vw, 40px); }
h3{ font-size: 20px; }

p{ margin: 0 0 14px 0; color: var(--text); }
.lead{ font-size: 18px; color: var(--muted); max-width: 58ch; margin: 0 auto; }
.tiny{ font-size: 12px; }
.small-note{ font-size: 14px; color: var(--muted); margin-top: 14px; }
.muted{ color: var(--muted); }

/* --------- Layout Helpers --------- */
.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.narrow{ max-width: 860px; }
.section{ padding: 86px 0; }
.section-alt{ background: var(--alt); }
.section-green{
  background: linear-gradient(180deg, rgba(11,94,60,0.95), rgba(11,94,60,0.92));
  color: #fff;
}
.section-green h2,
.section-green p,
.section-green li{ color: #fff; }

.center{ text-align: center; margin-bottom: 36px; }

.grid{
  display: grid;
  gap: 48px;
  align-items: center;
}

.two-col{
  grid-template-columns: 1.05fr 0.95fr;
}

.two-col.reverse{
  grid-template-columns: 0.95fr 1.05fr;
}

.media-img{
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.eyebrow{
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-900);
  margin: 0 0 12px 0;
}
.eyebrow.light{ color: rgba(255,255,255,0.85); }

/* --------- Buttons --------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm{ padding: 10px 14px; font-size: 13px; }

.btn-primary{
  background: var(--green-900);
  color: #fff;
}

.btn-primary:hover{ background: var(--green-700); transform: translateY(-1px); }

.btn-ghost{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.btn-ghost:hover{ background: rgba(255,255,255,0.16); transform: translateY(-1px); }

/* --------- Header --------- */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand-logo{ height: 34px; width: auto; }

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo{
  height: 44px;   /* antes 34px */
  width: auto;
}

.brand-text{
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link{
  font-size: 14px;
  font-weight: 650;
  color: rgba(255,255,255,0.88);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background 180ms ease;
}
.nav-link:hover{ background: rgba(255,255,255,0.10); }

.header-cta{ display: inline-flex; }

/* Mobile nav toggle */
.nav-toggle{
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  border-radius: 12px;
}
.nav-toggle:hover{ background: rgba(255,255,255,0.10); }
.nav-toggle-bar{
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
}

/* Mobile menu panel */
.mobile-nav{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto 14px auto;
  padding: 14px;
  background: rgba(0,0,0,0.40);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
}

.mobile-link{
  display: block;
  padding: 12px 10px;
  color: rgba(255,255,255,0.92);
  font-weight: 650;
  border-radius: 12px;
}
.mobile-link:hover{ background: rgba(255,255,255,0.10); }
.mobile-cta{ width: 100%; margin-top: 10px; }

/* --------- Hero --------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding-top: 74px; /* space for fixed header */
  overflow: hidden;
}

.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 30% 30%, rgba(0,0,0,0.25), rgba(0,0,0,0.55)),
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}

.hero-inner{
  position: relative;
  z-index: 2;
  text-align: left;
  color: #fff;
  padding: 40px 0;
}

.hero-title{
  max-width: 18ch;
  color: #fff;
}

.hero-subtitle{
  max-width: 58ch;
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  margin-top: 14px;
}

.hero-actions{
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

/* --------- Program checklist --------- */
.checklist{
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.checklist li{
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-900);
  font-weight: 900;
}

/* --------- Vision bullets --------- */
.bullets{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bullets li{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

/* --------- Cards --------- */
.cards{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card p{ color: var(--muted); }

/* --------- CTA band --------- */
.cta-band{
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px;
  border-radius: var(--radius-xl);
  background: rgba(11,94,60,0.08);
  border: 1px solid rgba(11,94,60,0.18);
}

.cta-band h3{ margin-bottom: 6px; }
.cta-band p{ margin: 0; color: var(--muted); }

/* --------- Contact box --------- */
.contact-box{
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 18px;
}

.contact-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child{ border-bottom: 0; }

.label{
  font-weight: 800;
  color: var(--text);
}

.value{
  color: var(--muted);
  text-align: right;
}

/* --------- Footer --------- */
.footer{
  background: #062f20;
  color: rgba(255,255,255,0.86);
  padding: 26px 0;
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-logo{ height: 34px; width: auto; opacity: 0.95; }
.footer-text{ margin: 10px 0 0 0; color: rgba(255,255,255,0.78); }

.footer-right{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link{
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  padding: 8px 10px;
  border-radius: 999px;
}
.footer-link:hover{ background: rgba(255,255,255,0.10); }

/* --------- Responsive --------- */
@media (max-width: 980px){
  .two-col,
  .two-col.reverse{
    grid-template-columns: 1fr;
  }

  .hero-inner{ text-align: left; }
  .cards{ grid-template-columns: 1fr; }

  .cta-band{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px){
  .nav{ display: none; }
  .header-cta{ display: none; }
  .nav-toggle{ display: inline-flex; }

  .section{ padding: 70px 0; }
  .hero{ min-height: 88vh; }
}

@media (max-width: 520px){
  .container{ width: calc(100% - 34px); }
  .hero-title{ max-width: 16ch; }
  .hero-subtitle{ font-size: 16px; }
  .btn{ width: 100%; }
  .hero-actions{ width: 100%; }
  .contact-row{ flex-direction: column; align-items: flex-start; }
  .value{ text-align: left; }
}

/* --------- Accessibility: reduce motion --------- */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
}

/* PARTNERS */

.section-header.center{
  text-align:center;
  max-width:720px;
  margin:0 auto 50px auto;
}

.section-sub{
  color:var(--muted);
  margin-top:10px;
}

/* ===== PARTNERS GRID RESPONSIVE FIX ===== */

.partners-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap:24px;
  align-items:center;
}

.partner-card{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:28px;
}

.partner-card img{
  max-width:100%;
  max-height:60px;
  object-fit:contain;
}

.partner-logo{
  background:#fff;
  border-radius:14px;
  padding:28px;
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow:0 8px 24px rgba(0,0,0,0.04);
  transition:0.25s ease;
}

.partner-logo:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(0,0,0,0.06);
}



.partner-logo img{
  max-width:140px;
  max-height:60px;
  opacity:0.7;
  filter:grayscale(100%);
}

.partner-logo:hover img{
  opacity:1;
  filter:none;
}




/* ===== MOBILE HAMBURGER (FORZADO) + DROPDOWN VISIBLE ===== */
@media (max-width: 860px){

  /* Asegura que el header permita mostrar el dropdown */
  .site-header{ overflow: visible; }

  /* Botón hamburguesa visible y clickeable */
  .nav-toggle{
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border: 0;
    background: transparent;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 9999; /* por encima del hero */
    -webkit-tap-highlight-color: transparent;
  }

  /* NO dependemos de los spans: dibujamos 3 líneas con pseudo-elementos */
  .nav-toggle::before,
  .nav-toggle::after{
    content: "";
    position: absolute;
    left: 50%;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .nav-toggle::before{ top: 14px; }
  .nav-toggle::after{ bottom: 14px; }

  /* Línea del medio usando un span (si está) */
  .nav-toggle .nav-toggle-bar{
    display: block !important;
    width: 26px !important;
    height: 3px !important;
    background: #fff !important;
    border-radius: 999px !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Si hay 3 spans, ocultamos 1ro y 3ro para que no “dupliquen” líneas */
  .nav-toggle .nav-toggle-bar:first-child,
  .nav-toggle .nav-toggle-bar:last-child{
    display: none !important;
  }

  /* Dropdown: que aparezca debajo del header fijo */
  .mobile-nav{
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    width: min(var(--container), calc(100% - 24px));
  }
}