/* ==========================================================================
   United — Design tokens
   ========================================================================== */
:root {
  --blue: #0e4c8c;
  --blue-dark: #0a3a6b;
  --black: #0b0b0c;
  --ink: #1d1d1f;
  --gray-900: #1d1d1f;
  --gray-700: #424245;
  --gray-500: #6e6e73;
  --gray-300: #d2d2d7;
  --gray-100: #f5f5f7;
  --white: #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --nav-h: 52px;
  --container: 1180px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }

.btn-ghost { border-color: currentColor; }

.btn-link {
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1.5px solid transparent;
}
.btn-link:hover { border-color: var(--blue); }
.btn-link .arrow { transition: transform .25s var(--ease); display: inline-block; }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-nav.is-scrolled { border-bottom-color: rgba(0,0,0,.08); }
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 20px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--black); }

.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
}
.lang-switch button {
  background: none;
  border: none;
  padding: 2px 4px;
  color: inherit;
  letter-spacing: .03em;
}
.lang-switch button.active { color: var(--black); }
.lang-switch .sep { color: var(--gray-300); }

.nav-cta {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px; height: 28px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: var(--black);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span { top: 13px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 8px 24px 24px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
}
.site-nav.is-open .mobile-nav { display: flex; }
.mobile-nav a {
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav .nav-cta { align-self: flex-start; margin-top: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(14, 76, 140, .2), transparent 70%),
    linear-gradient(180deg, #0b0b0c 0%, #161617 60%, #1d1d1f 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-mark {
  width: min(340px, 60vw);
  margin: 0 auto 28px;
  opacity: .95;
}
.hero-mark img { filter: brightness(0) invert(1); }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 22px;
  max-width: 920px;
}
.hero h1 .accent { color: var(--blue); }

.hero p.sub {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: rgba(255,255,255,.72);
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero .btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.hero .btn-ghost:hover { border-color: var(--white); }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-cue .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .3; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ==========================================================================
   Partners marquee
   ========================================================================== */
.partners{ background:var(--gray-100); padding:52px 0; }
.partners-inner{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.partners-label{
  display:block; text-align:center; margin-bottom:26px;
  font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--gray-500);
}

.marquee{
  position:relative; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
}
.marquee-track{
  display:flex; align-items:center; gap:76px; width:max-content;
}
.marquee-track.mq-ready{
  animation:marquee 15s linear infinite;
  will-change:transform;
  backface-visibility:hidden;
}
.marquee:hover .marquee-track.mq-ready{ animation-play-state:paused; }
.marquee-group{
  display:flex; align-items:center; gap:76px; flex:0 0 auto;
}
@keyframes marquee{
  from{ transform:translateX(0); }
  to{ transform:translateX(calc(-1 * var(--mq-w, 50%))); }
}

.partner-logo{
  display:flex; align-items:center; justify-content:center; height:44px;
  white-space:nowrap; filter:grayscale(1); opacity:.5;
  transition:filter .25s var(--ease), opacity .25s var(--ease);
}
.partner-logo:hover{ filter:grayscale(0); opacity:1; }
.partner-logo img{ height:100%; width:auto; max-width:140px; object-fit:contain; }

@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation:none; }
}

/* ==========================================================================
   Feature sections — full-bleed image bands, stacked with no gap
   ========================================================================== */
.feature-full {
  position: relative;
  height: clamp(600px, 96vh, 920px);
  overflow: hidden;
  display: flex;
  isolation: isolate;
}
.feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
#community.feature-full .feature-bg { object-position: center 42%; }
#lifestyle.feature-full .feature-bg { object-position: center 65%; }
#sport.feature-full .feature-bg { object-position: center 52%; }

.feature-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.34) 32%, rgba(0,0,0,0) 60%);
  z-index: 1;
  pointer-events: none;
}

.feature-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 72px 24px 0;
  text-align: center;
}
.feature-overlay-inner { max-width: 640px; margin: 0 auto; }

.feature-overlay h1,
.feature-overlay h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 14px 0 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.feature-overlay p {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 26px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.feature-overlay .btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.feature-overlay .btn-ghost:hover { border-color: var(--white); }

@media (max-width: 640px) {
  .feature-full { height: clamp(480px, 84vh, 700px); }
  #sport.feature-full .feature-bg { object-position: center 70%; }
}

/* ==========================================================================
   Product spotlight
   ========================================================================== */
.product{
  background: var(--black);
  padding: 110px 0 130px;
}
.product-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.product .eyebrow{ color: var(--blue); }
.product h2{
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.product p{
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0;
}

.product-visual{ display: flex; flex-direction: column; align-items: center; }
.product-notify{ display: inline-flex; margin-top: 24px; }

.product-card{
  position: relative;
  max-width: 380px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.product-card img{ width: 100%; height: auto; display: block; }
.sold-out-tag{
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ==========================================================================
   Squad (Treviso United)
   ========================================================================== */
.squad{
  background: var(--gray-100);
  padding: 110px 0 130px;
}
.squad-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.squad-crest{ width: 68px; height: auto; margin-bottom: 20px; }
.squad-copy .eyebrow{ color: var(--blue); }
.squad-copy h2{
  color: var(--ink);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.squad-copy p{
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0;
}
.squad-sponsor{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.squad-sponsor span{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.squad-sponsor img{ height: 20px; width: auto; }

.squad-visual{ display: flex; justify-content: center; }
.squad-visual img{
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.25);
  display: block;
}

/* ==========================================================================
   Join / newsletter
   ========================================================================== */
.join {
  background: var(--black);
  color: var(--white);
  padding: 130px 0;
  text-align: center;
}
.join h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.join p {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 40px;
}
.join-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.join-form input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-size: .95rem;
}
.join-form input::placeholder { color: rgba(255,255,255,.45); }
.join-form input:focus { outline: none; border-color: var(--blue); }
.join-note { margin-top: 16px; font-size: .8rem; color: rgba(255,255,255,.4); }

/* ==========================================================================
   Instagram carousel
   ========================================================================== */
.instagram{ padding:110px 0 64px; }
.instagram .container{ margin-bottom:40px; }
.instagram .eyebrow{ display:block; }
.instagram-head{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px;
  margin-top:8px;
}
.instagram-head h2{
  font-size:clamp(1.9rem,3.4vw,2.7rem); font-weight:800; letter-spacing:-.02em; margin:0;
}
.instagram-note{ margin:16px 0 0; color:var(--gray-500); font-size:.92rem; max-width:60ch; }

.ig-marquee{
  position:relative; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  padding:0 24px;
}
.ig-track{ display:flex; gap:20px; width:max-content; }
.ig-track.mq-ready{ animation:ig-scroll 30s linear infinite; will-change:transform; backface-visibility:hidden; }
.ig-marquee:hover .ig-track.mq-ready{ animation-play-state:paused; }
.ig-group{ display:flex; gap:20px; flex:0 0 auto; }
@keyframes ig-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(calc(-1 * var(--ig-w, 50%))); }
}

.ig-tile{
  position:relative; width:230px; height:230px; flex:0 0 auto;
  border-radius:20px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  transition:transform .3s var(--ease);
}
.ig-tile:hover{ transform:translateY(-4px); }
.ig-tile::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.55));
  opacity:0; transition:opacity .25s var(--ease);
}
.ig-tile:hover::before{ opacity:1; }
.ig-icon{ width:34px; height:34px; opacity:.85; }
.ig-label{
  position:absolute; left:16px; bottom:14px;
  font-size:12.5px; font-weight:600; color:#fff;
  opacity:0; transition:opacity .25s var(--ease);
}
.ig-tile:hover .ig-label{ opacity:1; }

.ig-1, .ig-4{ background:linear-gradient(135deg,#0e4c8c 0%,#082646 100%); }
.ig-2, .ig-5{ background:linear-gradient(135deg,#1d1d1f 0%,#46464a 100%); }
.ig-3, .ig-6{ background:linear-gradient(135deg,#46464a 0%,#0e4c8c 130%); }

.ig-tile.ig-real{ background-size:cover; background-position:center; }
.ig-tile.ig-real .ig-label{
  right:16px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap;
}

@media (prefers-reduced-motion: reduce){
  .ig-track{ animation:none; }
}
@media (max-width:640px){
  .ig-tile{ width:170px; height:170px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--gray-100);
  padding: 70px 0 30px;
  font-size: .88rem;
  color: var(--gray-500);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--gray-300);
}
.footer-brand img { height: 22px; margin-bottom: 14px; }
.footer-brand p { max-width: 30ch; line-height: 1.5; }
.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-700);
  margin: 0 0 14px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--gray-500); }
.footer-social a:hover { color: var(--black); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Dedicated section pages (Community / Lifestyle / Sport / Chi siamo)
   ========================================================================== */
.page-hero{
  background: var(--black);
  color: var(--white);
  padding: calc(var(--nav-h) + 90px) 24px 100px;
  text-align: center;
}
.page-hero .eyebrow{ color: var(--blue); }
.page-hero h1{
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0 0 18px;
}
.page-hero p{
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}

.page-placeholder{
  padding: 100px 24px;
  text-align: center;
}
.page-placeholder p{
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 auto;
}
.page-placeholder .btn-link{ margin-top: 20px; display: inline-flex; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .product-inner { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .product p { margin: 0 auto; }
  .squad-inner { grid-template-columns: 1fr; text-align: center; gap: 44px; }
  .squad-copy p { margin: 0 auto; }
  .squad-crest { margin-left: auto; margin-right: auto; }
  .squad-sponsor { justify-content: center; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .join-form { flex-direction: column; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { justify-content: center; }
}
