:root{
  --brand-1:#0b1f3a;
  --brand-2:#1e3a5f;
  --brand-3:#3b82c4;

  --bg:#f5f7fa;
  --panel:#ffffff;
  --text:#1c2430;
  --muted:#6b7280;

  --danger:#b91c1c;
  --border:#e5e7eb;
  --radius:16px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #eef2f7 0%, #f5f7fa 100%);
  color:var(--text);
}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:40px 24px 80px;
}

ul{ padding-left:18px; margin:12px 0 0; }
li{ margin:8px 0; color:#374151; }

footer{
  margin-top:100px;
  font-size:14px;
  color:var(--muted);
}
footer a{
  color:var(--brand-2);
  text-decoration:underline;
}

/* ===== Botones base (index) ===== */
.btn{
  padding:14px 22px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  color:white;
  background:linear-gradient(135deg,var(--brand-2),var(--brand-1));
  box-shadow:0 10px 30px rgba(11,31,58,.25);
  transition:transform .15s ease, box-shadow .15s ease;
  display:inline-block;
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 40px rgba(11,31,58,.35);
}
.secondary{
  background:none;
  color:var(--brand-1);
  border:2px solid var(--brand-1);
  box-shadow:none;
}
.secondary:hover{
  background:rgba(11,31,58,.05);
}

/* ===== Header (index y común) ===== */
.site-header{
  background:#ffffff;
  padding:20px 30px;
  box-shadow:0 4px 15px rgba(0,0,0,0.05);
  margin-bottom:60px;
}
.header-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  gap:16px;
}
.site-header .header-buttons{
  display:flex;
  gap:16px;
  margin-left:auto;
}

/* Marca (usa .site-brand en HTML) */
.site-header .site-brand{
  font-weight:900;
  font-size:2rem;
  letter-spacing:1px;
  text-transform:uppercase;
  line-height:1;
  background:linear-gradient(90deg,var(--brand-1),var(--brand-2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* ===== Hero (index) ===== */
.hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:48px;
  align-items:center;
  margin-top:40px;
  margin-bottom:80px;
}

@media(max-width:900px){
  .hero{
    grid-template-columns:1fr;
    text-align:center;
  }
}

h1{
  font-size:42px;
  line-height:1.15;
  margin:0 0 20px;
}
.lead{
  font-size:20px;
  color:var(--muted);
  line-height:1.6;
  margin-bottom:32px;
}

.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:flex-start;
}
@media(max-width:900px){
  .hero-actions{ justify-content:center; }
}

.hero-logo{
  height:130px;
  margin-bottom:10px;
}

.about-text{
  color:var(--muted);
  font-size:15px;
  line-height:1.4;
}

/* Media card video */
.media-card{
  max-width:460px;
  padding:26px;
  text-align:center;
  border-radius:var(--radius);
  background:var(--panel);
  box-shadow:0 16px 50px rgba(0,0,0,.07);
}

.video-frame.horizontal{
  width:360px;
  height:203px;
  margin:0 auto 18px;
  background:#f5f7fa;
  border-radius:18px;
  position:relative;
  overflow:hidden;
}

.intro-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.play-audio-btn{
  position:absolute;
  right:14px;
  bottom:14px;
  padding:10px 14px;
  border-radius:14px;
  border:0;
  font-weight:900;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(135deg,var(--brand-2),var(--brand-1));
  box-shadow:0 12px 30px rgba(11,31,58,.28);
}

/* ===== Header responsive (móvil) ===== */
@media (max-width: 720px){
  .site-header{ padding:14px 16px; }
  .header-inner{
    flex-direction:column;
    align-items:center;
    gap:12px;
    text-align:center;
  }
  .site-header .site-brand{ font-size:1.6rem; }
  .site-header .header-buttons{
    width:100%;
    margin-left:0;
    gap:10px;
  }
  .site-header .header-buttons .btn{
    flex:1;
    text-align:center;
    padding:12px 10px;
    border-radius:12px;
    font-size:0.95rem;
    white-space:normal;
    line-height:1.15;
    min-height:44px;
  }
  .site-header .header-buttons .btn.secondary{
    opacity:0.95;
  }
}
