#departamentos .section-title{align-items:center;gap:20px;margin-bottom:25px}
#departamentos .departments-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
#departamentos .department-card{min-height:188px;padding:26px 15px 22px;justify-content:center;border-color:#e0e6f0;box-sizing:border-box}
#departamentos .department-card:hover{border-color:#a2b6da;transform:translateY(-3px)}
#departamentos .department-icon{width:76px;height:76px;margin-bottom:18px}
#departamentos .department-icon svg{width:34px;height:34px}
#departamentos .department-card strong{font-size:14px;line-height:1.6;font-weight:500}
#departamentos .department-card small{font-size:10px;line-height:1.6;margin-top:6px}
.departments-more{display:inline-flex;align-items:center;justify-content:center;gap:20px;flex-shrink:0;min-height:42px;padding:11px 17px;border:1px solid #cfd9e9;border-radius:6px;background:white;color:#153f8f;font:500 12px 'Inter',Arial,sans-serif;cursor:pointer;white-space:nowrap}
.departments-more:hover{border-color:#153f8f;background:#f1f5fc}
.departments-more:focus-visible,#departments-dialog a:focus-visible,#close-departments:focus-visible{outline:3px solid #779dd6;outline-offset:3px}
#departments-dialog{width:min(690px,calc(100% - 36px));max-width:none;max-height:85dvh;padding:30px;border:1px solid #dfe5ee;border-radius:15px;color:#20314d;box-shadow:0 20px 80px #102d6530;box-sizing:border-box}
#departments-dialog::backdrop{background:#102d6580;backdrop-filter:blur(3px)}
.departments-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}
.departments-dialog-head .eyebrow{font-size:8px;color:#647187}
.departments-dialog-head h2{font-size:26px;line-height:1.3;letter-spacing:-.7px;font-weight:500;margin:8px 0 0;color:#153f8f}
#close-departments{width:36px;height:36px;border:1px solid #dfe5ee;border-radius:50%;background:#f5f7fb;color:#153f8f;display:grid;place-items:center;font-size:23px;cursor:pointer;flex-shrink:0}
.departments-dialog-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.departments-dialog-list>a{display:flex;align-items:center;gap:12px;border:1px solid #e0e6ef;border-radius:8px;padding:17px 14px;min-width:0;text-decoration:none;color:#20314d;background:#fff}
.departments-dialog-list>a:hover{background:#f3f6fc;border-color:#afc1dd}
.departments-option-icon{display:grid;place-items:center;width:39px;height:39px;background:#edf2fa;color:#315992;border-radius:50%;flex-shrink:0}
.departments-option-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.departments-dialog-list strong{display:block;font-size:12px;line-height:1.6;font-weight:500}
.departments-dialog-list small{display:block;font-size:10px;color:#647187;line-height:1.7;margin-top:2px}
.departments-dialog-list>a>span:last-child{margin-left:auto;font-size:14px;color:#315992}
html:has(#departments-dialog[open]){overflow:hidden}
.home-story{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #e0e6ef;border-radius:14px;overflow:hidden;margin:44px 0 0}
.home-story-image{min-width:0;overflow:hidden;background:#e7e7e2;min-height:405px}
.home-story-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;aspect-ratio:4/3}
.home-story-copy{padding:clamp(32px,4vw,60px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.home-story-copy .eyebrow{font-size:9px;letter-spacing:1.4px;color:#647187}
.home-story-copy h2{font-size:clamp(31px,3.1vw,45px);line-height:1.12;letter-spacing:-1.1px;font-weight:500;color:#153f8f;margin:18px 0 21px}
.home-story-copy p{font-size:13px;line-height:1.9;color:#647187;margin:0 0 12px;max-width:355px}
.home-story-copy .primary{margin-top:15px;font-size:12px;font-weight:500;gap:28px}
@media(max-width:1050px){#departamentos .departments-grid{gap:12px}#departamentos .department-card{padding:23px 10px;min-height:178px}#departamentos .department-card strong{font-size:12px}#departamentos .department-card small{font-size:9px}.home-story-image{min-height:360px}.home-story-copy{padding:32px}.home-story-copy h2{font-size:33px}.home-story-copy p{font-size:12px}}
@media(max-width:760px){#departamentos .section-title{align-items:flex-end;gap:12px}#departamentos .section-title h2{font-size:23px;line-height:1.25}#departamentos .section-title .eyebrow{font-size:8px;letter-spacing:1.1px}.departments-more{font-size:10px;min-height:38px;padding:9px 12px;gap:10px}#departamentos .departments-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 14px;margin:0 -2px;scrollbar-width:thin;scrollbar-color:#a8bbdb #eaf0f9}#departamentos .department-card{flex:0 0 148px;min-height:178px;scroll-snap-align:start;padding:23px 12px}#departamentos .department-icon{width:70px;height:70px;margin-bottom:17px}#departamentos .department-card strong{font-size:13px}#departamentos .department-card small{font-size:10px}.home-story{grid-template-columns:1fr;margin-top:30px;border-radius:11px}.home-story-image{min-height:0;aspect-ratio:4/3}.home-story-image img{height:100%}.home-story-copy{padding:30px 26px 33px}.home-story-copy h2{font-size:34px;margin:16px 0 20px}.home-story-copy p{font-size:12px;max-width:420px}.home-story-copy .primary{font-size:11px;margin-top:12px}.home-story-copy .eyebrow{font-size:8px}#departments-dialog{padding:23px 19px;border-radius:12px}.departments-dialog-head{margin-bottom:20px}.departments-dialog-head h2{font-size:24px}.departments-dialog-list{grid-template-columns:1fr;gap:8px}.departments-dialog-list>a{padding:12px}.departments-dialog-list strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){#departamentos .department-card{transition:none}}

.home-story-image{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;padding:26px 30px 23px;box-sizing:border-box;text-decoration:none;min-height:430px}
.home-story-image img{width:100%;height:355px;max-height:355px;object-fit:contain;aspect-ratio:auto}
.home-story-product-label{display:block;color:#647187;font-size:9px;line-height:1.7;letter-spacing:1.1px;margin-top:14px;text-align:center}
.home-story-copy{background:#f0f4fa}
@media(max-width:760px){.home-story-image{min-height:0;aspect-ratio:auto;padding:23px 20px 21px}.home-story-image img{height:280px;max-height:280px}.home-story-product-label{font-size:8px;margin-top:10px}.home-story-copy{padding:30px 26px 33px}}

#departamentos,.home-story{scroll-margin-top:185px}
@media(max-width:760px){#departamentos,.home-story{scroll-margin-top:220px}}
