/* ============================================================
   Computer Up — Restyling "pulito e moderno"
   Palette: navy + teal (accento unico), sfondo neutro chiaro
   Tipografia: Poppins (titoli) + Inter (testo)
   ============================================================ */

:root {
  --brand-dark: #0b3d5c;
  --brand: #146a94;
  --brand-light: #29a8e0;
  --gray-bg: #f7f9fb;
  --text: #1f2933;
  --muted: #5a6672;
  --white: #ffffff;
  --navy-card: #071822;
  --navy-ticker: #010f18;
  --navy-border: #1a2b36;
  --teal: #4abba1;
  --teal-dark: #00896d;
  --teal-deep: #0d7a63;
  --teal-tint: #e6f6f2;
  --border: #e3e9ee;
  --shadow-sm: 0 1px 3px rgba(11, 61, 92, 0.08);
  --shadow-md: 0 6px 20px rgba(11, 61, 92, 0.10);
  --shadow-lg: 0 14px 34px rgba(11, 61, 92, 0.16);
  --radius: 12px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--gray-bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

/* Sfondo unico e neutro per tutte le pagine, con texture puntinata leggerissima */
body[class^="page-"] {
  background-color: var(--gray-bg);
  background-image: radial-gradient(rgba(11, 61, 92, 0.035) 1px, transparent 1.5px);
  background-size: 18px 18px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--teal-dark); text-decoration: underline; }

/* ---------- Header ---------- */

header.site-header {
  background: transparent;
  padding: 24px 24px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card {
  width: 100%;
  max-width: 1100px;
  background: var(--navy-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.ticker {
  padding: 8px 0;
  background: var(--navy-ticker);
  border-bottom: 1px solid var(--navy-border);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}

.ticker-track span {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
  text-transform: uppercase;
  padding: 0 20px;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.brand-row {
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 28px;
}

.brand-icon rect:first-child,
.brand-icon path,
.brand-icon line {
  stroke: var(--teal);
}
.brand-icon rect:nth-child(2) {
  fill: var(--teal);
}

.brand-row:hover { text-decoration: none; }

.brand-name {
  font-size: 28px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name .c1 {
  font-family: 'Rubik Distressed', cursive;
  font-weight: 400;
  color: var(--white);
}
.brand-name .c2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--teal);
}

nav.main-nav {
  background: var(--navy-border);
  padding: 6px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: var(--white);
  padding: 10px 16px;
  display: block;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--teal-dark);
  color: var(--white);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 70%, #1b7fae 100%);
  color: var(--white);
  padding: 84px 24px;
  text-align: center;
  overflow: hidden;
  margin: 16px 24px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Pattern geometrico sottile */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* Forma decorativa teal */
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 187, 161, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  margin: 0 0 14px;
}

.hero h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  border: none;
  margin: 0 0 14px;
}

.hero p {
  font-size: 1.15rem;
  color: #d9e9f4;
  max-width: 640px;
  margin: 0 auto;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Bottoni ---------- */

.btn {
  display: inline-block;
  padding: 13px 32px;
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 137, 109, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  background: var(--teal-deep);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 137, 109, 0.45);
}

.hero .btn { margin-top: 0; }
.hero > .btn { margin-top: 30px; }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  box-shadow: none;
}

/* ---------- Struttura ---------- */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

section + section { margin-top: 72px; }

main h1 {
  color: var(--brand-dark);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  margin: 0 0 18px;
}
main h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--teal);
}

h2 {
  color: var(--brand-dark);
  font-size: 1.7rem;
  border-bottom: 3px solid var(--teal);
  padding-bottom: 8px;
  display: inline-block;
  margin-top: 0;
}

/* ---------- Card ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-top: 0;
  color: var(--brand-dark);
  font-size: 1.12rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Icone dentro cerchio teal */
.icon-card .value-icon {
  width: 56px;
  height: 56px;
  padding: 12px;
  border-radius: 50%;
  background: var(--teal-tint);
  margin-bottom: 14px;
}
.value-icon { stroke: var(--teal-dark); }

/* ---------- Sezione fondatore ---------- */

.founder-section {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.founder-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--teal);
  box-shadow: var(--shadow-md);
}

.founder-text { flex: 1; min-width: 240px; }

/* ---------- Statistiche ---------- */

.stat-section {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-card), #0d2c3f);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
}

.stat-label {
  color: #9fb3c0;
  margin-top: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Galleria / placeholder ---------- */

.placeholder-box {
  background: var(--white);
  border: 2px dashed #c3cdd6;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 12px;
  transition: border-color 0.2s ease;
}
.placeholder-box:hover { border-color: var(--teal); }

/* ---------- Contatti ---------- */

.contact-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-top: 20px;
}

.contact-info p { margin: 8px 0; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--navy-card);
  color: #9fb3c0;
  text-align: center;
  padding: 44px 24px 36px;
  font-size: 0.9rem;
  margin-top: 72px;
}

footer.site-footer a { color: var(--teal); }
footer.site-footer a:hover { color: var(--white); }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.footer-brand .brand-icon { width: 26px; height: 26px; }
.footer-brand .brand-name { font-size: 20px; }

/* ---------- Ritratto ---------- */

.portrait {
  float: right;
  max-width: 200px;
  width: 40%;
  height: auto;
  border-radius: var(--radius);
  margin: 0 0 16px 24px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .portrait { float: none; width: 60%; margin: 0 auto 16px; display: block; }
}

/* ---------- Avvisi ---------- */

.notice {
  background: #fdf8ec;
  border: 1px solid #ecdcb0;
  border-left: 4px solid #d9b24a;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #7a5b12;
}

/* ---------- Accordion servizi ---------- */

.accordion { margin-top: 28px; }

.accordion details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.accordion details:hover { box-shadow: var(--shadow-md); }
.accordion details[open] { border-left: 4px solid var(--teal); }

.accordion summary {
  cursor: pointer;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--brand-dark);
  padding: 15px 0;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::before {
  content: "+";
  display: inline-block;
  width: 22px;
  color: var(--teal-dark);
  font-weight: 700;
}

.accordion details[open] summary::before { content: "\2212"; }

.accordion details p {
  margin: 0 0 18px 22px;
  color: var(--muted);
}

/* ---------- Schede servizi ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card .value-icon {
  width: 52px;
  height: 52px;
  padding: 11px;
  border-radius: 12px;
  background: var(--teal-tint);
  stroke: var(--teal-dark);
  margin-bottom: 14px;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.service-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card li {
  position: relative;
  padding: 5px 0 5px 26px;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid #f0f3f6;
}
.service-card li:last-child { border-bottom: none; }

.service-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--teal-dark);
  font-weight: 700;
}

.service-cta {
  margin-top: 48px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 24px;
}
.service-cta p { max-width: 560px; margin: 0 auto 4px; color: var(--muted); }
.service-cta .btn { margin-top: 18px; }

/* ---------- Tabella prezzi servizi ---------- */

.table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 720px;
}

.price-table th,
.price-table td {
  padding: 13px 16px;
  text-align: center;
  border-bottom: 1px solid #f0f3f6;
}

.price-table thead th {
  background: var(--navy-card);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-table th small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--teal);
  text-transform: none;
  letter-spacing: 0;
}

.price-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--brand-dark);
}

.price-table tbody tr:last-child td,
.price-table tbody tr:last-child th { border-bottom: none; }
.price-table tbody tr:hover { background: var(--teal-tint); }

.price-table .std { font-weight: 700; color: var(--brand-dark); }
.price-table .pkg { color: var(--teal-deep); font-weight: 600; }
.price-table .time { color: var(--muted); }

/* ---------- Prezzi ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-light);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-top-color: var(--teal-dark);
  box-shadow: var(--shadow-lg);
  transform: scale(1.045);
  z-index: 1;
}
.price-card.featured:hover {
  transform: scale(1.045) translateY(-4px);
}

.price-card .save-badge {
  display: inline-block;
  background: #e8f7ee;
  color: #1d7a3f;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 10px 0 6px;
}

.price-card .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card .hours-badge {
  display: inline-block;
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.price-card .price {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.1;
}

.price-card .iva-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.price-card .rate {
  font-weight: 700;
  color: var(--teal-deep);
  padding: 6px 0;
  border-top: 1px solid #f0f3f6;
  border-bottom: 1px solid #f0f3f6;
  margin-bottom: 4px;
}
.price-card .rate small { font-weight: 500; color: var(--muted); text-decoration: line-through; }

.price-card h3 { color: var(--brand-dark); margin: 6px 0 12px; }
.price-card p { color: var(--muted); font-size: 0.93rem; }

.price-footnote {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Animazioni allo scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  header.site-header { padding: 14px 10px 6px; }
  .brand-row { padding: 16px 14px; gap: 10px; }
  .brand-name { font-size: 22px; }
  main { padding-left: 14px; padding-right: 14px; padding-top: 44px; }
  section + section { margin-top: 52px; }
  .hero { margin: 10px 10px 0; padding: 56px 18px; }
  footer.site-footer { padding-left: 14px; padding-right: 14px; }
  .founder-section { flex-direction: column; text-align: center; padding: 24px 18px; }
}

/* ============================================================
   Aggiunte SEO / accessibilità / nuove sezioni
   ============================================================ */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--teal-dark);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

a:focus-visible,
.btn:focus-visible,
summary:focus-visible,
.table-wrap:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 3px;
}

.lead { font-size: 1.12rem; color: var(--text); }
.center { text-align: center; }
.cta-sub { margin-top: 18px; }

.hero-kicker {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem !important;
  color: var(--teal) !important;
  margin: 0 auto 10px !important;
}
.hero-cta { margin-bottom: 0; }

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border: 2px solid var(--teal-dark);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--teal-tint); color: var(--teal-deep); box-shadow: none; }

/* Breadcrumb */
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: -24px 0 28px;
  padding: 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "\203A"; margin: 0 6px; color: #9aa7b2; }
.breadcrumb li[aria-current] { color: var(--text); }

/* Passi "come lavoro" */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.steps h3 { color: var(--brand-dark); font-size: 1.12rem; margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.stat-section .stat-value { font-size: 1.7rem; }

/* Liste con spunta */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 28px; }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 6px;
  color: var(--teal-dark);
  font-weight: 700;
}

/* Contatti */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
}
.contact-card .value-icon {
  width: 48px; height: 48px;
  padding: 11px;
  border-radius: 12px;
  background: var(--teal-tint);
}
.contact-card h2 {
  font-size: 1.1rem;
  border: none;
  padding: 0;
  margin: 10px 0 6px;
  display: block;
}
.contact-card address { font-style: normal; }
.contact-big { font-size: 1.15rem; font-weight: 600; word-break: break-word; }

/* Blog */
.blog-card h3 a { color: var(--brand-dark); }
.blog-card h3 a:hover { color: var(--teal-deep); }
.article-meta { font-size: 0.86rem; color: var(--muted); }

.article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px clamp(20px, 5vw, 56px);
}
.article-header { margin-bottom: 8px; }
.article h2 {
  font-size: 1.35rem;
  border-bottom: none;
  padding-bottom: 0;
  display: block;
  margin: 34px 0 10px;
}
.article li { margin-bottom: 6px; }
kbd {
  font-family: Consolas, monospace;
  font-size: 0.85em;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 6px;
}
.article-cta {
  margin-top: 40px;
  background: var(--teal-tint);
  border-left: 4px solid var(--teal-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.article-cta h2 { margin-top: 0; }

/* FAQ e CTA servizi: titoli h2 senza sottolineatura */
.service-cta h2 { border: none; display: block; font-size: 1.35rem; padding: 0; }

/* Pagine legali */
.legal h2 { font-size: 1.25rem; border: none; padding: 0; display: block; margin: 30px 0 8px; }

/* Footer a colonne */
.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: left;
}
.footer-grid .footer-brand { justify-content: flex-start; }
.footer-title {
  font-size: 0.95rem;
  color: var(--white);
  border: none;
  padding: 0;
  margin: 4px 0 12px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer address strong { color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-bottom {
  max-width: 1000px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--navy-border);
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .breadcrumb ol { margin-top: -12px; }
  .article { padding: 28px 18px; }
}

/* Titoli-link nelle card e link "scopri" */
.card h3 a,
.service-card h3 a { color: var(--brand-dark); }
.card h3 a:hover,
.service-card h3 a:hover { color: var(--teal-deep); }
.service-card .card-link { margin: auto 0 0; padding-top: 12px; font-weight: 600; }
.steps-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Card servizio in evidenza (siti internet) a tutta larghezza */
.service-card.service-featured {
  grid-column: 1 / -1;
  border-top: 4px solid var(--teal-dark);
  background: linear-gradient(135deg, var(--white) 60%, var(--teal-tint));
}
.service-featured ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  column-gap: 28px;
}
.new-badge {
  align-self: flex-start;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ---------- Modulo richiesta assistenza ---------- */

.request-form {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 4vw, 40px);
}
.form-step {
  border: none;
  margin: 0 0 34px;
  padding: 0;
  min-width: 0;
}
.form-step legend {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-dark);
  margin-bottom: 14px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 0.9rem;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field[hidden] { display: none; }
.field label, .field-label { font-weight: 600; font-size: 0.93rem; color: var(--text); margin: 0; }
.field-hint { font-size: 0.85rem; color: var(--muted); margin: -6px 0 12px; }
.req { color: #c0392b; }

.request-form input[type="text"],
.request-form input[type="email"],
.request-form input[type="tel"],
.request-form textarea {
  font: inherit;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #c9d3dc;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.request-form textarea { resize: vertical; min-height: 140px; }
.request-form input:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(0, 137, 109, 0.18);
}
.request-form input:user-invalid,
.request-form textarea:user-invalid { border-color: #c0392b; }

/* Card selezionabili (radio e checkbox) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}
.choice-grid-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.choice-card { position: relative; cursor: pointer; display: block; }
.choice-card input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.choice-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.choice-grid-2 .choice-body { flex-direction: row; align-items: center; gap: 12px; }
.choice-card:hover .choice-body { border-color: var(--teal); }
.choice-card input:checked + .choice-body {
  border-color: var(--teal-dark);
  background: var(--teal-tint);
  box-shadow: var(--shadow-sm);
}
.choice-card input:focus-visible + .choice-body { outline: 3px solid var(--brand-light); outline-offset: 2px; }
.choice-card input[type="checkbox"] + .choice-body::after {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid #c3cdd6;
  background: var(--white);
}
.choice-card input[type="checkbox"]:checked + .choice-body::after {
  content: "\2713";
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.choice-icon {
  width: 34px; height: 34px;
  padding: 6px;
  border-radius: 10px;
  background: var(--teal-tint);
  stroke: var(--teal-dark);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.choice-grid-2 .choice-icon { margin-bottom: 0; }
.choice-card input:checked + .choice-body .choice-icon { background: var(--white); }
.choice-title { font-weight: 600; color: var(--brand-dark); padding-right: 22px; line-height: 1.3; }
.choice-desc { font-size: 0.84rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* Pulsanti a pillola per la modalità */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span {
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.93rem;
  transition: all 0.2s ease;
}
.pill:hover span { border-color: var(--teal); }
.pill input:checked + span { border-color: var(--teal-dark); background: var(--teal-dark); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--brand-light); outline-offset: 2px; }

.check-field { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 0.93rem; cursor: pointer; }
.check-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-dark); flex-shrink: 0; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-actions .field-hint { margin: 0; }
.request-form button.btn { border: none; cursor: pointer; font-family: inherit; }
.request-form button.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius); font-weight: 500; }
.form-status.error { background: #fdecea; border: 1px solid #f5c2bc; color: #8a2a1f; }

/* Voce di menu in evidenza */
nav.main-nav a.nav-cta { background: var(--teal); color: var(--navy-card); font-weight: 600; }
nav.main-nav a.nav-cta:hover,
nav.main-nav a.nav-cta.active { background: var(--white); color: var(--navy-card); }

@media (max-width: 640px) {
  .choice-body { padding: 12px; }
  .choice-desc { font-size: 0.8rem; }
}

/* ---------- Etichette e fonti del blog ---------- */
.post-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-deep);
  margin-bottom: 8px;
}
.post-tag-news { background: #e8f1fb; color: var(--brand); }
.article-source {
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--muted);
}
.compare-table { min-width: 560px; }
.compare-table td { text-align: left; }

/* Riquadro di benvenuto nella pagina contatti */
.contact-welcome {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 32px 24px 16px;
}
.contact-welcome img,
.contact-welcome .welcome-illustration {
  width: 300px;
  max-width: 42%;
  height: auto;
  flex-shrink: 0;
}
.contact-welcome-text h2 {
  font-size: 1.35rem;
  border: none;
  padding: 0;
  display: block;
  margin: 0 0 8px;
}
.contact-welcome-text p { color: var(--muted); margin: 0 0 18px; }
.contact-welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 640px) {
  .contact-welcome { flex-direction: column; text-align: center; padding: 20px 18px; gap: 12px; }
  .contact-welcome img,
  .contact-welcome .welcome-illustration { max-width: 260px; width: 85%; }
  .contact-welcome-actions { justify-content: center; }
}

.contact-note { font-size: 0.85rem; color: var(--muted); margin: 4px 0 0; }

/* Griglia a due colonne larghe (notizie del blog) */
.grid-2x2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

/* Illustrazione in testa agli articoli del blog */
.article-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0 0 28px;
}

/* Copertine delle card del blog */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card-cover {
  display: block;
  margin: -26px -24px 18px;
  overflow: hidden;
  background: #071822;
}
.blog-card-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-cover img { transform: scale(1.05); }
.blog-card .post-tag { align-self: flex-start; }
.blog-card .article-meta { margin-top: auto; margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .blog-card-cover img { transition: none; }
  .blog-card:hover .blog-card-cover img { transform: none; }
}
.blog-card h3 { margin: 0 0 10px; }
.blog-card > p:not(.article-meta) { margin: 0 0 16px; }
