/* ═══════════════════════════════════════════════════════════════════════
   GINOCCHI ARREDAMENTI · Design System
   Estratto e adattato dal template "Forma Alta".
   Palette navy --primary mantenuta. Aggiunti: breadcrumb, hero img reale,
   filtri categoria, video realizzazioni, prodotti correlati.
═══════════════════════════════════════════════════════════════════════ */

:root {
  --primary: #375474;
  --primary-dark: #24394f;
  --ink: #151719;
  --paper: #f2eee7;
  --paper-soft: #faf7f1;
  --muted: #78736c;
  --white: #ffffff;
  --line: rgba(21, 23, 25, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --radius-xl: 34px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.16);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

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

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

/* ═══════════════════════════════════════════════ UTILITIES & GLOBAL */

.page-noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .18; z-index: 9999;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 14%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.10), transparent 16%);
  mix-blend-mode: soft-light;
}

.cursor-orb {
  position: fixed; width: 420px; height: 420px; border-radius: 999px;
  background: radial-gradient(circle, rgba(55,84,116,.20), transparent 68%);
  pointer-events: none; transform: translate(-50%, -50%); z-index: 0;
}

/* ═══════════════════════════════════════════════ HEADER */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 26px 38px; display: flex; align-items: center; justify-content: space-between;
  transition: .5s var(--ease); mix-blend-mode: difference; color: var(--white);
}
.site-header.is-scrolled { padding-top: 16px; padding-bottom: 16px; }

.brand {
  font-size: 13px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700;
  display: inline-flex; align-items: center; gap: 12px;
}
.brand img { width: 36px; height: 36px; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  opacity: .82; transition: .3s ease;
}
.nav a:hover, .nav a.is-active { opacity: 1; transform: translateY(-2px); }

.menu-button {
  display: none; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.4); color: var(--white);
  background: transparent; border-radius: 999px;
  align-items: center; justify-content: center; cursor: pointer;
}

/* ═══════════════════════════════════════════════ HERO */

.hero {
  min-height: 100vh; position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1.05fr .95fr;
  background: var(--paper-soft); overflow: hidden;
}

.hero-left {
  padding: 148px 7vw 70px; display: flex; flex-direction: column;
  justify-content: space-between; min-height: 100vh; z-index: 3;
}

.hero-kicker {
  display: flex; align-items: center; gap: 18px; color: var(--primary);
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700;
}
.hero-kicker::before { content: ""; width: 72px; height: 1px; background: var(--primary); }

.hero-title {
  margin: 70px 0 36px;
  font-size: clamp(64px, 10vw, 158px); line-height: .78;
  letter-spacing: -.075em; max-width: 870px;
}
.hero-title span { color: var(--primary); font-style: italic; }

.hero-text { max-width: 520px; color: var(--muted); line-height: 1.85; font-size: 16px; }

.hero-bottom {
  display: grid; grid-template-columns: 190px 1fr;
  align-items: end; gap: 42px; margin-top: 70px;
}

.hero-index {
  border-left: 1px solid var(--line); padding-left: 22px;
  color: var(--muted); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; line-height: 1.7;
}

.luxury-link {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 24px; width: min(100%, 340px); padding: 17px 18px 17px 24px;
  border-radius: 999px; color: var(--white); background: var(--primary);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  transition: .45s var(--ease); box-shadow: 0 18px 44px rgba(55,84,116,.22);
}
.luxury-link i {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 999px; background: rgba(255,255,255,.16); transition: .45s var(--ease);
}
.luxury-link:hover { transform: translateY(-4px); background: var(--primary-dark); }
.luxury-link:hover i { transform: translateX(5px); background: rgba(255,255,255,.24); }

.luxury-link.outline {
  background: transparent; color: var(--primary); border: 1px solid var(--primary); box-shadow: none;
}
.luxury-link.outline i { background: rgba(55,84,116,.10); color: var(--primary); }
.luxury-link.outline:hover { background: var(--primary); color: var(--white); }
.luxury-link.outline:hover i { background: rgba(255,255,255,.22); color: var(--white); }

.hero-right {
  position: relative; min-height: 100vh; background: var(--primary);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden;
}
.hero-image-main {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .88; filter: saturate(.72) contrast(1.08);
  transform: scale(1.08); animation: slowZoom 12s var(--ease) forwards;
}
@keyframes slowZoom { to { transform: scale(1); } }

/* Hero compatto per pagine secondarie */
.hero-compact {
  min-height: 70vh; position: relative; padding: 180px 6vw 70px;
  background: var(--paper-soft); overflow: hidden;
}
.hero-compact .hero-kicker { margin-bottom: 24px; }
.hero-compact h1 {
  margin: 0 0 24px; font-size: clamp(48px, 7vw, 112px);
  line-height: .86; letter-spacing: -.06em; font-family: Georgia, "Times New Roman", serif;
  max-width: 1080px;
}
.hero-compact h1 em { color: var(--primary); font-style: italic; }
.hero-compact .hero-text { max-width: 720px; }

/* ═══════════════════════════════════════════════ SECTION SYSTEM */

.section { padding: 130px 6vw; position: relative; }

.section-header {
  max-width: 1180px; margin: 0 auto 72px;
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 7vw; align-items: end;
}

.section-number {
  color: var(--primary); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 22px;
}

.section-title {
  margin: 0; font-size: clamp(44px, 7vw, 112px);
  line-height: .88; letter-spacing: -.06em;
}

.section-description {
  margin: 0; color: var(--muted); line-height: 1.9;
  font-size: 16px; max-width: 560px;
}

.section-header-center {
  max-width: 860px; margin: 0 auto 72px; text-align: center;
}
.section-header-center .section-title { margin-bottom: 28px; }
.section-header-center .section-description { margin: 0 auto; max-width: 620px; }

/* ═══════════════════════════════════════════════ BREADCRUMB */

.ga-breadcrumb {
  max-width: 1220px; margin: 0 auto 32px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.ga-breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.ga-breadcrumb li {
  display: inline-flex; align-items: center; gap: 12px;
}
.ga-breadcrumb li:not(:last-child)::after {
  content: "/"; color: var(--primary); margin-left: 12px;
}
.ga-breadcrumb a { color: var(--primary); font-weight: 700; transition: .25s ease; }
.ga-breadcrumb a:hover { opacity: .7; }

/* ═══════════════════════════════════════════════ MANIFESTO */

.manifesto { background: var(--primary); color: var(--white); overflow: hidden; }
.manifesto::before {
  content: ""; position: absolute; right: -20vw; top: -30vw;
  width: 62vw; height: 62vw; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
}
.manifesto .section-number,
.manifesto .section-description { color: var(--white); }

.manifesto-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light);
}

.manifesto-card {
  min-height: 380px; padding: 36px;
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  position: relative; overflow: hidden; transition: .5s var(--ease);
}
.manifesto-card::after {
  content: ""; position: absolute; inset: auto 0 0;
  height: 0%; background: rgba(255,255,255,.08); transition: .55s var(--ease);
}
.manifesto-card:hover::after { height: 100%; }
.manifesto-card small { color: var(--white); letter-spacing: .22em; text-transform: uppercase; }
.manifesto-card h3 {
  position: relative; z-index: 2; margin: 90px 0 20px;
  font-size: 36px; line-height: 1; letter-spacing: -.04em; color: var(--white);
}
.manifesto-card p {
  position: relative; z-index: 2; margin: 0;
  color: rgba(255,255,255,.86); line-height: 1.75;
}

/* ═══════════════════════════════════════════════ HORIZONTAL GALLERY */

.horizontal-zone { min-height: 100vh; background: var(--paper-soft); overflow: hidden; }
.horizontal-track {
  display: flex; gap: 28px; width: max-content;
  padding: 0 6vw 110px; will-change: transform;
}
.project-card {
  width: min(72vw, 720px); height: 590px; border-radius: var(--radius-xl);
  overflow: hidden; position: relative; background: var(--ink); box-shadow: var(--shadow);
}
.project-card:nth-child(even) { margin-top: 70px; width: min(66vw, 620px); }
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: .8s var(--ease); filter: saturate(.78);
}
.project-card:hover img { transform: scale(1.06); filter: saturate(.95); }
.project-meta {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  padding: 24px; border-radius: 24px;
  background: rgba(21,23,25,.58); backdrop-filter: blur(18px);
  color: var(--white); display: flex; align-items: end;
  justify-content: space-between; gap: 24px;
}
.project-meta span {
  color: rgba(255,255,255,.78); font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
}
.project-meta h3 {
  margin: 8px 0 0; font-size: 34px; line-height: 1;
  letter-spacing: -.04em; color: var(--white);
}
.project-meta i {
  color: var(--white); background: var(--primary);
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 999px; flex: 0 0 auto;
}

/* ═══════════════════════════════════════════════ EDITORIAL */

.editorial { background: var(--ink); color: var(--white); overflow: hidden; }
.editorial .section-number { color: var(--white); }
.editorial-layout {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 70px; align-items: center;
}
.editorial-images { position: relative; min-height: 720px; }
.editorial-img-a {
  position: absolute; left: 0; top: 0; width: 74%; height: 560px;
  object-fit: cover; border-radius: var(--radius-xl);
}
.editorial-img-b {
  position: absolute; right: 0; bottom: 0; width: 48%; height: 360px;
  object-fit: cover; border-radius: var(--radius-xl); border: 16px solid var(--ink);
}
.editorial-content h2 {
  margin: 0 0 34px; font-size: clamp(48px, 6vw, 104px);
  line-height: .88; letter-spacing: -.06em; color: var(--white);
}
.editorial-content p {
  color: rgba(255,255,255,.78); line-height: 1.95;
  max-width: 560px; font-size: 16px;
}
.values {
  margin-top: 56px; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.value { padding: 22px; border-radius: 22px; border: 1px solid var(--line-light); }
.value strong { color: var(--white); display: block; margin-bottom: 8px; font-size: 15px; }
.value span { color: rgba(255,255,255,.74); line-height: 1.6; font-size: 14px; }

/* ═══════════════════════════════════════════════ COLLECTIONS */

.collections-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px;
}
.collection-item {
  position: relative; min-height: 450px; border-radius: var(--radius-xl);
  overflow: hidden; background: var(--primary); color: var(--white);
}
.collection-item.large { grid-column: span 7; min-height: 620px; }
.collection-item.medium { grid-column: span 5; }
.collection-item.small { grid-column: span 4; }
.collection-item img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .82; transition: .8s var(--ease);
}
.collection-item:hover img { transform: scale(1.06); opacity: .66; }
.collection-content { position: absolute; inset: auto 28px 28px 28px; z-index: 2; }
.collection-content span {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.86);
}
.collection-content h3 {
  margin: 10px 0 0; font-size: clamp(34px, 4vw, 64px);
  line-height: .9; letter-spacing: -.05em; color: var(--white);
}

/* ═══════════════════════════════════════════════ PARALLAX SEPARATOR */

.parallax-separator {
  min-height: 74vh; position: relative;
  background-color: var(--ink);
  background-size: cover; background-position: center; background-attachment: fixed;
  display: grid; place-items: center; overflow: hidden;
}
.parallax-separator::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(21,23,25,.45), rgba(21,23,25,.65));
}
.parallax-separator::after {
  content: ""; position: absolute; inset: 8%;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius-xl); pointer-events: none;
}
.parallax-content {
  position: relative; z-index: 2; max-width: 960px;
  text-align: center; color: var(--white); padding: 0 24px;
}
.parallax-content span {
  display: block; margin-bottom: 24px; font-size: 12px;
  letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: var(--white);
}
.parallax-content h2 {
  margin: 0; font-size: clamp(48px, 8vw, 118px);
  line-height: .86; letter-spacing: -.07em; color: var(--white);
}

/* ═══════════════════════════════════════════════ PRODUCTS */

.products { background: var(--paper-soft); }
.product-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.08);
  transition: .55s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-14px); box-shadow: 0 38px 90px rgba(0,0,0,.14); }
.product-image { height: 380px; overflow: hidden; background: var(--primary); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .8s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-info { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-info span {
  color: var(--primary); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 700;
}
.product-info h3 {
  margin: 18px 0 14px; font-size: 32px; line-height: .95;
  letter-spacing: -.04em; color: var(--ink);
}
.product-info p { margin: 0 0 22px; color: var(--muted); line-height: 1.65; flex: 1; }
.product-info .product-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  color: var(--primary);
}
.product-info .product-link i { transition: .3s ease; }
.product-card:hover .product-info .product-link i { transform: translateX(6px); }

/* ═══════════════════════════════════════════════ FILTRO MARCHI (categoria) */

.cat-filter {
  max-width: 1220px;
  margin: 0 auto 64px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px 28px;
}

.cat-filter-label {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--primary); font-weight: 700;
  flex: 0 0 auto;
}

.cat-filter-list {
  display: flex; flex-wrap: wrap; gap: 6px;
  flex: 1 1 auto;
}

.cat-filter-list a {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px; line-height: 1.2;
  letter-spacing: .02em;
  color: var(--muted);
  background: transparent;
  transition: background .25s ease, color .25s ease;
  white-space: nowrap;
}

.cat-filter-list a em {
  font-style: normal; font-size: 11px;
  opacity: .55;
}

.cat-filter-list a:hover {
  color: var(--ink);
  background: var(--paper-soft);
}

.cat-filter-list a.is-active {
  background: var(--ink);
  color: var(--white);
}

.cat-filter-list a.is-active em { opacity: .65; }

@media (max-width: 760px) {
  .cat-filter {
    margin-bottom: 40px; padding-bottom: 22px;
    flex-direction: column; align-items: flex-start; gap: 14px;
  }
  .cat-filter-list { width: 100%; }
  .cat-filter-list a { padding: 8px 14px; font-size: 12.5px; }
}

/* ═══════════════════════════════════════════════ BLOG / JOURNAL */

.blog { background: var(--ink); color: var(--white); }
.blog .section-description, .blog .section-number, .blog .section-title { color: var(--white); }
.blog-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px;
}
.blog-featured {
  position: relative; min-height: 640px; border-radius: var(--radius-xl);
  overflow: hidden; background: var(--primary);
}
.blog-featured img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .72; transition: .8s var(--ease);
}
.blog-featured:hover img { transform: scale(1.06); opacity: .58; }
.blog-content {
  position: absolute; left: 34px; right: 34px; bottom: 34px; color: var(--white);
}
.blog-content span, .blog-list span {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--white); font-weight: 700;
}
.blog-content h3 {
  max-width: 780px; margin: 18px 0;
  font-size: clamp(38px, 5vw, 78px); line-height: .9;
  letter-spacing: -.06em; color: var(--white);
}
.blog-content p {
  max-width: 560px; margin: 0;
  color: rgba(255,255,255,.84); line-height: 1.75;
}
.blog-list { display: grid; gap: 22px; }
.blog-list article {
  padding: 34px; border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); transition: .45s var(--ease);
}
.blog-list article:hover { background: var(--primary); transform: translateX(12px); }
.blog-list h4 {
  margin: 22px 0 0; font-size: 34px; line-height: .95;
  letter-spacing: -.04em; color: var(--white);
}

/* ═══════════════════════════════════════════════ PROCESS / METHOD */

.process { background: var(--paper-soft); }
.process-list { max-width: 1180px; margin: 0 auto; border-top: 1px solid var(--line); }
.process-row {
  display: grid; grid-template-columns: 160px 1fr 1fr;
  gap: 48px; align-items: center; padding: 46px 0;
  border-bottom: 1px solid var(--line); transition: .45s var(--ease);
}
.process-row:hover { padding-left: 28px; color: var(--primary); }
.process-row .num { font-size: 13px; letter-spacing: .24em; color: var(--primary); }
.process-row h3 {
  margin: 0; font-size: clamp(32px, 4vw, 58px);
  letter-spacing: -.05em; line-height: .9;
}
.process-row p { margin: 0; color: var(--muted); line-height: 1.8; }

/* ═══════════════════════════════════════════════ CONTACT */

.contact { background: var(--primary); color: var(--white); padding-bottom: 80px; }
.contact .section-number { color: var(--white); }
.contact-panel {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 60px; align-items: stretch;
}
.contact-card {
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.08); border: 1px solid var(--line-light); padding: 42px;
}
.contact-card h2 {
  margin: 0 0 28px; font-size: clamp(44px, 6vw, 96px);
  line-height: .86; letter-spacing: -.07em; color: var(--white);
}
.contact-card p { color: rgba(255,255,255,.86); line-height: 1.85; }
.contact-data {
  margin-top: 46px; display: grid; gap: 16px;
  color: var(--white); font-size: 14px;
}
.contact-data a { color: var(--white); }
.contact-data a:hover { text-decoration: underline; }
.contact-data span, .contact-data i { color: var(--white); }
.contact-data i { margin-right: 8px; }

.form {
  border-radius: var(--radius-xl); background: var(--paper-soft);
  color: var(--ink); padding: 42px;
}
.field { margin-bottom: 24px; }
.field label {
  display: block; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px; font-weight: 700;
}
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid rgba(21,23,25,.22);
  background: transparent; padding: 15px 0; font-size: 16px;
  color: var(--ink); outline: none; font-family: inherit; transition: .3s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); }

.submit { border: 0; cursor: pointer; width: 100%; justify-content: center; margin-top: 10px; }

.form-message {
  display: none; margin-top: 22px; padding: 16px; border-radius: 18px;
  background: rgba(55,84,116,.10); color: var(--primary); line-height: 1.6;
}
.form-message.show { display: block; }
.form-message.error { background: rgba(180,40,40,.10); color: #b22; }

/* ═══════════════════════════════════════════════ FOOTER EXTENDED */

.footer-extended {
  background: var(--ink); color: rgba(255,255,255,.72); padding: 80px 6vw 36px;
}
.footer-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr .7fr .7fr .7fr; gap: 48px;
  padding-bottom: 52px; border-bottom: 1px solid var(--line-light);
}
.footer-brand {
  font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 700; color: var(--white); margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 12px;
}
.footer-brand img { width: 40px; height: 40px; }
.footer-about {
  color: rgba(255,255,255,.52); line-height: 1.8; font-size: 14px; max-width: 340px;
}
.footer-col h4 {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.42); font-weight: 700; margin: 0 0 22px;
}
.footer-col a {
  display: block; padding: 7px 0; font-size: 14px;
  color: rgba(255,255,255,.62); transition: .3s ease;
}
.footer-col a:hover { color: var(--white); transform: translateX(6px); }
.footer-bottom {
  max-width: 1220px; margin: 0 auto;
  padding-top: 28px; display: flex; justify-content: space-between;
  align-items: center; gap: 24px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line-light);
  color: rgba(255,255,255,.52); font-size: 16px; transition: .35s var(--ease);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ═══════════════════════════════════════════════ REVEAL SYSTEM */

.reveal { opacity: 0; transform: translateY(46px); transition: 1s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.mask-reveal { clip-path: inset(0 0 100% 0 round 30px); transition: 1.2s var(--ease); }
.mask-reveal.visible { clip-path: inset(0 0 0 0 round 30px); }

/* ═══════════════════════════════════════════════ STATS */

.stats { background: var(--ink); }
.stats-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item {
  padding: 52px 36px; text-align: center;
  border-right: 1px solid var(--line-light); position: relative;
}
.stat-item:last-child { border-right: 0; }
.stat-number {
  font-size: clamp(56px, 6vw, 96px); line-height: .85;
  letter-spacing: -.06em; color: var(--white); display: block;
}
.stat-suffix { font-size: clamp(28px, 3vw, 48px); color: var(--primary); font-style: italic; }
.stat-label {
  display: block; margin-top: 18px; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

/* ═══════════════════════════════════════════════ TEAM */

.team { background: var(--paper-soft); }
.team-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.team-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.team-photo {
  width: 100%; height: 520px; object-fit: cover;
  filter: saturate(.78) contrast(1.04); transition: .8s var(--ease);
}
.team-card:hover .team-photo { transform: scale(1.06); filter: saturate(.95); }
.team-overlay {
  position: absolute; inset: auto 0 0; padding: 28px;
  background: linear-gradient(transparent, rgba(21,23,25,.82));
  color: var(--white);
}
.team-overlay h3 {
  margin: 0; font-size: 28px; line-height: 1;
  letter-spacing: -.03em; color: var(--white);
}
.team-overlay span {
  display: block; margin-top: 8px; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}

/* ═══════════════════════════════════════════════ TESTIMONIALS */

.testimonials { background: var(--paper); overflow: hidden; }
.testimonials .section-number { color: var(--primary); }
.testimonials-track { max-width: 1220px; margin: 0 auto; position: relative; overflow: hidden; }
.testimonials-slider { display: flex; transition: transform .7s var(--ease); }
.testimonial-slide {
  min-width: 100%; padding: 0 4vw;
  display: grid; grid-template-columns: .4fr .6fr;
  gap: 60px; align-items: center;
}
.testimonial-image {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-xl); filter: saturate(.78);
}
.testimonial-body { max-width: 580px; }
.testimonial-quote {
  position: relative; font-size: clamp(24px, 3vw, 40px);
  line-height: 1.25; letter-spacing: -.03em; color: var(--ink);
}
.testimonial-quote::before {
  content: "\201C"; position: absolute; top: -28px; left: -12px;
  font-size: 92px; color: var(--primary); opacity: .3; line-height: 1;
}
.testimonial-author { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.testimonial-author strong { display: block; font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
.testimonial-author span {
  display: block; margin-top: 6px; font-size: 13px;
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
}
.testimonial-nav {
  max-width: 1220px; margin: 46px auto 0;
  display: flex; gap: 14px; justify-content: flex-end; padding-right: 4vw;
}
.testimonial-nav button {
  width: 52px; height: 52px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
  font-size: 18px; transition: .35s var(--ease);
}
.testimonial-nav button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ═══════════════════════════════════════════════ BRANDS / PARTNERS */

.brands {
  padding: 80px 6vw; background: var(--paper-soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.brands-label {
  text-align: center; font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 48px;
}
.brands-row {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.brand-logo {
  flex: 0 0 auto; font-size: 20px; font-weight: 700;
  letter-spacing: .02em; color: var(--ink); opacity: .42;
  transition: .4s var(--ease); padding: 6px 14px;
}
.brand-logo:hover { opacity: .85; color: var(--primary); }

/* ═══════════════════════════════════════════════ MARQUEE */

.marquee-section {
  padding: 42px 0; background: var(--ink); overflow: hidden;
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 38s linear infinite; }
.marquee-track span {
  flex: 0 0 auto; padding: 0 42px;
  font-size: clamp(38px, 5vw, 72px); letter-spacing: -.04em;
  color: var(--white); white-space: nowrap;
}
.marquee-track span.dot { padding: 0 28px; color: var(--primary); font-style: italic; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════ FAQ */

.faq { background: var(--paper-soft); }
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 32px 0; border: 0; background: transparent;
  text-align: left; cursor: pointer; font-family: inherit;
  font-size: clamp(20px, 2.8vw, 30px); letter-spacing: -.03em;
  color: var(--ink); transition: .35s var(--ease);
}
.faq-question:hover { color: var(--primary); }
.faq-question i { flex: 0 0 auto; font-size: 18px; transition: .4s var(--ease); color: var(--primary); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-answer-inner { padding: 0 0 32px; color: var(--muted); line-height: 1.85; font-size: 16px; max-width: 680px; }
.faq-item.open .faq-answer { max-height: 600px; }

/* ═══════════════════════════════════════════════ TIMELINE */

.timeline { background: var(--ink); color: var(--white); overflow: hidden; }
.timeline .section-number, .timeline .section-title { color: var(--white); }
.timeline .section-description { color: rgba(255,255,255,.72); }
.timeline-track { max-width: 960px; margin: 0 auto; position: relative; padding-left: 60px; }
.timeline-track::before {
  content: ""; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 1px; background: var(--line-light);
}
.timeline-item { position: relative; padding: 0 0 64px; transition: .45s var(--ease); }
.timeline-item::before {
  content: ""; position: absolute; left: -50px; top: 8px;
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--primary); border: 3px solid var(--ink); z-index: 2;
}
.timeline-year { font-size: 13px; letter-spacing: .24em; color: var(--primary); text-transform: uppercase; font-weight: 700; }
.timeline-item h3 { margin: 14px 0 12px; font-size: clamp(28px, 3vw, 44px); line-height: .95; letter-spacing: -.04em; color: var(--white); }
.timeline-item p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.8; max-width: 580px; }

/* ═══════════════════════════════════════════════ DETAIL HERO (prodotto/realizzazione) */

.detail-hero {
  min-height: 92vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--paper-soft); overflow: hidden;
  padding-top: 92px;
}
.detail-hero-image { position: relative; min-height: 92vh; overflow: hidden; }
.detail-hero-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.78);
}
.detail-hero-content {
  padding: 80px 6vw 80px 5vw;
  display: flex; flex-direction: column; justify-content: center;
}
.detail-breadcrumb {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 42px;
}
.detail-breadcrumb a { color: var(--primary); }
.detail-hero-content h1 {
  margin: 0 0 28px; font-size: clamp(48px, 6vw, 96px);
  line-height: .86; letter-spacing: -.06em;
}
.detail-hero-content > p {
  color: var(--muted); line-height: 1.85; font-size: 16px; max-width: 520px;
}
.detail-specs { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-spec { padding: 22px; border-radius: 22px; border: 1px solid var(--line); }
.detail-spec strong {
  display: block; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 8px; font-weight: 700;
}
.detail-spec span { color: var(--ink); font-size: 15px; }

/* ═══════════════════════════════════════════════ GALLERY MASONRY */

.gallery-masonry { max-width: 1220px; margin: 0 auto; columns: 3; column-gap: 22px; }
.gallery-masonry-item {
  break-inside: avoid; margin-bottom: 22px;
  border-radius: var(--radius-xl); overflow: hidden;
  position: relative;
}
.gallery-masonry-item img, .gallery-masonry-item video {
  width: 100%; height: auto; display: block; filter: saturate(.78);
  transition: .8s var(--ease);
}
.gallery-masonry-item:hover img { transform: scale(1.04); filter: saturate(.95); }

/* ═══════════════════════════════════════════════ CTA BANNER */

.cta-banner {
  padding: 110px 6vw; background: var(--primary);
  position: relative; overflow: hidden;
  display: grid; place-items: center; text-align: center;
}
.cta-banner::before, .cta-banner::after {
  content: ""; position: absolute; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
}
.cta-banner::before { width: 48vw; height: 48vw; right: -14vw; top: -16vw; }
.cta-banner::after { width: 36vw; height: 36vw; left: -10vw; bottom: -12vw; }
.cta-inner { position: relative; z-index: 2; max-width: 780px; }
.cta-inner h2 {
  margin: 0 0 28px; font-size: clamp(44px, 7vw, 108px);
  line-height: .84; letter-spacing: -.07em; color: var(--white);
}
.cta-inner p {
  margin: 0 0 42px; color: rgba(255,255,255,.82);
  line-height: 1.85; font-size: 16px; max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-inner .luxury-link {
  background: var(--white); color: var(--primary); margin: 0 auto;
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}
.cta-inner .luxury-link:hover { background: var(--paper-soft); transform: translateY(-4px); }
.cta-inner .luxury-link i { background: rgba(55,84,116,.14); color: var(--primary); }

/* ═══════════════════════════════════════════════ MAPPA CONTATTI */

.map-wrapper {
  max-width: 1220px; margin: 0 auto; height: 480px;
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow);
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ═══════════════════════════════════════════════ ORARI APERTURA */

.opening-hours {
  max-width: 720px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.opening-hours .row {
  display: grid; grid-template-columns: 1fr 2fr;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  align-items: center;
}
.opening-hours .day {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary); font-weight: 700;
}
.opening-hours .hours { color: var(--ink); font-size: 16px; }
.opening-hours .closed { color: var(--muted); font-style: italic; }

/* ═══════════════════════════════════════════════ CATEGORIE GRID */

.cat-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.cat-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  height: 460px; background: var(--primary);
  transition: .55s var(--ease);
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover; opacity: .68;
  transition: .8s var(--ease);
}
.cat-card:hover { transform: translateY(-10px); box-shadow: 0 38px 90px rgba(0,0,0,.16); }
.cat-card:hover img { opacity: .54; transform: scale(1.06); }
.cat-card .overlay {
  position: absolute; inset: 0; padding: 36px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
  background: linear-gradient(transparent 30%, rgba(21,23,25,.45));
}
.cat-card .overlay span {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.78); font-weight: 700;
}
.cat-card .overlay h3 {
  margin: 12px 0 4px; font-size: clamp(32px, 4vw, 56px);
  line-height: .95; letter-spacing: -.04em; color: var(--white);
}
.cat-card .overlay .arrow {
  position: absolute; top: 28px; right: 28px;
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,.18); display: grid; place-items: center;
  color: var(--white); font-size: 18px; transition: .45s var(--ease);
}
.cat-card:hover .overlay .arrow { background: var(--white); color: var(--primary); transform: translate(4px, -4px); }

/* ═══════════════════════════════════════════════ GALLERY PRODOTTO */

.product-gallery {
  display: grid; gap: 16px;
}
.product-gallery .main-img {
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--paper-soft);
}
.product-gallery .main-img img {
  width: 100%; height: auto; max-height: 720px; object-fit: cover; display: block;
}
.product-gallery .thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.product-gallery .thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 14px; cursor: pointer;
  transition: .3s ease; border: 2px solid transparent;
}
.product-gallery .thumbs img:hover { transform: translateY(-3px); }
.product-gallery .thumbs img.active { border-color: var(--primary); }

/* ═══════════════════════════════════════════════ EMPTY STATE */

.empty-state {
  max-width: 720px; margin: 60px auto;
  padding: 60px 30px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius-xl);
  background: var(--white);
}
.empty-state h3 { margin: 0 0 16px; color: var(--primary); }
.empty-state p { margin: 0; color: var(--muted); }

/* ═══════════════════════════════════════════════ RESPONSIVE */

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 70vh; clip-path: none; }

  .section-header,
  .editorial-layout,
  .contact-panel,
  .blog-grid { grid-template-columns: 1fr; }

  .manifesto-grid,
  .product-grid,
  .cat-grid { grid-template-columns: 1fr 1fr; }

  .process-row { grid-template-columns: 1fr; gap: 16px; }

  .collection-item.large,
  .collection-item.medium,
  .collection-item.small { grid-column: span 12; }

  .parallax-separator { background-attachment: scroll; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-slide { grid-template-columns: 1fr; }
  .testimonial-image { height: 340px; }

  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero-image { min-height: 50vh; }

  .gallery-masonry { columns: 2; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { padding: 18px; }

  /* In mobile: nasconde il logo, lascia solo il testo del brand */
  .brand img { display: none; }

  /* Quando il menu mobile è aperto, l'header smette di usare difference
     così il menu (opaco) resta leggibile sopra qualsiasi sfondo.
     Doppio selettore: :has() per browser moderni + .is-menu-open via JS per fallback. */
  .site-header:has(.nav.open),
  .site-header.is-menu-open { mix-blend-mode: normal; color: var(--white); }

  .nav {
    position: fixed; inset: 74px 18px auto 18px;
    padding: 26px 24px; border-radius: 22px;
    background: var(--ink);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
    flex-direction: column; align-items: stretch; gap: 4px;
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: .35s var(--ease);
    mix-blend-mode: normal;
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a {
    color: var(--white); opacity: 1;
    padding: 14px 12px; font-size: 13px; letter-spacing: .18em;
    border-radius: 12px;
  }
  .nav a:hover, .nav a.is-active {
    background: var(--primary); color: var(--white); transform: none;
  }
  .menu-button { display: flex; }

  .hero-left { padding: 118px 24px 50px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .section { padding: 92px 24px; }
  .hero-compact { padding: 140px 24px 60px; min-height: 50vh; }

  .project-card, .project-card:nth-child(even) {
    width: 82vw; height: 520px; margin-top: 0;
  }
  .horizontal-track { padding-left: 24px; padding-right: 24px; }

  .editorial-images { min-height: 560px; }
  .editorial-img-a { width: 86%; height: 430px; }
  .editorial-img-b { width: 62%; height: 260px; }
  .values { grid-template-columns: 1fr; }

  .product-image { height: 320px; }
  .product-grid, .cat-grid, .manifesto-grid { grid-template-columns: 1fr !important; }
  .manifesto-card { min-height: auto; padding: 28px 24px; }
  .manifesto-card h3 { margin: 32px 0 14px; font-size: 28px; }

  .blog-featured { min-height: 560px; }
  .blog-content { left: 24px; right: 24px; bottom: 24px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 36px 22px; }

  .team-grid { grid-template-columns: 1fr; }
  .team-photo { height: 440px; }

  .gallery-masonry { columns: 1; }

  .detail-specs { grid-template-columns: 1fr; }
  .detail-hero-content { padding: 60px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }

  .opening-hours .row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }

  .filter-bar { gap: 8px; }
  .filter-bar a { padding: 8px 14px; font-size: 11px; }
}
