/* Home polish: hairline pillars, cross-border band, trust strip, hero motion, glass header */
.vhero video{transform-origin:62% 38%;animation:hpz 48s ease-in-out infinite alternate;will-change:transform}
@keyframes hpz{from{transform:scale(1) translate3d(0,0,0)}to{transform:scale(1.16) translate3d(-2.2%,1.2%,0)}}
@media(prefers-reduced-motion:reduce){.vhero video{animation:none}}

/* trust strip */
.tstrip{background:#0d1b26;color:#c9d6de;border-top:1px solid rgba(217,178,124,.25)}
.tstrip .wrap{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 22px;padding-top:15px;padding-bottom:15px;font:600 11.5px/1.3 Manrope,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.tstrip i{width:4px;height:4px;border-radius:50%;background:#d9b27c;display:inline-block}
@media(max-width:700px){.tstrip i{display:none}.tstrip .wrap{gap:6px 16px;font-size:10.5px}}

/* philosophy: quote first, disclosure quieter */
#filosofia .reg{font-size:13.5px;line-height:1.65;color:#6b7780;max-width:none;margin:26px 0 0;text-align:left}
html[data-theme=dark] #filosofia .reg{color:#93a4b0}
#filosofia .pq{font:italic 400 clamp(21px,2.2vw,27px)/1.4 "Cormorant Garamond","Cormorant",Georgia,serif;margin-top:0;color:var(--navy)}
html[data-theme=dark] #filosofia .pq{color:#e6edf2}

/* hairline pillars instead of cards */
#filosofia .grid4{gap:0;margin-top:34px}
#filosofia .grid4 .pr{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;border-top:1px solid #8A5E2B;border-radius:0;box-shadow:none;text-align:left;padding:26px 26px 6px 0;margin-right:26px;transform:none}
#filosofia .grid4 .pr:last-child{margin-right:0}
#filosofia .grid4 .pr:hover{transform:none;box-shadow:none}
#filosofia .grid4 .pr:after{display:none}
#filosofia .grid4 .pr .ic{display:block;width:38px;height:38px;margin:0 0 16px}
#filosofia .grid4 .pr h3{font-size:18px;margin:0 0 10px}
#filosofia .grid4 .pr p{font-size:15px;line-height:1.65}
html[data-theme=dark] #filosofia .grid4 .pr{background:none;border-top-color:#d9b27c}
html[data-theme=dark] @media(max-width:980px){#filosofia .grid4 .pr{margin-right:0;padding-right:0;margin-bottom:14px}}

/* cross-border band */
.xb-in{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px;align-items:center}
.xb-t .sh{text-align:left;margin-bottom:18px}
.xb-t p{font-size:17px;line-height:1.7;max-width:460px;margin:0}
.xb-m{position:relative}
.xb-map{width:100%;height:auto;display:block;overflow:hidden}
.xb-map .grat line{stroke:#1A384C;stroke-opacity:.09;stroke-width:1}
.xb-map .arc{fill:none;stroke:#8A5E2B;stroke-width:1.6;stroke-linecap:round;stroke-opacity:.45;stroke-dasharray:1;stroke-dashoffset:1}
.xb-map .nd{fill:#1A384C;stroke:#fff;stroke-width:1.5;opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.2)}
.xb-map .hr{fill:none;stroke:#8A5E2B;stroke-width:1.6;opacity:.5;transform-box:fill-box;transform-origin:center}
.xb-map .hc{fill:#8A5E2B}
.xb-map text{font:700 15px Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;fill:#1A384C}
.xb.go .arc{animation:xbd 1.9s cubic-bezier(.4,0,.2,1) forwards;animation-delay:var(--d)}
.xb.go .nd{animation:xbn .6s ease-out forwards;animation-delay:var(--d)}
.xb.go .hr{animation:xbr 3s ease-out infinite}
@keyframes xbd{to{stroke-dashoffset:0}}
@keyframes xbn{to{opacity:1;transform:scale(1)}}
@keyframes xbr{0%{transform:scale(1);opacity:.6}100%{transform:scale(3.2);opacity:0}}
html:not(.js-xb) .xb-map .arc{stroke-dashoffset:0}html:not(.js-xb) .xb-map .nd{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.xb-map .arc{stroke-dashoffset:0;animation:none!important}.xb-map .nd{opacity:1;transform:none;animation:none!important}.xb-map .hr{animation:none!important}}
html[data-theme=dark] .xb-map .grat line{stroke:#fff;stroke-opacity:.08}
html[data-theme=dark] .xb-map .arc,html[data-theme=dark] .xb-map .hr{stroke:#d9b27c}
html[data-theme=dark] .xb-map .nd{fill:#a9c8dc}html[data-theme=dark] .xb-map .hc{fill:#d9b27c}html[data-theme=dark] .xb-map text{fill:#e6edf2}
@media(max-width:980px){.xb-in{grid-template-columns:1fr;gap:26px}}

/* frosted header once scrolled */
.hdr{transition:background .3s,box-shadow .3s,backdrop-filter .3s}
.hdr.sc{background:rgba(255,255,255,.78);-webkit-backdrop-filter:saturate(1.5) blur(14px);backdrop-filter:saturate(1.5) blur(14px);box-shadow:0 1px 0 rgba(26,56,76,.08),0 8px 28px rgba(8,18,26,.06)}
html[data-theme=dark] .hdr.sc{background:rgba(13,27,38,.78)}

.xb-map{max-height:660px;margin:0 auto}
.xb-map .lb{font:700 15.5px Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase;fill:#2E5470;opacity:0;paint-order:stroke;stroke:#F0F0F0;stroke-width:5px;stroke-linejoin:round}
.xb.go .lb{animation:xbn2 .6s ease-out forwards;animation-delay:var(--d)}
@keyframes xbn2{to{opacity:1}}
html:not(.js-xb) .xb-map .lb{opacity:1}
@media(prefers-reduced-motion:reduce){.xb-map .lb{opacity:1;animation:none!important}}
html[data-lang=en] .xb-map text[data-l=es],html[data-lang=es] .xb-map text[data-l=en]{display:none}
html[data-theme=dark] .xb-map .lb{fill:#bcd4e3;stroke:#101e2b}
@media(max-width:700px){.xb-map .lb{font-size:25px;stroke-width:7px}}

/* two-way flow: money going out and coming in */
.xb-map .flow{fill:none;stroke-linecap:round;stroke-width:7;stroke-dasharray:.1 420;opacity:0}
.xb-map .flow.o{stroke:#8A5E2B}.xb-map .flow.i{stroke:#1A384C}
.xb.go .flow.o{animation:xbf 9s linear var(--ph,0s) infinite,xbo .8s ease 4.4s forwards}
.xb.go .flow.i{animation:xbf 9s linear var(--ph,-3s) infinite,xbo .8s ease 4.4s forwards}
@keyframes xbf{to{stroke-dashoffset:-420.1}}
@keyframes xbo{to{opacity:1}}
html:not(.js-xb) .xb-map .flow{opacity:0}
@media(prefers-reduced-motion:reduce){.xb-map .flow{display:none}}
html[data-theme=dark] .xb-map .flow.o{stroke:#d9b27c}html[data-theme=dark] .xb-map .flow.i{stroke:#a9c8dc}
