/* ============================================
   MAGAZZINI RUBINO — Design System
   Palette: Cremisi Rubino · Blu Adriatico · Bianco Crema
   Font: Lobster Two (brand) · Oswald (headings) · Lato (body)
   Rosso estratto dall'insegna reale: #BE0018
   ============================================ */

/* Google Fonts — Lobster Two è il match più vicino al font dell'insegna */
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Lobster&family=Oswald:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

/* ── CSS Variables ─────────────────────────── */
:root {
  /* Rosso cremisi reale — estratto fotograficamente dall'insegna */
  --rubino:       #B90000;
  --rubino-dark:  #820000;
  --rubino-light: #D60000;
  --rubino-pale:  #FDE8EC;

  --blu:          #2A7BA8;
  --blu-dark:     #1D5C7D;
  --blu-light:    #4A9BC5;
  --blu-pale:     #E8F4FB;

  --bianco:       #FFFFFF;
  --crema:        #FDF8F2;
  --crema-dark:   #F0E8DC;
  --grigio-light: #F5F5F5;
  --grigio:       #CCCCCC;
  --testo:        #1A1A1A;
  --testo-soft:   #555555;

  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);

  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;

  --font-brand:   'Lobster Two', cursive;
  --font-head:    'Oswald', sans-serif;
  --font-body:    'Lato', sans-serif;

  --header-h:     72px;
  --transition:   0.25s ease;
}

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--testo);
  background: var(--bianco);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ──────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-text {
  font-family: var(--font-brand);
  font-style: italic;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--rubino-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--testo-soft);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ── Layout ─────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

/* ── HEADER ─────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Logo area */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: opacity var(--transition), transform var(--transition);
}

.nav-logo:hover img {
  opacity: 0.9;
  transform: scale(1.04);
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--rubino-dark);
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-logo-text span {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  color: white;
  display: block;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rubino-dark);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--rubino-pale);
  color: var(--rubino-dark);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(130,0,0,0.35);
  color: var(--rubino-dark);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--rubino-pale);
  color: var(--rubino-dark);
  border-color: var(--rubino);
}

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

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--rubino-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--rubino-dark);
  padding: 1.5rem 1.25rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

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

.nav-mobile a {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-mobile a:hover { background: rgba(255,255,255,0.15); color: white; }

.nav-mobile .lang-row {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 0.5rem;
}

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-negozio.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 62% 40%;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero.loaded .hero-bg { transform: scale(1.1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(185, 0, 0, 0.80) 0%,
    rgba(185, 0, 0, 0.60) 40%,
    rgba(42, 123, 168, 0.52) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem 1.25rem;
  max-width: 820px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

/* Logo PNG nel hero — usa il font autentico dell'insegna */
.hero-logo-wrap {
  margin-bottom: 0.5rem;
  margin-top: -1rem;
  line-height: 1;
}

.hero-logo-img {
  width: clamp(260px, 55vw, 520px);
  height: auto;
  /* Ombra bianca intensa per far risaltare il rosso del logo sul background */
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.75))
          drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.hero-logo-img:hover {
  filter: drop-shadow(0 0 28px rgba(255,255,255,0.9))
          drop-shadow(0 4px 20px rgba(0,0,0,0.6));
  transform: scale(1.03);
}

/* Keep old .hero-title for potential other pages */
.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.92;
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--bianco);
  color: var(--rubino-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--crema);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-rubino {
  background: var(--rubino);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-rubino:hover {
  background: var(--rubino-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: var(--rubino-dark);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
  background: #5a0000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp svg {
  color: #25D366;
  fill: #25D366;
  flex-shrink: 0;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-outline-rubino {
  background: transparent;
  color: var(--rubino);
  border: 2px solid var(--rubino);
}

.btn-outline-rubino:hover {
  background: var(--rubino);
  color: white;
}

/* ── SECTION: Decorative divider ─────────── */
.divider-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.divider-wave svg {
  display: block;
  width: 100%;
}

/* ── OFFERTE SECTION ───────────────────── */
.offerte-section { background: var(--crema); }

.offerte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.prodotto-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
}

.prodotto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.prodotto-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grigio-light);
}

.prodotto-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.prodotto-card:hover .prodotto-img-wrap img {
  transform: scale(1.05);
}

.badge-sconto {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--rubino);
  color: white;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(196,30,58,0.4);
}

.prodotto-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.prodotto-nome {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--testo);
  margin-bottom: 0.4rem;
}

.prodotto-desc {
  font-size: 0.88rem;
  color: var(--testo-soft);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.prodotto-prezzi {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.prezzo-originale {
  font-size: 0.95rem;
  color: var(--grigio);
  text-decoration: line-through;
}

.prezzo-scontato {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rubino);
}

.prodotto-cta {
  width: 100%;
  text-align: center;
  padding: 0.7rem;
  font-size: 0.88rem;
}

/* ── DELIVERY STRIP ─────────────────────── */
.delivery-section {
  background: var(--rubino-dark);
  color: white;
}

.delivery-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.delivery-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.delivery-text p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.delivery-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.delivery-feat {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}

.delivery-feat .icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  display: block;
}

.delivery-feat strong {
  font-family: var(--font-head);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.2rem;
}

.delivery-feat span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.delivery-cta { margin-top: 2rem; }

/* ── NEGOZI PREVIEW ─────────────────────── */
.negozi-section { background: var(--bianco); }

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

.negozio-card {
  background: var(--crema);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--crema-dark);
}

.negozio-card-header {
  background: var(--blu);
  color: white;
  padding: 1.25rem 1.5rem;
}

.negozio-card-header h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.negozio-card-body {
  padding: 1.5rem;
}

.negozio-info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.negozio-info-row .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* ── CHI SIAMO PAGE ─────────────────────── */
.storia-section { background: var(--crema); }

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

.storia-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--testo-soft);
  margin-bottom: 1.25rem;
}

.storia-text .highlight {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  color: var(--rubino);
  font-style: italic;
  display: block;
  margin: 1.5rem 0;
}

.storia-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.storia-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80%;
  height: 80%;
  border: 3px solid var(--rubino);
  border-radius: var(--radius);
  z-index: -1;
}

.storia-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--rubino), var(--blu));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 0.75rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.85rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: var(--rubino);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--rubino);
}

.timeline-year {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rubino);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.timeline-item h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--testo-soft);
}

/* Valori */
.valori-section { background: var(--blu-dark); color: white; }

.valori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.valore-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background var(--transition);
}

.valore-card:hover { background: rgba(255,255,255,0.18); }

.valore-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.valore-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.valore-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ── OFFERTE PAGE ──────────────────────── */
.offerte-page { background: var(--crema); min-height: 60vh; }

.offerte-page-header {
  background: var(--rubino-dark);
  color: white;
  padding: 5rem 0 3rem;
  margin-top: var(--header-h);
  text-align: center;
}

.offerte-page-header h1 {
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-style: italic;
}

.offerte-page-header p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 0.75rem;
}

/* ── CONTATTI PAGE ─────────────────────── */
.contatti-header {
  background: var(--rubino-dark);
  color: white;
  padding: 5rem 0 3rem;
  margin-top: var(--header-h);
  text-align: center;
}

.contatti-header h1 {
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-style: italic;
}

.sedi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.sede-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sede-card-header {
  background: var(--rubino-dark);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sede-card-header .sede-num {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sede-card-header h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.sede-card-body { padding: 1.5rem; }

.sede-info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.sede-info-row .icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.sede-map {
  height: 200px;
  overflow: hidden;
}

.sede-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.sede-map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--grigio-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--testo-soft);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
}

.sede-map-placeholder:hover { background: var(--crema-dark); }

/* Delivery section */
.delivery-full { background: var(--blu-pale); }

.delivery-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(42,123,168,0.15);
}

.delivery-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--blu-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.delivery-rows { display: grid; gap: 1rem; }

.delivery-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  background: var(--crema);
  border-radius: var(--radius-sm);
  border: 1px solid var(--crema-dark);
}

.delivery-row-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--testo-soft);
}

.delivery-row-value {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rubino-dark);
}

.delivery-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(196,30,58,0.06);
  border-left: 3px solid var(--rubino);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--testo-soft);
  line-height: 1.6;
}

/* WhatsApp order section */
.whatsapp-order-section {
  background: var(--rubino-dark);
  color: white;
  text-align: center;
}

.whatsapp-order-section h2 {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.whatsapp-order-section p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

/* ── PAGE HERO (inner pages) ────────────── */
.page-hero {
  background: var(--rubino-dark);
  color: white;
  padding: 5rem 0 3rem;
  margin-top: var(--header-h);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--rubino-dark), var(--blu-dark));
  opacity: 0.6;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  opacity: 0.7;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.breadcrumb a { opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { opacity: 0.5; }

/* ── FOOTER ─────────────────────────────── */
.site-footer {
  background: var(--rubino-dark);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1.5rem;
}

.footer-brand .brand-name {
  font-family: var(--font-brand);
  font-size: 2rem;
  color: white;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.footer-col ul a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.55;
}

/* ── WHATSAPP FLOAT ─────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  background: #1A8F47;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26,143,71,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(26,143,71,0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float .tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  background: #1a1a1a;
  color: white;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-float:hover .tooltip { opacity: 1; }

/* ── COOKIE BANNER ──────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26,26,26,0.97);
  color: rgba(255,255,255,0.88);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden   { display: none; }

.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}

.cookie-banner a { color: var(--rubino-light); text-decoration: underline; }

.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }

.cookie-btn {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.cookie-btn-accept {
  background: var(--rubino);
  color: white;
}

.cookie-btn-accept:hover { background: var(--rubino-dark); }

.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

/* ── UTILITY ─────────────────────────────── */
.text-center { text-align: center; }
.text-rubino  { color: var(--rubino); }
.text-blu     { color: var(--blu); }
.bg-crema     { background: var(--crema); }
.bg-rubino    { background: var(--rubino-dark); }
.bg-blu       { background: var(--blu-dark); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Decorative stripe accent */
.stripe-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--rubino) 0%, var(--blu) 100%);
  width: 60px;
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--crema-dark);
  border-top-color: var(--rubino);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer { to { background-position: -200% 0; } }

/* ── MEDIA QUERIES ──────────────────────── */
@media (max-width: 900px) {
  .delivery-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .negozi-grid     { grid-template-columns: 1fr; }
  .storia-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .sedi-grid       { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-links  { display: none; }
  .lang-switcher.desktop { display: none; }
  .nav-hamburger { display: flex; }
  .offerte-grid { grid-template-columns: 1fr 1fr; }
  .delivery-features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .storia-img-wrap::after { display: none; }
}

@media (max-width: 540px) {
  .offerte-grid { grid-template-columns: 1fr; }
  .hero-ctas    { flex-direction: column; align-items: center; }
  .valori-grid  { grid-template-columns: 1fr 1fr; }
  .delivery-card { padding: 1.5rem; }
}

/* ── GALLERY SLIDER ─────────────────────── */
.gallery-track {
  display: flex;
  height: 300px;
  width: max-content;
  animation: gallery-scroll 32s linear infinite;
}

.gallery-track:hover { animation-play-state: paused; }

.gallery-slide {
  flex-shrink: 0;
  width: 420px;
  height: 300px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .gallery-slide { width: 280px; }
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gallery-slide img:hover { transform: scale(1.04); }

@keyframes gallery-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── ANIMATIONS ─────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
