:root {
  color-scheme: dark;
  --ink: #0b0b0b;
  --paper: #faf9f5;
  --yellow: #ffd02f;
  --red: #e84334;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--ink);
  color: var(--paper);
}

* { box-sizing: border-box; }
body, h1, h2 { margin: 0; }
img { display: block; max-width: 100%; }

.cover {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  min-height: clamp(500px, 100svh, 980px);
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(26px, 7svh, 80px) 12px 32px;
  overflow: hidden;
}

.cover-photo, .cover::after {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.cover::after {
  content: "";
  background: linear-gradient(180deg, #060808bd 0%, #06080870 29%, transparent 55%, #08080822 85%, #0b0b0b 100%);
}

.cover-content {
  display: grid;
  justify-items: center;
  gap: clamp(14px, 2.8svh, 26px);
}

.cover h1 img {
  width: clamp(210px, 29vw, 365px);
  filter: drop-shadow(0 2px 3px #000);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a, .socials button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 8px clamp(9px, 2.25vw, 23px);
  border: 1px solid #ffffff55;
  border-radius: 3px;
  color: var(--paper);
  background: #101010e8;
  font: 700 clamp(10px, 2.9vw, 13px)/1.2 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .045em;
  text-decoration: none;
}

.socials button:disabled { color: #e5e1da; }
.socials svg { width: 1.35em; height: 1.35em; flex: none; }
.socials a { background: var(--yellow); border-color: var(--yellow); color: #0b0b0b; }
.socials a:hover { background: var(--paper); border-color: var(--paper); }
.socials a:focus-visible { outline: 3px solid white; outline-offset: 4px; }

.intro, .services {
  display: grid;
  align-items: center;
  min-height: 460px;
  padding: clamp(20px, 6vw, 88px);
  background: linear-gradient(90deg, #0606069c, #06060650), url("assets/mosaico.jpg") center 51% / cover;
}

.panel {
  max-width: 660px;
  padding: clamp(22px, 4.5vw, 52px);
  border: 1px solid #ffffff26;
  border-radius: 6px;
  background: #090909ec;
}

h2 {
  font-size: clamp(26px, 5.1vw, 56px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: .01em;
  text-transform: uppercase;
}

h2 span { color: var(--yellow); }
.panel h2 span { display: block; }
.panel h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  margin-block: 16px 21px;
  background: var(--red);
}

.panel p { max-width: 57ch; line-height: 1.6; }
.panel p:last-child { margin-bottom: 0; }
.categories {
  margin-top: 25px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.categories b { color: var(--yellow); margin-inline: 3px; }

.catalogue { padding: clamp(24px, 6vw, 90px); }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  gap: 9px;
  margin-top: 25px;
}
.gallery img { width: 100%; height: auto; border: 1px solid #ffffff1f; }

.scooter-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 9px;
  margin-top: 9px;
}

.scooter-strip img {
  width: 100%;
  height: auto;
  border: 1px solid #ffffff1f;
}

.services { background-position: center 76%; }

.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(24px, 6vw, 90px);
  border-bottom: 1px solid #ffffff26;
}

.feature .panel { max-width: none; }
.feature img { width: 100%; height: auto; }
.feature-retro { background: #13100d; }
.event-list { padding-left: 1.2em; margin-bottom: 0; line-height: 1.7; }
.event-list li + li { margin-top: .35em; }
.event-list li::marker { color: var(--yellow); }
.feature-retro a { color: var(--yellow); font-weight: 700; }

.final-gallery {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: clamp(24px, 6vw, 90px);
  text-align: center;
}

.final-gallery img { width: min(100%, 760px); height: auto; }

footer {
  padding: 48px 20px 32px;
  border-top: 1px solid #ffffff26;
  text-align: center;
}

footer h2 { font-size: 1.5rem; }
footer p { max-width: 55ch; margin: 14px auto; line-height: 1.6; }
footer a, .privacy a { color: var(--yellow); overflow-wrap: anywhere; }
.contact-email { font-size: clamp(1rem, 3vw, 1.35rem); font-weight: 700; }
.privacy { width: min(100% - 40px, 760px); margin: 48px auto 72px; line-height: 1.65; }
.privacy h1 { margin-top: 24px; font-size: clamp(2rem, 6vw, 3.75rem); line-height: 1.06; }
.privacy h2 { margin-top: 32px; font-size: 1.2rem; }
footer .footer-legal {
  margin-top: 28px;
  color: #ccc8bf;
  font-size: .75rem;
}

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cover-photo img { object-position: center 60%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scooter-strip { gap: 3px; }
}

@media (prefers-reduced-motion: no-preference) {
  .cover h1 { animation: marchio-in 1350ms cubic-bezier(.2, .65, .3, 1) both; }
  .cover-photo img { animation: copertina-in 1600ms ease-out both; }
  .socials a { transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
  .socials a:hover { transform: translateY(-2px); }
}

@keyframes marchio-in {
  from { opacity: 0; transform: translateY(42px) scale(.72); }
  68% { opacity: 1; transform: translateY(-5px) scale(1.045); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes copertina-in {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.privacy-banner {
  position: fixed;
  z-index: 10;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px;
  margin-inline: auto;
  max-width: 660px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 20px;
  border: 1px solid #ffffff40;
  border-radius: 6px;
  background: #141414;
  box-shadow: 0 6px 24px #0009;
}

.privacy-banner[hidden] { display: none; }
.privacy-banner p { margin: 4px 0 0; line-height: 1.5; }
.privacy-banner a { color: var(--yellow); }

.privacy-banner button {
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 3px;
  background: var(--yellow);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.privacy-banner :focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}
