/* =========================================================
   HIFI Vintage Service - style.css
   Versione con documentazione dealer B2B riservata + prezzi netti IVA/trasporto + logo mobile/tablet ingrandito + prezzi netti IVA/trasporto
   ========================================================= */

:root {
  --bg: #f7f3ed;
  --paper: #ffffff;
  --ink: #151515;
  --muted: #665f56;
  --soft: #efe7db;
  --soft-2: #fbf8f2;
  --line: rgba(21, 21, 21, 0.10);
  --gold: #9b6b34;
  --gold-dark: #6f471f;
  --gold-soft: rgba(155, 107, 52, 0.12);
  --dark: #111111;
  --dark-2: #1c1a17;
  --success: #1f6b47;
  --danger: #8e2f2f;
  --shadow: 0 22px 70px rgba(32, 24, 16, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  height: auto;
  text-decoration: none;
  position: relative;
  z-index: 10000;
  overflow: visible;
}

.brand-logo {
  display: block;
  width: 200px;
  height: auto;
  max-width: 200px;
  max-height: 180px;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  position: static;
  transform: none;
  filter: none;
  opacity: 1;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-main {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #151515;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.80rem;
  color: #6f6252;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  position: static;
  width: auto;
  height: auto;
  background: transparent;
}

.site-nav a {
  text-decoration: none;
  color: #2d2a26;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--gold-dark);
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: #151515;
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--gold-dark);
}

.nav-toggle {
  display: none;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #111111, #4a3320);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  color: #221b14;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(90, 70, 45, 0.18);
}

.btn.full {
  width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 0 76px;
  background:
    radial-gradient(circle at 12% 18%, rgba(155, 107, 52, 0.18), transparent 32%),
    linear-gradient(135deg, #fbf8f2 0%, #efe4d4 48%, #ded0bd 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.45), transparent 34%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 760px;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 720px;
  color: #51483f;
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.note-card {
  padding: 18px;
  border: 1px solid rgba(90, 70, 45, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 40px rgba(32, 24, 16, 0.08);
}

.note-card strong,
.note-card span {
  display: block;
}

.note-card strong {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.note-card span {
  color: #62584d;
  font-size: 0.88rem;
  line-height: 1.45;
}

.note-card.highlight {
  border-color: rgba(155, 107, 52, 0.32);
  background: rgba(255, 248, 234, 0.86);
}

.instrument-photo-frame {
  padding: 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(90, 70, 45, 0.14);
  box-shadow: var(--shadow);
}

.instrument-photo-frame img {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.photo-caption {
  margin: 16px 10px 0;
  color: #675d52;
  font-size: 0.9rem;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 88px 0;
}

.muted-section {
  background: var(--soft-2);
}

.dark-section {
  background:
    radial-gradient(circle at top left, rgba(155, 107, 52, 0.28), transparent 36%),
    linear-gradient(135deg, #111111, #1d1a16);
  color: #ffffff;
}

.statement-band {
  padding: 46px 0;
  background: #151515;
  color: #ffffff;
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.statement-grid h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.statement-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-heading.light .eyebrow,
.dark-section .eyebrow {
  color: #d4ae77;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.dark-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(90, 70, 45, 0.12);
  box-shadow: 0 14px 44px rgba(40, 28, 14, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(155, 107, 52, 0.26);
  box-shadow: 0 22px 60px rgba(40, 28, 14, 0.12);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.service-card p {
  color: #5d544b;
}

.price {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--gold-dark) !important;
  font-size: 1.02rem;
  font-weight: 800;
}

.price span {
  display: block;
  margin-top: 4px;
  color: #74695d;
  font-size: 0.78rem;
  font-weight: 600;
}


/* =========================================================
   NOTA PREZZI / IVA / TRASPORTO
   ========================================================= */

.pricing-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(155, 107, 52, 0.10), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(155, 107, 52, 0.22);
  color: #5d544b;
  font-size: 0.94rem;
  line-height: 1.55;
  box-shadow: 0 14px 38px rgba(40, 28, 14, 0.07);
}

.pricing-note strong {
  color: #4a3320;
}

/* =========================================================
   LINK FAC-SIMILE PDF NEI RIQUADRI SERVIZI
   ========================================================= */

.pdf-report-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  color: #4a3320;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.pdf-report-link:hover {
  color: #8a5a24;
  text-decoration: underline;
}

.pdf-report-icon {
  width: 38px !important;
  height: auto !important;
  max-width: 38px !important;
  max-height: 38px !important;
  object-fit: contain !important;
  flex: 0 0 38px !important;
  display: block !important;
}

/* =========================================================
   SEZIONE REPORT COMPARATIVO / DATI COSTRUTTORE
   ========================================================= */

.comparison-section {
  background:
    radial-gradient(circle at top right, rgba(155, 107, 52, 0.14), transparent 34%),
    #f7f3ed;
}

.comparison-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(251, 248, 242, 0.94));
}

.comparison-actions {
  align-items: center;
}

.comparison-pdf-link {
  margin-top: 0;
  padding-top: 0;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.comparison-table th,
.comparison-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(90, 70, 45, 0.12);
  text-align: left;
  vertical-align: middle;
}

.comparison-table th {
  color: #4a3320;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(155, 107, 52, 0.08);
}

.result-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.result-pill.ok {
  color: #1f6b47;
  background: rgba(31, 107, 71, 0.12);
  border: 1px solid rgba(31, 107, 71, 0.22);
}

.result-pill.warning {
  color: #8a5a24;
  background: rgba(155, 107, 52, 0.13);
  border: 1px solid rgba(155, 107, 52, 0.26);
}

.result-pill.ko {
  color: #8e2f2f;
  background: rgba(142, 47, 47, 0.11);
  border: 1px solid rgba(142, 47, 47, 0.22);
}

.comparison-note {
  margin: 18px 0 0;
  color: #6b6258;
  font-size: 0.86rem;
  line-height: 1.55;
}


/* =========================================================
   DOCUMENTAZIONE DEALER B2B RISERVATA
   ========================================================= */

.dealer-doc-box {
  margin-top: 30px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(155, 107, 52, 0.24);
  background:
    radial-gradient(circle at top right, rgba(155, 107, 52, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(32, 24, 16, 0.10);
}

.dealer-label {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dealer-doc-box h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.dealer-doc-box p {
  color: #5d544b;
}

.dealer-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(155, 107, 52, 0.10);
  border: 1px solid rgba(155, 107, 52, 0.18);
  font-size: 0.9rem;
  font-weight: 700;
}

.dealer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* =========================================================
   PANELS / LISTS
   ========================================================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.report-layout {
  align-items: stretch;
}

.feature-panel,
.criteria-card,
.process-grid article,
.setup-panel,
.contact-form {
  border-radius: var(--radius);
  border: 1px solid rgba(90, 70, 45, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 54px rgba(32, 24, 16, 0.09);
}

.feature-panel {
  padding: 32px;
}

.feature-panel h3,
.criteria-card h3,
.process-grid h3 {
  margin-top: 0;
  letter-spacing: -0.025em;
}

.gold-panel {
  background:
    radial-gradient(circle at top right, rgba(155, 107, 52, 0.20), transparent 38%),
    rgba(255, 255, 255, 0.88);
}

.tick-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #52493f;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}

.tick-list.compact li {
  margin-bottom: 10px;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.criteria-card {
  padding: 30px;
}

.criteria-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.criteria-card li {
  margin-bottom: 10px;
  color: #554c42;
}

.criteria-card.good {
  border-color: rgba(31, 107, 71, 0.22);
}

.criteria-card.bad {
  border-color: rgba(142, 47, 47, 0.22);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-grid article {
  padding: 26px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #151515;
  font-size: 0.78rem;
  font-weight: 900;
}

.setup-text {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
}

.setup-text.emphasis {
  color: #ffffff;
  font-weight: 700;
}

.setup-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.equipment-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.equipment-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.equipment-list li:last-child {
  border-bottom: 0;
}

.equipment-list strong {
  color: #ffffff;
}

.equipment-list span {
  color: rgba(255, 255, 255, 0.66);
  text-align: right;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(90, 70, 45, 0.12);
  box-shadow: 0 10px 30px rgba(32, 24, 16, 0.06);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  padding: 0 22px 22px;
  color: #5a5148;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  background:
    radial-gradient(circle at top left, rgba(155, 107, 52, 0.14), transparent 32%),
    #f4eee5;
}

.contact-layout {
  align-items: start;
}

.contact-copy p,
.contact-details p {
  color: #5a5148;
}

.contact-details {
  margin-top: 26px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(90, 70, 45, 0.12);
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-details a {
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  padding: 30px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: #312c26;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(155, 107, 52, 0.52);
  box-shadow: 0 0 0 4px rgba(155, 107, 52, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.checkbox {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600 !important;
  line-height: 1.45;
}

.checkbox input {
  width: auto;
  margin-top: 4px;
}

.checkbox a {
  color: var(--gold-dark);
  font-weight: 800;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}



/* =========================================================
   CAMPI OBBLIGATORI E DATI B2B / RIVENDITORI NEL FORM
   ========================================================= */

.required-mark {
  color: #8e2f2f;
  font-weight: 900;
  margin-left: 3px;
}

.b2b-required-mark {
  display: none;
}

.b2b-required-mark.is-active {
  display: inline;
}

.field-hint {
  display: block;
  margin-top: 4px;
  color: #74695d;
  font-size: 0.78rem;
  font-weight: 500;
}

.form-section {
  margin: 24px 0 18px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(155, 107, 52, 0.08);
  border: 1px solid rgba(155, 107, 52, 0.18);
}

.form-section-title {
  margin: 0 0 16px;
  color: #6f471f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.b2b-section-hint {
  margin-top: -8px;
  margin-bottom: 16px;
}

.form-section.b2b-fields {
  margin: 24px 0 18px;
  padding: 22px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(155, 107, 52, 0.10), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(155, 107, 52, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.form-section.b2b-fields label {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(155, 107, 52, 0.10);
}

.form-section.b2b-fields input,
.form-section.b2b-fields select {
  background: rgba(255, 255, 255, 0.94);
}

/* =========================================================
   COOKIE BANNER / MODAL
   ========================================================= */

.cookie-banner {
  display: none;
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 20000;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-content {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 20, 20, 0.12);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
}

.cookie-title {
  margin: 0 0 4px;
  font-weight: 900;
}

.cookie-text {
  margin: 0;
  color: #5c534a;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-btn {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.82rem;
}

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 21000;
  padding: 20px;
  background: rgba(0, 0, 0, 0.46);
  align-items: center;
  justify-content: center;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-panel {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.cookie-close {
  border: 0;
  background: #f1ece5;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #fbf8f2;
  border: 1px solid rgba(90, 70, 45, 0.12);
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option small {
  margin-top: 4px;
  color: #6b6258;
}

.cookie-option input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.cookie-option.locked {
  opacity: 0.8;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.cookie-legal {
  margin: 18px 0 0;
  color: #6b6258;
  font-size: 0.88rem;
}

.cookie-legal a {
  color: var(--gold-dark);
  font-weight: 800;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 44px 0;
  background: #101010;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer p {
  margin: 0 0 6px;
}

.footer-brand {
  color: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
}

.footer-small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.footer-cookie-link {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d4ae77;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1020px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

  .hero-grid,
  .two-col,
  .statement-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 136px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .header-inner {
    min-height: 128px;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    max-width: calc(100vw - 88px);
    overflow: hidden;
  }

  /* iPad / tablet verticale e smartphone grandi */
  .brand-logo {
    width: 118px !important;
    max-width: 118px !important;
    height: auto !important;
    max-height: 112px !important;
    object-fit: contain !important;
    position: static !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .brand-text {
    overflow: hidden;
  }

  .brand-main {
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.66rem;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #151515;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    position: relative;
    z-index: 10001;
    flex: 0 0 auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    width: auto;
    height: auto;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(20, 20, 20, 0.10);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
    z-index: 10000;
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav a {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
    color: #151515;
    text-decoration: none;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .hero {
    padding: 56px 0 58px;
  }

  .cards-grid,
  .criteria-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .cookie-content {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.8rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions .btn,
  .inline-actions .btn {
    width: 100%;
  }

  .service-card,
  .feature-panel,
  .criteria-card,
  .process-grid article,
  .contact-form {
    padding: 22px;
  }

  .pdf-report-icon {
    width: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    flex-basis: 35px !important;
  }

  .pdf-report-link {
    font-size: 0.88rem;
    gap: 9px;
  }

  .comparison-actions {
    align-items: flex-start;
  }

  .comparison-pdf-link {
    width: 100%;
  }

  .dealer-actions .btn {
    width: 100%;
  }

  .equipment-list li {
    display: block;
  }

  .equipment-list span {
    display: block;
    margin-top: 3px;
    text-align: left;
  }

  .cookie-modal-panel {
    padding: 22px;
  }

  .cookie-modal-actions {
    display: grid;
  }
}

@media (max-width: 430px) {
  html {
    scroll-padding-top: 146px;
  }

  .header-inner {
    min-height: 138px;
  }

  /* iPhone: logo più leggibile, senza toccare iPad */
  .brand-logo {
    width: 128px !important;
    max-width: 128px !important;
    max-height: 122px !important;
  }

  .brand-main {
    font-size: 0.80rem;
  }

  .brand-sub {
    font-size: 0.60rem;
  }
	
}
