/* ═══════════════════════════════════════════════
   landing.css — Landing Festa della Birra
   Masseria Sacramento
═══════════════════════════════════════════════ */

/* ── NAVBAR ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.6rem; transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(20,12,7,0.92); backdrop-filter: blur(12px); border-bottom-color: var(--line); padding: 0.7rem 1.6rem; }
.nav__cta { display: inline-flex; }
@media (max-width: 600px){ .nav__cta.btn { padding: 0.7rem 1.3rem; font-size: 0.72rem; } .lockup__sub { display: none; } }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 7rem 1.5rem 3rem; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(233,169,29,0.22), transparent 55%),
    radial-gradient(90% 70% at 80% 90%, rgba(122,75,39,0.45), transparent 60%),
    linear-gradient(180deg, #160E07 0%, var(--espresso) 45%, #140B06 100%);
}
/* bollicine ambient */
.bubbles { position: absolute; inset: 0; overflow: hidden; }
.bubble { position: absolute; bottom: -40px; border-radius: 50%; background: rgba(246,193,65,0.5); opacity: 0; animation: rise linear infinite; }
@keyframes rise {
  0%   { transform: translateY(0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.7; }
  100% { transform: translateY(-105svh) scale(1); opacity: 0; }
}

.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero__emblem { color: var(--cream); margin: 0 auto 1.6rem; opacity: 0.92; animation: fadeUp .8s ease both; }
.hero__kicker { animation: fadeUp .8s .05s ease both; }
.hero__title {
  font-family: 'Anton', sans-serif; text-transform: uppercase; color: var(--foam);
  font-size: clamp(4.2rem, 19vw, 12rem); line-height: 0.84; letter-spacing: 0.005em;
  margin: 0.6rem 0 0; text-shadow: 0 6px 40px rgba(0,0,0,0.5);
  animation: fadeUp .8s .1s ease both;
}
.hero__title .line2 {
  display: block; color: var(--gold); font-style: italic;
  font-size: clamp(2.7rem, 12vw, 7.6rem); transform: skewX(-6deg);
  text-shadow: 0 6px 30px rgba(233,169,29,0.35); margin-top: -0.04em;
}
.hero__meta {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem;
  flex-wrap: wrap; margin-top: 1.8rem; animation: fadeUp .8s .2s ease both;
}
.hero__date {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  letter-spacing: 0.04em; color: var(--cream); display: flex; align-items: center; gap: 0.7rem;
}
.hero__date b { color: var(--gold); }
.hero__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* coaster prezzo */
.coaster {
  position: relative; width: 130px; height: 130px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; transform: rotate(-8deg);
  background: radial-gradient(circle at 50% 38%, var(--gold-bright), var(--gold) 62%, var(--gold-deep));
  box-shadow: 0 14px 40px rgba(233,169,29,0.35); flex-shrink: 0;
  animation: fadeUp .8s .25s ease both;
}
.coaster::before { content:''; position:absolute; inset:8px; border-radius:50%; border:2px dashed rgba(28,18,11,0.35); }
.coaster__price { font-family: 'Anton', sans-serif; font-size: 2.7rem; color: var(--espresso); line-height: 0.8; }
.coaster__label { font-family: 'Oswald', sans-serif; font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--espresso); font-weight: 600; margin-top: 3px; }

.hero__ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; margin-top: 2.4rem; animation: fadeUp .8s .3s ease both; }
.hero__avail {
  margin-top: 1.6rem; font-family: 'Oswald', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.5rem; animation: fadeUp .8s .35s ease both;
}
.hero__avail b { color: var(--gold); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(91,168,107,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(91,168,107,0.5);} 70%{box-shadow:0 0 0 8px rgba(91,168,107,0);} 100%{box-shadow:0 0 0 0 rgba(91,168,107,0);} }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 1.4rem; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(8px);} }

/* ── MARQUEE STRIP ── */
.marquee { background: var(--gold); color: var(--espresso); overflow: hidden; padding: 0.7rem 0; border-top: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); }
.marquee__track { display: flex; gap: 2.5rem; white-space: nowrap; animation: scroll-x 26s linear infinite; width: max-content; }
.marquee span { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: '·'; font-size: 1.4rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ── SECTION base ── */
.section { padding: 6rem 0; }
.section--malt { background: var(--malt); }
.sec-head { max-width: 640px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.02; color: var(--foam); margin: 0.6rem 0 0; letter-spacing: 0.01em; }
.sec-head h2 em { font-style: italic; color: var(--gold); }
.sec-head p { color: var(--muted); margin-top: 1rem; font-size: 1rem; }

/* ── COSA TROVERAI ── */
.finds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.find {
  background: linear-gradient(160deg, var(--malt-2), var(--malt));
  border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem 1.4rem;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.find:hover { transform: translateY(-5px); border-color: rgba(233,169,29,0.5); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.find__ico { font-size: 2.2rem; line-height: 1; }
.find h3 { font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.04em; margin: 1rem 0 0.3rem; color: var(--foam); }
.find p { font-size: 0.85rem; color: var(--muted); }
.finds-extra { margin-top: 1.4rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cream); font-size: 1rem; }
.finds-extra .gold { font-weight: 600; }
@media (max-width: 860px){ .finds { grid-template-columns: 1fr 1fr; } }

/* ── PREZZI / TARIFFE ── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.tier {
  position: relative; background: var(--malt); border: 1px solid var(--line);
  border-radius: 20px; padding: 2.2rem 1.6rem; text-align: center; overflow: hidden;
}
.tier--feature { border-color: var(--gold); background: linear-gradient(180deg, rgba(233,169,29,0.12), var(--malt) 60%); }
.tier__flag { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--espresso); font-family: 'Oswald'; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; padding: 0.3rem 1rem; border-radius: 0 0 10px 10px; }
.tier h3 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.1rem; color: var(--foam); margin-top: 0.4rem; }
.tier__age { font-size: 0.8rem; color: var(--muted); }
.tier__price { font-family: 'Anton', sans-serif; font-size: 3.4rem; color: var(--gold); margin: 0.8rem 0 0.2rem; line-height: 0.9; }
.tier__price small { font-size: 1.1rem; }
.tier__note { font-size: 0.84rem; color: var(--muted); margin-top: 0.6rem; min-height: 2.4em; }
@media (max-width: 760px){ .tiers { grid-template-columns: 1fr; } .tier__note { min-height: 0; } }

/* ═══ BOOKING WIDGET ═══ */
#prenota { background: linear-gradient(180deg, var(--malt) 0%, #1a100a 100%); }
.booking { max-width: 920px; margin: 3rem auto 0; }
.booking__grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 1.4rem; align-items: start; }
@media (max-width: 820px){ .booking__grid { grid-template-columns: 1fr; } }

.bcard { background: var(--malt); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; }
.bcard__step { font-family: 'Oswald'; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.bcard h3 { font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 1.25rem; color: var(--foam); margin: 0.3rem 0 1.2rem; letter-spacing: 0.02em; }

/* giorno */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.6rem; }
.day-opt {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem; text-align: center;
  cursor: pointer; transition: all .18s; background: rgba(244,231,210,0.03);
}
.day-opt:hover { border-color: var(--line-strong); }
.day-opt.active { border-color: var(--gold); background: rgba(233,169,29,0.1); }
.day-opt__d { font-family: 'Anton'; font-size: 1.9rem; color: var(--foam); line-height: 1; }
.day-opt.active .day-opt__d { color: var(--gold); }
.day-opt__m { font-family: 'Oswald'; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }

/* stepper quantità */
.qty { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.qty:last-of-type { border-bottom: none; }
.qty__info { display: flex; flex-direction: column; }
.qty__name { font-family: 'Oswald'; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--foam); font-size: 1rem; }
.qty__desc { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.qty__price { color: var(--gold); font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 0.4rem; }
.stepper button {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  font-size: 1.3rem; color: var(--cream); display: grid; place-content: center; line-height: 0;
  transition: all .15s; flex-shrink: 0;
}
.stepper button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper__val { width: 38px; text-align: center; font-family: 'Oswald'; font-size: 1.3rem; font-weight: 600; color: var(--foam); }

/* form sub-card */
.bform { margin-top: 0.4rem; }

/* ── RIEPILOGO + PINTA (signature) ── */
.summary {
  position: sticky; top: 90px;
  background: linear-gradient(180deg, var(--malt-2), var(--malt));
  border: 1px solid var(--line-strong); border-radius: 22px; padding: 1.8rem; overflow: hidden;
}
.summary h4 { font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }

.pint-wrap { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.2rem; }
.pint { width: 78px; height: 110px; flex-shrink: 0; }
.pint .glass { fill: none; stroke: var(--line-strong); stroke-width: 2.5; }
.pint .beer { fill: url(#beerGrad); transition: y .5s cubic-bezier(.2,.9,.2,1), height .5s cubic-bezier(.2,.9,.2,1); }
.pint .foam-top { fill: var(--foam); transition: y .5s cubic-bezier(.2,.9,.2,1); }
.pint .bub { fill: rgba(255,255,255,0.55); animation: bubUp 2.4s linear infinite; }
.pint .bub:nth-child(2){ animation-delay: .8s; } .pint .bub:nth-child(3){ animation-delay: 1.5s; }
@keyframes bubUp { 0%{ transform: translateY(0); opacity:0; } 20%{opacity:.8;} 100%{ transform: translateY(-46px); opacity: 0; } }
.pint-tot { display: flex; flex-direction: column; }
.pint-tot__people { font-family: 'Oswald'; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pint-tot__amt { font-family: 'Anton'; font-size: 2.8rem; color: var(--gold); line-height: 0.9; }

.sum-rows { border-top: 1px solid var(--line); padding-top: 1rem; }
.sum-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--cream); padding: 0.3rem 0; }
.sum-row span:last-child { color: var(--foam); font-weight: 600; }
.sum-row--muted span { color: var(--muted); }
.sum-note { font-size: 0.74rem; color: var(--muted); margin-top: 0.8rem; line-height: 1.5; }

.pay-err { color: var(--red); font-size: 0.84rem; margin: 0.6rem 0 0; min-height: 1rem; }
.cap-warn { background: rgba(217,105,76,0.12); border: 1px solid rgba(217,105,76,0.4); color: #f3b8a6; border-radius: 12px; padding: 0.9rem 1rem; font-size: 0.86rem; margin-top: 1rem; }

/* ── INFO PRATICHE ── */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 3rem; }
.info-grid .info-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
@media (max-width: 760px){ .info-grid { grid-template-columns: 1fr; } .info-grid .info-card:last-child:nth-child(odd) { max-width: 100%; grid-column: auto; } }
.info-card { background: var(--malt); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.7rem; }
.info-card h3 { font-family: 'Oswald'; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; }
.info-card p, .info-card li { font-size: 0.92rem; color: var(--cream); }
.info-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.4rem; }
.info-card li { display: flex; gap: 0.6rem; }
.info-card li::before { content: '✦'; color: var(--gold); }

/* ── FOOTER ── */
.foot { background: var(--terra-dark); border-top: 4px solid var(--gold); }
.foot__main { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.4rem 0; }
.foot__contact { display: flex; gap: 2rem; flex-wrap: wrap; }
.foot__item { font-size: 0.92rem; color: var(--cream); }
.foot__item b { display: block; font-family: 'Oswald'; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; font-weight: 600; }
.foot__item a:hover { color: var(--gold); }
.foot__bottom { border-top: 1px solid rgba(244,231,210,0.12); padding: 1rem 0; font-size: 0.76rem; color: rgba(244,231,210,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
.foot__bottom a:hover { color: var(--gold); }

/* ── mobile tweaks ── */
@media (max-width: 600px){
  .section { padding: 4.2rem 0; }
  .hero__meta { gap: 1rem; }
  .coaster { width: 104px; height: 104px; }
  .coaster__price { font-size: 2.1rem; }
}

/* ── SEZIONE REGOLE ── */
.section--rules {
  background: linear-gradient(180deg, #1a100a 0%, var(--malt) 100%);
  position: relative;
  overflow: hidden;
}
.section--rules::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 100%, rgba(233,169,29,0.08), transparent 70%);
  pointer-events: none;
}
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  margin-top: 3rem;
}
@media (max-width: 860px) { .rules-grid { grid-template-columns: 1fr; } }

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--malt);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  transition: border-color .2s, transform .2s;
}
.rule-item:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.rule-item--gold {
  border-color: rgba(233,169,29,0.5);
  background: linear-gradient(160deg, rgba(233,169,29,0.1), var(--malt) 60%);
}
.rule-item--gold:hover { border-color: var(--gold); }

.rule-item__ico {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.rule-item__txt h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--foam);
  margin-bottom: 0.4rem;
}
.rule-item--gold .rule-item__txt h3 { color: var(--gold); }
.rule-item__txt p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

/* ── TICKET ADULTI: cosa include ── */
.tier__includes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  background: rgba(233,169,29,0.08);
  border: 1px solid rgba(233,169,29,0.25);
  border-radius: 12px;
}
.tier__includes span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── LOGO NAVBAR ── */
.nav-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity .2s;
}
.nav-logo:hover { opacity: 0.85; }

/* ── LOGO FOOTER ── */
.foot-logo {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity .2s;
}
.foot-logo:hover { opacity: 1; }

@media (max-width: 600px) {
  .nav-logo { height: 34px; }
}

/* ── LOGO HERO ── */
.hero-logo {
  height: 120px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}
@media (max-width: 600px) { .hero-logo { height: 80px; } }
