/*
Theme Name: Geico Instalaciones
Author: Geico
Description: Tema ligero y adaptable para instalaciones, mantenimiento y asistencia técnica.
Version: 0.3.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: geico
*/
:root{--ink:#17343c;--blue:#007a95;--green:#b4ce37;--paper:#f5f7f4;--line:#dfe7e4}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:17px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;background:white}a{color:var(--blue)}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:5px}h1,h2,h3{line-height:1.15;letter-spacing:-.025em}h1{font-size:clamp(36px,5.5vw,68px);margin:20px 0}h2{font-size:clamp(28px,3.5vw,42px)}h3{font-size:23px}p{max-width:76ch}.wrap{max-width:1180px;margin:auto;padding:0 28px}.topline{background:var(--ink);color:white;font-size:13px;padding:8px 0}.topline .wrap{display:flex;justify-content:space-between;gap:12px}.topline a{color:white}.site-header{border-bottom:1px solid var(--line);background:white}.header-row{min-height:105px;display:flex;align-items:center;gap:28px;justify-content:space-between}.brand{text-decoration:none;color:var(--blue);font-size:36px;font-weight:850;letter-spacing:-2px;line-height:1}.brand span{color:#93b634}.brand small{display:block;font-size:9px;letter-spacing:1.2px;color:var(--ink);margin-top:8px}.custom-logo{max-width:175px;height:auto}.nav{display:flex;gap:23px;align-items:center;font-size:14px}.nav a{text-decoration:none;color:var(--ink)}.nav details{position:relative}.nav summary{cursor:pointer}.submenu{position:absolute;z-index:5;top:35px;left:0;min-width:260px;background:white;box-shadow:0 15px 45px #17343c26;border:1px solid var(--line);padding:14px;display:grid;gap:7px}.submenu a{padding:5px 9px}.button,.wp-block-button__link{display:inline-block;background:var(--green);color:#17343c!important;padding:13px 22px;border-radius:5px;text-decoration:none;font-weight:700;line-height:1.4}.button.secondary{background:white;border:1px solid #bed0d2}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0}.hero{background:var(--paper);padding:72px 0 60px}.hero-grid{display:grid;grid-template-columns:1.35fr 1fr;align-items:center;gap:70px}.eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;font-weight:750;color:var(--blue)}.lead{font-size:20px;color:#496369}.hero-art{border-radius:12px;background:var(--ink);color:white;padding:35px;min-height:360px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.hero-art:after{content:'';width:230px;height:230px;border:40px solid #007a95;border-radius:50%;position:absolute;right:-80px;bottom:-100px}.hero-art strong{font-size:32px;line-height:1.2;z-index:1}.hero-art p{color:#d4e2e0;font-size:15px;z-index:1}.art-lines{height:85px;background:repeating-linear-gradient(0deg,transparent 0 13px,#b4ce37 14px 17px);width:100px;transform:skew(-20deg)}.facts{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:24px 0;gap:24px}.facts strong{display:block;font-size:18px}.facts span{font-size:14px;color:#587075}.section{padding:64px 0}.section.tint{background:var(--paper)}.section-head{max-width:750px;margin-bottom:32px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{padding:28px;border:1px solid var(--line);border-radius:8px;background:white;display:flex;flex-direction:column}.card .number{font-size:13px;color:var(--blue);font-weight:750}.card h3{margin:16px 0}.card p{font-size:15px;flex:1;margin-top:0}.card a{font-size:15px;font-weight:700}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.steps strong{font-size:24px;color:var(--blue)}.split{display:grid;grid-template-columns:1fr 1fr;gap:55px}.contact-box{padding:32px;border-radius:8px;background:var(--ink);color:white}.contact-box a{color:#d1e46e}.contact-box p{font-size:16px}.page-intro{background:var(--paper);padding:52px 0}.page-intro h1{font-size:clamp(34px,4.5vw,54px);max-width:22ch}.content{max-width:880px;padding:45px 28px 70px;margin:auto}.content h2{margin-top:42px;font-size:30px}.content li{margin:8px 0}.content details{border-bottom:1px solid var(--line);padding:18px 0}.content summary{font-weight:700;cursor:pointer}.notice{border-left:4px solid var(--green);padding:18px;background:var(--paper)}footer{background:#102b33;color:#d4e2e0;padding:45px 0;font-size:14px}footer a{color:#d4e2e0}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:36px}.footer-bottom{border-top:1px solid #385159;margin-top:28px;padding-top:20px;display:flex;gap:20px;flex-wrap:wrap}.whatsapp{position:fixed;bottom:20px;right:20px;background:var(--green);color:var(--ink);text-decoration:none;padding:12px 20px;border-radius:30px;box-shadow:0 4px 18px #0002;font-size:14px;font-weight:750;z-index:8}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:15px;top:15px;background:white;z-index:20;padding:12px}.preview-note{font-size:12px;background:#eaf0de;padding:8px 20px;text-align:center}img{max-width:100%;height:auto}@media(max-width:900px){.header-row{flex-wrap:wrap;padding:22px 0;gap:20px}.nav{flex-wrap:wrap;gap:17px}.hero-grid{grid-template-columns:1fr;gap:30px}.hero-art{min-height:240px}.cards{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.hero{padding:45px 0}.topline .wrap{flex-wrap:wrap}}@media(max-width:580px){.wrap{padding:0 20px}.cards,.steps,.footer-grid{grid-template-columns:1fr}.facts{grid-template-columns:1fr;gap:12px}.section{padding:42px 0}.hero-art{display:none}.nav{font-size:13px;gap:15px}.nav>.button{padding:9px 12px}.submenu{left:-65px;max-width:calc(100vw - 45px)}.whatsapp{right:12px;bottom:12px}.content{padding:30px 20px 50px}.topline{font-size:12px}}

.brand .custom-logo{display:block;width:210px;max-width:210px;height:auto;letter-spacing:normal}@media(max-width:580px){.brand .custom-logo{width:185px;max-width:185px}}

/* Imagen ilustrativa de portada; texto accesible independiente de la imagen. */
.hero{background-color:#17343c;background-image:linear-gradient(90deg,rgba(10,34,45,.70) 0%,rgba(10,34,45,.48) 40%,rgba(10,34,45,.03) 75%),url('assets/portada-geico.webp');background-size:cover;background-position:center;min-height:620px;color:white;display:flex;align-items:center}
.hero .hero-grid{width:100%;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:70px}
.hero .hero-art{display:none}.hero .eyebrow{color:#d5e76f}.hero .lead{color:#edf3f5}.hero h1{font-size:clamp(36px,4.6vw,61px)}
@media(max-width:900px){.hero .hero-grid{grid-template-columns:1fr 0.45fr;gap:20px}.hero{min-height:580px}}
@media(max-width:580px){.hero{min-height:560px;background-position:60% center;background-image:linear-gradient(90deg,rgba(10,34,45,.90),rgba(10,34,45,.68)),url('assets/portada-geico.webp')}.hero .hero-grid{grid-template-columns:1fr}.hero h1{font-size:39px}.hero .lead{font-size:18px}}

@media(max-width:580px){.hero{background-image:linear-gradient(90deg,rgba(10,34,45,.90),rgba(10,34,45,.68)),url('assets/portada-geico-movil.webp')}}

/* Sello propio GEICO y ficha de acreditaciones. */
.geico-accreditations{position:fixed;left:18px;bottom:18px;z-index:9}.geico-accreditations>summary{cursor:pointer;list-style:none;border-radius:50%;width:112px;height:112px;filter:drop-shadow(0 3px 8px #0003)}.geico-accreditations>summary::-webkit-details-marker{display:none}.geico-accreditations>summary img{display:block;width:100%;height:100%}.geico-credentials{position:absolute;left:0;bottom:128px;width:min(390px,calc(100vw - 36px));max-height:calc(100dvh - 145px);overflow:auto;padding:26px;background:white;color:var(--ink);border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:12px;box-shadow:0 10px 45px #0003;font-size:15px;line-height:1.5}.geico-credentials h2{font-size:25px;margin:12px 24px 14px 0}.geico-credentials ul{padding-left:20px}.geico-credentials li{margin:8px 0}.geico-credentials .eyebrow{font-size:10px;letter-spacing:1px}.geico-registry-help{font-size:12px;color:#496369}.geico-credentials-close{position:absolute;right:12px;top:10px;background:transparent;border:0;font-size:28px;color:var(--ink);cursor:pointer;width:36px;height:36px}.geico-accreditations:not([open]) .geico-credentials{display:none}@media(max-width:580px){.geico-accreditations{left:12px;bottom:12px}.geico-accreditations>summary{width:96px;height:96px}.geico-credentials{bottom:110px;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 120px);padding:22px}.footer-bottom{padding-bottom:85px}}

.geico-budget-note{font-size:14px;line-height:1.6;margin:12px 0 24px;max-width:65ch}.hero .geico-budget-note{color:#edf3f5}
