/* Security Assistant — tema chiaro (coerente con blocco normativa Kartra) */
:root {
  --bg: #ffffff;
  --bg-elevated: #f4f6f9;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-dim: rgba(37, 99, 235, 0.1);
  --success: #16a34a;
  --danger: #dc2626;
  --sa-gold: #d4a012;
  --sa-gold-dark: #b45309;
  --sa-features-bg: #e8eef5;
  --philnet-blue: #0ea5e9;
  --philnet-blue-dark: #0284c7;
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Montserrat", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --section-y: 2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero: stessa larghezza contenuto degli altri blocchi (.wrap → var(--max)) */
.hero.hero--banner {
  padding: 0 0 1rem;
  background: var(--bg);
}

.hero-banner {
  line-height: 0;
  width: 100%;
  max-width: 100%;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.hero-banner-cta {
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.card-with-img {
  padding: 0;
  overflow: hidden;
}
.card-with-img img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
}
.card-with-img .card-body {
  padding: 1.35rem 1.5rem;
}
.card-with-img .card-body h3 {
  margin-top: 0;
}

.img-placeholder {
  background: linear-gradient(135deg, var(--surface-muted) 0%, #eef2f7 100%);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 70%;
}
@media (max-width: 640px) {
  .nav-actions {
    font-size: 0.85rem;
    max-width: 65%;
  }
  .nav-actions a[href^="#"] {
    display: none;
  }
  .nav-actions .btn {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }
}

.nav-actions a[href^="#"] {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-actions a[href^="#"]:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero:not(.hero--banner) {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -30%, var(--accent-dim), transparent),
    var(--bg);
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.section {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.section.alt {
  background: var(--bg-elevated);
}

.section h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.kicker {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.section p.lead {
  color: var(--text-muted);
  margin-top: 0;
  max-width: 65ch;
}

/* Intestazioni di sezione centrate (allineate al blocco confronto / CTA sotto) */
.block-intro-centered {
  text-align: center;
  margin-bottom: 0.5rem;
}

.block-intro-centered .kicker {
  margin-bottom: 0.5rem;
}

.block-intro-centered h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: min(44rem, 100%);
}

.block-intro-centered .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
}

/* Una sola riga sul desktop: usa tutta la larghezza .wrap (non 48rem) */
.block-intro-centered .lead.lead-wide {
  max-width: 100%;
  width: 100%;
}

@media (max-width: 640px) {
  .block-intro-centered .lead.lead-wide {
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
  }
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 700px) {
  .cards.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 4px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid var(--success);
}
.checklist li strong {
  color: var(--text);
}

/* Caratteristiche */
.section--caratteristiche {
  --cat-orange: #f29100;
  --cat-orange-dark: #d97706;
  --cat-navy: #2e2a4f;
}

.caratteristiche-banner {
  margin: 0 0 1.5rem;
  padding: 0.7rem 1.25rem 0.85rem;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--cat-orange);
  border-radius: 6px 6px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
}

.caratteristiche-copy {
  text-align: left;
  max-width: 56rem;
  margin-inline: auto;
}

.caratteristiche-top-split {
  display: grid;
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 560px) {
  .caratteristiche-top-split {
    grid-template-columns: 1fr 1fr;
  }
}

.caratteristiche-block {
  padding: 1.15rem 1.2rem 1.25rem;
  background: linear-gradient(180deg, #fff 0%, var(--surface-muted) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.caratteristiche-block-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--cat-orange) 0%, var(--cat-orange-dark) 100%);
  border-radius: 8px;
  box-shadow: 0 3px 14px rgba(242, 145, 0, 0.35);
}

.caratteristiche-block-title-text {
  line-height: 1.2;
}

.caratteristiche-block-title-icon {
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  font-size: 1.12rem;
  line-height: 1;
  color: var(--cat-orange);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Font Awesome dopo main.css: .fa { display:inline-block } — centra il glifo nel cerchio */
.caratteristiche-block-title-icon.fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}

.caratteristiche-block-title-icon.fa::before {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  margin: 0;
}

.caratteristiche-p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.caratteristiche-p:last-child {
  margin-bottom: 0;
}

.caratteristiche-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.caratteristiche-list li {
  position: relative;
  margin: 0 0 0.35rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

.caratteristiche-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--cat-orange);
}

.caratteristiche-quando {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.caratteristiche-when-heading {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cat-orange);
}

.caratteristiche-when-lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.caratteristiche-when-item {
  margin-bottom: 0.85rem;
}

.caratteristiche-when-item:last-child {
  margin-bottom: 0;
}

.caratteristiche-when-title {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--cat-navy);
}

/* Come funziona: testo a sinistra, diagramma a destra (sfondo: .section.alt) */
.section--come-funziona {
  --cf-orange: #f29100;
  --cf-navy: #2e2a4f;
}

.come-funziona-banner {
  margin: 0 0 1.5rem;
  padding: 0.7rem 1.25rem 0.85rem;
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--cf-orange);
  border-radius: 6px 6px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
}

.come-funziona-grid {
  display: grid;
  gap: 1.75rem 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .come-funziona-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.42fr);
    align-items: center;
  }
}

.come-funziona-copy {
  text-align: left;
}

.come-funziona-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cf-navy);
}

.come-funziona-highlight {
  display: inline-block;
  margin: 0 0.12em;
  padding: 0.08em 0.35em 0.12em;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: var(--cf-orange);
  border-radius: 3px;
}

.come-funziona-sub {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.come-funziona-p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}

.come-funziona-p:last-child {
  margin-bottom: 0;
}

.come-funziona-figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.come-funziona-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.pricing {
  background: linear-gradient(160deg, #ffffff, var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 0;
  max-width: 420px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

/* Due colonne listino: allineate in alto; card prezzo a destra */
.two-col--prezzi {
  align-items: start;
}

@media (min-width: 800px) {
  .two-col--prezzi > div:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .two-col--prezzi .pricing {
    width: 100%;
    max-width: 420px;
  }
}

.prezzi-features-title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}
.pricing .price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.25rem 0;
}

.pricing-headline {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.35rem 0 0.65rem;
  color: var(--text);
}

.pricing-teaser {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.pricing .note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Blocco “Mettiamo a confronto” (grafico PNG) */
.confronto-block {
  margin: 1.75rem 0 2rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.confronto-heading {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sa-gold);
}

.confronto-sub {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 40rem;
  margin-inline: auto;
}

.confronto-figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.confronto-figure img {
  width: 100%;
  max-width: 920px;
  height: auto;
  margin-inline: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.risk-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .risk-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.risk-card {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.risk-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--danger);
}
.risk-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-band {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--accent-dim);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  margin: 1.25rem 0;
}

.cta-band h2 {
  margin-top: 0;
}

/* Form contatti */
.lead-form {
  max-width: 480px;
  margin: 2rem auto 0;
  text-align: left;
  background: var(--surface-muted);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.lead-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}
.lead-form textarea {
  min-height: 100px;
  resize: vertical;
}
.lead-form button[type="submit"] {
  width: 100%;
  margin-top: 0.25rem;
}

.form-alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 520px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  text-align: left;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.form-alert__icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.form-alert__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.form-alert__text,
.form-alert__list {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-alert__list {
  padding-left: 1.1rem;
}

.form-alert--success {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fffb 100%);
  border-color: #86efac;
  color: #14532d;
}

.form-alert--success .form-alert__icon {
  color: #16a34a;
}

.form-alert--success .form-alert__text {
  color: #166534;
}

.form-alert--error {
  background: linear-gradient(180deg, #fef2f2 0%, #fffafa 100%);
  border-color: #fecaca;
  color: #7f1d1d;
}

.form-alert--error .form-alert__icon {
  color: #dc2626;
}

.lead-form__captcha {
  margin: 0.5rem 0 1rem;
  display: flex;
  justify-content: center;
}

.lead-form__consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0.25rem 0 1rem;
  cursor: pointer;
}

.lead-form__consent input[type="checkbox"] {
  width: auto;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
}

.lead-form__consent a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.2);
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__content {
  flex: 1 1 320px;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.cookie-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cookie-banner__btn--primary {
  background: var(--primary, #2563eb);
  color: #ffffff;
  border-color: var(--primary, #2563eb);
}

.cookie-banner__btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cookie-banner__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
}

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page__meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 1.75rem;
}

.legal-section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--surface-muted);
}

.legal-page__back {
  margin-top: 2.5rem;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer .foot-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) {
  .site-footer .foot-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.site-footer h3 {
  color: var(--text);
  font-size: 1rem;
  margin-top: 0;
}

.legal-strip {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  text-align: center;
}

.legal-strip-inner {
  margin: 0;
  line-height: 1.65;
}

.legal-strip-sep {
  margin: 0 0.25rem;
  opacity: 0.55;
}

.legal-strip-year {
  white-space: nowrap;
}

.two-col {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* --- Prodotto: intro + griglia 3 colonne (stile Kartra compatto) --- */
.section--product {
  padding-top: 1.5rem;
  padding-bottom: 0;
}

.sa-intro-full {
  background: #fff;
}

.sa-intro {
  text-align: center;
  padding: 1.1rem 0 1.2rem;
  max-width: 52rem;
  margin-inline: auto;
}

.sa-intro-brand {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sa-gold);
}

.sa-intro-text {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.sa-intro-pull {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.sa-intro-pull-note {
  font-style: italic;
  color: var(--text-muted);
}

.sa-intro-cta {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sa-gold);
}

.sa-features-band {
  background: #fff;
  padding: 1.25rem 0 1.5rem;
  margin-top: 0;
  border-top: none;
}

.sa-features-heading {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--sa-gold);
}

.sa-feature-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sa-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.sa-feature-grid--single {
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .sa-feature-grid--single {
    grid-template-columns: 1fr;
  }
}

.sa-feature-grid--secondary {
  margin-top: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sa-feature-grid--secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.sa-feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 0.85rem 1.1rem;
  text-align: center;
  border: 1px solid #dce4ee;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.sa-feature-card-visual {
  width: 100%;
  min-height: 120px;
  max-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.sa-feature-card-visual img {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sa-feature-card-visual--icon img {
  max-height: 100px;
  border-radius: 8px;
}

.sa-feature-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sa-gold);
  line-height: 1.25;
}

.sa-feature-sub {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.3;
}

.sa-feature-body {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

/* --- Chi siamo (layout tipo sito Philnet / Kartra) --- */
.section--chi-siamo {
  background: var(--bg);
}

.cs-top {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

@media (min-width: 880px) {
  .cs-top {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.42fr);
    gap: 2rem;
    align-items: center;
  }
}

.cs-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.cs-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.cs-title-accent {
  color: var(--philnet-blue);
}

.cs-para {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.cs-para:last-of-type {
  margin-bottom: 0;
}

.cs-top-visual {
  margin: 0;
  padding: 0.75rem;
  background: #f1f5f9;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-top-visual img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 8px;
}

.cs-motto {
  text-align: center;
  padding: 1.75rem 0.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cs-motto-label {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.cs-motto-quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--philnet-blue);
}

.cs-motto-quote em {
  font-style: normal;
}

.cs-certifications {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.cs-certifications-title {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--philnet-blue);
  line-height: 1.3;
}

.cs-certifications-lead {
  margin: 0 auto 0.85rem;
  max-width: 52rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}

.cs-certifications-lead:last-of-type {
  margin-bottom: 1.5rem;
}

.cs-certifications-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 768px) {
  .cs-certifications-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.cs-bottom {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .cs-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.cs-col {
  margin: 0;
}

/* Stessa “cornice” per certificato e partnership (allineamento visivo) */
.cs-col-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  height: 300px;
  margin: 0 auto 0.85rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  box-sizing: border-box;
}

@media (max-width: 420px) {
  .cs-col-media {
    max-width: 100%;
    height: 260px;
  }
}

.cs-col-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 0;
  box-shadow: none;
  display: block;
}

.cs-col-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--philnet-blue);
  line-height: 1.3;
}

.cs-col-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cs-find-us {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.cs-find-us-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--philnet-blue);
  line-height: 1.3;
}

.cs-find-us-intro {
  margin: 0 auto 1.1rem;
  max-width: 44rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* nav: evita regole UA su ul/li (punti elenco, stack verticale) */
.cs-find-links {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem 0.5rem 0.65rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.65rem, 2vw, 1.35rem);
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.cs-find-link {
  box-sizing: border-box;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 5.75rem;
  max-width: none;
  margin: 0;
  text-align: center;
  text-decoration: none;
  color: var(--philnet-blue);
}

.cs-find-link:hover .cs-find-label {
  text-decoration: underline;
}

.cs-find-icon {
  width: 5.35rem;
  height: 5.35rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  color: var(--philnet-blue);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

/*
 * Font Awesome 4 dopo main.css: .fa usa display:inline-block e font:…14px…
 * (stessa specificità di .cs-find-icon → vince l’ordine e annulla il grid).
 * Due classi + display grid qui = icone ::before centrate nel cerchio.
 */
.cs-find-icon.fa {
  box-sizing: border-box;
  position: relative;
  font-family: FontAwesome;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  /* batte .fa { display: inline-block } caricato dopo main.css */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cs-find-icon.fa::before {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  margin: 0;
}

.cs-find-link:hover .cs-find-icon {
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.cs-find-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  font-family: var(--font);
  hyphens: auto;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* --- Blocco “Che cosa rischia chi viola…” (stile tipo Kartra, fascia chiara) --- */
.normativa-kartra {
  --nk-text: #1e293b;
  --nk-muted: #64748b;
  --nk-orange: #f59e0b;
  --nk-orange-dark: #d97706;
  --nk-bg: var(--bg-elevated);
  --nk-card-border: #f59e0b;

  font-family: var(--font);
  background: var(--nk-bg);
  color: var(--nk-text);
  padding: 2rem 0 2.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.normativa-kartra-inner {
  max-width: 1000px;
}

.normativa-kartra-title {
  text-align: center;
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.normativa-kartra-title-a {
  color: var(--nk-text);
}

.normativa-kartra-title-b {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2em 0.55em;
  background: linear-gradient(180deg, var(--nk-orange) 0%, var(--nk-orange-dark) 100%);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  font-style: italic;
}

.normativa-kartra-split {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .normativa-kartra-split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.normativa-kartra-lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.65;
  margin: 0;
  color: var(--nk-text);
  font-weight: 500;
}

.normativa-kartra-lead strong {
  font-weight: 700;
}

.normativa-kartra-mark {
  display: inline;
  padding: 0.12em 0.35em;
  margin: 0 0.08em;
  background: linear-gradient(180deg, var(--nk-orange) 0%, var(--nk-orange-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-style: italic;
  border-radius: 3px;
  white-space: nowrap;
}

.normativa-kartra-sub {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--nk-muted);
  font-style: italic;
}

.normativa-kartra-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(44, 62, 80, 0.12);
}

.normativa-kartra-photo img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Riga regolamenti: immagine composita responsive */
.normativa-kartra-cards--strip {
  display: block;
  width: 100%;
}

.normativa-kartra-strip-figure {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.normativa-kartra-strip-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 2px solid var(--nk-card-border);
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.06);
}
