/*
Theme Name: Energia Hub
Theme URI: https://example.com/energia-hub
Author: Energia Hub
Description: Tema WordPress elegante per Energia Hub: fotovoltaico, climatizzazione, energia e servizi.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: energia-hub
*/
:root{--eh-bg:#111317;--eh-bg2:#191b20;--eh-gold:#caa052;--eh-gold2:#f0d28a;--eh-text:#f8f5ee;--eh-muted:#b8b8bd;--eh-card:#1c1d21;--eh-border:rgba(202,160,82,.58);--eh-radius:20px;--eh-shadow:0 18px 45px rgba(0,0,0,.35)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#111317;color:#f5f2eb;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.eh-container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.eh-topbar{background:#0c0d10;color:#d8d8d8;font-size:13px;padding:9px 0}.eh-topbar .eh-container{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.eh-header{position:sticky;top:0;z-index:50;background:rgba(17,19,23,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--eh-border);color:#fff}.eh-navrow{display:flex;align-items:center;justify-content:space-between;min-height:88px;gap:25px}.eh-brand{display:flex;align-items:center;gap:12px;min-width:180px}.eh-brand img{width:190px;max-height:72px;object-fit:contain}.eh-brand-text{font-weight:800;letter-spacing:.08em;color:var(--eh-gold2)}.eh-menu{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:650}.eh-menu a:hover{color:var(--eh-gold2)}.eh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,var(--eh-gold2),var(--eh-gold));color:#181715!important;border:0;border-radius:999px;padding:13px 22px;font-weight:800;box-shadow:0 8px 25px rgba(216,173,85,.18);transition:transform .2s,filter .2s;cursor:pointer}.eh-btn:hover{transform:translateY(-2px);filter:brightness(1.05)}.eh-btn-outline{background:transparent;border:1px solid var(--eh-gold);color:var(--eh-gold2)!important;box-shadow:none}.eh-menu-toggle{display:none;background:none;border:1px solid var(--eh-border);color:#fff;border-radius:10px;padding:8px 12px}.eh-hero{position:relative;isolation:isolate;min-height:620px;display:flex;align-items:center;color:#fff;background:#15171a url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=2200&q=85') center/cover no-repeat}.eh-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,12,15,.9) 0%,rgba(10,12,15,.67) 48%,rgba(10,12,15,.2) 100%);z-index:-1}.eh-hero-content{max-width:720px;padding:90px 0}.eh-eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--eh-gold2);text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:800}.eh-eyebrow:before{content:"";width:32px;height:1px;background:var(--eh-gold)}h1,h2,h3{line-height:1.12;margin:0 0 20px}h1{font-size:clamp(42px,6vw,76px);letter-spacing:-.04em;margin-top:18px}h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.035em}h3{font-size:23px}.eh-hero p{font-size:19px;color:#e4e3e0;max-width:590px;margin:0 0 28px}.eh-actions{display:flex;gap:13px;flex-wrap:wrap}.eh-section{padding:88px 0}.eh-section-dark{background:var(--eh-bg);color:#fff}.eh-section-soft{background:linear-gradient(145deg,#17191d,#202126);color:#f5f2eb}.eh-section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.eh-section-head p{max-width:530px;color:#b8b8bd;margin:0}.eh-section-dark .eh-section-head p{color:var(--eh-muted)}.eh-gold{color:var(--eh-gold)}.eh-products-wrap{position:relative}.eh-product-track{display:grid;grid-auto-columns:calc((100% - 48px)/3);grid-auto-flow:column;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:4px 2px 20px;scrollbar-color:var(--eh-gold) #333}.eh-product-card{scroll-snap-align:start;background:linear-gradient(145deg,#202228,#151619);border:1px solid rgba(202,160,82,.65);border-radius:var(--eh-radius);overflow:hidden;box-shadow:var(--eh-shadow);transition:transform .25s,border-color .25s}.eh-product-card:hover{transform:translateY(-5px);border-color:var(--eh-gold)}.eh-product-image{height:235px;background:#2a2c30 center/cover no-repeat;position:relative;border-bottom:2px solid var(--eh-gold)}.eh-product-image:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.45))}.eh-product-body{padding:24px}.eh-product-body p{color:#c1c1c6;margin:0 0 18px}.eh-card-link{display:inline-flex;align-items:center;gap:8px;color:var(--eh-gold2);font-weight:800}.eh-slider-controls{display:flex;gap:8px}.eh-round-btn{width:42px;height:42px;border:1px solid var(--eh-border);border-radius:50%;background:transparent;color:var(--eh-gold2);cursor:pointer;font-size:20px}.eh-services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.eh-service{padding:27px 23px;background:linear-gradient(145deg,#202228,#17181c);color:#f8f5ee;border:1px solid rgba(202,160,82,.55);border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.25);transition:transform .22s,border-color .22s}.eh-service:hover{transform:translateY(-4px);border-color:#f0d28a}.eh-service-icon{width:48px;height:48px;border-radius:14px;background:#f6e9c9;color:#8b651e;display:grid;place-items:center;font-size:23px;margin-bottom:20px}.eh-service p{color:#c1c1c6;font-size:14px;margin:0}.eh-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.eh-about-visual{min-height:430px;border:1px solid rgba(202,160,82,.65);box-shadow:0 0 0 5px rgba(202,160,82,.08),var(--eh-shadow);border-radius:var(--eh-radius);background:#222 url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80') center/cover;position:relative;overflow:hidden}.eh-about-visual:after{content:"";position:absolute;inset:0;border:1px solid rgba(216,173,85,.35);border-radius:var(--eh-radius)}.eh-check-list{padding:0;list-style:none;display:grid;gap:12px;margin:26px 0}.eh-check-list li:before{content:"✓";display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#f6e9c9;color:#80601d;font-weight:900;margin-right:10px}.eh-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}.eh-stat{padding:20px;border-left:2px solid var(--eh-gold)}.eh-stat strong{display:block;font-size:34px;color:var(--eh-gold2);line-height:1.1}.eh-stat span{font-size:13px;color:#c7c7ca}.eh-reviews{display:grid;grid-template-columns:1fr 1fr;gap:24px}.eh-review-card{padding:28px;background:#202228;border:1px solid var(--eh-border);border-radius:16px}.eh-stars{color:var(--eh-gold2);letter-spacing:3px}.eh-review-card p{color:#dedee1}.eh-review-note{font-size:13px;color:#aaa}.eh-founder-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:55px;align-items:center}.eh-founder-photo{min-height:400px;border:2px solid var(--eh-gold);box-shadow:0 0 0 6px rgba(202,160,82,.10),var(--eh-shadow);border-radius:var(--eh-radius);background:#222 url('https://images.unsplash.com/photo-1580489944761-15a19d654956?auto=format&fit=crop&w=1000&q=85') center 30%/cover no-repeat;box-shadow:var(--eh-shadow)}.eh-founder-caption{color:#b8b8bd;font-size:14px}.eh-contact-band{background:linear-gradient(120deg,#101114,#29241a);color:#fff;border:1px solid var(--eh-gold);box-shadow:0 0 0 5px rgba(202,160,82,.06),var(--eh-shadow);border-radius:24px;padding:44px;display:flex;justify-content:space-between;align-items:center;gap:30px}.eh-contact-band p{color:#ccc;margin-bottom:0}.eh-form{max-width:820px;margin:auto;background:linear-gradient(145deg,#202228,#151619);color:#f8f5ee;border:1px solid var(--eh-gold);border-radius:20px;padding:34px;box-shadow:0 18px 50px rgba(0,0,0,.35)}.eh-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.eh-field{display:flex;flex-direction:column;gap:7px}.eh-field-full{grid-column:1/-1}.eh-field label{font-size:14px;font-weight:750;color:#f0d28a}.eh-field input,.eh-field select,.eh-field textarea{width:100%;border:1px solid rgba(202,160,82,.58);border-radius:10px;padding:13px 14px;background:#111317;color:#f8f5ee;outline:none}.eh-field input:focus,.eh-field select:focus,.eh-field textarea:focus{border-color:#f0d28a;box-shadow:0 0 0 3px rgba(202,160,82,.14)}.eh-field textarea{min-height:120px;resize:vertical}.eh-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#c4c4c8}.eh-consent input{width:auto;margin-top:5px}.eh-success{padding:14px 18px;background:#e8f7ec;color:#176332;border-radius:10px;margin-bottom:20px}.eh-error{padding:14px 18px;background:#fff0ed;color:#922b1f;border-radius:10px;margin-bottom:20px}.eh-footer{background:#0c0d10;color:#d5d5d7;padding:52px 0 24px}.eh-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.eh-footer p,.eh-footer li{color:#aeb0b5;font-size:14px}.eh-footer ul{padding:0;list-style:none;display:grid;gap:8px}.eh-footer-bottom{border-top:1px solid #292a2e;margin-top:35px;padding-top:20px;color:#888;font-size:12px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.eh-breadcrumb{padding:18px 0;background:#191b20;font-size:13px;color:#d0c5ae;border-bottom:1px solid rgba(202,160,82,.25)}.eh-page-hero{background:var(--eh-bg);color:#fff;padding:70px 0}.eh-page-hero h1{font-size:clamp(38px,5vw,58px)}.eh-product-detail{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.eh-product-detail-image{min-height:410px;border:2px solid var(--eh-gold);box-shadow:0 0 0 6px rgba(202,160,82,.10),var(--eh-shadow);border-radius:20px;background:#222 center/cover no-repeat}.eh-product-detail-copy p{color:#c4c4c8}.eh-whatsapp-hint{font-size:13px;color:#777;margin-top:20px}.eh-privacy{font-size:13px;color:#b8b8bd}
@media(max-width:900px){.eh-menu{gap:13px;font-size:13px}.eh-brand img{width:150px}.eh-product-track{grid-auto-columns:calc((100% - 24px)/2)}.eh-services-grid{grid-template-columns:repeat(2,1fr)}.eh-about-grid,.eh-founder-grid{gap:30px}.eh-hero{min-height:570px}}
@media(max-width:680px){.eh-container{width:min(100% - 30px,1160px)}.eh-topbar .eh-container{justify-content:center;text-align:center}.eh-navrow{min-height:72px}.eh-brand img{width:155px}.eh-menu-toggle{display:block}.eh-menu{display:none;position:absolute;top:100%;left:0;right:0;padding:20px 24px;background:#111317;border-bottom:1px solid var(--eh-border);flex-direction:column;align-items:stretch}.eh-menu.is-open{display:flex}.eh-menu .eh-btn{margin-top:6px}.eh-hero{min-height:610px;background-position:58% center}.eh-hero-content{padding:70px 0}.eh-hero p{font-size:17px}.eh-section{padding:62px 0}.eh-section-head{display:block}.eh-section-head p{margin-top:14px}.eh-product-track{grid-auto-columns:86%;gap:16px}.eh-product-image{height:220px}.eh-services-grid{grid-template-columns:1fr 1fr;gap:12px}.eh-service{padding:20px 16px}.eh-about-grid,.eh-founder-grid,.eh-product-detail{grid-template-columns:1fr;gap:28px}.eh-about-visual{min-height:280px;order:2}.eh-stats{gap:5px}.eh-stat{padding:13px 8px}.eh-stat strong{font-size:27px}.eh-stat span{font-size:11px}.eh-reviews{grid-template-columns:1fr}.eh-founder-photo{min-height:350px;order:0}.eh-contact-band{padding:28px;display:block}.eh-contact-band .eh-btn{margin-top:22px}.eh-form{padding:22px}.eh-form-grid{grid-template-columns:1fr}.eh-field-full{grid-column:auto}.eh-footer-grid{grid-template-columns:1fr;gap:22px}.eh-product-detail-image{min-height:300px}}

/* Rifinitura palette nero antracite e oro */
.eh-section-soft h1,.eh-section-soft h2,.eh-section-soft h3{color:#f8f5ee}
.eh-section-soft p{color:#c4c4c8}
.eh-section-soft .eh-founder-caption{color:#b8b8bd}
.eh-section-soft .eh-founder-photo{background-color:#202228}
.eh-product-card:focus-visible,.eh-service:focus-within,.eh-btn:focus-visible{outline:2px solid #f0d28a;outline-offset:4px}
.eh-product-image{outline:1px solid rgba(240,210,138,.28);outline-offset:-7px}
.eh-product-detail-image{outline:1px solid rgba(240,210,138,.35);outline-offset:-8px}
.eh-form select option{background:#17191d;color:#f8f5ee}

/* Aggiornamento logo, servizi illustrati e area territoriale */
.eh-brand{min-width:250px;max-width:390px;flex:0 1 360px}
.eh-brand img{display:block;width:100%;max-width:360px;max-height:94px;height:auto;object-fit:contain;object-position:left center}
.eh-navrow{min-height:104px}
.eh-service{padding:0 0 24px;overflow:hidden}
.eh-service-photo{height:118px;width:100%;background-color:#222 center/cover no-repeat;border-bottom:2px solid var(--eh-gold);position:relative;margin-bottom:22px}
.eh-service-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,11,13,.40),transparent 75%);pointer-events:none}
.eh-service .eh-service-icon,.eh-service h3,.eh-service p{margin-left:23px;margin-right:23px}
.eh-service .eh-service-icon{margin-bottom:16px;background:linear-gradient(145deg,#f0d28a,#b88b3c);color:#171717}
.eh-service h3{font-size:20px}
.eh-service p{padding-bottom:0}




.eh-territory{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:26px;padding:17px 20px;border:1px solid rgba(202,160,82,.5);border-radius:12px;background:linear-gradient(120deg,#191a1e,#25221b);color:#f8f5ee}
.eh-territory-label{width:100%;font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#c4c4c8}
.eh-territory strong{color:#f0d28a;font-size:19px}
.eh-territory-separator{color:#c9a052}
@media(max-width:900px){.eh-brand{min-width:180px;max-width:270px;flex-basis:270px}.eh-brand img{max-height:76px}}
@media(max-width:680px){.eh-navrow{min-height:76px}.eh-brand{min-width:0;max-width:220px;flex:0 1 220px}.eh-brand img{width:100%;max-height:62px}.eh-service-photo{height:100px}.eh-service .eh-service-icon,.eh-service h3,.eh-service p{margin-left:16px;margin-right:16px}.eh-service h3{font-size:17px}.eh-territory{gap:6px}}

/* Logo originale Energia Hub: nessuna modifica al file grafico, solo dimensioni e allineamento */
.eh-navrow{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:122px;padding-top:14px;padding-bottom:14px}
.eh-brand{display:flex;align-items:center;justify-content:flex-start;flex:0 1 430px;min-width:280px;max-width:430px;width:100%;padding:0;margin:0}
.eh-brand a{display:flex;align-items:center;justify-content:flex-start;width:100%;line-height:0}
.eh-brand img{display:block;width:100%;max-width:430px;max-height:104px;height:auto;object-fit:contain;object-position:left center;margin:0}
.eh-nav{align-items:center}
@media(max-width:980px){
 .eh-navrow{gap:18px;min-height:102px}
 .eh-brand{flex-basis:330px;min-width:230px;max-width:330px}
 .eh-brand img{max-height:86px}
}
@media(max-width:680px){
 .eh-navrow{min-height:82px;gap:10px;padding-top:9px;padding-bottom:9px}
 .eh-brand{flex:0 1 245px;min-width:0;max-width:245px;width:calc(100% - 48px)}
 .eh-brand img{width:100%;max-width:245px;max-height:66px;object-fit:contain;object-position:left center}
}
@media(max-width:390px){
 .eh-brand{flex-basis:210px;max-width:210px;width:calc(100% - 44px)}
 .eh-brand img{max-width:210px;max-height:58px}
}


/* Logo fornito dall'azienda: immagine originale intera, senza ritagli o ridisegni */
.eh-navrow{min-height:142px!important;gap:28px!important;align-items:center!important}
.eh-brand{flex:0 1 560px!important;min-width:300px!important;max-width:560px!important;width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}
.eh-brand img{display:block!important;width:100%!important;max-width:560px!important;height:auto!important;max-height:124px!important;object-fit:contain!important;object-position:left center!important}
.eh-menu{flex:1 1 auto;justify-content:flex-end;gap:16px}
.eh-service{padding:0 0 22px!important;overflow:hidden}
.eh-service-photo{display:block!important;width:100%!important;height:112px!important;min-height:112px!important;background-color:#292a2e!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;border-bottom:2px solid var(--eh-gold)!important;margin:0 0 20px!important;position:relative}
.eh-service-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(12,13,16,.30),rgba(12,13,16,0) 70%);pointer-events:none}
.eh-service .eh-service-icon,.eh-service h3,.eh-service p{margin-left:20px!important;margin-right:20px!important}
.eh-service .eh-service-icon{margin-bottom:14px!important}
.eh-territory{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.eh-territory strong{color:#f0d28a}
@media(max-width:1100px){
 .eh-navrow{gap:18px!important;min-height:120px!important}
 .eh-brand{flex-basis:430px!important;min-width:250px!important;max-width:430px!important}
 .eh-brand img{max-height:100px!important}
 .eh-menu{gap:10px;font-size:12px}
}
@media(max-width:800px){
 .eh-navrow{min-height:98px!important;gap:12px!important}
 .eh-brand{flex:0 1 430px!important;min-width:0!important;max-width:430px!important;width:calc(100% - 65px)!important}
 .eh-brand img{max-width:430px!important;max-height:84px!important;object-position:left center!important}
 .eh-menu{flex:initial}
}
@media(max-width:680px){
 .eh-navrow{min-height:84px!important;padding-top:8px;padding-bottom:8px}
 .eh-brand{flex:0 1 340px!important;max-width:340px!important;width:calc(100% - 55px)!important}
 .eh-brand img{max-width:340px!important;max-height:68px!important}
 .eh-service-photo{height:88px!important;min-height:88px!important}
 .eh-service .eh-service-icon,.eh-service h3,.eh-service p{margin-left:14px!important;margin-right:14px!important}
 .eh-territory strong{font-size:16px}
}
@media(max-width:390px){
 .eh-brand{flex-basis:285px!important;max-width:285px!important}
 .eh-brand img{max-width:285px!important;max-height:58px!important}
}

.eh-service-photo-luce{background-image:url('https://images.unsplash.com/photo-1507473885765-e6ed057f782c?auto=format&fit=crop&w=640&q=75')!important}
.eh-service-photo-gas{background-image:url('https://images.unsplash.com/photo-1556911220-e15b29be8c8f?auto=format&fit=crop&w=640&q=75')!important}
.eh-service-photo-telefonia{background-image:url('https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=640&q=75')!important}
.eh-service-photo-assicurazioni{background-image:url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=640&q=75')!important}
