:root{
  --soleec-blue:#2d4399;
  --soleec-blue-2:#3858b8;
  --soleec-cyan:#18a9d9;
  --soleec-cyan-soft:#eaf8fd;
  --soleec-navy:#0f1830;
  --soleec-navy-2:#0b1428;
  --soleec-ink:#17213a;
  --soleec-muted:#66728a;
  --soleec-bg:#f5f8fc;
  --soleec-card:#fff;
  --soleec-line:#dce5f1;
  --soleec-shadow:0 18px 50px rgba(24,43,91,.10);
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--soleec-ink);
  background:radial-gradient(circle at 15% 0%,rgba(24,169,217,.10),transparent 28rem),linear-gradient(180deg,#f8fbff 0%,var(--soleec-bg) 100%);
  line-height:1.7;
}
a{color:var(--soleec-blue);text-underline-offset:3px}
a:hover{color:var(--soleec-cyan)}
img{max-width:100%;display:block}
.container{width:min(calc(100% - 36px),var(--max));margin-inline:auto}

/* Encabezado: logotipo centrado */
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(45,67,153,.12);
}
.header-logo-row{display:flex;justify-content:center;align-items:center;padding:14px 0 8px}
.brand-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.brand-logo{width:min(330px,72vw);height:auto}
.header-nav-row{display:flex;justify-content:center;padding:0 0 10px}
.nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.nav a{text-decoration:none;font-weight:750;color:var(--soleec-navy);padding:10px 14px;border-radius:10px}
.nav a:hover,.nav a[aria-current="page"]{background:var(--soleec-cyan-soft);color:var(--soleec-blue)}

.hero{padding:58px 0 38px}
.hero-grid{display:grid;grid-template-columns:1.22fr .78fr;gap:34px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:9px;border:1px solid #c7eaf7;background:#eefaff;color:#05779f;border-radius:999px;padding:7px 12px;font-weight:800;font-size:.9rem;letter-spacing:.02em}
h1,h2,h3{line-height:1.16;color:var(--soleec-navy)}
h1{font-size:clamp(2.35rem,5.4vw,4.8rem);letter-spacing:-.045em;margin:18px 0 20px}
h2{font-size:clamp(1.65rem,3vw,2.35rem);margin:0 0 16px}
h3{font-size:1.15rem;margin:0 0 8px}
.lead{font-size:clamp(1.08rem,1.8vw,1.3rem);color:#46536d;max-width:760px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:12px;text-decoration:none;font-weight:800;border:1px solid transparent}
.btn-primary{color:#fff;background:linear-gradient(135deg,var(--soleec-blue),var(--soleec-blue-2));box-shadow:0 10px 26px rgba(45,67,153,.20)}
.btn-primary:hover{color:#fff;filter:brightness(1.05)}
.btn-secondary{color:var(--soleec-blue);background:#fff;border-color:#cfdaf0}
.notice{margin-top:22px;border:1px solid #bfe6f5;border-left:5px solid var(--soleec-cyan);background:linear-gradient(135deg,#f2fbff,#fff);border-radius:16px;padding:20px 22px}
.notice strong{color:var(--soleec-blue)}
code{background:#edf2f8;border:1px solid #e0e7f0;padding:2px 7px;border-radius:7px;font-size:.94em;word-break:break-word}
.video-card{position:relative;border:1px solid #d7e4f4;background:#081127;border-radius:24px;overflow:hidden;box-shadow:var(--soleec-shadow);aspect-ratio:16/9}
.video-card video{width:100%;height:100%;display:block;object-fit:cover;background:#081127}
.video-caption{position:absolute;left:14px;right:14px;bottom:12px;color:#fff;font-size:.78rem;font-weight:750;text-shadow:0 2px 8px rgba(0,0,0,.65);pointer-events:none}

.section{padding:28px 0 64px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--soleec-card);border:1px solid var(--soleec-line);border-radius:20px;padding:24px;box-shadow:0 10px 30px rgba(26,47,91,.06)}
.icon-chip{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#eefaff,#e8ecfb);color:var(--soleec-blue);font-weight:900;margin-bottom:16px}

.legal-wrap{padding:52px 0 70px}
.legal-card{background:#fff;border:1px solid var(--soleec-line);border-radius:24px;box-shadow:var(--soleec-shadow);overflow:hidden}
.legal-head{padding:32px 34px 24px;background:linear-gradient(135deg,rgba(45,67,153,.98),rgba(24,169,217,.92));color:#fff}
.legal-head h1{color:#fff;font-size:clamp(2rem,4vw,3.2rem);margin:0 0 8px}
.legal-head p{margin:0;color:#eaf7ff}
.legal-body{padding:34px}
.legal-body h2{margin-top:34px;padding-top:4px;color:var(--soleec-blue);font-size:1.55rem}
.legal-body h2:first-of-type{margin-top:8px}
.legal-body p,.legal-body li{font-size:1.04rem}
.small{font-size:.92rem;color:var(--soleec-muted)}

/* Pie SOLEEC definitivo: igual al diseño aprobado */
.site-footer{
  background:linear-gradient(180deg,#111b38 0%,#0d1731 100%);
  color:#eef4ff;
}
.footer-row{
  min-height:184px;
  padding:26px 0;
  display:grid;
  grid-template-columns:38% 27% 35%;
  gap:0;
  align-items:center;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:16px;
  padding-right:34px;
  min-width:0;
}
.footer-brand img{
  width:64px;
  height:64px;
  flex:0 0 64px;
  object-fit:contain;
  background:#fff;
  border-radius:6px;
  padding:2px;
}
.footer-title{
  font-weight:850;
  color:#fff;
  font-size:1.18rem;
  letter-spacing:.01em;
  line-height:1.2;
}
.footer-sub{
  color:#b8c5db;
  font-size:.91rem;
  line-height:1.45;
  margin-top:5px;
}
.footer-contacts{
  align-self:stretch;
  border-left:1px solid rgba(188,207,239,.24);
  border-right:1px solid rgba(188,207,239,.24);
  padding:0 38px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  min-width:0;
}
.footer-contact{
  display:flex;
  align-items:center;
  gap:14px;
  color:#f8fbff;
  text-decoration:none;
  font-weight:780;
  font-size:1rem;
  min-width:0;
}
.footer-contact:hover{color:#fff}
.footer-contact img{
  width:34px;
  height:34px;
  flex:0 0 34px;
  object-fit:contain;
}
.footer-contact .mail-icon{
  width:28px;
  height:28px;
  flex-basis:28px;
  padding:1px;
}
.footer-contact span{
  color:#f8fbff;
  overflow-wrap:anywhere;
}
.footer-links{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  justify-content:flex-end;
  padding-left:38px;
}
.footer-links a{
  color:#f1f5ff;
  text-decoration:none;
  white-space:nowrap;
  font-size:.95rem;
  font-weight:500;
}
.footer-links a:hover{
  color:#fff;
  text-decoration:underline;
}

@media(max-width:900px){
  .site-header{position:static}
  .hero{padding-top:38px}
  .hero-grid,.grid-3{grid-template-columns:1fr}
  .video-card{max-width:720px;width:100%;margin-inline:auto}
  .footer-row{grid-template-columns:1fr;gap:0;padding:28px 0}
  .footer-brand{padding:0 0 22px;border-bottom:1px solid rgba(190,211,245,.18)}
  .footer-contacts{padding:22px 0;border-left:0;border-right:0;border-bottom:1px solid rgba(190,211,245,.18)}
  .footer-links{padding:22px 0 0;justify-content:flex-start}
}
@media(max-width:520px){
  .container{width:min(calc(100% - 24px),var(--max))}
  .brand-logo{width:min(300px,88vw)}
  .nav{gap:2px}.nav a{font-size:.93rem;padding:8px 9px}
  .hero{padding-bottom:26px}
  .card,.legal-body{padding:22px}
  .legal-head{padding:26px 22px 22px}
  .footer-brand{align-items:flex-start}.footer-brand img{width:62px;height:62px}
  .footer-contact{font-size:.96rem}.footer-contact img{width:31px;height:31px;flex-basis:31px}
  .footer-links{display:grid;grid-template-columns:1fr;gap:10px}
}
