/*
Theme Name: IPERSEGUR Corporativo
Theme URI: https://ipersegur.com/
Author: IPERSEGUR
Description: Tema corporativo responsive para IPERSEGUR Seguridad Privada.
Version: 2.0.0
Text Domain: ipersegur
*/
:root{--yellow:#FFCC0D;--black:#1D1D1B;--graphite:#242429;--white:#fff;--gray:#f4f4f4;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Roboto,Arial,sans-serif;color:#222;background:#fff;line-height:1.6}a{text-decoration:none;color:inherit}.wrap{width:min(var(--max),92%);margin:auto}.site-header{position:sticky;top:0;z-index:999;background:var(--black);color:#fff;border-bottom:2px solid var(--yellow)}.header-inner{min-height:82px;display:flex;align-items:center;gap:28px}.brand{font-family:'Arial Black',sans-serif;color:var(--yellow);font-size:25px;letter-spacing:.5px}.brand small{display:block;color:#fff;font:10px Arial;letter-spacing:1px}.nav{display:flex;gap:24px;margin-left:auto;align-items:center}.nav a{font-weight:800;font-size:14px}.nav a:hover{color:var(--yellow)}.quote-btn,.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--yellow);color:#111;font-weight:900;border-radius:8px;padding:13px 20px;border:0}.quote-btn:hover,.btn:hover{filter:brightness(.94)}.menu-toggle{display:none;background:var(--yellow);border:0;padding:10px 13px;border-radius:5px;font-weight:900}.hero{min-height:620px;background:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.52)),linear-gradient(135deg,#242429,#111);color:#fff;display:flex;align-items:center}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:60px;align-items:center}.eyebrow{color:var(--yellow);font-weight:900;text-transform:uppercase;letter-spacing:2px}.hero h1{font-family:'Arial Black',sans-serif;font-size:clamp(48px,7vw,92px);line-height:.95;margin:12px 0}.hero h2{font-size:clamp(24px,3vw,40px);margin:0 0 20px}.hero p{font-size:20px;max-width:680px}.quick-form{background:#fff;color:#222;padding:28px;border-radius:14px;border-top:6px solid var(--yellow);box-shadow:0 18px 50px rgba(0,0,0,.3)}.quick-form h3{margin-top:0;font-size:26px}.field{margin-bottom:13px}.field input,.field textarea,.field select{width:100%;padding:13px;border:1px solid #bbb;border-radius:6px;font:inherit}.field textarea{min-height:105px;resize:vertical}.section{padding:82px 0}.section.dark{background:var(--black);color:#fff}.section.alt{background:#f6f6f6}.section-title{text-align:center;margin:0 0 45px;font-family:'Arial Black',sans-serif;font-size:clamp(30px,4vw,48px)}.section-title span{color:var(--yellow)}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.08);border-bottom:4px solid var(--yellow);transition:.25s}.card:hover{transform:translateY(-6px)}.card-visual{height:190px;background:linear-gradient(145deg,#333,#111);display:grid;place-items:center;color:var(--yellow);font-size:64px;font-weight:900}.card-body{padding:23px}.card h3{margin:0 0 10px;font-size:21px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.benefit{padding:25px;border:1px solid #ddd;border-radius:10px;background:#fff}.benefit strong{display:block;color:#111;margin-bottom:7px}.benefit:before{content:'✓';display:grid;place-items:center;width:36px;height:36px;background:var(--yellow);border-radius:50%;font-weight:900;margin-bottom:15px}.sectors{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.sector{text-align:center;border:1px solid #444;padding:24px 10px;border-radius:8px}.sector i{font-style:normal;color:var(--yellow);font-size:28px}.sector b{display:block;margin-top:9px;font-size:12px}.cta{background:var(--yellow);padding:45px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{margin:0;font-size:34px}.cta .btn{background:#111;color:var(--yellow)}.page-hero{padding:90px 0;background:linear-gradient(135deg,#111,#333);color:#fff;border-bottom:6px solid var(--yellow)}.page-hero h1{font-family:'Arial Black';font-size:clamp(38px,5vw,65px);margin:0}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px}.service-list{columns:2;column-gap:35px}.service-list li{break-inside:avoid;margin-bottom:12px}.site-footer{background:#050505;color:#fff;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:45px}.site-footer h3{color:var(--yellow);font-size:22px;margin-top:0}.footer-logo{font-family:'Arial Black';font-size:32px;color:#fff}.footer-logo span{color:var(--yellow)}.copyright{border-top:1px solid #333;margin-top:35px;padding-top:20px;color:#aaa;font-size:13px}.wp-block-image img,img{max-width:100%;height:auto}@media(max-width:980px){.menu-toggle{display:block;margin-left:auto}.nav{display:none;position:absolute;left:0;right:0;top:82px;background:#111;padding:20px 4%;flex-direction:column;align-items:flex-start}.nav.open{display:flex}.quote-btn.header-quote{display:none}.hero-grid,.content-grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.benefits{grid-template-columns:repeat(2,1fr)}.sectors{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.hero{min-height:auto;padding:75px 0}.cards,.benefits,.sectors,.footer-grid{grid-template-columns:1fr}.cta-inner{align-items:flex-start;flex-direction:column}.section{padding:60px 0}.service-list{columns:1}.brand{font-size:20px}}
/* v1.1 - integración de recursos gráficos originales */
.section-intro{text-align:center;max-width:780px;margin:-25px auto 38px;color:#666}.card-visual{background:linear-gradient(145deg,#f7f7f7,#e8e8e8)}.card-visual img{width:112px;height:112px;object-fit:contain;transition:.25s}.card:hover .card-visual img{transform:scale(1.06)}.sector{background:#111}.sector img{width:58px;height:58px;object-fit:contain;filter:brightness(0) invert(1);opacity:.96}.sector b{color:var(--yellow)}.hero{background:radial-gradient(circle at 72% 35%,rgba(255,204,13,.10),transparent 28%),linear-gradient(105deg,rgba(0,0,0,.96),rgba(29,29,27,.82)),linear-gradient(135deg,#242429,#0b0b0b)}
/* v1.2 Header de doble identidad + contacto bicolor */
.site-header{background:#080b0d;position:sticky;top:0;z-index:9999}.header-inner{min-height:96px;display:flex;align-items:center;gap:22px}.header-logos{display:flex;align-items:center;gap:18px;flex:0 0 auto}.primary-logo{display:flex;align-items:center;text-decoration:none}.custom-logo{width:auto;max-width:275px;max-height:72px}.second-logo{width:70px;height:70px;object-fit:contain}.brand{font-weight:900;font-size:28px;color:#ffcc0d;line-height:.85}.brand small{display:block;font-size:10px;color:#fff;margin-top:8px}.nav{display:flex;align-items:center;gap:22px;margin-left:auto}.nav a{font-weight:800;font-size:14px;white-space:nowrap}.header-contact{display:flex;align-items:center;border-radius:999px;overflow:hidden;flex:0 0 auto}.header-contact a{background:var(--contact-bg);padding:11px 14px;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap;color:#111}.header-contact .contact-phone{color:#fff}.header-contact a:hover{filter:brightness(1.08)}
@media(max-width:1250px){.header-inner{gap:13px}.nav{gap:13px}.nav a{font-size:12px}.custom-logo{max-width:220px}.second-logo{width:58px;height:58px}.header-contact a{padding:9px 10px;font-size:10px}}
@media(max-width:980px){.header-inner{min-height:82px;flex-wrap:wrap}.header-logos{flex:1}.custom-logo{max-width:200px;max-height:58px}.second-logo{width:50px;height:50px}.header-contact{order:3;width:100%;margin-bottom:10px}.header-contact a{flex:1;text-align:center}.nav{display:none;width:100%;order:4}.nav.open{display:flex;flex-direction:column;align-items:stretch}.menu-toggle{display:block}}
@media(max-width:520px){.header-logos{gap:9px}.custom-logo{max-width:155px}.second-logo{width:44px;height:44px}.header-contact{display:grid;grid-template-columns:1fr}.header-contact{border-radius:12px}.header-contact a{font-size:10px}.brand{font-size:22px}}

/* v1.3 Elementor */
.elementor-page .site-main,.elementor-page main{max-width:none}.elementor-section-wrap{width:100%}

/* v1.4 menú desplegable + demo Elementor */
.nav{position:relative}.nav .menu-item{position:relative;list-style:none}.nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:285px;background:#101112;padding:10px 0;margin:0;border-top:3px solid var(--yellow);box-shadow:0 14px 30px rgba(0,0,0,.28)}.nav .menu-item:hover>.sub-menu{display:block}.nav .sub-menu a{display:block;padding:11px 18px}.nav .sub-menu a:hover{background:#242429}.elementor-content{width:100%;overflow:hidden}.elementor-content .elementor-section{margin-left:auto;margin-right:auto}@media(max-width:980px){.nav .sub-menu{display:block;position:static;box-shadow:none;border:0;padding-left:18px;background:#171717}.nav .sub-menu a{font-size:11px}}

/* v1.8 HOME fiel a la maqueta de referencia */
.iper-home-hero .elementor-container{min-height:285px;align-items:end}.iper-home-hero .elementor-widget-image{margin-bottom:0}.iper-home-hero .elementor-widget-image img{display:block;width:100%;max-height:285px;object-fit:cover;object-position:left top}.iper-home-hero h1{font-size:36px!important;letter-spacing:1px;margin-bottom:0}.iper-home-hero h2{font-size:29px!important;line-height:1.05}.iper-home-hero h3{font-size:24px!important}.iper-home-form>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:7px}.iper-home-form input{width:100%;height:31px;border:0;border-radius:8px;padding:0 12px;font-size:11px}.iper-home-form label{display:block;color:#fff;font-size:10px;font-weight:700;margin:7px 0}.iper-home-form label input{width:auto;height:auto}.iper-home-form button{width:100%;border:0;border-radius:16px;background:#FFCC0D;font-weight:900;height:34px}.iper-home-services-title h2{font-size:27px!important}.iper-home-service-cards .elementor-column>.elementor-widget-wrap{background:#111;border-radius:22px;overflow:hidden;margin:0 10px;align-content:start}.iper-home-service-cards .elementor-widget-image:first-child img{width:56px;height:56px;object-fit:contain;background:#fff;border-radius:50%;padding:8px;margin-top:-2px}.iper-home-service-cards h3{font-size:18px!important;line-height:1.05;min-height:42px}.iper-home-service-cards .elementor-widget-image:nth-of-type(2) img{width:100%;height:260px;object-fit:cover}.iper-home-service-cards .elementor-button{font-size:10px;padding:8px 14px}.iper-home-coverage h2{font-size:34px!important;line-height:1}.iper-home-coverage .elementor-widget-image img{max-height:180px;width:100%;object-fit:cover}.iper-home-why h2,.iper-home-sectors h2,.iper-home-associates h2{font-size:25px!important}.iper-benefit-box{background:#ECEFF0;border-radius:22px;padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:35px;font-size:13px;font-weight:600;line-height:1.8}.iper-sector-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px 12px;text-align:center}.iper-sector-grid img{width:50px;height:50px;object-fit:contain;filter:brightness(0) invert(1)}.iper-sector-grid b{display:block;color:#FFCC0D;font-size:10px}.iper-home-sectors>.elementor-container>.elementor-column:first-child img,.iper-home-sectors>.elementor-container>.elementor-column:last-child img{height:250px;object-fit:cover;object-position:top}.iper-home-associates .elementor-widget-image img{max-height:65px;width:auto}.elementor-page .site-footer{margin-top:0}
@media(max-width:767px){.iper-home-form>div,.iper-benefit-box{grid-template-columns:1fr}.iper-sector-grid{grid-template-columns:repeat(3,1fr)}.iper-home-service-cards .elementor-column>.elementor-widget-wrap{margin:8px 0}.iper-home-service-cards .elementor-widget-image:nth-of-type(2) img{height:220px}.iper-home-sectors>.elementor-container>.elementor-column:first-child,.iper-home-sectors>.elementor-container>.elementor-column:last-child{display:none}}

/* v1.9 HOME — reconstrucción fiel de la referencia, editable por secciones en Elementor */
.iper-v19-shell,.iper-v19-shell>.elementor-container,.iper-v19-shell .elementor-column,.iper-v19-shell .elementor-widget-wrap,.iper-v19-shell .elementor-widget-html{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.iper-v19-shell .elementor-widget-html>.elementor-widget-container{margin:0!important}.iper-v19-home{font-family:Roboto,Arial,sans-serif;color:#111}.v19-hero{height:287px;background-size:cover;background-position:center;position:relative}.v19-hero-inner{max-width:768px;height:100%;margin:auto;display:grid;grid-template-columns:44% 56%;align-items:center}.v19-hero-copy{text-align:center;padding:10px 25px 0 5px}.v19-hero-copy h1{font-size:30px!important;color:#ffbd16!important;margin:0 0 5px!important;font-weight:900}.v19-hero-copy h2{font-size:22px!important;color:#fff!important;margin:0 0 8px!important;font-weight:900;line-height:1.05}.v19-hero-copy h3{font-size:18px!important;color:#fff!important;margin:0 0 8px!important}.v19-hero-copy h3 strong{color:#ffbd16}.v19-form>div{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:5px 0}.v19-form input{height:22px;border:0;border-radius:8px;padding:0 10px;font-size:9px}.v19-form label{display:block;text-align:left;color:#fff;font-size:8px;font-weight:800}.v19-form label input{height:auto}.v19-form button{width:100%;height:22px;border:0;border-radius:12px;background:#ffcc0d;font-size:9px;font-weight:900}.v19-services{background:#000;color:#fff;padding:26px 55px 0;text-align:center}.v19-services>h2,.v19-why>h2,.v19-sectors h2,.v19-assoc h2{color:#ffb914;font-size:22px!important;font-weight:900;margin:0 0 14px}.v19-services>p{font-size:12px;line-height:1.45;margin:0 0 24px}.v19-service-grid{max-width:650px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.v19-card{height:300px;border-radius:22px 22px 0 0;position:relative;overflow:visible;background:#171717}.v19-card .v19-icon{position:absolute;z-index:3;top:-23px;left:50%;transform:translateX(-50%);width:55px;height:55px;background:#fff;border-radius:50%;display:grid;place-items:center}.v19-icon img{width:44px;height:44px;object-fit:contain}.v19-card h3{position:absolute;z-index:3;top:38px;left:5px;right:5px;color:#fff!important;font-size:15px!important;line-height:1.05;margin:0!important;text-shadow:0 2px 5px #000}.v19-card-photo{position:absolute;inset:0;border-radius:22px;background-size:cover;background-position:center}.v19-card a{position:absolute;z-index:4;top:87px;left:50%;transform:translateX(-50%);background:#ffbd16;color:#111;font-size:7px;font-weight:900;padding:5px 10px;border-radius:5px;text-decoration:none;white-space:nowrap}.v19-coverage{background:#f2f2f2;min-height:208px;padding:35px 48px;display:grid;grid-template-columns:52% 48%;align-items:center}.v19-coverage h3{font-size:18px!important;margin:0 0 12px}.v19-coverage-title{display:flex;align-items:center;gap:12px}.v19-coverage-title img{width:42px}.v19-coverage-title h2{color:#ffb914!important;font-size:27px!important;line-height:1;margin:0}.v19-coverage-title span{color:#222}.v19-coverage a{display:inline-block;background:#ffb914;color:#111;font-weight:900;font-size:9px;padding:8px 15px;border-radius:7px;text-decoration:none;margin-top:12px}.v19-coverage-photo{width:100%;height:145px;object-fit:cover}.v19-why{text-align:center;background:#fff;padding:24px 45px 30px}.v19-why>p{font-size:11px;line-height:1.5}.v19-benefits{max-width:680px;margin:18px auto 0;background:#e9ecee;border-radius:22px;padding:18px 22px;display:grid;grid-template-columns:1fr 1fr;gap:28px;text-align:left;font-size:10px;font-weight:600;line-height:1.75}.v19-sectors{height:286px;background:#10151d;color:#fff;display:grid;grid-template-columns:17% 66% 17%;align-items:end;overflow:hidden;padding:0 18px}.v19-sectors>div{align-self:center;text-align:center}.v19-sectors h2{margin-bottom:8px}.v19-sectors p{font-size:10px}.v19-guard{width:100%;height:220px;object-fit:cover;object-position:top;border-radius:10px 10px 0 0}.v19-sector-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:15px 8px;margin-top:18px}.v19-sector-grid img{width:44px;height:44px;object-fit:contain;filter:brightness(0) invert(1)}.v19-sector-grid b{display:block;color:#ffbd16;font-size:8px;margin-top:4px}.v19-assoc{text-align:center;padding:20px 45px 30px;background:#fff}.v19-assoc img{width:100%;max-width:670px;height:55px;object-fit:cover;object-position:center}.site-footer{padding-top:30px}.footer-grid{max-width:700px;margin:auto}.iper-v19-home+*{margin-top:0}
@media(min-width:900px){.v19-hero-inner{max-width:1200px}.v19-service-grid,.v19-benefits{max-width:1050px}.v19-assoc img{max-width:1050px}.v19-services{padding-left:8%;padding-right:8%}.v19-card{height:420px}.v19-card h3{font-size:20px!important;top:48px}.v19-card a{top:110px}.v19-hero{height:450px}.v19-hero-copy h1{font-size:46px!important}.v19-hero-copy h2{font-size:35px!important}.v19-hero-copy h3{font-size:28px!important}.v19-form input{height:34px;font-size:12px}.v19-form button{height:34px;font-size:12px}.v19-services>h2,.v19-why>h2,.v19-sectors h2,.v19-assoc h2{font-size:30px!important}.v19-coverage{padding-left:8%;padding-right:8%}.v19-coverage-photo{height:220px}.v19-sectors{height:420px}.v19-guard{height:330px}.v19-sector-grid img{width:58px;height:58px}.v19-sector-grid b{font-size:10px}}
@media(max-width:767px){.v19-hero{height:auto;min-height:500px;background-position:30% center}.v19-hero-inner{grid-template-columns:1fr;align-content:end}.v19-hero-spacer{min-height:230px}.v19-hero-copy{padding:15px 20px 30px;background:rgba(0,0,0,.55)}.v19-service-grid{grid-template-columns:1fr 1fr;gap:38px 16px}.v19-card{height:280px}.v19-services{padding:30px 18px}.v19-coverage{grid-template-columns:1fr;padding:30px 20px;gap:20px}.v19-benefits{grid-template-columns:1fr}.v19-sectors{height:auto;grid-template-columns:1fr;padding:28px 18px}.v19-guard{display:none}.v19-sector-grid{grid-template-columns:repeat(3,1fr)}.v19-assoc{padding:20px}.v19-assoc img{height:auto}}

/* v2.0 — Home compuesto por secciones/columnas/widgets Elementor */
.iper-home-hero{position:relative}.iper-home-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,20,31,.05),rgba(8,20,31,.35));pointer-events:none}.iper-home-hero>.elementor-container{position:relative;z-index:1}.iper-home-hero .elementor-heading-title{line-height:1.08}.iper-home-form{width:100%}.iper-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px}.iper-home-form input:not([type=checkbox]){width:100%;border:0;border-radius:16px;padding:12px 16px;background:#fff}.iper-home-form label{display:block;color:#fff;font-size:11px;font-weight:800;margin:8px 0}.iper-home-form button{width:100%;border:0;border-radius:18px;background:#FFCC0D;color:#111;font-weight:900;padding:12px}.iper-home-services .elementor-widget-image img{border-radius:22px}.iper-home-services .elementor-inner-section .elementor-column>.elementor-widget-wrap{padding:10px}.iper-home-services .elementor-button{background:#FFCC0D;color:#111;border-radius:10px}.iper-home-coverage .elementor-widget-image img{max-height:230px;object-fit:contain}.iper-benefit-box p{margin:0 0 13px}.iper-home-sectors .elementor-inner-section .elementor-widget-image img{height:64px;width:64px;object-fit:contain;filter:brightness(0) invert(1)}.iper-home-sectors>.elementor-container>.elementor-column:first-child img,.iper-home-sectors>.elementor-container>.elementor-column:last-child img{max-height:360px;object-fit:contain;object-position:bottom}.iper-home-assoc .elementor-widget-image img{max-height:90px;object-fit:contain}.iper-home-assoc .elementor-widget-container{text-align:center}@media(max-width:767px){.iper-form-row{grid-template-columns:1fr}.iper-home-hero .elementor-column:first-child{display:none}.iper-home-sectors>.elementor-container>.elementor-column:first-child,.iper-home-sectors>.elementor-container>.elementor-column:last-child{display:none}.iper-home-sectors>.elementor-container>.elementor-column:nth-child(2){width:100%}.iper-home-sectors .elementor-inner-section .elementor-column{width:33.333%}.iper-home-services .elementor-inner-section .elementor-column{width:50%}}
