/* HERCAR Premium 2026: capa visual final, tokens estables y componentes reutilizables. */
:root{
 --hc-premium-navy:#061d39;--hc-premium-deep:#092d53;--hc-premium-blue:#116ab1;
 --hc-premium-azure:#459ccf;--hc-premium-coral:#ee7558;--hc-premium-gold:#f2ba53;
 --hc-premium-text:#183651;--hc-premium-muted:#587088;--hc-premium-shadow:0 20px 50px rgba(5,39,73,.13);
 --hc-premium-ease:cubic-bezier(.22,1,.36,1)
}
:where(body,body.hc-internal-page){background:#f5f9fd;color:var(--hc-premium-text);-webkit-font-smoothing:antialiased}
:where(.section,.hc-new-content){position:relative}
:where(.section-title,.hc-new-hero-content h1){text-wrap:balance;letter-spacing:-.055em}
:where(.section-heading>p,.about-content>p,.facts-heading>p){color:#42607b}
:where(.facts-card,.program-card,.news-card,.identity-card,.service-tile,.contact-panel){transition:transform .32s var(--hc-premium-ease),box-shadow .32s var(--hc-premium-ease),border-color .32s ease}
:where(.facts-card,.program-card,.news-card,.identity-card,.service-tile):hover{transform:translateY(-5px);box-shadow:var(--hc-premium-shadow)}
:where(.facts-card,.program-card,.news-card,.identity-card){border:1px solid #d9e6f1}
:where(.button,.service-strip a,.text-link,.hc-new-button){transition:transform .25s var(--hc-premium-ease),box-shadow .25s ease,background-color .25s ease}
:where(.button,.service-strip a,.hc-new-button):hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(5,49,93,.17)}
.site-header .main-navigation .dropdown-panel>a{transition:background-color .2s ease,transform .2s var(--hc-premium-ease)}
.site-header .main-navigation .dropdown-panel>a:hover{transform:translateX(3px)}
.site-header .site-brand img{transition:filter .25s ease,transform .25s ease}
.site-header .site-brand:hover img{transform:translateY(-2px);filter:brightness(1.04)}
.gallery-set .gallery-card{border:1px solid rgba(255,255,255,.15)}
/* Footer: dark material, generous hierarchy and institutional CTA. */
.hc-premium-footer{position:relative;isolation:isolate;background:none!important;color:#e8f3ff;overflow:hidden}
.hc-footer-cta{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:36px clamp(24px,4vw,52px);border-radius:26px 26px 0 0;background:linear-gradient(115deg,#0b5290 0%,#126db8 51%,#469fd1 100%);box-shadow:0 -10px 38px rgba(9,70,118,.11);overflow:hidden}
.hc-footer-cta:after{content:"";pointer-events:none;position:absolute;width:340px;height:340px;right:14%;top:-205px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 52px rgba(255,255,255,.035),0 0 0 104px rgba(255,255,255,.025)}
.hc-footer-cta-copy{position:relative;z-index:1;max-width:710px}
.hc-footer-eyebrow{display:flex;align-items:center;gap:10px;font:800 .69rem/1.4 Manrope,sans-serif;letter-spacing:.15em;color:#e8f5ff}
.hc-footer-cta-dot{width:9px;height:9px;border-radius:50%;background:#ffc96f;box-shadow:0 0 0 5px rgba(255,201,111,.16)}
.hc-footer-cta h2{color:#fff;font:800 clamp(1.6rem,2.6vw,2.55rem)/1.15 Manrope,sans-serif;letter-spacing:-.055em;margin:12px 0 13px;text-wrap:balance}
.hc-footer-cta h2 em{font-style:normal;color:#ffe29b}
.hc-footer-cta p{color:#e5f2ff;font-size:.9rem;line-height:1.72;max-width:560px;margin:0}
.hc-footer-cta-button{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:56px;padding:14px 20px;border-radius:14px;background:#fff;color:#0b416c!important;font:800 .87rem/1.3 Manrope,sans-serif;text-decoration:none;white-space:nowrap;box-shadow:0 16px 35px rgba(0,36,66,.19);transition:transform .24s var(--hc-premium-ease),background-color .24s ease}
.hc-footer-cta-button:hover{background:#fff4d8;transform:translateY(-3px)}
.hc-footer-cta-button span{font-size:1.35rem;color:#1373b5}
.hc-footer-body{position:relative;background:linear-gradient(126deg,#06192e 0%,#082947 54%,#0b3557 100%);overflow:hidden}
.hc-footer-body:before{position:absolute;content:"";pointer-events:none;width:500px;height:500px;left:-180px;top:-230px;border:1px solid rgba(117,183,228,.12);border-radius:50%;box-shadow:0 0 0 76px rgba(117,183,228,.026),0 0 0 150px rgba(117,183,228,.018)}
.hc-footer-grid{position:relative;z-index:1;display:grid!important;grid-template-columns:minmax(220px,1.3fr) repeat(3,minmax(150px,1fr));gap:clamp(28px,4vw,60px);padding-top:70px!important;padding-bottom:60px!important}
.hc-footer-brand{min-width:0}
.hc-footer-brand .hc-footer-identity{display:flex;align-items:center;gap:15px;color:#fff!important;text-decoration:none;margin-bottom:24px}
.hc-footer-brand .hc-footer-identity img{display:block;width:66px!important;height:82px!important;object-fit:contain;background:rgba(255,255,255,.97);border-radius:12px;padding:4px;box-shadow:0 13px 27px rgba(0,0,0,.25);flex:none}
.hc-footer-identity strong{display:block;color:#fff;font:800 1.05rem/1.25 Manrope,sans-serif;letter-spacing:-.025em}
.hc-footer-identity small{display:block;font-size:.76rem;color:#abcbe1;margin-top:6px}
.hc-footer-brand>p{max-width:275px;color:#b9d2e4!important;line-height:1.85;font-size:.87rem;margin-bottom:22px}
.hc-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0}
.hc-footer-column h3{margin:3px 0 9px;color:#fff;font:800 .95rem/1.35 Manrope,sans-serif;letter-spacing:-.015em}
.hc-footer-column h3:after{content:"";display:block;width:33px;height:3px;background:#eebf6c;border-radius:99px;margin-top:12px}
.hc-footer-column>a{position:relative;color:#bcd3e5!important;font-size:.83rem;line-height:1.5;text-decoration:none;transition:color .2s ease,transform .2s var(--hc-premium-ease)}
.hc-footer-column>a:hover{color:#fff!important;transform:translateX(3px)}
.hc-footer-column>a:focus-visible{color:#fff!important;outline:3px solid #ffd68a;outline-offset:4px}
.hc-footer-contact .hc-footer-address{margin:4px 0;color:#a8c8e0!important;font-size:.79rem;line-height:1.7}
.hc-footer-brand .footer-social{display:flex;gap:10px;flex-wrap:wrap}
.hc-footer-brand .footer-social a{display:inline-flex;align-items:center;gap:8px;min-width:0;border-radius:999px;padding:10px 15px;color:#e5f3ff!important;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);font-weight:700;font-size:.78rem;text-decoration:none}
.hc-footer-brand .footer-social a:hover{background:rgba(255,255,255,.13)}
.hc-footer-bottom{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:86px;padding-top:22px;padding-bottom:24px;border-top:1px solid rgba(255,255,255,.13);color:#a9c4d9;font-size:.73rem}
.hc-footer-bottom-links{display:flex;gap:19px;align-items:center;flex-wrap:wrap}
.hc-footer-bottom a{color:#dbe9f6!important;text-decoration:none}
.hc-footer-bottom a:hover{color:#ffda97!important}
.hc-premium-backtop{border:1px solid rgba(255,255,255,.24);background:linear-gradient(140deg,#126ab1,#094779)!important;color:#fff!important;box-shadow:0 16px 32px rgba(6,45,79,.24)}
/* Smooth but nonblocking reveal: existing script owns reveal lifecycle. */
html.hc-motion-ready [data-reveal]{transition:opacity .75s var(--hc-premium-ease),transform .75s var(--hc-premium-ease)}
html.hc-motion-ready [data-reveal].hc-visible{opacity:1;transform:none}
/* Prevent legacy fonts/colors bleeding into premium footer. */
body.hc-internal-page .hc-premium-footer :is(p,a,h2,h3,strong){font-family:inherit}
@media(max-width:1100px){.hc-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 44px}.hc-footer-cta{padding:32px}.hc-footer-cta-button{white-space:normal;text-align:center}}
@media(max-width:760px){.hc-footer-cta{align-items:flex-start;flex-direction:column;border-radius:22px 22px 0 0;gap:25px}.hc-footer-cta-button{align-self:flex-start}.hc-footer-grid{padding-top:48px!important;padding-bottom:48px!important}.hc-footer-bottom{align-items:flex-start;flex-direction:column}.hc-footer-bottom-links{gap:12px}}
@media(max-width:500px){.hc-footer-grid{grid-template-columns:1fr;gap:29px}.hc-footer-cta{padding:30px 22px}.hc-footer-cta h2{font-size:1.75rem}.hc-footer-cta-button{width:100%}}
@media(prefers-reduced-motion:reduce){:where(.hc-premium-footer *, .site-header .site-brand img, .facts-card,.program-card,.news-card,.identity-card,.service-tile){animation:none!important;transition:none!important}.hc-premium-footer .hc-footer-cta-button:hover{transform:none}}
