/* ==========================================================================
   Veggenti.net – foglio di stile del sito statico
   Palette ricavata dal tema originale (Avada) per mantenere la stessa grafica
   ========================================================================== */
:root {
  --header-bg: #b4c5d8;
  --menu-color: #e94cbf;
  --menu-hover: #015291;
  --text: #343434;
  --text-light: #747474;
  --heading: #333333;
  --red: #e84548;
  --red-dark: #c9373a;
  --blue: #2f75a8;
  --blue-dark: #25608a;
  --blue-deep: #004a80;
  --pink: #f263d3;
  --pink-dark: #d94dba;
  --green: #65bc7b;
  --green-dark: #4fa366;
  --magenta: #ff00ff;
  --footer-bg: #3a4a56;
  --copy-bg: #090816;
  --font-body: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: "Open Sans", Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-btn: "PT Sans", Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: inline-block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--heading); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { background: var(--header-bg); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding-top: 10px; padding-bottom: 10px; }
.logo img { width: 200px; height: auto; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: block; padding: 10px 14px; color: var(--menu-color); font-size: 15px; font-weight: 500; letter-spacing: .2px; }
.main-nav a:hover, .main-nav a:focus, .main-nav a[aria-current="page"] { color: var(--menu-hover); }

@media (max-width: 800px) {
  .site-header .container { min-height: 80px; }
  .logo img { width: 150px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--header-bg); display: none; border-top: 1px solid rgba(255,255,255,.4); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.35); text-align: left; }
}

/* --------------------------------------------------------------------------
   Sezioni
   -------------------------------------------------------------------------- */
.section { padding: 34px 0; }
.section .container { max-width: 900px; }
.section-promo { background: #cfe3f3 url("../../img/bckgnd01-C3x10_COM-blue-32.jpg") center center / cover no-repeat; }
.section-phone { background: linear-gradient(180deg, #fff084 0%, #fff3bc 100%); }
.section-coupon { background: #f8f8f8 url("../../img/bckgnd-pink1-home-V_Net-1920x1080-28.jpg") center center / cover no-repeat; }
.section-trial { background: #d6e8f4 url("../../img/bckgnd-blue1-home-V_Net-1920x1080-30.jpg") center center / cover no-repeat; min-height: 60vh; display: flex; align-items: center; }
.section-contact { background: #f7eaea; }
.section-grey { background: #f4f4f4; }
.section-light { background: #e9f1f7; }
.section-share { background: var(--blue-deep); color: #eee; padding: 50px 0 40px; text-align: center; }

.section-title { text-align: center; font-size: 1.8rem; color: var(--red); text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-body); }
.section-title.blue { color: #015291; text-transform: none; }
.section-title.pink { color: #e71d60; text-transform: none; font-weight: 400; font-size: 2rem; }
.lead { text-align: center; font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.sub { text-align: center; margin-bottom: 16px; }
.small { font-size: .8rem; }
.note-red { color: #ff0000; font-weight: 700; font-size: .8rem; }
.pay-label { color: var(--magenta); font-size: .9rem; margin: 20px 0 4px; text-align: center; }
.phone-img { display: block; margin: 10px auto; width: 100%; max-width: 320px; }
.brand-img { display: block; margin: 16px auto 10px; width: 100%; max-width: 100px; }
.pay-img { display: block; margin: 0 auto; max-width: 320px; width: 100%; }
.pay-img.cc { max-width: 280px; }
.block { text-align: center; margin: 18px 0; }
.block p { margin: 0 0 4px; }

/* Pulsanti */
.btn {
  display: inline-block;
  font-family: var(--font-btn);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 2px;
  padding: 16px 40px;
  line-height: 1.1;
  cursor: pointer;
  transition: background .15s, transform .1s;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
  min-width: 300px;
  text-align: center;
}
.btn:hover, .btn:focus { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn-red { background: var(--red); }
.btn-blue { background: var(--blue); }
.btn-pink { background: var(--pink); }
.btn-green { background: var(--green); }
.btn-purple { background: #7a3aa8; min-width: 0; padding: 12px 28px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; fill: currentColor; }
@media (max-width: 480px) { .btn { min-width: 0; width: 100%; max-width: 320px; } }

/* Griglia 2 colonne */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

/* Share box */
.share-box h2 { color: #eee; font-size: 1rem; font-weight: 400; margin-bottom: 20px; font-family: var(--font-body); }
.share-box a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 24px; margin: 0 20px; color: #fff; }
.share-box a svg { width: 24px; height: 24px; fill: #fff; }
.share-fb { background: #3b5998; }
.share-wa { background: #77e878; }

/* --------------------------------------------------------------------------
   Lista operatrici in tempo reale
   -------------------------------------------------------------------------- */
.operators { max-width: 700px; margin: 0 auto; text-align: center; }
.operators .legend { font-size: .95rem; margin: 6px 0 14px; }
.operators .legend b { margin-right: 4px; }
.operators .legend span { white-space: nowrap; margin: 0 4px; }
.op-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 5px; }
.op-dot.free { background: #2ecc40; }
.op-dot.busy { background: #ff2b2b; }
.op-dot.pause { background: #f5a623; }
.op-group { margin: 14px 0 18px; }
.op-group h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--heading); }
.op-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 10px; list-style: none; padding: 0; margin: 0; text-align: left; }
.op-item { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: #fff; border: 1px solid #e3e8ee; border-radius: 6px; font-size: .95rem; transition: background .4s; }
.op-item.changed { background: #fff8d6; }
.op-item .op-code { color: var(--text-light); font-size: .85rem; margin-left: auto; }
.op-status { font-size: .8rem; color: var(--text-light); margin-top: 10px; }
.op-status .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ecc40; margin-right: 5px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.op-empty { color: var(--text-light); font-style: italic; }

/* --------------------------------------------------------------------------
   Moduli
   -------------------------------------------------------------------------- */
.form { max-width: 560px; margin: 0 auto; }
.form label { display: block; margin-bottom: 14px; }
.form label span.lbl { display: block; font-size: .9rem; margin-bottom: 4px; color: var(--text-light); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d2d2d2; border-radius: 4px; font: inherit; color: var(--text); background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form textarea { min-height: 180px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.form .check input { margin-top: 5px; }
.form .hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form .actions { text-align: center; margin-top: 10px; }
.form .btn-submit { background: #2d2d6b; min-width: 0; padding: 14px 36px; font-size: 15px; }
.form-msg { margin-top: 16px; padding: 12px 16px; border-radius: 4px; display: none; }
.form-msg.ok { display: block; background: #e6f7ea; color: #1e6b32; border: 1px solid #b7e2c2; }
.form-msg.err { display: block; background: #fdecec; color: #a12222; border: 1px solid #f3b9b9; }
.required-note { font-size: .85rem; color: var(--text-light); }

/* --------------------------------------------------------------------------
   Pagine di testo (legali)
   -------------------------------------------------------------------------- */
.legal { max-width: 820px; margin: 0 auto; padding: 30px 16px 50px; }
.legal h1 { font-size: 1.7rem; margin-bottom: 1em; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; border-bottom: 1px solid #e5e5e5; padding-bottom: .3em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1em 0; }
.legal th, .legal td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: #f3f5f8; }
.legal .updated { color: var(--text-light); font-size: .9rem; }
.legal ul { padding-left: 1.3em; }
.legal .box { background: #f6f8fa; border: 1px solid #e3e8ee; border-radius: 6px; padding: 14px 18px; margin: 1em 0; }

/* Appuntamenti */
.promo-list { list-style: none; padding: 0; margin: 10px 0 0; text-align: left; display: inline-block; }
.promo-list li { margin: 4px 0; }
.rule { height: 4px; background: #2b56b5; margin: 0; }
.appt-img { display: block; margin: 10px auto; max-width: 400px; width: 100%; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: #ddd; padding: 40px 0 30px; font-size: 14px; }
.site-footer .container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { border-bottom: 1px solid #4b5b67; }
.site-footer li a { display: block; padding: 10px 0 10px 14px; color: #ddd; position: relative; }
.site-footer li a::before { content: "\203A"; position: absolute; left: 0; color: #aaa; }
.site-footer li a:hover { color: #fff; }
.site-footer .info { font-size: 13px; line-height: 1.7; color: #ddd; }
.site-footer .info button { background: none; border: 0; color: #9fd0ff; cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
.site-footer .wv { text-align: center; }
.site-footer .wv img { width: 170px; height: 170px; }
@media (max-width: 800px) { .site-footer .container { grid-template-columns: 1fr; } }
.copyright { background: var(--copy-bg); color: #ccc; font-size: 13px; text-align: center; padding: 18px 16px; }
.copyright a { color: #fff; }
.copyright .fb { display: inline-block; margin-top: 8px; }
.copyright .fb svg { width: 18px; height: 18px; fill: #aaa; }
.copyright .fb:hover svg { fill: #fff; }
.to-top { position: fixed; right: 16px; bottom: 70px; width: 40px; height: 40px; border-radius: 4px; background: rgba(0,0,0,.6); color: #fff; display: none; align-items: center; justify-content: center; z-index: 90; }
.to-top.show { display: flex; }

/* --------------------------------------------------------------------------
   Cookie banner (nero, testo bianco, pulsanti blu)
   -------------------------------------------------------------------------- */
.cc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: #000; color: #fff;
  padding: 22px 20px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.4);
  font-size: 15px; line-height: 1.5;
  display: none;
}
.cc-banner.show { display: block; }
.cc-banner .cc-inner { max-width: 980px; margin: 0 auto; }
.cc-banner h2 { color: #fff; font-size: 1.05rem; margin: 0 0 8px; font-family: var(--font-body); }
.cc-banner p { margin: 0 0 8px; }
.cc-banner a { color: #fff; text-decoration: underline; }
.cc-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cc-btn {
  flex: 1 1 200px; background: #1a73e8; color: #fff; border: 0; border-radius: 6px;
  padding: 13px 18px; font: inherit; font-weight: 700; cursor: pointer; text-align: center; transition: background .15s;
}
.cc-btn:hover, .cc-btn:focus { background: #1557b0; }
.cc-btn.secondary { background: #2b2b2b; border: 1px solid #555; font-weight: 400; }
.cc-btn.secondary:hover { background: #3a3a3a; }
.cc-prefs { display: none; margin-top: 14px; border-top: 1px solid #333; padding-top: 14px; }
.cc-prefs.show { display: block; }
.cc-cat { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid #222; }
.cc-cat:last-child { border-bottom: 0; }
.cc-cat label { font-weight: 700; display: block; }
.cc-cat small { color: #bbb; display: block; }
.cc-cat input { width: 20px; height: 20px; margin-top: 2px; accent-color: #1a73e8; flex-shrink: 0; }
.cc-reopen { position: fixed; left: 14px; bottom: 14px; z-index: 9990; width: 42px; height: 42px; border-radius: 50%; background: #000; color: #fff; border: 2px solid #1a73e8; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.cc-reopen svg { width: 22px; height: 22px; fill: #fff; }
@media (max-width: 600px) { .cc-banner { font-size: 14px; padding: 16px 14px; max-height: 85vh; overflow: auto; } }
