/* =================================================================
   VINCENT THEME — main.css
   Riproduzione fedele del design HTML di riferimento
================================================================= */

:root {
  --fjord: #3a5f7d;
  --fjord-dark: #1e3a4f;
  --fjord-deep: #0d2233;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --gold-pale: #f5ecd4;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --cream: #ede9e0;
  --dark: #0f1923;
  --dark-2: #1a2836;
  --text-muted: #7a8a99;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
}

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

.label-tag {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* ─── NAVIGATION ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0 3rem;
}

#navbar.scrolled {
  background: rgba(13, 34, 51, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.2);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}

@media (max-width: 480px) {
  .nav-logo-img { height: 38px; }
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 1.25rem;
  transition: color 0.3s;
  position: relative;
  display: block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.25rem; right: 1.25rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

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

.nav-cta {
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 2px;
  padding: 0.55rem 1.5rem !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13,34,51,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 24px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

/* ─── HERO ─── */
#home {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--fjord-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(58,95,125,0.35) 0%, transparent 70%),
    linear-gradient(135deg, #0d2233 0%, #1a3650 40%, #0d2233 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-image-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
}

.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--fjord-deep) 0%, transparent 40%);
  z-index: 1;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1e3a4f 0%, #2a5570 50%, #1a3650 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-placeholder svg { opacity: 0.12; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
  padding-top: 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-eyebrow-line { width: 40px; height: 1px; background: var(--gold); }

.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  max-width: 620px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

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

.hero-subtitle {
  margin-top: 1.75rem;
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  margin-top: 3rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  transition: all 0.35s;
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.25);
  color: var(--dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.35s;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  color: var(--white);
}

.hero-stats {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4rem;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
  padding: 0 3rem;
  width: 100%;
  max-width: 1400px;
}

.hero-stat {
  border-left: 1px solid rgba(201,168,76,0.4);
  padding-left: 1.5rem;
}

.hero-stat .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat .desc {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.35rem;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: 4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.5s both;
}

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

/* ─── SECTIONS ─── */
section { position: relative; }

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

.section-header { margin-bottom: 5rem; }
.section-header.centered { text-align: center; }

.section-title {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  color: var(--fjord-deep);
}

.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--fjord); }
.section-title.light em { color: var(--gold-light); }

.section-body {
  font-size: 16px;
  font-weight: 300;
  color: #5a6a7a;
  line-height: 1.9;
  max-width: 660px;
  margin-top: 1.5rem;
}

.section-body.light { color: rgba(255,255,255,0.65); }

.divider-gold {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-top: 1.5rem;
}

.divider-gold.centered { margin: 1.5rem auto 0; }

/* ─── CHI SIAMO ─── */
#chi-siamo { background: var(--off-white); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.intro-image-wrap { position: relative; }

.intro-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2a5570 0%, #1e3a4f 100%);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-image svg { opacity: 0.15; }

.intro-image-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 140px;
  height: 140px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-image-badge .yr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
}

.intro-image-badge .yr-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(15,25,35,0.7);
  margin-top: 4px;
}

.values-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-item { display: flex; gap: 1.25rem; align-items: flex-start; }

.value-icon {
  width: 36px;
  height: 36px;
  background: var(--fjord-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; }

.value-text .vt {
  font-weight: 500;
  font-size: 15px;
  color: var(--fjord-deep);
  margin-bottom: 0.2rem;
}

.value-text .vd { font-size: 14px; color: var(--text-muted); }

/* ─── NUMERI ─── */
#numeri { background: var(--fjord-deep); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.number-card {
  padding: 4rem 3rem;
  border-right: 1px solid rgba(201,168,76,0.15);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.number-card:last-child { border-right: none; }

.number-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.number-card:hover::before { transform: scaleX(1); }

.number-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 70px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}

.number-card .num-suffix { font-size: 28px; }

.number-card .num-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.75rem;
}

/* ─── PRODUZIONE ─── */
#produzione { background: var(--fjord-deep); overflow: hidden; }

.production-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.production-visual {
  position: relative;
  height: 600px;
}

.prod-panel {
  position: absolute;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-panel-main {
  top: 0; left: 0; right: 20%;
  height: 65%;
  background: linear-gradient(135deg, #1e3a4f 0%, #2a5570 100%);
}

.prod-panel-accent {
  bottom: 0; right: 0; left: 30%;
  height: 42%;
  background: linear-gradient(135deg, #c9a84c 0%, #a8863c 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  justify-content: flex-start;
}

.prod-panel svg { opacity: 0.18; }

.prod-panel-text { color: var(--dark); }

.prod-panel-text .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.prod-panel-text .lab {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.production-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.prod-step { display: flex; gap: 2rem; align-items: flex-start; }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  min-width: 50px;
}

.step-body .st {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.step-body .sd {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ─── PRODOTTI ─── */
#prodotti { background: var(--white); }

.products-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.filter-btn {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid #ddd;
  background: transparent;
  color: var(--text-muted);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--fjord-deep);
  color: var(--white);
  border-color: var(--fjord-deep);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  border: 1px solid #e8e4dc;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s;
  background: var(--white);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(58,95,125,0.12);
  border-color: var(--gold);
}

.product-image {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-image svg { opacity: 0.2; transition: transform 0.5s; }
.product-card:hover .product-image svg { transform: scale(1.1); }

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--fjord-deep);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 1px;
  z-index: 1;
}

.product-badge.gold { background: var(--gold); color: var(--dark); }

.product-body { padding: 1.75rem; }

.product-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--fjord-deep);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fjord);
  text-decoration: none;
  transition: gap 0.3s;
}

.product-link svg { width: 14px; height: 14px; transition: transform 0.3s; }
.product-link:hover { color: var(--gold); }
.product-link:hover svg { transform: translateX(4px); }

/* product image backgrounds */
.pc-gelato  { background: linear-gradient(135deg, #e8f4f8 0%, #c8e6f0 100%); }
.pc-torte   { background: linear-gradient(135deg, #f5e6f0 0%, #e8c8d8 100%); }
.pc-mono    { background: linear-gradient(135deg, #e8f0e8 0%, #c8d8c8 100%); }
.pc-ghiacci { background: linear-gradient(135deg, #e0eef8 0%, #b8d4ea 100%); }
.pc-premium { background: linear-gradient(135deg, #f5edd8 0%, #e8d5a8 100%); }
.pc-free    { background: linear-gradient(135deg, #e8f5e8 0%, #c0dcc0 100%); }
.pc-glutine { background: linear-gradient(135deg, #fef5e8 0%, #fae0b8 100%); }
.pc-lattosio{ background: linear-gradient(135deg, #f0e8f5 0%, #d8c0e8 100%); }
.pc-latte   { background: linear-gradient(135deg, #e8f5f5 0%, #b8d8d8 100%); }
.pc-stevia  { background: linear-gradient(135deg, #f0f5e8 0%, #d0e0b8 100%); }

/* ─── B2B ─── */
#b2b { background: var(--off-white); }

.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.b2b-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.b2b-card {
  background: var(--white);
  border: 1px solid #e8e4dc;
  border-radius: 2px;
  padding: 2rem;
  transition: all 0.35s;
}

.b2b-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(201,168,76,0.1);
}

.b2b-card .bc-icon {
  width: 44px;
  height: 44px;
  background: var(--fjord-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.b2b-card .bc-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.b2b-card .bc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fjord-deep);
  margin-bottom: 0.5rem;
}

.b2b-card .bc-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.b2b-form-wrap {
  background: var(--fjord-deep);
  border-radius: 2px;
  padding: 3rem;
}

.b2b-form-wrap h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.b2b-form-wrap > p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.3s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group select { color: rgba(255,255,255,0.5); }
.form-group select option { background: var(--fjord-deep); color: var(--white); }
.form-group textarea { resize: none; height: 100px; }

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.35s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.vincent-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 13px;
  margin-top: 0.75rem;
  min-height: 1em;
}

.form-status--success { color: #4a8a5a; }
.form-status--error { color: #c9564c; }

/* ─── QUALITÀ ─── */
#qualita { background: var(--white); }

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

.quality-card {
  padding: 2.5rem;
  border: 1px solid #e8e4dc;
  border-radius: 2px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.quality-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--fjord));
  transform: scaleX(0);
  transition: transform 0.4s;
}

.quality-card:hover::before { transform: scaleX(1); }

.quality-card:hover {
  box-shadow: 0 20px 60px rgba(58,95,125,0.08);
  transform: translateY(-4px);
}

.qc-icon {
  width: 54px;
  height: 54px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.qc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--fjord);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--fjord-deep);
  margin-bottom: 0.75rem;
}

.qc-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.qr-banner {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--off-white);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.qr-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--fjord-deep);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-body { flex: 1; min-width: 200px; }

.qr-body .qr-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.qr-body .qr-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--fjord-deep);
  margin-bottom: 0.5rem;
}

.qr-body .qr-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* ─── NEWS ─── */
#news { background: var(--off-white); }

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #e8e4dc;
  transition: all 0.35s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(58,95,125,0.1);
}

.news-image {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-image img { transform: scale(1.05); }
.news-image svg { opacity: 0.18; }

.nc-1 .news-image { background: linear-gradient(135deg, #1e3a4f 0%, #2a5570 100%); }
.nc-2 .news-image { background: linear-gradient(135deg, #c9a84c 0%, #a8863c 100%); }
.nc-3 .news-image { background: linear-gradient(135deg, #3a5f7d 0%, #2a5570 100%); }

.news-body { padding: 1.75rem; }

.news-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}

.news-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--fjord-deep);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.nc-1 .news-title { font-size: 28px; }

.news-title a { color: var(--fjord-deep); text-decoration: none; }
.news-title a:hover { color: var(--gold); }

.news-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fjord);
  text-decoration: none;
  transition: all 0.3s;
}

.news-link svg { width: 14px; height: 14px; transition: transform 0.3s; }
.news-link:hover { color: var(--gold); }
.news-link:hover svg { transform: translateX(4px); }

/* ─── CONTATTI ─── */
#contatti { background: var(--fjord-deep); }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-info { padding-right: 2rem; }

.contact-methods {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-method {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.cm-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cm-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cm-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  display: block;
}

.cm-value { font-size: 16px; color: var(--white); }
.cm-value a { color: var(--white); text-decoration: none; transition: color 0.3s; }
.cm-value a:hover { color: var(--gold-light); }

.map-placeholder {
  margin-top: 3rem;
  height: 200px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 3rem;
}

.contact-form-wrap .form-group input,
.contact-form-wrap .form-group select,
.contact-form-wrap .form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}

.contact-form-wrap .form-group input::placeholder,
.contact-form-wrap .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.contact-form-wrap .form-group input:focus,
.contact-form-wrap .form-group select:focus,
.contact-form-wrap .form-group textarea:focus { border-color: var(--gold); }

.privacy-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.privacy-note a { color: var(--gold); text-decoration: none; }

/* ─── FOOTER ─── */
.site-footer-new {
  background: #070f17;
  padding: 5rem 0 2rem;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
  display: block;
}

.footer-brand .logo-sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 0;
}

.footer-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
}

.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

.footer-legal {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.social-links { display: flex; gap: 1rem; margin-top: 1.75rem; }

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover { border-color: var(--gold); color: var(--gold); }
.social-link svg { width: 16px; height: 16px; }

/* ─── ANIMAZIONI ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .hero-stats { gap: 2.5rem; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-card { border-bottom: 1px solid rgba(201,168,76,0.15); }

  .news-grid { grid-template-columns: 1fr 1fr; }
  .nc-1 { grid-column: 1 / -1; }
  .nc-1 .news-image { aspect-ratio: 21/9; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #navbar { padding: 0 1.5rem; }

  .hero-content { padding: 0 1.5rem; padding-top: 80px; }
  .hero-stats { display: none; }
  .hero-image-panel { display: none; }
  .hero-title { max-width: 100%; }

  .section-inner { padding: 0 1.5rem; }
  .section-pad { padding: 80px 0; }

  .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .intro-image { aspect-ratio: 16/9; }
  .intro-image-badge { display: none; }

  .production-grid { grid-template-columns: 1fr; gap: 3rem; }
  .production-visual { height: 300px; }

  .b2b-grid { grid-template-columns: 1fr; gap: 3rem; }
  .b2b-cards { grid-template-columns: 1fr; }

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

  .news-grid { grid-template-columns: 1fr; }
  .nc-1 { grid-column: auto; }
  .nc-1 .news-image { aspect-ratio: 16/9; }

  .contacts-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info { padding-right: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }

  .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 600px) {
  .quality-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .b2b-form-wrap { padding: 2rem; }
  .contact-form-wrap { padding: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
  .qr-banner { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── WORDPRESS SPECIFICS ─── */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.wp-caption { max-width: 100%; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }

/* ─── SHOP / WOOCOMMERCE ─── */
#shop { background: var(--white); }

/* Colori sfondo card per categoria */
.pc-shop-creme-spalmabili,
.pc-shop-creme   { background: linear-gradient(135deg, #f5e8d0 0%, #e8c898 100%); }
.pc-shop-panettoni,
.pc-shop-panettone { background: linear-gradient(135deg, #fef3d8 0%, #f5d878 100%); }
.pc-shop-prodotti-da-forno,
.pc-shop-forno   { background: linear-gradient(135deg, #f8f0e0 0%, #e8d4a8 100%); }
.pc-shop-default { background: linear-gradient(135deg, #f0ede8 0%, #e0d8c8 100%); }

/* Prezzo prodotto */
.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--fjord-deep);
  margin-bottom: 1.1rem;
  line-height: 1;
}
.product-price ins { text-decoration: none; }
.product-price del { opacity: 0.45; font-size: 18px; margin-right: 0.5rem; }

/* Bottone carrello */
.btn-cart {
  display: block;
  width: 100%;
  background: var(--fjord-deep);
  color: var(--white);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.35s;
  text-align: center;
  text-decoration: none;
}
.btn-cart:hover,
.btn-cart.loading { background: var(--gold); color: var(--dark); }
.btn-cart--out { background: #ccc; cursor: not-allowed; }
.btn-cart--out:hover { background: #ccc; color: var(--white); }

/* Icona carrello navbar */
.nav-cart {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  position: relative;
  transition: all 0.3s;
  margin-left: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-cart:hover { border-color: var(--gold); color: var(--gold); }
.nav-cart svg { width: 18px; height: 18px; }
.nav-cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Nota spedizioni */
.shop-shipping {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  background: var(--off-white);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.shop-shipping-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.shop-shipping-text { font-size: 14px; color: var(--text-muted); }

/* Messaggio shop vuoto */
.shop-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  font-size: 16px;
}

/* ── Pagine WooCommerce (shop, prodotto, cart, checkout) ── */
.woo-page { background: var(--off-white); }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid #e8e4dc;
  border-radius: 2px;
  background: var(--white);
  transition: all 0.35s;
  padding: 0;
  overflow: hidden;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(58,95,125,0.1);
  border-color: var(--gold);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--fjord-deep);
  padding: 1.25rem 1.5rem 0.5rem;
}
.woocommerce ul.products li.product .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--fjord-deep);
  padding: 0 1.5rem;
}
.woocommerce ul.products li.product .button {
  display: block;
  margin: 1rem 1.5rem 1.5rem;
  background: var(--fjord-deep);
  color: var(--white);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  transition: all 0.3s;
  text-align: center;
}
.woocommerce ul.products li.product .button:hover { background: var(--gold); color: var(--dark); }

/* Prodotto singolo */
.woocommerce div.product .product_title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  color: var(--fjord-deep);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--fjord-deep);
}
.woocommerce div.product .single_add_to_cart_button {
  background: var(--gold);
  color: var(--dark);
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  transition: all 0.35s;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--gold-light); transform: translateY(-2px); }

/* Carrello e Checkout */
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: 1rem; border-bottom: 1px solid #e8e4dc; }
.woocommerce table.shop_table td { padding: 1.25rem 1rem; border-bottom: 1px solid #e8e4dc; vertical-align: middle; }
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--fjord-deep); margin-bottom: 1.5rem; }
.woocommerce .button.checkout-button,
.woocommerce #place_order {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  border: none;
  width: 100%;
  transition: all 0.35s;
}
.woocommerce .button.checkout-button:hover,
.woocommerce #place_order:hover { background: var(--gold-light) !important; }
.woocommerce form .form-row label { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fjord-deep); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 0.75rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.3s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { border-color: var(--gold); outline: none; }

/* Notifiche WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top: 3px solid var(--gold) !important;
  border-radius: 0 0 2px 2px;
  font-size: 14px;
}
.woocommerce-message::before { color: var(--gold) !important; }

@media (max-width: 900px) {
  .shop-shipping { flex-direction: column; gap: 1rem; }
  .nav-cart { margin-left: 0.5rem; }
}
