:root {
  --bg: #050816;
  --bg-alt: #0f172a;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-strong: #22c55e;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-btn: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --shadow-card: 0 28px 56px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 32px 64px rgba(0, 0, 0, 0.5);
  --gradient-bikes: linear-gradient(135deg, #22c55e, #0ea5e9);
  --gradient-watches: linear-gradient(135deg, #f97316, #ec4899);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%, #000 100%);
  color: var(--text);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

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

a:hover {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.95),
      rgba(15, 23, 42, 0.6),
      transparent
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header-brand {
  flex: 1 1 auto;
}

.header-brand a {
  color: inherit;
}

.lang-wrap {
  flex-shrink: 0;
}

.lang-select {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text);
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.75rem;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent);
  outline: none;
}

/* ---------- Design system: section, hero, card, button ---------- */
.section {
  padding: 3.5rem 0;
}
.hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 3rem;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color 0.25s ease;
}
.button-primary,
.btn-cta:not(.secondary):not(.btn-whatsapp) {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: #020617;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.button-primary:hover,
.btn-cta:not(.secondary):not(.btn-whatsapp):hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}
.button-secondary,
.btn-cta.secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-btn);
  font-weight: 500;
  transition: background 0.25s ease, color 0.2s ease, transform 0.2s ease;
}
.button-secondary:hover,
.btn-cta.secondary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw + 1.5rem, 4rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-inner {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-inner {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.5) 40%, transparent 70%);
  pointer-events: none;
}

.img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.img-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  flex: 1 1 auto;
  transition: transform 0.4s ease;
}
.img-card:hover img {
  transform: scale(1.05);
}

.img-card figcaption {
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.main-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
}

.main-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  padding: 0.65rem 0 0.75rem;
  font-size: 0.86rem;
}

.main-nav a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  transition: background 0.16s ease-out, color 0.16s ease-out,
    border-color 0.16s ease-out, transform 0.12s ease-out;
}

.main-nav a:hover {
  color: #e5e7eb;
  border-color: rgba(34, 197, 94, 0.7);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

.main-nav a.nav-primary {
  color: #e5e7eb;
  border-color: rgba(34, 197, 94, 0.9);
  background: rgba(34, 197, 94, 0.12);
}

.main-nav-inline {
  border: none;
  background: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  font-size: 0.88rem;
}

.main-nav-inline a {
  padding: 0.35rem 0.6rem;
}

.nav-search {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.25rem;
}

.nav-search input[type="search"] {
  width: min(35vw, 260px);
  height: 36px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.78);
  color: var(--text);
  font: inherit;
}

.nav-search input[type="search"]::placeholder {
  color: var(--muted);
}

.nav-search-btn {
  height: 36px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.65);
  background: rgba(34, 197, 94, 0.14);
  color: #e5e7eb;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.16s ease-out, background 0.16s ease-out, transform 0.12s ease-out;
}

.nav-search-btn:hover {
  border-color: rgba(34, 197, 94, 0.95);
  background: rgba(34, 197, 94, 0.2);
  transform: translateY(-1px);
}

/* Nav toggle (mobile hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:hover {
  border-color: var(--accent);
}

/* Nav dropdowns */
.nav-dropdown {
  position: relative;
}
.nav-language {
  margin-left: auto;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  font-size: inherit;
  font-family: inherit;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.16s ease-out, border-color 0.16s ease-out, background 0.16s ease-out;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus {
  color: var(--text);
  outline: none;
}
.nav-dropdown-trigger::after {
  content: "";
  margin-left: 0.35rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  padding: 2px;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-dropdown-open .nav-dropdown-trigger::after {
  transform: rotate(-135deg);
}
.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 160px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}
.nav-language .nav-dropdown-menu {
  left: auto;
  right: 0;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu li {
  margin: 0;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-dropdown-menu a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.brand-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.site-title {
  font-size: clamp(2.1rem, 3.1vw + 1rem, 2.9rem);
  letter-spacing: 0.04em;
  margin: 0;
}

.site-subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 32rem;
}

main {
  flex: 1;
}

/* Scroll reveal (JS adds .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox (gallery click to enlarge) */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 6, 23, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.gallery-lightbox img {
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal.is-visible { opacity: 1; }
  .catalog-card:hover,
  .bike-stock-card:hover,
  .card-hover:hover { transform: none; }
  .catalog-card-image img,
  .bike-stock-card .bike-stock-image img { transition: none; }
}

.section {
  padding: 3.5rem 0;
}

.section-accent {
  position: relative;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(34, 197, 94, 0.25),
    transparent 55%
  );
  opacity: 0.45;
  pointer-events: none;
}

.section-accent .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.35rem);
  font-weight: 700;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-intro {
  margin: 0 0 2rem;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 34rem;
}

.list-content {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 1.5rem;
  color: var(--text);
}
.list-content li {
  margin-bottom: 0.6rem;
  max-width: 42rem;
}
.list-content li strong { color: var(--accent); }

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem;
  background: radial-gradient(circle at top left, #0f172a, #020617 65%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out, background 0.18s ease-out;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top left,
    rgba(34, 197, 94, 0.24),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease-out;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px) translateZ(0);
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 1);
}

.card:hover::before {
  opacity: 1;
}

.language-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.language-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  margin-top: 1.4rem;
}

.two-column h3 {
  margin: 0 0 0.5rem;
}

.two-column p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--muted);
}

/* Service cards (home – 3 colonne tipo Dieffe) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Officina: 4 card in layout simmetrico 2x2 centrato */
.service-grid-two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
}

/* Featured bikes grid */
.section-featured-bikes .section-intro {
  margin-bottom: 2rem;
}
.bike-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.bike-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
}
.bike-card-link {
  display: block;
  color: inherit;
}
.bike-card-link:hover {
  color: inherit;
}
.bike-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.bike-card:hover img {
  transform: scale(1.08);
}
.bike-card-content {
  padding: 1.25rem 1.25rem 1.5rem;
}
.bike-category {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.bike-card-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}
.bike-card-content .btn-cta {
  margin: 0;
}

/* Brands section */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.brand-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.brand-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.brand-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.brand-card:hover .brand-card-image img {
  transform: scale(1.05);
}
.brand-card-content {
  padding: 2rem;
}
.brand-card-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}
.brand-card-content p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Bike disponibili / product grid */
.section-bike-stock .section-intro {
  margin-bottom: 2rem;
}
.bike-stock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.bike-stock-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.bike-stock-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
  border-color: rgba(34, 197, 94, 0.4);
}
.bike-stock-card .bike-stock-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.bike-stock-card .bike-stock-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bike-stock-card:hover .bike-stock-image img {
  transform: scale(1.1);
}
.bike-stock-card .bike-stock-body {
  padding: 1.35rem 1.4rem;
}

/* Premium bike card: large image, minimal text */
.premium-bike-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color 0.25s ease;
}
.premium-bike-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(34, 197, 94, 0.4);
}
.premium-bike-card .premium-bike-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.premium-bike-card .premium-bike-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-bike-card:hover .premium-bike-image img {
  transform: scale(1.08);
}
.premium-bike-card .premium-bike-body {
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.premium-bike-card .premium-bike-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.premium-bike-card .premium-bike-body .btn-cta {
  margin-top: 0.75rem;
}

/* Brand showcase: large visuals */
.brand-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}
.brand-showcase-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.brand-showcase-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.brand-showcase-item .brand-showcase-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.brand-showcase-item .brand-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.brand-showcase-item:hover .brand-showcase-image img {
  transform: scale(1.05);
}
.brand-showcase-item .brand-showcase-content {
  padding: 2rem;
}
.brand-showcase-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.brand-showcase-item p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}
.bike-stock-card .bike-category {
  margin-bottom: 0.4rem;
}
.bike-stock-card .bike-stock-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}
.bike-spec {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.4;
}
.bike-stock-card .btn-cta {
  margin: 0;
}

/* Catalog page: filters + grid */
.catalog-filters-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.catalog-filters-row .catalog-filters {
  margin-bottom: 0;
}
.catalog-filters .filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.catalog-filters .filter-btn:hover,
.catalog-filters .filter-btn.is-active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.catalog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.4);
  border-color: rgba(34, 197, 94, 0.4);
}
.catalog-card.hidden {
  display: none;
}
.catalog-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.catalog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.catalog-card:hover .catalog-card-image img {
  transform: scale(1.08);
}
.catalog-card-body {
  padding: 1.35rem 1.4rem;
}
.catalog-card-brand {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.catalog-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.search-page-form {
  margin-top: 1rem;
}

.search-result-card h3 a {
  color: #e5e7eb;
}

.search-result-card h3 a:hover {
  color: var(--accent);
}
.catalog-card-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.catalog-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 1rem;
}
/* Availability badges – rounded, clear colors */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.availability-in-store {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.availability-order {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.4);
}
.availability-coming {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.4);
}
.availability-sold {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.catalog-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.catalog-card .btn-cta {
  margin: 0;
}
.catalog-card-test {
  flex: 1;
  min-width: 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 88px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 1rem;
}

.shop-sidebar-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.shop-filter-group {
  margin-bottom: 0.95rem;
}

.shop-filter-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.shop-input,
.shop-select {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.78);
  color: var(--text);
  font: inherit;
  padding: 0.5rem 0.65rem;
}

.shop-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.shop-check input {
  width: 16px;
  height: 16px;
}

.shop-reset-btn {
  width: 100%;
}

.shop-results-head {
  margin-bottom: 1rem;
}

.shop-results-head .section-title {
  margin-bottom: 0.3rem;
}

.shop-card-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.shop-price-original {
  margin: -0.2rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: line-through;
}

.shop-sale-badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0 0 0.55rem;
}

.shop-empty {
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.45);
  padding: 1.25rem;
  margin-top: 1rem;
}

.shop-empty h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.shop-empty p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.shop-empty.hidden {
  display: none;
}

.shop-support {
  margin-top: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 1rem 1.1rem;
}

.shop-support h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.shop-support p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.product-breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.product-image-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
}

.product-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-meta {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.6rem;
}

.product-price-wrap {
  margin: 0 0 0.5rem;
}

.product-section {
  padding-left: 0;
  padding-right: 0;
}

.product-details-list {
  display: grid;
  gap: 0.65rem;
}

.product-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.45rem;
}

.product-detail-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-detail-value {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: right;
}

.product-support {
  margin-top: 0.5rem;
}

/* Bike detail page */
.bike-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 3rem;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bike-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.92) 0%, transparent 55%);
  pointer-events: none;
}
.bike-hero .container {
  position: relative;
  z-index: 1;
}
.bike-hero-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 0.35rem;
}
.bike-hero-meta {
  font-size: 0.9rem;
  color: var(--muted);
}
.bike-hero-meta .bike-category {
  margin-right: 0.75rem;
}
.bike-detail-status-wrap {
  padding-top: 0;
  padding-bottom: 1.5rem;
}
.bike-detail-status-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.bike-detail-status-inner .availability-badge {
  margin-bottom: 0;
}
.bike-detail-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.spec-item {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.5);
}
.spec-item dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}
.spec-item dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}
.bike-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.bike-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  transition: transform 0.3s ease;
}
.bike-gallery a:hover img,
.bike-gallery img:hover {
  transform: scale(1.03);
}

/* Workshop services grid */
.workshop-hero {
  text-align: center;
  padding-bottom: 2rem;
}
.workshop-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.workshop-service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(2, 6, 23, 0.95) 100%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.workshop-service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}
.workshop-service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--accent);
}
.workshop-service-icon svg {
  width: 100%;
  height: 100%;
}
.workshop-service-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.workshop-service-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.workshop-cta-wrap {
  text-align: center;
  margin-top: 2.5rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.trust-grid-three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}
.trust-item {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.5);
}
.trust-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent);
}
.trust-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.contact-form-simple {
  max-width: 28rem;
  margin: 0 auto;
}
.contact-form-simple label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.contact-form-simple input,
.contact-form-simple select,
.contact-form-simple textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  font-size: 1rem;
}
.contact-form-simple textarea {
  min-height: 100px;
  resize: vertical;
}

/* Contact page layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.6);
  margin-bottom: 1.25rem;
}
.contact-info-card:last-child {
  margin-bottom: 0;
}
.contact-info-card h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-info-card p,
.contact-info-card a {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}
.contact-info-card a:hover {
  color: var(--accent);
}
.map-placeholder,
.map-embed-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-placeholder {
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem;
}
.map-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 300px;
}
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: " \u002B"; }
.faq-item[open] summary::after { content: " \u2212"; }
.faq-item p { margin: 0.75rem 0 0; font-size: 0.95rem; }

/* New footer with link columns */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2rem;
  padding: 2rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-links-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}
.footer-links-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.footer-links-grid li {
  margin: 0 0 0.4rem;
}
.footer-links-grid a {
  color: var(--muted);
  transition: color 0.15s ease;
}
.footer-links-grid a:hover {
  color: var(--accent);
}
.footer-contact-col p {
  margin: 0 0 0.35rem;
  color: var(--muted);
}
.footer-contact-col {
  text-align: center;
}
.footer-contact-col .footer-address {
  text-align: center;
}
.footer-contact-col a {
  color: var(--muted);
}
.footer-contact-block {
  margin: 0 0 0.65rem;
}
.footer-contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.footer-contact-block a {
  word-break: break-all;
}
.footer-address {
  margin: 0.85rem 0 0.65rem;
  line-height: 1.45;
}
.footer-hours-wrap {
  margin-top: 0.35rem;
}
.footer-hours-wrap > .footer-contact-label {
  margin-bottom: 0.45rem;
}
.footer-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}
.footer-hours li {
  display: grid;
  grid-template-columns: minmax(7rem, 8rem) 1fr;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.3rem;
  align-items: baseline;
}
.footer-day {
  color: rgba(248, 250, 252, 0.92);
  font-weight: 500;
}
.footer-time {
  color: var(--muted);
}

.footer-hours-col {
  margin-top: 0.05rem;
}

/* Desktop: 4 colonne fisse per rendere tutto più simmetrico. */
@media (min-width: 901px) {
  .footer-links-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .trust-grid-three-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-card {
    grid-template-columns: 1fr;
  }
  .bike-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bike-stock-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: static;
    top: auto;
  }
  .product-main {
    grid-template-columns: 1fr;
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Guide pages: readability */
.guide-hero .section-intro {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.guide-content {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.guide-h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
}
.guide-block {
  margin-bottom: 1.5rem;
}
.guide-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.guide-block p {
  margin: 0 0 0.5rem;
  line-height: 1.6;
}
.guide-lead {
  margin: 0 0 0.75rem;
  line-height: 1.6;
}
.guide-list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  line-height: 1.6;
}
.guide-list li {
  margin-bottom: 0.4rem;
}
.guide-table {
  width: 100%;
  max-width: 20rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.guide-table th,
.guide-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border: 1px solid var(--border-subtle);
}
.guide-table th {
  background: var(--bg-alt);
  font-weight: 600;
}
.guide-steps {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  line-height: 1.65;
}
.guide-steps li {
  margin-bottom: 0.6rem;
}
.guide-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.guide-cta-link {
  font-size: 0.9rem;
  margin: 0;
}
.guide-cta-link a {
  color: var(--muted);
}
.guide-cta-link a:hover {
  color: var(--accent);
}

/* Configurator */
.configurator-form {
  max-width: 36rem;
  margin: 0 auto;
}
.configurator-step {
  margin: 0 0 2rem;
  padding: 0;
  border: none;
}
.configurator-legend {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  padding: 0;
}
.configurator-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.configurator-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.configurator-option:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.configurator-option input {
  margin: 0;
}
.configurator-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.configurator-submit-wrap {
  margin: 1.5rem 0 0;
}
.configurator-result {
  max-width: 36rem;
  margin: 2rem auto 0;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  text-align: center;
}
.configurator-result .section-title {
  margin-bottom: 1rem;
}
.result-bike-type {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.result-travel {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: var(--muted);
}
.result-explanation {
  margin: 0 0 1.5rem;
  line-height: 1.6;
  text-align: left;
}

/* Workshop & Events sections */
.section-workshop .section-intro,
.section-events .section-intro {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

/* Final CTA */
.section-cta {
  text-align: center;
  padding: 4rem 0;
}
.section-cta .section-title.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
  text-align: center;
}
.section-cta .cta-intro {
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  text-align: center;
}
.section-cta .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
}

.btn-cta {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--accent);
  color: #020617;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-cta:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.btn-cta.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-cta.secondary:hover {
  background: var(--accent-soft);
}

.btn-ghost {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-cta-large {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

/* Eventi page */
.event-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.event-calendar-wrap {
  position: sticky;
  top: 1.5rem;
}

.event-calendar {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.event-calendar-header {
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.event-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.event-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
  font-size: 0.85rem;
}

.cal-day {
  padding: 0.4rem;
  border-radius: 4px;
}

.cal-day-event {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.event-calendar-legend {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cal-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.event-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.5);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.event-card-image-link {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.event-card-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.event-card:hover .event-card-image-link img {
  transform: scale(1.05);
}

.event-card-body {
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.event-card-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.event-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.event-card-title a {
  color: inherit;
  text-decoration: none;
}

.event-card-title a:hover {
  color: var(--accent);
}

.event-card-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.event-card-desc {
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  flex: 1;
  line-height: 1.5;
}

.event-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.event-type-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.5);
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-type-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.event-type-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.event-type-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Trail report cards (condizioni trail Nord Italia) */
.trail-report-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.trail-report-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.5);
  padding: 1.35rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trail-report-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.trail-report-card.hidden {
  display: none;
}

.trail-report-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.trail-report-card-region {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.trail-report-card-condition {
  margin: 0 0 0.5rem;
}

.trail-condition-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.trail-condition-perfetto { background: rgba(34, 197, 94, 0.25); color: #4ade80; }
.trail-condition-buono { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.trail-condition-bagnato { background: rgba(251, 191, 36, 0.25); color: #fcd34d; }
.trail-condition-da-evitare { background: rgba(239, 68, 68, 0.25); color: #fca5a5; }

.trail-report-card-notes {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.trail-region-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.link-arrow {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow::after {
  content: " →";
}

.section-intro-block .section-intro { margin-bottom: 0.5rem; }

.cta-section .section-intro { max-width: 36rem; margin-left: auto; margin-right: auto; }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.cta-buttons .btn { margin: 0; }

/* Event detail page */
.event-detail-hero {
  padding: 2rem 0 1.5rem;
}

.event-detail-hero .breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.event-detail-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.event-detail-hero .breadcrumb a:hover {
  color: var(--accent);
}

.event-detail-meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  margin-top: 2rem;
}

.event-detail-sidebar {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.6);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 1.5rem;
}

.event-detail-sidebar h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.event-detail-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-detail-sidebar li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.event-detail-sidebar li:last-child {
  border-bottom: none;
}

.event-detail-sidebar .label {
  color: var(--muted);
  margin-right: 0.5rem;
}

.difficulty-bar {
  display: flex;
  gap: 4px;
  margin-top: 0.25rem;
}

.difficulty-bar span {
  width: 24px;
  height: 6px;
  border-radius: 2px;
  background: var(--border-subtle);
}

.difficulty-bar span.filled {
  background: var(--accent);
}

@media (max-width: 900px) {
  .event-layout {
    grid-template-columns: 1fr;
  }
  .event-calendar-wrap { position: static; }
  .event-card {
    grid-template-columns: 1fr;
  }
  .event-card-image-link { aspect-ratio: 16/9; }
  .event-detail-grid {
    grid-template-columns: 1fr;
  }
  .event-detail-sidebar { position: static; }
}

/* Hero home – full-width premium */
.hero-home {
  min-height: 85vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0 5rem;
}

.hero-home .container {
  max-width: 42rem;
}

.hero-home .hero-title {
  margin-bottom: 1rem;
}

.hero-home .hero-subtitle {
  margin: 0 auto 2rem;
  font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.2rem);
}

.hero-home .hero-ctas {
  margin-top: 1.5rem;
}

.hero-home .btn-cta {
  margin: 0 0.5rem 0.5rem 0;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.hero-full {
  min-height: 85vh;
  padding: 4rem 0 5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.hero-ctas .btn-cta {
  margin: 0;
}

/* Full-width immersive section (large image + overlay text) */
.immersive-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 1.5rem;
}
.immersive-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.5) 50%, transparent 70%);
  pointer-events: none;
}
.immersive-section .immersive-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 36rem;
}
.immersive-section .immersive-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Solo claim “Precision…” (homeCommunity): foto intera, larghezza = schermo, altezza proporzionale — niente background cover che taglia i lati. */
.immersive-section.immersive-section--fullwidth-photo {
  min-height: 0;
  padding: 0;
  display: block;
  background-image: none;
  background-color: #0a0c14;
}
.immersive-section.immersive-section--fullwidth-photo .immersive-full-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}
.immersive-section.immersive-section--fullwidth-photo::after {
  z-index: 1;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.4) 40%, transparent 72%);
}
.immersive-section.immersive-section--fullwidth-photo .immersive-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  max-width: none;
  margin: 0;
  padding: 0 1rem;
  padding-bottom: max(clamp(0.55rem, 1.35vw, 0.95rem), env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.immersive-section.immersive-section--fullwidth-photo .immersive-title {
  max-width: none;
  margin: 0;
  white-space: nowrap;
  font-size: clamp(0.7rem, 2.6vw + 0.45rem, 2.75rem);
  line-height: 1.2;
  transform: translateY(0.2rem);
}

/* Workshop visual block (full-width CTA) */
.workshop-visual {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.workshop-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.92) 0%, transparent 55%);
  pointer-events: none;
}
.workshop-visual .container {
  position: relative;
  z-index: 1;
}
.workshop-visual .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}
.workshop-visual .section-intro {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

/* Footer ricco (indirizzo + contatti) */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid.contact-block,
.site-footer .footer-grid {
  grid-template-columns: repeat(3, 1fr);
}

.footer-grid h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--accent);
}

.contact-block a[href^="tel:"],
.contact-block a[href^="mailto:"] {
  word-break: break-all;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-legal-links {
  margin: 0.45rem 0 0;
}

.footer-legal-links a,
.footer-legal-links .cookie-settings-link {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-legal-links a:hover,
.footer-legal-links .cookie-settings-link:hover {
  color: var(--accent);
}

.cookie-settings-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.consent-embed-placeholder {
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.4);
}

.consent-embed-placeholder p {
  margin: 0 0 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 220;
}

.cookie-banner-inner {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  padding: 1rem;
}

.cookie-banner-text {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  font-size: 0.94rem;
}

.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-banner-customize {
  margin-top: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cookie-banner-customize label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.content-prose {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}

.content-prose h2 {
  margin: 1.4rem 0 0.65rem;
  font-size: 1.2rem;
}

.content-prose h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1rem;
  color: var(--accent);
}

.content-prose p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.content-prose a {
  color: var(--accent);
  text-decoration: underline;
}

/* Global footer: CTA + brand description */
.footer-brand-desc {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.footer-cta {
  padding: 1rem 0 1.25rem;
  text-align: center;
}

.footer-cta-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* WhatsApp flottante */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(14px);
}

.footer-inner {
  padding: 1.3rem 0 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .header-inner {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header:has(.nav-toggle) .main-nav.main-nav-inline {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    gap: 0;
    align-items: stretch;
  }
  .site-header:has(.nav-toggle) .main-nav.main-nav-inline.nav-open {
    display: flex;
  }
  .main-nav-inline > a,
  .main-nav-inline .nav-dropdown,
  .main-nav-inline .nav-search {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  }
  .main-nav-inline .nav-search {
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .main-nav-inline .nav-search:last-child {
    border-bottom: none;
  }
  .main-nav-inline .nav-search input[type="search"] {
    width: 100%;
    height: 40px;
  }
  .main-nav-inline .nav-search-btn {
    width: 100%;
    height: 40px;
  }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-dropdown-open .nav-dropdown-menu {
    max-height: 220px;
  }
  .nav-dropdown-menu a {
    padding: 0.4rem 0;
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero {
    min-height: 35vh;
    padding-bottom: 2rem;
  }

  .hero-home {
    min-height: 70vh;
    padding: 3rem 0 4rem;
  }
  .hero-home .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-full {
    min-height: 70vh;
    padding: 3rem 0 4rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .immersive-section {
    min-height: 50vh;
    padding: 3rem 1rem;
  }
  .immersive-section.immersive-section--fullwidth-photo {
    min-height: 0;
    padding: 0;
  }
  .immersive-section .immersive-title {
    font-size: clamp(1.35rem, 5vw, 2rem);
  }
  .workshop-visual {
    min-height: 45vh;
    padding-bottom: 3rem;
  }
  .workshop-visual .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .brand-showcase {
    grid-template-columns: minmax(0, 1fr);
  }
  .lightbox-overlay {
    padding: 1rem;
  }
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .trust-grid-three-up {
    grid-template-columns: minmax(0, 1fr);
  }

  .bike-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bike-stock-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .brands-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand-card-content {
    padding: 1.5rem;
  }

  .section-cta {
    padding: 3rem 0;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid,
  .footer-grid.contact-block,
  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .language-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .img-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Core site media slots (centralized media hooks) */
.core-media-slot {
  display: none;
  width: 100%;
  height: clamp(180px, 28vw, 320px);
  margin-top: 1.25rem;
  border-radius: var(--radius);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.core-media-slot.site-media-ready {
  display: block;
}

