
:root{--navy:#062f50;--navy2:#0b4773;--teal:#087f87;--gold:#edb446;--ink:#122d43;--muted:#617589;--pale:#f3f7fb;--line:#dae5ee;--radius:16px;--shadow:0 16px 45px #173d5912}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ink);background:#eaf0f5}button,input{font:inherit}button{cursor:pointer}.shell{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100vh}.sidebar{background:#0a2b45;color:white;position:sticky;top:0;height:100vh;overflow-y:auto;padding:22px 14px 28px}.brand{padding:8px 13px 20px;border-bottom:1px solid #ffffff27}.brand strong{display:block;font-size:20px;letter-spacing:-.03em}.brand small{display:block;color:#a8cbdf;margin-top:5px;line-height:1.5}.sidebar h4{color:#85b4cc;letter-spacing:.12em;font-size:10px;margin:21px 12px 8px;text-transform:uppercase}.nav-btn{width:100%;border:0;color:#c4d8e5;background:transparent;text-align:left;display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:11px;font-weight:650;font-size:12px}.nav-btn:hover{background:#ffffff15}.nav-btn.active{background:#eaf5f9;color:#0a3d5a}.nav-btn .num{opacity:.54;font-size:10px;font-variant-numeric:tabular-nums;width:17px}.workarea{min-width:0}.topbar{position:sticky;top:0;z-index:90;background:#fff;padding:10px 32px;border-bottom:1px solid #d5e0e8;display:flex;align-items:center;justify-content:space-between;gap:10px}.topbar .eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--teal);font-weight:850}.topbar h1{margin:1px 0 0;font-size:17px;letter-spacing:-.02em}.pill{background:#edf4f6;border:1px solid #dce8ee;color:#47687b;border-radius:100px;padding:8px 12px;font-size:11px;font-weight:700}.toolbar{display:flex;gap:8px}.toolbar button{border:1px solid #d7e4ec;border-radius:9px;background:#fff;padding:9px 12px;color:#244d67;font-size:12px;font-weight:750}.toolbar button.selected{background:#0c496b;color:white}.viewport{padding:22px 32px 50px}.browser{max-width:1440px;margin:auto;background:white;border:1px solid #c8d8e4;border-radius:14px;overflow:hidden;box-shadow:0 25px 70px #0c304020}.browser-head{background:#f8fafb;display:flex;align-items:center;gap:9px;border-bottom:1px solid #e1e9ed;padding:11px 16px}.dot{width:9px;height:9px;border-radius:50%;background:#f0b5a4}.dot:nth-child(2){background:#f5cb70}.dot:nth-child(3){background:#91cdb0}.address{margin:auto;background:white;border:1px solid #e0e9ef;border-radius:7px;color:#7890a0;font-size:11px;padding:7px 18px;max-width:390px;width:55%;text-align:center}.site{min-height:660px;background:#fff}.govbar{background:#0a2d50;color:#eaf6fc;font-size:10px;display:flex;justify-content:space-between;padding:10px 5%;font-weight:700}.sitehead{height:83px;display:flex;align-items:center;gap:15px;justify-content:space-between;padding:0 5%;border-bottom:1px solid #e6edf1}.logo{font-weight:950;line-height:1;color:#08395d;font-size:20px}.logo small{display:block;letter-spacing:0;font-size:8px;font-weight:600;margin-top:5px;color:#648395}.sitenav{display:flex;align-items:center;gap:13px;flex-wrap:wrap;justify-content:flex-end}.sitenav button{padding:0;border:0;background:transparent;color:#123c52;font-size:10px;font-weight:800}.systemsbtn{background:#0b5278!important;color:white!important;border-radius:9px!important;padding:12px 14px!important}.content{width:min(1170px,91%);margin:0 auto}.hero{position:relative;background:#0b395c;min-height:340px;overflow:hidden;display:flex;align-items:center}.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero .fade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,36,59,.74),rgba(5,36,59,.28) 47%,transparent 76%)}.hero .heroinner{position:relative;z-index:2;width:min(1170px,91%);margin:0 auto;padding:38px 0 75px;color:white}.kicker{font-size:10px;letter-spacing:.18em;font-weight:900;text-transform:uppercase;color:#edbd63}.hero h2{font-size:clamp(29px,3.4vw,48px);max-width:650px;line-height:1.06;letter-spacing:-.05em;margin:12px 0}.hero p{font-size:13px;line-height:1.7;max-width:550px;color:#f3f8fa}.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#efb442;border:0;padding:12px 19px;border-radius:10px;font-size:12px;color:#123b53;font-weight:900;text-decoration:none}.secondary{display:inline-flex;align-items:center;justify-content:center;background:#ecf5f8;border:1px solid #d6e8ed;padding:11px 16px;border-radius:10px;font-size:12px;color:#0c5570;font-weight:850;text-decoration:none}.waves{height:66px;position:absolute;bottom:-1px;left:0;width:100%;z-index:5}.waves svg{width:100%;height:100%;display:block}.section{padding:49px 0}.section.alt{background:#f3f8fb}.sectop{display:flex;gap:20px;justify-content:space-between;align-items:flex-end;margin-bottom:22px}.eyebrow{color:#067887;text-transform:uppercase;font-weight:900;font-size:10px;letter-spacing:.15em}.sectop h3,.section h3{font-size:clamp(22px,2.5vw,31px);letter-spacing:-.04em;color:#092e48;margin:6px 0}.lead{color:#60798a;font-size:13px;line-height:1.65;max-width:640px;margin:6px 0 0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card{border:1px solid #dfebef;border-radius:13px;background:white;overflow:hidden;box-shadow:0 6px 16px #0c3f5810}.card img{width:100%;height:157px;object-fit:cover;display:block}.cardbody{padding:18px}.card h4{font-size:16px;line-height:1.3;letter-spacing:-.03em;margin:3px 0 7px}.card p{font-size:12px;line-height:1.6;color:#658092;margin:0 0 15px}.card a,.card button{border:0;background:none;padding:0;color:#066f85;font-weight:850;font-size:11px;text-decoration:none}.note{padding:12px 15px;border:1px dashed #c6dbe5;border-radius:10px;background:#f7fbfd;color:#607c8b;font-size:12px;line-height:1.5}.strip{padding:28px 0;background:#eef6fb}.searchline{display:flex;gap:20px;align-items:center;justify-content:space-between}.searchline h3{font-size:24px;margin:0 0 5px}.searchline input{border-radius:10px;border:1px solid #cee0e9;padding:14px 16px;min-width:320px;color:#385e77;max-width:100%}.showcase{display:grid;grid-template-columns:260px 1fr;gap:23px}.sidemen{border:1px solid #d6e5ec;border-radius:12px;background:white;padding:15px;height:max-content}.sidemen h4{margin:3px 3px 13px}.sidemen button{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:8px;padding:10px;color:#466678;font-size:12px}.sidemen button:first-of-type{background:#e5f3f6;color:#075b73;font-weight:850}.feature{display:grid;grid-template-columns:1.05fr .95fr;border-radius:15px;overflow:hidden;background:#f1f7fa}.feature img{width:100%;height:325px;object-fit:cover}.feature .text{padding:34px;align-self:center}.feature h3{font-size:30px;margin:10px 0}.feature p{font-size:13px;color:#60798a;line-height:1.75}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #cddde5;background:#fff;border-radius:40px;padding:8px 12px;color:#315870;font-size:11px;font-weight:700}.chip.active{background:#0c6280;color:white;border-color:#0c6280}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat{border:1px solid #dde9ef;border-radius:12px;background:white;padding:21px}.stat strong{display:block;color:#0c5976;font-size:28px}.stat span{font-size:12px;color:#6f8795}.docrow{border:1px solid #dde8ee;background:white;border-radius:12px;padding:19px;display:flex;align-items:center;gap:18px;margin-bottom:11px}.docicon{width:43px;height:50px;border-radius:8px;background:#e2f3f5;color:#0a6580;display:grid;place-items:center;font-size:21px}.docrow .meta{flex:1}.docrow strong{font-size:14px}.docrow p{font-size:11px;color:#6b8291}.footer{background:#082f4b;color:#d9e9f2;padding:43px 5% 25px}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:22px}.footer h4{font-size:13px;color:white}.footer p,.footer li{font-size:11px;line-height:1.9;color:#b3d0de}.footer ul{padding:0;list-style:none}.bottomline{border-top:1px solid #ffffff27;padding-top:16px;font-size:10px;color:#95bbcf;margin-top:22px}.tag{font-size:10px;color:#007487;background:#e9f6f7;display:inline-block;padding:5px 10px;border-radius:40px;font-weight:800}.qrow{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border:1px solid #d8e6ec;border-radius:11px;margin:9px 0;font-size:13px}.timeline{border-left:3px solid #bad8e4;padding-left:25px}.event{padding-bottom:21px}.event strong{color:#0b5776;font-size:12px}.event p{font-size:12px;color:#60798a}.highlight{background:#e9f3f8;border-left:4px solid #f4b642;padding:20px 23px;border-radius:10px}.rightfloating{position:fixed;right:22px;bottom:18px;background:white;color:#0b526e;border:1px solid #cfe5e1;border-radius:50px;padding:13px 17px;box-shadow:var(--shadow);z-index:100;font-size:12px;font-weight:850}.review{max-width:1440px;margin:19px auto 0;color:#647f8f;font-size:12px;line-height:1.65}.review strong{color:#0a4f70}.mobile-frame .browser{max-width:440px}.mobile-frame .sitenav{display:none}.mobile-frame .sitehead{height:70px}.mobile-frame .grid,.mobile-frame .grid.two,.mobile-frame .grid.four,.mobile-frame .footgrid,.mobile-frame .stats{grid-template-columns:1fr}.mobile-frame .showcase,.mobile-frame .feature{grid-template-columns:1fr}.mobile-frame .hero{min-height:300px}.mobile-frame .heroinner{padding:34px 0 75px}.mobile-frame .hero h2{font-size:29px}.mobile-frame .sectop,.mobile-frame .searchline{display:block}.mobile-frame .searchline input{min-width:0;width:100%;margin-top:15px}.mobile-frame .feature img{height:210px}.mobile-frame .section{padding:30px 0}.mobile-frame .govbar{font-size:8px}.mobile-frame .topbar{padding:10px}.preview-legend{border:1px solid #d5e4e9;background:#f0f8fa;border-radius:11px;padding:14px 18px;font-size:12px;color:#5b7385}.badgelabel{display:inline-flex;border:1px solid #bde2e3;color:#007d87;border-radius:30px;padding:4px 9px;font-size:10px;font-weight:800;margin:2px 3px}.list-lines{padding-left:19px;color:#597789;font-size:12px;line-height:2}.logos{display:flex;gap:18px;justify-content:space-around;align-items:center;flex-wrap:wrap}.logobox{background:#f4f9fb;border:1px solid #dce9ee;border-radius:12px;width:142px;height:92px;display:grid;place-items:center;color:#608395;font-size:11px;text-align:center;padding:10px}.formbox{padding:24px;background:#f6fafc;border:1px solid #dceaf0;border-radius:14px}.formbox label{display:block;color:#46677a;font-size:12px;margin-bottom:5px}.formbox input{width:100%;padding:12px;border:1px solid #cfdfe7;border-radius:8px;margin-bottom:13px;background:white}.t-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.t-item{border-radius:11px;padding:16px;background:white;border:1px solid #dbe7ed;font-size:12px}.empty-img{height:155px;border:2px dashed #cbdce7;border-radius:10px;background:repeating-linear-gradient(135deg,#f2f8fa,#f2f8fa 13px,#eaf1f5 13px,#eaf1f5 26px);display:grid;place-items:center;color:#66879b;font-weight:800;font-size:11px}.empty-img::before{content:'▧  ';font-size:23px}.page-tools{border-top:1px solid #edf2f6;padding:10px 5%;font-size:11px;color:#748b9c}.mockcontrol{display:flex;gap:10px;justify-content:end;margin-bottom:15px}.mockcontrol button{background:#fff;border:1px solid #cfdde7;color:#406478;border-radius:7px;font-size:11px;padding:7px 10px}.mockcontrol button.on{background:#e2f1f5;border-color:#a9d7dc;color:#046a7c}.hidden{display:none!important}@media(max-width:1050px){.shell{grid-template-columns:215px minmax(0,1fr)}.sitenav{gap:6px}.sitenav button{font-size:9px}.grid.four{grid-template-columns:repeat(2,1fr)}}@media(max-width:740px){.shell{display:block}.sidebar{position:relative;height:auto;padding:14px}.brand{padding-bottom:11px}.sidebar h4{display:none}.nav-buttons{display:flex;overflow-x:auto;gap:5px}.nav-btn{white-space:nowrap;width:auto}.topbar{position:static;padding:12px}.viewport{padding:12px}.address{display:none}.sitenav{display:none}.showcase{grid-template-columns:1fr}.feature{grid-template-columns:1fr}.grid,.grid.two,.grid.four,.stats,.footgrid{grid-template-columns:1fr}.sectop,.searchline{display:block}.searchline input{min-width:0;width:100%;margin-top:14px}.hero{min-height:280px}.hero h2{font-size:30px}.toolbar .pill{display:none}}

/* Versión 2: jerarquía visual, mejor encuadre y navegación consolidada */
.sitenav{gap:10px;flex-wrap:nowrap}.sitenav button{white-space:nowrap;font-size:10px}
.sitenav button.current{color:#067b8e;border-bottom:2px solid #eab348;padding-bottom:5px}
.more-wrapper{position:relative}.more-menu{position:absolute;right:0;top:27px;width:198px;padding:9px;background:white;border:1px solid #d8e7ee;box-shadow:0 15px 40px #153c5927;border-radius:12px;z-index:120;display:grid;gap:3px}.more-menu[hidden]{display:none}.more-menu button{font-size:12px;padding:10px;text-align:left;white-space:normal;border-radius:6px}.more-menu button:hover{background:#eef6f9}
.footer button{border:0;background:none;color:#bdd7e3;font-size:11px;padding:3px 0;text-align:left}.footer button:hover{text-decoration:underline}
.hero{min-height:274px;max-height:330px;background:#163e58}.hero>img{object-position:center 45%}.hero .fade{background:linear-gradient(90deg,rgba(5,32,49,.55),rgba(5,32,49,.20) 34%,transparent 65%)}.hero .heroinner{padding:33px 0 75px}.hero h2{font-size:clamp(29px,3.2vw,42px);max-width:590px;text-shadow:0 2px 10px #001b2e66}.hero p{max-width:490px;line-height:1.5}.hero .waves{height:44px}
.home-hero{min-height:400px;max-height:400px;display:block}.home-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s;pointer-events:none}.home-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}.home-slide>img{width:100%;height:100%;object-fit:cover;object-position:center 48%}.home-slide .fade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,32,49,.54),rgba(5,32,49,.20) 31%,transparent 60%)}.home-slide .heroinner{padding:67px 0 90px}.home-hero h2{font-size:clamp(32px,3.6vw,49px);max-width:520px}.home-hero .waves{height:63px}.slide-controls{position:absolute;right:5%;bottom:69px;display:flex;align-items:center;gap:14px;z-index:12;background:#052c48b8;padding:5px 9px;border-radius:40px;color:white;font-size:12px;font-weight:800}.slide-controls button,.gallery-caption button{border:1px solid #ffffff66;background:#ffffff22;color:white;border-radius:50%;height:28px;width:28px;font-size:20px;display:grid;place-items:center}
.home-access .card img{height:170px}.home-access .cardbody{min-height:142px}.home-search{display:flex;gap:8px}.home-search input{min-width:300px}
.editorial{display:grid;grid-template-columns:1.05fr .95fr;border-radius:19px;overflow:hidden;background:#fff;border:1px solid var(--line)}.editorial-photo{min-height:315px}.editorial-photo img{height:100%;width:100%;object-fit:cover;display:block}.editorial-copy{padding:38px;align-self:center}.editorial-copy h3{font-size:30px;margin:9px 0}.editorial-copy p{color:var(--muted);font-size:13px;line-height:1.65;margin-bottom:18px}.news-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.news-strip .card{display:grid;grid-template-columns:43% 1fr}.news-strip .card img{height:100%;min-height:180px}.split-link{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:29px;border-radius:15px;border:1px solid var(--line);background:#f1f7fb}
.visual-gallery .gallery-main{position:relative;border-radius:17px;overflow:hidden;height:410px;background:#173c55}.gallery-main>img{height:100%;width:100%;object-fit:cover}.gallery-caption{position:absolute;inset:auto 0 0;padding:16px 22px 20px;background:linear-gradient(0deg,#06263ddc,transparent);color:#fff;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:800}.gallery-caption>div{display:flex;gap:8px}.gallery-thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:13px}.gallery-thumbs button{padding:0;border:3px solid transparent;border-radius:8px;overflow:hidden;background:#fff;height:82px}.gallery-thumbs button.selected{border-color:var(--gold)}.gallery-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.card .empty-img{height:130px}.section{padding:41px 0}.sectop{margin-bottom:19px}.feature img{object-position:center 40%}.browser .site{overflow:hidden}
.mobile-frame .sitenav{display:none}.mobile-frame .sitenav.mobile-open{display:flex;position:absolute;z-index:150;top:115px;left:8%;right:8%;flex-direction:column;align-items:stretch;background:#fff;padding:18px;box-shadow:0 25px 50px #00273d35;border-radius:13px}.mobile-frame .sitenav.mobile-open button{padding:12px}.mobile-frame .more-menu{position:static;box-shadow:none}.mobile-frame .home-hero{min-height:360px;max-height:360px}.mobile-frame .home-slide .heroinner{padding:42px 0 95px}.mobile-frame .home-hero h2{font-size:29px}.mobile-frame .slide-controls{bottom:51px;right:4%}.mobile-frame .hero .waves{height:43px}.mobile-frame .home-hero .waves{height:56px}.mobile-frame .home-access,.mobile-frame .news-strip,.mobile-frame .editorial{grid-template-columns:1fr}.mobile-frame .news-strip .card{grid-template-columns:1fr}.mobile-frame .editorial-photo{min-height:200px}.mobile-frame .gallery-main{height:260px}.mobile-frame .gallery-thumbs{grid-template-columns:repeat(3,1fr)}.mobile-frame .gallery-thumbs button{height:72px}.mobile-frame .home-search{margin-top:13px}.mobile-frame .home-search input{min-width:0;width:100%}.mobile-frame .hero .heroinner{padding-bottom:70px}
@media(max-width:1160px){.sitehead{height:auto;min-height:78px}.sitenav{gap:7px}.sitenav button{font-size:9px}.systemsbtn{padding:10px 9px!important}}


/* V3: inspiración corporativa Finaleyas, implementación original para ZOFRACOBIJA */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');
:root{--navy:#102f48;--navy2:#173f61;--teal:#187b8b;--gold:#db9d36;--ink:#18354b;--muted:#6e7f8e;--pale:#f5f8fa;--line:#e5eaef;--radius:12px;--shadow:0 18px 44px #173d5910}
body{font-family:'Nunito','Segoe UI',system-ui,sans-serif;color:var(--ink);background:#eaf0f3}
.sidebar{background:#102c42}.nav-btn.active{background:#e8f2f5;color:#123d57}
.topbar{background:#fff}.site{font-family:'Nunito','Segoe UI',system-ui,sans-serif}
.govbar{background:#173d5a;letter-spacing:.015em}
.sitehead{height:93px;border-bottom:1px solid #ecf0f3;background:white;box-shadow:0 8px 24px #0a26380c}
.logo{color:#113b56;font-weight:900;letter-spacing:-.04em}
.sitenav button{font-size:11px;font-weight:800;color:#233c4d}
.sitenav button:hover,.sitenav button.current{color:#c58e32}
.systemsbtn{background:#c9953c!important;color:#fff!important;border-radius:4px!important}
.hero{background:#102e49;min-height:250px}
.hero>img{object-position:center 48%;}
.hero .fade{background:linear-gradient(90deg,rgba(10,35,55,.68) 0%,rgba(10,35,55,.33) 40%,rgba(10,35,55,.04) 75%,transparent 100%)}
.hero .heroinner{padding:52px 0 54px}
.hero h2{font-size:clamp(28px,3vw,42px);font-weight:900;letter-spacing:-.035em;line-height:1.16;max-width:680px}
.hero p{font-size:14px;line-height:1.7;max-width:560px}
.kicker{font-weight:900;color:#f1bb59;letter-spacing:.16em}
.home-hero{height:clamp(430px,37vw,620px);min-height:430px;max-height:none;display:block;background:#102e49}
.home-slide{display:flex;align-items:center}
.home-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 50%}
.home-slide .fade{background:linear-gradient(90deg,rgba(10,34,52,.75) 0%,rgba(10,34,52,.58) 20%,rgba(10,34,52,.24) 46%,rgba(10,34,52,0) 78%)}
.home-slide .heroinner{padding:62px 0 64px;position:relative;z-index:3;width:min(1170px,91%)}
.home-hero h2{font-size:clamp(35px,4.2vw,66px);max-width:700px;line-height:1.10;font-weight:900;letter-spacing:-.045em;text-shadow:0 2px 9px #09273b33}
.home-hero .heroinner p{font-size:clamp(14px,1.3vw,17px);color:#e9f0f5;max-width:510px;margin:17px 0 24px}
.primary{background:#dca23f;color:#fff;border-radius:4px;letter-spacing:.012em;font-size:13px;padding:14px 22px;box-shadow:0 8px 22px #121c2420}
.primary:hover{background:#b97e24}.secondary{border-radius:5px;color:#17445f}
.slide-controls{bottom:25px;right:5%;padding:8px 12px;gap:12px;border-radius:6px;background:#0b2b42b5}
.slide-controls button{width:32px;height:32px;border-radius:4px}
.waves,.home-hero .waves{display:none!important}
.section{padding:60px 0}.section.alt{background:#f5f8fa}
.sectop h3,.section h3{color:#17354c;font-weight:900;letter-spacing:-.035em}
.eyebrow{color:#c58e32;font-weight:900}
.card{border-radius:9px;border:1px solid #e5ebf0;box-shadow:0 10px 24px #142f4310;transition:transform .22s ease,box-shadow .22s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 36px #142f431b}
.card img{height:180px}.card h4{color:#18354b}
.card a,.card button{color:#156a82}
.feature,.editorial{border-radius:10px}
.feature img{height:340px}
.sidemenu,.sidemen,.docrow{border-radius:9px}
.footer{background:#102d43}.docicon{background:#e9f0f6;color:#1a6884}
.tag{background:#e5f2f5;color:#17647b}
.preview-legend{border-left:4px solid #dca23f}
/* Las vistas interiores emplean banners compactos, no replican el carrusel de portada */
.site .hero:not(.home-hero){min-height:255px}
.site .hero:not(.home-hero) .heroinner{padding:47px 0 48px}
/* Maqueta móvil realista dentro de la herramienta de evaluación */
.mobile-frame .home-hero{height:470px;min-height:470px;max-height:none}
.mobile-frame .home-slide>img{object-position:60% center}
.mobile-frame .home-slide .fade{background:linear-gradient(90deg,rgba(10,34,52,.72),rgba(10,34,52,.24) 100%)}
.mobile-frame .home-slide .heroinner{padding:48px 0 100px}
.mobile-frame .home-hero h2{font-size:clamp(29px,6.7vw,39px);line-height:1.13}
.mobile-frame .home-hero .heroinner p{font-size:13px}
.mobile-frame .slide-controls{right:5%;bottom:18px}
.mobile-frame .site .hero:not(.home-hero){min-height:240px}
@media(max-width:760px){.home-hero{min-height:470px;height:470px}.home-slide>img{object-position:60% center}.home-slide .fade{background:linear-gradient(90deg,rgba(10,34,52,.72),rgba(10,34,52,.26))}.home-slide .heroinner{padding-bottom:95px}.home-hero h2{font-size:clamp(30px,7.5vw,43px)}.sitehead{height:75px}.sitenav.mobile-open{background:white}.slide-controls{bottom:14px}}

/* V4 — equilibrio visual, sin alterar contenidos ni rutas */
.home-hero{height:clamp(480px,41vw,690px)!important;min-height:480px!important;max-height:none!important}
.home-slide .heroinner{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding:55px 30px!important;width:min(950px,92%)!important;margin:auto!important}
.home-slide .fade{background:linear-gradient(180deg,rgba(4,25,41,.14),rgba(4,25,41,.28) 48%,rgba(4,25,41,.25))!important}
.home-slide .kicker{display:inline-block;font-size:12px;letter-spacing:.22em;color:#f6c46d;text-shadow:0 2px 7px #051b2bbb}
.home-hero h2{font-size:clamp(35px,4.1vw,62px)!important;line-height:1.13!important;max-width:850px!important;margin:0!important;font-weight:900;text-shadow:0 3px 22px #001523a8;letter-spacing:-.035em}
.home-slide .primary{margin-top:5px;min-width:190px;box-shadow:0 12px 28px #0002}
.home-hero .slide-controls{z-index:8;right:calc(50% - 64px)!important;bottom:20px!important;background:rgba(7,33,53,.50);backdrop-filter:blur(8px)}
/* Interior: photograph remains visible, natural framing, instead of a thin strip */
.site .hero:not(.home-hero){min-height:370px!important;display:flex;align-items:center}
.site .hero:not(.home-hero) .heroinner{padding:64px 0 68px!important}
.site .hero:not(.home-hero)>img{object-fit:cover;object-position:center 47%}
.site .hero:not(.home-hero) .fade{background:linear-gradient(90deg,rgba(9,31,50,.60),rgba(9,31,50,.20) 57%,rgba(9,31,50,.03) 89%)}
.site .hero:not(.home-hero) h2{max-width:760px;font-size:clamp(33px,3.4vw,48px);line-height:1.14}
.site .hero:not(.home-hero) p{max-width:620px;font-size:14px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* More balanced image sizes in feature blocks */
.card img{height:auto!important;aspect-ratio:5/3;object-fit:cover}
.feature img{height:100%!important;min-height:370px;object-fit:cover}
.editorial-photo{min-height:385px}
.editorial-photo img{height:100%;min-height:385px;object-fit:cover}
.gallery-main{min-height:410px}
.gallery-main img{height:410px;object-fit:cover}
.section{padding:54px 0}
@media(max-width:760px){
  .home-hero{height:510px!important;min-height:510px!important}
  .home-slide .heroinner{gap:16px;padding:50px 15px 82px!important}
  .home-hero h2{font-size:clamp(30px,8vw,45px)!important;max-width:100%!important}
  .home-slide .fade{background:linear-gradient(180deg,rgba(4,25,41,.25),rgba(4,25,41,.45))!important}
  .site .hero:not(.home-hero){min-height:300px!important}
  .site .hero:not(.home-hero) .heroinner{padding:46px 0!important}
  .feature img{height:255px!important;min-height:255px}
  .editorial-photo,.editorial-photo img{min-height:250px}
  .gallery-main{min-height:250px}.gallery-main img{height:250px}
}
/* The prototype's built-in mobile preview needs the same proportions */
.mobile-frame .home-hero{height:510px!important;min-height:510px!important}
.mobile-frame .home-slide .heroinner{padding:50px 12px 82px!important}
.mobile-frame .home-hero h2{font-size:35px!important}
.mobile-frame .site .hero:not(.home-hero){min-height:300px!important}
.mobile-frame .site .hero:not(.home-hero) .heroinner{padding:46px 0!important}
.mobile-frame .feature img{height:255px!important;min-height:255px}

/* V5: mejoras puntuales para fotografía real y mascota Zofrito */
.zofrito-photo{min-height:325px;background:#fff;display:grid;place-items:center;padding:18px}
.zofrito-photo img{max-height:290px;max-width:100%;object-fit:contain;width:auto;height:auto}
.home-slide>img{object-position:center 44%}
@media(max-width:760px){.home-slide>img{object-position:center 45%}}

/* V6: fotografías sin deformación, jerarquía más limpia y carrusel animado */
.home-hero{height:clamp(420px,40vw,590px)!important;min-height:420px!important;max-height:none!important}
.home-slide{opacity:0;visibility:hidden;transform:scale(1.025);transition:opacity .9s ease, visibility .9s,transform 5.8s ease;will-change:opacity,transform}
.home-slide.is-active{opacity:1;visibility:visible;transform:scale(1)}
.home-slide>img{width:100%;height:100%;object-fit:cover;object-position:center 45%}
.home-slide .heroinner{max-width:840px!important;padding:58px 24px!important;gap:14px!important}
.home-hero h2{font-size:clamp(30px,3.8vw,52px)!important;max-width:790px!important;line-height:1.14!important;letter-spacing:-.035em!important}
.home-slide .kicker{font-size:10px!important}
.home-slide .fade{background:linear-gradient(180deg,rgba(2,27,45,.09),rgba(2,27,45,.30) 45%,rgba(2,27,45,.28))!important}
.slide-controls{bottom:24px!important;right:50%!important;transform:translateX(50%);z-index:10;background:rgba(4,35,57,.64);gap:9px}
.card img{height:auto!important;aspect-ratio:16/10;object-fit:cover;object-position:center;}
.home-access .card img{aspect-ratio:16/10;}
.news-strip .card img{aspect-ratio:16/10;}
.feature img{height:100%!important;min-height:320px!important;object-fit:cover;object-position:center;}
.editorial-photo{min-height:320px!important;}
.editorial-photo img{height:100%!important;min-height:320px!important;object-fit:cover;}
.site .hero:not(.home-hero){min-height:340px!important;height:auto!important;aspect-ratio:auto;}
.site .hero:not(.home-hero)>img{object-fit:cover;object-position:center 44%;}
.gallery-main img{object-fit:contain!important;background:#112e44;max-height:470px;}
.gallery-thumbs button img{object-fit:cover!important;}
.section{padding:42px 0!important}
.sectop{margin-bottom:18px!important}
.cardbody{padding:15px 17px!important}
.card p{margin-bottom:10px!important}
@media (prefers-reduced-motion:reduce){.home-slide{transition:none!important;transform:none!important}}
@media(max-width:760px){
 .home-hero,.mobile-frame .home-hero{height:510px!important;min-height:510px!important;max-height:none!important}
 .home-slide>img{object-position:center!important}
 .home-hero h2{font-size:clamp(29px,7vw,40px)!important}
 .home-slide .heroinner{padding:36px 16px 75px!important}
 .site .hero:not(.home-hero){min-height:280px!important}
 .feature img,.editorial-photo img{min-height:250px!important;height:250px!important}
 .gallery-main img{object-fit:contain!important;height:310px!important}
}
.mobile-frame .home-hero{height:500px!important;min-height:500px!important;max-height:none!important}
.mobile-frame .home-slide .heroinner{padding:38px 12px 68px!important}
.mobile-frame .feature img{height:260px!important;min-height:260px!important}


/* WordPress frontend: maquetación V6 a tamaño real, sin marcos de revisión. */
html,body {margin:0;padding:0;background:#fff;}
.site {width:100%;max-width:none;min-height:100vh;overflow-x:clip;}
.sitehead{position:relative;z-index:30}
.sitenav .more-menu{z-index:150}
.page-tools,.preview-legend,.browser-head,.review{display:none!important}
.zf-cif-mount{background:white;padding:20px 0}
.zf-real-post{color:var(--navy2);font-weight:900;text-decoration:underline}
.home-slide>img,.hero>img{display:block;object-fit:cover;object-position:center 46%;}
.card img{object-fit:cover;aspect-ratio:5/3;height:auto!important;}
@media(max-width:1160px){.sitehead{height:auto;min-height:82px;flex-wrap:wrap;padding-top:15px;padding-bottom:15px}.sitenav{flex-wrap:wrap;justify-content:flex-start}}
@media(max-width:760px){.sitehead{padding:16px 5%}.sitenav{display:none!important}.sitenav.mobile-open{display:flex!important;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:12px;padding:20px 5%;box-shadow:0 15px 35px #11374a2a}.sitenav button{text-align:left;font-size:14px!important;padding:8px 0}.more-menu{position:static}.zf-mobile-toggle{display:block!important}.home-slide .heroinner{width:94%!important}.home-hero h2{font-size:clamp(30px,7vw,44px)!important}}

/* V7: el azul corporativo recupera protagonismo; dorado solamente como acento. */
:root{--gold:#d4ab5c!important;--navy:#102f48!important;--navy2:#173f61!important}
.site .primary,.site .systemsbtn{background:#173f61!important;color:#fff!important;border:1px solid #173f61!important;box-shadow:none!important}
.site .primary:hover,.site .systemsbtn:hover{background:#102f48!important}
.site .kicker,.site .eyebrow{color:#b38c3e}
.sitehead .zf-v7-official-logo{display:block;max-height:67px;max-width:210px;width:auto;height:auto;object-fit:contain}
.sitehead .logo{flex-shrink:0;min-width:160px}
.sitehead .zf-v7-logo-placeholder{font-size:21px;color:#123e60}
.zf-v7-digest-header,.zf-v7-currency-head,.zf-v7-summary{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:23px}
.zf-v7-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.zf-v7-news-card{overflow:hidden;border-radius:15px;border:1px solid #d9e4ed;background:white;box-shadow:0 8px 22px #173f610d}
.zf-v7-news-card>img,.zf-v7-news-fallback{display:block;width:100%;height:195px;object-fit:cover;object-position:center 40%}
.zf-v7-news-fallback{background:#edf3f6;display:grid;place-items:center;color:#31566e;font-size:12px}
.zf-v7-news-body{padding:22px}.zf-v7-news-body h4{font-size:18px;margin:8px 0;color:#102f48;line-height:1.35}.zf-v7-news-body p{font-size:13px;color:#5f7381;line-height:1.6}
.zf-v7-empty-news{padding:29px;background:#f1f6f9;border:1px solid #dae7ec;border-radius:15px}
.zf-v7-empty-news p{font-size:13px;color:#5f7381}
.zf-v7-currency-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.zf-v7-dollar,.zf-v7-customs{padding:28px;border-radius:17px;border:1px solid #dbe5ea;background:#fff}
.zf-v7-dollar{border-top:4px solid #173f61}
.zf-v7-customs{border-top:4px solid #b38c3e}
.zf-v7-week{font-size:12px;padding:8px 12px;background:#e9f0f5;border-radius:8px;color:#244c62}
.zf-v7-rate-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:23px}
.zf-v7-rate-pair>div{background:#f0f5f8;border-radius:11px;padding:18px}
.zf-v7-rate-pair small{display:block;color:#617687}.zf-v7-rate-pair strong{font-size:33px;color:#173f61}
.zf-v7-currency-note,.zf-v7-customs p{font-size:13px;color:#617687;line-height:1.65}
.zf-v7-customs h4{font-size:21px;color:#102f48;margin:12px 0}
.zf-v7-official-link{display:inline-block;color:#173f61;font-weight:800;margin-top:15px;text-decoration:underline}
.zf-v7-plugin-notice{font-size:12px;color:#617687}
.zf-v7-summary{margin-bottom:0;border-top:1px solid #d9e6ed;padding:9px 0 0}
@media(max-width:850px){.zf-v7-news-grid{grid-template-columns:1fr 1fr}.zf-v7-currency-layout{grid-template-columns:1fr}}
@media(max-width:600px){.zf-v7-news-grid{grid-template-columns:1fr}.zf-v7-digest-header,.zf-v7-currency-head,.zf-v7-summary{align-items:flex-start;flex-direction:column}.zf-v7-rate-pair strong{font-size:27px}}

/* V8: portada informativa conectable, sin tarjetas duplicadas ni cotizaciones simuladas */
.zf-v8-currency-section{display:grid;grid-template-columns:1fr;gap:18px}
.zf-v8-currency-plugin:empty{display:none}
.zf-v8-currency-plugin:not(:empty){padding:22px;background:#fff;border:1px solid #dce8ee;border-radius:15px;overflow-x:auto}
.zf-v8-currency-source{border:1px solid #dce8ee;border-left:4px solid #b68e47;border-radius:14px;background:white;padding:22px 26px}
.zf-v8-currency-source p{max-width:690px;margin:9px 0;color:#5b6e7c;font-size:14px}
.zf-v7-currency-head .lead{max-width:630px}
.zf-v7-empty-news{max-width:700px}
.site .primary,.site .systemsbtn{background-color:#173f61!important;border-color:#173f61!important;color:#fff!important}
.site .primary:hover,.site .systemsbtn:hover{background-color:#102f48!important}

/* V8.1: proporciones definidas en la revisión técnica, sin deformar fotografías.
   La relación 1920:700 es la referencia visual del hero en escritorio. */
.site .hero.home-hero {
  width:100%;
  height: min(36.4583vw, 700px) !important;
  min-height: min(36.4583vw, 700px) !important;
  max-height: 700px !important;
  aspect-ratio: 1920 / 700;
  overflow:hidden;
}
.site .hero.home-hero .home-slide,
.site .hero.home-hero .home-slide>img {
  width:100%; height:100%;
}
.site .hero.home-hero .home-slide>img {object-fit:cover !important;object-position:center 47%;}
.site .hero.home-hero .home-slide .heroinner {
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;max-width:850px;gap:12px;
}
.site .hero.home-hero .home-slide .fade {
 background:linear-gradient(180deg,rgba(5,28,47,.10) 0%,rgba(5,28,47,.29) 55%,rgba(5,28,47,.24) 100%) !important;
}
.site .hero:not(.home-hero) {
  height:clamp(310px,37.5vw,600px) !important;
  min-height:310px !important; max-height:600px !important;
  overflow:hidden;
}
.site .hero:not(.home-hero)>img {width:100%;height:100%;object-fit:cover !important;object-position:center 45%;}
.site .card img,.site .news-strip .card img,.site .home-access .card img,
.site .zf-v7-news-card>img {width:100%;height:auto!important;aspect-ratio:8/5 !important;object-fit:cover!important;}
.site .gallery-main>img,.site .visual-gallery .gallery-main>img {
 width:100%;height:100%!important;object-fit:contain!important;
}
.site .gallery-thumbs img {width:100%;height:100%;object-fit:cover;}
@media(max-width:760px){
  .site .hero.home-hero{height:480px!important;min-height:480px!important;max-height:none!important;aspect-ratio:auto;}
  .site .hero.home-hero .home-slide>img{object-position:center 45%;}
  .site .hero:not(.home-hero){height:300px!important;min-height:300px!important;max-height:none!important;}
  .site .hero.home-hero h2 {font-size:clamp(28px,7vw,42px)!important;}
}
@media(prefers-reduced-motion: reduce){.site .home-slide{transition:none!important;transform:none!important;}}

/* 3.2.2 — Presentación visual de datos emitidos por el plugin de Aduana.
   No reemplaza los registros, cálculos ni fechas del plugin. */
.site .zf-v8-currency-section{gap:16px!important}
.site .zf-v8-currency-plugin:not(:empty){padding:24px!important;border:1px solid #dbe6ee!important;border-radius:20px!important;box-shadow:0 12px 32px rgba(8,40,70,.06);background:#fff!important;overflow:visible!important}
.site .zf-v8-currency-plugin h1,.site .zf-v8-currency-plugin h2,.site .zf-v8-currency-plugin h3{color:#102f48;line-height:1.2}
.site .zf-v8-currency-plugin p{line-height:1.55;color:#506780}
.site .zf-v8-currency-plugin table{width:100%;border-collapse:collapse;table-layout:auto;background:#fff;border-radius:12px;overflow:hidden}
.site .zf-v8-currency-plugin th{background:#123e5b;color:#fff;padding:12px;text-align:left;font-weight:750}
.site .zf-v8-currency-plugin td{padding:12px;border-bottom:1px solid #e0e9f0}
.site .zf-v8-currency-plugin tr:nth-child(even) td{background:#f5f9fb}
.site .zf-v8-currency-plugin a{color:#075d84;text-underline-offset:3px}
.site .zf-v8-currency-source{background:#f9fbfd;border:1px solid #d9e6ed;border-radius:14px;padding:16px 22px}
.site .zf-v8-currency-source p{margin:5px 0;font-size:13px}
.site .zf-v7-currency-head .lead{font-size:14px}
.site .zf-currency-visual{display:grid;gap:20px;font-family:inherit}
.site .zf-currency-topline{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.site .zf-currency-topline h4{font-size:22px!important;line-height:1.2!important;margin:5px 0!important;color:#12324e!important}
.site .zf-currency-topline .zf-currency-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#9a7529}
.site .zf-currency-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.site .zf-currency-meta>span{font-size:12px;color:#35536a;background:#edf4f8;padding:8px 10px;border-radius:9px;font-weight:650}
.site .zf-currency-meta .zf-currency-historical{background:#fff3dc;color:#84580a}
.site .zf-currency-meta .zf-currency-current{background:#e8f6ef;color:#226348}
.site .zf-currency-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.site .zf-currency-tile{background:linear-gradient(150deg,#fff,#f5f9fc);border:1px solid #dce7ed;border-radius:16px;padding:19px 17px;min-width:0}
.site .zf-currency-tile:first-child{background:linear-gradient(140deg,#103b60,#164e73);border-color:#164e73;color:#fff}
.site .zf-currency-tile .zf-currency-code{font-size:12px;font-weight:800;letter-spacing:.08em;color:#47728b}
.site .zf-currency-tile:first-child .zf-currency-code{color:#b6d7e6}
.site .zf-currency-tile h5{font-size:14px!important;margin:12px 0 8px!important;line-height:1.3;color:#173a54!important}
.site .zf-currency-tile:first-child h5{color:#fff!important}
.site .zf-currency-rate{font-size:clamp(22px,2vw,30px);font-weight:850;letter-spacing:-.025em;color:#103e5d;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.site .zf-currency-tile:first-child .zf-currency-rate{color:#fff}
.site .zf-currency-rate small{font-size:13px;font-weight:600;color:#718c9e}
.site .zf-currency-tile:first-child .zf-currency-rate small{color:#cee3ed}
.site .zf-currency-note{font-size:13px;line-height:1.55;color:#60778a;max-width:900px;margin:0!important}
.site .zf-currency-original{border-top:1px solid #e4edf2;padding-top:12px}
.site .zf-currency-original>summary{cursor:pointer;color:#235979;font-size:13px;font-weight:700;list-style:revert;}
.site .zf-currency-original-data{margin-top:16px;max-height:520px;overflow:auto;border-top:1px solid #edf2f5;padding-top:12px}
.site .zf-currency-original-data .zf-currency-visual{display:none}
@media(max-width:1000px){.site .zf-currency-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.site .zf-currency-tiles{grid-template-columns:1fr}.site .zf-v8-currency-plugin:not(:empty){padding:15px!important}.site .zf-currency-topline h4{font-size:19px!important}}

/* 3.2.3: Títulos uniformes en mayúsculas; texto informativo conserva escritura normal. */
.site .home-hero .home-slide .heroinner .kicker,
.site .home-hero .home-slide .heroinner h2,
.site .home-hero .home-slide .heroinner .primary,
.site .sectop h3,.site .section h3,.site .card h4,
.site .sitehead .sitenav button {text-transform:uppercase;}
.site .home-hero .home-slide h2{font-size:clamp(29px,3.7vw,56px)!important;line-height:1.13!important;letter-spacing:.005em!important;max-width:min(940px,85vw)!important;margin:15px auto 19px!important;text-wrap:balance;}
.site .home-hero .home-slide .heroinner{text-align:center;z-index:4;}
.site .home-hero .home-slide .heroinner .primary{background:#175b82!important;color:#fff!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:14px!important;padding:14px 26px!important;box-shadow:0 7px 20px rgba(6,37,58,.16)!important;letter-spacing:.045em;}
.site .home-hero .home-slide .heroinner .primary:hover,.site .home-hero .home-slide .heroinner .primary:focus-visible{background:#24729b!important;transform:translateY(-1px);}
.site .home-hero .home-slide .fade{background:linear-gradient(180deg,rgba(5,29,47,.10),rgba(5,29,47,.31) 53%,rgba(5,29,47,.17))!important;}
.site .home-hero .zf-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:12;width:44px;height:44px;border-radius:50%;background:rgba(7,46,72,.44);border:1px solid rgba(255,255,255,.5);color:#fff;font-size:32px;font-weight:400;display:grid;place-items:center;line-height:1;padding:0;backdrop-filter:blur(3px);transition:background .2s,transform .2s;}
.site .home-hero .zf-carousel-prev{left:clamp(12px,2.4vw,42px)}
.site .home-hero .zf-carousel-next{right:clamp(12px,2.4vw,42px)}
.site .home-hero .zf-carousel-arrow:hover{background:#175b82;transform:translateY(-50%) scale(1.05)}
.site .home-hero .zf-carousel-footer{position:absolute;z-index:12;bottom:22px;left:0;right:0;display:flex;align-items:center;justify-content:center;pointer-events:none;}
.site .home-hero .zf-carousel-dots{display:flex;align-items:center;gap:12px;pointer-events:auto}
.site .home-hero .zf-carousel-dot{display:block;width:11px;height:11px;border-radius:50%;padding:0;border:1px solid #fff;background:rgba(255,255,255,.45);transition:background .2s,transform .2s;box-shadow:0 1px 5px #0004;}
.site .home-hero .zf-carousel-dot.is-active{background:#fff;transform:scale(1.25)}
.site .home-hero .zf-carousel-pause{position:absolute;right:clamp(13px,2.5vw,42px);bottom:-6px;border:1px solid #fff8;background:rgba(7,46,72,.45);color:white;border-radius:50%;width:33px;height:33px;font-weight:800;pointer-events:auto;}
.site .home-hero button:focus-visible{outline:3px solid #f2c766;outline-offset:4px}
@media(max-width:760px){.site .home-hero .home-slide h2{font-size:clamp(25px,7vw,38px)!important;max-width:90vw!important}.site .home-hero .zf-carousel-arrow{width:34px;height:34px;font-size:27px;top:63%}.site .home-hero .zf-carousel-footer{bottom:17px}.site .home-hero .home-slide .heroinner .primary{padding:12px 17px!important}}

/* ZOFRACOBIJA 3.2.4: identificación inequívoca de instituciones. */
.site .zf324-section-head h3 { text-transform:uppercase; }
.site .zf324-source-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:20px;align-items:start;margin-top:20px}
.site .zf324-source-panel{background:#fff;border:1px solid #d6e4ed;border-radius:20px;padding:24px;box-shadow:0 8px 24px rgba(11,52,77,.04);min-width:0;display:grid;gap:15px;align-content:start}
.site .zf324-aduana{border-top:4px solid #0e5378}
.site .zf324-bcb{border-top:4px solid #c49b43}
.site .zf324-source-heading{display:flex;gap:13px;align-items:center}
.site .zf324-source-heading .eyebrow{font-size:10px;color:#8f6b25;letter-spacing:.08em}
.site .zf324-source-heading h4{font-size:clamp(17px,1.7vw,22px)!important;margin:3px 0!important;text-transform:uppercase;color:#143c57}
.site .zf324-source-mark{background:#e7f1f7;color:#0c5177;font-size:13px;font-weight:850;border-radius:12px;padding:11px;min-width:48px;text-align:center}
.site .zf324-bcb .zf324-source-mark{background:#fcf4e5;color:#8b681e}
.site .zf324-source-panel>p{font-size:13px;color:#55738a;line-height:1.55;margin:0}
.site .zf324-source-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ccdfeb;color:#164d6c!important;background:#f2f7fa;padding:11px 16px;border-radius:12px;text-decoration:none!important;font-weight:800;font-size:11px;letter-spacing:.02em;width:max-content;max-width:100%}
.site .zf324-source-link:hover{background:#e0eff7}
.site .zf324-alt-link{background:#fff}
.site .zf324-bcb-actions{display:flex;flex-wrap:wrap;gap:8px}
.site .zf324-bcb-empty{border:1px dashed #d9e0e6;border-radius:13px;background:#f9fbfc;padding:16px;display:grid;gap:8px}
.site .zf324-bcb-empty strong{font-size:12px;color:#153e58;letter-spacing:.05em}
.site .zf324-bcb-empty small{font-size:12px;color:#59778c;line-height:1.6}
.site .zf324-disclaimer{font-size:12px;color:#688096;margin-top:17px}
.site .zf324-source-panel .zf-v8-currency-plugin:not(:empty){padding:12px!important;margin:0!important;border:1px solid #e3ebf1;border-radius:13px;box-shadow:none!important}
.site .zf324-source-panel .zf-currency-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.site .zf324-source-panel .zf-currency-tile{padding:13px 12px}
.site .zf324-source-panel .zf-currency-rate{font-size:22px}
.site .zf324-source-panel .zf-currency-topline h4{font-size:17px!important}
.site .zf324-source-panel .zf-currency-topline{align-items:start}
@media(max-width:960px){.site .zf324-source-grid{grid-template-columns:1fr}}
@media(max-width:540px){.site .zf324-source-panel{padding:16px}.site .zf324-source-panel .zf-currency-tiles{grid-template-columns:1fr}}

/* 3.2.5 – Identificación visual de organismos sin modificar cotizaciones */
.site .zf324-source-panel .zf325-logo-frame{
 flex:0 0 92px; width:92px; height:82px; padding:7px;
 display:grid;place-items:center;border:1px solid #e3ebf0;
 border-radius:14px;background:#fff;overflow:hidden;
}
.site .zf324-source-panel .zf325-institution-logo{
 display:block;max-width:100%;max-height:100%;width:auto;height:auto;
 object-fit:contain;object-position:center;
}
.site .zf324-source-panel .zf325-institution-symbol{
 display:grid;place-items:center;width:54px;height:54px;border-radius:50%;
 background:#eaf2f8;color:#175b82;font-size:25px;font-weight:700;
}
.site .zf324-bcb .zf325-institution-symbol{background:#faf3e6;color:#8d672d}
.site .zf324-source-heading{align-items:center;gap:16px}
.site .zf324-source-heading>div{min-width:0;flex:1}
@media(max-width:540px){
 .site .zf324-source-panel .zf325-logo-frame{flex-basis:64px;width:64px;height:60px;padding:5px}
 .site .zf324-source-heading{gap:10px}
 .site .zf324-source-heading h4{font-size:16px!important}
}

/* v3.2.6: tarjetas informativas compactas y detalle accesible en modal */
.site .zf326-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.site .zf326-preview-card{width:100%;border:1px solid #d7e5ed;border-top:3px solid #18557a;border-radius:18px;background:#fff;padding:18px 20px;text-align:left;min-width:0;display:flex;flex-direction:column;gap:12px;box-shadow:0 6px 21px rgba(13,59,85,.035);cursor:pointer;transition:box-shadow .2s,transform .2s}
.site .zf326-preview-card:hover,.site .zf326-preview-card:focus-visible{box-shadow:0 12px 30px rgba(13,59,85,.13);transform:translateY(-2px)}
.site .zf326-preview-card.zf326-bc{border-top-color:#b8954b}
.site .zf326-preview-header{display:flex;gap:13px;align-items:center}
.site .zf326-logo{display:grid;place-items:center;flex:0 0 66px;width:66px;height:64px;background:#f7fafb;border:1px solid #e3ebf0;border-radius:12px;overflow:hidden;padding:5px}
.site .zf326-logo img{display:block;width:100%;height:100%;object-fit:contain}
.site .zf326-intro{display:grid;gap:3px;min-width:0}
.site .zf326-intro strong{font-size:clamp(14px,1.3vw,19px);line-height:1.25;color:#103851}
.site .zf326-intro .eyebrow{font-size:10px;letter-spacing:.09em;color:#9b752a}
.site .zf326-preview-body{display:block;margin:0}
.site .zf326-preview-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.site .zf326-rate,.site .zf326-bcb-feature{display:flex;flex-direction:column;gap:3px;min-width:0;padding:12px 14px;border-radius:12px;background:#f3f8fb;border:1px solid #dfebf1;min-height:69px}
.site .zf326-rate b,.site .zf326-bcb-feature b{font-size:12px;color:#174a69;letter-spacing:.06em}
.site .zf326-rate small,.site .zf326-bcb-feature small{font-size:13px;font-weight:750;color:#113a55;line-height:1.35}
.site .zf326-bcb-feature>span{font-size:11px;color:#557489;letter-spacing:.02em;margin-top:2px}
.site .zf326-action{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #edf1f4;padding-top:10px;font-size:11px;font-weight:800;color:#195476;letter-spacing:.025em;margin-top:auto}
.site .zf326-overlay[hidden]{display:none!important}
.site .zf326-overlay{position:fixed;inset:0;z-index:999999;background:rgba(3,30,49,.66);display:grid;place-items:center;padding:20px;overflow-y:auto}
body.zf326-modal-active{overflow:hidden}
.site .zf326-dialog{background:#fff;border-radius:20px;max-width:970px;width:min(100%,970px);max-height:min(90vh,900px);display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(0,15,29,.3);overflow:hidden;outline:none}
.site .zf326-dialog-header{display:flex;align-items:center;gap:16px;padding:20px 26px;border-bottom:1px solid #e3ebef;background:#f7fafc}
.site .zf326-dialog-header>div{flex:1;min-width:0}
.site .zf326-dialog-header h3{margin:3px 0!important;font-size:clamp(17px,2vw,25px)!important;color:#113950}
.site .zf326-close{background:#e9f1f6;border:0;border-radius:50%;width:40px;height:40px;flex:0 0 40px;font-size:27px;color:#154867;cursor:pointer}
.site .zf326-dialog-content{padding:20px 26px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}
.site .zf326-dialog-content>p{font-size:13px;color:#557389}
.site .zf326-dialog-content .zf-v8-currency-plugin{margin:12px 0!important}
.site .zf326-dialog-footer{padding:14px 26px 20px;border-top:1px solid #e6eef1;display:flex;gap:12px;flex-wrap:wrap}
.site .zf326-source-note{font-size:12px;line-height:1.5;color:#607c8f}
@media(max-width:780px){.site .zf326-preview-grid{grid-template-columns:1fr}.site .zf326-dialog-header,.site .zf326-dialog-content,.site .zf326-dialog-footer{padding-left:16px;padding-right:16px}.site .zf326-logo{width:54px;height:52px;flex-basis:54px}}
@media(max-width:430px){.site .zf326-preview-card{padding:15px}.site .zf326-preview-rates{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 3.2.8 · cifras visibles y fuente comprobable en ambas tarjetas. */
.site .zf326-preview-card .zf328-number{display:block;color:#123f62;font-size:clamp(19px,2vw,27px);line-height:1.18;font-weight:850;letter-spacing:-.025em;margin-top:4px}
.site .zf326-preview-card.zf326-ad .zf326-rate:first-child .zf328-number{color:#123f62}
.site .zf326-preview-card .zf328-source,.site .zf328-asof{font-size:10px;line-height:1.5;font-weight:600;color:#5b7081;display:block;margin-top:7px;text-transform:uppercase}
.site .zf326-preview-card .zf328-asof{max-width:360px}
.site .zf328-detail-rate{border:1px solid #d5e3ec;border-radius:12px;background:#f3f8fb;padding:18px 20px;margin:12px 0}
.site .zf328-detail-rate .zf328-number{font-size:28px;font-weight:850;color:#123f62;margin:5px 0}
.site .zf328-detail-rate small{display:block;color:#647b89;font-size:11px}
@media(max-width:700px){.site .zf326-preview-card .zf328-number{font-size:21px}}

/* 3.2.9 · identidad gráfica institucional, recursos suministrados por ZOFRACOBIJA */
.sitehead .logo .zf329-brand-lockup{display:flex;align-items:center;gap:11px;max-width:270px;white-space:nowrap}
.sitehead .logo .zf329-brand-symbol{display:block;flex:0 0 auto;width:55px;height:56px;object-fit:contain;object-position:center}
.sitehead .logo .zf329-brand-title{font-size:21px;line-height:1.02;font-weight:900;color:#103e5b;letter-spacing:-.02em;display:block}
.sitehead .logo .zf329-brand-title small{display:block;font-size:8px;font-weight:600;letter-spacing:.005em;line-height:1.5;color:#3c6879;white-space:normal}
.sitehead .zf-v7-official-logo{max-height:62px!important;max-width:220px!important;object-fit:contain}
.site .zf326-logo{background:white!important;border-color:#e3ebf0}
.site .zf326-logo img.zf325-institution-logo{object-fit:contain!important;width:100%!important;height:100%!important;max-height:100%!important}
/* La marca Aduana tiene proporción horizontal: usar espacio rectangular, sin aplastarla. */
.site .zf326-preview-card.zf326-ad .zf326-logo{flex-basis:102px;width:102px;height:67px;padding:6px}
.site .zf326-dialog-header .zf326-logo{flex-basis:96px;width:96px;height:65px}
@media(max-width:760px){.sitehead .logo .zf329-brand-symbol{width:43px;height:46px}.sitehead .logo .zf329-brand-title{font-size:17px}.site .zf326-preview-card.zf326-ad .zf326-logo{flex-basis:82px;width:82px;height:58px}.sitehead .logo .zf329-brand-lockup{max-width:195px}}

/* 3.3.0 — Cambios aislados a Institución y al resumen de cotizaciones. */
.site .zf330-institution .zf330-inst-hero{position:relative;overflow:hidden;aspect-ratio:1600/600;background:#102f48;display:grid;place-items:center;min-height:220px;max-height:530px}
.site .zf330-institution .zf330-inst-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.site .zf330-institution .zf330-inst-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#102f4866,#102f481a)}
.site .zf330-institution .zf330-inst-hero-copy{z-index:1;text-align:center;color:white;padding:20px}
.site .zf330-institution .zf330-inst-hero-copy h2{font-size:clamp(25px,4vw,46px);color:white;text-shadow:0 2px 10px #112f48aa;margin:0}
.site .zf330-institution .zf330-intro{display:grid;grid-template-columns:1fr 1.5fr;gap:30px;align-items:center;margin-bottom:30px;padding-bottom:25px;border-bottom:1px solid #dbe7ed}
.site .zf330-institution .zf330-history{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,4vw,50px);align-items:center}
.site .zf330-institution figure{margin:0;min-width:0}
.site .zf330-institution figure img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;background:#f5f8fa;border-radius:9px}
.site .zf330-institution figcaption{font-size:12px;color:#536d7b;margin-top:8px}
.site .zf330-institution p{line-height:1.7;color:#496373}
.site .zf330-institution .zf330-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:22px 0}
.site .zf330-institution .zf330-timeline article{padding:17px 13px;background:white;border-top:3px solid #b58d39;border-radius:8px}
.site .zf330-institution .zf330-timeline article span{display:block;font-size:26px;font-weight:800;color:#175479}
.site .zf330-institution .zf330-timeline article h4{font-size:14px;margin:8px 0}
.site .zf330-institution .zf330-timeline article p{font-size:12px;margin:0}
.site .zf330-institution .zf330-links{display:flex;gap:10px;flex-wrap:wrap}
.site .zf326-preview-card .zf326-rate{min-height:72px}
@media(max-width:760px){.site .zf330-institution .zf330-intro,.site .zf330-institution .zf330-history{grid-template-columns:1fr;gap:18px}.site .zf330-institution .zf330-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.site .zf330-institution .zf330-inst-hero>img{object-position:center 30%}.site .zf330-institution .zf330-current figure{order:-1}}


/* 3.3.1 — Institución con cabecera a ancho completo y trayectoria tipo flujograma */
.site .zf331-institution{background:#fff}
.site .zf331-institution p{line-height:1.72;color:#4c6675}
.site .zf331-institution .zf331-inst-hero{position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw;min-height:clamp(300px,39vw,590px);max-height:none;overflow:hidden;background:#102f48;display:grid;place-items:center}
.site .zf331-institution .zf331-inst-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%}
.site .zf331-institution .zf331-inst-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,38,61,.16),rgba(7,38,61,.34) 60%,rgba(7,38,61,.40))}
.site .zf331-institution .zf331-inst-hero-copy{position:relative;z-index:1;text-align:center;color:#fff;padding:22px;width:min(980px,92%)}
.site .zf331-institution .zf331-inst-hero-copy h2{font-size:clamp(32px,4.8vw,58px);margin:8px 0 10px;color:#fff;text-shadow:0 6px 18px rgba(0,22,39,.28);letter-spacing:-.04em}
.site .zf331-institution .zf331-inst-hero-copy p{max-width:720px;margin:0 auto;color:#eef6fb;font-size:15px}
.site .zf331-institution .zf331-intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px;align-items:start;margin-bottom:34px}
.site .zf331-institution .zf331-intro h3,.site .zf331-institution .zf331-history-copy h3,.site .zf331-institution .zf331-current-copy h3{font-size:clamp(28px,3vw,44px);line-height:1.08;margin:8px 0 12px;color:#0f2f47;letter-spacing:-.04em}
.site .zf331-institution .zf331-intro-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.site .zf331-institution .zf331-intro-cards article{padding:18px 16px;border:1px solid #dce7ee;border-radius:16px;background:linear-gradient(180deg,#fff,#f6fafc);box-shadow:0 10px 25px rgba(16,47,72,.05)}
.site .zf331-institution .zf331-intro-cards strong{display:block;color:#114668;font-size:22px;line-height:1.1;margin-bottom:8px}
.site .zf331-institution .zf331-intro-cards span{display:block;font-size:11px;font-weight:900;letter-spacing:.11em;color:#ae8537;margin-bottom:8px}
.site .zf331-institution .zf331-intro-cards p{font-size:12px;margin:0}
.site .zf331-institution .zf331-history-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(20px,4vw,46px);align-items:center}
.site .zf331-institution figure{margin:0;min-width:0}
.site .zf331-institution .zf331-history-photo img,.site .zf331-institution .zf331-current-photo img{display:block;width:100%;height:auto;max-height:470px;object-fit:contain;background:#f5f8fa;border-radius:18px;border:1px solid #e1e9ee}
.site .zf331-institution figcaption{font-size:12px;color:#58707f;margin-top:8px}
.site .zf331-institution .zf331-highlight-fact{margin-top:18px;padding:18px 18px 16px;border-radius:16px;background:#eef5f9;border:1px solid #dbe7ee;border-left:4px solid #b59042}
.site .zf331-institution .zf331-highlight-fact p{margin:8px 0 0}
.site .zf331-institution .zf331-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;border-radius:999px;background:#103851;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em}
.site .zf331-institution .zf331-flow-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:26px}
.site .zf331-institution .zf331-flow{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.site .zf331-institution .zf331-flow:before{content:'';position:absolute;left:7%;right:7%;top:29px;height:4px;border-radius:999px;background:linear-gradient(90deg,#c5dae6 0%,#9fc1d3 100%)}
.site .zf331-institution .zf331-flow-step{position:relative;padding:44px 16px 18px;background:#fff;border:1px solid #dce7ee;border-radius:18px;box-shadow:0 12px 28px rgba(16,47,72,.05);min-height:250px}
.site .zf331-institution .zf331-flow-step:after{content:'›';position:absolute;right:-16px;top:17px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#103851;color:#fff;font-size:22px;font-weight:700;box-shadow:0 8px 18px rgba(16,47,72,.14)}
.site .zf331-institution .zf331-flow-step:last-child:after{display:none}
.site .zf331-institution .zf331-flow-icon{position:absolute;top:0;left:18px;transform:translateY(-50%);width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#1a4e73,#103851);color:#fff;font-size:25px;border:5px solid #eef4f8;box-shadow:0 10px 24px rgba(16,47,72,.18)}
.site .zf331-institution .zf331-flow-year{display:inline-block;font-size:26px;font-weight:900;letter-spacing:-.03em;color:#135175;margin-bottom:8px}
.site .zf331-institution .zf331-flow-step h4{font-size:15px;margin:0 0 8px;color:#103851;line-height:1.3}
.site .zf331-institution .zf331-flow-step strong{display:block;font-size:12px;color:#a77f2d;letter-spacing:.04em;margin-bottom:10px}
.site .zf331-institution .zf331-flow-step p{font-size:12px;margin:0}
.site .zf331-institution .zf331-current{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(20px,4vw,46px);align-items:center}
.site .zf331-institution .zf331-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.site .zf331-institution .zf331-current-photo img{object-fit:cover;max-height:420px}
@media(max-width:1024px){
  .site .zf331-institution .zf331-flow{grid-template-columns:repeat(3,minmax(0,1fr))}
  .site .zf331-institution .zf331-flow:before{display:none}
  .site .zf331-institution .zf331-flow-step:nth-child(3):after{display:none}
}
@media(max-width:760px){
  .site .zf331-institution .zf331-inst-hero{min-height:340px;margin-left:-5vw;margin-right:-5vw;width:auto;left:auto;right:auto}
  .site .zf331-institution .zf331-inst-hero>img{object-position:center 42%}
  .site .zf331-institution .zf331-intro,.site .zf331-institution .zf331-history-grid,.site .zf331-institution .zf331-current{grid-template-columns:1fr;gap:20px}
  .site .zf331-institution .zf331-intro-cards{grid-template-columns:1fr}
  .site .zf331-institution .zf331-flow-head{flex-direction:column;align-items:flex-start}
  .site .zf331-institution .zf331-flow{grid-template-columns:1fr;gap:28px}
  .site .zf331-institution .zf331-flow:before{display:none}
  .site .zf331-institution .zf331-flow-step{min-height:auto}
  .site .zf331-institution .zf331-flow-step:after{content:'↓';right:auto;left:50%;top:auto;bottom:-17px;transform:translateX(-50%)}
  .site .zf331-institution .zf331-flow-step:last-child:after{display:none}
}


/* 3.3.2 — Ajuste fino de cabecera Institución: contraste y proporción */
.site .zf331-institution .zf331-inst-hero{min-height:clamp(360px,43vw,620px)}
.site .zf331-institution .zf331-inst-hero>img{object-position:center center;filter:saturate(1.02) contrast(1.02)}
.site .zf331-institution .zf331-inst-hero:after{background:linear-gradient(180deg,rgba(6,29,45,.28) 0%,rgba(6,29,45,.40) 48%,rgba(6,29,45,.55) 100%),radial-gradient(circle at center,rgba(10,39,59,.06) 0%,rgba(10,39,59,.18) 35%,rgba(10,39,59,.42) 100%)}
.site .zf331-institution .zf331-inst-hero-copy{padding:34px 20px;width:min(1080px,92%)}
.site .zf331-institution .zf331-inst-hero-copy .eyebrow{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;background:rgba(7,38,61,.48);border:1px solid rgba(255,255,255,.18);color:#f1ca70;font-size:clamp(11px,1vw,13px);letter-spacing:.18em;text-shadow:0 2px 8px rgba(0,0,0,.22)}
.site .zf331-institution .zf331-inst-hero-copy h2{font-size:clamp(44px,5.6vw,76px);margin:14px 0 12px;text-shadow:0 8px 24px rgba(0,20,36,.38);line-height:.98}
.site .zf331-institution .zf331-inst-hero-copy p{max-width:760px;margin:0 auto;color:#ffffff;font-size:clamp(16px,1.45vw,20px);line-height:1.55;text-shadow:0 3px 14px rgba(0,22,39,.34);font-weight:500}
@media(max-width:760px){
  .site .zf331-institution .zf331-inst-hero{min-height:360px}
  .site .zf331-institution .zf331-inst-hero-copy{padding:30px 16px;width:min(96%,760px)}
  .site .zf331-institution .zf331-inst-hero-copy h2{font-size:clamp(34px,9vw,46px);line-height:1.02}
  .site .zf331-institution .zf331-inst-hero-copy p{font-size:15px;max-width:92%}
}


/* 3.3.3 — Servicios más limpios, menos repetición de fotos y mejor uso del ancho */
.site .zf333-services-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}
.site .zf333-services-menu{position:sticky;top:118px}
.site .zf333-services-menu h4{font-size:18px;margin-bottom:12px;color:#0d314a}
.site .zf333-services-note{font-size:12px;line-height:1.6;color:#668091;margin:0 0 12px}
.site .zf333-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.site .zf333-service-card{height:100%;display:flex;flex-direction:column}
.site .zf333-service-card .cardbody{display:flex;flex-direction:column;gap:0;flex:1}
.site .zf333-service-card .cardbody button{margin-top:auto}
.site .zf333-service-card img{height:190px;object-position:center center}
.site .zf333-service-visual{height:190px;display:grid;place-items:center;text-align:center;padding:22px;border-bottom:1px solid #dfebef;background:linear-gradient(180deg,#f5fafc,#edf4f8);color:#315b72}
.site .zf333-service-glyph{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:linear-gradient(180deg,#0c5578,#0a3958);color:#fff;font-size:30px;box-shadow:0 12px 26px rgba(12,85,120,.18)}
.site .zf333-service-visual strong{display:block;font-size:12px;letter-spacing:.14em;color:#0b5571;margin-bottom:6px}
.site .zf333-service-visual small{display:block;font-size:12px;line-height:1.55;color:#60798a;max-width:220px}
@media(max-width:1180px){
  .site .zf333-services-layout{grid-template-columns:210px minmax(0,1fr)}
  .site .zf333-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:740px){
  .site .zf333-services-layout{grid-template-columns:1fr}
  .site .zf333-services-menu{position:static}
  .site .zf333-service-grid{grid-template-columns:1fr}
}


/* 3.3.4 — Héroes con mejor contraste, carrusel depurado y servicios sin redundancia */
.site .hero .kicker{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;border-radius:999px;background:rgba(6,30,48,.58);border:1px solid rgba(255,255,255,.16);color:#f3c86f!important;font-size:12px!important;letter-spacing:.18em!important;text-shadow:none!important;box-shadow:0 10px 26px rgba(2,17,29,.16)}
.site .hero:not(.home-hero){min-height:360px!important}
.site .hero:not(.home-hero) .fade{background:linear-gradient(180deg,rgba(8,27,42,.56),rgba(8,27,42,.44) 45%,rgba(8,27,42,.62))!important}
.site .hero:not(.home-hero) .heroinner{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:66px 0!important;width:min(1040px,92%)!important}
.site .hero:not(.home-hero) h2{max-width:920px!important;font-size:clamp(34px,4vw,60px)!important;line-height:1.08!important;text-shadow:0 3px 20px rgba(0,0,0,.30)}
.site .hero:not(.home-hero) p{max-width:780px!important;font-size:16px!important;line-height:1.6!important;color:#f4f8fb!important;text-shadow:0 2px 10px rgba(0,0,0,.22)}
.site .hero.home-hero .home-slide .fade{background:linear-gradient(180deg,rgba(5,29,47,.28),rgba(5,29,47,.44) 50%,rgba(5,29,47,.22))!important}
.site .home-slide .kicker{background:rgba(7,33,52,.68)!important;color:#f4cb74!important;font-size:13px!important}
.site .zf334-services-section .zf334-services-content{width:min(1420px,96%);margin:0 auto}
.site .zf334-services-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.site .zf334-services-tools{position:sticky;top:118px;padding:18px}
.site .zf334-services-tools h4{font-size:24px;letter-spacing:-.03em;color:#0b314a;margin:10px 0 12px}
.site .zf334-service-search input{width:100%;border-radius:12px;border:1px solid #d5e6ee;background:#fff;padding:14px 15px;color:#244f68;outline:none}
.site .zf334-service-search input:focus{border-color:#8fb9ca;box-shadow:0 0 0 3px rgba(10,93,123,.08)}
.site .zf334-service-actions{display:grid;gap:10px;margin-top:16px}
.site .zf334-service-actions button{display:block;width:100%;text-align:left;background:#edf6f8;border:1px solid #d7e9ee;border-radius:10px;padding:12px 14px;color:#0d5974;font-size:12px;font-weight:800}
.site .zf334-service-help{margin-top:16px;padding:14px 14px;border-radius:12px;background:#f7fbfd;border:1px dashed #cbdee8}
.site .zf334-service-help strong{display:block;color:#093a56;font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}
.site .zf334-service-help .lead{font-size:12px;line-height:1.65;margin:0}
.site .zf334-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.site .zf334-service-card{display:flex;flex-direction:column;height:100%}
.site .zf334-service-card .cardbody{display:flex;flex-direction:column;flex:1;padding:20px}
.site .zf334-service-card .cardbody button{margin-top:auto}
.site .zf334-service-visual{height:158px;display:grid;place-items:center;text-align:center;padding:20px;border-bottom:1px solid #dfebef;background:linear-gradient(180deg,#f4f9fc,#edf4f8);color:#315b72}
.site .zf334-service-glyph{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:0 auto 11px;background:linear-gradient(180deg,#0c5578,#0a3958);color:#fff;font-size:32px;box-shadow:0 12px 26px rgba(12,85,120,.18)}
.site .zf334-service-visual strong{display:block;font-size:12px;letter-spacing:.14em;color:#0b5571;margin-bottom:6px}
.site .zf334-service-visual small{display:block;font-size:12px;line-height:1.55;color:#60798a;max-width:220px}
@media(max-width:1220px){.site .zf334-services-layout{grid-template-columns:260px minmax(0,1fr)}.site .zf334-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.site .hero:not(.home-hero) .heroinner{padding:44px 0!important}.site .hero:not(.home-hero) h2{font-size:clamp(29px,8vw,42px)!important}.site .hero:not(.home-hero) p{font-size:14px!important}.site .zf334-services-layout{grid-template-columns:1fr}.site .zf334-services-tools{position:static}.site .zf334-service-grid{grid-template-columns:1fr}}

/* 3.3.5 — Catálogos sin duplicaciones */
.site .zf335-wide .content{width:94%;max-width:1600px;margin-inline:auto}.site .zf335-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.site .zf335-service-card{min-width:0;border:1px solid #d9e5ec;border-radius:15px;overflow:hidden;background:white;box-shadow:0 8px 22px #153b550c}.site .zf335-service-card[hidden]{display:none!important}.site .zf335-service-card button{width:100%;height:100%;border:0;background:none;padding:24px 20px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:12px;color:#153b55}.site .zf335-service-card button:hover{background:#f4f8fa}.site .zf335-service-card strong{font-size:17px;text-transform:uppercase;line-height:1.3}.site .zf335-service-card button>span:not(.zf335-icon){font-size:14px;line-height:1.55}.site .zf335-icon{display:grid;place-items:center;width:66px;height:66px;background:#ecf4f8;border-radius:14px;color:#155778;flex-shrink:0}.site .zf335-icon svg{width:34px;height:34px}.site .zf335-service-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px}.site .zf335-service-card .zf335-link{font-weight:800;margin-top:auto;color:#155778}.site .zf335-search{display:flex;align-items:center;gap:14px;margin:0 0 25px;flex-wrap:wrap}.site .zf335-search label{font-weight:750}.site .zf335-search input{flex:1;max-width:540px;min-width:220px;border:1px solid #c6d9e4;padding:13px 16px;border-radius:10px}.site .zf335-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.site .zf335-detail{display:flex;gap:25px;align-items:flex-start}.site .zf335-detail img{width:min(45%,480px);height:auto;border-radius:12px}.site .hero:not(.home-hero) h2{text-transform:uppercase}.site .hero:not(.home-hero)>img{object-position:center 15%!important}.site .hero .kicker{color:#ffe4a1!important;background:#153b55!important}.site .home-hero .home-slide .heroinner .kicker{font-size:13px!important;color:#ffe4a1!important;background:#153b55!important}.site .hero:not(.home-hero) .fade{background:linear-gradient(180deg,#081b2a14,#081b2a65 52%,#081b2a24)!important}.site .hero.home-hero .home-slide .fade{background:linear-gradient(180deg,#081b2a12,#081b2a65 52%,#081b2a24)!important}
@media(max-width:1150px){.site .zf335-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.site .zf335-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.site .zf335-grid{grid-template-columns:1fr}.site .zf335-detail{flex-direction:column}.site .zf335-detail img{width:100%}}

/* 3.3.6: seis servicios, sin duplicar CIF y derechos de ingreso. */
.site .zf336-services .zf335-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:800px){.site .zf336-services .zf335-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.site .zf336-services .zf335-grid{grid-template-columns:1fr}}

/* 3.3.7 — Identidad cromática exclusiva del catálogo de servicios */
.site .zf336-services{background:#f0f5f8}
.site .zf336-services .zf335-service-card{--svc:#165b96;--tint:#e1effb;--wash:#f5faff;position:relative;background:linear-gradient(145deg,#fff 15%,var(--wash) 100%);border-top:4px solid var(--svc);transition:transform .22s ease,box-shadow .22s ease}
.site .zf336-services .zf335-service-card:nth-child(2){--svc:#087b9c;--tint:#d9f3fa;--wash:#f2fbfd}
.site .zf336-services .zf335-service-card:nth-child(3){--svc:#b95b16;--tint:#ffead7;--wash:#fff9f3}
.site .zf336-services .zf335-service-card:nth-child(4){--svc:#237b51;--tint:#dcf4e5;--wash:#f3fbf6}
.site .zf336-services .zf335-service-card:nth-child(5){--svc:#96701b;--tint:#f9edc9;--wash:#fffcf1}
.site .zf336-services .zf335-service-card:nth-child(6){--svc:#7053a2;--tint:#ebe3fa;--wash:#faf7ff}
.site .zf336-services .zf335-service-card .zf335-icon{width:70px;height:70px;background:var(--tint);color:var(--svc);border-radius:18px}
.site .zf336-services .zf335-service-card .zf335-icon svg{width:38px;height:38px}
.site .zf336-services .zf335-service-card .zf335-link{color:var(--svc)}
.site .zf336-services .zf335-service-card button:hover{background:var(--wash)}
.site .zf336-services .zf335-service-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #153b551a}
.site .zf336-services .zf335-service-card button:focus-visible{outline:3px solid var(--svc);outline-offset:-5px;border-radius:12px}
@media(prefers-reduced-motion:reduce){.site .zf336-services .zf335-service-card{transition:none}.site .zf336-services .zf335-service-card:hover{transform:none}}
