/* =============================================
   DAI NOVEI – style.css
   Design: Luxury / Artisanal Italian Butcher
   Palette: Nero · Bianco · Rosso Scuro · Crema · Oro
   ============================================= */

/* ─── 0. CSS RESET & VARIABILI ─────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette */
  --black:       #0a0a0a;
  --off-black:   #111111;
  --dark:        #1a1a1a;
  --red:         #8b1a1a;
  --red-deep:    #6b1010;
  --red-light:   #a52222;
  --cream:       #f5f0e8;
  --cream-dark:  #ede7d9;
  --gold:        #c9a84c;
  --gold-light:  #e0c26a;
  --white:       #ffffff;
  --gray-light:  #f8f5f0;
  --gray-mid:    #e0d8cc;
  --gray-text:   #7a7060;
  --text-main:   #1a1a1a;
  --text-body:   #3d3530;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-py:  100px;
  --container:   1200px;

  /* Transitions */
  --trans-fast:  0.2s ease;
  --trans-mid:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --trans-slow:  0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.18);
  --shadow-xl:   0 30px 80px rgba(0,0,0,0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--trans-fast);
}

ul { list-style: none; }

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

/* ─── 1. ANIMAZIONI SCROLL REVEAL ──────────────── */
.reveal-up,
.reveal-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}

.reveal-fade {
  transform: translateY(20px);
}

.reveal-up.visible,
.reveal-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }

/* ─── 2. TYPOGRAPHY HELPERS ────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title--light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-label--light {
  color: var(--gold-light);
}
.section-label--light::before,
.section-label--light::after {
  background: var(--gold-light);
}

/* ─── 3. BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(139,26,26,0.35);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,26,26,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline.btn-sm {
  padding: 10px 22px;
  font-size: 0.75rem;
  border-color: rgba(255,255,255,0.5);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all 0.35s ease;
}
.btn-insta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(253,29,29,0.35);
}
.btn-insta i { font-size: 1.1rem; }

/* ─── 4. HEADER ─────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px 0;
}

/* Header scroll state */
#header.scrolled {
  background: rgba(10, 10, 10, 0.97);
  padding: 12px 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  flex-direction: column;
}

.logo-text-main {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-text-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

/* Desktop nav */
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 8px 16px;
  position: relative;
  transition: color var(--trans-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.cta-nav {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 1px;
  box-shadow: 0 2px 12px rgba(139,26,26,0.35);
}
.cta-nav::after { display: none; }
.cta-nav:hover {
  background: var(--red-deep);
  box-shadow: 0 4px 20px rgba(139,26,26,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--off-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-link-mobile {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  padding: 10px 0;
  position: relative;
  transition: color var(--trans-fast);
}

.nav-link-mobile::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link-mobile:hover {
  color: var(--white);
}
.nav-link-mobile:hover::after {
  transform: scaleX(1);
}

.mobile-social {
  margin-top: 40px;
}
.mobile-social a {
  color: var(--gold);
  font-size: 1.5rem;
  transition: color var(--trans-fast);
}
.mobile-social a:hover { color: var(--gold-light); }

/* ─── 5. HERO ────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1080px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.72) 0%,
    rgba(10,0,0,0.52) 50%,
    rgba(139,26,26,0.22) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.badge-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(0.5); opacity: 0.2; }
}

/* ─── 6. VALUES STRIP ───────────────────────────── */
.values-strip {
  background: var(--off-black);
  padding: 44px 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.values-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.value-item i {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.value-item strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.value-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

.value-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ─── 7. CHI SIAMO (ABOUT) ──────────────────────── */
.about {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 22px;
}

.about-text p strong {
  color: var(--red);
  font-weight: 600;
}

.about-text p em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1em;
  color: var(--text-main);
}

.about-closing {
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--gray-light);
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-style: italic;
  line-height: 1.7 !important;
  color: var(--text-main) !important;
}

/* About image */
.about-image {
  position: relative;
}

.about-img-frame {
  position: relative;
  z-index: 1;
}

.about-img-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(0.9);
}

.about-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-img-caption span:first-child {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.about-img-caption span:last-child {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-img-accent {
  position: absolute;
  top: -16px; right: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  z-index: 0;
  opacity: 0.35;
}

/* ─── 8. TIMELINE ───────────────────────────────── */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 60px 0;
}

.timeline-line {
  position: absolute;
  top: 76px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--cream-dark), var(--gold), var(--cream-dark));
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--red);
  margin-bottom: 22px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-dot--gold {
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-year {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.timeline-year--gold {
  color: var(--gold);
}

.timeline-content h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.82rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ─── 9. MACELLERIA – PRODUCTS ──────────────────── */
.products {
  padding: var(--section-py) 0;
  background: var(--gray-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: var(--trans-mid);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: saturate(0.85);
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
  filter: saturate(1);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.55));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-overlay i {
  font-size: 1.4rem;
  color: var(--gold);
}

.product-card-body {
  padding: 28px 24px;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.product-card-body p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* Dark card (catering) */
.product-card--dark {
  background: var(--off-black);
}

.product-card-body--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  aspect-ratio: 4/3;
  gap: 16px;
}

.product-card--dark h3 {
  color: var(--white);
}

.product-card--dark p {
  color: rgba(255,255,255,0.6);
}

.product-icon-large {
  font-size: 2.5rem;
  color: var(--gold);
}

/* ─── 10. INGROSSO (WHOLESALE) ──────────────────── */
.wholesale {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.wholesale-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wholesale-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5);
}

.wholesale-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.93) 0%,
    rgba(10,10,10,0.88) 50%,
    rgba(139,26,26,0.55) 100%
  );
}

.wholesale-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wholesale-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin: 20px 0 36px;
}

/* Wholesale products grid */
.wp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.03em;
  transition: background 0.3s ease;
}

.wp-item:hover {
  background: rgba(255,255,255,0.1);
}

.wp-item i {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.wp-item--gold {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.07);
  color: var(--gold);
}

.wp-item--gold i {
  color: var(--gold-light);
}

/* ─── 11. GALLERY ───────────────────────────────── */
.gallery {
  padding: var(--section-py) 0;
  background: var(--white);
}

/* Gallery grid a mosaico */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 3px;
  margin-bottom: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item--large {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
  filter: saturate(0.8);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Gallery CTA Instagram */
.gallery-cta {
  text-align: center;
  padding: 0 20px;
}

.gallery-cta p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-text);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

/* ─── 12. CONTATTI ──────────────────────────────── */
.contacts {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-data h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 4px;
}

.contact-data p,
.contact-data a {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.5;
}

.contact-data a:hover {
  color: var(--red);
}

/* Orari */
.contact-hours {
  margin-top: 10px;
  padding: 24px;
  background: var(--white);
  border-left: 3px solid var(--gold);
}

.contact-hours h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-hours h4 i { color: var(--gold); }

.contact-hours ul { display: flex; flex-direction: column; gap: 8px; }

.contact-hours li {
  display: grid;
  grid-template-columns: 220px 150px 150px;
  font-size: 0.88rem;
  color: var(--text-body);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cream-dark);
}
.contact-hours li:last-child { border-bottom: none; padding-bottom: 0; }

/* Map */
.map-frame {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border: none;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7) contrast(1.1);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  transition: color var(--trans-fast);
}
.map-link:hover { color: var(--red-deep); }

/* ─── 13. FOOTER ────────────────────────────────── */
#footer {
  background: var(--off-black);
  color: var(--white);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--trans-fast);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer-links h5,
.footer-contacts h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--trans-fast);
}
.footer-links a:hover { color: var(--white); }

.footer-contacts ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-contacts i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  width: 14px;
}

.footer-contacts a {
  color: rgba(255,255,255,0.5);
  transition: color var(--trans-fast);
}
.footer-contacts a:hover { color: var(--gold); }

.footer-bottom {
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.05em;
}

.footer-piva a {
  color: rgba(255,255,255,0.35);
  text-decoration: underline;
}
.footer-piva a:hover { color: var(--gold); }

/* ─── 14. BACK TO TOP ───────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(139,26,26,0.4);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red-deep);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(139,26,26,0.5);
}

/* ─── 15. RESPONSIVE ────────────────────────────── */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {

  :root { --section-py: 72px; }

  .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    max-width: 420px;
    margin: 0 auto;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .timeline-line {
    display: none;
  }

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

  .wholesale-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {

  :root { --section-py: 56px; }

  .container { padding: 0 20px; }

  /* Header */
  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { padding: 0 4px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  /* Values */
  .values-grid {
    flex-direction: column;
    gap: 18px;
  }
  .value-sep { display: none; }

  /* About */
  .about-text p { font-size: 0.97rem; }
  .about-closing { font-size: 1.05rem !important; }

  /* Timeline */
  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }

  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .timeline-dot {
    margin-bottom: 0;
    margin-top: 4px;
  }

  .timeline-year {
    font-size: 1.25rem;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--large {
    grid-column: span 2;
  }
  .gallery-grid .gallery-item {
    height: 200px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
  }

  /* Back to top */
  .back-to-top { right: 18px; bottom: 18px; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {

  .section-label::before,
  .section-label::after {
    width: 14px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--large {
    grid-column: span 1;
  }

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

  .hero-title { line-height: 1.1; }

  .hero-scroll { display: none; }
}
