/* =====================================================
   PO MO DO POP V2 — style.css
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@900&family=Plus+Jakarta+Sans:wght@400;700;800&display=swap');

@font-face {
  font-family: 'Lucky Food';
  src: url('Lucky Food.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.lucky-font {
  font-family: 'Lucky Food', var(--font-title) !important;
}
/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #c8102e;
  --yellow: #FFD700;
  --cream: #faf8f2;
  --dark: #1a1a1a;
  --white: #ffffff;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-title: 'Epilogue', sans-serif;
  --nav-h: auto;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .06em;
  border-radius: 50px;
  padding: .85rem 2.2rem;
  cursor: pointer;
  color: var(--white);
  transition: all .3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.mobile-tab-bar {
  display: none;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2.5px solid var(--red);
  padding: .75rem 2rem;
  font-size: .9rem;
}

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

.btn-yellow-big {
  background: var(--yellow);
  color: var(--dark);
  font-size: 1.05rem;
  padding: 1rem 2.6rem;
}

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

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

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

/* ---------- Split Custom Section Titles ---------- */
.huge-section-header {
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 1rem;
}

.huge-subtitle {
  color: #e57373;
  text-transform: uppercase;
  letter-spacing: 0.15em; /* Matches 'COME SI USA' */
  font-size: clamp(1rem, 2vw, 1.4rem); /* Matches 'COME SI USA' */
  font-weight: 700;
  margin-bottom: -0.2rem;
  position: relative;
  z-index: 2;
}

.huge-title {
  color: var(--red);
  font-size: clamp(2.5rem, 6vw, 3.8rem); /* Matches the size of 'MOSSE.' */
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
}

.huge-desc {
  color: #df6464;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  margin-top: 0.5rem;
  font-family: var(--font-body);
}

/* ---------- Certifications ---------- */
.certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.cert-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 60px;
  background: var(--red);
  transition: background .3s, box-shadow .3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .22);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: transform .2s;
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.1;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-cta {
  background: var(--yellow);
  color: var(--dark) !important;
  padding: .5rem 1.4rem;
  border-radius: 50px;
  transition: transform .2s, box-shadow .2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  color: var(--dark) !important;
}

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

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--red);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Vector decorations */
.memphis {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deco {
  position: absolute;
}

/* Memphis Animations */
@keyframes memphis-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes memphis-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
/* Continuous Rotation Animations */
@keyframes spin-15 { 100% { transform: rotate(375deg); } }
@keyframes spin-165 { 100% { transform: rotate(525deg); } }
@keyframes spin-10 { 100% { transform: rotate(370deg); } }
@keyframes spin-45 { 100% { transform: rotate(405deg); } }
@keyframes spin-m15 { 100% { transform: rotate(345deg); } }
@keyframes spin-5 { 100% { transform: rotate(365deg); } }

/* Zigzags */
.deco-zz-alto-sx {
  width: 180px;
  top: 15%;
  left: -2%;
  opacity: 0.9;
  animation: memphis-float 5s ease-in-out infinite;
}

.deco-zz-basso-sx {
  width: 160px;
  bottom: 22%;
  left: 4%;
  opacity: 0.9;
  animation: memphis-float 6s ease-in-out infinite reverse;
}

/* Moved higher from 12% */
.deco-zz-dx {
  width: 160px;
  top: 18%;
  right: -2%;
  opacity: 0.9;
  animation: memphis-float 4.5s ease-in-out infinite;
}

/* Background Blobs and Patterns removed - using composite image */

/* Small elements */
.deco-cerchio-piccolo-sx {
  width: 26px;
  bottom: 15%;
  left: 8%;
  animation: memphis-pulse 3s ease-in-out infinite;
}

.deco-coppia-cerchi {
  width: 70px;
  top: 22%;
  left: 42%;
  animation: memphis-pulse 4s ease-in-out infinite reverse;
}

/* Crosses & Triangles redistributed (3 bottom-left, 3 right of jar) */
/* Bottom-left group */
.deco-x-yellow {
  width: 28px;
  bottom: 32%;
  left: 45%;
  transform: rotate(15deg);
  animation: spin-15 25s linear infinite;
}

.deco-tri-white {
  width: 28px;
  bottom: 42%;
  left: 43%;
  transform: rotate(15deg);
  animation: spin-15 28s linear infinite reverse;
}

.deco-tri-w-line {
  width: 36px;
  bottom: 20%;
  left: 48%;
  transform: rotate(165deg);
  animation: spin-165 32s linear infinite;
}

/* Right group */
.deco-x-white-1 {
  width: 28px;
  top: 45%;
  right: 12%;
  transform: rotate(10deg);
  animation: spin-10 24s linear infinite reverse;
}

.deco-x-white-2 {
  width: 24px;
  top: 65%;
  right: 8%;
  transform: rotate(45deg);
  animation: spin-45 22s linear infinite;
}

.deco-tri-yellow {
  width: 38px;
  bottom: 25%;
  right: 15%;
  transform: rotate(-15deg);
  animation: spin-m15 30s linear infinite reverse;
}

.deco-tri-y-line {
  width: 32px;
  top: 35%;
  right: 20%;
  transform: rotate(5deg);
  animation: spin-5 26s linear infinite;
}

/* Keep as 4th on right if needed, or hide */

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 60px;
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: stretch;
  /* Allow items to fill full height */
  gap: 0;
  min-height: calc(100vh - var(--nav-h));
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Start from calculated top */
  align-items: flex-start;
  padding-top: calc(50vh - 300px);
  /* Raised slightly as requested */
  padding-bottom: 60px;
}

.hero-text h1 {
  font-family: var(--font-title);
  font-size: clamp(4rem, 9vw, 90px);
  /* Increased to 90px as requested */
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 0;
  max-width: 100%;
}

.hero-text p {
  font-size: clamp(0.9rem, 1.6vw, 1.5rem);
  /* Exactly 3x smaller than title */
  font-weight: normal;
  color: var(--white);
  line-height: 1.4;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 90%;
}

.hero-text .btn {
  /* Ensure CTA is styled correctly directly under subtitle */
  border-radius: 50px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 1.05rem;
  padding: 1rem 2.6rem;
  font-weight: bold;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-block;
  border: none;
}

.hero-image {
  display: flex;
  justify-content: center;
  /* Center the new composition */
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-jar-wrapper {
  position: relative;
  display: inline-block;
  max-height: 95vh;
  margin-top: 5vh;
}

.hero-image img.main-jar-bkg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 95vh;
  z-index: 1;
}

.hero-image img.main-jar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .3));
  animation: float-simple 4s ease-in-out infinite;
  z-index: 10;
}

@keyframes float-simple {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* =====================================================
   INGREDIENTI
   ===================================================== */
.ingredienti {
  position: relative;
  background: var(--cream);
  padding: 40px 60px;
  overflow: hidden;
}

/* Small Memphis decos for ingredienti */
.ing-deco {
  position: absolute;
}

.id1 {
  width: 120px;
  top: 10%;
  right: 5%;
}

.id2 {
  width: 80px;
  bottom: 12%;
  right: 2%;
}

.id3 {
  width: 38px;
  top: 14%;
  left: 4%;
}

.id4 {
  width: 30px;
  bottom: 20%;
  left: 2%;
}

.id5 {
  width: 22px;
  top: 50%;
  right: 10%;
}

.ing-dot1 {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  top: 18%;
  left: 10%;
}

.ing-dot2 {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1aada0;
  bottom: 16%;
  left: 22%;
}

.ingredienti-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 1600px; /* Increased to allow 5 larger cards in a single row on big screens */
  margin: 0 auto;
}

.ingredient-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 280px;
  gap: 1.5rem;
}

/* New image-based ingredient styling */
.ing-image {
  width: 250px;
  height: 250px;
  object-fit: contain;
  transition: transform .3s, filter .3s;
  flex-shrink: 0;
}

.ing-image:hover {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.ingredient-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--dark);
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-card p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

/* =====================================================
   COME SI USA
   ===================================================== */
.come-si-usa {
  position: relative;
  background: var(--red);
  overflow: hidden;
  padding: 40px 60px;
}

/* Memphis decos */
.csu-deco {
  position: absolute;
}

.cs1 {
  width: 130px;
  top: 10%;
  left: 2%;
  opacity: .6;
}

.cs2 {
  width: 100px;
  bottom: 8%;
  right: 3%;
  opacity: .6;
  transform: rotate(180deg);
}

.csu-dot {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: .5;
}

.csu-dot.yellow {
  background: var(--yellow);
  opacity: .9;
}

.dot1 {
  width: 12px;
  height: 12px;
  top: 18%;
  right: 8%;
}

.dot2 {
  width: 18px;
  height: 18px;
  top: 50%;
  left: 4%;
}

.dot3 {
  width: 10px;
  height: 10px;
  bottom: 20%;
  left: 18%;
}

.dot4 {
  width: 14px;
  height: 14px;
  bottom: 35%;
  right: 22%;
}

.dot5 {
  width: 14px;
  height: 14px;
  top: 28%;
  right: 28%;
}

.dot6 {
  width: 10px;
  height: 10px;
  bottom: 22%;
  left: 38%;
}

.csu-circle-out {
  position: absolute;
  border-radius: 50%;
  border: 2.5px solid white;
  opacity: .35;
}

.co1 {
  width: 44px;
  height: 44px;
  top: 14%;
  left: 16%;
}

.co2 {
  width: 32px;
  height: 32px;
  bottom: 18%;
  right: 10%;
}

.co3 {
  width: 52px;
  height: 52px;
  top: 45%;
  right: 5%;
  opacity: .2;
}

.csu-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
}

.csu-header-new {
  text-align: left;
  margin-bottom: 5rem;
}

.csu-subtitle {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.csu-title-main {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .04em;
}

.csu-title-main .yellow-text {
  color: var(--yellow);
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  display: inline-block;
  margin-top: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}

.step {
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 30%;
  right: -1.5rem;
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: bold;
  transform: translateY(-50%);
}

.step-num {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step-label {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.step p {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
  font-weight: 300;
}

/* =====================================================
   PRODOTTI
   ===================================================== */
.prodotti {
  position: relative;
  background: var(--cream);
  padding: 40px 60px;
  overflow: hidden;
}

.prod-deco {
  position: absolute;
}

.pd1 {
  width: 120px;
  top: 8%;
  right: 4%;
}

.pd2 {
  width: 36px;
  top: 12%;
  left: 5%;
}

.pd3 {
  width: 30px;
  bottom: 14%;
  right: 8%;
}

.prod-dot1 {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: 20%;
  left: 12%;
}

.prod-dot2 {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  bottom: 18%;
  right: 15%;
}

.prodotti-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  position: relative;
  padding-top: 1rem;
}

/* Decorative yellow circle sits behind the jar, centered */
.product-bg-deco {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  z-index: 0;
  pointer-events: none;
}

.prod-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.prod-zigzag {
  position: absolute;
  width: 180px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* Jar mock placeholder */
.product-jar-placeholder {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  /* Overlaps the circle */
}


.product-jar-fg {
  width: 100%;
  max-width: 500px;
  max-height: 650px;
  object-fit: contain;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.22));
  transition: transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.product-jar-bkg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

.product-card h3 {
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: .03em;
}

.product-subtitle {
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
  margin-top: -0.5rem;
  padding: 0 1.5rem;
}

/* Product Toggle */
.size-toggle {
  display: flex;
  background: #f4f4f4;
  border-radius: 30px;
  padding: 4px;
  margin: 0 auto;
  gap: 4px;
  position: relative;
  z-index: 5;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.toggle-btn {
  background: transparent;
  border: none;
  border-radius: 26px;
  padding: 0.4rem 1.4rem;
  font-family: inherit;
  font-weight: 800;
  color: #888;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.toggle-btn.active {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-price-display {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
}

.product-jar-single {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Base state = 200g */
.jar-dynamic {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0.9) translateY(0px);
}

/* Active large state = 300g */
.jar-large-state {
  transform: scale(1.15) translateY(-5px);
}

/* Hover effects */
.product-card:hover .jar-dynamic {
  transform: scale(0.95) translateY(-10px);
}
.product-card:hover .jar-dynamic.jar-large-state {
  transform: scale(1.2) translateY(-15px);
}

/* =====================================================
   PROMOZIONI
   ===================================================== */
.promozioni {
  position: relative;
  background: var(--red);
  padding: 40px 60px;
  overflow: hidden;
}

.promo-deco {
  position: absolute;
}

.pr1 {
  width: 120px;
  top: 8%;
  right: 3%;
}

.pr2 {
  width: 80px;
  bottom: 10%;
  left: 2%;
  transform: rotate(180deg);
}

.pr3 {
  width: 38px;
  top: 16%;
  left: 5%;
}

.promo-dot {
  position: absolute;
  border-radius: 50%;
}

.pd-a {
  width: 22px;
  height: 22px;
  background: var(--yellow);
  bottom: 22%;
  right: 8%;
}

.pd-b {
  width: 16px;
  height: 16px;
  background: white;
  top: 40%;
  left: 3%;
  opacity: .5;
}

.promozioni-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.promo-card-inner {
  background: var(--cream);
  border-radius: 20px;
  padding: 1.8rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.promo-inner-decos {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
}

.promo-inner-decos svg {
  width: 44px;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1rem;
}

.promo-image {
  width: 55%;
  max-width: 320px;
  min-width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  transition: transform 0.4s var(--transition-bounce);
}

.promo-card:hover .promo-image {
  transform: translateY(-8px) scale(1.05);
}

.promo-info h3 {
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: .6rem;
  line-height: 1.2;
}

.promo-badge {
  background: var(--yellow);
  border-radius: 10px;
  padding: .5rem .8rem;
  display: inline-block;
  text-align: center;
}

.badge-line {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--dark);
  text-transform: uppercase;
}

.badge-discount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.badge-ship {
  font-size: .62rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-top: 3px;
}

/* =====================================================
   CHI SIAMO
   ===================================================== */
.chi-siamo {
  background: var(--cream);
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}

.chi-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.chi-deco-1 { top: 15%; left: 8%; width: 45px; }
.chi-deco-2 { bottom: 10%; right: -2%; width: 120px; opacity: 0.8; }
.chi-deco-3 { bottom: 20%; left: 5%; width: 60px; }

.chi-siamo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.chi-text .section-title {
  text-align: left;
  margin-bottom: 1.4rem;
}

.chi-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 2rem;
  max-width: 460px;
}

.chi-socials {
  display: flex;
  gap: 1.2rem;
  margin-top: -0.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(200, 16, 46, 0.3);
  background: var(--yellow);
  color: var(--dark);
}

.chi-foto {
  width: 100%;
  max-width: 480px;
  height: auto;
  
  /* Polaroid Frame */
  background: #ffffff;
  padding: 15px 15px 70px 15px;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  margin: 0 auto;
  
  object-fit: cover;
  display: block;
  
  transform: rotate(3deg);
  transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s;
  box-sizing: border-box;
}

.chi-siamo-inner:hover .chi-foto {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* =====================================================
   ORDINA
   ===================================================== */
.ordina {
  background: var(--red);
  padding: 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ordina-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.ordina h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.ordina p {
  font-size: 1rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 2.2rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #111;
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 44px;
  filter: brightness(0) invert(1);
}

.footer p {
  font-size: .78rem;
  color: #aaa;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
  .prodotti-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .chi-siamo-inner {
    grid-template-columns: 1fr;
  }

  .chi-text .section-title {
    text-align: center;
  }

  .chi-text p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  /* Mobile nav */
  body {
    padding-bottom: 75px;
  }
  
  .navbar {
    display: none !important;
  }
  
  .mobile-tab-bar {
    display: flex;
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
  }
  .mobile-tab-bar .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: #777;
    text-decoration: none;
    text-align: center;
    gap: 3px;
    padding: 6px 10px;
    border-radius: 14px;
    transition: all 0.3s;
  }
  .mobile-tab-bar .tab-icon {
    width: 20px;
    height: 20px;
  }
  .mobile-tab-bar .tab-item.active {
    background: var(--red);
    color: var(--white);
  }

  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--red);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .nav-links.open {
    max-height: 400px;
    padding: 1rem 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: .85rem 1.5rem;
    font-size: .95rem;
  }

  .nav-cta {
    margin: .4rem auto;
    display: inline-block;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0rem 5% 1rem;
  }

  .hero-text {
    padding-top: 0rem;
    padding-bottom: 0rem;
    align-items: center;
  }
  
  .hero-text h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
    line-height: 1.05;
  }

  .hero-text p {
    font-size: 0.85rem;
    margin: 0 auto 1rem;
  }

  .hero-text .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 0.8rem 2.2rem;
    font-size: 0.95rem;
  }

  .hero-image {
    margin-top: 1rem;
  }

  .hero-jar-wrapper {
    margin-top: 0;
    max-height: 50vh;
  }

  .hero-image img.main-jar-bkg {
    max-height: 50vh;
  }

  .hero-image img {
    width: min(210px, 60vw);
  }

  .hero-memphis .deco:nth-child(odd) {
    display: none;
  }
  .hero-memphis .deco:nth-child(even) {
    transform: scale(0.6);
  }

  .bc1 {
    width: 340px;
    height: 340px;
    right: 50%;
    transform: translate(50%, -50%);
    top: 68%;
  }

  /* Hide zig-zags on mobile */
  .id1, .id2,
  .cs1, .cs2,
  .pd1,
  .pr1, .pr2,
  .deco-zz-alto-sx,
  .deco-zz-basso-sx,
  .deco-zz-dx {
    display: none !important;
  }
  
  .ingredienti-grid {
    gap: 1.6rem;
  }

  .ingredient-card {
    width: auto;
  }
  
  .desk-br {
    display: none;
  }
  
  .ingredient-card p {
    display: none;
  }
  
  .ingredient-card h3 {
    font-size: 0.85rem;
    white-space: nowrap;
    min-height: auto;
    margin-top: 5px;
  }

  .ing-image {
    width: 200px;
    height: 200px;
  }

  .mobile-hide-text {
    display: none;
  }
  .mobile-hide-card {
    display: none !important;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  /* Promos */
  .promozioni-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  
  .promo-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Chi Siamo */
  .chi-deco {
    display: none;
  }
}

@media (max-width: 480px) {
  .ingredient-card {
    width: auto;
  }

  .ingredient-card h3 {
    font-size: 0.85rem;
  }

  .ing-image {
    width: 180px;
    height: 180px;
  }

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

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

/* =====================================================
   FADE-IN ANIMATION
   ===================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

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