/* Presentación institucional y contacto. Mantiene la identidad de la maqueta. */
[hidden]{display:none!important}
.header-contact{display:inline-flex;gap:9px;align-items:center;background:#edf5ee;color:#245d32!important;padding:10px 16px!important;border:1px solid #d6e7d7;border-radius:999px;white-space:nowrap}
.header-contact:after{display:none!important}.contact-icon{font-size:19px;line-height:1}
#nav{gap:22px}
.contact-copy>p{max-width:510px}
.contact-selection{padding:12px 16px;background:#ffffff12;border:1px solid #ffffff35;border-radius:12px;font-size:14px;font-weight:600}
.contact-privacy{display:flex;align-items:flex-start;gap:14px;margin-top:26px;border-top:1px solid #ffffff25;padding-top:22px}
.contact-privacy>span{display:grid;place-items:center;border:1px solid #ffffff50;border-radius:50%;width:28px;height:28px;flex-shrink:0;font-size:15px}
.contact-privacy p{font-size:13px;line-height:1.7;margin:0;color:#d6e8f1}
.contact-privacy-link{display:inline-block;margin-top:18px;font-size:12px;text-decoration:underline;text-underline-offset:5px;color:#e7f1f7}
.contact-methods .contact-phone{padding:24px!important;border:1px solid #ffffff36!important;border-radius:18px;background:#ffffff10;margin-bottom:24px;transition:background .2s,transform .2s}
.contact-phone:hover{background:#ffffff18;transform:translateY(-2px)}
.contact-methods .contact-phone strong{font-size:23px;font-weight:650}
.contact-methods .contact-phone>span{color:#e4f6df}
.contact-methods .contact-phone i{right:24px;top:24px}
.contact-email{padding-right:25px!important}
.contact-methods .contact-emergency{padding-bottom:0}
.contact-emergency p{font-size:13px;line-height:1.65;margin:0;max-width:390px}
.emergency-numbers{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:14px}
.emergency-numbers a{font-size:16px;font-weight:650;white-space:nowrap;border-bottom:1px solid #ffffff70}
.site-footer{background:#f5f8f7;color:var(--ink);border-top:1px solid #e2ebea}
.footer-grid{display:grid;grid-template-columns:1.15fr .75fr 1.1fr;gap:60px;padding-top:64px;padding-bottom:45px}
.site-footer .brand{width:190px;margin-bottom:24px}
.footer-brand h2{font-size:29px;color:var(--blue);font-weight:650;letter-spacing:-.045em;margin-bottom:17px}
.footer-brand p{font-size:13px;line-height:1.85;color:var(--muted)}
.footer-signature{display:block;color:#5c7352;font-size:12px;margin-top:18px}
.footer-column{padding-top:5px;min-width:0}
.footer-column h3{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:750;color:var(--blue);margin-bottom:23px}
.site-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:14px;font-size:14px;font-weight:450;position:static;padding:0;border:0;background:transparent;box-shadow:none}
.site-footer nav a{padding:0}
.site-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.footer-contact>a{display:block;font-size:13px;overflow-wrap:anywhere;line-height:1.7}
.footer-contact address{font-style:normal;color:var(--muted);font-size:13px;line-height:1.75;margin:23px 0 20px}
.footer-contact address span{display:block;font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:#62747b;margin-bottom:6px}
.footer-contact .footer-contact-link{font-size:12px;color:var(--blue);text-decoration:underline;text-underline-offset:5px}
.footer-emergency{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#e9f0f1;border:1px solid #dce7e9;border-radius:16px;padding:22px 26px}
.footer-emergency>div:first-child{display:flex;align-items:center;gap:15px}
.emergency-mark{font-size:29px;line-height:1;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--blue);flex-shrink:0;font-weight:400}
.footer-emergency strong{display:block;font-size:13px;color:var(--blue);font-weight:700}
.footer-emergency p>span{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.footer-emergency-links{display:flex;align-items:center;gap:25px;flex-shrink:0}
.footer-emergency-links a{font-size:16px;font-weight:650;color:var(--blue);white-space:nowrap}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-top:23px;padding-bottom:38px;font-size:11px;color:#60717a}
.footer-bottom>div{display:flex;gap:26px;flex-wrap:wrap}
.floating-contact{position:fixed;z-index:25;right:25px;bottom:24px;display:flex;align-items:center;gap:11px;padding:12px 20px 12px 12px;border:1px solid #ffffff65;border-radius:999px;background:#005596;color:white;box-shadow:0 8px 30px #073a5750;transition:transform .2s,box-shadow .2s;isolation:isolate;max-width:calc(100vw - 32px)}
.floating-contact:hover{transform:translateY(-3px);box-shadow:0 12px 35px #073a5759}
.floating-contact-icon{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;background:#ffffff15;flex-shrink:0}
.floating-contact svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.floating-contact b{font-size:14px;display:block;line-height:1.35;letter-spacing:.01em}
.floating-contact small{font-size:10px;display:block;color:#e0eff6;line-height:1.4}
.no-script-note{padding:20px 24px 90px;font-size:13px;background:#f5f8f7}.no-script-note a{text-decoration:underline}
.privacy-main{max-width:980px;padding-top:72px;padding-bottom:72px}
.privacy-heading{max-width:760px;border-bottom:1px solid var(--line);padding-bottom:34px}
.privacy-heading h1{font-size:clamp(36px,5vw,56px);color:var(--blue);margin-bottom:22px}
.privacy-heading>p{font-size:18px;line-height:1.75;color:var(--muted)}
.privacy-date{display:block;font-size:12px;color:#687d86;margin-top:22px}
.privacy-content{max-width:760px}
.privacy-content section{margin-top:35px}
.privacy-content h2{font-size:23px;color:var(--blue);margin-bottom:16px;letter-spacing:-.025em}
.privacy-content p{font-size:15px;line-height:1.85;color:#425d6b;margin-top:12px}
.privacy-content a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.privacy-emergency{background:#edf4f6;border-radius:16px;padding:26px;margin-top:40px;border:1px solid #d9e7ec}
.privacy-emergency h2{font-size:19px;margin-bottom:8px}
.privacy-emergency p{font-size:14px;margin:0}
.privacy-footer{border-top:1px solid var(--line);background:#f5f8f7}
.privacy-footer>.shell{display:flex;justify-content:space-between;gap:25px;align-items:center;padding-top:27px;padding-bottom:27px;font-size:12px;color:var(--muted)}
.privacy-footer a{color:var(--blue);font-weight:600}
@media(max-width:1080px){#nav{gap:16px}.header-contact{display:none!important}.footer-grid{gap:35px}.footer-emergency-links{gap:17px}.footer-emergency-links a{font-size:14px}.footer-emergency p>span{max-width:270px}.footer-bottom{padding-bottom:100px}}
@media(max-width:780px){.footer-grid{grid-template-columns:1fr 1fr;gap:35px 28px}.footer-brand{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:0 30px}.site-footer .brand{grid-row:1/3;margin-bottom:0;align-self:center;width:200px}.footer-brand h2{font-size:27px;margin:0 0 12px}.footer-brand p{grid-column:2}.footer-signature{display:none}.footer-emergency{align-items:flex-start;flex-direction:column}.footer-emergency-links{padding-left:57px;flex-wrap:wrap;gap:10px 25px}.footer-emergency p>span{max-width:none}.privacy-main{padding-top:45px;padding-bottom:50px}}
@media(max-width:700px){#nav{gap:12px}.header-contact{display:inline-flex!important}.header-contact .contact-icon{display:none}.header-contact{margin-top:4px}.contact-methods .contact-phone strong{font-size:21px}.contact-privacy{margin-top:22px}.footer-grid{padding-top:42px;padding-bottom:32px}.footer-brand{display:block;grid-column:1/-1}.site-footer .brand{width:175px;margin-bottom:24px}.footer-brand h2{font-size:29px;margin-bottom:15px}.footer-brand p{font-size:13px}.footer-column h3{font-size:11px;margin-bottom:19px}.site-footer nav{font-size:13px;gap:14px}.footer-contact>a{font-size:12px}.footer-contact address{font-size:12px;margin-top:20px}.footer-contact .footer-contact-link{font-size:11px}.footer-emergency{padding:18px;gap:17px}.footer-emergency-links{padding-left:0;gap:14px}.footer-emergency-links a{font-size:15px}.footer-emergency p>span{font-size:10px;line-height:1.6}.footer-bottom{align-items:flex-start;flex-direction:column;gap:17px;padding-top:24px;padding-bottom:105px;font-size:10px}.footer-bottom>div{gap:22px}.floating-contact{right:16px;bottom:16px;padding:10px 16px 10px 10px;gap:10px}.floating-contact b{font-size:13px}.floating-contact small{font-size:10px}.floating-contact-icon{width:31px;height:31px}.privacy-heading>p{font-size:16px}.privacy-main{padding-top:36px}.privacy-content h2{font-size:21px}.privacy-content p{font-size:14px}.privacy-page .header .text-link{font-size:12px;gap:6px}.privacy-page .header .brand{width:145px}.privacy-footer>.shell{flex-direction:column;align-items:flex-start;gap:15px}.privacy-emergency{padding:21px}}
@media(max-width:400px){.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.footer-column{padding-top:10px}.footer-column h3{margin-bottom:16px}.footer-emergency-links{flex-direction:column;align-items:flex-start;gap:8px}.privacy-page .header .text-link{max-width:110px;line-height:1.4}.emergency-numbers{flex-direction:column;align-items:flex-start}}
@media(max-width:700px){.privacy-page .header-inner{gap:12px}.privacy-page .header .brand{width:clamp(112px,32vw,132px)}.privacy-page .header .text-link{max-width:none;white-space:nowrap;flex-shrink:0;gap:6px;line-height:1.4}.privacy-page .header .text-link>span{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.footer-tax{font-size:11px;color:#60717a}.footer-office{margin-top:18px}.footer-office>span{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#62747b;margin-bottom:7px;font-weight:650}.footer-office>a{display:block;font-size:14px;color:var(--blue);font-weight:600;line-height:1.85}.contact-phone>span{color:#c6dfed!important}

/* Encaje por contenido: evita que el mínimo automático de grid/flex ensanche el móvil. */
.hero-grid>*,.institutional-grid>*,.contact-grid>*,.subhero>*,.comparison-grid>*,.advisors-grid>*,.footer-grid>*{min-width:0;max-width:100%}
.header-inner,.footer-emergency,.footer-bottom{min-width:0}
.footer-emergency>div{min-width:0;max-width:100%}
.footer-emergency p{min-width:0;overflow-wrap:anywhere}
.contact-methods,.contact-methods>*{min-width:0;max-width:100%}
.contact-methods strong,.footer-contact>a,.footer-column address{overflow-wrap:anywhere}
@media(max-width:700px){
  .hero-grid,.institutional-grid,.contact-grid,.subhero,.comparison-grid,.advisors-grid{grid-template-columns:minmax(0,1fr)}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .header-inner{gap:12px}
  .header-inner>.brand{max-width:calc(100% - 64px)}
  .menu{flex:0 0 44px;width:44px;min-width:44px;padding:8px 0;text-align:center}
  .footer-emergency>div{width:100%}
  .footer-emergency-links{flex-shrink:1}
  .contact-methods .contact-phone{padding:20px!important}
  .contact-methods .contact-phone i{right:15px;top:20px}
  .contact-methods .contact-phone strong{padding-right:14px}
  .emergency .shell>div{max-width:100%;flex-wrap:wrap}
}
@media(max-width:360px){
  .shell{width:calc(100% - 32px)}
  .header-inner>.brand{width:150px}
  .privacy-page .header-inner>.brand{width:112px;max-width:112px}
  .footer-grid,.price-grid,.services-grid{grid-template-columns:minmax(0,1fr)}
  .footer-brand{grid-column:auto}
  .footer-emergency{padding:16px}
  .footer-emergency>div:first-child{align-items:flex-start;gap:11px}
  .emergency-mark{width:34px;height:34px}
  .footer-emergency-links{align-items:flex-start;gap:8px}
  .contact-methods .contact-phone strong{font-size:20px}
  .footer-bottom>div{gap:14px 18px;max-width:100%}
  .advisors-team{padding:8px 18px}
  .plan-detail{padding:24px}
  .button{max-width:100%}
}
