/*
Theme Name: Metales L&R
Template: hello-elementor
Author: Cibergenios
Version: 1.0.0
Description: Tema hijo de Hello Elementor: blog, páginas de servicio y pie de página de Metales L&R.
*/
:root{--lyr-negro:#16171c;--lyr-carbon:#20242b;--lyr-ambar:#fbb03b;--lyr-crema:#fff8ec;--lyr-gris:#5b616b;--lyr-linea:#e7e3da}
.lyr{font-family:Poppins,system-ui,sans-serif;color:var(--lyr-negro);background:#fff;font-size:17px;line-height:1.7}
.lyr *{box-sizing:border-box}
.elementor-location-header{background:#20242b}
.lyr a{color:#8a5200;text-underline-offset:3px}
.lyr img{max-width:100%;height:auto;display:block}
.lyr :focus-visible{outline:3px solid var(--lyr-ambar);outline-offset:3px;border-radius:4px}
.lyr-wrap{width:min(1200px,100% - 40px);margin-inline:auto}
.lyr-hero{position:relative;background:var(--lyr-carbon);color:#fff;padding:220px 0 72px;overflow:hidden}
.lyr .lyr-hero__foto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lyr-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,23,28,.94) 0%,rgba(22,23,28,.82) 50%,rgba(22,23,28,.45) 100%)}
.lyr-hero .lyr-wrap{position:relative;z-index:1}
.lyr-hero h1{font-size:clamp(2rem,1.3rem + 2.6vw,3.35rem);line-height:1.13;font-weight:600;max-width:21ch;margin:14px 0 18px;color:#fff;text-wrap:balance}
.lyr-hero--post h1{max-width:26ch;font-size:clamp(1.8rem,1.3rem + 2vw,2.9rem)}
.lyr-hero__bajada{font-size:1.1rem;max-width:62ch;color:#e9e7e2;margin:0 0 28px}
.lyr-migas{font-size:.86rem;color:#d9d5cb}
.lyr .lyr-migas a{color:#fff;text-decoration:none}
.lyr .lyr-migas a:hover{text-decoration:underline}
.lyr-migas span{opacity:.6;margin:0 8px}
.lyr-meta{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:.92rem;color:#d9d5cb}
.lyr-botones{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.lyr .lyr-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 24px;border-radius:8px;border:2px solid var(--lyr-ambar);background:var(--lyr-ambar);color:var(--lyr-negro);font-family:inherit;font-weight:600;font-size:1rem;line-height:1.2;text-decoration:none;cursor:pointer;transition:background .15s,color .15s}
.lyr .lyr-btn:hover{background:#ffc766;border-color:#ffc766;color:var(--lyr-negro)}
.lyr .lyr-btn--linea{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.lyr .lyr-btn--linea:hover{background:#fff;color:var(--lyr-negro);border-color:#fff}
.lyr .lyr-btn svg{width:20px;height:20px;flex:none}
.lyr-texto{padding-block:72px}
.lyr-texto h2{font-size:clamp(1.5rem,1.2rem + 1.2vw,2.1rem);line-height:1.22;font-weight:600;margin:2.1em 0 .6em;text-wrap:balance;scroll-margin-top:24px}
.lyr-texto>:first-child,.lyr-texto h2:first-child{margin-top:0}
.lyr-texto h3{font-size:1.22rem;font-weight:600;line-height:1.35;margin:1.7em 0 .4em}
.lyr-texto p,.lyr-texto li{max-width:72ch}
.lyr-texto p{margin:0 0 1.1em}
.lyr-texto ul,.lyr-texto ol{padding-left:1.2em;margin:0 0 1.2em}
.lyr-texto li{margin:.35em 0}
.lyr-texto ul li::marker{color:#c77f0a}
.lyr-texto blockquote{border:0;background:var(--lyr-crema);border-radius:12px;margin:1.6em 0;padding:20px 26px}
.lyr-texto blockquote p:last-child{margin:0}
.lyr-texto figure{margin:1.8em 0}
.lyr-texto figure img{border-radius:14px;width:100%}
.lyr-texto figcaption{font-size:.85rem;color:var(--lyr-gris);margin-top:8px}
.lyr-texto .wp-block-table,.lyr-tabla{overflow-x:auto;margin:1.6em 0;border:1px solid var(--lyr-linea);border-radius:12px}
.lyr-texto table{width:100%;border-collapse:collapse;font-size:.95rem;margin:0}
.lyr-texto th,.lyr-texto td{padding:12px 16px;border:0;border-bottom:1px solid var(--lyr-linea);text-align:left;vertical-align:top}
.lyr-texto table tbody>tr>td,.lyr-texto table tbody>tr>th{background:#fff}
.lyr-texto table thead th{background:var(--lyr-negro);color:#fff;font-weight:600}
.lyr-texto tbody tr:last-child td{border-bottom:0}
.lyr-texto table tbody>tr:hover>td{background:var(--lyr-crema)}
.lyr-texto td .botoncotizar{white-space:nowrap;background:none;border:0;padding:8px 0;font:inherit;font-weight:600;color:#8a5200;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lyr-texto td .botoncotizar:hover{color:var(--lyr-negro);background:none}
.lyr-tarjetas{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:24px;margin:28px 0}
.lyr-tarjeta{background:#fff;border:1px solid var(--lyr-linea);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .15s,transform .15s}
.lyr-tarjeta:hover{border-color:var(--lyr-ambar);transform:translateY(-3px)}
.lyr .lyr-tarjeta img{aspect-ratio:16/10;object-fit:cover;width:100%;border-radius:0}
.lyr-tarjeta__cuerpo{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.lyr .lyr-tarjeta h2,.lyr .lyr-tarjeta h3{font-size:1.13rem;line-height:1.35;font-weight:600;margin:0}
.lyr .lyr-tarjeta h2 a,.lyr .lyr-tarjeta h3 a{color:var(--lyr-negro);text-decoration:none}
.lyr .lyr-tarjeta h2 a:hover,.lyr .lyr-tarjeta h3 a:hover{text-decoration:underline;text-decoration-color:var(--lyr-ambar);text-decoration-thickness:2px}
.lyr .lyr-tarjeta p{font-size:.95rem;color:var(--lyr-gris);margin:0;line-height:1.6}
.lyr-tarjeta__pie{margin-top:auto;padding-top:8px;font-size:.84rem;color:var(--lyr-gris)}
.lyr-post{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:64px;align-items:start;padding-block:64px}
.lyr-post .lyr-texto{padding:0}
.lyr-post__foto{margin:0 0 36px}
.lyr .lyr-post__foto img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px}
.lyr-lado{position:sticky;top:32px;display:grid;gap:24px}
.lyr-caja{border:1px solid var(--lyr-linea);border-radius:16px;padding:24px}
.lyr-caja--oscura{background:var(--lyr-negro);color:#fff;border:0}
.lyr-caja--oscura p{color:#dcdad5;font-size:.95rem;line-height:1.55;margin:0 0 18px}
.lyr .lyr-caja__titulo{font-weight:600;font-size:1.08rem;margin:0 0 10px;line-height:1.3}
.lyr-caja--oscura .lyr-caja__titulo{color:#fff}
.lyr-indice ol{margin:0;padding:0;list-style:none;display:grid;gap:9px;font-size:.93rem;line-height:1.4}
.lyr .lyr-indice a{color:var(--lyr-negro);text-decoration:none}
.lyr .lyr-indice a:hover{text-decoration:underline;text-decoration-color:var(--lyr-ambar)}
.lyr-caja .lyr-btn{width:100%;margin-top:10px}
.lyr-cta{background:var(--lyr-negro);color:#fff;padding:64px 0}
.lyr-cta__fila{display:grid;grid-template-columns:minmax(0,1.5fr) auto;gap:32px;align-items:center}
.lyr-cta h2{color:#fff;font-size:clamp(1.5rem,1.2rem + 1.3vw,2.2rem);line-height:1.2;margin:0 0 10px;font-weight:600;text-wrap:balance}
.lyr-cta p{margin:0;color:#dcdad5;max-width:60ch}
.lyr-banda{background:var(--lyr-crema);padding:64px 0}
.lyr-banda h2{margin:0 0 4px;font-size:clamp(1.4rem,1.2rem + 1vw,1.9rem);font-weight:600}
.lyr-texto .rank-math-list-item{border-bottom:1px solid var(--lyr-linea);padding:18px 0}
.lyr-texto .rank-math-question{font-size:1.1rem;margin:0 0 6px}
.lyr-texto .rank-math-answer p:last-child{margin:0}
.lyr-pag{display:flex;gap:8px;flex-wrap:wrap;margin-top:40px}
.lyr-pag .page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--lyr-linea);border-radius:8px;text-decoration:none;color:var(--lyr-negro);padding:0 14px}
.lyr-pag .current{background:var(--lyr-ambar);border-color:var(--lyr-ambar);font-weight:600}
.lyr-pie{background:#1b1e24;color:#d7d5d0;font-size:.95rem;line-height:1.65;font-family:Poppins,system-ui,sans-serif}
.lyr-pie__fila{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:40px;padding-block:60px 40px}
.lyr-pie h2{font-size:1rem;color:#fff;margin:0 0 14px;font-weight:600}
.lyr-pie ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.lyr-pie a{color:#d7d5d0;text-decoration:none}
.lyr-pie a:hover{color:var(--lyr-ambar)}
.lyr-pie__logo{width:120px;height:auto;margin:0 0 16px}
.lyr-pie address{font-style:normal}
.lyr-pie p{margin:0 0 10px}
.lyr-pie__legal{border-top:1px solid #333841;padding-block:20px 28px;font-size:.85rem;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;color:#b5b3ae}
.lyr-wa{position:fixed;right:20px;bottom:20px;z-index:90;width:58px;height:58px;border-radius:50%;background:#147a41;color:#fff;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.lyr-wa svg{width:30px;height:30px}
.lyr-wa:hover{background:#0f6335;color:#fff}
.lyr-wa:focus-visible{outline:3px solid var(--lyr-ambar);outline-offset:3px}
@media (max-width:1024px){.lyr-post{grid-template-columns:1fr;gap:40px}.lyr-lado{position:static;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.lyr-pie__fila{grid-template-columns:1fr 1fr}.lyr-cta__fila{grid-template-columns:1fr}}
@media (max-width:767px){.lyr{font-size:16px}.lyr-hero{padding:56px 0}.lyr-hero::after{background:rgba(22,23,28,.84)}.lyr-texto,.lyr-banda,.lyr-cta{padding-block:48px}.lyr-post{padding-block:40px}.lyr-pie__fila{grid-template-columns:1fr;gap:30px;padding-top:44px}.lyr-texto th,.lyr-texto td{padding:10px 12px}.lyr-wa{right:14px;bottom:14px}.lyr-pie__legal{padding-bottom:90px}}
@media (prefers-reduced-motion:reduce){.lyr *{transition:none!important}}
.lyr-texto p a,.lyr-texto li a,.lyr-pie__legal a{text-decoration:underline}
/* contraste y área de toque en lo que pinta Elementor */
.elementor-widget-button:not(.elementor-element-724a737) .elementor-button,.elementor-widget-button:not(.elementor-element-724a737) .elementor-button:hover,.elementor-form .elementor-button,.elementor-form .elementor-button:hover{color:#16171c!important}
.elementor-form .elementor-button svg{fill:#16171c}
.elementor-field-type-acceptance a{color:inherit;text-decoration:underline}
.e-n-accordion-item[open] .e-n-accordion-item-title-text{color:#16171c}
#headercall .elementor-icon-box-title a{display:inline-block;padding:3px 0}
/* la galería de aliados reserva su alto: sin esto la portada salta al cargar */
@media (max-width:767px){.elementor-element-bf36369 .elementor-gallery__container{min-height:55.5vw}}
@media (min-width:768px){.elementor-element-bf36369 .elementor-gallery__container{min-height:12vw}}
/* CTA de los artículos */
.lyr-remate{background:#fff;padding:0 0 72px}
.lyr-remate__caja{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);background:var(--lyr-ambar);border-radius:24px;overflow:hidden}
.lyr-remate__texto{padding:48px 48px 44px;color:var(--lyr-negro)}
.lyr .lyr-remate__sobre{font-weight:600;font-size:.92rem;margin:0 0 10px}
.lyr-remate h2{font-size:clamp(1.75rem,1.3rem + 1.9vw,2.75rem);line-height:1.12;font-weight:700;margin:0 0 14px;text-wrap:balance;color:var(--lyr-negro)}
.lyr-remate__texto>p{font-size:1.08rem;margin:0 0 18px;max-width:46ch}
.lyr-remate ul{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:9px}
.lyr-remate li{display:flex;gap:10px;align-items:center;font-weight:500}
.lyr-remate li svg{width:22px;height:22px;flex:none;background:var(--lyr-negro);color:var(--lyr-ambar);border-radius:50%;padding:4px;stroke-width:3}
.lyr .lyr-btn--negro{background:var(--lyr-negro);border-color:var(--lyr-negro);color:#fff;min-height:54px;font-size:1.06rem}
.lyr .lyr-btn--negro:hover{background:#34373f;border-color:#34373f;color:#fff}
.lyr .lyr-btn--claro{background:#fff;border-color:#fff;color:var(--lyr-negro);min-height:54px;font-size:1.06rem}
.lyr .lyr-btn--claro:hover{background:var(--lyr-crema);border-color:var(--lyr-crema);color:var(--lyr-negro)}
.lyr .lyr-remate__mas{margin:20px 0 0;font-size:.97rem}
.lyr .lyr-remate__mas a{color:var(--lyr-negro);font-weight:600}
.lyr-remate__foto{position:relative;min-height:260px}
.lyr .lyr-remate__foto img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lyr-medio{display:flex;gap:20px;align-items:center;justify-content:space-between;background:var(--lyr-crema);border:2px solid var(--lyr-ambar);border-radius:16px;padding:20px 24px;margin:34px 0}
.lyr .lyr-medio p{margin:0;font-size:1rem;line-height:1.5}
.lyr-medio .lyr-btn{flex:none}
@media (max-width:900px){.lyr-remate__caja{grid-template-columns:1fr}.lyr-remate__texto{padding:34px 24px}.lyr-remate__foto{order:-1;min-height:200px}.lyr-remate .lyr-btn{width:100%}.lyr-medio{flex-direction:column;align-items:stretch}.lyr-remate{padding-bottom:48px}}
@media (max-width:1024px){.lyr-lado{order:-1}.lyr-lado .lyr-caja--oscura{display:none}}
/* tarjetas de servicio */
.lyr-servicios .lyr-tarjeta__cuerpo p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lyr-servicios__pie{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:auto;padding-top:12px}
.lyr .lyr-servicios__pie .lyr-btn{min-height:46px;padding:10px 18px;font-size:.95rem}
.lyr .lyr-servicios__ver{color:var(--lyr-negro);font-weight:600;font-size:.95rem;text-decoration:underline;text-decoration-color:var(--lyr-ambar);text-decoration-thickness:2px;text-underline-offset:4px;padding:12px 0}
.lyr.lyr--claro{background:none}
.lyr-servicios__pie{flex-wrap:nowrap}
#servicios .elementor-widget-shortcode,#servicios .elementor-widget-heading{max-width:100%;min-width:0}
@media (max-width:767px){#servicios{padding-left:20px;padding-right:20px}}
.lyr-post>*{min-width:0}
@media (max-width:1024px){.lyr-post{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){.lyr-tabla table{font-size:.88rem}.lyr-tabla td,.lyr-tabla th{padding:10px 8px}}
/* lista de productos al cierre de un artículo */
.lyr-lista{margin-top:40px;padding-top:32px;border-top:3px solid var(--lyr-ambar)}
.lyr-lista h2{font-size:1.5rem;line-height:1.25;font-weight:600;margin:0 0 8px}
.lyr .lyr-lista p{margin:0 0 16px;color:var(--lyr-gris)}
.lyr-lista ul{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.lyr .lyr-lista button{background:var(--lyr-crema);border:1px solid var(--lyr-ambar);border-radius:10px;color:var(--lyr-negro);font:inherit;font-size:.95rem;padding:10px 14px;min-height:46px;cursor:pointer}
.lyr .lyr-lista button strong{font-weight:600}
.lyr .lyr-lista button span{color:var(--lyr-gris);font-size:.88rem}
.lyr .lyr-lista button:hover,.lyr .lyr-lista button:focus-visible{background:var(--lyr-ambar);color:var(--lyr-negro)}
.lyr .lyr-lista button:hover span,.lyr .lyr-lista button:focus-visible span{color:var(--lyr-negro)}
.lyr .lyr-lista a{color:var(--lyr-negro);font-weight:600;text-decoration-color:var(--lyr-ambar);text-decoration-thickness:2px;text-underline-offset:4px}
.lyr-catalogo td{vertical-align:middle}.lyr-catalogo td:nth-child(n+4){white-space:nowrap}
@media (max-width:600px){.lyr-catalogo th:nth-child(3),.lyr-catalogo td:nth-child(3){display:none}.lyr-lista button span{display:none}}

/* ---------- Popup «Solicita una cotización» (Elementor 289): dos columnas en escritorio, sin barra vieja ---------- */
html:has(#elementor-popup-modal-289:not([style*="none"])){overflow:hidden}
#elementor-popup-modal-289 .dialog-widget-content{border-radius:25px;overflow:hidden}
#elementor-popup-modal-289 .dialog-message{width:min(540px,100vw - 32px);max-height:calc(100dvh - 32px);background:var(--lyr-carbon);overflow:hidden auto;overscroll-behavior:contain}
#elementor-popup-modal-289 .dialog-message::-webkit-scrollbar{width:8px}
#elementor-popup-modal-289 .dialog-message::-webkit-scrollbar-button{display:none}
#elementor-popup-modal-289 .dialog-message::-webkit-scrollbar-track{background:transparent;margin-block:22px}
#elementor-popup-modal-289 .dialog-message::-webkit-scrollbar-thumb{background:rgba(255,255,255,.45) content-box;border:2px solid transparent;border-radius:8px}
@supports not selector(::-webkit-scrollbar){#elementor-popup-modal-289 .dialog-message{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.45) transparent}}
#elementor-popup-modal-289 .dialog-close-button{top:14px;inset-inline-end:14px;width:36px;height:36px;margin:0;align-items:center;justify-content:center;border-radius:50%;background:rgba(22,23,28,.55);opacity:1;z-index:2}
#elementor-popup-modal-289 .dialog-close-button:hover{background:rgba(22,23,28,.9)}
#elementor-popup-modal-289 .dialog-close-button:focus-visible{outline:3px solid var(--lyr-ambar);outline-offset:2px}
#elementor-popup-modal-289 .elementor-element-6b55b0e{--border-radius:0;--padding-top:0px;--padding-bottom:0px;--padding-left:24px;--padding-right:24px;border-radius:0}
#elementor-popup-modal-289 .e-con-inner{padding-block:24px;gap:12px}
#elementor-popup-modal-289 .elementor-heading-title{padding-right:36px;line-height:1.1}
#elementor-popup-modal-289 .elementor-widget-text-editor p{margin:0}
#elementor-popup-modal-289 .elementor-form-fields-wrapper>.elementor-field-type-text:not(.elementor-field-group){position:absolute}
#elementor-popup-modal-289 .elementor-widget-form .elementor-field-group{margin-bottom:12px}
#elementor-popup-modal-289 .elementor-widget-form .elementor-form-fields-wrapper{margin-bottom:-12px}
#elementor-popup-modal-289 .elementor-widget-form input.elementor-field-textual{min-height:50px;padding-block:8px}
#elementor-popup-modal-289 .elementor-widget-form .e-form__buttons{width:100%;flex-basis:100%;max-width:100%}
#elementor-popup-modal-289 .elementor-field-type-acceptance .elementor-field-option{display:flex;gap:8px;align-items:flex-start}
#elementor-popup-modal-289 .elementor-field-type-acceptance input{flex:none;width:18px;height:18px;margin:1px 0 0}
#elementor-popup-modal-289 .elementor-widget-form .elementor-field-type-acceptance label{font-size:14px;line-height:1.45;text-indent:0;padding:0}
@media (min-width:900px){
#elementor-popup-modal-289 .dialog-message{width:min(1060px,100vw - 64px)}
#elementor-popup-modal-289 .elementor-element-6b55b0e{--padding-left:44px;--padding-right:68px}
#elementor-popup-modal-289 .e-con-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);grid-template-rows:1fr 1fr;gap:16px 44px;padding-block:32px;max-width:none}
#elementor-popup-modal-289 .elementor-widget-heading{align-self:end}
#elementor-popup-modal-289 .elementor-widget-form{grid-column:2;grid-row:1/span 2}
#elementor-popup-modal-289 .elementor-heading-title{padding:0}
}
@media (max-width:767px){
#elementor-popup-modal-289 .dialog-message{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
#elementor-popup-modal-289 .elementor-element-6b55b0e{--padding-left:16px;--padding-right:16px}
#elementor-popup-modal-289 .e-con-inner{padding-block:20px 16px}
#elementor-popup-modal-289 .elementor-heading-title{font-size:24px}
#elementor-popup-modal-289 .elementor-widget-text-editor{font-size:14px;line-height:1.45}
#elementor-popup-modal-289 .elementor-widget-form{padding:14px}
#elementor-popup-modal-289 .elementor-field-group-nombre,#elementor-popup-modal-289 .elementor-field-group-telefono{width:50%}
#elementor-popup-modal-289 .elementor-widget-form .elementor-field-textual{padding-inline:14px}
}

/* ---------- Portada y contacto con el tema (antes Elementor) ---------- */
.lyr-seccion{padding-block:72px}
.lyr-seccion h2,.lyr-banda h2,.lyr-aliados h2,.lyr-cierre h2{font-size:clamp(1.5rem,1.2rem + 1.2vw,2.1rem);line-height:1.22;font-weight:600;margin:0 0 .4em;text-wrap:balance}
.lyr .lyr-intro,.lyr-grupo__cabeza p,.lyr-aliados p{color:var(--lyr-gris);max-width:62ch;margin:0}
.lyr-hero--portada{padding-bottom:64px}
.lyr-puertas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:780px}
.lyr-puerta{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:rgba(22,23,28,.72);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:22px 24px}
.lyr .lyr-puerta h2{font-size:1.2rem;line-height:1.3;font-weight:600;margin:0;color:#fff}
.lyr .lyr-puerta p{margin:0 0 4px;color:#e2dfd8;font-size:.97rem;line-height:1.5}
.lyr .lyr-puerta__ver{color:#fff;font-size:.92rem;padding:6px 0}
.lyr .lyr-hero__tel{margin:22px 0 0;color:#e2dfd8;font-size:.97rem}
.lyr .lyr-hero__tel a{color:#fff;font-weight:600}
.lyr-aliados{padding:56px 0;border-bottom:1px solid var(--lyr-linea)}
.lyr-logos{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}
.lyr-logos li{display:grid;place-items:center;height:92px;padding:12px;border:1px solid var(--lyr-linea);border-radius:12px;background:#fff}
.lyr .lyr-logos img{max-height:60px;width:auto;max-width:100%;object-fit:contain}
.lyr-grupo+.lyr-grupo{margin-top:64px}
.lyr-grupo{scroll-margin-top:24px}
.lyr-grupo__cabeza{display:flex;flex-wrap:wrap;gap:12px 32px;align-items:flex-end;justify-content:space-between}
.lyr .lyr-grupo__mas{color:var(--lyr-negro);font-weight:600;text-decoration:underline;text-decoration-color:var(--lyr-ambar);text-decoration-thickness:2px;text-underline-offset:4px;padding:8px 0}
.lyr-cifras{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-top:28px}
.lyr-cifras>div{border-top:3px solid var(--lyr-ambar);padding-top:16px}
.lyr-cifras strong{display:block;font-size:1.3rem;line-height:1.25;font-weight:600;margin-bottom:6px}
.lyr .lyr-cifras p{margin:0;color:var(--lyr-gris);font-size:.97rem;line-height:1.55}
.lyr-nosotros{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px;align-items:center}
.lyr .lyr-nosotros img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px}
.lyr-nosotros p{max-width:60ch;margin:0 0 1em}
.lyr-nosotros .lyr-botones{margin-top:24px}
.lyr .lyr-nosotros .lyr-btn--linea,.lyr .lyr-contacto .lyr-btn--linea{color:var(--lyr-negro);border-color:var(--lyr-negro)}
.lyr .lyr-nosotros .lyr-btn--linea:hover{background:var(--lyr-negro);color:#fff}
.lyr-pasos{list-style:none;counter-reset:paso;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.lyr-pasos li{counter-increment:paso;background:#fff;border-radius:16px;padding:24px}
.lyr-pasos li::before{content:counter(paso);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--lyr-ambar);font-weight:700;margin-bottom:14px}
.lyr-pasos strong{font-size:1.1rem;font-weight:600}
.lyr .lyr-pasos p{margin:6px 0 0;color:var(--lyr-gris);font-size:.97rem;line-height:1.55}
.lyr-faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:48px;align-items:start}
.lyr-faq details{border-bottom:1px solid var(--lyr-linea)}
.lyr-faq details:first-child{border-top:1px solid var(--lyr-linea)}
.lyr-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:18px 0;font-weight:600;font-size:1.06rem;line-height:1.4}
.lyr-faq summary::-webkit-details-marker{display:none}
.lyr-faq summary::after{content:"+";flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--lyr-crema);font-weight:500}
.lyr-faq details[open] summary::after{content:"−";background:var(--lyr-ambar)}
.lyr .lyr-faq details p{margin:0 0 20px;color:#3d424a;max-width:68ch}
.lyr-banda .lyr-tarjetas{margin-bottom:0}
.lyr-cierre{background:var(--lyr-negro);color:#fff;padding:72px 0}
.lyr-cierre__fila{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:56px;align-items:start}
.lyr .lyr-cierre h2{color:#fff}
.lyr .lyr-cierre p{color:#dcdad5;max-width:52ch;margin:0 0 28px}
.lyr-datos{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.lyr-datos li{display:flex;gap:14px;align-items:flex-start;line-height:1.45}
.lyr-datos svg{flex:none;width:22px;height:22px;margin-top:2px;color:#c77f0a}
.lyr-cierre .lyr-datos svg{color:var(--lyr-ambar)}
.lyr-datos span{display:block;font-size:.82rem;color:var(--lyr-gris)}
.lyr-cierre .lyr-datos span{color:#b5b3ae}
.lyr .lyr-datos a{color:inherit;font-weight:600}
.lyr-contacto{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:start}
.lyr-contacto__form{margin-top:20px;border:1px solid var(--lyr-linea);border-radius:26px}
.lyr-contacto__datos{background:var(--lyr-crema);border:0}
.lyr .lyr-contacto__datos h2{font-size:1.3rem;margin:0 0 18px}
.lyr .lyr-contacto__datos h3{font-size:1.1rem;font-weight:600;margin:28px 0 6px}
.lyr .lyr-contacto__datos p{font-size:.97rem;margin:0 0 12px}
.lyr-mapa{display:block;width:100%;aspect-ratio:4/3;border:0;border-radius:12px;margin:4px 0 10px;background:var(--lyr-linea)}
/* formulario de Elementor dentro del tema */
.lyr-cierre__form .elementor-widget-form,.lyr-contacto__form .elementor-widget-form{--e-form-steps-indicator-padding:0}
.lyr .elementor-field-type-acceptance label{color:#3d424a}
.lyr .elementor-message{color:#16171c}
@media (max-width:1024px){.lyr-logos{grid-template-columns:repeat(4,minmax(0,1fr))}.lyr-cifras{grid-template-columns:repeat(2,minmax(0,1fr))}.lyr-nosotros,.lyr-faq,.lyr-cierre__fila,.lyr-contacto{grid-template-columns:minmax(0,1fr);gap:32px}.lyr-faq{gap:8px}}
@media (max-width:767px){.lyr-seccion,.lyr-cierre{padding-block:48px}.lyr-aliados{padding:40px 0}.lyr-puertas,.lyr-pasos{grid-template-columns:minmax(0,1fr)}.lyr-puerta{padding:18px}.lyr-puerta .lyr-btn{width:100%}.lyr-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lyr-logos li{height:72px}.lyr .lyr-logos img{max-height:46px}.lyr-cifras{gap:20px}.lyr-cifras strong{font-size:1.1rem}.lyr-grupo+.lyr-grupo{margin-top:44px}}
/* tarjetas de servicio compactas en celular: foto al lado, dos líneas */
@media (max-width:600px){
.lyr-servicios{gap:12px}
.lyr-servicios .lyr-tarjeta{display:grid;grid-template-columns:96px minmax(0,1fr)}
.lyr-servicios .lyr-tarjeta>a{display:block;height:100%}
.lyr .lyr-servicios .lyr-tarjeta img{height:100%;aspect-ratio:auto}
.lyr-servicios .lyr-tarjeta__cuerpo{padding:14px 14px 12px;gap:4px}
.lyr .lyr-servicios .lyr-tarjeta h3{font-size:1rem}
.lyr .lyr-servicios .lyr-tarjeta p{font-size:.9rem;-webkit-line-clamp:2}
.lyr-servicios__pie{flex-wrap:wrap;gap:4px 14px;padding-top:6px}
.lyr .lyr-servicios__pie .lyr-btn{min-height:44px;padding:8px 14px}
.lyr .lyr-servicios__ver{padding:10px 0;font-size:.9rem}
}
/* encabezado: la garra junto al nombre (no suelta en el menú) y «WhatsApp / Llamar» en vez de «Llámanos» */
@media (min-width:1025px){
.elementor-location-header .elementor-element-757b5ba{display:none}
.elementor-location-header .elementor-element-cf8489f a{display:flex;align-items:center;gap:10px}
.elementor-location-header .elementor-element-cf8489f a::before{content:"";flex:none;width:44px;height:45px;background:url(/wp-content/uploads/2025/09/Recurso-2.png) center/contain no-repeat}
}
#headercall .elementor-icon-box-title{line-height:1.5}
/* portada: 4 por fila para que no queden tarjetas sueltas; reCAPTCHA sin caja gris mientras carga */
@media (min-width:1100px){.lyr-portada .lyr-servicios{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.lyr-portada .lyr-servicios__pie{flex-wrap:wrap;gap:6px 16px}.lyr-portada .lyr-tarjeta__cuerpo{padding:18px 18px 20px}}
.elementor-field-type-recaptcha_v3 .elementor-g-recaptcha:empty{display:none}
@media (max-width:600px){.lyr-servicios__pie{flex-wrap:nowrap}.lyr .lyr-servicios__pie .lyr-btn{padding:8px 12px;font-size:.9rem}}
/* encabezado en tableta: sin «Inicio» (el logo lleva a inicio) ni teléfonos (está el botón flotante), garra junto al nombre */
@media (min-width:768px) and (max-width:1024px){
.elementor-location-header .elementor-element-757b5ba,#headercall,.elementor-location-header .elementor-element-552170f .elementor-icon-list-item:first-child{display:none}
.elementor-location-header .elementor-element-cf8489f a{display:flex;align-items:center;gap:8px}
.elementor-location-header .elementor-element-cf8489f a::before{content:"";flex:none;width:34px;height:35px;background:url(/wp-content/uploads/2025/09/Recurso-2.png) center/contain no-repeat}
.elementor-location-header .elementor-element-6ac3314a,.elementor-location-header .elementor-element-329db48{width:auto!important;flex:none}
.elementor-location-header .elementor-element-2bb48d1{width:auto!important;flex:1;justify-content:center;gap:16px!important;min-width:0}
.elementor-location-header .elementor-element-552170f,.elementor-location-header .elementor-element-cec89c0{flex:none;width:auto!important}
.elementor-location-header .elementor-element-552170f .elementor-icon-list-item,.elementor-location-header .elementor-element-cec89c0 .elementor-icon-list-item{margin-inline:8px!important;font-size:15px;white-space:nowrap}
.elementor-location-header .elementor-element-552170f .elementor-icon-list-items,.elementor-location-header .elementor-element-cec89c0 .elementor-icon-list-items{flex-wrap:nowrap}
}
.lyr .lyr-servicios__ver{white-space:nowrap}
.lyr-grupo,#nosotros,#cotizar{scroll-margin-top:90px}
