:root {
  --bg: #ffffff; --surface: #f5f7fa; --text: #0f172a; --muted: #475569; --line: #d8e0ea;
  --accent: #0F4C81; --accent-2: #0f766e; --white: #ffffff; --shadow: 0 12px 30px rgba(15,23,42,.08);
  --radius: 20px; --max: 1180px;
}
* { box-sizing:border-box; } html { scroll-behavior:smooth; }
body { margin:0; font-family:Inter, Arial, sans-serif; color:var(--text); background:var(--bg); line-height:1.6; }
a { color:inherit; text-decoration:none; } img{max-width:100%;display:block;} .container{width:min(100% - 2rem, var(--max));margin:0 auto;}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

/* 🔥 HEADER CORREGIDO PARA LOGO */
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:96px;
  gap:1.2rem;
}

/* 🔥 BRAND CORREGIDO */
.brand{
  display:flex;
  align-items:center;
  gap:1rem;
  min-width:0;
}

/* 🔥 LOGO */
.brand-mark{
  width:140px;
  height:72px;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border-radius:0;
  overflow:visible;
}

.brand-mark img{
  width:100%;
  height:auto;
  max-height:72px;
  object-fit:contain;
  display:block;
}

/* texto (si lo mantienes) */
.brand strong{
  display:block;
  font-size:1rem;
  line-height:1.2;
}

.brand span{
  display:block;
  color:var(--muted);
  font-size:.85rem;
  line-height:1.2;
}

/* resto sin cambios */
.site-nav{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;justify-content:flex-end;}
.nav-link{padding:.7rem .95rem;border-radius:999px;color:var(--muted);font-weight:600;font-size:.96rem;}
.nav-link:hover,.nav-link.active{background:var(--surface);color:var(--text);}
.lang-switch{display:inline-flex;align-items:center;gap:.4rem;margin-left:.5rem;padding-left:.8rem;border-left:1px solid var(--line);}
.lang{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:36px;border-radius:999px;border:1px solid var(--line);font-size:.85rem;font-weight:700;}
.lang.active{background:var(--text);color:#fff;border-color:var(--text);}
.lang.disabled{opacity:.45;cursor:not-allowed;}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:12px;width:46px;height:46px;font-size:1.3rem;}

.hero{padding:5rem 0 4rem;background:radial-gradient(circle at top right, rgba(15,76,129,.1), transparent 30%), linear-gradient(180deg,#fff,#f8fafc 100%);}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:2rem;align-items:center;}
.eyebrow{display:inline-flex;padding:.45rem .75rem;border-radius:999px;background:var(--surface);color:var(--accent);font-size:.84rem;font-weight:700;letter-spacing:.02em;}

h1,h2,h3,h4{line-height:1.15;margin:0 0 1rem;letter-spacing:-.02em;}
h1{font-size:clamp(2.5rem, 5vw, 4.6rem);max-width:12ch;}
h2{font-size:clamp(2rem,3.4vw,3.2rem);}
h3{font-size:1.4rem;}

.lead{font-size:1.12rem;color:var(--muted);max-width:62ch;}

.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 1.25rem;border-radius:999px;font-weight:700;border:1px solid transparent;transition:transform .18s ease, background .18s ease;}
.button:hover{transform:translateY(-1px);}
.button-primary{background:var(--accent);color:#fff;}
.button-secondary{border-color:var(--line);background:#fff;}

.section{padding:5rem 0;}
.section-header{max-width:780px;margin:0 auto 2rem;text-align:center;}

.site-footer{background:#0b1220;color:rgba(255,255,255,.88);padding:3rem 0 1rem;}
.footer-grid{display:grid;grid-template-columns:1.1fr .8fr .8fr;gap:2rem;}

@media (max-width:960px){
  .site-nav{display:none;position:absolute;top:calc(100% + .5rem);right:1rem;left:1rem;background:#fff;border:1px solid var(--line);border-radius:18px;padding:1rem;box-shadow:var(--shadow);flex-direction:column;}
  .site-nav.open{display:flex;}
  .menu-toggle{display:inline-grid;place-items:center;}
}

/* 🔥 RESPONSIVE LOGO */
@media (max-width:640px){
  .header-inner{min-height:84px;}
  .brand-mark{width:110px;height:56px;}
  .brand-mark img{max-height:56px;}
}
