/* ==========================================================================
   ALKRAS PIETRE — Design System "Maison"
   Pietra naturale pugliese trattata come materiale prezioso:
   nero profondo, oro rosa, tipografia da haute couture.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..600&family=Italiana&family=Marcellus&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Colore — nero gioielleria + oro rosa */
  --ink: #0A0908;
  --panel: #161412;
  --panel-raised: #1F1C19;
  --stone: #F2E8E0;
  --stone-dim: #B8A99D;
  --rosegold: #C9A07E;
  --rosegold-light: #E8CBA8;
  --rosegold-dim: #8A6F58;
  --terracotta: #C9A07E;       /* alias retro-compatibile: ora è oro rosa */
  --terracotta-bright: #E8CBA8;
  --line: rgba(201, 160, 126, 0.16);
  --line-bright: rgba(201, 160, 126, 0.34);

  /* Tipografia — registro haute couture */
  --serif: 'Cormorant', serif;
  --display: 'Italiana', serif;
  --label: 'Marcellus', serif;
  --sans: 'Jost', -apple-system, sans-serif;

  /* Spaziatura */
  --gutter: clamp(1.5rem, 4vw, 4rem);
  --maxw: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--stone);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

::selection { background: var(--rosegold); color: var(--ink); }

:focus-visible {
  outline: 1px solid var(--rosegold-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  color: var(--stone);
}

h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }

.eyebrow {
  font-family: var(--label);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosegold-light);
}

.lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--stone-dim);
  max-width: 56ch;
}

/* ===== Pagine legali (Privacy, Cookie, Termini) ===== */
.legal-content { padding: 5rem 0; }
.legal-content h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--stone);
  margin: 2.6rem 0 1rem;
}
.legal-content h3:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--stone-dim);
  margin-bottom: 1rem;
}
.legal-content ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.legal-content li { margin-bottom: 0.6rem; }
.legal-content a { color: var(--rosegold-light); text-decoration: underline; }
.legal-content strong { color: var(--stone); font-weight: 500; }
.legal-content em { color: var(--stone-dim); font-style: italic; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-family: var(--sans);
  font-size: 0.88rem;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  color: var(--stone-dim);
}
.legal-table th {
  color: var(--stone);
  font-weight: 500;
  background: var(--panel-raised);
}
@media (max-width: 700px) {
  .legal-table { font-size: 0.82rem; }
  .legal-table th, .legal-table td { padding: 0.6rem 0.7rem; }
}

/* ===== Divisore — losanga dorata, registro gioielleria ===== */
.venatura {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.venatura .vline {
  height: 1px;
  width: clamp(60px, 18vw, 280px);
  background: linear-gradient(90deg, transparent, var(--line-bright));
}
.venatura .vline.right { background: linear-gradient(90deg, var(--line-bright), transparent); }
.venatura .vgem {
  width: 9px; height: 9px;
  border: 1px solid var(--rosegold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 9, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.logo img.logo-mark { height: 38px; width: auto; display: block; }
.logo .wordmark { text-transform: uppercase; }
.logo small {
  font-family: var(--label);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--stone-dim);
  text-transform: uppercase;
  margin-left: 0.5rem;
}
.main-nav { display: flex; align-items: center; gap: 2.1rem; }
.nav-drawer-body { display: contents; }
.main-nav a {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--stone-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--rosegold-light); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--rosegold);
}
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: -1.2rem;
  margin-top: 0.6rem;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  min-width: 215px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.3s ease;
  box-shadow: 0 24px 48px -10px rgba(0,0,0,0.7);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.7rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--stone-dim);
}
.dropdown a:hover { background: rgba(201,160,126,0.06); color: var(--rosegold-light); }
.dropdown .cat-count {
  font-size: 0.72rem;
  color: var(--rosegold-dim);
  font-weight: 300;
}
.nav-cta {
  background: transparent;
  border: 1px solid var(--rosegold);
  color: var(--rosegold-light) !important;
  padding: 0.7rem 1.4rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--rosegold); color: var(--ink) !important; }

/* ===== Mega-dropdown Catalogo: 5 colonne categoria ===== */
.mega-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 0.9rem;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  display: flex;
  gap: 0;
  padding: 1.8rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.75);
  z-index: 50;
}
.has-dropdown:hover .mega-dropdown,
.has-dropdown:focus-within .mega-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-col {
  padding: 0 1.6rem;
  border-right: 1px solid var(--line);
  min-width: 192px;
}
.mega-col:last-child { border-right: none; }
.mega-col .mega-title {
  display: block;
  font-family: var(--label);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--rosegold-light);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.mega-col a.mega-link {
  display: block;
  padding: 0.45rem 0;
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--stone-dim);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mega-col a.mega-link:hover { color: var(--rosegold-light); padding-left: 0.3rem; }
.mega-col a.mega-family { font-weight: 500; color: var(--stone); }
.mega-col a.mega-family:hover { color: var(--rosegold-light); }
.mega-count {
  display: inline-block;
  margin-left: 0.4rem;
  font-family: var(--label);
  font-size: 0.68rem;
  color: var(--stone-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  vertical-align: middle;
}

@media (max-width: 1180px) {
  .mega-dropdown { left: 0; transform: translateY(-6px); flex-wrap: wrap; max-width: 90vw; }
  .has-dropdown:hover .mega-dropdown, .has-dropdown:focus-within .mega-dropdown { transform: translateY(0); }
  .mega-col { min-width: 45%; border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1rem; }
}
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--stone);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 100;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  body.nav-open .nav-toggle { opacity: 0; visibility: hidden; }
}

body.nav-open { overflow: hidden; }

.nav-drawer-head { display: none; }

/* ===== Drawer mobile — pannello da destra ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: min(86vw, 380px);
    height: 100dvh;
    height: 100vh; /* fallback browser senza supporto dvh */
    background: var(--panel);
    border-left: 1px solid var(--line-bright);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
    box-shadow: -20px 0 60px -10px rgba(0,0,0,0.6);
  }
  .main-nav.open { transform: translateX(0); }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem var(--gutter);
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .nav-drawer-head span {
    font-family: var(--label);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone-dim);
  }
  .nav-close {
    background: none; border: none;
    color: var(--stone);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
  }

  .nav-drawer-body {
    padding: 0.5rem var(--gutter) 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .nav-drawer-body > a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .has-dropdown { border-bottom: 1px solid var(--line); }
  .has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: none;
    font-size: 0.95rem;
  }
  .has-dropdown > a::after {
    content: '+';
    font-family: var(--sans);
    font-size: 1.1rem;
    color: var(--rosegold);
    transition: transform 0.3s ease;
  }
  .has-dropdown.open > a::after { content: '−'; }

  .mega-dropdown {
    position: static;
    left: auto;
    transform: none;
    width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: block;
  }
  .has-dropdown.open .mega-dropdown {
    max-height: 2000px;
    padding-bottom: 0.5rem;
  }
  .mega-col {
    min-width: 0;
    border: none;
    margin: 0 calc(-1 * var(--gutter)) 0;
    padding: 1.2rem calc(var(--gutter) + 0.6rem) 1.4rem;
  }
  .mega-col:nth-child(odd) { background: var(--panel-raised); }
  .mega-col:nth-child(even) { background: var(--ink); }
  .mega-col .mega-title {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
  }
  .mega-col a.mega-link {
    padding: 0.55rem 0;
    font-size: 0.86rem;
  }

  .nav-cta {
    margin-top: 1.2rem;
    text-align: center;
    justify-content: center;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 160, 126, 0.08), transparent),
    var(--ink);
  overflow: hidden;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.25), rgba(10,9,8,0.5));
  z-index: 1;
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes gemglow {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.65; }
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  opacity: 0;
  animation: heroFadeUp 1.4s ease 0.2s forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  margin: 1.1rem 0 1.6rem;
}
.hero h1 em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--rosegold-light);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 1px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.4s ease;
}
.btn-primary { background: var(--rosegold); color: var(--ink); }
.btn-primary:hover { background: var(--rosegold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line-bright); color: var(--stone); }
.btn-outline:hover { border-color: var(--rosegold); color: var(--rosegold-light); background: rgba(201,160,126,0.04); }
.btn-whatsapp { background: transparent; border-color: #2FA86E; color: #6FD79B; }
.btn-whatsapp:hover { background: rgba(47,168,110,0.1); border-color: #6FD79B; }

.hero-stats-section {
  padding: 3.5rem 0;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat .num { font-family: var(--display); font-size: 2.2rem; color: var(--rosegold-light); display: block; }
.stat .lbl { font-family: var(--sans); font-size: 0.78rem; color: var(--stone-dim); letter-spacing: 0.03em; }

@media (max-width: 700px) {
  .hero { min-height: 92vh; padding-bottom: 3rem; }
  .hero-content .lede { margin-top: 1.3rem; }
  .hero-actions { margin-top: 2rem; gap: 0.9rem; }
  .hero-stats-section { padding: 2.6rem 0; }
  .hero-stats { gap: 1.8rem 2.2rem; }
}

/* ===== Sections generiche ===== */
section { position: relative; padding: 7rem 0; }
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.5vw, 3rem); margin-top: 0.9rem; }

.bg-panel { background: var(--panel); }

/* ===== Catalogo Pietra di Trani: controlli (quick-nav + filtro) ===== */
.catalog-controls-section {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.family-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.pill-link {
  font-family: var(--label);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--stone-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.pill-link:hover, .pill-link.active {
  color: var(--ink);
  background: var(--rosegold-light);
  border-color: var(--rosegold-light);
}

.filter-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--stone);
  text-align: left;
}
.filter-toggle-label { display: flex; flex-direction: column; gap: 0.15rem; }
.filter-toggle-title {
  font-family: var(--label);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--stone);
}
.filter-toggle-summary {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--rosegold-light);
}
.filter-toggle-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.filter-toggle[aria-expanded="true"] .filter-toggle-chevron { transform: rotate(180deg); }
.filter-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--stone-dim);
  margin-bottom: 0.8rem;
}
.filter-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.35s ease;
}
.filter-panel-inner { overflow: hidden; min-height: 0; }
.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.filter-row:last-child { margin-bottom: 0; }
.filter-group-label {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-dim);
  margin-right: 0.4rem;
  min-width: 68px;
}
.filter-btn {
  font-family: var(--label);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--stone-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.filter-btn:hover { border-color: var(--rosegold-light); color: var(--stone); }
.filter-btn.active {
  color: var(--ink);
  background: var(--rosegold-light);
  border-color: var(--rosegold-light);
}
.filter-empty-msg {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--stone-dim);
  grid-column: 1 / -1;
  padding: 1.5rem 0;
}
.cat-card.filtered-out { display: none; }

/* ===== Catalogo Pietra di Trani: sezioni per famiglia ===== */
.catalog-family { padding: 3.5rem 0; scroll-margin-top: 150px; }
.catalog-family:nth-child(even) { background: var(--panel); }
.family-heading { max-width: 640px; margin-bottom: 2rem; }
.family-heading h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.5rem; }
.family-heading p { font-family: var(--sans); font-weight: 300; color: var(--stone-dim); font-size: 0.95rem; }

@media (max-width: 700px) {
  .catalog-controls-section { top: 84px; padding: 0.8rem 0; }
  .filter-toggle { display: flex; }
  .filter-label { display: none; }
  .filter-panel {
    grid-template-rows: 0fr;
    margin-top: 0;
  }
  .catalog-controls.expanded .filter-panel { grid-template-rows: 1fr; margin-top: 1rem; }
  .family-quicknav {
    gap: 0.45rem; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem; margin-bottom: 1rem;
  }
  .family-quicknav::-webkit-scrollbar { display: none; }
  .pill-link { font-size: 0.74rem; padding: 0.45rem 0.9rem; }
  .filter-row { gap: 0.4rem; }
  .filter-group-label { width: 100%; margin-bottom: 0.3rem; }
  .filter-btn { font-size: 0.72rem; padding: 0.38rem 0.85rem; }
  .catalog-family { padding: 2.4rem 0; scroll-margin-top: 128px; }
}

/* ===== Cards: categorie pietra ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cat-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1px;
  overflow: hidden;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.cat-card:hover { border-color: var(--rosegold); transform: translateY(-4px); }

/* ===== Filigrana logo su tutte le immagini ===== */
.cat-card-img::before,
.product-visual::before,
.gallery-item::before,
.intro-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/monogramma-bianco.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34%;
  opacity: 0.6;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.45));
  z-index: 2;
  pointer-events: none;
}
.cat-card-img {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}
.cat-card-img-inner {
  position: absolute;
  inset: -4%;
  width: 108%; height: 108%;
  background-size: cover;
  background-position: center bottom;
  transition: transform 8s ease;
}
.cat-card:hover .cat-card-img-inner { transform: scale(1.12); }
.cat-card-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: 0.6rem; }
.cat-card p { font-family: var(--sans); font-weight: 300; color: var(--stone-dim); font-size: 0.92rem; flex: 1; }
.cat-card .tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0 1.2rem; }
.tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  color: var(--stone-dim);
}
.cat-card .card-link {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--rosegold-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cat-card .card-link svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.cat-card:hover .card-link svg { transform: translateX(3px); }

@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ===== Process strip ===== */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-step {
  padding: 2.5rem var(--gutter);
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: none; }
.process-step .step-no {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--rosegold);
  letter-spacing: 0.05em;
}
.process-step h4 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0.7rem 0 0.5rem; }
.process-step p { font-family: var(--sans); font-weight: 300; font-size: 0.88rem; color: var(--stone-dim); }

@media (max-width: 900px) {
  .process-strip { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ===== Settori (chips) ===== */
.settori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.settore-cell {
  background: var(--ink);
  padding: 2rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.settore-cell h4 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.settore-cell ul { list-style: none; margin-top: 0.8rem; }
.settore-cell li { font-family: var(--sans); font-weight: 300; font-size: 0.84rem; color: var(--stone-dim); padding: 0.15rem 0; }

@media (max-width: 900px) { .settori-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .settori-grid { grid-template-columns: 1fr; } }

/* ===== Perche scegliere ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}
.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.why-item .icon-check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--rosegold);
  transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center;
  color: var(--rosegold-light);
  font-size: 0.7rem;
}
.why-item .icon-check span { transform: rotate(-45deg); display: block; }
.why-item p { font-family: var(--sans); font-weight: 300; font-size: 0.95rem; color: var(--stone-dim); }

@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-grid h5 {
  font-family: var(--label);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-dim);
  margin-bottom: 1.2rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.65rem; font-family: var(--sans); font-weight: 300; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--rosegold-light); }
.footer-logo { margin-bottom: 1.2rem; }
.footer-logo img { height: 92px; width: auto; }
.footer-grid p.addr { font-family: var(--sans); font-weight: 300; color: var(--stone-dim); font-size: 0.92rem; max-width: 280px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--stone-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Floating contact buttons ===== */
.float-contacts {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn.wa { background: #142A1F; color: #6FD79B; border: 1px solid #2FA86E; }
.float-btn.mail { background: var(--panel-raised); color: var(--rosegold-light); border: 1px solid var(--line-bright); }
.float-btn svg { width: 26px; height: 26px; }

/* ===== Breadcrumb / page header (sotto-pagine) ===== */
.page-hero {
  padding: 11rem 0 4rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero-bg-img {
  position: absolute;
  inset: -5%;
  width: 110%; height: 110%;
  background-size: cover;
  background-position: center center;
  animation: kenburns 26s ease-in-out infinite alternate;
}
.page-hero-bg video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.25), rgba(10,9,8,0.52));
  z-index: 1;
}
.page-hero .wrap { position: relative; z-index: 3; }
.page-hero-centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.page-hero-centered .breadcrumb { justify-content: center; }
@media (min-width: 701px) {
  .page-hero.page-hero-tall {
    min-height: 56.25vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 84px 0 4rem;
  }
}
.breadcrumb {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--stone-dim);
  margin-bottom: 1.3rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a:hover { color: var(--rosegold-light); }
.breadcrumb .sep { color: var(--rosegold-dim); }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 4vw, 3.4rem); margin: 0.7rem 0 1.1rem; }

/* ===== Product detail blocks (catalogo categoria) ===== */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.product-block:last-child { border-bottom: none; }
.product-block.reverse { direction: rtl; }
.product-block.reverse > * { direction: ltr; }
.product-info .eyebrow { display: block; margin-bottom: 0.6rem; }
.product-info h3 { font-family: var(--serif); font-weight: 600; font-size: 2rem; margin-bottom: 0.9rem; }
.product-info > p.desc { font-family: var(--sans); font-weight: 300; color: var(--stone-dim); margin-bottom: 1.6rem; }
.product-visual {
  border-radius: 1px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  border: 1px solid var(--line);
}
.product-visual-img {
  position: absolute;
  inset: -5%;
  width: 110%; height: 110%;
  background-size: cover;
  background-position: center bottom;
  animation: kenburns 22s ease-in-out infinite alternate;
}
/* Varianti per foto con soggetto non ancorato al fondo dell'inquadratura
   (usate in Rocce Ornamentali, dove le rocce sono fotografate più in alto
   o più in basso rispetto alla composizione standard) */
/* Variante per foto dove le rocce sono affiancate orizzontalmente:
   mostra l'intera composizione invece di tagliarla, anche a costo
   di margini di sfondo visibili sopra/sotto */
.product-visual-img.contain-full {
  inset: 0;
  width: 100%; height: 100%;
  background-size: contain;
  background-position: center bottom;
  background-color: var(--panel);
  animation: none;
}

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 1.6rem; font-family: var(--sans); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 0.7rem 0; font-size: 0.9rem; font-weight: 300; vertical-align: top; }
.spec-table td:first-child {
  color: var(--stone-dim);
  width: 38%;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.spec-table td:last-child { color: var(--stone); }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  padding: 0.4rem 0.85rem;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  color: var(--stone-dim);
}

.product-actions { display: flex; gap: 0.8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.btn-sm { padding: 0.75rem 1.3rem; font-size: 0.88rem; }

@media (max-width: 860px) {
  .product-block, .product-block.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ===== Category index page intro ===== */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.intro-visual {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.intro-visual-img {
  position: absolute;
  inset: -5%;
  width: 110%; height: 110%;
  background-size: cover;
  background-position: center center;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@media (max-width: 860px) {
  .intro-split { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
}

/* ===== Gallery (esempi di utilizzo) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-item-img {
  position: absolute;
  inset: -5%;
  width: 110%; height: 110%;
  background-size: cover;
  background-position: center bottom;
  transition: transform 6s ease;
}
.gallery-item:hover .gallery-item-img { transform: scale(1.15); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(10,9,8,0.95));
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.84rem;
  color: var(--stone);
  z-index: 2;
}
.gallery-item .cap span { display: block; font-family: var(--label); color: var(--rosegold-light); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }

@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr !important; max-width: none !important; } }

/* ===== Navigazione prodotto precedente/successivo ===== */
.product-nav-section { padding: 2.2rem 0; }
.product-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.2rem;
}
.product-nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 46%;
  color: var(--stone-dim);
  transition: color 0.25s ease;
}
.product-nav-link:hover { color: var(--rosegold-light); }
.product-nav-link.next { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.product-nav-link svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.25s ease; }
.product-nav-link.prev:hover svg { transform: translateX(-3px); }
.product-nav-link.next:hover svg { transform: translateX(3px); }
.product-nav-text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.product-nav-label {
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-dim);
}
.product-nav-title {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--stone);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-nav-link:hover .product-nav-title { color: var(--rosegold-light); }

@media (max-width: 600px) {
  .product-nav { flex-direction: column; gap: 1.2rem; }
  .product-nav-link, .product-nav-link.next { max-width: 100%; }
  .product-nav-title { max-width: 220px; }
}

/* ===== CTA banda finale ===== */
.cta-band {
  background: linear-gradient(120deg, var(--panel-raised), var(--panel));
  border: 1px solid var(--line-bright);
  padding: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; max-width: 480px; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Filtri catalogo (lavorazioni / sezione filtro a tendina) ===== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.3rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.filter-bar label { font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone-dim); }
.filter-bar select {
  background: var(--panel-raised);
  border: 1px solid var(--line-bright);
  color: var(--stone);
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-family: var(--sans);
}

/* ===== Pagine: chi siamo / contatti ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 2.4rem;
}
.contact-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-card p { font-family: var(--sans); font-weight: 300; color: var(--stone-dim); font-size: 0.92rem; margin-bottom: 1.5rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.92rem;
}
.contact-row:first-of-type { border-top: none; }
.contact-row svg { width: 17px; height: 17px; color: var(--rosegold); flex-shrink: 0; }
.map-embed { overflow: hidden; border: 1px solid var(--line); height: 100%; min-height: 380px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.5) invert(0.92) contrast(0.85) sepia(0.15); }
.map-placeholder {
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.2rem;
  padding: 2rem;
  background: var(--panel);
}
.map-placeholder p { font-family: var(--sans); font-size: 0.88rem; color: var(--stone-dim); max-width: 320px; }

/* ===== Lightbox galleria (Realizzazioni) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10,9,8,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.lightbox[hidden] { display: none; }
.lightbox-content {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.7);
}
.lightbox-caption {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--stone-dim);
  text-align: center;
  max-width: 640px;
}
.lightbox-caption span {
  display: block;
  font-family: var(--label);
  color: var(--rosegold-light);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--stone);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--rosegold-light);
  color: var(--rosegold-light);
}
.lightbox-close {
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
}
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
@media (max-width: 700px) {
  .lightbox { padding: 1rem; }
  .lightbox-close { top: 0.8rem; right: 0.8rem; width: 38px; height: 38px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-img { max-height: 65vh; }
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--panel-raised);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.5);
}
.cookie-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner p {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--stone-dim);
  max-width: 640px;
  margin: 0;
}
.cookie-banner p a { color: var(--rosegold-light); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
@media (max-width: 700px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Form contatto ===== */
.form-msg {
  padding: 1.1rem 1.3rem;
  border-radius: 4px;
  margin-bottom: 1.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  max-width: 640px;
}
.form-msg p { margin: 0; }
.form-msg a { color: inherit; text-decoration: underline; }
.form-msg-errore { background: rgba(201,60,60,0.1); border: 1px solid rgba(201,60,60,0.4); color: var(--stone); }

/* ===== Conferma invio modulo — overlay in primo piano ===== */
.form-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10,9,8,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.form-success-overlay[hidden] { display: none; }
.form-success-card {
  background: var(--panel-raised);
  border: 1px solid var(--rosegold-dim);
  border-radius: 6px;
  max-width: 440px;
  width: 100%;
  padding: 3rem 2.4rem;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
  animation: formSuccessPop 0.45s cubic-bezier(0.16,1,0.3,1);
}
@keyframes formSuccessPop {
  0% { opacity: 0; transform: scale(0.9) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.form-success-icon {
  width: 68px; height: 68px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(111,174,126,0.15);
  border: 1px solid var(--rosegold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6FAE7E;
}
.form-success-icon svg { width: 34px; height: 34px; }
.form-success-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--stone);
  margin-bottom: 0.8rem;
}
.form-success-card p {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--stone-dim);
  margin-bottom: 1.8rem;
}
.form-field { margin-bottom: 1.4rem; }
.form-field label { display: block; font-family: var(--sans); font-size: 0.84rem; font-weight: 300; color: var(--stone-dim); margin-bottom: 0.5rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-bright);
  color: var(--stone);
  padding: 0.85rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--rosegold);
}

/* ===== Team/valori (chi siamo) ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card { padding: 2rem 0; }
.value-card .vnum { font-family: var(--display); font-size: 1.1rem; color: var(--rosegold); }
.value-card h4 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin: 0.8rem 0 0.7rem; }
.value-card p { font-family: var(--sans); font-weight: 300; font-size: 0.92rem; color: var(--stone-dim); }

.value-card .vcard-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.value-card .vcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
}
.value-card:hover .vcard-img img { transform: scale(1.08); }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

.timeline-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline-step {
  flex: 1;
  min-width: 220px;
  padding: 2.2rem var(--gutter);
  border-right: 1px solid var(--line);
}
.timeline-step:last-child { border-right: none; }
.timeline-step .t-icon { font-family: var(--display); font-size: 1.5rem; color: var(--rosegold-light); }
.timeline-step h4 { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin: 0.8rem 0 0.5rem; }
.timeline-step p { font-family: var(--sans); font-weight: 300; font-size: 0.85rem; color: var(--stone-dim); }

/* fade-in on scroll — più lento, registro cinematografico */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1), transform 1.1s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
