/*
POE Corporate — Restyling R6 (solo grafica)
Mantiene inalterati i testi delle pagine e tutti i link esistenti.
Fotografia hero: render illustrativo selezionato dall'utente, ritagliato senza UI.
*/
:root{
  --poe-r6-navy:#092e47;
  --poe-r6-ink:#16394e;
  --poe-r6-green:#36963b;
  --poe-r6-green-light:#ecf7ee;
  --poe-r6-border:#e1e9ec;
  --poe-r6-surface:#f8fbfc;
}
html {scroll-behavior:smooth;}
body {background:#fff;color:var(--poe-r6-ink);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;-webkit-font-smoothing:antialiased;}
.site-header {background:rgba(255,255,255,.98);border-bottom:1px solid #edf1f2;box-shadow:0 2px 12px rgba(7,40,61,.04);}
.site-header .head {min-height:90px;gap:22px;}
.site-header .logo {width:186px;max-height:70px;}
.site-header .menu {gap:clamp(11px,1.5vw,22px);}
.site-header .menu a {font-size:13.5px;font-weight:700;letter-spacing:0;}
.site-header .menu a:not(.poe-private-area):not(.poe-area-access-link):hover {color:var(--poe-r6-green);}
.site-header .menu a.poe-private-area {display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;background:#247e30;color:white;border:0;border-radius:6px;padding:11px 17px;box-shadow:none;font-weight:700;}
.site-header .menu a.poe-private-area:hover {background:#195c27;color:white;transform:none;}
.btn {background:#309638;color:white;border-radius:6px;box-shadow:none;border:1px solid #309638;padding:13px 23px;transition:background .18s ease,color .18s ease;}
.btn:hover {background:#267b2e;color:#fff;}
/* Area foto: una scena naturale che unisce impianto FV e lavoro informatico. */
.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#fbfdfe;
  color:var(--poe-r6-navy);
  padding:clamp(76px,7.5vw,105px) 0;
  min-height:490px;
}
.hero::before {
  content:"";
  position:absolute;
  z-index:-2;
  top:0;right:0;bottom:0;width:56%;
  background-image:url('hero-fotovoltaico-it.webp');
  background-size:cover;
  background-position:center center;
  clip-path:polygon(24% 0,100% 0,100% 100%,0 100%);
}
.hero::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(104deg,#fff 0%,#fff 38%,rgba(255,255,255,.98) 43%,rgba(255,255,255,.80) 48%,rgba(255,255,255,.10) 58%,transparent 65%);
  pointer-events:none;
}
.hero .wrap {position:relative;z-index:1;}
.hero .eyebrow {color:var(--poe-r6-green);letter-spacing:1.3px;font-weight:800;font-size:13px;}
.hero h1 {color:var(--poe-r6-navy);font-size:clamp(38px,4.2vw,58px);line-height:1.11;max-width:810px;margin:18px 0 22px;letter-spacing:-.035em;}
.hero h1 .hero-subline {font-size:.50em;line-height:1.3;letter-spacing:-.012em;margin-top:.32em;font-weight:500;}
.hero h1 .hero-subline strong {font-weight:800;}
.hero p {color:#29485a;font-size:clamp(16px,1.4vw,18px);max-width:640px;line-height:1.58;margin:22px 0 0;}
.hero-actions {display:flex;gap:14px;margin-top:32px;flex-wrap:wrap;}
.hero .ghost {border:1px solid #0e3b53;color:var(--poe-r6-navy);background:rgba(255,255,255,.82);border-radius:6px;padding:12px 21px;transition:background .18s ease;}
.hero .ghost:hover {background:#edf4f6;}
/* Quattro competenze in una fascia ariosa, con icone dal tratto uniforme. */
.hero + .section {padding:52px 0 64px;background:#fff;}
.hero + .section > .wrap > .eyebrow {color:var(--poe-r6-green);}
.hero + .section > .wrap > h2 {font-size:clamp(28px,2.6vw,37px);}
.hero + .section .grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:36px;}
.hero + .section .grid .card {
  min-width:0;
  background:transparent;
  border:0;
  border-right:1px solid var(--poe-r6-border);
  border-radius:0;
  box-shadow:none;
  padding:10px clamp(14px,2vw,28px) 14px;
}
.hero + .section .grid .card:first-child {padding-left:0;}
.hero + .section .grid .card:last-child {padding-right:0;border-right:0;}
.hero + .section .grid .card::before {
  content:"";display:block;width:55px;height:55px;
  background-size:contain;background-repeat:no-repeat;background-position:center;
  margin:0 0 13px;
}
.hero + .section .grid .card:nth-child(1)::before {background-image:url('icon-impianti.svg');}
.hero + .section .grid .card:nth-child(2)::before {background-image:url('icon-energia.svg');}
.hero + .section .grid .card:nth-child(3)::before {background-image:url('icon-consulenza.svg');}
.hero + .section .grid .card:nth-child(4)::before {background-image:url('icon-it.svg');}
.hero + .section .grid .card .num {font-size:11px;letter-spacing:1.2px;color:var(--poe-r6-green);}
.hero + .section .grid .card h3 {font-size:20px;line-height:1.24;letter-spacing:-.02em;margin:11px 0 12px;color:var(--poe-r6-navy);}
.hero + .section .grid .card p {font-size:14px;line-height:1.6;color:#506576;margin:0 0 12px;}
.hero + .section .grid .card a {font-size:13px;color:#236e30;text-decoration:none;border-bottom:1px solid #9ac59f;}
.section {padding:75px 0;}
.section.alt {background:var(--poe-r6-surface);}
.section .eyebrow {color:#317b42;}
h2 {color:var(--poe-r6-navy);letter-spacing:-.027em;}
.intro {color:#516677;}
.grid .card {border:1px solid var(--poe-r6-border);box-shadow:0 3px 10px rgba(10,46,67,.035);border-radius:8px;}
.card h3 {color:var(--poe-r6-navy);}
.band {background:linear-gradient(110deg,#0c324b,#0a2238);}
.band .panel {background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);}
.pagehero {background:linear-gradient(105deg,#f8fbfc,#eaf3f6);color:var(--poe-r6-navy);border-bottom:1px solid var(--poe-r6-border);padding:67px 0 55px;}
.pagehero .eyebrow {color:#36813f;}
.pagehero h1 {color:var(--poe-r6-navy);font-size:clamp(33px,4vw,48px);}
.pagehero p {max-width:740px;color:#496274;}
.content {color:#263d4c;}
.content h2 {color:var(--poe-r6-navy);}
.it-panel {background:#f6fafb;border-top:3px solid #70b879;box-shadow:none;}
.contactbox {background:#f3f9f6;border-left-color:#368f40;}
.site-footer {background:#0a2438;}
@media(max-width:1130px){
  .site-header .head {flex-direction:column;gap:10px;padding-top:13px;padding-bottom:13px;}
  .site-header .menu {justify-content:center;gap:14px;}
  .hero + .section .grid .card h3 {font-size:18px;}
  .hero + .section .grid .card p {font-size:13.5px;}
}
@media(max-width:850px){
  .hero {min-height:0;padding:58px 0 65px;}
  .hero::before {width:72%;opacity:.30;clip-path:none;background-position:center;}
  .hero::after {background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.93) 57%,rgba(255,255,255,.78) 100%);}
  .hero h1 {max-width:800px;font-size:clamp(37px,6.5vw,52px);}
  .hero p {max-width:700px;}
  .hero + .section .grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0;}
  .hero + .section .grid .card {padding:13px 20px;border-bottom:1px solid var(--poe-r6-border);}
  .hero + .section .grid .card:nth-child(2) {border-right:0;}
  .hero + .section .grid .card:nth-child(3) {padding-left:0;border-bottom:0;}
  .hero + .section .grid .card:nth-child(4) {border-bottom:0;}
  .section {padding:55px 0;}
}
@media(max-width:560px){
  .site-header .logo {width:164px;}
  .site-header .menu {gap:9px 14px;}
  .site-header .menu a {font-size:12px;}
  .hero {padding:52px 0 55px;}
  .hero::before {width:100%;opacity:.17;background-position:center;}
  .hero::after {background:rgba(255,255,255,.84);}
  .hero h1 {font-size:38px;}
  .hero h1 .hero-subline {font-size:.5em;}
  .hero p {font-size:16px;}
  .hero-actions {gap:10px;}
  .hero-actions .btn,.hero-actions .ghost {padding:11px 15px;font-size:13px;}
  .hero + .section .grid {grid-template-columns:1fr;gap:0;}
  .hero + .section .grid .card,
  .hero + .section .grid .card:first-child,
  .hero + .section .grid .card:last-child,
  .hero + .section .grid .card:nth-child(3) {padding:20px 0;border-right:0;border-bottom:1px solid var(--poe-r6-border);}
  .hero + .section .grid .card:last-child {border-bottom:0;}
  .pagehero {padding:49px 0 39px;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}
