/* ============================================================
   ACP Computer – Foglio di stile condiviso
   acpcomputer.it
   ============================================================ */

/* RESET & ROOT */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --blue:#111111;--blue-mid:#2a2a2a;--blue-dark:#0a0a0a;
  --orange:#e85c1a;--orange-lt:#ff7a3d;--orange-pale:rgba(232,92,26,.1);
  --light:#f0f0f0;--white:#ffffff;--text:#111827;--muted:#666666;
  --border:rgba(0,0,0,.07);--rad:14px;--rad-sm:8px;
}
html{scroll-behavior:smooth;overflow-x:hidden;max-width:100%}
body{font-family:'DM Sans',sans-serif;color:var(--text);background:var(--white);overflow-x:hidden;max-width:100%}

/* TYPOGRAPHY */
.tag{display:inline-block;background:#c74f16;color:white;border-radius:20px;padding:4px 14px;font-size:12px;font-weight:500;letter-spacing:.4px;margin-bottom:12px}
.tag-white{background:rgba(255,255,255,.15);color:rgba(255,255,255,.9)}
.h2,h2.h2{font-family:'Rajdhani',sans-serif;font-weight:700;font-size:clamp(26px,4vw,40px);line-height:1.15;margin:0}
.h3,h3.h3{font-family:'Rajdhani',sans-serif;font-weight:700;font-size:22px;margin-bottom:10px}
.lead{font-size:16px;color:var(--muted);line-height:1.65;max-width:540px}
.lead-white{color:rgba(255,255,255,.68)}
.lead-dark{color:rgba(255,255,255,.65)}
.h2-white{color:white;margin-bottom:14px}
.h2-mb{margin-bottom:10px}
.h2-white-mb{margin-bottom:10px;color:white}
.h2-lead-mb{margin-top:12px;color:rgba(255,255,255,.65)}
.h2-white-sm{margin-bottom:12px;color:white}
.h2-chi-white{color:white}
.text-white{color:white}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;gap:8px;border:none;border-radius:10px;padding:13px 26px;font-family:'DM Sans',sans-serif;font-size:15px;font-weight:500;cursor:pointer;text-decoration:none;transition:opacity .2s,transform .15s}
.btn:hover{opacity:.88;transform:translateY(-1px)}
.btn-orange{background:#c74f16;color:white}
.btn-ghost{background:rgba(255,255,255,.1);color:white;border:1.5px solid rgba(255,255,255,.35)}

/* LAYOUT */
.container{max-width:1100px;margin:0 auto;padding:0 32px}
section{padding:90px 0}
.fade-in{opacity:1;transform:translateY(0);transition:opacity .55s ease,transform .55s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* NAVBAR */
#navbar{position:sticky;top:0;z-index:200;background:#0a0a0a;box-shadow:0 2px 20px rgba(0,0,0,.5)}
.nav-inner{display:flex;align-items:center;gap:16px;height:66px;max-width:1100px;margin:0 auto;padding:0 32px}
.logo{display:flex;align-items:center;text-decoration:none}
.nav-links{display:flex;gap:0;list-style:none}
.nav-links a{color:rgba(255,255,255,.72);text-decoration:none;font-size:13.5px;font-weight:500;padding:8px 9px;border-radius:7px;transition:all .2s}
.nav-links a:hover,.nav-links a.active{color:var(--orange-lt);background:rgba(255,255,255,.08)}
.nav-cta-wrap{margin-left:auto;white-space:nowrap}
.nav-cta{background:#c74f16;color:white;border:none;border-radius:8px;padding:9px 16px;font-family:'DM Sans',sans-serif;font-size:13.5px;font-weight:500;cursor:pointer;text-decoration:none;display:inline-block;white-space:nowrap}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none;margin-left:auto}
.hamburger span{display:block;width:22px;height:2px;background:white;border-radius:2px}
.mobile-menu{display:none;position:fixed;top:66px;left:0;right:0;background:var(--blue-dark);padding:16px 24px 24px;z-index:9999}
.mobile-menu.open{display:block}
.mobile-menu a{display:block;color:rgba(255,255,255,.8);text-decoration:none;font-size:16px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.mobile-menu a:last-child{border-bottom:none}
.nav-phone-btn{background:transparent;border:1.5px solid rgba(255,255,255,.35);margin-right:8px;text-decoration:none}

/* PAGE HERO (pagine secondarie) */
.page-hero{background:#3d3d3d;padding:72px 0 60px;position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;right:-80px;top:-80px;width:420px;height:420px;border-radius:50%;background:#4a4a4a;opacity:.4}
.page-hero::after{content:'';position:absolute;left:-60px;bottom:-80px;width:280px;height:280px;border-radius:50%;background:var(--orange);opacity:.08}
.page-hero-inner{position:relative;z-index:2}
.page-hero h1{font-family:'Rajdhani',sans-serif;font-weight:700;font-size:clamp(32px,5vw,54px);color:white;line-height:1.08;margin-bottom:16px}
.page-hero h1 em{color:var(--orange-lt);font-style:normal}
.page-hero p{font-size:17px;color:rgba(255,255,255,.7);line-height:1.65;max-width:600px;margin-bottom:32px}
.breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:20px;font-size:13px;color:rgba(255,255,255,.72)}
.breadcrumb a{color:rgba(255,255,255,.72);text-decoration:none;transition:color .2s}
.breadcrumb a:hover{color:var(--orange-lt)}
.breadcrumb span{color:rgba(255,255,255,.25)}

/* ICON COLORS */
.ic-blue{background:#e6f1fb}
.ic-orange{background:rgba(232,92,26,.12)}
.ic-navy{background:rgba(80,80,80,.12)}
.ic-green{background:#e8f5e9}
.ic-teal{background:#e0f7fa}
.ic-purple{background:#ede7f6}
.ic-red{background:#fdecea}

/* CTA STRIP */
.cta-strip{background:#1a1a1a;padding:70px 0}
.cta-strip-inner{max-width:1100px;margin:0 auto;padding:0 32px;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.cta-strip h2{font-family:'Rajdhani',sans-serif;font-weight:700;font-size:clamp(24px,3.5vw,36px);color:white;line-height:1.2}
.cta-strip p{font-size:15px;color:rgba(255,255,255,.55);margin-top:8px}
.cta-btns{display:flex;gap:14px;flex-wrap:wrap;flex-shrink:0}

/* PARTNER */
.partner-section{background:#1a1a1a;padding:60px 0}
.partner-header{text-align:center;margin-bottom:36px}
.partner-badge{display:inline-flex;align-items:center;gap:10px;margin-bottom:14px}
.partner-badge-line{height:1px;width:40px;background:var(--orange);opacity:.6}
.partner-badge-text{font-family:'Rajdhani',sans-serif;font-size:16px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--orange)}
.partner-desc{font-size:16px;color:rgba(255,255,255,.65);max-width:580px;width:100%;margin:12px auto 0;line-height:1.65;box-sizing:border-box}
.partner-btns{display:flex;gap:20px;justify-content:center;flex-wrap:wrap}
.partner-link{color:var(--orange-lt);text-decoration:none;font-weight:500}

/* LINKS STRIP */
.links-strip{background:var(--light);padding:48px 0}
.links-strip-inner{max-width:1100px;margin:0 auto;padding:0 32px}
.links-h3{font-family:'Rajdhani',sans-serif;font-size:18px;font-weight:700;margin-bottom:16px}
.links-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.link-chip{background:var(--white);border:1px solid var(--border);border-radius:8px;padding:0 18px;font-size:14px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:160px;height:44px;color:var(--blue);text-decoration:none;transition:all .2s}
.link-chip:hover{background:#2e2e2e;color:white;border-color:var(--blue)}

/* SOCIAL */
.social-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.social-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#4a4a4a;border:1px solid #585858;color:white;padding:7px 14px;border-radius:8px;font-size:13px;font-weight:500;text-decoration:none;transition:background .2s,border-color .2s;min-width:120px}
.social-btn:hover{background:rgba(232,92,26,.2);border-color:rgba(232,92,26,.4);color:white}
.social-btn-wa:hover{background:rgba(37,211,102,.2);border-color:rgba(37,211,102,.4)}
.social-btn-li:hover{background:rgba(10,102,194,.25);border-color:rgba(10,102,194,.4)}
.social-btn-ig:hover{background:rgba(225,48,108,.2);border-color:rgba(225,48,108,.4)}
.wa-inline{color:#ffaa50;text-decoration:none;font-size:13px;font-weight:500}

/* CONTACT / MAP */
.info-card{background:#3a3a3a;border-radius:var(--rad);padding:32px;display:flex;flex-direction:column;gap:22px}
.info-row{display:flex;gap:16px;align-items:flex-start}
.info-icon{width:46px;height:46px;background:rgba(232,92,26,.3);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.info-row label,.info-row .info-label{display:block;font-size:12px;color:rgba(255,255,255,.72);margin-bottom:3px;letter-spacing:.3px}
.info-row p{font-size:15px;font-weight:500;line-height:1.5;color:rgba(255,255,255,.85)}
a[href^="tel"]{text-decoration:none}
.info-row a{color:#ffaa50;text-decoration:none}
.info-row a:hover{color:white}
.orari-table{width:100%;border-collapse:collapse}
.orari-table td{font-size:14px;padding:5px 0;vertical-align:top;white-space:nowrap}
.orari-table td:first-child{color:rgba(255,255,255,.72);padding-right:16px}
.orari-table td:last-child{font-weight:500;color:rgba(255,255,255,.85)}
.map-embed{border-radius:var(--rad);overflow:hidden;height:100%;min-height:300px;border:1px solid var(--border)}
.map-embed iframe{width:100%;height:100%;border:none}
.map-col{height:100%;min-height:300px}
.iframe-border{border:0}
.section-contatti{background:#2e2e2e}

/* FOOTER */
footer{background:#0a0a0a;color:rgba(255,255,255,.55);padding:40px 0}
.footer-inner{max-width:1100px;margin:0 auto;padding:0 32px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
footer p{font-size:13px}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}
.footer-links a{color:rgba(255,255,255,.72);text-decoration:none;font-size:13px;transition:color .2s}
.footer-links a:hover{color:var(--orange-lt)}
.footer-logo-img{width:140px;height:auto;display:block;opacity:.88}
.footer-addr{margin-top:4px;font-size:12px;line-height:1.6}
.footer-copy{text-align:center}
.footer-links-col{flex-direction:column;align-items:flex-end}
.logo-img-nav{width:158px;height:auto;display:block}
.logo-img-about{width:158px;height:auto;display:block;margin-bottom:16px;margin-top:8px}
.logo-img-footer{width:158px;height:auto;display:block;opacity:.88}

/* RESPONSIVE – 900px */
@media(max-width:900px){
  .cta-strip-inner{flex-direction:column;text-align:center}
  .cta-btns{justify-content:center}
}

/* RESPONSIVE – 960px (hamburger per tablet/schermi medi) */
@media(max-width:960px){
  .nav-links,.nav-cta-wrap{display:none}
  .hamburger{display:flex!important}
  .nav-inner{padding:0 20px;gap:12px}
}

/* RESPONSIVE – 640px */
@media(max-width:640px){
  html,body{overflow-x:hidden;width:100%}
  .container{padding:0 16px}
  .nav-inner{padding:0 16px;gap:12px}
  .footer-inner{flex-direction:column;text-align:center}
  .footer-links{justify-content:center}
  .footer-links-col{align-items:center}
  .links-row{flex-direction:column}
  .link-chip{min-width:unset;width:100%}
  img{max-width:100%;height:auto}
  section{padding:60px 0}
  .orari-table td{white-space:normal;font-size:13px}
  .cta-strip-inner{flex-direction:column;text-align:center}
  .cta-btns{justify-content:center}
  .partner-btns{flex-direction:column;align-items:center}
}
