/* ═══════════════════════════════════════════════════════════
   SENZA — Gelateria Artigianale Naturale
   v7.0 · DESIGN - MOBILE FIRST
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Nature-Inspired Palette — BIO GREEN */
  --bg-mint: #E8F5E9;
  --bg-sage: #D7E8D4;
  --text-dark: #1E3A24;
  --text-body: #2D4A33;
  --accent: #3DA55C;
  --accent-light: #6ECF8A;
  --accent-deep: #2E8B47;
  --banana: #FFE77A;
  --banana-soft: #FFF3C4;
  --cream: #FFFBF2;
  --cream-warm: #FFF8E8;
  --forest: #2C5F3A;
  --moss: #4A7C59;
  --earth: #8B7355;
  --pill-bg: rgba(30, 58, 36, 0.08);
  --shadow-soft: rgba(30, 58, 36, 0.06);
  --shadow-medium: rgba(30, 58, 36, 0.1);

  /* Spacing */
  --pad: clamp(20px, 5vw, 80px);
  --pad-section: clamp(60px, 10vw, 140px);
  --r-pill: 999px;
  --r-card: clamp(20px, 4vw, 40px);
  --r-fluid: 100px;
  --max-w: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-mint);
  color: var(--text-dark);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  line-height: 1.1;
}

em {
  font-style: italic;
  font-family: "Instrument Serif", Georgia, serif;
  color: var(--accent);
}

.section-label {
  display: inline-block;
  background: var(--pill-bg);
  padding: 8px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  margin-bottom: 20px;
}

.section-label--light {
  background: rgba(255,255,255,0.1);
  color: var(--cream);
}

.section-title {
  font-size: clamp(32px, 5vw, 72px);
  margin-bottom: 20px;
}

.section-title-xl {
  font-size: clamp(60px, 12vw, 180px);
  line-height: 0.9;
  margin-bottom: 24px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  width: 100%;
  padding: 20px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  color: #fff;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a {
  color: #fff;
  transition: color 0.4s ease, opacity 0.3s ease;
}

/* Liquid Glass effect on scroll */
.nav--scrolled {
  padding: 12px var(--pad);
  margin: 8px;
  width: calc(100% - 16px);
  border-radius: 20px;
  background: rgba(232, 245, 233, 0.45);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.5) inset,
    0 -1px 0 0 rgba(255,255,255,0.15) inset,
    0 8px 32px rgba(30, 58, 36, 0.08),
    0 2px 8px rgba(30, 58, 36, 0.04);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--text-dark);
}

.nav--scrolled a {
  color: var(--text-dark);
}

.nav__logo img {
  height: 72px;
  width: auto;
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1.3) drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.nav--scrolled .nav__logo img {
  height: 48px;
  filter: none;
  mix-blend-mode: multiply;
}

.nav__links {
  display: flex;
  gap: 36px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav__links a {
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav--scrolled .nav__links a::after {
  background: var(--accent);
}

.nav__links a:hover {
  opacity: 1;
}

.nav__links a:hover::after {
  width: 100%;
}

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

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav--scrolled .nav__burger span {
  background: var(--text-dark);
}

.nav__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-mint);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-menu__links a {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 500;
  color: var(--text-dark);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-menu.active .mobile-menu__links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-menu__links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__links a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__links a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu__links a:nth-child(4) { transition-delay: 0.4s; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ── HERO — Full-screen cinematic ── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 58, 36, 0.25) 0%,
    rgba(30, 58, 36, 0.45) 40%,
    rgba(30, 58, 36, 0.65) 100%
  );
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Logo */
.hero__logo {
  margin-bottom: 28px;
}

.hero__logo img {
  width: clamp(80px, 12vw, 120px);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3)) brightness(1.15);
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

/* Chip — naked handwritten feel */
.hero__chip {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 28px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
  letter-spacing: 0.01em;
}

.hero__title {
  font-size: clamp(40px, 8vw, 100px);
  line-height: 0.92;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero__title em {
  color: var(--accent-light);
}

.hero__subtitle {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 560px;
}

.hero__subtitle strong {
  color: #fff;
}

/* Tags row */
.hero__tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.hero__tag:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
}

.hero__tag svg {
  flex-shrink: 0;
  opacity: 0.8;
}

/* CTA */
.hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--text-dark);
  padding: 16px 36px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero__cta--motivi {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.hero__cta--motivi:hover {
  background: #fff;
  color: var(--text-dark);
  border-color: #fff;
}

.hero__cta:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.hero__cta svg {
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

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

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* ── HERO MOBILE ── */
@media (max-width: 768px) {
  .hero__bg img {
    object-position: center center;
  }

  .hero__logo img {
    width: 80px;
  }

  .hero__logo {
    margin-bottom: 20px;
  }

  .hero__chip {
    font-size: 17px;
  }

  .hero__title {
    font-size: clamp(36px, 11vw, 56px);
    margin-bottom: 18px;
  }

  .hero__subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero__subtitle br {
    display: none;
  }

  .hero__tags {
    gap: 8px;
    margin-bottom: 28px;
  }

  .hero__tag {
    font-size: 10px;
    padding: 6px 12px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero__cta {
    padding: 14px 28px;
    font-size: 13px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ── MARQUEE ── */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1.5px solid rgba(30, 58, 36, 0.15);
  border-bottom: 1.5px solid rgba(30, 58, 36, 0.15);
  display: flex;
  white-space: nowrap;
}

.marquee--nature {
  background: var(--forest);
  border-color: var(--forest);
}

.marquee--nature .marquee__text {
  color: var(--cream);
}

.marquee__track {
  display: flex;
  animation: scrollLeft 20s linear infinite;
}

.marquee__track--reverse {
  animation: scrollRight 18s linear infinite;
}

.marquee__text {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 4vw, 48px);
  font-weight: 600;
  color: var(--text-dark);
  margin-right: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.marquee__dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.marquee__leaf {
  font-size: clamp(18px, 3vw, 36px);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes scrollLeft {
  100% { transform: translateX(-50%); }
}

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

/* ── PHILOSOPHY — Organic Bento ── */
.philosophy {
  padding: clamp(40px, 6vw, 80px) var(--pad);
  background: var(--cream);
  overflow: hidden;
}

.phil-bento {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: auto;
  gap: clamp(12px, 2vw, 20px);
}

.phil-bento > div {
  border-radius: clamp(16px, 3vw, 32px);
  overflow: hidden;
}

/* Images shared */
.phil-bento__img1 img,
.phil-bento__img2 img,
.phil-bento__img3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phil-bento__img1:hover img,
.phil-bento__img2:hover img,
.phil-bento__img3:hover img {
  transform: scale(1.06);
}

/* Cell 1: Title — no box, transparent */
.phil-bento__title {
  grid-column: 1 / 7;
  grid-row: 1 / 2;
  padding: clamp(20px, 3vw, 40px) clamp(8px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: transparent;
}

.phil-bento__title .section-label {
  margin-bottom: 16px;
}

.phil-bento__title h2 {
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.05;
}

/* Cell 2: 3 cones */
.phil-bento__img1 {
  grid-column: 7 / 13;
  grid-row: 1 / 3;
  box-shadow: 0 20px 50px rgba(30, 58, 36, 0.1);
}

/* Cell 3: Quote — dark green, softer shape */
.phil-bento__quote {
  grid-column: 1 / 7;
  grid-row: 2 / 3;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, var(--forest) 0%, #234A2E 100%);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-shadow: 0 16px 40px rgba(30, 58, 36, 0.15);
}

.phil-bento__quote svg {
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  color: var(--cream);
}

.phil-bento__quote blockquote {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2vw, 26px);
  font-style: italic;
  line-height: 1.45;
  opacity: 0.92;
}

/* Cell 4: Artisan hands */
.phil-bento__img2 {
  grid-column: 1 / 5;
  grid-row: 3 / 4;
  min-height: 280px;
  box-shadow: 0 16px 40px rgba(30, 58, 36, 0.08);
}

/* Cell 5: Stats — floating numbers, no box */
.phil-bento__stats {
  grid-column: 5 / 13;
  grid-row: 3 / 4;
  padding: clamp(20px, 3vw, 40px) clamp(16px, 2vw, 32px);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0;
}

.stat {
  text-align: center;
  flex: 1;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(30,58,36,0.12), transparent);
}

.stat__number {
  display: block;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: clamp(9px, 1vw, 12px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-body);
  opacity: 0.5;
}

/* Cell 6: Story timeline */
.phil-bento__story {
  grid-column: 1 / 8;
  grid-row: 4 / 5;
  padding: clamp(24px, 3vw, 44px) clamp(8px, 2vw, 24px);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.story-block {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(16px, 2vw, 24px) 0;
  position: relative;
  border-bottom: 1px solid rgba(30, 58, 36, 0.06);
}

.story-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.story-block:first-child {
  padding-top: 0;
}

.story-block__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.story-block:hover .story-block__icon {
  transform: scale(1.2) rotate(-6deg);
}

.story-block__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(30, 58, 36, 0.15));
}

.story-block__text h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 6px;
}

.story-block__text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  opacity: 0.8;
}

.story-block__text strong {
  color: var(--forest);
  font-weight: 700;
  opacity: 1;
}

/* Cell 7: Shop exterior */
.phil-bento__img3 {
  grid-column: 8 / 13;
  grid-row: 4 / 5;
  position: relative;
  min-height: 300px;
  box-shadow: 0 16px 40px rgba(30, 58, 36, 0.08);
}

.phil-bento__img-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.03em;
  text-align: center;
}

/* ── Bento Mobile ── */
@media (max-width: 900px) {
  .phil-bento {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .phil-bento__title {
    grid-column: 1 / -1;
    grid-row: auto;
    text-align: center;
    padding-bottom: 8px;
  }

  .phil-bento__img1 {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }

  .phil-bento__quote {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .phil-bento__img2 {
    grid-column: 1 / 2;
    grid-row: auto;
    min-height: 200px;
  }

  .phil-bento__stats {
    grid-column: 2 / 3;
    grid-row: auto;
    flex-wrap: wrap;
    gap: 16px 0;
    padding: 20px 8px;
  }

  .stat {
    flex: 0 0 50%;
  }

  .stat:nth-child(2)::after {
    display: none;
  }

  .phil-bento__story {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .phil-bento__img3 {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .phil-bento {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .phil-bento__img2 {
    grid-column: 1;
    min-height: 180px;
  }

  .phil-bento__stats {
    grid-column: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 24px 0;
  }

  .stat { flex: 1; }

  .stat:nth-child(2)::after {
    display: block;
  }
}

/* ── VALUES — Immersive rows ── */
.values {
  padding: var(--pad-section) var(--pad);
  background: var(--bg-mint);
  overflow: hidden;
}

.values__container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.values__header {
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

/* Each value is a full-width row with image + text */
.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(48px, 8vw, 100px);
}

.value-row:last-child {
  margin-bottom: 0;
}

.value-row--reverse {
  direction: rtl;
}

.value-row--reverse > * {
  direction: ltr;
}

/* Image */
.value-row__img {
  border-radius: clamp(20px, 3vw, 36px);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 50px rgba(30, 58, 36, 0.12);
  position: relative;
}

.value-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value-row__img:hover img {
  transform: scale(1.06);
}

/* Content */
.value-row__content {
  padding: clamp(8px, 2vw, 20px) 0;
}

.value-row__emoji {
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(30, 58, 36, 0.12));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-row:hover .value-row__emoji {
  transform: scale(1.15) rotate(-5deg);
}

.value-row__content h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.1;
}

.value-row__content p {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  color: var(--text-body);
  opacity: 0.8;
  margin-bottom: 20px;
}

/* Tags */
.value-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.value-row__tags span {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(30, 58, 36, 0.06);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--forest);
  transition: all 0.3s ease;
}

.value-row__tags span:hover {
  background: var(--forest);
  color: var(--cream);
}

/* Mobile */
@media (max-width: 768px) {
  .value-row,
  .value-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
    margin-bottom: 56px;
  }

  .value-row__img {
    aspect-ratio: 16/10;
  }

  .value-row__content {
    text-align: center;
  }

  .value-row__emoji {
    margin-left: auto;
    margin-right: auto;
  }

  .value-row__tags {
    justify-content: center;
  }
}

/* ── 6 MOTIVI PER SCEGLIERCI ── */
.motivi {
  padding: clamp(40px, 5vw, 64px) var(--pad);
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.motivi::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=1600&q=80')
    center / cover no-repeat;
  opacity: 0.08;
  filter: saturate(1.4) brightness(1.1);
}

.motivi::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(232, 245, 233, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(232, 245, 233, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.motivi__container {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.motivi__header {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 36px);
}

/* ── Single-row grid ── */
.motivi__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(4px, 0.8vw, 12px);
}

/* ── Motivo card ── */
.motivo {
  text-align: center;
  padding: clamp(12px, 1.5vw, 20px) clamp(6px, 0.6vw, 12px);
  position: relative;
  border-radius: 14px;
  cursor: default;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid transparent;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.motivo:hover {
  transform: translateY(-10px) scale(1.06);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(61, 165, 92, 0.18);
  box-shadow: 0 14px 36px rgba(30, 58, 36, 0.12);
}

/* ── Icon ── */
.motivo__icon {
  width: clamp(48px, 5.5vw, 80px);
  height: clamp(48px, 5.5vw, 80px);
  margin: 0 auto clamp(4px, 0.5vw, 10px);
  will-change: transform;
}

.motivo__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(30, 58, 36, 0.12));
  transition: filter 0.4s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.motivo:hover .motivo__icon img {
  transform: scale(1.18) rotate(-4deg);
  filter: drop-shadow(0 8px 18px rgba(30, 58, 36, 0.22));
}

/* Floating animation */
@keyframes motivo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.motivo__icon {
  animation: motivo-float 3s ease-in-out infinite;
  animation-play-state: paused;
}

.motivo.is-visible .motivo__icon {
  animation-play-state: running;
}

.motivo:nth-child(1) .motivo__icon { animation-delay: 0s; }
.motivo:nth-child(2) .motivo__icon { animation-delay: 0.5s; }
.motivo:nth-child(3) .motivo__icon { animation-delay: 1s; }
.motivo:nth-child(4) .motivo__icon { animation-delay: 0.25s; }
.motivo:nth-child(5) .motivo__icon { animation-delay: 0.75s; }
.motivo:nth-child(6) .motivo__icon { animation-delay: 0.6s; }

/* ── Title ── */
.motivo__title {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 1.5vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--forest);
  margin-bottom: 1px;
  line-height: 1.2;
  transition: letter-spacing 0.4s ease;
}

.motivo:hover .motivo__title {
  letter-spacing: 0.1em;
}

/* ── Description ── */
.motivo__desc {
  font-size: clamp(10px, 0.85vw, 12px);
  color: var(--text-body);
  opacity: 0.55;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

.motivo:hover .motivo__desc {
  opacity: 0.9;
}

/* ── Footer ── */
.motivi__footer {
  text-align: center;
  margin-top: clamp(20px, 2.5vw, 32px);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.4;
  padding: clamp(14px, 1.5vw, 24px) clamp(16px, 2.5vw, 40px);
  background: rgba(232, 245, 233, 0.65);
  backdrop-filter: blur(6px);
  border-radius: var(--r-card);
  border: 1px solid rgba(61, 165, 92, 0.1);
}

/* ── Motivi responsive ── */
@media (max-width: 768px) {
  .motivi {
    padding: 32px 0;
  }

  .motivi__header {
    margin-bottom: 16px;
    padding: 0 var(--pad);
  }

  .motivi__grid {
    grid-template-columns: repeat(6, minmax(100px, 1fr));
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px var(--pad) 16px;
    scrollbar-width: none;
  }

  .motivi__grid::-webkit-scrollbar {
    display: none;
  }

  .motivo {
    scroll-snap-align: center;
    padding: 14px 10px;
    border-radius: 12px;
    min-width: 100px;
  }

  .motivo__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
  }

  .motivo__title {
    font-size: 13px;
  }

  .motivo__desc {
    font-size: 10px;
    white-space: nowrap;
  }

  .motivi__footer {
    margin: 16px var(--pad) 0;
    font-size: 13px;
    padding: 12px 16px;
  }

  @keyframes motivo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
  }
}

/* ── FORMULA 12+12 — Immersive ── */
.formula {
  background: var(--text-dark);
  color: var(--cream);
  overflow: hidden;
}

/* Hero banner */
.formula__hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.formula__hero-bg {
  position: absolute;
  inset: 0;
}

.formula__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.formula__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 58, 36, 0.6) 0%,
    rgba(30, 58, 36, 0.8) 100%
  );
}

.formula__hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 120px) var(--pad);
}

.formula__big-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  margin-bottom: 20px;
}

.formula__num {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 16vw, 200px);
  font-weight: 600;
  line-height: 0.85;
  color: #fff;
}

.formula__plus-sign {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 8vw, 100px);
  color: var(--accent-light);
  font-weight: 300;
  opacity: 0.7;
}

.formula__tagline {
  font-size: clamp(16px, 2vw, 22px);
  opacity: 0.7;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
}

.formula__tagline em {
  color: var(--accent-light);
}

/* Flavor sections */
/* ── Formula sections ── */
.formula__section {
  padding: clamp(40px, 5vw, 72px) var(--pad);
}

.formula__section--vegan {
  background: linear-gradient(135deg, #1A3325 0%, #0F2218 100%);
}

.formula__section--classic {
  background: var(--cream);
  color: var(--text-dark);
}

.formula__section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(24px, 3vw, 40px);
}

.formula__section-header img {
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

.formula__section-header h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
}

.formula__section--vegan .formula__section-header em {
  color: var(--accent-light);
}

.formula__section-header p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.7;
}

.formula__section-header strong {
  opacity: 1;
}

/* ── Flavor cards grid ── */
.formula__flavors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: clamp(12px, 2vw, 24px);
  max-width: 960px;
  margin: 0 auto;
}

.flv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flv-card:hover {
  transform: translateY(-6px);
}

.flv-card__img {
  width: clamp(64px, 7vw, 96px);
  height: clamp(64px, 7vw, 96px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.formula__section--classic .flv-card__img {
  border-color: rgba(30, 58, 36, 0.1);
  box-shadow: 0 4px 16px rgba(30, 58, 36, 0.08);
}

.flv-card:hover .flv-card__img {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.formula__section--classic .flv-card:hover .flv-card__img {
  box-shadow: 0 8px 24px rgba(30, 58, 36, 0.15);
}

.flv-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.flv-card:hover .flv-card__img img {
  transform: scale(1.15);
}

.flv-card__name {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}

.formula__section--classic .flv-card__name {
  color: var(--forest);
}

.flv-card__tag {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(61, 165, 92, 0.2);
  color: var(--accent-light);
}

.flv-card__tag--sugar {
  background: rgba(255, 231, 122, 0.15);
  color: var(--banana);
}

.formula__section--classic .flv-card__tag {
  background: rgba(61, 165, 92, 0.1);
  color: var(--accent-deep);
}

.formula__section--classic .flv-card__tag--sugar {
  background: rgba(255, 183, 77, 0.15);
  color: #c57d20;
}

/* Formula Mobile */
@media (max-width: 768px) {
  .formula__hero {
    min-height: 50vh;
  }

  .formula__section {
    padding: 32px var(--pad);
  }

  .formula__flavors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }

  .flv-card__img {
    width: 60px;
    height: 60px;
  }

  .flv-card__name {
    font-size: 11px;
  }

  .flv-card__tag {
    font-size: 8px;
    padding: 1px 6px;
  }
}

@media (max-width: 400px) {
  .formula__flavors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
  }

  .flv-card__img {
    width: 52px;
    height: 52px;
  }
}

/* ── AWARDS — Immersive ── */
.awards {
  padding: var(--pad-section) var(--pad);
  background: var(--cream);
  overflow: hidden;
}

.awards__container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.awards__header {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}

/* Award rows */
.award-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.award-row:last-of-type {
  margin-bottom: clamp(48px, 7vw, 80px);
}

.award-row--reverse {
  direction: rtl;
}

.award-row--reverse > * {
  direction: ltr;
}

.award-row__img {
  border-radius: clamp(20px, 3vw, 32px);
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: 0 16px 48px rgba(30, 58, 36, 0.1);
}

.award-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.award-row__img:hover img {
  transform: scale(1.05);
}

.award-row__emoji {
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.12));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.award-row:hover .award-row__emoji {
  transform: scale(1.15) rotate(-5deg);
}

.award-row__content h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
}

.award-row__content p {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  color: var(--text-body);
  opacity: 0.8;
}

/* Certifications strip */
.awards__certs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 3vw, 36px) clamp(24px, 4vw, 48px);
  background: var(--forest);
  border-radius: clamp(16px, 2vw, 24px);
}

.awards__cert {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}

.awards__cert img {
  flex-shrink: 0;
}

.awards__cert span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Awards mobile */
@media (max-width: 768px) {
  .award-row,
  .award-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }

  .award-row__content {
    text-align: center;
  }

  .award-row__emoji {
    margin-left: auto;
    margin-right: auto;
  }

  .awards__certs {
    gap: 12px 20px;
  }
}

/* ── PHOTO GALLERY ── */
.gallery {
  padding: 80px 0 60px;
  overflow: hidden;
  background: var(--text-dark);
  color: var(--cream);
  position: relative;
}

.gallery__header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 var(--pad);
}

.gallery__header h2 {
  font-size: clamp(36px, 6vw, 80px);
}

.gallery__track {
  display: flex;
  gap: clamp(16px, 3vw, 30px);
  padding: 0 var(--pad);
  width: max-content;
}

.gallery__item {
  width: clamp(260px, 55vw, 400px);
  height: clamp(340px, 75vw, 550px);
  border-radius: clamp(24px, 5vw, 60px);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: var(--pad-section) var(--pad);
  background: var(--bg-sage);
}

.testimonials__container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.testimonials__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 60px);
}

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

.testimonial {
  background: var(--cream);
  border-radius: var(--r-card);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 8px 24px var(--shadow-soft);
  transition: transform 0.4s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
}

.testimonial__stars {
  color: var(--banana);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.testimonial p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial cite {
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  color: var(--forest);
}

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

/* ── CONTACT — Map-first immersive ── */
.contact {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Full-bleed map */
.contact__map-full {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact__map-full iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(0.85) brightness(1.02);
}

/* Floating card */
.contact__card {
  position: relative;
  z-index: 2;
  margin: clamp(24px, 4vw, 60px) auto clamp(24px, 4vw, 60px) clamp(24px, 5vw, 80px);
  max-width: 420px;
  width: 100%;
}

.contact__card-inner {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 60px rgba(30, 58, 36, 0.15),
    0 4px 16px rgba(30, 58, 36, 0.06);
}

.contact__card-logo {
  width: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
  mix-blend-mode: multiply;
}

.contact__card h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.contact__card-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  opacity: 0.75;
  margin-bottom: 24px;
}

/* Details rows */
.contact__card-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact__card-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__card-row img {
  flex-shrink: 0;
}

.contact__card-row span,
.contact__card-row a {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.4;
}

.contact__card-row a:hover {
  color: var(--forest);
  opacity: 1;
}

/* Action buttons */
.contact__card-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.contact__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact__btn--primary {
  background: var(--forest);
  color: #fff;
}

.contact__btn--primary:hover {
  opacity: 1;
  background: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 36, 0.2);
}

.contact__btn--wa {
  background: #25D366;
  color: #fff;
}

.contact__btn--wa:hover {
  opacity: 1;
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

/* Social */
.contact__card-social {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(30, 58, 36, 0.08);
}

.contact__card-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--forest);
  background: rgba(30, 58, 36, 0.06);
  transition: all 0.3s ease;
}

.contact__card-social a:hover {
  background: var(--forest);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .contact {
    min-height: auto;
    flex-direction: column;
  }

  .contact__map-full {
    position: relative;
    height: 300px;
  }

  .contact__card {
    margin: -40px auto 0;
    max-width: calc(100% - 32px);
    padding-bottom: 32px;
  }
}

/* ── FOOTER ── */
.footer {
  background: var(--text-dark);
  color: var(--cream);
  padding: clamp(40px, 6vw, 80px) var(--pad) clamp(24px, 3vw, 32px);
}

.footer__container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__brand {
  margin-bottom: 40px;
}

.footer__brand img {
  width: 80px;
  border-radius: 50%;
  margin-bottom: 16px;
  filter: brightness(1.2);
}

.footer__tagline {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.6;
}

.footer__tagline em {
  color: var(--accent);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__col h4 {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  opacity: 0.5;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 8px;
}

.footer__col a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom p {
  font-size: 12px;
  opacity: 0.4;
}

.footer__certs {
  display: flex;
  gap: 20px;
}

.footer__certs span {
  font-size: 12px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .footer__links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── SMOOTH SCROLL OFFSET ── */
[id] {
  scroll-margin-top: 90px;
}

/* ── SELECTION ── */
::selection {
  background: var(--accent);
  color: var(--cream);
}

/* ── MAP PLACEHOLDER (before consent) ── */
.map-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-mint);
  text-align: center;
  padding: 40px;
}

.map-placeholder p {
  font-size: 14px;
  color: var(--text-body);
  opacity: 0.7;
}

.map-placeholder button {
  padding: 10px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-placeholder button:hover {
  background: var(--forest);
  color: #fff;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 16px;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner__inner {
  max-width: 720px;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow:
    0 -2px 0 rgba(255,255,255,0.4) inset,
    0 16px 48px rgba(30, 58, 36, 0.15),
    0 4px 12px rgba(30, 58, 36, 0.06);
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text strong {
  display: block;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cookie-banner__text p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-body);
  opacity: 0.75;
}

.cookie-banner__text a {
  color: var(--forest);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn--reject {
  background: transparent;
  color: var(--text-body);
  border: 1.5px solid rgba(30, 58, 36, 0.15);
}

.cookie-btn--reject:hover {
  background: rgba(30, 58, 36, 0.06);
  border-color: rgba(30, 58, 36, 0.3);
}

.cookie-btn--accept {
  background: var(--forest);
  color: #fff;
}

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

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

/* ── FOOTER LEGAL ── */
.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 12px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.footer__legal a:hover {
  opacity: 1;
  color: var(--accent);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
