/*
Theme Name: HLB DPA
Description: Tema institucional editable en el editor de bloques.
Version: 0.2.7
Requires at least: 6.6
Text Domain: hlb-dpa
*/
@font-face { font-family: Lato; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/lato-400.woff2') format('woff2'); }
@font-face { font-family: Lato; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/lato-700.woff2') format('woff2'); }
@font-face { font-family: Roboto; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/roboto-700.woff2') format('woff2'); }
* { box-sizing: border-box; }
body { margin: 0; font: 400 16px/1.8 "Gotham A", "Gotham B", Lato, Helvetica, Arial, sans-serif; color: #3c3c3b; }
.wp-site-blocks { position: relative; }
.wp-site-blocks > * { margin-block-start: 0; }
.hlb-header { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 10px max(6.45vw,24px); min-height: 112px; background: #005570; color: white; }
body.home .hlb-header { position: absolute; z-index: 3; inset: 0 0 auto; background: transparent; }
.hlb-header .wp-block-image { margin: 0; width: clamp(185px,25vw,330px); }
.hlb-header .wp-block-image img { display: block; width: 100%; height: auto; }
.hlb-nav { display: grid; justify-items: end; gap: 16px; }
.hlb-nav p { margin: 0; font-size: 14px; }
.hlb-nav .wp-block-navigation { gap: clamp(14px,3vw,44px); }
.hlb-nav a { color: inherit; font-size: 18px; line-height: 1.3; font-weight: 400; }
.hlb-nav .wp-block-navigation__responsive-container.is-menu-open { color: #fff; background: #005570; }
.hlb-hero { min-height: clamp(580px,83vh,768px); align-items: flex-start; padding: clamp(180px,24vh,225px) max(6.5vw,24px) 80px; background: #005570; }
.hlb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.49) 46%,rgba(0,0,0,.08) 100%); pointer-events: none; }
.hlb-hero .wp-block-cover__inner-container { position: relative; z-index: 1; }
.hlb-hero h1 { max-width: 648px; margin: 0; color: white; font-family: Roboto, Arial, sans-serif; font-weight: 700; font-size: clamp(38px,4.45vw,60px); line-height: 1.1667; }
.hlb-section, .hlb-page { margin-inline: auto; padding: 140px max(6.5vw,24px) 105px; }
.hlb-page { min-height: 50vh; }
.hlb-page h1, .hlb-section h2 { font-size: clamp(32px,4vw,40px); line-height: 1.1; color: #000; font-weight: 700; }
.hlb-video { background: #f3f6f7; }
.hlb-profiles { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 28px; }
.hlb-profile { border-top: 3px solid #005570; padding-block: 18px; }
.hlb-profile h3 { margin-top: 0; font-size: 19.2px; line-height: 1.2; font-weight: 700; color: #000; }
.hlb-footer { background: #005a77; color: white; padding: 50px max(6.5vw,24px); }
.hlb-footer a { color: inherit; }
@media (max-width: 620px) { .hlb-header { min-height: 92px; } .hlb-nav { gap: 6px; } .hlb-section,.hlb-page { padding-block: 58px; } }

.hlb-home-team { background: #fff; min-height: 605px; }
.hlb-home-team .hlb-profiles { margin-top: 105px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 58px 28px; }
.hlb-home-team .hlb-profile { border: 0; padding: 0; }
.hlb-home-team .hlb-profile h3, .hlb-home-team .hlb-profile p { margin: 0 0 10px; }
.hlb-home-team .wp-block-buttons { margin-top: 34px; }
.hlb-contact-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); min-height: 0; background: #fff; }
.hlb-contact-copy { background: #dce8ed; padding: 150px max(8.75vw,24px) 74px; }
.hlb-contact-copy .wp-block-image { margin: 0 0 40px; }
.hlb-contact-copy img { width: 100px; height: auto; }
.hlb-contact-copy h2 { font-size: 36px; line-height: 1.2; color: #000; margin: 0 0 10px; }
.hlb-contact-copy p { font-size: clamp(27px,2.65vw,36px); line-height: 1.44; color: #191919; margin: 0 0 48px; }
.hlb-contact-image .wp-block-image { margin: 0; }
.hlb-contact-image img { display: block; width: 100%; height: auto; }
.hlb-contact-copy .wp-block-button__link { background: transparent; color: #151515; border: 2px solid #151515; padding: 21px 20px; font-size: 14px; font-weight: 700; border-radius: 0; }
@media(max-width: 760px) {
 .hlb-contact-strip { grid-template-columns: 1fr; min-height: 0; }
 .hlb-contact-copy { padding-block: 68px; }
 .hlb-home-team { min-height: 0; }
 .hlb-home-team .hlb-profiles { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 48px; }
}

.hlb-header, .hlb-footer { background-color:#005670; }
.hlb-utility { display:flex; align-items:center; gap:22px; color:#fff; white-space:nowrap; }
.hlb-utility a { font-size:16px; text-decoration:none; }
.hlb-utility a > span { font-size:20px; margin-right:5px; vertical-align:middle; }
.hlb-languages { display:flex; gap:5px; }
.hlb-languages a { border:2px solid #fff; border-radius:50%; width:28px; height:28px; display:grid; place-items:center; line-height:1; }
.hlb-float { position:fixed; z-index:5; top:50%; right:3.2vw; transform:translateY(-50%); background:#ffb900; width:72px; height:72px; display:grid; place-items:center; }
.hlb-float::before { content:""; position:absolute; inset:6px 6px -6px -6px; border:3px solid #ffb900; pointer-events:none; }
.hlb-float img { width:43px; height:auto; mix-blend-mode:multiply; }
.hlb-footer { display:grid; grid-template-columns: 2fr 1fr; gap:48px; min-height:205px; padding:55px max(5.85vw,24px) 34px; }
.hlb-footer p { margin:0 0 22px; }
.hlb-footer-legal p:first-child { display:flex; gap:32px; font-size:19px; }
.hlb-footer-legal p:last-child { font-size:13px; line-height:1.5; }
.hlb-footer-location { font-size:19px; }
.hlb-footer a { text-decoration:none; }
@media(max-width:760px) {
 .hlb-utility { display:none; }
 .hlb-float { width:48px; height:48px; }
 .hlb-float img { width:30px; }
 .hlb-footer { grid-template-columns:1fr; gap:0; }
}

.hlb-mega-nav{display:flex;gap:clamp(14px,2.4vw,36px);align-items:center}
.hlb-menu-item summary{list-style:none;cursor:pointer;white-space:nowrap;color:#fff;font-size:18px;line-height:1.3}
.hlb-menu-item summary::-webkit-details-marker{display:none}
.hlb-menu-item summary::after{content:"";display:inline-block;width:10px;height:10px;margin-left:10px;border:solid white;border-width:0 1px 1px 0;transform:translateY(-3px) rotate(45deg)}
.hlb-menu-item[open] summary{text-decoration:underline;text-decoration-color:#ffb900;text-underline-offset:7px;text-decoration-thickness:3px}
.hlb-menu-item[open] summary::after{transform:rotate(225deg)}
.hlb-header{position:relative;z-index:4}
.hlb-mega{position:absolute;z-index:10;inset:100% 0 auto;display:grid;grid-template-columns:minmax(210px,25%) 1fr;gap:20px;padding:42px max(3vw,22px) 84px;background:#005670;color:#fff;box-shadow:0 8px 15px #0002}
.hlb-mega-side{border-right:1px solid #19829a;padding-right:22px}
.hlb-mega-side button{display:block;background:none;border:0;color:#c7dbe3;text-align:left;font:700 clamp(19px,2.2vw,30px)/1.24 inherit;font-family:inherit;font-weight:700;font-size:clamp(19px,2.2vw,30px);line-height:1.24;cursor:pointer;margin:0 0 18px;padding:0 0 0 34px;position:relative}
.hlb-mega-side button::before{content:"";position:absolute;left:0;top:.65em;width:23px;height:2px;background:#ffb900;transform:rotate(-42deg)}
.hlb-mega-side button:hover,.hlb-menu-item[data-menu-id="nosotros"] [data-hlb-menu="nosotros"],.hlb-menu-item[data-menu-id="servicios"] [data-hlb-menu="servicios"],.hlb-menu-item[data-menu-id="industrias"] [data-hlb-menu="industrias"],.hlb-menu-item[data-menu-id="carreras"] [data-hlb-menu="carreras"],.hlb-menu-item[data-menu-id="novedades"] [data-hlb-menu="novedades"]{color:white}
.hlb-mega-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;align-content:start;max-width:800px}
.hlb-mega-links a{font-size:clamp(18px,1.9vw,25px);font-weight:700;text-decoration:none}
.hlb-mega-links a:hover{text-decoration:underline;text-decoration-color:#ffb900}
.hlb-breadcrumb{display:flex;align-items:center;gap:10px;background:#005670;color:white;padding:15px max(6.5vw,24px) 25px}
.hlb-breadcrumb p,.hlb-breadcrumb h2{font:inherit;font-size:13px;margin:0}.hlb-breadcrumb a{color:#dce8ed;text-decoration:none}
.hlb-editorial{padding:50px max(6.5vw,24px) 72px}
.hlb-editorial h2{font-size:clamp(28px,3vw,38px);line-height:1.22;margin:0 0 26px;font-weight:700}
.hlb-survey{background:linear-gradient(#005670 0 58%,#fff 58%);color:white}
.hlb-survey h2{color:#ffb900}
.hlb-survey p,.hlb-about-copy p{font-size:clamp(16px,1.45vw,20px);line-height:1.65}
.hlb-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:34px}
.hlb-feature-card{position:relative;margin:0;min-width:0}
.hlb-feature-card figure{margin:0}.hlb-feature-card img{display:block;width:100%;object-fit:cover;aspect-ratio:1.18}
.hlb-survey .hlb-feature-card::after{content:"";position:absolute;inset:0;background:linear-gradient(35deg,#000b,transparent);pointer-events:none}
.hlb-survey .hlb-feature-card h3{position:absolute;z-index:1;inset:auto 10% 10%;margin:0;font-size:clamp(18px,2.1vw,30px);line-height:1.2}
.hlb-feature-card a{color:inherit;text-decoration:none}.hlb-feature-card a:hover{text-decoration:underline}
.hlb-articles{background:#eaf1f3;color:#111}.hlb-articles .hlb-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(18px,5vw,65px)}
.hlb-articles .hlb-feature-card img{aspect-ratio:16/9}
.hlb-card-badge{display:table;position:relative;margin:-10px 0 0 10px;background:#ffb900;color:#000;padding:6px 10px;font-weight:700}
.hlb-card-badge p{margin:0;font-size:12px}
.hlb-articles .hlb-feature-card h3{font-size:clamp(17px,1.5vw,22px);line-height:1.2;margin:29px 0 0}
.hlb-about-hero figure{margin:0;margin-top:-9vw}.hlb-about-hero img{display:block;width:100%;height:clamp(260px,38vw,530px);object-fit:cover}
.hlb-about-title{position:relative;z-index:1;background:#005670;color:white;clip-path:polygon(0 0,100% 0,100% 60%,0 100%);padding:55px max(6.5vw,24px) max(15vw,100px)}
.hlb-about-title h1{font-size:clamp(36px,4vw,57px);line-height:1.2;margin:0}
.hlb-about-copy{padding-block:64px 90px}.hlb-about-video{margin:64px 0;box-shadow:-7px 7px #ffb900;background:#111}
.hlb-about-video iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
@media(max-width:950px){.hlb-mega-nav{flex-wrap:wrap;gap:12px}.hlb-menu-item summary{font-size:15px}.hlb-utility{gap:12px}}
@media(max-width:700px){.hlb-mega{grid-template-columns:1fr;padding-bottom:30px}.hlb-mega-side{display:none}.hlb-mega-links{gap:12px}.hlb-feature-grid,.hlb-articles .hlb-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.hlb-about-title{padding-top:30px}.hlb-survey{background:#005670}}

.hlb-people-section { padding: 30px 0 62px; }
.hlb-people-section h2 { font-size: clamp(28px,3vw,40px); margin: 0 0 28px; color: #000; }
.hlb-people-staff { background: #eaf1f3; margin-inline: calc(-1 * max(6.5vw,24px)); padding: 50px max(6.5vw,24px) 62px; }
.hlb-people-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; }
.hlb-partners-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.hlb-member figure { margin: 0; }
.hlb-member img { display:block; width:100%; aspect-ratio: 8/9; object-fit:cover; }
.hlb-member h3 { margin: 14px 0 2px; color: #111; line-height: 1.25; font-size: 20px; }
.hlb-member p { margin: 0; }
@media(max-width:740px) { .hlb-people-grid, .hlb-partners-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; } }

.hlb-service-overview{background:linear-gradient(#005670 0 210px,#f2f7f8 210px);color:#fff}
.hlb-service-overview h2{color:#ffb900}
.hlb-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:34px}
.hlb-service-card{background:white;color:#171717;box-shadow:0 8px 24px #113a4a16}
.hlb-service-card figure{margin:0}.hlb-service-card img{width:100%;height:185px;display:block;object-fit:cover}
.hlb-service-card-copy{padding:22px}.hlb-service-card-copy h3{margin:0;font-size:23px;line-height:1.2}
.hlb-service-card-copy p{margin:12px 0 0;line-height:1.45}
.hlb-service-card-copy a,.hlb-service-end a{display:inline-block;background:#ffb900;color:#151515;padding:9px 14px;font-weight:700;text-decoration:none}
.hlb-service-detail{border-top:1px solid #dce8ed;padding:22px 0;scroll-margin-top:24px}
.hlb-service-detail h3{margin:0 0 9px;color:#005670}
.hlb-service-end{display:grid;grid-template-columns:1fr 1fr}.hlb-service-end>div{padding:48px max(6vw,24px);background:#dce8ed}
.hlb-service-end>div+div{background:#eaf1f3}.hlb-service-end figure{margin:0}.hlb-service-end img{width:55px}
.hlb-service-end h2{font-size:30px;line-height:1.16;margin:12px 0}
@media(max-width:760px){.hlb-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:500px){.hlb-service-grid,.hlb-service-end{grid-template-columns:1fr}}

.hlb-contact-form { max-width: 1180px; width: 87%; margin: 0 auto; padding: 60px 0 78px; }
.hlb-contact-form h2 { color:#242424; font-size:clamp(30px,4vw,44px); line-height:1.16; margin:0 0 17px; }
.hlb-contact-intro { margin:0 0 32px; }
.hlb-contact-field { display:block; margin:0 0 24px; font-weight:700; }
.hlb-contact-field input,.hlb-contact-field textarea { display:block; width:100%; border:0; border-bottom:1px solid #b6cbd2; border-radius:0; background:#fff; color:#202020; padding:10px 5px; font:inherit; font-weight:400; }
.hlb-contact-field textarea { resize:vertical; min-height:95px; }
.hlb-contact-field input:focus,.hlb-contact-field textarea:focus { outline:2px solid #005670; outline-offset:2px; }
.hlb-contact-copy-choice { border:0; margin:14px 0 30px; padding:0; }
.hlb-contact-copy-choice legend { font-weight:700; margin-bottom:7px; }
.hlb-contact-copy-choice label { margin-right:20px; }
.hlb-contact-form button { border:2px solid #202020; background:white; color:#202020; padding:12px 22px; font:inherit; font-weight:700; cursor:pointer; }
.hlb-contact-form button:hover { background:#ffb900; }
.hlb-contact-status { padding:12px 15px; background:#eaf1f3; border-left:4px solid #005670; }

.hlb-menu-direct{white-space:nowrap;text-decoration:none}
.hlb-menu-direct:hover,body.blog .hlb-menu-direct[href="/insights/"],body.single-post .hlb-menu-direct[href="/insights/"]{text-decoration:underline;text-decoration-color:#ffb900;text-underline-offset:7px;text-decoration-thickness:3px}
.hlb-mega-direct{display:block;color:#c7dbe3;font-weight:700;margin:0 0 18px;padding-left:34px}
.hlb-contact-strip{padding-bottom:clamp(25px,6.5vw,104px);background:linear-gradient(90deg,#dce8ed 50%,#fff 50%);}
.hlb-footer{position:relative;margin-top:0}
.hlb-footer::before{content:"";position:absolute;inset:auto 0 calc(100% - 1px);height:clamp(26px,7.5vw,120px);background:#005670;clip-path:polygon(0 100%,100% 0,100% 100%);pointer-events:none}
.hlb-footer-trail{grid-column:1/-1;margin:0!important;font-size:15px}
.hlb-insights-title{padding:64px max(6.5vw,24px);background:#eaf1f3;color:#000}
.hlb-insights-title h1{font-size:clamp(38px,4vw,58px);margin:0;line-height:1.12}
.hlb-insights-list{padding:72px max(6.5vw,24px) 90px}
.hlb-insights-list .wp-block-post-template{gap:clamp(24px,4.5vw,66px)}
.hlb-insights-list .wp-block-post-featured-image{margin:0}
.hlb-insights-label{display:table;position:relative;margin:-12px 0 24px 10px;background:#ffb900;color:#171717;padding:5px 11px;font-size:13px;font-weight:700}
.hlb-insights-label p{margin:0}
.hlb-insights-list .wp-block-post-title{font-size:23px;line-height:1.24;margin:0 0 16px}
.hlb-insights-list .wp-block-post-title a{color:inherit;text-decoration:none}
.hlb-insights-list .wp-block-post-title a:hover{text-decoration:underline}
@media(max-width:760px){.hlb-contact-strip{background:#fff}.hlb-insights-list .wp-block-post-template{grid-template-columns:1fr}}

.hlb-profiles > *,.hlb-people-grid > *,.hlb-service-grid > *,.hlb-feature-grid > *{margin-block:0}
.hlb-home-team{min-height:0}
.hlb-home-team .hlb-profiles{margin-top:56px}
.hlb-home-more{margin:44px 0 0}
.hlb-home-more a{display:inline-block;border:2px solid currentColor;padding:14px 22px;font-weight:700;font-size:15px;text-decoration:none;color:inherit}
.hlb-home-more a:hover{background:#ffb900;border-color:#ffb900;color:#151515}
.hlb-home-services .hlb-home-more{color:#151515}
.hlb-home-insights{background:#fff}
.hlb-home-insights h2{margin-bottom:40px}
.hlb-home-insights .wp-block-post-title{margin-top:24px}
.hlb-home-insights .wp-block-post-date{font-size:14px;color:#5a6b72}
.hlb-about-video{max-width:1040px;margin:72px auto}
.hlb-about-video .wp-block-embed{margin:0}
.hlb-about-video iframe{height:auto}
@media(min-width:1024px){
 .hlb-hero{min-height:clamp(640px,92vh,900px)}
 .hlb-section,.hlb-page{padding-block:150px 130px}
 .hlb-editorial{padding-block:104px 120px}
 .hlb-about-title{padding-top:72px}
 .hlb-about-hero img{height:clamp(320px,44vw,640px)}
 .hlb-about-copy{padding-block:104px 130px}
 .hlb-service-overview{background:linear-gradient(#005670 0 330px,#f2f7f8 330px)}
 .hlb-service-grid{gap:32px;margin-top:56px}
 .hlb-service-card img{height:260px}
 .hlb-home-services .hlb-service-card img{height:320px}
 .hlb-service-card-copy{padding:30px}
 .hlb-people-section{padding-block:56px 96px}
 .hlb-people-staff{padding-block:80px 96px}
 .hlb-insights-title{padding-block:104px}
 .hlb-insights-list{padding-block:104px 130px}
 .hlb-home-insights .wp-block-post-template{gap:40px}
}
@media(max-width:760px){.hlb-about-video{margin:40px 0}}
.hlb-home-team .wp-block-button__link{background:transparent;color:#151515;border:2px solid #151515;border-radius:0;padding:14px 22px;font-size:15px;font-weight:700}
.hlb-home-team .wp-block-button__link:hover{background:#ffb900;border-color:#ffb900}
.hlb-about-team{padding-top:0;padding-bottom:0}
.hlb-about-team > .wp-block-group:last-child{margin-bottom:0}

.wp-site-blocks > header.wp-block-template-part{height:135px}
body.home .wp-site-blocks > header.wp-block-template-part{height:0}
.hlb-header,body.home .hlb-header{position:fixed;z-index:20;inset:0 0 auto;transition:background-color .25s ease,min-height .25s ease,padding .25s ease,box-shadow .25s ease}
body.home .hlb-header{background:transparent}
.hlb-header.is-scrolled,body.home .hlb-header.is-scrolled{background:#005670;min-height:84px;padding-block:6px;box-shadow:0 2px 12px #0003}
.hlb-header .wp-block-image{transition:width .25s ease}
.hlb-header.is-scrolled .wp-block-image{width:clamp(160px,16vw,220px)}
body.admin-bar .hlb-header{top:32px}
@media(max-width:782px){body.admin-bar .hlb-header{top:46px}}
.hlb-service-detail{scroll-margin-top:120px}
@media(max-width:950px){.wp-site-blocks > header.wp-block-template-part{height:150px}}
@media(max-width:620px){.wp-site-blocks > header.wp-block-template-part{height:158px}}

@media(min-width:951px){
 .wp-site-blocks > header.wp-block-template-part{height:121px}
 body.home .wp-site-blocks > header.wp-block-template-part{height:0}
 .hlb-header,body.home .hlb-header,.hlb-header.is-scrolled,body.home .hlb-header.is-scrolled{display:flex;align-items:flex-start;justify-content:flex-start;gap:0;min-height:121px;padding:21px 35px 21px 26px;box-shadow:none}
 .hlb-header .wp-block-image,.hlb-header.is-scrolled .wp-block-image{flex:0 0 365px;width:365px;margin:0}
 .hlb-header .wp-block-image,.hlb-header .wp-block-image a{display:block;line-height:0;height:79px}
 .hlb-header .wp-block-image img{width:auto;height:79px}
 .hlb-header > *,.hlb-nav > *{margin-block:0}
 .hlb-nav{display:block;flex:1;min-width:0;padding-top:26px}
 .hlb-utility{position:absolute;top:3px;right:35px;gap:39px;line-height:24px}
 .hlb-utility a{font-size:17.5px}
 .hlb-utility a > span{margin-right:10px}
 .hlb-mega-nav{flex-wrap:wrap;justify-content:flex-start;gap:0 46px}
 .hlb-menu-item summary,.hlb-nav a.hlb-menu-direct{font-size:20.5px;line-height:26.5px}
 .hlb-menu-item summary::after{width:13px;height:13px;margin-left:7.7px;transform:translateY(-6px) rotate(45deg)}
 .hlb-menu-item[open] summary::after{transform:translateY(3px) rotate(225deg)}
}

/* Material real: video institucional propio y retratos en Inicio (0.2.5) */
.hlb-about-video .wp-block-video{margin:0}
.hlb-about-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#000}
.hlb-profile .wp-block-image{margin:0 0 16px}
.hlb-profile .wp-block-image img{display:block;width:100%;height:auto;aspect-ratio:8/9;object-fit:cover}
@media(min-width:761px){.hlb-home-team .hlb-profiles{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Móvil: botón de contacto abajo a la derecha y oculto mientras el video está en pantalla (0.2.6) */
@media(max-width:760px){
 .hlb-float{top:auto;bottom:calc(16px + env(safe-area-inset-bottom));right:16px;transform:none;transition:opacity .2s,visibility .2s}
 body.hlb-video-en-vista .hlb-float{opacity:0;visibility:hidden;pointer-events:none}
}

/* Ajustes 0.2.7: portada a pantalla completa, título equilibrado, Equipo y movimiento */
.hlb-hero,body.home .hlb-hero{min-height:100vh;min-height:100svh}
.hlb-home > .wp-block-post-content > .hlb-hero + *{margin-top:0}
.hlb-hero h1{max-width:none;text-wrap:balance}
.hlb-nowrap{white-space:nowrap}
@media(max-width:620px){.hlb-hero h1{font-size:clamp(26px,8.8vw,38px)}}
.hlb-hero{overflow:hidden}
.hlb-hero .wp-block-cover__image-background{transform-origin:62% 55%;animation:hlb-acercar 18s ease-out both}
@keyframes hlb-acercar{from{transform:scale(1.08)}to{transform:scale(1)}}
.hlb-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.hlb-reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
 .hlb-hero .wp-block-cover__image-background{animation:none}
 .hlb-reveal{opacity:1;transform:none;transition:none}
}
.hlb-team-video{padding-block:24px 0}
.hlb-team-video .hlb-about-video{margin-top:48px}
.hlb-team-intro{padding-block:56px 72px}
.hlb-fuente{white-space:normal}
.hlb-breadcrumb .wp-block-post-title{font:inherit;font-size:13px;margin:0;color:inherit}
.hlb-hero h1 .hlb-nowrap{display:block}
@media(max-width:760px){.hlb-page .hlb-team-video{padding-inline:0}}
.hlb-page .hlb-team-intro{padding-inline:0}
/* Quiénes somos: ritmo parejo entre video, galerías y «Cómo trabajamos juntos» */
.hlb-about-copy:not(.hlb-about-how){padding-bottom:34px}
@media(min-width:1024px){.hlb-about-copy:not(.hlb-about-how){padding-bottom:48px}}
