/* AGENDARTE v51.3 — Header editorial responsive, según referencia 29/10/2026.
   Únicamente home: se preservan funciones de Auth, reservas, planes y panel. */
.site-header .nav.nav-v513{
  width:min(1832px,calc(100% - clamp(32px,5.5vw,96px)));
  max-width:1832px;
  min-height:120px;
  display:flex;
  align-items:center;
  gap:22px;
}
.site-header .nav-v513 .logo{
  flex:0 0 auto;
  font-family:'Outfit',Arial,sans-serif;
  font-size:clamp(38px,3.5vw,62px);
  font-weight:900;
  letter-spacing:-.075em;
  line-height:1.03;
  white-space:nowrap;
}
.site-header .nav-v513 .brand-dot{
  width:19px;
  height:19px;
  margin-left:9px;
  border-width:5px;
  transform:translateY(-17px);
}
.site-header .nav-v513 .nav-links{
  position:static;
  display:flex;
  align-items:center;
  flex-direction:row;
  justify-content:flex-end;
  flex:1 1 auto;
  width:auto;
  min-width:0;
  gap:clamp(19px,2.45vw,43px);
  margin:0 0 0 auto;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  white-space:nowrap;
  color:#223c5c;
  font:800 clamp(16px,1.14vw,21px)/1.2 'DM Sans',Arial,sans-serif;
}
.site-header .nav-v513 .nav-links a{padding:8px 0;transition:color .2s ease;}
.site-header .nav-v513 .nav-links a:hover{color:#0763ca;}
.site-header .nav-v513 .nav-links .nav-mobile-register{display:none;}
.site-header .nav-v513 .nav-actions{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:clamp(12px,1.1vw,20px);
  margin-left:clamp(24px,3vw,52px);
}
.site-header .nav-v513 .nav-login,
.site-header .nav-v513 .nav-register{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:76px;
  padding:18px clamp(26px,3vw,53px);
  border-radius:24px;
  font:800 clamp(16px,1.12vw,21px)/1.1 'DM Sans',Arial,sans-serif;
  letter-spacing:-.015em;
  white-space:nowrap;
  text-decoration:none;
  transition:background .18s ease,box-shadow .18s ease,color .18s ease;
}
.site-header .nav-v513 .nav-login{
  gap:11px;
  color:#0764d0;
  background:#fff;
  border:1.6px solid #096deb;
}
.site-header .nav-v513 .nav-login:hover{background:#edf6ff;box-shadow:0 6px 18px rgba(8,85,175,.08);}
.site-header .nav-v513 .nav-login svg{width:32px;height:32px;flex:none;}
.site-header .nav-v513 .nav-register{
  gap:6px;
  color:#fff;
  background:#075dc8;
  border:1.6px solid #075dc8;
  padding-inline:clamp(30px,2.9vw,50px);
}
.site-header .nav-v513 .nav-register:hover{background:#034fae;box-shadow:0 8px 21px rgba(7,93,200,.16);}
.site-header .nav-v513 .mobile-menu{display:none;}
/* Compact desktop: still show login and CTA without clipping either one. */
@media(max-width:1620px) and (min-width:1241px){
  .site-header .nav.nav-v513{min-height:86px;gap:15px;width:calc(100% - 56px);}
  .site-header .nav-v513 .logo{font-size:clamp(30px,2.55vw,39px);}
  .site-header .nav-v513 .brand-dot{width:14px;height:14px;border-width:4px;transform:translateY(-12px);margin-left:6px;}
  .site-header .nav-v513 .nav-links{font-size:clamp(12px,1vw,15px);gap:clamp(13px,1.45vw,21px);}
  .site-header .nav-v513 .nav-actions{margin-left:14px;gap:9px;}
  .site-header .nav-v513 .nav-login,
  .site-header .nav-v513 .nav-register{min-height:51px;padding:13px 17px;border-radius:15px;font-size:clamp(12px,1.1vw,15px);}
  .site-header .nav-v513 .nav-login{gap:6px;}
  .site-header .nav-v513 .nav-login svg{width:22px;height:22px;}
}
/* Tablet and mobile: links move to a real dropdown, access stays visible. */
@media(max-width:1240px){
  .site-header .nav.nav-v513{width:calc(100% - 40px);min-height:73px;gap:13px;position:relative;}
  .site-header .nav-v513 .logo{font-size:33px;}
  .site-header .nav-v513 .brand-dot{width:13px;height:13px;border-width:3px;transform:translateY(-12px);margin-left:6px;}
  .site-header .nav-v513 .nav-actions{margin-left:auto;gap:10px;}
  .site-header .nav-v513 .nav-login,
  .site-header .nav-v513 .nav-register{min-height:47px;padding:11px 17px;font-size:14px;border-radius:13px;}
  .site-header .nav-v513 .nav-login{gap:8px;}
  .site-header .nav-v513 .nav-login svg{width:21px;height:21px;}
  .site-header .nav-v513 .mobile-menu{
    flex:0 0 44px;display:grid;place-items:center;margin:0;
    width:44px;height:44px;font-size:23px;
    border:1px solid #cce2fb;border-radius:12px;
    background:#edf6ff;color:#075dc8;
  }
  .site-header .nav-v513 .nav-links{
    display:none;
    position:absolute;
    top:calc(100% + 1px);
    left:-20px;right:-20px;
    z-index:90;
    width:auto;
    max-width:none;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    margin:0;
    padding:12px 20px 18px;
    border-top:1px solid #dceafa;
    background:#fff;
    box-shadow:0 18px 35px rgba(11,43,96,.13);
    color:#203a5b;
    font-size:15px;
    white-space:normal;
  }
  .site-header .nav-v513 .nav-links.open{display:flex;}
  .site-header .nav-v513 .nav-links a{display:block;padding:11px 10px;border-radius:10px;}
  .site-header .nav-v513 .nav-links a:hover{background:#f0f7ff;}
}
@media(max-width:700px){
  .site-header .nav.nav-v513{width:calc(100% - 32px);min-height:64px;gap:9px;}
  .site-header .nav-v513 .logo{font-size:29px;}
  .site-header .nav-v513 .nav-login{padding:10px 12px;min-height:41px;font-size:13px;border-radius:11px;gap:6px;}
  .site-header .nav-v513 .nav-login svg{width:20px;height:20px;}
  .site-header .nav-v513 .nav-register{display:none;}
  .site-header .nav-v513 .nav-links .nav-mobile-register{display:block;background:#075dc8;color:#fff;text-align:center;font-weight:800;margin:7px 0 3px;}
  .site-header .nav-v513 .nav-links .nav-mobile-register:hover{background:#034fae;color:#fff;}
  .site-header .nav-v513 .nav-links{left:-16px;right:-16px;}
}
@media(max-width:390px){
  .site-header .nav.nav-v513{width:calc(100% - 24px);gap:7px;}
  .site-header .nav-v513 .logo{font-size:25px;}
  .site-header .nav-v513 .brand-dot{width:11px;height:11px;border-width:3px;margin-left:4px;transform:translateY(-9px);}
  .site-header .nav-v513 .nav-login{padding:9px 8px;min-height:38px;font-size:12px;gap:5px;}
  .site-header .nav-v513 .nav-login svg{width:17px;height:17px;}
  .site-header .nav-v513 .mobile-menu{flex-basis:40px;width:40px;height:40px;}
  .site-header .nav-v513 .nav-links{left:-12px;right:-12px;}
}
@media(prefers-reduced-motion:reduce){
 .site-header .nav-v513 .nav-login,
 .site-header .nav-v513 .nav-register,
 .site-header .nav-v513 .nav-links a{transition:none;}
}
