/* VALTRIS corporate portal V1.2 — real client photographs + editorial responsive system. */
:root{--navy:#062241;--ink:#08253f;--azure:#0085d1;--cyan:#50afd1;--surface:#f2f7fa;--line:#dce8ee;--ease:cubic-bezier(.2,.8,.2,1)}
body{background:#fff;overflow-x:clip}
.wrap{width:min(1300px,calc(100% - clamp(32px,7vw,112px)))}
img{display:block;max-width:100%}
a,button{-webkit-tap-highlight-color:transparent}
section[id]{scroll-margin-top:120px}
.site-header{box-shadow:0 12px 35px #021b3124}
.site-header__inner{gap:clamp(20px,2.3vw,36px)}
.site-header__end{flex-shrink:0}
.brand img{width:clamp(151px,12vw,186px);height:auto}
.nav{min-width:0}
.hero--home{background:radial-gradient(circle at 76% 19%,#15517b66,transparent 44%),linear-gradient(138deg,#05213d 0%,#062c4a 58%,#051d35 100%);padding:clamp(62px,7vw,105px) 0 clamp(68px,7vw,98px)}
.hero__grid{grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);gap:clamp(40px,6vw,90px);align-items:center}
.hero__copy{min-width:0;padding-block:25px}
.hero__copy h1{font-size:clamp(57px,6.1vw,91px);line-height:1.015;letter-spacing:-.052em;max-width:750px;text-wrap:balance}
.hero__lead{max-width:530px}
.hero__actions{gap:12px;flex-wrap:wrap}
.hero__foot{display:flex;flex-wrap:wrap;gap:clamp(13px,2vw,33px)}
.hero__visual--photo{padding:0;border:1px solid #8bc1da4f;display:grid;grid-template-rows:minmax(0,1fr) auto;aspect-ratio:0.99;min-height:0;isolation:isolate;border-radius:18px;background:#103a5b;box-shadow:0 35px 75px #00162975;overflow:hidden}
.hero__visual--photo::before,.hero__visual--photo::after{display:none}
.hero__real-photo{height:100%;width:100%;min-height:0;object-fit:cover;object-position:51% 45%;transition:transform 1.2s var(--ease)}
.hero__visual--photo:hover .hero__real-photo{transform:scale(1.035)}
.hero__image-caption{position:relative;color:#d6eaf3;background:#0a304f;padding:17px 22px;font-size:10px;line-height:1.4;letter-spacing:.14em;font-weight:700;border-top:1px solid #ffffff20}
.trustline{background:#eff6f9}
.trustline__inner{flex-wrap:wrap;justify-content:center;gap:15px 25px;padding-block:19px;text-align:center}
.section{padding-block:clamp(80px,7.5vw,116px)}
.section-heading{margin-bottom:34px}
.section-heading h2{max-width:880px;line-height:1.08}
/* Insurance imagery occupies its own media region; no headlines are layered over photography. */
.insurance-grid{gap:20px;align-items:stretch}
.insurance-card,.insurance-grid--listing .insurance-card{padding:0!important;min-height:0!important;border-radius:15px;box-shadow:0 12px 35px #0622410a;background:#fff;border:1px solid #dfebf0;overflow:hidden;position:relative;transform:none;transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .35s}
.insurance-card:after{display:none}
.insurance-card:hover,.insurance-grid--listing .insurance-card:hover{background:#fff;color:var(--navy);border-color:#a8d2e5;transform:translateY(-5px);box-shadow:0 24px 52px #06224119}
.insurance-card__image{width:100%;height:auto;aspect-ratio:1.62;overflow:hidden;display:block;background:#dcebf2;flex-shrink:0}
.insurance-card__image img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .85s var(--ease)}
.insurance-card:hover .insurance-card__image img{transform:scale(1.048)}
.insurance-card[href*="/seguros/gastos-medicos/"] .insurance-card__image img{object-position:center 45%}
.insurance-card[href*="/seguros/estudios/"] .insurance-card__image img{object-position:center 28%}
.insurance-card[href*="/seguros/ahorro/"] .insurance-card__image img{object-position:center 55%}
.insurance-card[href*="/seguros/persona-clave/"] .insurance-card__image img{object-position:center 45%}
.insurance-card__index{margin:22px 25px 14px!important;color:#1680ae;font-weight:700;letter-spacing:.14em}
.insurance-card:hover .insurance-card__index{color:#1680ae}
.insurance-card__name{margin:0 25px 11px;font-size:clamp(26px,2.35vw,33px);line-height:1.12;min-height:2.25em;color:var(--navy)}
.insurance-card__desc{max-width:none;margin:0 25px 22px;font-size:13px;line-height:1.65;color:#607c90;flex:1}
.insurance-card:hover .insurance-card__desc{color:#607c90}
.insurance-card__bottom{margin:0 25px 24px;padding-top:17px;border-color:#d9e7ee;color:#087db5;font-size:12px;min-height:34px}
.insurance-card:hover .insurance-card__bottom{border-color:#b9d8e8;color:#087db5}
/* Client image placed in an independent editorial area */
.feature-section{padding-block:clamp(74px,7vw,115px);background:linear-gradient(120deg,#041c33,#082f50)}
.feature-grid{grid-template-columns:minmax(0,1fr) minmax(0,.94fr);gap:clamp(35px,7vw,100px);align-items:center}
.feature-visual--photo{padding:0;min-height:0;height:clamp(390px,40vw,575px);border-radius:15px;overflow:hidden;border:1px solid #ffffff3a;background:#104264;display:block}
.feature-visual--photo::before{display:none}
.feature-real-photo{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.feature-copy{min-width:0}.feature-copy h2{line-height:1.08;text-wrap:balance}
/* Resource cards have distinct media/topical content blocks */
.resource-grid{gap:19px}
.resource-card{min-height:0;padding:0!important;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#f6fafb;box-shadow:0 12px 32px #0a2c4108}
.resource-card__image{height:auto;aspect-ratio:1.9;overflow:hidden;background:#d8e4ec}
.resource-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.resource-card:hover .resource-card__image img{transform:scale(1.045)}
.resource-card>span{margin:25px 26px 0;color:#1783b5}
.resource-card h3{margin:13px 26px 28px;font-size:clamp(27px,2.3vw,34px);line-height:1.16;flex:1}
.resource-card b{margin:0 26px 27px}
/* Internal pages: copy in an explicit column next to editorial real photo */
.inner-hero{padding:clamp(55px,6vw,83px) 0;background:linear-gradient(135deg,#05233f,#0d3959 88%)}
.inner-hero::after{opacity:.25;pointer-events:none}
.inner-hero__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.84fr);gap:clamp(35px,6vw,86px);align-items:center;min-height:420px}
.inner-hero__copy{min-width:0}
.inner-hero__copy h1{font-size:clamp(49px,5vw,77px);line-height:1.07;margin:22px 0 20px;max-width:720px;overflow-wrap:normal;text-wrap:balance}
.inner-hero__copy p{font-size:clamp(15px,1.3vw,18px);line-height:1.75;max-width:670px}
.inner-hero__media{position:relative;margin:0;aspect-ratio:1.25;border-radius:16px;overflow:hidden;border:1px solid #ffffff38;box-shadow:0 26px 54px #04182948;background:#1e5172}
.inner-hero__photo{width:100%;height:100%;object-fit:cover;object-position:center center}
.inner-hero__media::after{content:"";position:absolute;inset:0;border:1px solid #ffffff15;border-radius:inherit;pointer-events:none}
.inner-hero__layout .inner-hero__index{margin-top:32px}
/* Product pages: large contextual photography, always separate from content */
.product-hero{background:linear-gradient(130deg,#06213d,#0a3555 90%);padding:clamp(65px,7vw,105px) 0}
.product-hero__grid{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(35px,5vw,82px);align-items:center}
.product-hero__copy{min-width:0}.product-hero__number{display:none}
.product-hero h1{font-size:clamp(52px,5.45vw,79px);line-height:1.07;max-width:720px;text-wrap:balance}
.product-hero__copy>p{font-size:clamp(15px,1.28vw,17px);line-height:1.8;max-width:620px}
.product-hero__art--photo{aspect-ratio:auto!important;min-height:0!important;padding:0!important;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;border:1px solid #ffffff45;border-radius:17px;background:#164361;box-shadow:0 30px 70px #02162d75}
.product-hero__art--photo::before{display:none}
.product-hero__photo{display:block;width:100%;height:clamp(340px,37vw,510px);min-height:0;object-fit:cover;object-position:center center;transition:transform .9s var(--ease)}
.product-hero__art--photo:hover .product-hero__photo{transform:scale(1.03)}
.product-hero__photo-caption{padding:16px 21px;font-size:10px;line-height:1.4;font-weight:700;letter-spacing:.15em;background:#123858;color:#dceef7;border-top:1px solid #ffffff2d}
.product-hero__art--photo:has(.product-hero__photo[src*="estudios"]) .product-hero__photo{object-position:center 29%}
.product-hero__art--photo:has(.product-hero__photo[src*="hogar"]) .product-hero__photo{object-position:center 57%}
.product-hero__art--photo:has(.product-hero__photo[src*="persona-clave"]) .product-hero__photo{object-position:center 35%}
.product-detail-gallery{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:clamp(20px,5vw,65px);padding-bottom:75px}
.product-detail-gallery__image{width:100%;max-height:360px;height:100%;object-fit:cover;border-radius:14px}
.product-detail-gallery__caption{font:400 clamp(25px,2.5vw,40px)/1.25 Vogun,Georgia,serif;color:#123c58;text-wrap:balance;margin:0}
.product-intro+.product-detail-gallery{margin-top:-24px}
.subnav{box-shadow:0 9px 20px #08293a10}
/* Generic visual consistency, no collision with chat/chat CTA */
.section-heading,.feature-grid,.hero__grid,.product-hero__grid,.inner-hero__layout,.credibility,.two-col{min-width:0}
.section-heading>div,.feature-copy,.hero__copy,.rich-copy{min-width:0}
.button{border-radius:8px;min-width:0;white-space:normal;text-align:left;line-height:1.3;gap:18px}
.button>span{flex:0 0 auto}
.guide-card{min-height:0;padding:0 0 28px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#f7fafb}
.guide-card__photo{aspect-ratio:1.75;overflow:hidden}
.guide-card__photo img{width:100%;height:100%;object-fit:cover}
.guide-card>span{margin:25px 26px 0}
.guide-card h3{margin:18px 26px 20px}
.guide-card p{margin:0 26px 22px}
.guide-card>a{margin:0 26px}
/* Small devices */
@media(max-width:1200px){.wrap{width:calc(100% - 64px)}.hero__copy h1{font-size:clamp(54px,5.75vw,76px)}.insurance-card__name{font-size:29px}}
@media(max-width:1030px){.hero__grid{gap:36px}.inner-hero__layout{gap:30px}.product-hero__grid{gap:35px}.product-hero__photo{height:410px}.product-hero h1{font-size:clamp(47px,5.4vw,67px)}}
@media(max-width:800px){.wrap{width:min(680px,calc(100% - 40px))}.hero--home{padding:60px 0 65px}.hero__grid{grid-template-columns:1fr;gap:35px}.hero__copy{padding:0}.hero__copy h1{font-size:clamp(56px,9.1vw,82px)}.hero__visual--photo{aspect-ratio:1.38;min-height:0;max-height:550px}.hero__real-photo{object-position:center 43%}.hero__foot{margin-top:42px}.insurance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insurance-card__image{aspect-ratio:1.4}.insurance-card__name{font-size:28px;min-height:2.2em}.feature-grid{grid-template-columns:1fr;gap:38px}.feature-visual--photo{height:auto;aspect-ratio:1.35;min-height:0}.inner-hero__layout{grid-template-columns:1fr;gap:33px;min-height:0}.inner-hero__copy h1{font-size:clamp(51px,8.4vw,73px)}.inner-hero__media{aspect-ratio:1.65}.product-hero__grid{grid-template-columns:1fr}.product-hero__photo{height:auto;max-height:520px;aspect-ratio:1.6}.resource-grid,.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-gallery{grid-template-columns:1fr;gap:24px}.product-detail-gallery__image{max-height:390px}.product-detail-gallery__caption{font-size:29px}.section-heading{gap:17px}.helper{z-index:75}}
@media(max-width:540px){.wrap{width:calc(100% - 32px)}.hero--home{padding:52px 0 60px}.hero__copy h1{font-size:clamp(49px,11.8vw,66px)}.hero__lead{font-size:15px}.hero__visual--photo{aspect-ratio:1.04;border-radius:13px;max-height:none}.hero__image-caption{padding:13px 15px;font-size:9px}.hero__foot{margin-top:28px}.insurance-grid,.resource-grid,.guide-grid{grid-template-columns:1fr;gap:17px}.insurance-card__image{aspect-ratio:1.72}.insurance-card__name{font-size:31px;min-height:0}.insurance-card__index{margin:18px 23px 13px!important}.insurance-card__name,.insurance-card__desc{margin-left:23px;margin-right:23px}.insurance-card__desc{margin-bottom:20px}.insurance-card__bottom{margin-left:23px;margin-right:23px}.feature-visual--photo{aspect-ratio:1.18}.inner-hero{padding:61px 0 60px}.inner-hero__copy h1{font-size:clamp(48px,11vw,61px)}.inner-hero__media{aspect-ratio:1.4;border-radius:12px}.product-hero{padding:58px 0}.product-hero h1{font-size:clamp(49px,10.8vw,63px)}.product-hero__photo{aspect-ratio:1.23;max-height:none}.product-hero__art--photo{border-radius:13px}.product-hero__photo-caption{font-size:9px;padding:12px 14px}.product-detail-gallery{padding-bottom:58px}.product-detail-gallery__image{max-height:260px}.guide-card h3{font-size:31px}.guide-card>span{margin-top:22px}.section-heading h2{font-size:clamp(39px,10vw,56px)}.resource-card h3{font-size:31px}.site-header__end{gap:8px}.brand img{width:148px}}
@media(prefers-reduced-motion:reduce){.hero__real-photo,.product-hero__photo,.insurance-card__image img,.resource-card__image img{transition:none}}
/* Decorative giant text from V1 no longer competes with the supplied images. */
.hero__watermark{display:none!important}
/* Keep small floating help trigger out of the main content area as much as possible. */
@media(max-width:540px){.helper-launch{min-height:43px;padding:10px 13px;font-size:11px;gap:8px;box-shadow:0 10px 26px #00162f62}.helper-launch strong{font-size:17px}.helper{bottom:max(10px,env(safe-area-inset-bottom));right:10px}.helper-panel{max-width:calc(100vw - 20px)}}

/* Legal page shares the V1 portal shell without changing legal text. */
.privacy-header{background:linear-gradient(135deg,#051c32,#0c395b);color:#fff;padding:clamp(65px,7vw,115px) 0 clamp(65px,7vw,100px)}
.privacy-header h1{font-size:clamp(55px,6vw,92px);max-width:920px;margin:25px 0 17px}
.privacy-header p{color:#c5dfed;max-width:650px;font-size:clamp(16px,1.5vw,20px);margin:0}
.privacy-body{background:#f5f8fa;padding:clamp(55px,7vw,105px) 0}
.privacy-article{width:min(860px,100%);margin:0 auto;padding:clamp(28px,4vw,70px);border:1px solid #dbe8ef;background:#fff;border-radius:14px;box-shadow:0 15px 60px #0b355315;overflow-wrap:anywhere}
.privacy-article h2{font:400 clamp(27px,3vw,39px)/1.18 Vogun,Georgia,serif;letter-spacing:-.03em;margin:45px 0 15px;color:#062241}
.privacy-article p{font-size:15px;color:#405e72;line-height:1.9;margin:0 0 18px}
.privacy-article p.privacy-article__intro{font:400 clamp(28px,3vw,37px)/1.2 Vogun,Georgia,serif;color:#082e4b}
.privacy-article p.privacy-article__date{font-size:12px;letter-spacing:.04em;color:#6890a2;border-bottom:1px solid #d9e8ed;padding-bottom:28px;margin-bottom:32px}
@media(max-width:540px){.privacy-body{padding:33px 0 55px}.privacy-article{padding:26px 20px}.privacy-article p{font-size:14px;line-height:1.8}.privacy-article h2{margin-top:33px}}
