/*
Theme Name: Santivo
Theme URI: https://santivo.com
Author: Santivo
Description: Private bilingual pre-production theme for Santivo.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: santivo
*/
:root{--navy:#0d1b2a;--blue:#29425a;--gold:#c8aa7d;--cream:#f4f1eb;--white:#fff;--ink:#172433;--muted:#64717d;--rule:#ded8ce;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font-family:var(--sans);font-size:16px;line-height:1.7}a{color:inherit}img{display:block;max-width:100%;height:auto}.shell{width:min(1180px,calc(100% - 64px));margin-inline:auto}.narrow{max-width:900px}.site-header{position:relative;z-index:50;height:88px;background:#fff;border-bottom:1px solid rgba(13,27,42,.08)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.wordmark{font-family:var(--serif);font-size:19px;letter-spacing:.22em;text-decoration:none;color:var(--navy)}.wordmark-light{color:#fff;margin-bottom:22px}.nav{display:flex;align-items:center;gap:29px}.nav>a:not(.button){font-size:12px;letter-spacing:.035em;text-decoration:none;padding:9px 0;border-bottom:1px solid transparent}.nav>a[aria-current=page]{border-color:var(--gold)}.language-switch{display:flex;gap:7px;align-items:center;font-size:10px;letter-spacing:.08em}.language-switch a{text-decoration:none;color:var(--muted)}.language-switch a[aria-current=true]{color:var(--navy);font-weight:700}.language-switch i{color:var(--gold);font-style:normal}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;background:var(--navy);color:#fff;text-decoration:none;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.menu{display:none;background:none;border:0}.hero{background:var(--cream)}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:690px}.hero-copy{align-self:center;padding:90px 80px 90px 0}.hero-image{min-height:690px;margin-right:calc((100vw - min(1180px,calc(100vw - 64px)))/-2);overflow:hidden}.hero-image img{width:100%;height:100%;object-fit:cover}.eyebrow{margin:0 0 22px;color:var(--gold);font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}h1,h2,h3{font-family:var(--serif);font-weight:400;color:var(--navy);line-height:1.12}h1{font-size:clamp(46px,5.5vw,78px);letter-spacing:-.035em;margin:0 0 28px}h2{font-size:clamp(34px,4vw,54px);letter-spacing:-.025em;max-width:850px;margin:0 0 28px}h3{font-size:27px;margin:0 0 17px}.lead{max-width:760px;font-family:var(--serif);font-size:21px;line-height:1.55;color:var(--blue);margin:0 0 34px}.text-link{display:inline-block;margin-top:20px;padding:10px 0 7px;border-bottom:1px solid var(--gold);font-size:12px;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}.text-link span{margin-left:9px}.page-hero{padding:125px 0 115px;background:var(--cream);border-bottom:1px solid var(--rule)}.section{padding:110px 0;border-bottom:1px solid var(--rule)}.section .prose{max-width:780px;font-size:17px;color:var(--blue)}.prose p{margin:0 0 22px}.prose a{color:var(--navy);text-decoration-color:var(--gold);text-underline-offset:4px}.section-dark{background:var(--navy);color:#e9edf0;border:0}.section-dark h2,.section-dark h3{color:#fff}.section-dark .prose{color:#d2d9df}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:54px;border-top:1px solid var(--rule);border-left:1px solid var(--rule)}.cards article{padding:36px 34px;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule)}.section-dark .cards,.section-dark .cards article{border-color:rgba(255,255,255,.18)}.banking-band{background:#f8f6f1}.recognition h2{max-width:720px}.recognition-grid{display:grid;grid-template-columns:repeat(2,1fr);margin-top:50px;border-top:1px solid var(--rule)}.recognition-grid a{display:flex;justify-content:space-between;gap:20px;padding:24px 20px 24px 0;border-bottom:1px solid var(--rule);text-decoration:none}.recognition-grid a:nth-child(odd){margin-right:28px}.recognition-grid b{color:var(--gold)}.service-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 55px;max-width:900px;margin:48px 0 0;padding:0;list-style:none;border-top:1px solid var(--rule)}.service-list li{padding:18px 0;border-bottom:1px solid var(--rule)}.site-footer{padding:74px 0;background:var(--navy);color:#d5dce1}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:60px}.site-footer p,.site-footer a{font-size:13px;color:#d5dce1;text-decoration:none}.site-footer nav{display:flex;flex-direction:column;gap:9px}.footer-legal{display:flex;flex-direction:column;gap:10px;align-items:flex-end;font-size:12px}.skip-link{position:fixed;top:12px;left:12px;z-index:1000;padding:12px 16px;background:#fff;border:2px solid var(--gold);transform:translateY(-160%)}.skip-link:focus{transform:none}:where(a,button):focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:1000px){.nav{gap:17px}.nav>a:not(.button){display:none}.menu{display:flex;align-items:center;gap:4px;flex-direction:column;padding:10px}.menu span{display:block;width:22px;height:1px;background:var(--navy)}.menu b{position:absolute;width:1px;height:1px;overflow:hidden}.nav.open{position:absolute;top:88px;left:0;right:0;display:flex;align-items:stretch;flex-direction:column;padding:24px 32px;background:#fff;box-shadow:0 14px 25px rgba(13,27,42,.12)}.nav.open>a:not(.button){display:block;min-height:44px;padding:10px 0}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:90px 0}.hero-image{min-height:480px;margin:0 calc((100vw - min(1180px,calc(100vw - 64px)))/-2)}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.shell{width:min(100% - 42px,1180px)}.site-header{height:72px}.nav.open{top:72px}.nav .button{font-size:9px;padding:11px}.language-switch{order:2}.hero-copy{padding:72px 0 64px}.hero-image{min-height:340px}.page-hero,.section{padding:72px 0}h1{font-size:45px}.lead{font-size:19px}.cards,.recognition-grid,.service-list,.footer-grid{grid-template-columns:1fr}.cards article{padding:29px 24px}.recognition-grid a:nth-child(odd){margin:0}.footer-legal{align-items:flex-start}.site-footer{padding:60px 0}.footer-grid{gap:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Controlled stock-photography pass. */
.section-image{margin:48px 0 0;overflow:hidden;background:var(--cream)}
.section-image img{width:100%;height:100%;object-fit:cover}
.section-image-wide{height:clamp(300px,38vw,480px)}
.section-image-wide img{object-position:center 52%}
.section-image-portrait{width:min(580px,65%);height:620px;margin-left:auto}
.section-image-portrait img{object-position:center 58%}
.section-image-advisers{height:clamp(310px,40vw,500px)}
.section-image-advisers img{object-position:center 48%}
@media(max-width:700px){.section-image{margin-top:34px}.section-image-wide,.section-image-advisers{height:270px}.section-image-portrait{width:100%;height:430px;margin-left:0}.section-image-portrait img{object-position:center 54%}}

/* Legal, privacy and cookies pass. */
.footer-legal{gap:14px}.footer-legal nav{display:flex;flex-direction:row;gap:16px}.footer-legal nav a{text-decoration:underline;text-decoration-color:rgba(200,170,125,.65);text-underline-offset:4px}.legal-hero{padding:105px 0 82px;background:var(--cream);border-bottom:1px solid var(--rule)}.legal-shell{max-width:820px}.legal-hero h1{font-size:clamp(43px,5vw,68px)}.legal-body{padding:82px 0 105px}.legal-section{padding:0 0 48px;margin:0 0 48px;border-bottom:1px solid var(--rule)}.legal-section:last-of-type{margin-bottom:34px}.legal-section h2{font-size:clamp(28px,3vw,38px);margin-bottom:22px}.legal-prose{color:var(--blue);font-size:16px}.legal-prose p,.legal-prose ul{margin:0 0 20px}.legal-prose ul{padding-left:22px}.legal-prose li{margin-bottom:8px}.legal-prose a{text-decoration-color:var(--gold);text-underline-offset:4px}.legal-updated{color:var(--muted);font-size:13px}.privacy-layer{margin-top:34px;padding:25px 27px;border:1px solid var(--rule);background:var(--cream);font-size:13px;line-height:1.65}.privacy-layer h3{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}.privacy-layer p{margin:0}
@media(max-width:700px){.legal-hero{padding:72px 0 60px}.legal-body{padding:62px 0 76px}.legal-section{padding-bottom:36px;margin-bottom:36px}.legal-prose{font-size:15px}.footer-legal nav{flex-wrap:wrap}.privacy-layer{padding:21px}}

/* Authoritative Santivo 5 wordmarks. */
.wordmark{display:block;width:160px;font-size:0;letter-spacing:0}
.wordmark img{display:block;width:100%;height:auto}

/* Phase A accessibility and responsive corrections. */
.eyebrow{color:var(--navy)}
.section-dark .eyebrow{color:#fff}
@media(max-width:1000px){body.menu-open{overflow:hidden}}
@media(max-width:700px){
  .hero{overflow:hidden}
  .nav{display:none}
  .shell{width:calc(100% - 42px);max-width:1180px;min-width:0}
  .hero-grid{width:100%;max-width:100%;margin:0}
  .hero-copy{min-width:0}
  .hero-image{width:auto;max-width:none;margin-left:-21px;margin-right:-21px}
  h1{font-size:clamp(38px,11.5vw,45px)}
  body.santivo-es h1{font-size:clamp(36px,10.5vw,42px)}
  body.santivo-es .hero h1{font-size:clamp(35px,10vw,41px)}
}
