/*
Theme Name: Electronic Solution — Pre-lancio
Theme URI: https://electronic-solution.it/
Author: Electronic Solution di Giovanni Mario Falco
Author URI: https://electronicsolution.eu/
Description: Tema proprietario per la pagina di pre-lancio/manutenzione di electronic-solution.it. Statico, self-contained, senza dipendenze esterne (nessun font remoto, nessun tracker, nessun JS non necessario). AEGIS-3.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: Proprietario — Electronic Solution
Text Domain: es-prelaunch
*/

:root{
  --gold:#C5A059; --gold-logo:#A87830;
  --black:#181818; --black-2:#101010; --black-3:#0c0c0c;
  --line:rgba(197,160,89,.22);
  --text:#F5F3EF; --muted:#B8B2A7; --muted-2:#8B857B;
  --cta:#C8102E; --cta-hover:#A00D25;
  --surface:rgba(255,255,255,.03);
  --surface-2:rgba(255,255,255,.05);
  --r:12px; --r-lg:18px; --r-pill:999px;
  --container:1080px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--black); color:var(--text);
  font-family:var(--font); font-size:clamp(16px,1rem + .1vw,17px); line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
a{color:inherit}
img{max-width:100%; height:auto; display:block}
.wrap{width:100%; max-width:var(--container); margin-inline:auto; padding-inline:20px}

a:focus-visible,button:focus-visible{outline:2px solid var(--gold); outline-offset:3px; border-radius:4px}
.skip{position:absolute; left:-9999px; top:0; background:var(--gold); color:#111; padding:10px 16px; font-weight:700; z-index:100; border-radius:0 0 8px 0}
.skip:focus{left:0}

.site-head{position:sticky; top:0; z-index:50; background:rgba(16,16,16,.85); backdrop-filter:saturate(140%) blur(8px); border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand img{width:38px; height:38px}
.brand .name{font-weight:700; letter-spacing:.14em; font-size:.86rem; text-transform:uppercase}
.brand .name b{color:var(--gold); font-weight:700}
.head-link{display:inline-flex; align-items:center; gap:6px; text-decoration:none; color:var(--muted); font-size:.82rem; padding:8px 12px; border:1px solid var(--line); border-radius:var(--r-pill); white-space:nowrap; transition:color .18s,border-color .18s,background .18s}
.head-link:hover{color:var(--text); border-color:var(--gold); background:var(--surface)}

.hero{position:relative; text-align:center; padding:clamp(48px,7vw,96px) 0 clamp(40px,6vw,72px); background:radial-gradient(120% 80% at 50% -10%, rgba(197,160,89,.10), transparent 60%), var(--black)}
.hero::after{content:""; position:absolute; inset:auto 0 0 0; height:1px; background:linear-gradient(90deg,transparent,var(--line),transparent)}
.hero .mark{width:clamp(96px,16vw,144px); height:auto; margin:0 auto 22px; filter:drop-shadow(0 8px 30px rgba(197,160,89,.16))}
.eyebrow{display:inline-block; font-size:.74rem; letter-spacing:.28em; text-transform:uppercase; color:var(--gold); border:1px solid var(--line); border-radius:var(--r-pill); padding:7px 16px; margin-bottom:20px}
h1{margin:0 auto 18px; max-width:16ch; font-size:clamp(2rem,5.2vw,3.25rem); line-height:1.1; letter-spacing:-.01em; font-weight:700}
.hero .lead{margin:0 auto; max-width:56ch; color:var(--muted); font-size:clamp(1.02rem,1rem + .5vw,1.2rem)}
.cta-row{display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:30px}
.btn{display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-weight:600; padding:14px 24px; border-radius:var(--r-pill); font-size:1rem; transition:transform .12s,background .18s,border-color .18s,color .18s}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--gold); color:#161206; border:1px solid var(--gold)}
.btn-primary:hover{background:#d8b877; border-color:#d8b877}
.btn-ghost{background:transparent; color:var(--text); border:1px solid var(--line)}
.btn-ghost:hover{border-color:var(--gold); background:var(--surface)}
.btn svg{flex:0 0 auto}

section{padding:clamp(44px,6vw,72px) 0}
.sec-head{max-width:60ch; margin:0 auto clamp(28px,4vw,44px); text-align:center}
.sec-head .kicker{font-size:.74rem; letter-spacing:.24em; text-transform:uppercase; color:var(--gold)}
h2{font-size:clamp(1.5rem,1.2rem + 1.4vw,2.1rem); line-height:1.2; margin:.5em 0 .35em; letter-spacing:-.01em}
.sec-head p{margin:0; color:var(--muted)}

.grid{display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.card{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:24px; transition:border-color .2s,background .2s,transform .2s}
.card:hover{border-color:rgba(197,160,89,.5); background:var(--surface-2)}
.card .ico{width:40px; height:40px; display:grid; place-items:center; border-radius:10px; background:rgba(197,160,89,.12); color:var(--gold); margin-bottom:14px}
.card h3{margin:0 0 8px; font-size:1.08rem}
.card p{margin:0; color:var(--muted); font-size:.96rem}

.eco{display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
a.eco-card{display:block; text-decoration:none; background:linear-gradient(180deg,var(--surface-2),transparent); border:1px solid var(--line); border-radius:var(--r-lg); padding:26px; transition:border-color .2s,transform .2s}
a.eco-card:hover{border-color:var(--gold); transform:translateY(-2px)}
a.eco-card .dom{display:flex; align-items:center; gap:8px; color:var(--gold); font-weight:700; letter-spacing:.01em}
a.eco-card p{margin:10px 0 0; color:var(--muted); font-size:.96rem}

.contact-list{display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); max-width:840px; margin-inline:auto}
a.contact{display:flex; align-items:center; gap:14px; text-decoration:none; background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:16px 18px; transition:border-color .2s,background .2s}
a.contact:hover{border-color:var(--gold); background:var(--surface-2)}
a.contact .ico{flex:0 0 auto; width:38px; height:38px; display:grid; place-items:center; border-radius:9px; background:rgba(197,160,89,.12); color:var(--gold)}
a.contact .t{display:flex; flex-direction:column; line-height:1.35}
a.contact .t .k{font-size:.76rem; color:var(--muted-2); text-transform:uppercase; letter-spacing:.1em}
a.contact .t .v{font-weight:600}

footer.site-foot{border-top:1px solid var(--line); background:var(--black-2); padding:40px 0 48px; margin-top:8px}
.foot-grid{display:flex; flex-wrap:wrap; gap:24px 40px; justify-content:space-between; align-items:flex-start}
.foot-legal{max-width:52ch; color:var(--muted); font-size:.9rem}
.foot-legal .co{color:var(--text); font-weight:600}
.foot-links{display:flex; flex-wrap:wrap; gap:8px 20px; font-size:.9rem}
.foot-links a{color:var(--muted); text-decoration:none}
.foot-links a:hover{color:var(--gold)}
.foot-note{margin-top:22px; padding-top:18px; border-top:1px solid rgba(255,255,255,.06); color:var(--muted-2); font-size:.82rem; display:flex; flex-wrap:wrap; gap:6px 14px; justify-content:space-between}
.foot-note a{color:var(--muted); text-decoration:underline; text-underline-offset:2px}
.foot-note a:hover{color:var(--gold)}

@media (max-width:520px){
  .site-head .wrap{min-height:56px}
  .brand .name{font-size:.78rem; letter-spacing:.1em}
  .btn{width:100%; justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important; scroll-behavior:auto !important}
  a.eco-card:hover{transform:none}
}
