﻿/* NIU Roma Store — palette allineata a global.niu.com (sito intero) */
:root {
  --bg: #ffffff;
  --bg-elev: #f5f5f5;
  --bg-soft: #eeeeee;
  --bg-dark: #000000;
  --ink: #111111;
  --muted: #3d3d3d;
  --line: rgba(0, 0, 0, 0.1);
  --lime: #df001f; /* NIU Global primary red */
  --lime-dim: rgba(223, 0, 31, 0.1);
  --lime-glow: rgba(223, 0, 31, 0.35);
  --niu-red-dark: #ab160f;
  --radius: 4px;
  --max: 1180px;
  --header-h: 64px;
  --font-display: "Barlow Condensed", "DIN Condensed", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--lime);
}

/* Link nel contenuto distinguibili oltre al colore (WCAG 1.4.1) */
main .prose a,
main .lede a,
main .form-note a,
main .checklist a,
main p a:not(.btn):not(.nav-cta):not(.niu-which__card),
.cookie-banner a,
.contact-card a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  outline: 3px solid #111;
  outline-offset: 2px;
}

.skip-link--secondary:focus,
.skip-link--secondary:focus-visible {
  left: 10rem;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header — stile global.niu.com su tutto il sito */
.site-header,
.site-header--global {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.brand--niu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img,
.brand--niu img {
  width: 132px;
  height: auto;
  display: block;
}

.brand-text {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #111;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  color: #242424;
  border-radius: var(--radius);
  transition: color 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #df001f;
  background: transparent;
}

.nav-cta {
  margin-left: 0.5rem;
  background: var(--lime) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 0.55rem 0.95rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem !important;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--lime);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
}

.btn-primary:hover {
  background: var(--niu-red-dark);
  color: #fff;
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  background: #c9c9c9;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.72;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.hero-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 7, 0.25) 0%,
    rgba(7, 7, 7, 0.55) 45%,
    rgba(7, 7, 7, 0.96) 100%
  );
}

.hero-content {
  padding: 5rem 0 3.5rem;
  max-width: 720px;
  animation: rise-in 0.9s var(--ease) both;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1, h2, h3 {
  font-style: italic;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 0.7rem;
}

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head p {
  margin-bottom: 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg));
  border-block: 1px solid var(--line);
}

/* Finder */
.finder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.finder-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

.finder-card:hover,
.finder-card.is-active {
  border-color: var(--lime);
  background: var(--lime-dim);
  transform: translateY(-2px);
}

.finder-card h3 {
  margin-bottom: 0.35rem;
}

.finder-card p {
  margin: 0;
  font-size: 0.95rem;
}

.finder-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--lime);
  background: var(--bg-elev);
  display: none;
}

.finder-result.is-visible {
  display: block;
  animation: fade-up 0.45s var(--ease) both;
}

/* Model grid */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.model-tile {
  position: relative;
  min-height: 280px;
  padding: 0 0 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.model-tile > .tag,
.model-tile > h2,
.model-tile > h3,
.model-tile > p,
.model-tile > .model-meta,
.model-tile > .btn,
.model-tile > .btn-ghost {
  margin-left: 1.35rem;
  margin-right: 1.35rem;
}

.model-tile__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.1rem;
  background: #f0f0f0;
  overflow: hidden;
}

.model-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s var(--ease);
}

.model-tile:hover .model-tile__media img {
  transform: scale(1.04);
}

.model-shot {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f0f0f0;
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
}

.model-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.model-tile::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime-glow), transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}

.model-tile:hover {
  border-color: rgba(200, 241, 53, 0.55);
  transform: translateY(-3px);
}

.model-tile .tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.model-tile h3 {
  margin-bottom: 0.4rem;
}

.model-tile p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.model-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.placeholder-visual {
  aspect-ratio: 16 / 10;
  border: 1px dashed rgba(200, 241, 53, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #0d0d0d 100%);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.placeholder-visual strong {
  display: block;
  color: var(--lime);
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

/* Why / split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.checklist li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime-glow);
}

.checklist li strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  margin-bottom: 0.15rem;
}

/* FAQ */
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--lime);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.85rem 0 0.25rem;
}

/* CTA band */
.cta-band {
  padding: 3.5rem 0;
  background: #000;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin-bottom: 0.4rem;
  color: #fff;
}

.cta-band p {
  margin: 0;
  max-width: 42ch;
  color: #f2f2f2;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.captcha-field {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafafa;
}

.captcha-label {
  display: block;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.captcha-label span {
  display: inline;
}

.captcha-field strong {
  color: #df001f;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.captcha-field input[type="number"] {
  max-width: 180px;
  -moz-appearance: textfield;
}

.captcha-field input[type="number"]::-webkit-outer-spin-button,
.captcha-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-error {
  margin: 0;
  color: #df001f;
  font-size: 0.85rem;
  font-weight: 600;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.4;
}

.privacy-check input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.footer-legal a,
.linkish {
  color: #d0d0d0;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover,
.linkish:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
}

.cookie-banner__inner {
  width: min(100%, 980px);
  margin: 0 auto;
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  color: #fff;
  font-weight: 700;
}

.cookie-banner__text {
  margin: 0;
  color: #f2f2f2;
  font-size: 0.92rem;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.consent-modal[hidden] {
  display: none !important;
}

.consent-modal__panel {
  width: min(100%, 520px);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 1.4rem 1.3rem;
}

.consent-modal__panel h2 {
  margin-top: 0;
}

.consent-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.75rem 0;
  color: var(--ink);
}

.consent-row input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.2rem;
}

.map-consent {
  padding: 1.5rem 1.2rem;
  background: #f3f3f3;
  color: var(--ink);
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 1rem;
}

.map-consent p {
  margin: 0;
  color: var(--ink);
}

.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin: 0.35rem 0;
  color: var(--muted);
}

.prose ol.a11y-howto {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0 0 1.2rem;
}

.prose ol.a11y-howto li {
  margin: 0.45rem 0;
  color: var(--ink);
}

/* --- Accessibility widget --- */
.a11y-widget {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1250;
}

.a11y-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.a11y-fab:hover,
.a11y-fab:focus-visible {
  background: var(--lime);
  color: #fff;
}

.a11y-fab__icon {
  display: block;
  flex-shrink: 0;
}

.a11y-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.65rem);
  width: min(92vw, 340px);
  background: #fff;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.a11y-panel[hidden] {
  display: none !important;
}

.a11y-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.a11y-panel__head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #111;
}

.a11y-close {
  border: 0;
  background: #eee;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.a11y-panel__intro {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #333;
}

.a11y-group {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.a11y-label {
  margin: 0;
  font-size: 0.88rem;
  color: #222;
}

.a11y-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.a11y-toggle {
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #f7f7f7;
  color: #111;
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.a11y-toggle.is-on,
.a11y-toggle[aria-pressed="true"] {
  border-color: var(--lime);
  background: #ffe8eb;
  color: #111;
}

html.a11y-text-lg {
  font-size: 112.5%;
}

html.a11y-text-xl {
  font-size: 125%;
}

html.a11y-contrast {
  --bg: #000;
  --bg-elev: #111;
  --bg-soft: #1a1a1a;
  --ink: #fff;
  --muted: #f0f0f0;
  --line: rgba(255, 255, 255, 0.35);
  background: #000;
  color: #fff;
}

html.a11y-contrast body,
html.a11y-contrast .site-header,
html.a11y-contrast .site-header--global,
html.a11y-contrast .page-home .site-header,
html.a11y-contrast .niu-which,
html.a11y-contrast .niu-models,
html.a11y-contrast .niu-news__card,
html.a11y-contrast .niu-app,
html.a11y-contrast .form-grid,
html.a11y-contrast .captcha-field,
html.a11y-contrast .a11y-panel {
  background: #000 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

html.a11y-contrast a,
html.a11y-contrast p,
html.a11y-contrast h1,
html.a11y-contrast h2,
html.a11y-contrast h3,
html.a11y-contrast label,
html.a11y-contrast .eyebrow,
html.a11y-contrast .site-nav a {
  color: #fff !important;
}

html.a11y-contrast .btn-primary {
  background: #ff2d2d !important;
  color: #fff !important;
}

html.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
}

html.a11y-spacing body {
  letter-spacing: 0.04em;
  word-spacing: 0.12em;
  line-height: 1.8;
}

html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

@media (max-width: 700px) {
  .a11y-widget {
    left: 0.75rem;
    bottom: 0.75rem;
  }

  .a11y-fab {
    width: 3.1rem;
    height: 3.1rem;
  }
}

/* Contact / map */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card a {
  color: var(--lime);
}

.contact-card .btn-primary,
.contact-card .btn-primary:hover {
  color: #fff;
}

.contact-card .btn-ghost,
.contact-card .btn-ghost:hover {
  color: var(--ink);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

/* Specs */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.spec-table th {
  color: var(--muted);
  font-weight: 500;
  width: 40%;
}

.price-note {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.45rem 0.7rem;
  background: var(--lime-dim);
  color: var(--lime);
  font-size: 0.85rem;
  border-radius: var(--radius);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.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;
}

.form-error {
  margin: 0.35rem 0 0;
  color: #ab160f;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-errors {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid #ab160f;
  border-radius: var(--radius);
  background: #fff5f5;
  color: #111;
}

.form-errors[hidden] {
  display: none !important;
}

.form-errors ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ab160f;
  outline-color: #ab160f;
}

.niu-hero__pause {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--line);
}

.breadcrumbs a {
  color: var(--muted);
}

.page-hero {
  padding: 2rem 0 1rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .lede {
  max-width: 52ch;
}

/* Prose pages */
.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1em;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem;
  background: #050505;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.site-footer a {
  color: #a4a9ad;
  display: inline-block;
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: #df001f;
}

.site-footer p {
  font-size: 0.95rem;
  color: #a4a9ad;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #a4a9ad;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-bottom a:hover {
  color: var(--lime);
}

.site-footer a[href*="motospartaco"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Motions */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-lime {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 241, 53, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(200, 241, 53, 0);
  }
}

.btn-primary {
  animation: pulse-lime 2.8s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    display: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.75rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .finder-grid,
  .model-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }
}

@media (max-width: 560px) {
  .finder-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* =========================================================
   HOME — copia speculare di global.niu.com (IT)
   ========================================================= */

.page-home {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #3d3d3d;
  background: #fff;
  color: #111;
}

.page-home .site-header--global {
  height: auto;
  min-height: 64px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.page-home .header-inner {
  height: 64px;
}

.page-home .brand--niu img {
  width: 132px;
  height: auto;
}

.page-home .site-nav a {
  color: #242424;
  font-weight: 600;
  font-size: 0.88rem;
}

.page-home .site-nav a:hover,
.page-home .site-nav a[aria-current="page"] {
  color: #df001f;
  background: transparent;
}

.page-home .nav-toggle {
  border-color: rgba(0, 0, 0, 0.15);
  color: #111;
}

.page-home .nav-cta {
  background: #df001f !important;
  color: #fff !important;
}

.page-home p {
  color: var(--muted);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  color: inherit;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.page-home .eyebrow {
  color: #df001f;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

.page-home .section {
  background: #fff;
  padding: 4.5rem 0;
}

.page-home .section-alt {
  background: #f5f5f5;
}

.page-home .section-head--center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto  ;
  margin-bottom: 2.5rem;
}

.page-home .section-head--center {
  margin-left: auto;
  margin-right: auto;
}

.home-global {
  background: #fff;
}

/* --- HERO SLIDER --- */
.niu-hero {
  position: relative;
  height: min(92vh, 900px);
  min-height: 620px;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.niu-hero__track {
  position: absolute;
  inset: 0;
}

.niu-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.niu-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.niu-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.niu-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.niu-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 0 6.5rem;
  max-width: var(--max);
  margin-inline: auto;
  width: min(100% - 2rem, var(--max));
  color: #fff;
}

.niu-hero__eyebrow,
.page-home .niu-hero__eyebrow {
  color: #fff !important;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.niu-hero h1,
.niu-hero__title {
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.niu-hero__lede,
.page-home .niu-hero__lede {
  color: #fff !important;
  max-width: 38ch;
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.niu-hero .btn-primary {
  background: #df001f;
  border-radius: 2px;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
}

.niu-hero__controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.niu-hero__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
}

.niu-hero__arrow:hover {
  background: #df001f;
  border-color: #df001f;
}

.niu-hero__dots {
  display: flex;
  gap: 0.5rem;
}

.niu-hero__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.niu-hero__dots button.is-active {
  background: #df001f;
  transform: scale(1.15);
}

/* --- WHICH NIU — griglia responsive --- */
.niu-which {
  background: #000;
  color: #fff;
  padding: 4.5rem 0 5rem;
}

.niu-which .section-head h2 {
  color: #fff;
}

.niu-which .eyebrow {
  color: #df001f;
}

.niu-which__slider {
  position: relative;
  display: block;
}

.niu-which__btn,
.niu-which__dots {
  display: none !important;
}

.niu-which__viewport {
  overflow: visible;
  min-width: 0;
}

.niu-which__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  transform: none !important;
}

.niu-which__card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3 / 4;
  color: #fff;
  min-width: 0;
  width: 100%;
}

.niu-which__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.niu-which__card:hover {
  color: #fff;
}

.niu-which__card:hover img {
  transform: scale(1.05);
}

.niu-which__body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 1.2rem 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
}

.niu-which__body h3 {
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  margin: 0 0 0.35rem;
  line-height: 1.15;
}

.niu-which__body p {
  color: #f2f2f2;
  font-size: 0.9rem;
  margin: 0 0 0.7rem;
}

.niu-which__body span {
  color: #ffb3b3;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- WHY NIU split --- */
.niu-why {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 640px;
  background: #1a1a1a;
  color: #fff;
}

.niu-why__media {
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: 100%;
}

.niu-why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  display: block;
  min-height: 520px;
}

.niu-why__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
}

.niu-why__caption h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 0.5rem;
}

.niu-why__caption p:last-child {
  color: #f2f2f2;
  margin: 0;
  max-width: 36ch;
}

.niu-why__panel {
  background: #242424;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
}

.niu-why__panel article h3 {
  color: #fff;
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.niu-why__panel article p {
  color: #a4a9ad;
  margin: 0;
}

.niu-why__awards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.niu-why__awards span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

/* --- COMMUNITY --- */
.niu-community {
  background: #fff;
  padding: 4.5rem 0;
  color: #111;
}

.niu-community h2 {
  color: #111;
}

.niu-community__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.niu-community__stats strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: #111;
  margin-bottom: 0.35rem;
}

.niu-community__stats span {
  color: #5c5c5c;
  font-size: 0.95rem;
}

/* --- APP SECTION --- */
.niu-app {
  background: #f3f3f3;
  padding: 5rem 0;
}

.niu-app__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.niu-app__media {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.niu-app__media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.niu-app__copy,
.niu-community-story__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.niu-app__copy h2 {
  color: #111;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  max-width: 12ch;
}

.niu-app__copy p {
  max-width: 42ch;
}

.niu-community-story {
  background: #111;
  color: #fff;
  padding: 0;
  overflow: hidden;
}

.niu-community-story__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: 560px;
}

.niu-community-story__copy {
  padding: clamp(2.25rem, 5vw, 4.75rem);
  background: #111;
  color: #fff;
}

.niu-community-story__copy h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  max-width: 11ch;
  margin-bottom: 0.85rem;
}

.niu-community-story__copy p {
  color: #f2f2f2;
  max-width: 40ch;
}

.niu-community-story .eyebrow {
  color: #ffb3b3;
}

.niu-community-story__media {
  position: relative;
  min-height: 560px;
  background: #000;
  overflow: hidden;
  border-radius: 0;
}

.niu-community-story__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

/* --- MODELS GRID --- */
.niu-models {
  background: #f7f7f7;
  color: #111;
}

.niu-models h2 {
  color: #111;
}

.niu-models__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.niu-models__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  padding: 0 0 1.15rem;
  text-align: center;
  color: #111;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.niu-models__card:hover {
  color: #111;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.niu-models__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center 40%;
  background: #eee;
  display: block;
  margin: 0;
}

.niu-models__card h3 {
  margin: 0.85rem 0.75rem 0.2rem;
  font-size: 1.1rem;
  color: #111;
  line-height: 1.15;
}

.niu-models__card span {
  display: block;
  margin: 0 0.75rem;
  color: #df001f;
  font-weight: 700;
  font-size: 0.88rem;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

/* --- NEWS --- */
.niu-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.niu-news__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 1.5rem;
}

.niu-news__card time {
  display: block;
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.niu-news__card h3 {
  color: #111;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.niu-news__card p {
  margin-bottom: 1rem;
}

.niu-news__card a {
  color: #df001f;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.niu-news__card a:hover {
  color: #111;
}

.niu-faq-home {
  background: #fff;
}

/* --- FINAL CTA --- */
.niu-final-cta {
  background: linear-gradient(180deg, #1b1b1b 0%, #000 100%);
  color: #fff;
  padding: 5.5rem 0;
  text-align: center;
}

.niu-final-cta h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 18ch;
  margin-inline: auto;
}

.niu-final-cta p {
  color: #f2f2f2;
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.niu-final-cta .btn-row {
  justify-content: center;
}

.btn-ghost--dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost--dark:hover {
  border-color: #df001f;
  color: #df001f;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  width: 148px;
  height: auto;
}

@media (max-width: 1100px) {
  .niu-which__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .niu-which__card {
    aspect-ratio: 4 / 5;
  }

  .niu-models__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .niu-why,
  .niu-app__grid,
  .niu-community-story__grid {
    grid-template-columns: 1fr;
  }

  .niu-why {
    min-height: 0;
  }

  .niu-why__media {
    min-height: 0;
  }

  .niu-why__media img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 42%;
  }

  .niu-why__caption {
    padding: 1.5rem 1.25rem;
  }

  .niu-why__panel {
    padding: 2rem 1.25rem 2.5rem;
  }

  .niu-app__media img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
  }
}

@media (max-width: 700px) {
  .niu-hero {
    min-height: 560px;
    height: 78vh;
  }

  .niu-hero__content {
    padding-bottom: 4.5rem;
  }

  .niu-which {
    padding: 3rem 0 3.5rem;
  }

  .niu-which__track {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .niu-which__card {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

  .niu-which__body {
    padding: 1.1rem 1rem 1rem;
  }

  .niu-which__body h3 {
    font-size: 1.25rem;
  }

  .niu-which__body p {
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
  }

  .niu-why__media img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 38%;
  }

  .niu-why__caption {
    position: relative;
    background: #111;
    padding: 1.35rem 1.1rem 1.5rem;
  }

  .niu-why__caption h2 {
    font-size: 1.85rem;
  }

  .niu-why__caption p:last-child {
    max-width: none;
  }

  .niu-models__grid,
  .niu-news__grid,
  .niu-community__stats {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 960px) {
  .page-home .site-nav {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.08);
    inset: 64px 0 auto 0;
  }
  .page-home .site-nav a {
    color: #242424;
  }
}
