/* ============================================================
   Conero Sea — Home Page (redesign)
   pages/home.css

   1. Hero (centrato, full viewport)
   2. Orari strip
   3. Marquee
   4. Tours
   5. Promise strip
   6. Reviews
   7. Booking section
   8. Mobile overrides
   ============================================================ */


/* ─────────────────────────────────────
   1. HERO
───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: clip;
  background:
    radial-gradient(ellipse at 22% 58%, #1e1e8a 0%, transparent 62%),
    radial-gradient(ellipse at 78% 18%, #14135e 0%, transparent 52%),
    radial-gradient(ellipse at 55% 85%, #0a0a45 0%, transparent 40%),
    var(--deep);
}
/* hero media: foto aerea (sotto, LCP) + video aereo (sopra, fade-in) + overlay */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-video { opacity: 0; transition: opacity 1.1s ease; }
.hero-video.on { opacity: 1; }
.hero-media-ov {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 95% at 50% 40%, rgba(2,2,15,.32) 0%, rgba(2,2,15,.64) 100%),
    linear-gradient(0deg, var(--deep) 0%, rgba(2,2,15,.5) 20%, rgba(2,2,15,.28) 48%, rgba(2,2,15,.55) 100%);
}
#wcanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.stars-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow-orb {
  position: absolute;
  width: clamp(280px,55vw,800px); height: clamp(280px,55vw,800px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,53,168,.16) 0%, transparent 70%);
  top: 40%; left: 50%; transform: translate(-50%,-50%);
  animation: gO 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gO {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .7; }
  50%     { transform: translate(-50%,-50%) scale(1.14); opacity: 1; }
}
.hero-cliff { position: absolute; bottom: 0; left: 0; right: 0; pointer-events: none; }
.hero-cliff svg { width: 100%; display: block; }
.hero-boat {
  position: absolute; bottom: 24%; right: 5%;
  width: clamp(80px,13vw,200px); opacity: .1;
  animation: bF 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bF {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50%     { transform: translateY(-14px) rotate(1.5deg); }
}

/* hero centered copy */
.hero-center {
  position: relative; z-index: 10;
  text-align: center;
  max-width: 820px;
  padding: clamp(1rem,3vw,2rem) clamp(1.2rem,5vw,4rem)
           clamp(4rem,8vw,5rem);
}

/* pill */
.h-pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(235,190,66,.45);
  background: rgba(235,190,66,.1);
  padding: 7px 18px; border-radius: 100px;
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold3); margin-bottom: 1.8rem;
  animation: fU .7s ease .1s both;
}
.h-pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: pD 2.2s infinite;
}
@keyframes pD {
  0%,100% { box-shadow: 0 0 0 0 rgba(229,179,64,.6); }
  50%     { box-shadow: 0 0 0 8px rgba(229,179,64,0); }
}

/* title */
.h-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem,8vw,8rem);
  font-weight: 300; line-height: .92; letter-spacing: -.02em;
  animation: fU .9s ease .25s both;
}
.h-title .hl {
  display: block; font-style: italic; font-weight: 400;
  background: linear-gradient(125deg, #e8e8ff 0%, var(--per) 38%, #6868d8 75%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* separator */
.h-sep {
  width: 1px; height: 52px; margin: 2rem auto;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  animation: fU .7s ease .45s both;
}

/* subtitle */
.h-sub {
  font-size: clamp(.7rem,1.4vw,.82rem); font-weight: 300;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.58); line-height: 2.2;
  margin: 0 auto 2.5rem;
  animation: fU .7s ease .55s both;
}

/* CTA buttons */
.h-btns {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  animation: fU .7s ease .7s both;
}

/* NB: gli stili del badge ".h-lang" (guida in inglese, cliccabile per chiamare)
   sono in assets/css/style.css cos&igrave; da essere disponibili su tutte le pagine */

/* trust bar */
.h-trust {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .5rem; margin-top: 2.8rem;
  animation: fU .7s ease .9s both;
}
.h-trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05);
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.82); cursor: default;
  transition: border-color .3s, color .3s, background .3s;
}
.h-trust-item::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--per); flex-shrink: 0;
}
.h-trust-item:hover { border-color: rgba(136,136,224,.6); color: #fff; background: rgba(82,82,204,.12); }

/* scroll indicator */
.scroll-ind {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  animation: fU .7s ease 1.3s both; z-index: 10;
}
.scroll-ind span { font-size: .5rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.2); }
.scroll-bar {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: sD 2.5s ease-in-out infinite;
}
@keyframes sD {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ─────────────────────────────────────
   2. ORARI STRIP
───────────────────────────────────── */
.orari {
  background: var(--ind);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow-x: clip;
}
.orari-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap;
  padding: 0 clamp(1rem,5vw,4rem);
}
.orari-label {
  font-size: .56rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--per); padding: 1.3rem 1.8rem 1.3rem 0;
  border-right: 1px solid var(--gbr); margin-right: 1.8rem; flex-shrink: 0;
}
.orari-slots { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.1rem 0; flex: 1; }
.slot {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.06); border: 1px solid var(--gbr);
  padding: 7px 14px; border-radius: 100px;
  font-size: .64rem; letter-spacing: .1em; color: rgba(255,255,255,.8);
  transition: background .3s, border-color .3s, color .3s;
  cursor: default; white-space: nowrap;
}
.slot:hover { background: rgba(229,179,64,.1); border-color: rgba(229,179,64,.4); color: var(--gold2); }
.slot-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.orari-cta {
  margin-left: auto; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink); padding: 9px 20px; border-radius: var(--r);
  font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  transition: box-shadow .3s, transform .2s;
  box-shadow: 0 2px 14px rgba(229,179,64,.2);
}
.orari-cta:hover { box-shadow: 0 4px 24px rgba(229,179,64,.45); transform: translateY(-1px); }

@media (max-width: 700px) { .orari-label { display: none; } .orari-cta { display: none; } }
@media (max-width: 480px) { .slot { font-size: .58rem; padding: 6px 10px; } }


/* ─────────────────────────────────────
   3. MARQUEE
───────────────────────────────────── */
.mq {
  overflow: hidden;
  background: rgba(28,28,110,.22);
  padding: .75rem 0;
  border-bottom: 1px solid var(--gbr);
}
.mq-t {
  display: flex; gap: 2.5rem; white-space: nowrap;
  animation: mRun 32s linear infinite;
  will-change: transform;
}
.mq-t:hover { animation-play-state: paused; }
.mq-t span { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.5); flex-shrink: 0; }
.mq-t em { color: var(--gold); font-style: normal; font-size: .45rem; }
@keyframes mRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ─────────────────────────────────────
   4. TOURS
───────────────────────────────────── */
#gite {
  background: linear-gradient(180deg, var(--deep) 0%, var(--ink) 100%);
  position: relative; overflow: clip;
}
#gite::before {
  content: 'SEA'; position: absolute; right: -1rem; bottom: -1rem;
  font-family: 'Cormorant Garamond', serif; font-size: 22vw; font-style: italic;
  color: rgba(255,255,255,.012); user-select: none; pointer-events: none; line-height: 1;
}
.tours-inner { position: relative; z-index: 1; }
.tours-h {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem,5vw,4rem);
}
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }

.tcard {
  position: relative; overflow: hidden; aspect-ratio: 9/14; cursor: pointer;
  background: var(--navy);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s cubic-bezier(.16,1,.3,1);
}
.tcard:hover, .tcard:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px -18px rgba(2,2,15,.75), 0 0 0 1px rgba(229,179,64,.3);
}
.tcard:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: -2px;
}
.tcard-bg { position: absolute; inset: 0; transition: transform .75s cubic-bezier(.25,.46,.45,.94); }
.tcard-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard:hover .tcard-bg, .tcard:focus-within .tcard-bg { transform: scale(1.06); }
.tcard-ov {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(3,3,22,.94) 0%, rgba(3,3,22,.4) 35%, rgba(3,3,22,.05) 60%, transparent 100%);
}
.tcard-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column;
}
.tcard-tag {
  display: inline-block; margin-bottom: .8rem; align-self: flex-start;
  font-size: .5rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(229,179,64,.3); padding: 4px 12px; border-radius: 100px;
  background: rgba(229,179,64,.06);
}
.tcard-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem,2.8vw,2.2rem);
  font-weight: 400; line-height: 1.1; margin-bottom: .6rem; color: var(--txt-h);
}
.tcard-desc {
  font-size: .72rem; color: rgba(255,255,255,.58); line-height: 1.85;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s cubic-bezier(.16,1,.3,1), opacity .4s;
}
.tcard:hover .tcard-desc { max-height: 80px; opacity: 1; }

/* meta pills */
.tcard-meta {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: .8rem;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s cubic-bezier(.16,1,.3,1), opacity .4s .05s;
}
.tcard:hover .tcard-meta { max-height: 40px; opacity: 1; }
.tcard-pill {
  font-size: .5rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
}

/* foot */
.tcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem;
}
.tcard-price {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
  color: var(--gold2); line-height: 1; font-weight: 300;
}
.tcard-price sub {
  font-family: 'DM Sans'; font-size: .56rem; color: rgba(255,255,255,.3);
  font-style: normal; vertical-align: baseline;
}
/* Variante "Su preventivo": testo invece di numero */
.tcard-price-quote {
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: .01em;
}
.tcard-cta {
  font-size: .56rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold2); border-bottom: 1px solid rgba(229,179,64,.3);
  padding-bottom: 2px;
  opacity: 0; transform: translateX(8px);
  transition: opacity .35s, transform .35s, color .3s, border-color .3s;
}
.tcard:hover .tcard-cta { opacity: 1; transform: translateX(0); }
.tcard-cta:hover { color: var(--gold3); border-color: var(--gold3); }

/* touch devices: always show */
@media (hover: none) {
  .tcard-desc { max-height: 80px; opacity: 1; }
  .tcard-meta { max-height: 40px; opacity: 1; }
  .tcard-cta  { opacity: 1; transform: translateX(0); }
}


/* tours info strip */
.tours-info {
  margin-top: 2rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
  padding: 1rem 1.6rem;
}
.tours-info-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; flex-wrap: wrap;
}
.tours-info-item {
  font-size: .68rem; letter-spacing: .08em;
  color: rgba(255,255,255,.62);
}
.tours-info-item a {
  color: var(--gold2);
  border-bottom: 1px solid rgba(229,179,64,.3);
  transition: border-color .3s;
}
.tours-info-item a:hover { border-color: var(--gold2); }
.tours-info-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(229,179,64,.4); flex-shrink: 0;
}

@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) {
  .tgrid { grid-template-columns: 1fr; }
  .tcard { aspect-ratio: 9/12; }
  .tcard-body { padding: 1.3rem; }
  .tours-info { padding: .8rem 1rem; }
  .tours-info-inner { gap: .6rem; }
  .tours-info-item { font-size: .62rem; }
  .tours-info-sep { width: 3px; height: 3px; }
}


/* ─────────────────────────────────────
   5. PROMISE STRIP
───────────────────────────────────── */
.promise {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: linear-gradient(135deg, var(--ind), #1a1a6a);
  border-top: 1px solid var(--gbr); border-bottom: 1px solid var(--gbr);
}
.prom {
  padding: 2rem 1.4rem; text-align: center;
  border-right: 1px solid var(--gbr);
  position: relative; overflow: hidden; cursor: default;
  transition: background .3s;
}
.prom:last-child { border-right: none; }
.prom:hover { background: rgba(255,255,255,.055); }
.prom::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .45s;
}
.prom:hover::after { transform: scaleX(1); }
.prom-ico { font-size: 1.4rem; margin-bottom: .8rem; display: block; opacity: .72; transition: opacity .35s, transform .45s cubic-bezier(.16,1,.3,1); }
.prom:hover .prom-ico { opacity: 1; transform: translateY(-3px); }
.prom-t { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--white); margin-bottom: .4rem; font-weight: 400; }
.prom-d { font-size: .63rem; letter-spacing: .04em; color: rgba(255,255,255,.52); line-height: 1.7; }

@media (max-width: 700px) {
  .promise { grid-template-columns: 1fr 1fr; }
  .prom:nth-child(2) { border-right: none; }
  .prom:nth-child(3) { border-right: 1px solid var(--gbr); }
}
@media (max-width: 400px) { .prom { padding: 1.4rem 1rem; } }


/* ─────────────────────────────────────
   6. REVIEWS
───────────────────────────────────── */
.sec-compact { padding-top: clamp(2.5rem,6vw,6rem); padding-bottom: clamp(2.5rem,6vw,6rem); }

#reviews { background: radial-gradient(ellipse at 50% 0%, rgba(31,31,128,.18) 0%, var(--ink) 52%); }
.reviews-h { text-align: center; margin-bottom: 3rem; }
.stars-row { display: flex; justify-content: center; gap: 4px; margin-bottom: .7rem; }
.star-ic { color: var(--gold); font-size: 1rem; }
.reviews-score {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem;
  letter-spacing: .12em; color: rgba(255,255,255,.6); margin-bottom: 1.2rem;
}
.reviews-g { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.rev-card {
  background: rgba(14,14,72,.32); border: 1px solid var(--gbr);
  padding: 1.8rem 1.6rem; transition: background .3s, border-color .3s; cursor: default;
}
.rev-card:hover { background: rgba(31,31,128,.22); border-color: rgba(82,82,204,.24); }
.rev-stars { display: flex; gap: 3px; margin-bottom: .9rem; }
.rev-stars span { color: var(--gold); font-size: .8rem; }
.rev-text {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.05rem; line-height: 1.65; color: rgba(255,255,255,.78);
  margin-bottom: 1.1rem; font-weight: 300;
}
.rev-author { display: flex; align-items: baseline; gap: .6rem; }
.rev-name { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.rev-date { font-size: .54rem; color: rgba(255,255,255,.22); }
.reviews-cta { text-align: center; margin-top: 2rem; }

@media (max-width: 820px) { .reviews-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .reviews-g { grid-template-columns: 1fr; } }


/* ─────────────────────────────────────
   7. BOOKING SECTION
───────────────────────────────────── */
.book-sec {
  background:
    radial-gradient(ellipse at 30% 80%, rgba(26,26,114,.3) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(20,19,94,.25) 0%, transparent 50%),
    var(--deep);
  border-top: 1px solid var(--gbr);
}
.book-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem,6vw,5rem); align-items: start;
}

/* left: info */
.book-desc {
  font-size: .88rem; line-height: 1.95; color: rgba(255,255,255,.6);
  font-weight: 300; margin-bottom: 2rem;
}
.book-channels {
  display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem;
}
.book-ch {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--gbr); border-radius: var(--r);
  background: rgba(255,255,255,.03);
  transition: border-color .3s, background .3s, transform .3s, box-shadow .3s;
}
.book-ch:hover {
  border-color: rgba(82,82,204,.4); background: rgba(82,82,204,.06);
  transform: translateY(-3px); box-shadow: 0 12px 28px -14px rgba(82,82,204,.5);
}
.book-ch-wa:hover {
  border-color: rgba(37,211,102,.4); background: rgba(37,211,102,.06);
  box-shadow: 0 12px 28px -14px rgba(37,211,102,.45);
}
.book-ch-ico {
  font-size: 1.3rem; color: var(--per); flex-shrink: 0;
  width: 28px; display: flex; align-items: center; justify-content: center;
}
.book-ch-wa .book-ch-ico { color: #25D366; }
.book-ch-lbl {
  display: block; font-size: .56rem; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.book-ch-val {
  display: block; font-size: .78rem; color: rgba(255,255,255,.82);
  letter-spacing: .04em; margin-top: 2px;
}

/* trust badges */
.book-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.book-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: .58rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--gbr); background: rgba(255,255,255,.03);
}
.book-badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* right: form card */
.book-card {
  background: rgba(5,5,30,.72);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(24px) saturate(1.4);
  padding: 2.2rem 2rem;
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.bform { display: flex; flex-direction: column; gap: 14px; }
.bform-head {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300; color: var(--txt-h);
  margin-bottom: .3rem; line-height: 1.2;
}
.bform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* tipo di richiesta — toggle segmentato (info vs prenotazione) */
.bf-type { display: flex; flex-direction: column; gap: 5px; }
.bf-type-lbl {
  font-size: .54rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.48);
}
.bf-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r);
  padding: 4px;
}
.bf-seg input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bf-seg label {
  text-align: center; cursor: pointer;
  padding: 11px 8px; border-radius: calc(var(--r) - 2px);
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin: 0;
  transition: background .25s, color .25s;
}
.bf-seg input:checked + label {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink); font-weight: 600;
}
/* "Info / disponibilità" selezionato = blu (coerente col pulsante);
   "Voglio prenotare" resta oro (azione forte) */
#f-tipo-info:checked + label {
  background: linear-gradient(135deg, var(--mid), var(--vi));
  color: var(--white);
}
.bf-seg input:focus-visible + label { outline: 2px solid rgba(82,82,204,.8); outline-offset: 1px; }

/* form fields */
.bfg { display: flex; flex-direction: column; gap: 5px; }
.bfg label {
  font-size: .54rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.48);
}
.bfg input, .bfg select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r);
  padding: 13px 14px; color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; /* prevent iOS zoom */
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s, background .3s;
}
.bfg select option { background: #0d0d46; color: var(--white); }
.bfg input:focus, .bfg select:focus {
  border-color: rgba(82,82,204,.7);
  background: rgba(82,82,204,.07);
}
.bfg input::placeholder { color: rgba(255,255,255,.3); }

/* campo data: calendario nativo in tema scuro + icona dorata, click ovunque apre */
.bfg input[type="date"] {
  color-scheme: dark;            /* popup calendario e icona in tema scuro */
  cursor: pointer;
}
.bfg input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer; opacity: .7;
  /* tinta dorata coerente col brand */
  filter: invert(72%) sepia(48%) saturate(560%) hue-rotate(2deg) brightness(95%);
  transition: opacity .3s;
}
.bfg input[type="date"]:hover::-webkit-calendar-picker-indicator,
.bfg input[type="date"]:focus::-webkit-calendar-picker-indicator { opacity: 1; }
/* segnaposto data (quando vuoto) un filo più leggibile */
.bfg input[type="date"]:invalid,
.bfg input[type="date"]:not(:focus):placeholder-shown { color: rgba(255,255,255,.55); }

/* submit */
.bform-submit {
  width: 100%; padding: 16px; border: none; border-radius: var(--r);
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink); font-family: 'DM Sans', sans-serif;
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  cursor: pointer; margin-top: .3rem;
  box-shadow: 0 4px 22px rgba(229,179,64,.22);
  transition: transform .25s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.bform-submit:hover  { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(229,179,64,.42); }
.bform-submit:active { transform: translateY(0); }
/* variante "Info / disponibilità": tono blu-viola (sea) per distinguerla dalla
   prenotazione vera e propria — gold = azione forte, blu = richiesta info */
.bform-submit.is-info {
  background: linear-gradient(135deg, var(--mid), var(--vi));
  color: var(--white);
  box-shadow: 0 4px 22px rgba(82,82,204,.26);
}
.bform-submit.is-info:hover { box-shadow: 0 8px 32px rgba(82,82,204,.46); }
.bform-note {
  margin: .7rem 0 0; text-align: center;
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

#formMsg {
  display: none; text-align: center; font-size: .72rem;
  padding: 10px; border-radius: 2px; margin-top: 4px;
}
.hp-trap {
  position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden;
}


/* ─────────────────────────────────────
   8. MOBILE OVERRIDES
───────────────────────────────────── */

/* hero mobile */
@media (max-width: 640px) {
  .h-title { font-size: clamp(2.5rem, 12vw, 4rem); }
  .h-sub { letter-spacing: .14em; }
  .h-trust { gap: .4rem; }
  .h-trust-item { font-size: .5rem; letter-spacing: .12em; padding: 7px 12px; }
  .h-btns .btn-p, .h-btns .btn-g {
    width: 100%; justify-content: center; padding: 16px;
  }
}
@media (max-width: 380px) {
  .h-pill { font-size: .5rem; letter-spacing: .18em; padding: 5px 12px; }
  .h-trust { gap: .4rem; }
}

/* booking section mobile */
@media (max-width: 860px) {
  .book-wrap { grid-template-columns: 1fr; }
  .book-card { padding: 1.6rem 1.4rem; }
  .book-badges { margin-bottom: 1rem; }
}
@media (max-width: 540px) {
  .bform-row { grid-template-columns: 1fr; }
  .book-ch { padding: 12px 14px; }
  .book-badges { gap: .4rem; }
  .book-badge { font-size: .52rem; padding: 5px 10px; }
}

/* reviews mobile safe area for CTA bar */
@media (max-width: 860px) {
  .book-sec { padding-bottom: calc(3.5rem + 80px); }
  .rev-card { padding: 1.5rem 1.3rem; }
}


/* ─────────────────────────────────────
   9. PRESENTAZIONE SKIPPER (video verticale 9:16, con audio)
───────────────────────────────────── */
.skip-sec {
  background:
    radial-gradient(ellipse at 78% 22%, rgba(26,26,114,.32) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 85%, rgba(20,19,94,.22) 0%, transparent 50%),
    var(--deep);
  border-top: 1px solid var(--gbr);
}
.skip-wrap {
  display: grid;
  grid-template-columns: 1.05fr minmax(300px, 360px);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

/* colonna testo */
.skip-desc {
  font-size: .88rem; line-height: 1.95; color: rgba(255,255,255,.6);
  font-weight: 300; margin-bottom: 1.6rem;
}
.skip-list {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: flex; flex-direction: column; gap: .7rem;
}
.skip-list li {
  position: relative; padding-left: 1.7rem;
  font-size: .78rem; letter-spacing: .02em; line-height: 1.6;
  color: rgba(255,255,255,.74);
}
.skip-list li::before {
  content: ''; position: absolute; left: 0; top: .35em;
  width: 8px; height: 8px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 0 12px rgba(229,179,64,.4);
}

/* card video verticale */
.skip-video { margin: 0; }
.skip-frame {
  position: relative;
  width: 100%; max-width: 360px; margin-inline: auto;
  aspect-ratio: 478 / 850;
  border-radius: 8px; overflow: hidden;
  background: #04040e;
  border: 1px solid var(--gbr);
  box-shadow: 0 36px 90px -34px rgba(0,0,0,.78), 0 0 0 1px rgba(255,255,255,.03);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s, border-color .4s;
}
.skip-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(229,179,64,.4);
  box-shadow: 0 44px 104px -34px rgba(0,0,0,.82), 0 0 0 1px rgba(229,179,64,.18);
}
.skip-vid, .skip-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.skip-vid { z-index: 0; background: #04040e; }
.skip-poster { z-index: 1; transition: opacity .45s ease; }
.skip-ov {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(0,0,0,.12), transparent 60%),
    linear-gradient(to top, rgba(2,2,15,.6) 0%, transparent 32%, transparent 70%, rgba(2,2,15,.28) 100%);
  transition: opacity .4s ease;
}

/* badge "Audio attivo" + durata */
.skip-badge, .skip-dur {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .56rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
  background: rgba(4,4,18,.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px; padding: 5px 10px;
  transition: opacity .35s ease;
}
.skip-badge { top: 12px; left: 12px; color: var(--gold3); border-color: rgba(229,179,64,.32); }
.skip-badge svg { color: var(--gold2); }
.skip-dur { bottom: 12px; right: 12px; font-variant-numeric: tabular-nums; }

/* pulsante play */
.skip-play {
  position: absolute; z-index: 3; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%;
  border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 10px 36px rgba(229,179,64,.5);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.skip-play::before {
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%; border: 1px solid rgba(229,179,64,.5);
  animation: skipPulse 2.6s ease-out infinite;
}
@keyframes skipPulse {
  0%   { transform: scale(.82); opacity: .7; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}
.skip-play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 4px; }
.skip-frame:hover .skip-play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 14px 46px rgba(229,179,64,.62); }

/* stato in riproduzione: via poster e overlay, restano i controlli nativi */
.skip-frame.playing { cursor: default; }
.skip-frame.playing .skip-poster,
.skip-frame.playing .skip-ov,
.skip-frame.playing .skip-play,
.skip-frame.playing .skip-badge,
.skip-frame.playing .skip-dur { opacity: 0; pointer-events: none; }
.skip-frame.playing .skip-play { display: none; }
.skip-frame.playing .skip-vid { z-index: 4; }

.skip-cap {
  margin-top: 1rem; text-align: center;
  font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--txt-muted);
}

@media (prefers-reduced-motion: reduce) {
  .skip-play::before { animation: none; }
}

/* mobile */
@media (max-width: 860px) {
  .skip-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .skip-info { text-align: center; }
  .skip-list { display: inline-flex; text-align: left; }
  .skip-frame { max-width: 300px; }
}
@media (max-width: 400px) {
  .skip-frame { max-width: 270px; }
  .skip-play { width: 60px; height: 60px; }
}
