/* ============================================
   FASHION & WINE — Stylesheet
   Dark Luxury · Barlow · palette Catalogo FW (plum #710054)
   ============================================ */

:root {
  /* Palette from Catalogo FW: ink #231F20, plum #710054, greys #595959 / #E6E7E8 */
  --c-bg: #0d0b0c;
  --c-surface: #231f20;          /* catalog ink */
  --c-surface-2: #171415;
  --c-line: rgba(255,255,255,0.08);
  --c-line-strong: rgba(255,255,255,0.18);
  --c-text: #f5f5f5;
  --c-muted: rgba(245,245,245,0.82);   /* body/secondary — ~11:1 on bg */
  --c-faint: rgba(245,245,245,0.66);   /* micro labels/eyebrows — ~7:1 on bg */
  --c-accent: #710054;          /* catalog plum — buttons, bands, fills (white on it 11.5:1) */
  --c-accent-hover: #8a0a68;
  --c-accent-text: #cf6db3;     /* light plum for text/graphics on dark — 6:1 */
  --c-light: #ffffff;            /* catalog page white */
  --c-light-line: #e6e7e8;       /* catalog rules */
  --c-light-text: #231f20;       /* catalog ink */

--fs-h1: clamp(40px, 7vw, 80px);
  --fs-h2: clamp(32px, 5vw, 56px);
  --fs-h3: clamp(22px, 2.4vw, 32px);
  --fs-h4: clamp(18px, 1.6vw, 22px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-micro: 12px;

  --pad-x: clamp(24px, 5vw, 80px);
  --pad-y: clamp(72px, 10vw, 140px);

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

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: 0; line-height: 1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 400; }
h4 { font-size: var(--fs-h4); font-weight: 400; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(245,245,245,0.74);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.is-accent { color: var(--c-accent-text); opacity: 1; }
.eyebrow.is-accent::before { background: var(--c-accent-text); opacity: 1; }

.inline-brand {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
  aspect-ratio: 283 / 142;
  object-fit: contain;
  object-position: left center;
  margin: 8px auto 4px 0;
}
.menu-brand {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  aspect-ratio: 283 / 142;
  object-fit: contain;
  object-position: left center;
  margin: 0 auto 28px 0;
  align-self: flex-start;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn .arrow { transition: transform .35s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--c-text);
}
.btn-outline:hover { border-color: var(--c-text); background: var(--c-text); color: var(--c-bg); }

.btn-outline-dark {
  border-color: rgba(0,0,0,0.4);
  color: var(--c-light-text);
}
.btn-outline-dark:hover { background: var(--c-light-text); color: var(--c-light); border-color: var(--c-light-text); }

.btn-solid {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-solid:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); }

.btn-ghost {
  color: var(--c-text);
  padding: 16px 0;
  border: none;
}
.btn-ghost:hover { color: var(--c-accent-text); }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity .3s var(--ease);
}
.link-underline:hover { opacity: 0.7; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--pad-x);
  background: rgba(1,1,1,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10,10,10,0.96);
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom-color: var(--c-line-strong);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.04) inset;
}
.site-header .logo { height: 64px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .logo { height: 48px; }
@media (max-width: 600px) {
  .site-header .logo { height: 52px; }
  .site-header.is-scrolled .logo { height: 40px; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--c-text);
}
.menu-toggle .lines {
  display: inline-block;
  width: 28px;
  height: 16px;
  position: relative;
}
.menu-toggle .lines::before,
.menu-toggle .lines::after,
.menu-toggle .lines i {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease), opacity .25s var(--ease);
}
.menu-toggle .lines::before { top: 2px; }
.menu-toggle .lines i       { top: 8px; }
.menu-toggle .lines::after  { top: 14px; }
.menu-toggle[aria-expanded="true"] .lines::before { top: 8px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .lines i       { opacity: 0; }
.menu-toggle[aria-expanded="true"] .lines::after  { top: 8px; transform: rotate(-45deg); }
.menu-toggle .label-open { display: inline; }
.menu-toggle .label-close { display: none; }
.menu-toggle[aria-expanded="true"] .label-open { display: none; }
.menu-toggle[aria-expanded="true"] .label-close { display: inline; }

/* ===== MENU OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  padding: 120px var(--pad-x) 60px;
  overflow-y: auto;
}
.menu-overlay.is-open { opacity: 1; pointer-events: auto; }
@media (max-width: 880px) {
  .menu-overlay { grid-template-columns: 1fr; gap: 48px; }
}

.menu-nav { display: flex; flex-direction: column; gap: 8px; }
.menu-nav a {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.2;
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s var(--ease);
}
.menu-overlay.is-open .menu-nav a { opacity: 1; transform: none; }
.menu-overlay.is-open .menu-nav a:nth-child(1) { transition-delay: .12s; }
.menu-overlay.is-open .menu-nav a:nth-child(2) { transition-delay: .18s; }
.menu-overlay.is-open .menu-nav a:nth-child(3) { transition-delay: .24s; }
.menu-overlay.is-open .menu-nav a:nth-child(4) { transition-delay: .30s; }
.menu-overlay.is-open .menu-nav a:nth-child(5) { transition-delay: .36s; }
.menu-overlay.is-open .menu-nav a:nth-child(6) { transition-delay: .42s; }
.menu-overlay.is-open .menu-nav a:nth-child(7) { transition-delay: .48s; }
.menu-nav a:hover { color: var(--c-accent-text); }
.menu-nav .num {
  font-size: var(--fs-micro);
  color: var(--c-faint);
  letter-spacing: 0.2em;
  font-weight: 400;
}

.menu-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 0;
  align-self: end;
}
@media (min-width: 881px) {
  .menu-info { padding-left: 48px; border-left: 1px solid var(--c-line); }
}
.menu-info-block .label {
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-bottom: 8px;
}
.menu-info-block p, .menu-info-block a { font-size: 18px; font-weight: 400; }
.menu-info-block a:hover { color: var(--c-accent-text); }

body.menu-open { overflow: hidden; }

/* ===== SECTIONS BASE ===== */
.section {
  padding: var(--pad-y) var(--pad-x);
  position: relative;
}
.section--dark { background: var(--c-bg); color: var(--c-text); }
.section--surface { background: var(--c-surface-2); color: var(--c-text); }
.section--accent { background: var(--c-accent); color: #fff; }
.section--light { background: var(--c-light); color: var(--c-light-text); }

.section-head { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.section-head .eyebrow { margin-bottom: 4px; }

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
@media (max-width: 880px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats-row { grid-template-columns: 1fr; } }
.stat {
  background: var(--c-bg);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat-num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-text);
}
.stat-num .unit { color: var(--c-accent-text); font-size: 0.5em; margin-left: 4px; }
.stat-label {
  font-size: 15px;
  color: var(--c-muted);
  max-width: 22ch;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 160px var(--pad-x) 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(1,1,1,0.55) 0%, rgba(1,1,1,0.85) 100%),
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(113,0,84,0.25) 0%, transparent 60%),
    url("assets/hero/cellar.jpg") center/cover no-repeat,
    #0b0409;
  transform-origin: center;
  animation: heroZoom 24s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroZoom {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.09); }
}
.hero-bg::before {
  /* subtle film-grain over photo */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.012) 0 2px,
    transparent 2px 9px
  );
  mix-blend-mode: overlay;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
/* Fullscreen video hero (home) */
.hero--video {
  height: 100vh;
  height: 100svh;
  min-height: 560px;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  background: #0b0409 url("assets/video/hero-roma-tramonto-poster.jpg") 42% center/cover no-repeat;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% center;   /* keep the figure and St. Peter's in frame when cropped */
  display: block;
}
.hero-media::after {
  /* darken the left wall for the copy, the top for the header, the bottom for the scroll cue */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,11,12,0.82) 0%, rgba(13,11,12,0.55) 34%, rgba(13,11,12,0) 62%),
    linear-gradient(180deg, rgba(13,11,12,0.55) 0%, rgba(13,11,12,0) 22%, rgba(13,11,12,0) 70%, rgba(13,11,12,0.7) 100%);
}
.hero--video .hero-sub { color: rgba(245,245,245,0.86); }
.hero--video .scroll-line::after { background: var(--c-accent-text); }
/* header stays transparent over the video until the page scrolls */
body:has(.hero--video) .site-header:not(.is-scrolled),
body:has(.hero-internal-video) .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (max-width: 760px) {
  .hero--video { align-items: flex-end; padding-bottom: 150px; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(13,11,12,0.5) 0%, rgba(13,11,12,0.1) 30%, rgba(13,11,12,0.78) 62%, rgba(13,11,12,0.95) 100%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero h1 {
  max-width: 14ch;
}
.hero h1 .accent { color: var(--c-accent-text); display: inline-block; }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--c-muted);
  max-width: 56ch;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  position: absolute;
  left: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: end;
  width: 100%;
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.78);
  z-index: 1;
  pointer-events: none;
}
.hero-meta .scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  font-weight: 500;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.hero-meta .scroll-cue:hover { color: var(--c-text); transform: translateY(3px); }
.hero-meta .scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(245,245,245,0.28);
  position: relative;
  overflow: hidden;
}
.hero-meta .scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -60%;
  width: 100%; height: 60%;
  background: currentColor;
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%   { top: -60%; }
  100% { top: 100%; }
}

/* ===== LOGO STRIP ===== */
.partners-strip {
  padding: 80px 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.partners-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 0 var(--pad-x) 56px;
  flex-wrap: wrap;
}
.partners-strip-head h2 { font-size: clamp(28px, 3.5vw, 40px); }
.marquee {
  position: relative;
  overflow: hidden;
  --gap: 20px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  width: 200px;
  height: 104px;
  padding: 18px 26px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.marquee-item:hover { opacity: 1; transform: translateY(-3px); }
.marquee-item img { max-width: 100%; max-height: 64px; object-fit: contain; }
.marquee-name {
  color: var(--c-light-text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
}
@media (max-width: 600px) {
  .marquee { --gap: 14px; }
  .marquee-item { width: 150px; height: 84px; padding: 14px 18px; }
  .marquee-item img { max-height: 50px; }
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

/* ===== SHOWCASE / CAROUSEL ===== */
.showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.carousel {
  position: relative;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, calc(25% - 18px));
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (max-width: 980px) { .carousel-track { grid-auto-columns: minmax(260px, 70%); } }
@media (max-width: 600px) { .carousel-track { grid-auto-columns: minmax(240px, 85%); } }

/* Static 4-up product grid (showcase) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .product-grid { grid-template-columns: 1fr; } }
.product-grid .product-card { width: auto; min-width: 0; }

.product-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.product-card:hover { border-color: var(--c-line-strong); transform: translateY(-4px); }
.product-card .media {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #2a0f22, var(--c-surface-2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px 0;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,0.55));
  transition: transform .6s var(--ease);
}
.product-card:hover .media img { transform: scale(1.04); }
.product-card .media-label {
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-faint);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
}
.product-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card .tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-text);
  font-weight: 600;
}
.product-card h4 { font-size: 20px; font-weight: 400; }
.product-card .desc { color: var(--c-muted); font-size: 15px; flex: 1; }
.product-card .more {
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.product-card .more .arrow { transition: transform .35s var(--ease); }
.product-card:hover .more .arrow { transform: translateX(4px); }

.carousel-controls {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: flex-end;
}
.carousel-btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--c-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.carousel-btn:hover { border-color: var(--c-text); background: var(--c-text); color: var(--c-bg); }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ===== DOUBLE BLOCK ===== */
.double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--c-line);
}
.double > div {
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.double > div + div { border-left: 1px solid var(--c-line); }
@media (max-width: 880px) {
  .double { grid-template-columns: 1fr; }
  .double > div + div { border-left: none; border-top: 1px solid var(--c-line); }
}
.double h2 { max-width: 12ch; }
.double p { color: var(--c-muted); max-width: 48ch; }
.services-list { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.services-list li {
  list-style: none;
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: padding-left .35s var(--ease), color .35s var(--ease);
  cursor: pointer;
}
.services-list li:last-child { border-bottom: 1px solid var(--c-line); }
.services-list li:hover { padding-left: 12px; color: var(--c-accent-text); }
.services-list .name { font-size: 17px; font-weight: 400; }
.services-list .arrow { font-size: 18px; opacity: 0.5; }
.services-list li:hover .arrow { opacity: 1; }

/* detailed variant with description */
/* servizi: five non-clickable cards */
.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
/* tablets: 3 + 2 on two full rows (no orphan card); wide screens: 5 in a row */
@media (min-width: 761px) and (max-width: 1279px) {
  .service-cards { grid-template-columns: repeat(6, 1fr); }
  .service-card { grid-column: span 2; }
  .service-card:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 1280px) { .service-cards { grid-template-columns: repeat(5, 1fr); } }
.service-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  padding: 32px 26px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-num {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--c-accent-text);
}
.service-card h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 400; line-height: 1.2; }
.service-card p { font-size: 16px; color: var(--c-muted); line-height: 1.6; }
.services-list--detail { margin-top: 40px; }
.services-list--detail li { align-items: flex-start; padding: 26px 0; }
.services-list--detail .svc { display: flex; flex-direction: column; gap: 8px; max-width: 68ch; }
.services-list--detail .name { font-size: clamp(19px, 2vw, 24px); font-weight: 400; }
.services-list--detail .svc-desc { font-size: 16px; color: var(--c-muted); line-height: 1.6; }
.services-list--detail .svc-desc a { color: var(--c-accent-text); white-space: nowrap; }
.services-list--detail li:hover .svc-desc { color: var(--c-muted); }
.services-list--detail .arrow { margin-top: 6px; }

.double-divider {
  height: 1px;
  background: var(--c-line);
  margin: 16px 0;
  max-width: 80px;
}

/* ===== BLOG / NEWS ===== */
.news-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.news-card:hover { border-color: var(--c-line-strong); transform: translateY(-4px); }
.news-card .media {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #1c0a17, #050505);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card .cat {
  position: absolute;
  top: 18px; left: 18px;
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--c-line-strong);
  padding: 8px 12px;
  font-weight: 400;
}
.news-card .body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.news-card .date {
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-faint);
}
.news-card h3 { font-size: 22px; font-weight: 400; line-height: 1.25; }
.news-card .excerpt { color: var(--c-muted); font-size: 16px; flex: 1; }

/* ===== ACCENT BANNER ===== */
.banner-accent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: var(--pad-y) var(--pad-x);
  background: var(--c-accent);
  position: relative;
  overflow: hidden;
}
.banner-accent .eyebrow { color: rgba(255,255,255,0.85); }
.banner-accent .eyebrow::before { background: rgba(255,255,255,0.85); }
.banner-accent h2 { color: #fff; max-width: 18ch; }
.banner-accent p { color: rgba(255,255,255,0.92); max-width: 56ch; font-size: 17px; }
.banner-accent .btn-light {
  background: #fff;
  color: var(--c-accent);
  border-color: #fff;
}
.banner-accent .btn-light:hover { background: transparent; color: #fff; }

/* ===== SPOTLIGHT 50/50 ===== */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    radial-gradient(ellipse 70% 60% at 12% 22%, rgba(113,0,84,0.22), transparent 62%),
    var(--c-surface-2);
  color: var(--c-text);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
@media (max-width: 880px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight-text {
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}
.spotlight-text .eyebrow { color: rgba(245,245,245,0.74); }
.spotlight-text .eyebrow::before { background: rgba(245,245,245,0.62); }
.spotlight-text .brand-name {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-text);
}
.spotlight-text .tagline { font-size: 18px; color: var(--c-muted); max-width: 48ch; }
.spotlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 52ch;
}
.spotlight-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  font-weight: 400;
  color: var(--c-muted);
  line-height: 1.5;
}
.spotlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 1px;
  background: var(--c-accent-text);
}
.spotlight-image {
  background:
    repeating-linear-gradient(115deg, rgba(0,0,0,0.04) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #2a0f22, #4a1a3d);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ===== PROMO ===== */
.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-bg);
  align-items: stretch;
}
@media (max-width: 880px) { .promo { grid-template-columns: 1fr; } }
.promo-image {
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #1a0814, #0b0409);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  position: relative;
}
.promo-image::after {
  content: "";
  position: absolute;
  inset: 30%;
  border: 1px solid rgba(255,255,255,0.1);
}
.promo-text {
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}
.promo-text .num {
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.85;
  font-weight: 300;
  color: var(--c-accent-text);
  letter-spacing: -0.04em;
}

/* ===== CATALOGO CTA ===== */
.cta-catalog {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  background:
    linear-gradient(90deg, rgba(1,1,1,0.92) 0%, rgba(1,1,1,0.5) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(113,0,84,0.4), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px),
    #0b0409;
  overflow: hidden;
}
.cta-catalog-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 720px;
}
.cta-catalog h2 { max-width: 14ch; }
.cta-catalog .actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
/* Photo variant: the subject sits left looking right, so the copy goes right.
   The photo lives on ::before (taller than the section) so script.js can move it for a parallax effect;
   the dark gradients sit on ::after, above the photo and below the copy. */
.cta-catalog--image {
  display: flex;
  justify-content: flex-end;
  min-height: min(78vh, 720px);
  align-items: center;
  background: #0b0409;
  border-top: 1px solid var(--c-line);
  isolation: isolate;
}
.cta-catalog--image::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -26%; bottom: -26%;
  background: url("assets/img/cta-catalogo.jpg") 30% 35%/cover no-repeat;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
  z-index: -2;
}
.cta-catalog--image::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,11,12,0.15) 0%, rgba(13,11,12,0.55) 45%, rgba(13,11,12,0.92) 72%),
    linear-gradient(180deg, rgba(13,11,12,0.35) 0%, rgba(13,11,12,0) 30%, rgba(13,11,12,0) 70%, rgba(13,11,12,0.6) 100%);
  z-index: -1;
}
.cta-catalog--image .cta-catalog-inner { max-width: 580px; }
.cta-catalog--image p { color: var(--c-muted); font-size: clamp(17px, 1.4vw, 19px); }
@media (max-width: 760px) {
  .cta-catalog--image {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding-top: 62vw;   /* let the photo show above the copy */
    background: #0d0b0c;
  }
  .cta-catalog--image::before {
    top: -40px; bottom: auto;
    height: calc(62vw + 160px);
    background: url("assets/img/cta-catalogo.jpg") 25% 30%/cover no-repeat;
  }
  .cta-catalog--image::after {
    background: linear-gradient(180deg, rgba(13,11,12,0) 0%, rgba(13,11,12,0.2) 30%, rgba(13,11,12,0.92) 58%, #0d0b0c 75%);
  }
  .cta-catalog .meta-corner { position: static; display: block; margin-top: 28px; }
}
.cta-catalog .meta-corner { position: static; display: block; margin-top: 28px; }
}
.cta-catalog .meta-corner {
  position: absolute;
  right: var(--pad-x);
  bottom: 36px;
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-faint);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  padding: 80px var(--pad-x) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; margin-bottom: 16px; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

.footer-brand { display: inline-block; }
.footer-brand .logo { height: 96px; width: auto; }
@media (max-width: 600px) { .footer-brand .logo { height: 72px; } }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-label {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.74);
  margin-bottom: 8px;
  font-weight: 600;
}
.footer-col a {
  font-size: 16px;
  color: rgba(245,245,245,0.82);
  text-decoration: none;
  transition: color .25s var(--ease);
  font-weight: 400;
}
.footer-col a:hover { color: var(--c-text); }

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.newsletter h4 { font-size: 22px; font-weight: 400; }
.newsletter .desc { color: var(--c-muted); font-size: 15px; }
.profiling { display: flex; gap: 24px; flex-wrap: wrap; }
.profiling label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.profiling input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  position: relative;
  transition: border-color .2s;
}
.profiling input[type="radio"]:checked { border-color: var(--c-accent); }
.profiling input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--c-accent);
  border-radius: 50%;
}
.newsletter-form {
  display: flex;
  border-bottom: 1px solid var(--c-line-strong);
  transition: border-color .3s var(--ease);
}
.newsletter-form:focus-within { border-bottom-color: var(--c-text); }
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 0;
  background: transparent;
  border: none;
  color: var(--c-text);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.newsletter-form input::placeholder { color: var(--c-faint); }
.newsletter-form button {
  padding: 14px 18px;
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s var(--ease);
}
.newsletter-form button:hover { color: var(--c-accent-text); }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-muted);
  cursor: pointer;
}
.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--c-line-strong);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: border-color .2s, background .2s;
}
.consent input[type="checkbox"]:checked { border-color: var(--c-accent); background: var(--c-accent); }
.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 0px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.consent a { text-decoration: underline; }

.bottom-bar {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.06em;
}
.bottom-bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.bottom-bar a { text-decoration: none; }
.bottom-bar a:hover { color: var(--c-text); }

/* ===== ARCHIVE PAGE ===== */
.hero-internal {
  min-height: 60vh;
  padding: 180px var(--pad-x) 80px;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
}
.hero-internal-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(1,1,1,0.6) 0%, rgba(1,1,1,0.95) 100%),
    radial-gradient(ellipse at 60% 30%, rgba(113,0,84,0.3), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.022) 0 2px, transparent 2px 14px),
    #0b0409;
  z-index: 0;
}
/* background video, "in trasparenza" over the dark base */
.hero-internal-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-internal-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,11,12,0.62) 0%, rgba(13,11,12,0.2) 55%, rgba(13,11,12,0.05) 100%),
    linear-gradient(180deg, rgba(13,11,12,0.55) 0%, rgba(13,11,12,0) 35%, rgba(13,11,12,0.35) 70%, rgba(13,11,12,0.95) 100%);
}
.hero-internal-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
}
.breadcrumb {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.82);
  font-weight: 500;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb a { color: rgba(245,245,245,0.8); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--c-text); }
.breadcrumb .sep { color: var(--c-accent-text); opacity: 0.8; }
.hero-internal h2 { font-size: clamp(20px, 2vw, 24px); font-weight: 400; color: var(--c-muted); max-width: 60ch; }
.hero-internal p { color: var(--c-muted); max-width: 64ch; font-size: 16px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: var(--pad-y) var(--pad-x);
  background: var(--c-bg);
}
@media (max-width: 1100px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .partner-grid { grid-template-columns: 1fr; } }

.partner-card {
  background: var(--c-surface-2);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  min-height: 320px;
  transition: background .35s var(--ease), transform .35s var(--ease);
  border: 1px solid transparent;
}
.partner-card:hover { background: #232323; border-color: var(--c-line); transform: translateY(-4px); }
.partner-card .partner-logo {
  /* white header, flush with the card edges, like the catalog logo frames */
  width: calc(100% + 56px);
  margin: -40px -28px 6px;
  height: 140px;
  padding: 24px 32px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-card .partner-logo img { max-width: 100%; max-height: 84px; object-fit: contain; }
.partner-card .partner-logo--text {
  color: var(--c-light-text);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
}
.partner-card .desc {
  font-size: 15px;
  color: var(--c-muted);
  flex: 1;
}
.partner-card .more {
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity .25s;
}
.partner-card:hover .more { opacity: 0.8; }

/* ===== DATA TABLE ===== */
.data-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.data-table th, .data-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--c-line); }
.data-table thead th {
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-faint);
  font-weight: 500;
}
.data-table td { font-size: 16px; color: var(--c-text); font-weight: 400; }
.data-table td.num { font-variant-numeric: tabular-nums; }
.data-table td.var { color: var(--c-accent-text); font-variant-numeric: tabular-nums; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.table-note { margin-top: 20px; font-size: 15px; color: var(--c-muted); max-width: 62ch; }

/* ===== CHECK LIST ===== */
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  margin-top: 32px;
}
@media (max-width: 720px) { .check-list { grid-template-columns: 1fr; } }
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--c-muted);
  font-size: 16px;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 12px; height: 1px;
  background: var(--c-accent-text);
}

/* ===== STRENGTH LIST (numbered) ===== */
.strength-list {
  list-style: none;
  counter-reset: strength;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}
.strength-list li {
  counter-increment: strength;
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--c-line);
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--c-text);
  font-weight: 400;
  line-height: 1.45;
  transition: padding-left .3s var(--ease);
}
.strength-list li:last-child { border-bottom: 1px solid var(--c-line); }
.strength-list li:hover { padding-left: 8px; }
.strength-list li::before {
  content: counter(strength, decimal-leading-zero);
  color: var(--c-accent-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-width: 24px;
  flex-shrink: 0;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 40px;
}
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; gap: 36px; } }
.team-block .team-role {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent-text);
  font-weight: 600;
  margin-bottom: 16px;
}
.team-block ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.team-block li {
  font-size: 16px;
  color: var(--c-text);
  font-weight: 400;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.team-block li span { color: var(--c-muted); font-size: 14px; text-align: right; }

/* ===== CONTACT PAGE ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
.contact-info, .contact-form-wrap {
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-form-wrap { border-left: 1px solid var(--c-line); }
@media (max-width: 880px) {
  .contact-form-wrap { border-left: none; border-top: 1px solid var(--c-line); }
}
.contact-block { display: flex; flex-direction: column; gap: 8px; }
.contact-block .contact-label {
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-faint);
  font-weight: 500;
}
.contact-block a, .contact-block p { font-size: clamp(18px, 2vw, 22px); font-weight: 400; }
.contact-block a:hover { color: var(--c-accent-text); }

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { font-size: 16px; line-height: 1.5; padding: 14px 18px; border-left: 2px solid var(--c-line-strong); }
.form-status[data-kind="ok"] { border-left-color: var(--c-accent-text); color: var(--c-text); }
.form-status[data-kind="error"] { border-left-color: #ff8f8f; color: #ffc2c2; }
.field-error { font-size: 14px; color: #ffb3b3; }
.consent .field-error { display: block; margin-top: 6px; }
.field [aria-invalid="true"] { border-color: #ff8f8f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
}
.field input, .field textarea {
  background: var(--c-surface-2);
  border: 1px solid var(--c-line-strong);
  color: var(--c-text);
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  border-radius: 0;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--c-accent-text);
  background: #202020;
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-faint); }

/* ===== PARTNER CATEGORY SECTIONS ===== */
.cat-section { padding: var(--pad-y) var(--pad-x); border-top: 1px solid var(--c-line); }
.cat-section:first-of-type { border-top: none; }
.cat-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.cat-head h2 { font-size: clamp(28px, 3.5vw, 44px); }
.cat-head .count {
  font-size: var(--fs-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-faint);
  font-weight: 500;
}
.partner-grid--flush { padding: 0; background: transparent; }

/* ===== BRAND PAGE ===== */
.brand-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 880px) { .brand-lead { grid-template-columns: 1fr; } }
.brand-media {
  min-height: 520px;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2a0f22, #0b0409);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.brand-body {
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}
@media (min-width: 881px) { .brand-body { border-left: 1px solid var(--c-line); } }
.brand-body p { color: var(--c-muted); max-width: 52ch; }
.brand-facts { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 4px; }
.brand-facts .fact { display: flex; flex-direction: column; gap: 4px; }
.brand-facts .fact-num { font-size: 28px; font-weight: 300; color: var(--c-text); }
.brand-facts .fact-label {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-faint);
  font-weight: 500;
}

/* marchi collegati */
.marchi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  margin-top: 48px;
}
@media (max-width: 900px) { .marchi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .marchi-grid { grid-template-columns: 1fr; } }
.marchio {
  background: var(--c-bg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* media variants: catalog photo, logo on white (like the catalog pages), name fallback */
.brand-media--photo { padding: 0; overflow: hidden; }
.brand-media--photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.brand-media--logo { background: #fff; }
.brand-media--logo img { max-width: 58%; max-height: 42%; object-fit: contain; }
.brand-media--name span {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--c-text);
  font-weight: 300;
  text-align: center;
  padding: 0 24px;
}
.logo-tile {
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  width: fit-content;
}
.logo-tile img { height: 56px; width: auto; max-width: 220px; object-fit: contain; }
.brand-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* group brands: index + one block per brand */
.marchi-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.marchi-nav a {
  border: 1px solid var(--c-line-strong);
  padding: 11px 18px;
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.marchi-nav a:hover { border-color: var(--c-accent-text); color: var(--c-accent-text); }
.marchio-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-top: 1px solid var(--c-line);
  scroll-margin-top: 80px;
}
.marchio-block--flip { grid-template-columns: 7fr 5fr; }
.marchio-block--flip .marchio-media { order: 2; }
.marchio-media { overflow: hidden; }
.marchio-media img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.marchio-body {
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.marchio-body h2 { font-size: var(--fs-h3); }
.marchio-body > p { color: var(--c-muted); max-width: 60ch; }
.marchio-body > p.marchio-dati {
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-faint);
}
@media (max-width: 880px) {
  .marchio-block, .marchio-block--flip { grid-template-columns: 1fr; }
  .marchio-block--flip .marchio-media { order: 0; }
  .marchio-media img { min-height: 0; height: 62vw; }
}

/* lines and labels */
.linee { display: grid; gap: 28px; margin-top: 8px; }
.linee--grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  margin-top: 48px;
}
.linee--grid .linea { background: var(--c-bg); padding: 28px 26px; }
.linea-nome {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-text);
  margin-bottom: 10px;
}
.etichette { list-style: none; }
.marchio-body .etichette { columns: 2 240px; column-gap: 36px; }
.etichette li {
  padding: 9px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 16px;
  line-height: 1.45;
  break-inside: avoid;
}
.etichette .sub { display: block; font-size: 14px; color: var(--c-faint); margin-top: 2px; }

.product-card .more { margin-top: 8px; font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent-text); }
.marchio h4 { font-size: 17px; font-weight: 500; }
.marchio p { font-size: 14px; color: var(--c-muted); line-height: 1.55; }

/* ===== FADE-IN ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-line::after { animation: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== UTIL ===== */
.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;
}

/* ===== FLOATING BUTTONS ===== */
.to-top, .wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  z-index: 40;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
/* back to top: mobile only, shown near the end of the page (script.js) */
.to-top {
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 48px; height: 48px;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(13,11,12,0.86);
  border: 1px solid var(--c-line-strong);
  color: var(--c-text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(12px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 760px) { .to-top { display: flex; } }
/* WhatsApp (contatti): stacked under the back-to-top button on mobile */
.wa-float {
  bottom: calc(16px + env(safe-area-inset-bottom));
  height: 56px; min-width: 56px;
  border-radius: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 15px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .wa-label { display: none; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
@media (min-width: 761px) { .wa-float { right: 28px; bottom: 28px; } }
@media (min-width: 1024px) {
  .wa-float { padding: 0 22px 0 16px; }
  .wa-float .wa-label { display: inline; }
}
body:has(.wa-float) .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
body.menu-open .to-top, body.menu-open .wa-float { opacity: 0; visibility: hidden; }

/* short landscape screens (iPad mini / foldables in landscape): the decorative scroll cue would collide with the hero buttons */
@media (orientation: landscape) and (max-height: 800px) and (min-width: 761px) {
  .hero-meta { display: none; }
}
