/*
Theme Name: Locks & Tech 360 IA
Theme URI: https://vpmerca.com/
Author: VP Digital Marketing & SEO
Author URI: https://vpmerca.com/
Description: Tema mobile-first para Cerrajería Móvil Locks & Tech; Gutenberg, Rank Math, schema y conversiones WhatsApp.
Version: 2.8.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: lockstech
License: GPL-2.0-or-later
*/
:root{--ink:#04101d;--navy:#071b2d;--blue:#00baff;--yellow:#ffc72c;--white:#fff;--muted:#c3d0db;--green:#0bbd70}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ink);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#fff}a{color:inherit;text-decoration:none}button{font:inherit}img{max-width:100%;display:block}.container{width:min(1250px,calc(100% - 40px));margin-inline:auto}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}a:focus-visible,button:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.topbar{background:#02101b;border-bottom:1px solid #184b65;position:relative;z-index:20}.top-inner{display:flex;align-items:center;gap:20px;min-height:77px}.brand{display:flex;align-items:center;gap:10px;margin-right:auto}.brand img{width:66px;height:66px;object-fit:contain}.brand-name{font-weight:900;letter-spacing:.02em;line-height:1.12}.brand-name small{display:block;font-size:11px;letter-spacing:.17em;color:#3ee2ff}.main-nav{display:flex;align-items:center;gap:23px;font-size:13px}.main-nav a:hover,.socials a:hover{color:var(--yellow)}.socials{display:flex;align-items:center;gap:9px}.socials a{display:grid;place-items:center;border:1px solid #3a6c84;border-radius:50%;width:31px;height:31px;font-size:11px;font-weight:800}.nav-cta{display:flex;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;font-size:14px;font-weight:850;padding:13px 18px;line-height:1.2;border:1px solid transparent;cursor:pointer}.btn-green{background:linear-gradient(130deg,#078944,#12d67c);box-shadow:0 2px 14px #00b86855;color:#fff}.btn-blue{background:linear-gradient(130deg,#1262d1,#087cfa);color:white}.btn-yellow{background:var(--yellow);color:#051521}.btn-outline{border-color:#17a1cb}.mobile-toggle{display:none;background:transparent;color:white;border:1px solid #437286;border-radius:8px;padding:9px 12px}.hero{position:relative;min-height:510px;display:flex;align-items:center;isolation:isolate}.hero-bg{position:absolute;inset:0;z-index:-2;background:url('assets/img/cover-aprobado.jpg') center/cover no-repeat}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#031321ef 0%,#031321ba 34%,#03132148 66%,#04111a13 100%)}.hero-content{padding-block:46px 54px}.eyebrow{color:#20ddf4;letter-spacing:.26em;font-weight:850;text-transform:uppercase;font-size:11px}.hero h1{font-size:clamp(40px,5.1vw,75px);max-width:740px;line-height:1.04;letter-spacing:-.045em;margin:15px 0}.hero h1 span{color:var(--yellow)}.hero p{max-width:535px;font-size:17px;line-height:1.65;color:#f3f6f9}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.feature-strip{background:#04192b;border-block:1px solid #136387}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding-block:15px}.feature{text-align:center;display:flex;justify-content:center;align-items:center;gap:11px;font-weight:800;font-size:13px}.feature b{font-size:25px;color:var(--yellow)}section{scroll-margin-top:20px}.section-pad{padding:66px 0}.section-label{letter-spacing:.25em;color:#25ccef;font-size:11px;font-weight:850;text-transform:uppercase}.section-title{font-size:clamp(27px,3.5vw,43px);margin:8px 0 13px;line-height:1.14;letter-spacing:-.025em}.section-title em{font-style:normal;color:var(--yellow)}.intro{color:var(--muted);font-size:16px;line-height:1.6;max-width:780px}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px}.service-card{border:1px solid #16618a;border-radius:15px;background:#0a2436;overflow:hidden;display:flex;flex-direction:column;min-width:0}.service-photo{aspect-ratio:1.55;object-fit:cover;width:100%}.service-content{padding:17px;display:flex;flex:1;flex-direction:column;gap:9px}.service-content h3{font-size:19px;margin:0;line-height:1.2}.service-content p{color:#c9dae6;font-size:13px;line-height:1.55;margin:0 0 10px}.service-content .btn{margin-top:auto;font-size:12px;padding:13px 10px}.auto-section{background:linear-gradient(145deg,#09263d,#03101c)}.auto-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}.auto-card{border:1px solid #177da6;border-radius:13px;background:#041727;padding:23px;min-height:178px}.auto-card .icon{font-size:29px;color:var(--yellow)}.auto-card h3{margin:11px 0 6px;font-size:18px}.auto-card p{font-size:13px;line-height:1.6;margin:0;color:#bdccd7}.auto-card a{color:var(--yellow);display:inline-block;margin-top:11px;font-size:12px;font-weight:800}.emergency{background:#ffc72c;color:#10151b;padding:28px 0}.emergency-inner{display:flex;gap:20px;align-items:center;justify-content:space-between}.emergency h2{font-size:clamp(25px,3.3vw,38px);margin:0}.emergency p{margin:7px 0 0}.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:24px}.why-item{border:1px solid #22516b;padding:22px;border-radius:10px;text-align:center}.why-item b{color:var(--yellow);font-size:30px}.why-item h3{font-size:15px;margin:12px 0 4px}.why-item p{font-size:12px;color:#b7cad9}.coverage{background:linear-gradient(90deg,#061a2bf5,#061a2b93),url('assets/img/cobertura.webp') center/cover no-repeat;padding:58px 0}.reviews{background:#071b2d}.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:24px}.review{padding:22px;border:1px solid #176087;border-radius:12px;background:#061421}.review blockquote{margin:0 0 15px;line-height:1.6}.review cite{color:var(--yellow);font-size:13px;font-style:normal}.faq-list{max-width:950px;margin:20px auto 0}.faq-list details{border:1px solid #1f688c;border-radius:10px;margin-bottom:10px;padding:15px 19px;background:#071e31}.faq-list summary{font-weight:750;cursor:pointer}.faq-list p{color:#ccdbe5;line-height:1.6;margin-bottom:0}.contact{background:#09273e;padding:48px 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.contact-actions{display:flex;gap:10px;flex-wrap:wrap}.hours{color:var(--yellow);font-weight:850}.site-footer{background:#020d17;border-top:1px solid #1e5470;padding:30px 0 80px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-grid h3{margin-top:0}.footer-grid p,.footer-grid li{color:#adbfcd;line-height:1.65;font-size:13px}.footer-grid ul{list-style:none;margin:0;padding:0}.footer-grid a:hover{color:var(--yellow)}.footer-bottom{border-top:1px solid #1d3e54;margin-top:24px;padding-top:18px;color:#a7bac5;font-size:11px}.mobile-sticky{display:none}.page-body{max-width:980px;margin:0 auto;min-height:40vh}.page-body h1{font-size:38px}.page-body p{line-height:1.7}.socials strong{font-size:13px}
@media(max-width:1050px){.main-nav{gap:13px}.nav-cta .btn{padding:10px 11px}.service-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:750px){.container{width:calc(100% - 32px)}.top-inner{min-height:66px}.brand img{width:47px;height:47px}.brand-name{font-size:14px}.nav-cta{display:none}.mobile-toggle{display:block}.main-nav{display:none;position:absolute;top:66px;left:0;right:0;background:#031524;padding:18px 24px;flex-direction:column;align-items:stretch;border-bottom:1px solid #1a668e;gap:0}.main-nav.open{display:flex}.main-nav a{padding:13px 0}.topbar .socials{margin-left:auto}.hero{min-height:600px;align-items:flex-start}.hero-bg{background-position:52% center}.hero:before{background:linear-gradient(180deg,#021220ec 0%,#031523c4 48%,#03152336 100%)}.hero-content{padding-block:40px 30px}.hero h1{font-size:clamp(37px,9vw,53px)}.hero p{font-size:14px;max-width:430px}.hero-actions .btn{flex:1;min-width:145px;padding:13px 9px;font-size:12px}.features{grid-template-columns:repeat(2,1fr)}.feature{font-size:11px}.section-pad{padding:47px 0}.service-grid{gap:12px}.auto-grid{grid-template-columns:repeat(2,1fr)}.why-grid{grid-template-columns:repeat(2,1fr)}.reviews-grid{grid-template-columns:1fr}.emergency-inner{flex-direction:column;align-items:stretch}.contact-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.mobile-sticky{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:fixed;bottom:0;left:0;right:0;z-index:50;background:#031422eb;backdrop-filter:blur(9px);padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #206986}.mobile-sticky .btn{font-size:12px;padding:13px 7px}.site-footer{padding-bottom:105px}}@media(max-width:480px){.topbar .socials a{width:27px;height:27px}.top-inner{gap:9px}.service-grid,.auto-grid{grid-template-columns:1fr}.service-card{display:grid;grid-template-columns:37% 1fr;min-height:195px}.service-photo{height:100%;aspect-ratio:auto}.service-content{padding:13px}.service-content h3{font-size:16px}.service-content p{font-size:12px}.service-content .btn{font-size:11px;padding:10px 6px}.auto-grid{gap:10px}.auto-card{min-height:auto}.footer-grid{grid-template-columns:1fr}.hero{min-height:560px}.hero h1{font-size:37px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Ajustes visuales 360 IA — secciones del mockup y tarjetas fotográficas */
.hero{min-height:550px}.hero-content{padding-block:38px 50px}.hero:before{background:linear-gradient(90deg,rgba(1,9,18,.93) 0%,rgba(1,12,25,.68) 34%,rgba(1,12,25,.06) 78%)}
.service-photo{aspect-ratio:1.33;object-fit:cover}.service-card{border-radius:9px}.service-content{padding:16px}.service-content .btn{border-radius:9px}.auto-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.auto-card{min-height:0;padding:0;overflow:hidden;border-radius:8px;position:relative;display:flex;flex-direction:column}.auto-photo{width:100%;height:146px;object-fit:cover}.auto-text{padding:12px;flex:1;display:flex;flex-direction:column}.auto-card h3{font-size:14px;margin:7px 0}.auto-card p{font-size:12px;line-height:1.45}.auto-card .icon{font-size:20px}.auto-card a{margin-top:auto;padding-top:11px}.review{background:#071b2b}.review blockquote{font-size:15px}.coverage{min-height:230px;display:flex;align-items:center}
@media(max-width:1100px){.auto-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.auto-photo{height:170px}}
@media(max-width:680px){.hero{min-height:510px}.hero-bg{background-position:55% center}.hero:before{background:linear-gradient(90deg,rgba(1,9,18,.94),rgba(1,9,18,.55))}.auto-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.auto-photo{height:130px}.auto-text{padding:11px}.auto-card h3{font-size:13px}.auto-card p{font-size:11px}.coverage{min-height:180px}}
@media(max-width:359px){.auto-grid{grid-template-columns:1fr}.auto-photo{height:180px}}

/* Imágenes fieles al mockup aprobado: recortes fotográficos de la referencia. */
.service-photo{object-position:center center}
.auto-photo{object-position:center center}

/* 2.0 — Mejoras de fidelidad visual, UX y Core Web Vitals. */
:root{color-scheme:dark}body{overflow-x:hidden}.hero{min-height:clamp(540px,47vw,690px);height:auto;align-items:stretch;overflow:hidden}.hero-bg{background-position:center center;background-size:cover;transform:none}.hero-content{padding-block:clamp(40px,5vw,68px);position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:inherit;isolation:isolate}.hero h1{max-width:660px;font-size:clamp(41px,4.6vw,66px);line-height:1.05;margin:12px 0 14px;text-wrap:balance}.hero p{max-width:460px;font-size:clamp(13px,1.18vw,16px);line-height:1.45;margin:0}.hero-actions{margin-top:20px;display:flex;gap:10px;position:relative;z-index:2}.hero .eyebrow{max-width:490px}.hero:before{background:linear-gradient(90deg,rgba(1,9,19,.91) 0%,rgba(1,9,19,.82) 25%,rgba(1,9,19,.51) 44%,rgba(1,9,19,.08) 73%,transparent 100%)}.feature-strip{position:relative;z-index:1}.hero-service-icons{display:grid;grid-template-columns:repeat(4,minmax(0,90px));gap:14px;margin-top:22px}.hero-service{display:grid;justify-items:center;gap:7px;color:white;font-weight:750;text-align:center;font-size:11px;line-height:1.18}.hero-service svg{width:45px;height:45px;color:#ffc72c;stroke:currentColor;fill:none;stroke-width:2;filter:drop-shadow(0 0 4px #00baff)}.hero-service:hover{color:#ffc72c}.service-photo{aspect-ratio:1.9/1;object-fit:cover;object-position:center 45%;height:auto;max-height:none}.service-card{transition:border-color .18s ease,transform .18s ease}.service-card:hover{border-color:#ffc72c;transform:translateY(-2px)}.auto-photo{object-fit:cover;object-position:center center}.service-grid{margin-top:22px}.section-pad{padding:48px 0}.auto-section{padding:40px 0}.auto-card{transition:border-color .18s ease}.auto-card:hover{border-color:#ffc72c}.auto-photo{height:130px}.auto-grid{gap:11px}.auto-text{padding:12px;display:flex;flex-direction:column;flex:1}.auto-text a{margin-top:auto}.btn{transition:filter .16s ease,transform .16s ease}.btn:hover{filter:brightness(1.1);transform:translateY(-1px)}.site-footer{padding-bottom:35px}.coverage{min-height:180px;display:flex;align-items:center}.reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review{height:100%}.review:before{content:'★★★★★';color:#ffc72c;display:block;letter-spacing:3px;margin-bottom:9px}.hero-service:focus-visible{outline:2px solid #ffc72c;outline-offset:4px}
@media(max-width:1050px){.hero{min-height:565px}.hero h1{font-size:clamp(41px,5vw,60px)}.hero-bg{background-position:60% center}.hero-service-icons{grid-template-columns:repeat(4,70px)}.service-photo{aspect-ratio:1.65/1}.auto-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:750px){.hero{min-height:670px}.hero-content{min-height:670px;justify-content:flex-start;padding:39px 0 46px}.hero-bg{background-position:62% center}.hero:before{background:linear-gradient(90deg,rgba(1,9,19,.92) 0%,rgba(1,9,19,.72) 52%,rgba(1,9,19,.22) 100%)}.hero h1{font-size:clamp(36px,7vw,48px);max-width:470px}.hero p{max-width:390px}.hero-service-icons{grid-template-columns:repeat(4, minmax(0,1fr));width:min(100%,400px);gap:8px}.hero-actions{flex-wrap:wrap;width:min(100%,420px)}.hero-actions .btn{flex:1 1 175px;min-height:49px}.features{grid-template-columns:repeat(2,1fr)}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reviews-grid{grid-template-columns:1fr}.site-footer{padding-bottom:100px}.section-pad{padding:40px 0}}
@media(max-width:480px){.container{width:calc(100% - 28px)}.hero{min-height:645px}.hero-content{min-height:645px;padding-top:26px;padding-bottom:22px}.hero-bg{background-position:59% center}.hero h1{font-size:clamp(34px,9vw,41px);margin-block:12px}.hero:before{background:linear-gradient(180deg,rgba(1,9,19,.88) 0%,rgba(1,9,19,.82) 46%,rgba(1,9,19,.32) 100%)}.hero p{font-size:13px;max-width:340px}.hero-service-icons{margin-top:17px}.hero-service svg{width:33px;height:33px}.hero-service{font-size:10px}.hero-actions{margin-top:18px}.hero-actions .btn{font-size:12px;flex:1 1 100%;min-height:47px}.service-grid{grid-template-columns:1fr}.service-card{display:flex;min-height:0}.service-photo{width:100%;height:auto;aspect-ratio:1.95/1;object-fit:cover}.service-content{padding:16px}.service-content h3{font-size:18px}.service-content p{font-size:13px}.service-content .btn{min-height:46px;font-size:13px}.auto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auto-photo{height:120px}.auto-text{padding:10px}.auto-card h3{font-size:13px}.auto-card p{font-size:11px}.auto-card a{font-size:11px}.reviews-grid{grid-template-columns:1fr}.topbar .socials{display:none}.footer-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* 2.1 – Reparación exclusiva del HERO en móviles: fotografía panorámica limpia,
   contenidos y botones sin superposición con las franjas del mockup. */
@media (max-width: 750px) {
  .hero {display:flex;flex-direction:column;align-items:stretch;min-height:0!important;height:auto!important;overflow:hidden;background:#041421;}
  .hero .hero-content {order:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
    min-height:0!important;height:auto!important;padding-top:28px;padding-bottom:25px;}
  .hero .hero-bg {position:relative!important;inset:auto!important;order:2;z-index:auto;
    height:clamp(190px,50vw,300px);width:100%;flex:none;
    background-image:url('assets/img/hero-mobile.webp')!important;
    background-repeat:no-repeat;background-size:cover!important;background-position:center 42%!important;}
  .hero::before {display:none!important;}
  .hero h1 {max-width:100%;font-size:clamp(35px,8vw,48px);line-height:1.09;letter-spacing:-.035em;margin:13px 0 15px;overflow-wrap:normal;text-wrap:initial;}
  .hero p {font-size:clamp(13px,3.4vw,16px);line-height:1.5;max-width:100%;}
  .hero-service-icons {margin-top:22px;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;}
  .hero-service {min-width:0;gap:7px;font-size:clamp(9px,2.6vw,12px);}
  .hero-service svg {width:38px;height:38px;max-width:100%;}
  .hero-actions {display:grid;grid-template-columns:1fr;gap:10px;max-width:none;width:100%;margin-top:22px;}
  .hero-actions .btn {width:100%;min-height:52px;flex:none;padding:12px 8px;font-size:clamp(12px,3.1vw,15px);}
  .feature-strip {position:relative;z-index:0;overflow:visible;}
  .feature-strip .features {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:0;padding-block:0;}
  .feature-strip .feature {min-width:0;min-height:70px;padding:12px 7px;font-size:clamp(10px,2.5vw,13px);line-height:1.3;text-align:left;justify-content:flex-start;}
  .feature-strip .feature b {font-size:24px;flex:none;}
}
@media (max-width: 390px) {
  .hero h1 {font-size:clamp(31px,8.6vw,36px);}
  .hero .hero-bg {height:205px;}
  .feature-strip .feature b {font-size:19px;}
}

/* v2.2 text tweaks */
.hero .eyebrow{color:var(--yellow)!important;}

/* 2.4: únicamente jerarquía de portada y tamaño del logotipo en cabecera. */
.hero .hero-primary-title{color:var(--yellow);font-size:clamp(24px,2.9vw,44px);font-weight:900;line-height:1.14;letter-spacing:.015em;text-transform:uppercase;max-width:730px;margin:0 0 15px;text-wrap:balance;}
.hero .hero-slogan{font-weight:900;font-size:clamp(35px,4vw,57px);letter-spacing:-.045em;line-height:1.08;color:#fff;max-width:660px;margin:0 0 14px;text-wrap:balance;}
.hero .hero-slogan span{color:#fff;}
.topbar .brand img{width:86px;height:86px;}
.topbar .top-inner{min-height:96px;}
@media(max-width:750px){.hero .hero-primary-title{font-size:clamp(25px,5.4vw,33px);line-height:1.18;margin-bottom:15px;}.hero .hero-slogan{font-size:clamp(30px,6.7vw,41px);line-height:1.1;}.topbar .brand img{width:62px;height:62px;}.topbar .top-inner{min-height:77px;}.topbar .main-nav{top:77px;}}
@media(max-width:480px){.hero .hero-primary-title{font-size:clamp(24px,6vw,29px);}.hero .hero-slogan{font-size:clamp(29px,7.6vw,36px);}.topbar .brand img{width:59px;height:59px;}}

/* v2.5: reducción de 2px al H1 amarillo; lema blanco como H3. */
.hero .hero-primary-title{color:#ffc72c!important;font-size:clamp(22px,calc(2.9vw - 2px),42px)!important;}
@media(max-width:750px){.hero .hero-primary-title{font-size:clamp(23px,calc(5.4vw - 2px),31px)!important;}}
@media(max-width:480px){.hero .hero-primary-title{font-size:clamp(22px,calc(6vw - 2px),27px)!important;}}
.hero h3.hero-slogan{color:#fff!important;}
.hero h3.hero-slogan span{color:#fff!important;}

/* v2.7 — Logo más protagonista en la barra superior; ningún otro elemento modificado. */
.topbar .brand img{width:128px;height:128px;max-width:none;object-fit:contain;}
.topbar .top-inner{min-height:145px;}
@media(max-width:750px){.topbar .brand img{width:88px;height:88px;}.topbar .top-inner{min-height:104px;}.topbar .main-nav{top:104px;}}
@media(max-width:480px){.topbar .brand img{width:82px;height:82px;}.topbar .top-inner{min-height:100px;}.topbar .main-nav{top:100px;}}

/* v2.8 — ÚNICO cambio: logo y alto de la cabecera en dispositivos móviles. */
@media (max-width:750px){
  .topbar .brand img{width:132px;height:132px;max-width:none;object-fit:contain;flex-shrink:0;}
  .topbar .top-inner{min-height:152px;}
  .topbar .main-nav{top:152px;}
  .topbar .brand{min-width:0;gap:10px;}
  .topbar .brand-name{font-size:clamp(13px,3.6vw,19px);white-space:nowrap;}
  .topbar .mobile-toggle{flex-shrink:0;margin-left:auto;}
}
@media (max-width:380px){
  .topbar .brand img{width:116px;height:116px;}
  .topbar .top-inner{min-height:136px;}
  .topbar .main-nav{top:136px;}
  .topbar .brand-name{font-size:13px;}
}
