:root {
  --ink: #181a1d;
  --muted: #62676f;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #dedbd2;
  --red: #c83f36;
  --red-dark: #a9312b;
  --teal: #0f7c79;
  --gold: #d5a63c;
  --graphite: #25282d;
  --shadow: 0 24px 60px rgba(24, 26, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Bahnschrift", "Aptos Display", "Segoe UI Variable Display", "Trebuchet MS", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(24, 26, 29, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Bahnschrift", "Segoe UI Variable Display", "Aptos Display", "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(188px, 20vw, 268px);
  height: auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, #c83f36, #0f7c79);
  border-radius: 7px;
  font-size: 0.82rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a,
.header-cta {
  position: relative;
}

.nav a::after,
.header-cta::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  content: "";
}

.nav a:hover::after,
.header-cta:hover::after {
  transform: scaleX(1);
}

.header-cta {
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.38) 43%, rgba(0, 0, 0, 0.08)),
    url("assets/hero-nilocar-esposizione.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-shade {
  background:
    radial-gradient(circle at 20% 35%, rgba(15, 124, 121, 0.26), transparent 28%),
    radial-gradient(circle at 46% 52%, rgba(200, 63, 54, 0.16), transparent 22%),
    linear-gradient(0deg, rgba(24, 26, 29, 0.72), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 36px));
  padding: clamp(86px, 12vh, 132px) 0 clamp(22px, 4vh, 46px);
  margin-left: clamp(18px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-family: "Bahnschrift", "Segoe UI Variable Display", "Aptos Display", "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: 950;
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: "Bahnschrift", "Segoe UI Variable Display", "Aptos Display", "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.18;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.hero-note {
  max-width: 620px;
  padding: 12px 14px;
  margin-bottom: 18px;
  color: var(--white);
  background: rgba(15, 124, 121, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 1.02rem;
  font-weight: 900;
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 150ms ease, background 150ms ease, border 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.button.whatsapp-inline {
  color: var(--white);
  background: #178f55;
}

.button.whatsapp-inline:hover {
  background: #117843;
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: clamp(18px, 3.5vh, 34px) 0 0;
}

.hero-stats div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.hero-stats dt {
  font-size: clamp(1.65rem, 3.4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-strip div {
  padding: clamp(22px, 4vw, 36px) clamp(18px, 4vw, 48px);
  background: var(--white);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.62fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.section-copy {
  max-width: 720px;
}

.section-copy > p,
.section-heading > p,
.inventory .section-heading > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 14px 14px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 16px;
  left: 14px;
  width: 11px;
  height: 18px;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(42deg);
  content: "";
}

.valuation-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-head h3 {
  margin-bottom: 6px;
  font-size: 1.55rem;
}

.form-head p,
.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 800;
}

input:not([type="radio"]),
select,
textarea {
  min-height: 46px;
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid #d4d0c7;
  border-radius: 6px;
  outline: 0;
}

.valuation-form input:not([type="radio"]),
.valuation-form select,
.valuation-form textarea {
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 124, 121, 0.16);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-success {
  padding: 12px 14px;
  margin: 0;
  color: #0d4c49;
  background: rgba(15, 124, 121, 0.12);
  border: 1px solid rgba(15, 124, 121, 0.24);
  border-radius: 8px;
  font-weight: 800;
}

.form-success .success-link {
  display: inline-flex;
  margin-top: 8px;
  color: #0d4c49;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.process {
  color: var(--white);
  background: var(--graphite);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto clamp(28px, 5vw, 58px);
  text-align: center;
}

.section-heading.left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.car-card,
.benefit-list article {
  border-radius: 8px;
}

.step-card {
  min-height: 250px;
  padding: clamp(22px, 4vw, 32px);
  background: #31353b;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-card span {
  display: block;
  margin-bottom: 50px;
  color: var(--gold);
  font-weight: 900;
}

.step-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.benefits {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  background: #fffdf8;
}

.benefit-panel {
  align-self: start;
  position: sticky;
  top: 100px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-list article {
  padding: clamp(20px, 4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.benefit-list p,
.car-card p,
.faq-list p {
  color: var(--muted);
}

.inventory {
  background: var(--white);
}

.practices {
  background: #fffdf8;
}

.practice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-list article {
  min-height: 190px;
  padding: clamp(20px, 4vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  padding: 0 10px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--graphite);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.practice-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.payment-method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  border: 0;
}

.payment-method legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 900;
}

.payment-method label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  background: #fbfaf7;
  border: 1px solid #d4d0c7;
  border-radius: 6px;
}

.payment-method input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.card-fields {
  display: grid;
  gap: 14px;
}

.paypal-panel {
  padding: 14px;
  background: #f1f6f6;
  border: 1px solid rgba(15, 124, 121, 0.22);
  border-radius: 8px;
}

.paypal-button {
  width: 100%;
  color: #18335f;
  background: #ffc439;
}

.paypal-button:hover {
  background: #f3b72d;
}

.car-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.car-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.car-card > div:last-child {
  padding: 20px;
}

.tag {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.car-visual {
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(24, 26, 29, 0.26), transparent 42%),
    linear-gradient(150deg, #f2f0e9, #d8ddd9);
  position: relative;
}

.car-visual::before,
.car-visual::after {
  position: absolute;
  content: "";
}

.car-visual::before {
  left: 16%;
  right: 12%;
  bottom: 38px;
  height: 42px;
  background: var(--graphite);
  border-radius: 34px 42px 12px 12px;
}

.car-visual::after {
  left: 24%;
  right: 24%;
  bottom: 72px;
  height: 36px;
  background: var(--teal);
  border-radius: 38px 38px 4px 4px;
  clip-path: polygon(12% 100%, 28% 0, 72% 0, 90% 100%);
}

.car-visual.suv::after {
  background: var(--red);
  clip-path: polygon(8% 100%, 24% 0, 76% 0, 92% 100%);
}

.car-visual.business::after {
  background: var(--gold);
}

.faq {
  background: var(--paper);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.08rem;
  font-weight: 900;
}

details p {
  max-width: 720px;
  margin-bottom: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 900;
}

.text-link::after {
  margin-left: 8px;
  content: ">";
}

.local-services {
  background: var(--white);
}

.service-cards,
.service-overview-grid,
.detail-grid,
.highlight-grid,
.page-links {
  display: grid;
  gap: 16px;
}

.service-cards,
.service-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card-link,
.detail-box,
.keyword-box {
  display: block;
  padding: clamp(20px, 4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card-link {
  min-height: 230px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card-link:hover {
  border-color: rgba(15, 124, 121, 0.42);
  box-shadow: 0 18px 44px rgba(24, 26, 29, 0.1);
  transform: translateY(-3px);
}

.service-card-link.accent {
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), #0d5f5d);
  border-color: transparent;
}

.service-cards .service-card-link {
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), #0d5f5d);
  border-color: transparent;
}

.service-card-link.accent p {
  color: rgba(255, 255, 255, 0.76);
}

.service-cards .service-card-link p {
  color: rgba(255, 255, 255, 0.76);
}

.service-card-link span,
.detail-box span,
.keyword-box span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 6px;
  font-weight: 950;
}

.service-card-link h3,
.detail-box h3,
.keyword-box h3 {
  margin: 18px 0 10px;
}

.service-card-link p,
.detail-box p,
.keyword-box p,
.page-copy p,
.page-copy li {
  color: var(--muted);
}

.page-hero {
  position: relative;
  min-height: 520px;
  padding: clamp(132px, 17vw, 190px) clamp(18px, 5vw, 72px) clamp(64px, 9vw, 110px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 26, 29, 0.88), rgba(24, 26, 29, 0.62) 55%, rgba(24, 26, 29, 0.25)),
    url("assets/hero-nilocar-esposizione.png") center / cover no-repeat;
}

.page-hero-inner {
  width: min(100%, 900px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.breadcrumb a {
  color: var(--white);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.page-copy {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(26px, 4vw, 42px);
}

.highlight-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  margin-top: clamp(34px, 5vw, 58px);
}

.keyword-box {
  background: var(--white);
}

.page-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 5vw, 48px);
}

.page-links a {
  min-height: 120px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  padding: clamp(40px, 7vw, 70px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  max-width: 450px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

address a,
address span {
  color: rgba(255, 255, 255, 0.75);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #178f55;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(24, 26, 29, 0.28);
  font-weight: 950;
  transition: transform 160ms ease, background 160ms ease;
}

.whatsapp-float:hover {
  background: #117843;
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.live-chat {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 34;
}

.chat-launcher {
  min-height: 50px;
  padding: 0 18px;
  color: var(--white);
  background: var(--graphite);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(24, 26, 29, 0.24);
  cursor: pointer;
  font-weight: 900;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(24, 26, 29, 0.28);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), #0f4f4d);
}

.chat-head strong,
.chat-head span {
  display: block;
}

.chat-head span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

.chat-head button {
  width: 34px;
  height: 34px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 260px;
  padding: 16px;
  overflow-y: auto;
  background: #fbfaf7;
}

.chat-message {
  max-width: 84%;
  padding: 10px 12px;
  margin: 0;
  border-radius: 8px;
  font-size: 0.95rem;
}

.chat-message.agent {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.chat-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--teal);
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-height: 42px;
}

.chat-form button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.chat-whatsapp {
  display: block;
  padding: 12px 14px 14px;
  color: #117843;
  background: var(--white);
  border-top: 1px solid var(--line);
  font-weight: 900;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    margin-left: 18px;
  }

  .quick-strip,
  .split,
  .benefits,
  .practice-layout,
  .highlight-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .steps,
  .car-list,
  .service-cards,
  .service-overview-grid,
  .detail-grid,
  .page-links,
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 88svh;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52)),
      url("assets/hero-nilocar-esposizione.png") 58% center / cover no-repeat;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.05rem);
  }

  .hero-content {
    width: min(100% - 28px, 680px);
    padding-top: 112px;
  }

  .hero-copy {
    margin-bottom: 18px;
    font-size: 1rem;
  }

  .hero-note {
    padding: 10px 12px;
    margin-bottom: 18px;
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats,
  .check-list,
  .form-grid,
  .steps,
  .benefit-list,
  .service-cards,
  .service-overview-grid,
  .detail-grid,
  .page-links,
  .service-list,
  .payment-method,
  .car-list {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 178px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats div {
    display: block;
  }

  .hero-stats dd {
    margin-bottom: 0;
    font-size: 0.82rem;
  }

  .hero-stats dt {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .section {
    padding-block: 56px;
  }

  .page-hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 62px;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .valuation-form {
    padding: 20px;
  }

  .footer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .live-chat {
    right: 14px;
    bottom: 82px;
  }

  .chat-panel {
    bottom: 58px;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-logo {
    width: 152px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-content {
    margin-left: 14px;
    padding-top: 96px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: end;
    gap: 10px;
  }

  .hero-stats dd {
    margin-bottom: 3px;
  }

  .section {
    padding-inline: 14px;
  }

  .chat-panel {
    width: calc(100vw - 28px);
  }
}
