/* ================================================
   Il Persichetto di Rolando — css.css
   Color Profile:
     Primary  #3379D4 (blue)
     Accent   #F2E94E (yellow)
     Dark     #000000
     Light    #FFFFFF
================================================ */

/* === VARIABLES === */
:root {
  --primary:      #3379D4;
  --accent:       #F2E94E;
  --dark:         #000000;
  --light:        #FFFFFF;
  --primary-dark: #1a5fb4;
  --primary-mid:  #4a90d9;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius-lg:    24px;
  --radius-pill:  50px;
  --shadow-md:    0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.2);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ================================================
   ACCESSIBILITÀ
================================================ */

/* Skip link — visibile solo al focus da tastiera */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Focus visible globale — sostituisce il default del browser */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Rimuove outline su click (non su tastiera) */
:focus:not(:focus-visible) {
  outline: none;
}

/* Testo visivamente nascosto ma accessibile agli screen reader */
.sr-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================================================
   NAVBAR
================================================ */
#mainNav {
  padding: 1.25rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
  z-index: 1050;
  background-color: var(--primary);
}

#mainNav.scrolled {
  background: var(--light) !important;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.09);
  padding: 0.6rem 0;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--light) !important;
  letter-spacing: 1px;
  transition: color 0.3s;
  line-height: 1;
}

.navbar-brand .accent-dot {
  color: var(--accent);
}

.navbar-brand .logo-img {
  transition: filter 0.3s ease;
}

#mainNav.scrolled .navbar-brand {
  color: var(--primary) !important;
}

#mainNav.scrolled .navbar-brand .logo-img {
  filter: brightness(0);
}

#mainNav .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.4rem 0.1rem;
  transition: color 0.2s;
  position: relative;
}

#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

#mainNav .nav-link:hover::after { width: 100%; }

#mainNav.scrolled .nav-link {
  color: var(--dark) !important;
}

#mainNav .nav-link:hover { color: var(--accent) !important; }

/* Hamburger */
.navbar-toggler {
  border: none;
  padding: 0.4rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.navbar-toggler:focus { box-shadow: none; }

.toggler-icon {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--light);
  border-radius: 2px;
  transition: background 0.3s;
}

#mainNav.scrolled .toggler-icon { background: var(--dark); }

/* Shop alert */
.shop-alert {
  position: fixed;
  top: 5.6rem;
  right: 1.25rem;
  z-index: 1060;
  max-width: min(420px, calc(100vw - 2rem));
  margin: 0;
  border: 1px solid rgba(242, 233, 78, 0.55);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  line-height: 1.55;
}

/* Find us button */
.btn-find-us {
  background: var(--accent);
  color: var(--dark) !important;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.4rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-find-us:hover {
  background: var(--dark);
  color: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 575.98px) {
  .shop-alert {
    top: 5rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* Product info drawer */
.pp-info-drawer {
  position: fixed;
  top: 52%;
  right: 0;
  z-index: 1040;
  display: flex;
  align-items: stretch;
  width: 414px;
  max-width: calc(100vw - 1rem);
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.22));
  transform: translateY(-50%) translateX(0);
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1);
}

.pp-info-drawer.is-closed {
  transform: translateY(-50%) translateX(360px);
}

.pp-info-drawer-toggle {
  width: 54px;
  max-height: 120px;
  border: 0;
  border-radius: 18px 0 0 18px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: -8px 12px 28px rgba(0, 0, 0, 0.16);
}

.pp-info-drawer-toggle span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
}

.pp-info-drawer-toggle i {
  font-size: 1.2rem;
}

.pp-info-drawer-panel {
  width: 360px;
  padding: 1.3rem;
  border: 2px solid rgba(242, 233, 78, 0.92);
  border-right: 0;
  border-radius: 0px 0 0 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98)),
    var(--light);
}

.pp-info-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(51, 121, 212, 0.12);
}

.pp-info-kicker,
.pp-info-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pp-info-drawer-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 0.95;
  color: var(--primary);
}

.pp-info-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f0f4ff;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pp-info-block {
  padding: 1rem 0;
}

.pp-info-block + .pp-info-block {
  border-top: 1px solid rgba(51, 121, 212, 0.12);
}

.pp-info-block p {
  margin: 0;
  color: #434343;
  font-size: 0.95rem;
  line-height: 1.75;
}

.pp-disposal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.pp-disposal-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #343434;
  font-size: 0.95rem;
}

.pp-disposal-list i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pp-info-note {
  margin: 1rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #eff4fc;
  color: #555;
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 575.98px) {
  .pp-info-drawer {
    top: auto;
    bottom: 1rem;
    width: calc(100vw - 0.75rem);
    transform: translateX(0);
  }

  .pp-info-drawer.is-closed {
    transform: translateX(calc(100vw - 54px));
  }

  .pp-info-drawer-panel {
    width: calc(100vw - 54px);
    max-height: 70vh;
    overflow-y: auto;
  }
}

/* ================================================
   HERO
================================================ */
#hero {
  min-height: 100svh;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-logo-bubble {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg {
  z-index: 0;
  background: url('../img/bg_hero.jpg') center / cover no-repeat;
  transform: scale(1);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

#hero:hover .hero-bg {
  transform: scale(1.08);
}

.hero-logo-bubble {
  z-index: 1;
  object-position: left center;
  pointer-events: none;
  transform-origin: 22% 52%;
  animation: heroBubblePulse 4.8s ease-in-out infinite;
  will-change: transform, filter;
}

.hero-bottle {
  position: absolute;
  z-index: 3;
  left: 31.5%;
  top: 8%;
  width: auto;
  height: clamp(560px, 86vh, 940px);
  max-height: 91vh;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.34));
  animation: heroBottleFloat 5.6s ease-in-out infinite;
  will-change: transform;
}

.hero-peach {
  position: absolute;
  z-index: 4;
  width: clamp(74px, 9vw, 170px);
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.28));
  pointer-events: none;
  will-change: transform;
}

.hero-peach-one {
  left: 35%;
  top: 49%;
  animation: heroPeachFloatOne 4.6s ease-in-out infinite;
}

.hero-peach-two {
  left: 55%;
  top: 16%;
  transform: rotate(15deg) scale(0.92);
  animation: heroPeachFloatTwo 5.2s ease-in-out infinite;
}

#hero:hover .hero-bottle {
  animation-play-state: running;
}

@keyframes heroBubblePulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  50% {
    transform: scale(1.018);
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.28));
  }
}

@keyframes heroBottleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.5deg); }
  50%      { transform: translate3d(0, -22px, 0) rotate(1.5deg); }
}

@keyframes heroPeachFloatOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-9deg); }
  50%      { transform: translate3d(14px, -18px, 0) rotate(-2deg); }
}

@keyframes heroPeachFloatTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(15deg) scale(0.92); }
  50%      { transform: translate3d(-10px, -16px, 0) rotate(8deg) scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-logo-bubble,
  .hero-bottle,
  .hero-peach {
    animation: none;
    transition: none;
  }

  #hero:hover .hero-bg {
    transform: none;
  }
}

/* ================================================
   TICKER (scrolling marquee)
================================================ */
.ticker-wrap {
  background: var(--accent);
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 3px solid rgba(0,0,0,0.08);
  border-bottom: 3px solid rgba(0,0,0,0.08);
}

.ticker-content {
  display: inline-flex;
  animation: tickerScroll 28s linear infinite;
  will-change: transform;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--dark);
  padding: 0 2.5rem;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================
   SECTION UTILITIES
================================================ */
.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-label.on-dark  { color: var(--accent); }
.section-label.on-yellow { color: var(--dark); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 0.92;
  color: var(--dark);
}

.section-heading .accent      { color: var(--primary); }
.section-heading .accent-yellow { color: var(--accent); }

/* ================================================
   ABOUT
================================================ */
#about {
  padding: 7rem 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

/* Subtle background number */
#about::before {
  content: '01';
  position: absolute;
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(0, 0, 0, 0.025);
  top: -3rem;
  right: -2rem;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #555;
}

.about-body em { font-style: italic; color: #888; font-size: 0.95rem; }

/* Image block */
.about-img-wrapper {
  position: relative;
  z-index: 1;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  display: block;
}

.about-img-accent {
  position: absolute;
  width: 140px;
  height: 140px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  bottom: -18px;
  left: -18px;
  z-index: -1;
}

.about-img-accent-2 {
  position: absolute;
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  top: -14px;
  right: -14px;
  z-index: -1;
  opacity: 0.7;
}

/* Pill tags */
.about-pill {
  display: inline-block;
  background: #f0f4ff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  border: 1.5px solid #dde8fa;
}

/* ================================================
   TIMELINE
================================================ */
 .timeline-container {
                position: relative;
                padding: 5rem 0;
            }

            /* Linea centrale sfumata */
            .timeline-container::after {
                content: '';
                position: absolute;
                width: 6px;
                background: linear-gradient(180deg, var(--primary-mid) 0%, var(--primary) 100%);
                top: 0;
                bottom: 0;
                left: 50%;
                margin-left: -3px;
                border-radius: 10px;
                opacity: 0.3;
            }

            .timeline-item {
                position: relative;
                width: 50%;
                padding: 40px;
                opacity: 0;
                transform: translateY(50px);
                transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
            }

            .timeline-item.visible {
                opacity: 1;
                transform: translateY(0);
            }

            .timeline-item.left {
                left: 0;
                padding-right: 60px;
            }

            .timeline-item.right {
                left: 0;
                padding-left: 60px;
            }

            /* Card con stile Tailwind/Glassmorphism */
            .content-card {
                position: relative;
                padding: 2.5rem;
                background: var(--light);
                border-radius: var(--radius-lg);
                border: 1px solid rgba(51, 121, 212, 0.1);
                box-shadow: var(--shadow-md);
                overflow: hidden;
                transition: transform 0.4s ease;
            }

            .content-card:hover {
                transform: scale(1.03) translateY(-10px);
                border-color: var(--primary);
                box-shadow: var(--shadow-lg);
            }

            /* Data in sovrapposizione (Background Text) */
            .overlay-date {
                position: absolute;
                top: -10px;
                right: -10px;
                font-size: 8rem;
                font-family: var(--font-display);
                font-weight: 800;
                color: rgba(51, 121, 212, 0.05);
                line-height: 1;
                pointer-events: none;
                user-select: none;
            }

            .left .overlay-date {
                right: auto;
                left: -10px;
            }

            /* Badge stilizzato */
            .modern-badge {
                display: inline-flex;
                align-items: center;
                padding: 0.5rem 1.25rem;
                background: var(--accent);
                color: var(--dark);
                border-radius: var(--radius-pill);
                font-size: 0.75rem;
                font-weight: 800;
                text-transform: uppercase;
                letter-spacing: 1px;
                margin-bottom: 1.5rem;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            }

            .content-card h3 {
                font-family: var(--font-display);
                font-weight: 800;
                font-size: 2rem;
                margin-bottom: 1rem;
                color: var(--dark);
                position: relative;
            }

            .content-card p {
                font-family: var(--font-body);
                color: #555;
                line-height: 1.8;
                font-size: 1.05rem;
                margin: 0;
                position: relative;
                z-index: 2;
            }

            /* Cerchi sulla linea temporale */
            .timeline-item::before {
                content: '';
                position: absolute;
                width: 28px;
                height: 28px;
                background: white;
                border: 6px solid var(--primary);
                border-radius: 50%;
                top: 50px;
                z-index: 10;
                box-shadow: 0 0 0 8px rgba(51, 121, 212, 0.1);
            }

            .left::before {
                right: -14px;
            }

            .right::before {
                left: -14px;
            }

            /* Mobile Optimization */
            @media (max-width: 991px) {
                .timeline-container::after {
                    left: 20px;
                }

                .timeline-item {
                    width: 100%;
                    padding: 20px 20px 20px 60px !important;
                }

                .timeline-item.right {
                    left: 0;
                }

                .left::before,
                .right::before {
                    left: 6px;
                }

                .overlay-date {
                    font-size: 5rem;
                }

                /* Le card devono essere sempre visibili su mobile:
                   l'animazione di reveal via IntersectionObserver è poco
                   affidabile su schermi piccoli con card alte, quindi la
                   disattiviamo qui e mostriamo tutto subito. */
                .timeline-item {
                    opacity: 1 !important;
                    transform: none !important;
                }
            }

/* Timeline pair (item + foto affiancati) */
.timeline-pair {
    display: flex;
    align-items: center;
    width: 100%;
}

.timeline-photo-slot {
    width: 50%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-photo-slot.right { padding-left: 60px; }
.timeline-photo-slot.left  { padding-right: 60px; }

.timeline-photo-img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-md);
    border: 3px solid rgba(51, 121, 212, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-photo-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 991px) {
    .timeline-pair { display: block; }
    .timeline-photo-slot {
        width: 100%;
        padding: 20px 20px 20px 60px;
    }
    .timeline-photo-slot.right,
    .timeline-photo-slot.left {
        padding-left: 60px;
        padding-right: 20px;
    }
}

/* Foto finale, centrata, che chiude la timeline */
.timeline-closing {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.timeline-closing.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-closing-img {
    position: relative;
    z-index: 5;
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--light);
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(51, 121, 212, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-closing-img:hover {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .timeline-closing { padding-top: 2rem; opacity: 1 !important; transform: none !important; }
    .timeline-closing-img { width: 200px; height: 200px; }
}

/* ================================================
   STORY PAGE
================================================ */
.story-page {
  background: var(--light);
  overflow: hidden;
}

.story-hero {
  min-height: 82vh;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(242, 233, 78, 0.28), transparent 30%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--light);
  display: flex;
  align-items: center;
}

.story-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.88;
  color: var(--light);
}

.story-title span {
  color: var(--accent);
}

.story-lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.85;
}

.story-hero-img-wrap {
  position: relative;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.story-hero-img-wrap::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  right: -20px;
  bottom: -20px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  z-index: 0;
}

.story-hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.story-section {
  padding: 7rem 0;
}

.story-band {
  padding: 5.5rem 0;
  background: #f7faff;
}

.story-section-yellow {
  background: var(--accent);
}

.story-prose {
  max-width: 860px;
}

.story-prose p {
  color: #505050;
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.story-section-yellow .story-prose p {
  color: rgba(0, 0, 0, 0.72);
}

.story-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--light);
  border: 1px solid rgba(51, 121, 212, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.story-card-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 38px;
  padding: 0 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--light);
  font-weight: 900;
  letter-spacing: 1px;
}

.story-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.story-card p {
  color: #555;
  line-height: 1.75;
  margin: 0;
}

.story-side-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (max-width: 991px) {
  .story-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .story-section,
  .story-band {
    padding: 4.5rem 0;
  }
}

/* ================================================
   ROLANDO PAGE
================================================ */
.rolando-page {
  background:
    linear-gradient(180deg, rgba(51, 121, 212, 0.08), rgba(255, 255, 255, 0) 420px),
    var(--light);
}

.rolando-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.rolando-hero::before {
  content: '';
  position: absolute;
  width: 44vw;
  height: 44vw;
  min-width: 360px;
  min-height: 360px;
  right: -18vw;
  top: -14vw;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.72;
  pointer-events: none;
}

.rolando-main-photo {
  position: relative;
  margin: 0;
  border: 4px solid var(--dark);
  background: var(--accent);
  box-shadow: 16px 16px 0 var(--primary);
  transform: rotate(-2deg);
}

.rolando-main-photo::after {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 3px solid var(--accent);
  z-index: -1;
}

.rolando-main-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.rolando-copy {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.76);
}

.rolando-copy p {
  margin-bottom: 1.25rem;
}

.rolando-text-section,
.rolando-gallery-section {
  padding: 6rem 0;
}

.rolando-text-section {
  background: var(--primary);
  color: var(--light);
}

.rolando-quote-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--light);
  border: 4px solid var(--dark);
  box-shadow: 14px 14px 0 var(--accent);
}

.rolando-signature {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
  color: var(--primary);
}

.rolando-gallery-section {
  background:
    linear-gradient(90deg, rgba(242, 233, 78, 0.34), rgba(255, 255, 255, 0) 42%),
    var(--light);
}

.rolando-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.rolando-gallery-item {
  display: block;
  overflow: hidden;
  border: 3px solid var(--dark);
  background: var(--accent);
  box-shadow: 5px 5px 0 var(--primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rolando-gallery-item:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 8px 8px 0 var(--primary);
}

.rolando-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.rolando-gallery-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 991px) {
  .rolando-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .rolando-main-photo {
    max-width: 460px;
    margin: 0 auto;
  }

  .rolando-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .rolando-text-section,
  .rolando-gallery-section {
    padding: 4rem 0;
  }

  .rolando-quote-panel {
    box-shadow: 8px 8px 0 var(--accent);
  }

  .rolando-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ================================================
   COCKTAILS PAGE
================================================ */
.cocktails-page {
  background: var(--light);
  overflow: hidden;
}

.cocktails-hero {
  min-height: 72vh;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 233, 78, 0.28), transparent 28%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--light);
  display: flex;
  align-items: center;
}

.cocktails-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.88;
  color: var(--light);
}

.cocktails-title span {
  color: var(--accent);
}

.cocktails-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.85;
}

.cocktails-section {
  padding: 7rem 0;
  background: var(--light);
  position: relative;
}

.cocktails-section-alt {
  background: var(--accent);
}

.cocktails-section-intro {
  max-width: 620px;
  color: #555;
  font-size: 1.02rem;
  line-height: 1.75;
}

.cocktails-section-alt .cocktails-section-intro {
  color: rgba(0, 0, 0, 0.72);
}

.cocktail-card {
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

.cocktail-card-visual {
  min-height: 220px;
  align-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(242, 233, 78, 0.28), transparent 28%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cocktail-card--dark .cocktail-card-visual {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
}

.cocktail-card-number {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
}

.cocktail-glass-icon {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(242, 233, 78, 0.45);
  color: var(--accent);
  font-size: 2.8rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease;
}

.cocktail-card:hover .cocktail-glass-icon {
  transform: translateY(-8px) rotate(-4deg) scale(1.04);
}

@media (max-width: 991px) {
  .cocktails-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .cocktails-section {
    padding: 4.5rem 0;
  }
}

/* ================================================
   PRODUCTS
================================================ */
#products {
  padding: 7rem 0;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}

#products::before {
  content: '02';
  position: absolute;
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(0, 0, 0, 0.035);
  top: -3rem;
  right: -2rem;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Wave top */
.products-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 60px;
}

/* Product card */
.product-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  perspective: 1000px;
}

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

/* Can display area */
.product-can-area {
  padding: 3rem 2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.product-can-area::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  top: -60px;
  right: -60px;
}

.product-can-area::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -30px;
  left: -30px;
}

.product-can {
  max-width: 80%;
  border-radius: 12px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.3));
  transition: transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.product-card:hover .product-can {
  transform: translateY(-10px) scale(1.04);
}

/* Card info */
.product-info { padding: 1.6rem 1.4rem; }

.product-flavor-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.22rem 0.75rem;
  margin-bottom: 0.7rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.product-desc em { color: #aaa; font-style: italic; }

.product-meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* Cocktail creator credit */
.cocktail-creator {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.4rem;
  letter-spacing: 0.3px;
}

/* New Persichetto Family section */
.cocktails-section-new {
  background: linear-gradient(160deg, #f8fbff 0%, #eaf2ff 100%);
  padding: 5rem 0;
}

.cocktail-card-new {
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.cocktail-card-new::before {
  content: 'NUOVO';
  position: absolute;
  top: 14px;
  right: -22px;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 30px;
  transform: rotate(45deg);
  z-index: 1;
}

.cocktail-card-new .cocktail-card-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cocktail-card-visual--photo {
  padding: 0;
  overflow: hidden;
}

.cocktail-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
  transition: transform 0.4s ease;
}

.cocktail-card:hover .cocktail-card-photo {
  transform: scale(1.04);
}

.cocktail-ingredients {
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Product CTA */
.btn-find-store {
  background: var(--primary);
  color: var(--light);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.9rem 2.4rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn-find-store:hover {
  background: var(--dark);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Recipe card (3rd product card) */
.product-recipe-area {
  min-height: 260px;
  align-items: center;
  padding: 2rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/persichetto.jpg'); 
  background-size: cover!important; 
  background-position: center!important;
}

.recipe-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(242, 233, 78, 0.12);
  border: 2px dashed rgba(242, 233, 78, 0.35);
}

.recipe-big-icon {
  font-size: 3.5rem;
  line-height: 1;
}

.recipe-steps {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

.recipe-steps li { margin-bottom: 0.25rem; }

/* ================================================
   FIND US
================================================ */
#find-us {
  padding: 7rem 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

#find-us::before {
  content: '03';
  position: absolute;
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(255, 255, 255, 0.025);
  top: -3rem;
  right: -2rem;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.find-us-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 15rem);
  color: rgba(255, 255, 255, 0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px;
}

#find-us .section-heading { color: var(--light); }

.find-us-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto;
}

.find-us-sub em { color: rgba(255, 255, 255, 0.35); font-size: 0.95rem; }

/* Retailer cards */
.retailer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.retailer-card:hover {
  background: rgba(242, 233, 78, 0.08);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.retailer-icon {
  font-size: 2.6rem;
  margin-bottom: 0.85rem;
  display: block;
  line-height: 1;
}

.retailer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--light);
  margin-bottom: 0.35rem;
  line-height: 1;
}

.retailer-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

/* Map area */
.map-placeholder img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 280px;
  opacity: 0.6;
  filter: grayscale(20%);
}

/* CTA on dark */
.btn-find-store-outline {
  background: transparent;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid var(--accent);
  border-radius: var(--radius-pill);
  padding: 0.9rem 2.4rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}

.btn-find-store-outline:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(242, 233, 78, 0.25);
}

/* ================================================
   FOOTER
================================================ */
footer {
  background: #080808;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--light);
  letter-spacing: 1px;
  line-height: 1;
}

.footer-tagline {
  font-size: 0.82rem;
  color: #898989;
  margin-top: 0.4rem;
  line-height: 1.5;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9a9a9a;
  margin-bottom: 1rem;
}

.footer-link {
  color: #909090;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  display: inline-block;
}

.footer-link:hover { color: var(--accent); }

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--light) !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--dark) !important;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.07);
  margin: 2.5rem 0 1.5rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ================================================
   SCROLL REVEAL ANIMATIONS
================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 991.98px) {
  #hero {
    min-height: 82svh;
  }

  .hero-bg,
  .hero-logo-bubble {
    object-position: 42% center;
  }

  .hero-bottle {
    left: 28%;
    top: 10%;
    height: clamp(440px, 68vh, 640px);
  }

  .hero-peach-one {
    left: 31%;
    top: 50%;
  }

  .hero-peach-two {
    left: 58%;
    top: 18%;
  }
}

@media (max-width: 767.98px) {
  #about, #products, #find-us { padding: 5rem 0; }
  .about-img-accent, .about-img-accent-2 { display: none; }
  #about::before, #products::before, #find-us::before { display: none; }
  .section-heading { font-size: clamp(2.2rem, 10vw, 3rem); }
  .map-placeholder img { height: 180px; }
}

@media (max-width: 575.98px) {
  #hero {
    min-height: 74svh;
  }

  .hero-bg,
  .hero-logo-bubble {
    object-position: 37% center;
  }

  .hero-logo-bubble {
    object-position: 9% center;
  }

  .hero-logo-bubble {
    transform-origin: 21% 51%;
  }

  .hero-bottle {
    left: 28%;
    top: 15%;
    height: clamp(340px, 55vh, 520px);
    max-height: 62vh;
  }

  .hero-peach {
    width: clamp(56px, 17vw, 82px);
  }

  .hero-peach-one {
    left: 27%;
    top: 49%;
  }

  .hero-peach-two {
    left: 62%;
    top: 20%;
  }

  .ticker-item { padding: 0 1.5rem; }
  footer { padding: 3rem 0 1.5rem; }
}

/* ================================================
   AGE GATE MODAL
================================================ */

/* Overlay visible by default; hidden once verified */
#ag-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  overflow: hidden;
  padding: 1rem;
}

html.ag-verified #ag-modal-overlay { display: none; }

/* Lock scroll when modal is active */
html:not(.ag-verified) body { overflow: hidden; }
body.ag-active { overflow: hidden; }

/* Decorative circles */
.ag-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* Card */
.age-gate-card {
  position: relative;
  z-index: 10;
  background: var(--light);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: agCardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes agCardIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ag-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.ag-brand span { color: var(--accent); }

.ag-sub-brand {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.75rem;
}

.ag-peach {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
  animation: agPeachBounce 2s ease-in-out infinite;
}

@keyframes agPeachBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.ag-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.ag-heading .accent { color: var(--primary); }

.ag-body {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.ag-body strong { color: var(--dark); }

.ag-form { margin-bottom: 1.5rem; }

.ag-form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.6rem;
  display: block;
}

.ag-date-inputs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.ag-date-inputs select,
.ag-date-inputs input[type="number"] {
  flex: 1;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  background: #fafafa;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
  outline: none;
}

.ag-date-inputs select:focus,
.ag-date-inputs input[type="number"]:focus {
  border-color: var(--primary);
  background: var(--light);
}

.ag-date-inputs select { cursor: pointer; }

.ag-date-inputs input[type="number"]::-webkit-inner-spin-button,
.ag-date-inputs input[type="number"]::-webkit-outer-spin-button { appearance: none; -webkit-appearance: none; }
.ag-date-inputs input[type="number"] { -moz-appearance: textfield; }

.btn-ag-confirm {
  width: 100%;
  background: var(--primary);
  color: var(--light);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 0.75rem;
}

.btn-ag-confirm:hover {
  background: var(--dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ag-remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ag-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.ag-remember label {
  font-size: 0.82rem;
  color: #888;
  cursor: pointer;
  user-select: none;
}

.ag-error {
  display: none;
  background: #fff0f0;
  border: 1.5px solid #ffcccc;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ag-error.visible {
  display: block;
  animation: agShake 0.4s ease;
}

@keyframes agShake {
  0%, 100% { transform: translateX(0); }
  20%, 60%  { transform: translateX(-6px); }
  40%, 80%  { transform: translateX(6px); }
}

.ag-underage { display: none; }

.ag-underage-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}

.ag-underage h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.ag-underage p {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
}

.ag-underage .ag-redirect-msg {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #bbb;
}

.ag-divider {
  border: none;
  border-top: 1.5px solid #f0f0f0;
  margin: 1.5rem 0;
}

.ag-legal {
  font-size: 0.72rem;
  color: #bbb;
  line-height: 1.6;
}

.ag-legal a {
  color: #aaa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ag-legal a:hover { color: var(--primary); }

.ag-tagline {
  position: relative;
  z-index: 10;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .age-gate-card {
    border-radius: 20px;
    padding: 2rem 1.5rem;
    max-height: 95vh;
  }
  .ag-heading { font-size: 1.8rem; }
  .ag-date-inputs select,
  .ag-date-inputs input[type="number"] { font-size: 0.9rem; padding: 0.6rem 0.3rem; }
}

/* ================================================
   AMARCORD PAGE (Gallery)
================================================ */
.amarcord-page {
  background: var(--light);
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
  gap: 10px; /* Gap between images */
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

.gallery-item {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Creates a square aspect ratio */
  overflow: hidden;
  border-radius: var(--radius-lg); /* Reusing existing variable */
  box-shadow: var(--shadow-md); /* Reusing existing variable */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the square without distortion */
  display: block;
  transition: transform 0.3s ease;
}

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

body.gallery-modal-active {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-modal-frame {
  position: relative;
  width: min(1040px, 100%);
  margin: 0;
  padding: clamp(0.65rem, 1.7vw, 1rem);
  border: 4px solid var(--dark);
  background: var(--accent);
  box-shadow: 14px 14px 0 var(--primary);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
}

.gallery-modal.is-open .gallery-modal-frame {
  transform: translateY(0) scale(1);
}

.gallery-modal-img {
  width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
  background: var(--dark);
}

.gallery-modal-caption {
  padding-top: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
  color: var(--dark);
}

.gallery-modal-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 3px solid var(--dark);
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 5px 0 var(--primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible {
  transform: translateY(-2px);
  box-shadow: 7px 7px 0 var(--primary);
}

@media (max-width: 575.98px) {
  .gallery-modal-frame {
    box-shadow: 8px 8px 0 var(--primary);
  }

  .gallery-modal-close {
    width: 42px;
    height: 42px;
  }
}

/* ================================================
   RECIPE CARD
================================================ */

/* Central glass — pulse + glow */
.recipe-glass-icon {
  font-size: 3.8rem;
  line-height: 1;
  position: relative;
  z-index: 2;
  animation: recipeGlassPulse 2.8s ease-in-out infinite;
  display: block;
}

@keyframes recipeGlassPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 0px rgba(242,233,78,0)); }
  50%       { transform: scale(1.1); filter: drop-shadow(0 0 18px rgba(242,233,78,0.55)); }
}

/* SHAKE & STRAIN watermark */
.recipe-watermark {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Floating ingredient chips */
.recipe-ingredient-chip {
  position: absolute;
  background: rgba(242, 233, 78, 0.1);
  border: 1px solid rgba(242, 233, 78, 0.28);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  z-index: 3;
}

.recipe-chip-1 {
  top: 16%;
  left: 6%;
  animation: chipFloat 3.6s ease-in-out infinite;
}
.recipe-chip-2 {
  top: 16%;
  right: 4%;
  animation: chipFloat 4.1s ease-in-out infinite 0.6s;
}
.recipe-chip-3 {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation: chipFloatCenter 3.9s ease-in-out infinite 1.1s;
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
@keyframes chipFloatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-7px); }
}

/* Custom recipe steps */
.recipe-steps-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.75rem 0 0.25rem;
}

.recipe-step-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.recipe-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--light);
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.recipe-step-text {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.55;
}

.recipe-step-text strong { color: var(--dark); }

/* Sub-steps (scorzetta) */
.recipe-substeps {
  margin: 0.35rem 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.recipe-substeps li {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.5;
  padding-left: 0.9rem;
  position: relative;
  margin-bottom: 0.18rem;
}

.recipe-substeps li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Sign-off line */
.recipe-signoff {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-top: 0.75rem;
  display: block;
}

/* ================================================
   PERSICHETTO POINTS — Find Us Tabs
================================================ */

/* Scrollable pill nav */
.pp-tab-nav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.pp-tab-nav::-webkit-scrollbar { display: none; }

.pp-tab-nav .nav {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  min-width: 100%;
}

.pp-tab-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease;
}

.pp-tab-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.pp-tab-btn.active {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 3px 14px rgba(242, 233, 78, 0.28);
}

/* Tab content */
.pp-tab-content { padding-top: 1.75rem; }

/* Region header row */
.pp-region-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pp-region-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--light);
  line-height: 1;
}

.pp-points-count {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.8rem;
  white-space: nowrap;
}

.pp-points-count strong {
  color: var(--accent);
  font-size: 0.82rem;
}

/* Venue card */
.pp-venue-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  height: 100%;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.pp-venue-card:hover {
  background: rgba(242, 233, 78, 0.06);
  border-color: rgba(242, 233, 78, 0.2);
  transform: translateY(-2px);
}

.pp-venue-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(242, 233, 78, 0.26);
  line-height: 1;
}

.pp-venue-info { flex: 1; min-width: 0; }

.pp-venue-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--light);
  margin-bottom: 0.28rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-venue-address {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.45;
  margin-bottom: 0.45rem;
}

.pp-venue-address i {
  color: rgba(242, 233, 78, 0.55);
  margin-right: 0.2rem;
}

.pp-venue-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(51, 121, 212, 0.16);
  color: var(--primary-mid);
  border: 1px solid rgba(51, 121, 212, 0.2);
}

@media (max-width: 575.98px) {
  .pp-tab-btn { font-size: 0.72rem; padding: 0.45rem 0.9rem; }
  .pp-region-title { font-size: 1.3rem; }
}

/* ================================================
   MASCOTTE ABOUT — scroll-driven walk animation
================================================ */
.mascotte-about {
  position: absolute;
  bottom: 0;
  left: -270px;
  height: 400px;
  width: auto;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  will-change: left, transform;
  filter: drop-shadow(4px 6px 12px rgba(0, 0, 0, 0.22));
}

.mascotte-about.mascotte-walking {
  animation: mascotte-bob 0.44s ease-in-out infinite alternate;
}

@keyframes mascotte-bob {
  from { transform: translateY(0)     rotate(-1.5deg) scaleX(1);    }
  to   { transform: translateY(-13px) rotate(1.5deg)  scaleX(0.96); }
}

@media (max-width: 767.98px) {
  .mascotte-about { display: none !important; }
}

/* ================================================
   WHATSAPP FLOATING BUTTON
================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1055;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.2rem 0.7rem 0.9rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
  transition: transform 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  overflow: hidden;
  max-width: 52px;
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.whatsapp-fab-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.25s ease, max-width 0.3s ease;
  overflow: hidden;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  max-width: 200px;
  padding: 0.7rem 1.3rem 0.7rem 1rem;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.whatsapp-fab:hover .whatsapp-fab-label,
.whatsapp-fab:focus-visible .whatsapp-fab-label {
  opacity: 1;
  max-width: 120px;
}

.whatsapp-fab:hover svg {
  transform: scale(1.1);
}

@media (max-width: 575.98px) {
  .whatsapp-fab {
    bottom: 1rem;
    right: 1rem;
    padding: 0.65rem;
    max-width: 52px;
    border-radius: 50%;
  }

  .whatsapp-fab:hover,
  .whatsapp-fab:focus-visible {
    max-width: 52px;
    padding: 0.65rem;
    border-radius: 50%;
  }

  .whatsapp-fab-label { display: none; }
}

/* ================================================
   PERSICHETTO MAISON PAGE
================================================ */
.maison-page {
  background: var(--light);
  overflow: hidden;
}

/* --- Hero --- */
.maison-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 9rem 0 6rem;
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}

.maison-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 60%, rgba(51, 121, 212, 0.22), transparent 55%),
    radial-gradient(ellipse at 15% 30%, rgba(242, 233, 78, 0.12), transparent 40%),
    var(--dark);
  z-index: 0;
}

.maison-hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.maison-hero-watermark {
  position: absolute;
  bottom: -0.12em;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(10rem, 28vw, 24rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
  letter-spacing: -4px;
  z-index: 2;
}

.min-vh-hero {
  min-height: 82svh;
}

.maison-coords {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
}

.maison-coords-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(242, 233, 78, 0.6);
  animation: maisonDotPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes maisonDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 233, 78, 0.6); }
  50%       { box-shadow: 0 0 0 10px rgba(242, 233, 78, 0); }
}

.maison-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 9rem);
  line-height: 0.88;
  color: var(--light);
  margin-bottom: 1.75rem;
}

.maison-title span {
  color: var(--accent);
  display: block;
}

.maison-lead {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.85;
  margin-bottom: 2.25rem;
}

.maison-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Badge circle (desktop) */
.maison-badge-circle {
  width: clamp(180px, 20vw, 240px);
  height: clamp(180px, 20vw, 240px);
  border-radius: 50%;
  border: 2px solid rgba(242, 233, 78, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: maisonBadgeSpin 20s linear infinite;
}

.maison-badge-circle::before {
  content: '';
  position: absolute;
  width: calc(clamp(180px, 20vw, 240px) + 24px);
  height: calc(clamp(180px, 20vw, 240px) + 24px);
  border-radius: 50%;
  border: 1px dashed rgba(242, 233, 78, 0.15);
  animation: maisonBadgeSpin 30s linear infinite reverse;
}

@keyframes maisonBadgeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.maison-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  animation: maisonBadgeSpin 20s linear infinite reverse;
}

.maison-badge-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.maison-badge-year {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
}

.maison-badge-icon {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.2rem;
}

/* Scroll cue */
.maison-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 5;
  animation: maisonScrollBounce 2s ease-in-out infinite;
}

@keyframes maisonScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.28; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 0.6; }
}

/* --- Ticker band --- */
.maison-ticker-band {
  background: var(--accent);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 3px solid rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid rgba(0, 0, 0, 0.08);
}

.maison-ticker-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: maisonTicker 30s linear infinite;
  will-change: transform;
}

.maison-ticker-track span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: var(--dark);
  flex-shrink: 0;
}

@keyframes maisonTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Intro section --- */
.maison-intro {
  padding: 8rem 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.maison-intro::before {
  content: 'CUORE';
  position: absolute;
  font-family: var(--font-display);
  font-size: 18rem;
  color: rgba(0, 0, 0, 0.025);
  top: 50%;
  left: -3rem;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.maison-intro-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.maison-intro-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.maison-intro-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.maison-intro-card i {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.maison-intro-card span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  display: block;
}

.maison-intro-card small {
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 0.2rem;
}

.maison-intro-card--primary {
  background: var(--primary);
  color: var(--light);
}

.maison-intro-card--primary small { color: rgba(255, 255, 255, 0.6); }

.maison-intro-card--accent {
  background: var(--accent);
  color: var(--dark);
  margin-left: 2rem;
}

.maison-intro-card--accent small { color: rgba(0, 0, 0, 0.55); }

.maison-intro-card--dark {
  background: var(--dark);
  color: var(--light);
  margin-left: 1rem;
}

.maison-intro-card--dark small { color: rgba(255, 255, 255, 0.5); }

.maison-intro-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: 50%;
  right: -20px;
  bottom: -20px;
  z-index: -1;
  opacity: 0.4;
}

.maison-prose p {
  color: #505050;
  font-size: 1.06rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.maison-prose strong {
  color: var(--dark);
  font-weight: 700;
}

/* --- Pillars section --- */
.maison-pillars {
  padding: 8rem 0;
  background:
    radial-gradient(ellipse at 60% 0%, rgba(51, 121, 212, 0.18), transparent 50%),
    var(--dark);
  position: relative;
  overflow: hidden;
}

.maison-pillars::before {
  content: 'PERSICHETTO';
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 14rem);
  color: rgba(255, 255, 255, 0.03);
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px;
}

.maison-pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.maison-pillar-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(242, 233, 78, 0.3);
  transform: translateY(-8px);
}

.maison-pillar-card--accent {
  background: rgba(242, 233, 78, 0.07);
  border-color: rgba(242, 233, 78, 0.2);
}

.maison-pillar-card--accent:hover {
  background: rgba(242, 233, 78, 0.12);
  border-color: rgba(242, 233, 78, 0.5);
}

.maison-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(242, 233, 78, 0.3);
}

.maison-pillar-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
}

.maison-pillar-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 0.85rem;
  line-height: 1;
}

.maison-pillar-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.8;
  margin: 0;
}

/* --- Quote section --- */
.maison-quote-section {
  padding: 7rem 0;
  background: var(--accent);
}

.maison-quote-wrap {
  position: relative;
  padding: 1rem 0;
}

.maison-quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.6;
  color: rgba(0, 0, 0, 0.12);
  display: block;
  margin-bottom: -1rem;
  user-select: none;
  pointer-events: none;
}

.maison-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  color: var(--dark);
  quotes: none;
  margin: 0 0 1.5rem;
}

.maison-quote-author {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

/* --- Map section --- */
.maison-map-section {
  padding: 8rem 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.maison-map-sub {
  max-width: 520px;
  color: #666;
  font-size: 1rem;
  line-height: 1.75;
}

.maison-map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--dark);
  box-shadow: 14px 14px 0 var(--accent);
  height: 100%;
  min-height: 420px;
}

.maison-info-panel {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 3px solid var(--dark);
  box-shadow: 14px 14px 0 var(--primary);
  display: flex;
  flex-direction: column;
}

.maison-info-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.maison-info-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.9rem;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.maison-info-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--light);
  margin: 0;
}

.maison-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.maison-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.maison-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.maison-info-list strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.18rem;
}

.maison-info-list span {
  font-size: 0.95rem;
  color: var(--light);
  line-height: 1.5;
}

/* --- CTA section --- */
.maison-cta-section {
  position: relative;
  padding: 9rem 0;
  overflow: hidden;
  isolation: isolate;
}

.maison-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(242, 233, 78, 0.2), transparent 45%),
    radial-gradient(ellipse at 80% 30%, rgba(51, 121, 212, 0.18), transparent 40%),
    var(--dark);
  z-index: 0;
}

.maison-cta-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.9;
  color: var(--light);
}

.maison-cta-title span {
  color: var(--accent);
}

.maison-cta-lead {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.85;
}

/* --- Buttons --- */
.btn-maison-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-maison-primary:hover {
  background: var(--light);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242, 233, 78, 0.3);
}

.btn-maison-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.8rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-maison-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--light);
}

.btn-maison-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  padding: 1rem 2.2rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-maison-accent:hover {
  background: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(242, 233, 78, 0.35);
}

.btn-maison-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 1rem 2.2rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-maison-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--light);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .maison-hero { min-height: auto; padding: 8rem 0 5rem; }
  .maison-intro,
  .maison-pillars,
  .maison-map-section { padding: 5rem 0; }
  .maison-intro-card--accent { margin-left: 1rem; }
  .maison-intro-card--dark { margin-left: 0; }
  .maison-cta-section { padding: 6rem 0; }
  .maison-map-frame { min-height: 360px; margin-bottom: 2rem; }
  .maison-info-panel { box-shadow: 8px 8px 0 var(--primary); }
  .maison-map-frame { box-shadow: 8px 8px 0 var(--accent); }
}

@media (max-width: 575.98px) {
  .maison-hero-watermark { font-size: 8rem; right: -0.5rem; }
  .maison-title { font-size: clamp(3.5rem, 14vw, 6rem); }
  .maison-quote { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .maison-hero-cta { flex-direction: column; align-items: flex-start; }
  .btn-maison-outline { margin-left: 0 !important; }
  .maison-quote-section,
  .maison-pillars { padding: 4rem 0; }
  .maison-coords { font-size: 0.65rem; letter-spacing: 1.5px; }
}

/* ================================================
   PAGINE LEGALI (privacy-policy, cookie-policy, accessibilita)
================================================ */

.legal-hero {
  min-height: 44vh;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 80% 15%, rgba(242, 233, 78, 0.22), transparent 30%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--light);
  display: flex;
  align-items: center;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.9;
  color: var(--light);
}

.legal-title span { color: var(--accent); }

.legal-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.75;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.legal-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}

.legal-section {
  padding: 6rem 0 7rem;
  background: var(--light);
}

/* Prose — tipografia per il contenuto legale */
.legal-prose {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #222;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.legal-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-prose p { margin-bottom: 1rem; }

.legal-prose ul {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}

.legal-prose ul li { margin-bottom: 0.5rem; }

.legal-prose a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-prose a:hover { color: var(--primary-dark); }

.legal-prose code {
  background: #f0f4fa;
  color: var(--primary-dark);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.88em;
}

/* Tabella cookie */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.legal-table thead tr {
  background: var(--dark);
  color: var(--light);
}

.legal-table thead th {
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.legal-table tbody tr { border-bottom: 1px solid #eee; }
.legal-table tbody tr:last-child { border-bottom: none; }
.legal-table tbody tr:nth-child(odd) { background: #f8f9fb; }

.legal-table td {
  padding: 0.9rem 1.1rem;
  vertical-align: top;
  line-height: 1.65;
}

/* Link navigazione in fondo alle pagine legali */
.legal-back-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-back-link:hover {
  background: var(--primary);
  color: var(--light);
}

@media (max-width: 767.98px) {
  .legal-hero { padding: 7rem 0 3.5rem; }
  .legal-section { padding: 4rem 0 5rem; }
  .legal-prose h2 { margin-top: 2.2rem; }
  .legal-table thead th,
  .legal-table td { padding: 0.7rem 0.85rem; }
}

/* ================================================
   COOKIE BANNER
================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8500;
  background: #0a0a0a;
  color: var(--light);
  padding: 1.35rem 0;
  box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.cb-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.cookie-banner__text {
  flex: 1 1 280px;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.cookie-banner__desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner__desc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.cookie-banner__desc a:hover { color: #fff; }

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cb-btn-accept {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.cb-btn-accept:hover {
  background: #ffe000;
  transform: translateY(-1px);
}

.cb-btn-reject {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.cb-btn-reject:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

@media (max-width: 767.98px) {
  .cookie-banner__inner { gap: 1rem; }
  .cookie-banner__icon { display: none; }
  .cookie-banner__actions { width: 100%; justify-content: flex-end; }
  .cb-btn-accept,
  .cb-btn-reject { font-size: 0.82rem; padding: 0.55rem 1rem; }
}
