/* Creative inner-page layouts, SEO heading aliases, blog and human concierge. */
.h2-style{font-family:var(--serif);font-weight:400;line-height:1.04;font-size:clamp(2.8rem,4.4vw,4.6rem);letter-spacing:-.025em;color:inherit}.h3-style{font-family:var(--serif);font-size:2rem;font-weight:400;line-height:1.04;color:inherit}.page-intro{position:relative;overflow:hidden;background:linear-gradient(120deg,#edf0e8 0 58%,#173d35 58%);padding-top:85px;padding-bottom:85px}.page-intro:after{content:'LAZARMED';position:absolute;right:4%;bottom:-28px;color:#ffffff12;font:500 6rem/1 var(--serif);letter-spacing:.08em}.page-intro h1,.page-intro>p{max-width:720px}.page-image{width:86%;height:min(58vw,620px);margin:-32px auto 0;position:relative;z-index:2;box-shadow:0 22px 60px #102c2622}.service-details{background:#fff;margin:0 7.2%;padding:80px 6%;grid-template-columns:1.35fr .65fr}.service-details aside{background:var(--deep);color:#fff;padding:40px;align-self:start}.service-details aside p{color:#c7d4cd}.inspiration-item{padding:28px;background:#fff;border:1px solid #dde0d8}.inspiration-item:nth-child(even){background:#e9ede5}.seo-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#d3be8d;padding-top:1px;padding-bottom:1px}.seo-pillars h2{grid-column:1/-1;padding:40px;background:var(--cream)}.seo-pillars h3{background:var(--cream);padding:30px;font-size:1.55rem}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.blog-card{background:#fff;border:1px solid var(--line);overflow:hidden}.blog-card img{height:260px}.blog-card span,.blog-card h3,.blog-card p,.blog-card b{display:block;margin:18px 24px}.blog-card span{font-size:.7rem;letter-spacing:.12em;color:#9a7e40}.blog-card h3{font-size:2rem}.blog-card b{font-size:.8rem;color:var(--green);padding-bottom:8px}.article-hero{height:610px}.article-body{max-width:900px;margin:auto}.article-body h2,.article-body h3{margin:45px 0 18px}.article-body p{font-size:1.08rem;line-height:1.95}.chat-head{align-items:center}.chat-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#d3be8d;color:#102c26;font-family:var(--serif);font-size:1.4rem;flex:none}.chat-head span i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#61d58a;margin-right:7px}.chat-bubble{position:relative}.chat-bubble:not(.user):after{content:'Lucía · ahora';display:block;font-size:.58rem;color:#83918a;margin-top:5px}.typing-bubble{display:flex;gap:4px;width:max-content}.typing-bubble i{width:6px;height:6px;border-radius:50%;background:#7d8d84;animation:typing 1s infinite}.typing-bubble i:nth-child(2){animation-delay:.15s}.typing-bubble i:nth-child(3){animation-delay:.3s}@keyframes typing{50%{transform:translateY(-4px)}}
@media(max-width:900px){.page-intro{background:#edf0e8}.page-intro:after{display:none}.page-image{width:100%;margin:0}.service-details{margin:0;padding:60px 6%}.blog-grid{grid-template-columns:1fr 1fr}.seo-pillars{grid-template-columns:1fr}.seo-pillars h2{grid-column:auto}.article-hero{height:420px}}
@media(max-width:620px){.blog-grid{grid-template-columns:1fr}.blog-card img{height:230px}.article-hero{height:300px}.page-intro{padding-top:55px;padding-bottom:55px}}
/* Emergency cascade fixes: this file is linked after the legacy bundle. */
@media(min-width:1101px){
.mega-menu{width:min(960px,calc(100vw - 80px))!important;padding:16px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;background:#f7f6f2!important}
.mega-menu a{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:118px auto auto auto!important;padding:0 0 18px!important;min-height:270px!important;background:#fff!important;overflow:hidden!important;border:1px solid #d7dcd3!important}
.mega-menu a:before{position:static!important;display:block!important;grid-row:auto!important;width:100%!important;height:118px!important;margin:0!important;background-position:center!important;background-size:cover!important}
.mega-menu a:nth-child(1):before{background-image:url('/assets/construction-site.jpg')!important}.mega-menu a:nth-child(2):before{background-image:url('/assets/renovation-progress.jpg')!important}.mega-menu a:nth-child(3):before{background-image:url('/assets/material-detail.jpg')!important}
.mega-menu .mega-icon{display:none!important}.mega-menu small,.mega-menu strong,.mega-menu span{margin-left:20px!important;margin-right:20px!important}.mega-menu small{margin-top:14px!important}.mega-menu strong{font-size:1.45rem!important;line-height:1.1!important}.mega-menu span{font-size:.76rem!important;line-height:1.5!important;margin-top:8px!important}
}
.seo-pillars.section{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1px!important;padding:0!important;background:#d8ddd2!important}.seo-pillars h2{grid-column:1/-1!important;margin:0!important;padding:55px 7.2% 30px!important;background:var(--cream)!important;font-size:clamp(2.5rem,4vw,4rem)!important}.seo-pillars h3{margin:0!important;padding:30px 7.2%!important;background:var(--cream)!important;font-size:1.45rem!important;min-height:120px!important}
.service-details{background:#fff!important;margin:0 7.2%!important;padding:80px 6%!important;grid-template-columns:1.35fr .65fr!important}.service-details aside{background:var(--deep)!important;color:#fff!important;padding:40px!important}.service-details aside h3,.service-details aside .h3-style{color:#fff!important}.service-details aside p{color:#c7d4cd!important}.service-details aside .button{background:var(--gold)!important;color:var(--deep)!important}
.trust .h2-style{color:#fff!important}.trust-items h3,.trust-items .h3-style{font-family:var(--serif)!important;font-size:1.8rem!important;line-height:1.15!important;margin:18px 0!important;color:#fff!important}.trust-items p{color:#c4d2ca!important}.trust-items span{font-size:30px!important}
@media(max-width:900px){.seo-pillars.section{grid-template-columns:1fr!important}.seo-pillars h2{grid-column:auto!important}.seo-pillars h3{min-height:auto!important}.service-details{margin:0!important;padding:60px 6%!important;grid-template-columns:1fr!important}}
/* Layout stability audit — prevent every horizontal overflow and clipped section. */
html,body{max-width:100%;overflow-x:clip}main,main>*,.section,.page-intro,.process,.inspiration-grid{min-width:0;max-width:100%}
.page-intro{display:block!important;position:relative!important;overflow:hidden!important;background:#e9ede5!important;padding:72px max(6%,calc((100vw - 1500px)/2)) 82px!important;border-bottom:1px solid #d7ddd4!important}
.page-intro:before{content:'';position:absolute;left:0;top:0;width:5px;height:100%;background:var(--gold)}.page-intro:after{content:'LAZARMED'!important;right:5%!important;bottom:-20px!important;color:#173d3508!important;font-size:clamp(4rem,9vw,9rem)!important;white-space:nowrap!important}
.page-intro .breadcrumb,.page-intro .eyebrow,.page-intro h1,.page-intro>p{position:relative;z-index:1;max-width:1050px!important;margin-left:0!important}.page-intro h1{font-size:clamp(3.6rem,6vw,6.5rem)!important;line-height:.98!important;overflow-wrap:normal;word-break:normal}.page-intro>p:last-child{max-width:850px!important;font-size:1.05rem;line-height:1.8}
.page-image{width:min(1280px,100%)!important;height:auto!important;aspect-ratio:16/7!important;margin:0 auto!important;box-shadow:none!important;background:#dfe5dc}.page-image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;filter:none!important}
.process .section-heading{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr)!important;align-items:end!important}.steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:34px!important;width:100%!important}.steps article{min-width:0!important}.steps h3,.steps .h3-style{overflow-wrap:anywhere}.steps p{overflow-wrap:anywhere}
.inspiration-grid{display:grid!important;gap:34px!important}.inspiration-item,.inspiration-item:nth-child(even){display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)!important;gap:0!important;width:min(1380px,100%)!important;margin:0 auto!important;padding:0!important;background:#fff!important;direction:ltr!important;overflow:hidden!important}.inspiration-item:nth-child(even) figure{order:2}.inspiration-item figure{height:520px!important;min-width:0!important;margin:0!important}.inspiration-item figure img{width:100%!important;height:100%!important;object-fit:cover!important;filter:none!important}.inspiration-item>div{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;padding:60px!important}.inspiration-item .h2-style,.inspiration-item h2{font-size:clamp(2.5rem,4vw,4.4rem)!important;overflow-wrap:normal!important}
.service-details,.service-details>*{min-width:0!important}.scope-list li{overflow-wrap:anywhere}.trust-items{grid-template-columns:repeat(3,minmax(0,1fr))!important}.trust-items>*{min-width:0!important}
.motion-ready .reveal-section{transform:none!important}.chat-launch{right:max(20px,env(safe-area-inset-right))!important;bottom:max(20px,env(safe-area-inset-bottom))!important}.chat-panel{right:max(16px,env(safe-area-inset-right))!important;max-width:calc(100vw - 32px)!important}
@media(max-width:1300px){.chat-launch{display:grid!important;place-items:center!important;width:58px!important;height:58px!important;padding:0!important;gap:0!important;border-radius:50%!important}.chat-launch svg{display:block!important;width:25px!important;height:25px!important;flex:none!important}.chat-launch span{display:none!important}}
@media(max-width:900px){.page-intro{padding:52px 6% 58px!important}.page-intro h1{font-size:clamp(3rem,10vw,4.8rem)!important}.page-image{aspect-ratio:4/3!important}.process .section-heading{grid-template-columns:1fr!important}.steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}.inspiration-item,.inspiration-item:nth-child(even){grid-template-columns:1fr!important}.inspiration-item:nth-child(even) figure{order:0}.inspiration-item figure{height:390px!important}.inspiration-item>div{padding:38px!important}.trust-items{grid-template-columns:1fr!important}}
@media(max-width:520px){.page-intro h1{font-size:clamp(2.7rem,13vw,3.8rem)!important}.steps{grid-template-columns:1fr!important}.inspiration-item figure{height:300px!important}.inspiration-item>div{padding:28px 24px!important}}

/* Final responsive guardrails for narrow screens and variable-length translations. */
.section>*{min-width:0}.steps h3,.steps p,.trust-items h3,.trust-items p,.feature-copy h2,.feature-copy p{overflow-wrap:anywhere}.button{justify-content:center;gap:12px;width:max-content;max-width:100%}.hero-buttons .button{min-width:0!important}.chat-input button{width:42px}
@media(max-width:620px){.chat-launch{width:54px!important;height:54px!important;right:max(14px,env(safe-area-inset-right))!important;bottom:max(14px,env(safe-area-inset-bottom))!important}.hero-buttons{align-items:flex-start}.hero-buttons .button{width:max-content;max-width:100%;padding-inline:18px}}

/* Keep the mobile trust section compact, balanced and fully readable. */
@media(max-width:620px){.trust.section{width:100%;padding:56px 7% 42px!important}.trust .eyebrow{margin-bottom:18px!important}.trust>h2,.trust>.h2-style{max-width:330px;margin-inline:auto;font-size:clamp(2.7rem,12vw,3.35rem)!important;line-height:1!important}.trust-items{display:grid!important;grid-template-columns:1fr!important;gap:0!important;width:min(100%,360px);margin:34px auto 0!important}.trust-items>div{padding:26px 8px!important;border-top:1px solid #ffffff24}.trust-items>div:last-child{padding-bottom:18px!important}.trust-items span{display:grid!important;place-items:center;width:34px;height:34px;margin:0 auto 14px!important;border:1px solid #d3be8d80;border-radius:50%;font-size:20px!important;line-height:1!important}.trust-items h3,.trust-items .h3-style{margin:0 0 10px!important;font-size:clamp(1.75rem,8vw,2rem)!important;line-height:1.08!important}.trust-items p{max-width:310px;margin:0 auto!important;font-size:.9rem!important;line-height:1.65!important}}
.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
@import url('/quality-v3.css');
