/* ============================================
   STAGIONATURA — Salumificio Effebi
   Template A: Dark · Rustic · Butcher's Aesthetic
   ============================================ */

:root {
  --bg-primary: #1A0A10;
  --bg-secondary: #2E1118;
  --bg-tertiary: #150910;
  --bg-panel: #2A1520;
  --accent-gold: #8B6914;
  --accent-warm: #C4943A;
  --accent-burgundy: #6B1E2E;
  --accent-glow: rgba(139, 105, 20, 0.15);
  --text-primary: #F2E8DE;
  --text-secondary: #B8A89A;
  --text-muted: #7A6B62;
  --border: #3A2028;
  --glass-bg: rgba(46, 17, 24, 0.65);
  --glass-border: rgba(139, 105, 20, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(139, 105, 20, 0.15);
  --shadow-glow-hover: 0 0 40px rgba(139, 105, 20, 0.25), 0 0 0 1px rgba(139, 105, 20, 0.12);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 250ms var(--ease-out-expo);
  --transition-normal: 450ms var(--ease-out-expo);
  --transition-slow: 700ms var(--ease-out-expo);

  /* Override shared */
  --accent-primary: var(--accent-gold);
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent-gold);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ---- Typography System ---- */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

.section-header__label {
  color: var(--accent-warm);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.section-header__title {
  color: var(--text-primary);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.section-header__subtitle {
  color: var(--text-secondary);
}

/* ---- Navigation ---- */
.nav {
  background: transparent;
  padding: 1.25rem 0;
}

.nav.scrolled {
  background: rgba(26, 10, 16, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-warm);
  letter-spacing: 0.08em;
}

.nav__links a {
  color: rgba(242, 232, 222, 0.7);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  transition: color var(--transition-fast);
}

.nav__links a:hover {
  color: var(--accent-warm);
}

.nav__links a::after {
  background: var(--accent-warm);
  height: 1px;
}

.nav__hamburger span {
  background: var(--text-primary);
}

.nav .btn--primary {
  padding: 0.6rem 1.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .nav__links {
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Layered radial glows — deep burgundy warmth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 95%, rgba(107, 30, 46, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 35% 85%, rgba(139, 105, 20, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 65% 90%, rgba(196, 148, 58, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Textured paper feel — butcher paper grain */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      87deg,
      transparent,
      transparent 60px,
      rgba(139, 105, 20, 0.015) 60px,
      rgba(139, 105, 20, 0.015) 61px
    ),
    repeating-linear-gradient(
      177deg,
      transparent,
      transparent 100px,
      rgba(107, 30, 46, 0.012) 100px,
      rgba(107, 30, 46, 0.012) 101px
    );
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-warm);
  border: 1px solid rgba(139, 105, 20, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero__label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-warm);
  letter-spacing: 0.4em;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 0.9;
  margin-bottom: 1.5rem;
  text-shadow:
    0 0 80px rgba(107, 30, 46, 0.25),
    0 2px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  transition: all var(--transition-normal);
  letter-spacing: 0.04em;
}

.btn--primary {
  background: var(--accent-burgundy);
  box-shadow: 0 4px 20px rgba(107, 30, 46, 0.3);
}

.btn--primary:hover {
  background: #7D2438;
  box-shadow: 0 6px 30px rgba(107, 30, 46, 0.45);
  transform: translateY(-3px);
}

.btn--outline {
  border-color: rgba(139, 105, 20, 0.4);
  color: var(--accent-warm);
  border-width: 1px;
}

.btn--outline:hover {
  background: rgba(139, 105, 20, 0.1);
  border-color: var(--accent-warm);
  color: var(--accent-warm);
  transform: translateY(-3px);
}

/* ---- Smoke Particles ---- */
.hero__smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.smoke {
  position: absolute;
  bottom: 10%;
  border-radius: 50%;
  background: rgba(139, 105, 20, 0.15);
  filter: blur(8px);
  animation: smoke-rise linear infinite;
  opacity: 0;
}

.smoke:nth-child(1) { left: 15%; width: 20px; height: 20px; animation-duration: 10s; animation-delay: 0s; }
.smoke:nth-child(2) { left: 35%; width: 14px; height: 14px; animation-duration: 12s; animation-delay: 2s; }
.smoke:nth-child(3) { left: 50%; width: 18px; height: 18px; animation-duration: 8s;  animation-delay: 1s; }
.smoke:nth-child(4) { left: 65%; width: 12px; height: 12px; animation-duration: 14s; animation-delay: 3s; }
.smoke:nth-child(5) { left: 80%; width: 16px; height: 16px; animation-duration: 11s; animation-delay: 0.5s; }
.smoke:nth-child(6) { left: 45%; width: 10px; height: 10px; animation-duration: 13s; animation-delay: 4s; }

@keyframes smoke-rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% { opacity: 0.3; }
  50% {
    transform: translateY(-40vh) translateX(20px) scale(2);
    opacity: 0.15;
  }
  100% {
    transform: translateY(-80vh) translateX(-10px) scale(3);
    opacity: 0;
  }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-hint span {
  display: block;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(139, 105, 20, 0.3);
  border-radius: 9px;
  position: relative;
}

.hero__scroll-hint span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 5px;
  background: var(--accent-warm);
  border-radius: 1px;
  opacity: 0.6;
  animation: scroll-hint 2s var(--ease-out-expo) infinite;
}

@keyframes scroll-hint {
  0%, 100% { top: 5px; opacity: 0.6; }
  50% { top: 14px; opacity: 0.1; }
}

/* ============================================
   STORIA
   ============================================ */
.storia {
  background: var(--bg-primary);
  position: relative;
}

.storia::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -5%;
  width: 45%;
  height: 110%;
  background: var(--bg-secondary);
  clip-path: polygon(0 0, 100% 5%, 85% 100%, 0 95%);
  z-index: 0;
}

.storia .container {
  position: relative;
  z-index: 1;
}

.storia__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.storia__text {
  padding-left: 1rem;
  border-left: 1px solid rgba(139, 105, 20, 0.15);
}

.storia__text .section-header__label {
  margin-bottom: 1rem;
  display: block;
}

.storia__text .section-header__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.storia__text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.9;
  font-size: 0.95rem;
  font-weight: 300;
}

.storia__signature {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.storia__signature::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-warm);
  opacity: 0.5;
}

.storia__signature-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent-warm);
  letter-spacing: 0.03em;
}

.storia__image-frame {
  position: relative;
}

.storia__image-placeholder {
  aspect-ratio: 3/4;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-lg);
}

.storia__image-placeholder svg {
  fill: var(--accent-burgundy);
  opacity: 0.3;
}

.storia__image-frame::before,
.storia__image-frame::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: rgba(139, 105, 20, 0.25);
  z-index: 2;
}

.storia__image-frame::before {
  top: -8px;
  left: -8px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.storia__image-frame::after {
  bottom: -8px;
  right: -8px;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

@media (max-width: 767px) {
  .storia::before { display: none; }

  .storia__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .storia__text {
    padding-left: 0;
    border-left: none;
  }

  .storia__image-frame {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ============================================
   PRODOTTI
   ============================================ */
.prodotti {
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
}

.prodotti::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 120%;
  background: rgba(139, 105, 20, 0.015);
  transform: rotate(-8deg);
  transform-origin: top right;
  pointer-events: none;
}

.prodotti .container {
  position: relative;
  z-index: 1;
}

.prodotti__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.prodotti__card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.prodotti__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-hover);
  border-color: rgba(139, 105, 20, 0.15);
}

/* Left accent bar */
.prodotti__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-burgundy) 0%, rgba(107, 30, 46, 0.2) 100%);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.prodotti__card:hover::before {
  opacity: 1;
}

/* Corner accent */
.prodotti__card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(107, 30, 46, 0.04) 50%);
  pointer-events: none;
}

.prodotti__card-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1rem;
}

.prodotti__card-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--accent-gold);
  opacity: 0.6;
}

.prodotti__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.prodotti__card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

.prodotti__card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm);
  background: rgba(139, 105, 20, 0.08);
  border: 1px solid rgba(139, 105, 20, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

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

/* ============================================
   LAVORAZIONE (Timeline)
   ============================================ */
.lavorazione {
  background: var(--bg-primary);
  position: relative;
}

.lavorazione__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
  position: relative;
}

/* Connecting line */
.lavorazione__timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 105, 20, 0.2), rgba(139, 105, 20, 0.2), transparent);
}

.lavorazione__step {
  text-align: center;
  position: relative;
}

.lavorazione__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid rgba(139, 105, 20, 0.2);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-warm);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.lavorazione__step:hover .lavorazione__num {
  background: var(--accent-burgundy);
  border-color: var(--accent-burgundy);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(107, 30, 46, 0.3);
}

.lavorazione__step h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.lavorazione__step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 767px) {
  .lavorazione__timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lavorazione__timeline::before {
    display: none;
  }
}

/* ============================================
   DOVE TROVARCI
   ============================================ */
.dove-trovarci {
  background: var(--bg-secondary);
  position: relative;
}

.info-grid__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(107, 30, 46, 0.1);
  border: 1px solid rgba(107, 30, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all var(--transition-normal);
}

.info-grid__item:hover .info-grid__icon-wrap {
  background: rgba(107, 30, 46, 0.2);
  box-shadow: 0 0 20px rgba(107, 30, 46, 0.15);
}

.info-grid__icon-wrap svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-warm);
  opacity: 0.7;
}

.info-grid__title {
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.info-grid__text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 300;
}

.info-grid__text a {
  color: var(--accent-warm);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.info-grid__text a:hover {
  opacity: 1;
}

.phone-link {
  color: var(--accent-warm);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ============================================
   ORDINA (CTA)
   ============================================ */
.ordina {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.ordina::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(107, 30, 46, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ordina__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.ordina__text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CONTATTI
   ============================================ */
.contatti {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.contatti .section-header__title {
  margin-bottom: 1.5rem;
}

.contatti__legal {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.contatti__address {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.contatti__phone {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--accent-warm);
  font-weight: 700;
  display: inline-block;
  margin-top: 1rem;
  transition: color var(--transition-fast);
}

.contatti__phone:hover {
  color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer__text {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  background: rgba(107, 30, 46, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(107, 30, 46, 0.3);
  box-shadow: 0 4px 15px rgba(107, 30, 46, 0.2);
}

.back-to-top:hover {
  background: #7D2438;
  box-shadow: 0 4px 25px rgba(107, 30, 46, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .storia__grid {
    gap: 3rem;
  }

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

@media (max-width: 480px) {
  .hero__title {
    font-size: 3.2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 260px;
  }

  .section {
    padding: 4rem 0;
  }

  .prodotti__card {
    padding: 1.5rem;
  }
}

/* ============================================
   AMBIENT DETAILS
   ============================================ */

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Ambient hero glow */
.hero__content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(107, 30, 46, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: ambient-breathe 6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes ambient-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Product cards — warm glow on hover */
.prodotti__card-icon svg {
  transition: all var(--transition-normal);
}

.prodotti__card:hover .prodotti__card-icon svg {
  fill: var(--accent-warm);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(139, 105, 20, 0.4));
}

/* Lavorazione steps — glow line */
.lavorazione__step::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-burgundy);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lavorazione__step:hover::after {
  opacity: 0.5;
}

/* Section gradient transitions */
.storia::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--bg-secondary));
  pointer-events: none;
  z-index: 0;
}

/* CTA button shimmer */
.ordina .btn--primary {
  position: relative;
  overflow: hidden;
}

.ordina .btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: rotate(25deg);
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
}

.ordina .btn--primary:hover::after {
  left: 120%;
}

/* Buttons — active press */
.btn:active {
  transform: translateY(0) scale(0.98);
  transition: all 80ms ease;
}

/* Links — underline grow */
.info-grid__text a {
  position: relative;
}

.info-grid__text a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition-normal);
}

.info-grid__text a:hover::after {
  width: 100%;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .smoke { animation: none; }
  .hero__scroll-hint span::before { animation: none; }
  .hero__content::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  body::after { display: none; }
}


/* ============================================
   COMPLIANCE BASELINE v1.2
   Footer multi-colonna + Cookie banner Garante 2021
   Aggiunto automaticamente da tools/inject-compliance.sh
   ============================================ */
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer__col p {
  margin-bottom: 0.4rem;
}

.footer__col a {
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.footer__col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__legal {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.6;
}

@media (max-width: 767px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 20, 20, 0.96);
  color: #f5f5f5;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 2px solid currentColor;
  padding: 1.25rem 1rem;
  z-index: 10000;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cookie-banner__text {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner__text a {
  color: inherit;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}
