/*
Theme Name: Electrotérmica Corporativa
Theme URI: https://www.electrotermica.com/
Author: Electrotérmica
Description: Tema corporativo a medida para Electrotérmica. Incluye páginas de servicios, proyectos, financiación, contacto y artículos.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: electrotermica
*/
:root{--navy:#0b2854;--navy-deep:#071d3d;--blue:#2457a6;--gold:#f4c62f;--ink:#17263d;--muted:#64748b;--cloud:#f4f7fb;--line:#dfe5ed;--white:#fff;--radius:14px;--shadow:0 14px 40px rgba(11,40,84,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.65}img{max-width:100%;height:auto}a{color:var(--blue);text-decoration:none}a:hover{color:var(--navy)}.container{width:min(1200px,calc(100% - 48px));margin-inline:auto}.site-header{position:relative;z-index:2;background:#fff;border-bottom:1px solid var(--line)}.header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:inline-flex;align-items:center;flex:0 0 auto}.brand img{display:block;width:176px;max-height:74px;object-fit:contain}.primary-nav ul{display:flex;align-items:center;gap:30px;list-style:none;margin:0;padding:0}.primary-nav a{color:var(--navy);font-size:14px;font-weight:700}.primary-nav a:hover{color:var(--blue)}.primary-nav li:last-child a{display:inline-flex;padding:12px 20px;border-radius:6px;background:var(--navy);color:#fff}.primary-nav li:last-child a:hover{background:var(--blue)}.mobile-contact{display:none}.hero{position:relative;isolation:isolate;min-height:570px;display:flex;align-items:center;overflow:hidden;background:var(--cloud)}.hero:before{position:absolute;z-index:-2;inset:0;content:"";background-image:url("assets/hero-fotovoltaica-climatizacion.webp");background-size:cover;background-position:center 55%}.hero:after{position:absolute;z-index:-1;inset:0;content:"";background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.84) 43%,rgba(255,255,255,.12) 100%)}.hero-inner{padding-top:70px;padding-bottom:70px}.hero-copy{max-width:630px}.eyebrow{margin:0 0 14px;color:var(--blue);font-size:13px;line-height:1.4;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.location-pill{display:inline-flex;align-items:center;gap:9px;margin:0 0 20px;padding:8px 15px;border:1px solid rgba(36,87,166,.16);border-radius:999px;background:rgba(255,255,255,.9);color:var(--navy);font-size:14px;font-weight:700}.location-pill:before{width:8px;height:8px;border-radius:50%;background:var(--gold);content:""}.hero h1{max-width:600px;margin:0;color:var(--navy);font-size:clamp(40px,5.1vw,64px);line-height:1.08;letter-spacing:-.045em}.hero-copy>p:not(.location-pill){max-width:560px;margin:22px 0 0;color:#3f5068;font-size:18px;line-height:1.7}.button-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:14px 22px;border:1px solid transparent;border-radius:6px;background:var(--navy);color:#fff;font-size:14px;font-weight:800;line-height:1.3;transition:.2s}.button:hover{background:var(--blue);color:#fff}.button-light{border-color:rgba(11,40,84,.18);background:rgba(255,255,255,.92);color:var(--navy)}.button-light:hover{background:#fff;color:var(--blue)}.hero-points{display:flex;flex-wrap:wrap;gap:22px;margin-top:25px;color:var(--navy);font-size:14px;font-weight:600}.hero-points span:before{display:inline-block;width:8px;height:8px;margin-right:8px;border:2px solid var(--blue);border-radius:50%;content:"";vertical-align:1px}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);padding:34px 0}.trust-item{display:flex;gap:16px;padding:9px 28px;border-right:1px solid var(--line)}.trust-item:first-child{padding-left:16px}.trust-item:last-child{border-right:0}.trust-mark{display:flex;flex:0 0 40px;width:40px;height:40px;align-items:center;justify-content:center;border-radius:10px;background:#edf3fc;color:var(--navy);font-size:13px;font-weight:900}.trust-item h2{margin:0;color:var(--navy);font-size:17px;line-height:1.35}.trust-item p{margin:5px 0 0;color:var(--muted);font-size:14px;line-height:1.6}.section{padding:76px 0}.section-cloud{background:var(--cloud)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}.section-heading h2,.content-section h2{margin:0;color:var(--navy);font-size:clamp(30px,3.4vw,42px);line-height:1.18;letter-spacing:-.035em}.section-heading p{max-width:700px;margin:12px 0 0;color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service-card{display:block;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 1px 2px rgba(11,40,84,.02);transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.service-mark{display:flex;width:48px;height:48px;align-items:center;justify-content:center;margin-bottom:18px;border-radius:9px;background:#edf3fc;color:var(--navy);font-size:14px;font-weight:900}.service-card h3{margin:0;color:var(--navy);font-size:18px;line-height:1.35}.service-card p{margin:10px 0 16px;color:var(--muted);font-size:14px;line-height:1.7}.more-link{color:var(--blue);font-size:14px;font-weight:800}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:56px}.split p{color:var(--muted)}.benefit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.benefit-card{padding:21px;border:1px solid var(--line);border-radius:12px;background:#fff}.benefit-card h3{margin:0;color:var(--navy);font-size:16px}.benefit-card p{margin:7px 0 0;font-size:14px;line-height:1.6}.cta-band{padding:46px 0;background:var(--navy);color:#fff}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.cta-inner h2{margin:0;color:#fff;font-size:30px;line-height:1.2}.cta-inner p{margin:10px 0 0;color:#d5e2f3}.cta-band .eyebrow{color:var(--gold)}.cta-band .button{background:#fff;color:var(--navy)}.cta-band .button:hover{background:var(--gold)}.page-intro{padding:70px 0;background:var(--cloud)}.page-intro h1{max-width:850px;margin:0;color:var(--navy);font-size:clamp(38px,5vw,56px);line-height:1.1;letter-spacing:-.04em}.page-intro p:not(.eyebrow){max-width:760px;margin:18px 0 0;color:var(--muted);font-size:18px;line-height:1.75}.content-section{padding:64px 0}.content-section>*:first-child{margin-top:0}.content-section h2{margin-top:38px;margin-bottom:16px;font-size:32px}.content-section h3{margin:24px 0 9px;color:var(--navy);font-size:21px}.content-section p,.content-section li{color:#526278}.content-section p{margin:0 0 18px}.content-section ul,.content-section ol{padding-left:24px}.content-section li{margin:8px 0}.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}.info-card{padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.info-card h2,.info-card h3{margin:10px 0 7px;color:var(--navy);font-size:20px}.info-card p{margin:0;color:var(--muted);font-size:15px}.feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:28px 0}.feature-card{padding:24px;border-radius:12px;background:var(--cloud)}.feature-card h3{margin-top:0}.site-footer{background:var(--navy-deep);color:#fff}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:48px;padding:48px 0}.footer-logo{display:inline-block;margin-bottom:16px;padding:7px 10px;border-radius:5px;background:#fff}.footer-logo img{display:block;width:150px;max-height:60px;object-fit:contain}.site-footer h2{margin:0 0 14px;color:#fff;font-size:15px}.site-footer p,.site-footer a{color:#d5e2f3;font-size:14px;line-height:1.8}.site-footer a:hover{color:#fff}.footer-links{display:grid;gap:7px}.copyright{padding:14px 24px;border-top:1px solid rgba(255,255,255,.13);color:#d5e2f3;text-align:center;font-size:12px}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px}.contact-details{display:grid;gap:14px;margin-top:26px}.contact-detail{padding:18px;border:1px solid var(--line);border-radius:12px}.contact-detail strong{display:block;color:var(--navy)}.contact-form{padding:30px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.contact-form h2{margin:0;color:var(--navy);font-size:26px}.contact-form>p{color:var(--muted)}.form-fields{display:grid;gap:17px;margin-top:24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-field{display:grid;gap:7px;color:var(--navy);font-size:14px;font-weight:700}.form-field input,.form-field textarea{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-weight:400}.form-field textarea{min-height:125px;resize:vertical}.privacy-check{display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:13px;line-height:1.6}.privacy-check input{margin-top:4px;accent-color:var(--navy)}.form-note{padding:11px 14px;border-radius:6px;background:#edf8f0;color:#176236}.form-note.error{background:#fff0f0;color:#9a2525}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.post-card{padding:25px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.post-card h2{margin:0 0 10px;font-size:21px;line-height:1.35}.post-date{margin-bottom:8px;color:var(--blue);font-size:13px;font-weight:700}.post-excerpt{color:var(--muted);font-size:14px}.empty-posts{padding:40px;border:1px solid var(--line);border-radius:var(--radius);background:var(--cloud);text-align:center}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:950px){.primary-nav ul{gap:18px}.service-grid{grid-template-columns:repeat(2,1fr)}.trust-item{padding-inline:16px}.split{gap:32px}.footer-grid{gap:28px}}
@media(max-width:700px){.container{width:min(100% - 36px,560px)}.header-inner{min-height:74px}.brand img{width:145px}.primary-nav{display:none}.mobile-contact{display:inline-flex;padding:10px 15px;border-radius:6px;background:var(--navy);color:#fff;font-size:13px;font-weight:800}.hero{min-height:600px;align-items:flex-start}.hero:before{background-position:62% center}.hero:after{background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.79) 72%,rgba(255,255,255,.48))}.hero-inner{padding-top:68px;padding-bottom:50px}.hero h1{font-size:clamp(38px,11vw,52px)}.hero-copy>p:not(.location-pill){font-size:16px}.button-row{gap:10px}.button{padding:13px 16px}.trust-row{grid-template-columns:1fr;padding:18px 0}.trust-item,.trust-item:first-child{padding:17px 5px;border-right:0;border-bottom:1px solid var(--line)}.trust-item:last-child{border-bottom:0}.section{padding:54px 0}.section-heading{display:block}.section-heading h2,.content-section h2{font-size:30px}.section-heading>a{display:inline-block;margin-top:12px}.service-grid{grid-template-columns:1fr}.service-card{padding:21px}.split,.contact-grid{grid-template-columns:1fr;gap:28px}.benefit-grid,.feature-list,.card-grid{grid-template-columns:1fr}.cta-inner{align-items:flex-start;flex-direction:column}.cta-inner h2{font-size:26px}.page-intro{padding:54px 0}.page-intro p:not(.eyebrow){font-size:16px}.content-section{padding:44px 0}.footer-grid{grid-template-columns:1fr;gap:28px;padding:38px 0}.form-row{grid-template-columns:1fr}.contact-form{padding:23px}.post-grid{grid-template-columns:1fr}}
