:root {
  --accent: #ee2b5b;            /* rosa/magenta brand TriBYou */
  --accent-d: #d11f49;
  --ink: #1c2433;
  --muted: #67707e;
  --line: #ececf1;
  --bg: #ffffff;
  --panel: #ffffff;
  --radius: 18px;
  --display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); line-height: 1.55;
  background:
    radial-gradient(900px 520px at -5% -8%, rgba(238,43,91,.10), transparent 60%),
    radial-gradient(820px 520px at 105% 8%, rgba(20,180,160,.10), transparent 60%),
    #ffffff;
  background-attachment: fixed;
}
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 12px; }
.brand { font-family: var(--display); font-size: 1.45rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.brand small { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 1px; }

/* Hero — chiaro, su sfondo pastello, headline scura, CTA rosa */
.hero { padding: 30px 4px 8px; position: relative; }
.hero h1 { color: var(--ink); font-size: clamp(2rem, 5.2vw, 3.4rem); max-width: 12ch; }
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 620px; margin: 0; }
.hero .accent { color: var(--accent); }

.grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 26px; align-items: start; margin-top: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 40px rgba(28,36,51,.06); }
.card h2 { font-size: 1.4rem; } .card .lead { color: var(--muted); margin-top: -.2em; }

label { display: block; font-size: .82rem; font-weight: 600; color: #3a4250; margin-bottom: 5px; }
input, select, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fcfcfd; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 32%, transparent); border-color: var(--accent); }
.field { margin-bottom: 15px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.checks { display: flex; gap: 22px; margin: 4px 0 16px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); margin: 0; }
.checks input { width: auto; }

/* Bottoni a pillola */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s, box-shadow .15s; box-shadow: 0 8px 22px rgba(238,43,91,.28); }
.btn:hover { background: var(--accent-d); }
.btn:active { transform: translateY(1px); }
.btn.full { width: 100%; font-size: 1.05rem; }
.btn.ghost { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }

.sell { display: flex; flex-direction: column; gap: 16px; }
.sell .point { display: flex; gap: 13px; align-items: flex-start; }
.sell .ico { flex: 0 0 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 11%, #fff); color: var(--accent); display: grid; place-items: center; font-size: 1.15rem; }
.sell h4 { margin: 0 0 2px; font-family: var(--display); font-size: 1rem; }
.sell p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Pagina proposta */
.prop-hero { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 14px 0 22px; box-shadow: 0 10px 40px rgba(28,36,51,.06); }
.prop-cover { height: 230px; background: linear-gradient(135deg, var(--accent), var(--accent-d)); display: grid; place-items: center; color: #fff; }
.prop-cover .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; opacity: .9; }
.prop-hero .body { padding: 28px 32px; }
.prop-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.prop-summary { color: var(--muted); font-size: 1.08rem; }

.blocks { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.block h3 { font-size: 1.25rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; gap: 10px; padding: 13px 15px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.feature-list .chk { color: var(--accent); font-weight: 800; }
.exp { display: flex; flex-direction: column; gap: 12px; }
.exp .item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; }
.exp .item b { display: block; }
.exp .item small { color: var(--muted); }

.price-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 18px; box-shadow: 0 10px 40px rgba(28,36,51,.06); }
.price-box .breakdown { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.price-box .breakdown .ln { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); }
.price-box .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--line); padding-top: 12px; margin-top: 6px; }
.price-box .total b { font-size: 2rem; font-family: var(--display); color: var(--ink); }
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }

.feedback { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 22px; box-shadow: 0 10px 40px rgba(28,36,51,.06); }
.feedback .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.flash { padding: 13px 17px; border-radius: 12px; margin: 16px 0; font-weight: 600; }
.flash.ok { background: #e7f8f0; color: #0a7a52; }
.flash.err { background: #fde7ec; color: var(--accent-d); }
.muted { color: var(--muted); }
.center { text-align: center; }
footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 34px 0; }

/* ============ EFFETTI & ANIMAZIONI ============ */

/* Blob decorativi animati sullo sfondo */
.blob { position: fixed; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; pointer-events: none; }
.blob.b1 { width: 460px; height: 460px; left: -160px; top: -120px; background: rgba(238,43,91,.30); animation: blob 22s ease-in-out infinite; }
.blob.b2 { width: 520px; height: 520px; right: -200px; top: 60px; background: rgba(20,190,170,.22); animation: blob 26s ease-in-out infinite reverse; }
.blob.b3 { width: 380px; height: 380px; left: 30%; bottom: -180px; background: rgba(255,170,80,.18); animation: blob 30s ease-in-out infinite; }
@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.12); }
  66% { transform: translate(-30px,40px) scale(.92); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .blob, .hero-plane { animation: none !important; } .slide { transition: none !important; } }

/* Hero badge + aereo che fluttua */
.hero-badge { display: inline-block; padding: 7px 16px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .02em; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(238,43,91,.12); }
.hero { overflow: visible; }
.hero-plane { position: absolute; right: 4%; top: 8%; font-size: 3.4rem; opacity: .14; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(2deg); } }

/* Cards: micro-lift on hover */
.card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 56px rgba(28,36,51,.10); }
.sell .point { transition: transform .2s; } .sell .point:hover { transform: translateX(4px); }
.sell .point:hover .ico { transform: scale(1.08) rotate(-4deg); }
.sell .ico { transition: transform .2s; }

/* Bottone: lucido che scorre al hover */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-130%); transition: transform .6s; }
.btn:hover::after { transform: translateX(130%); }

/* ============ COLONNA DESTRA: carosello in dissolvenza + trust ============ */
.side { display: flex; flex-direction: column; gap: 16px; }
.showcase-mini h2 { font-size: 1.3rem; margin-bottom: 2px; }
.showcase-mini p { margin: 0; font-size: .9rem; }

.carousel { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 44px rgba(28,36,51,.08); overflow: hidden; }
.slides { position: relative; height: 430px; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: scale(1.025); transition: opacity 1.1s ease, transform 1.4s ease; pointer-events: none; }
.slide.active { opacity: 1; transform: none; pointer-events: auto; }
.slide-img { height: 205px; background-size: cover; background-position: center; display: grid; place-items: center; }
.slide-img.grad { background: linear-gradient(135deg, hsl(var(--h) 78% 56%), hsl(calc(var(--h) + 28) 72% 44%)); }
.slide-img.grad span { font-size: 3.6rem; filter: drop-shadow(0 6px 14px rgba(0,0,0,.22)); }
.slide-body { padding: 16px 20px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.slide-kind { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.slide-body h3 { font-size: 1.3rem; margin: 2px 0; }
.slide-loc { margin: 0; color: var(--muted); font-size: .9rem; }
.slide-desc { margin: 6px 0 0; color: var(--muted); font-size: .9rem; flex: 1; }
.slide-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--line); }
.slide-price { font-family: var(--display); font-weight: 700; color: var(--ink); }
.slide-tags { font-size: .78rem; color: var(--accent); font-weight: 600; text-align: right; }
.dots { display: flex; gap: 7px; justify-content: center; padding: 12px 0 15px; }
.dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: #d8dce3; cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.dot.on { width: 22px; background: var(--accent); }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust .t { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 13px 10px; text-align: center; }
.trust .t b { display: block; font-family: var(--display); font-size: 1.02rem; }
.trust .t span { font-size: .75rem; color: var(--muted); }

@media (max-width: 820px) {
  .grid, .blocks { grid-template-columns: 1fr; }
  .row3 { grid-template-columns: 1fr; }
  .price-box { position: static; }
  .hero-plane { display: none; }
  .slides { height: 400px; }
}

/* Itinerario giorno per giorno (pagina proposta) */
.itinerary { display: flex; flex-direction: column; gap: 10px; }
.itin-day { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.itin-num { flex: 0 0 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-d)); color: #fff; font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.itin-text b { display: block; } .itin-text p { margin: .2em 0 0; color: var(--muted); font-size: .9rem; }

/* ============ v3: ricerca guidata, newsletter, voucher ============ */
/* CTA icona ricerca guidata */
.guided-cta { display:inline-flex; align-items:center; gap:14px; margin-top:20px; padding:10px 20px 10px 10px;
  background:#fff; border:1px solid var(--line); border-radius:999px; cursor:pointer; text-align:left;
  box-shadow:0 10px 30px rgba(238,43,91,.12); transition:transform .2s, box-shadow .2s; }
.guided-cta:hover { transform:translateY(-2px); box-shadow:0 16px 40px rgba(238,43,91,.22); }
.guided-icon { width:48px; height:48px; flex:0 0 48px; filter:drop-shadow(0 4px 10px rgba(238,43,91,.4)); animation:floaty 5s ease-in-out infinite; }
.guided-icon svg { width:100%; height:100%; display:block; }
.guided-text b { display:block; font-family:var(--display); font-size:1rem; }
.guided-text small { color:var(--muted); font-size:.82rem; }

/* Overlay wizard full-screen */
.wizard-overlay { position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:16px; }
.wizard-overlay[hidden] { display:none; }
.wizard-backdrop { position:absolute; inset:0; background:linear-gradient(160deg, rgba(40,18,30,.7), rgba(238,43,91,.32)); backdrop-filter:blur(4px); animation:fade .25s ease; }
.wizard-container { position:relative; background:#fff; border-radius:22px; width:min(620px,96vw); max-height:92vh; overflow-y:auto; padding:30px 30px 26px; box-shadow:0 40px 100px rgba(0,0,0,.4); animation:pop .3s cubic-bezier(.2,.85,.25,1); }
.wizard-x { position:absolute; top:14px; right:16px; border:0; background:#f1f3f6; width:34px; height:34px; border-radius:10px; font-size:1.3rem; line-height:1; cursor:pointer; }
.wizard-x:hover { background:#e6e9ee; }
.wizard-progress { height:6px; background:#eef1f4; border-radius:999px; overflow:hidden; margin:6px 0 22px; }
.wizard-bar { display:block; height:100%; background:linear-gradient(90deg,#ff5e87,var(--accent)); border-radius:999px; transition:width .4s cubic-bezier(.3,.8,.3,1); }
.wizard-step { display:none; }
.wizard-step.active { display:block; animation:wstep .4s ease; }
@keyframes wstep { from { opacity:0; transform:translateX(14px); } }
.wizard-kicker { display:inline-block; font-size:.74rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--accent); margin-bottom:6px; }
.wizard-step h2 { font-family:var(--display); font-size:1.5rem; margin:.1em 0 .2em; }
.wizard-sub { color:var(--muted); margin:0 0 16px; }
.wizard-nav { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:22px; }
.wizard-form .checks { display:flex; gap:18px; margin:8px 0; flex-wrap:wrap; }
.wizard-form .checks label { display:flex; align-items:center; gap:7px; font-weight:600; }

/* Modale newsletter */
.modal-overlay { position:fixed; inset:0; z-index:85; display:grid; place-items:center; padding:16px; }
.modal-overlay[hidden] { display:none; }
.modal-overlay-bg { position:absolute; inset:0; background:rgba(28,16,24,.55); backdrop-filter:blur(3px); animation:fade .25s ease; }
.modal-box { position:relative; background:#fff; border-radius:20px; width:min(420px,94vw); padding:30px 26px 24px; text-align:center; box-shadow:0 30px 80px rgba(0,0,0,.35); animation:pop .28s cubic-bezier(.2,.85,.25,1); }
.modal-box .modal-x { position:absolute; top:12px; right:14px; border:0; background:#f1f3f6; width:32px; height:32px; border-radius:9px; font-size:1.2rem; cursor:pointer; line-height:1; }
.nl-emoji { font-size:2.4rem; margin-bottom:4px; }
.modal-box h3 { font-family:var(--display); margin:.2em 0; font-size:1.35rem; }
.newsletter-form { display:flex; flex-direction:column; gap:11px; margin-top:14px; text-align:left; }
.nl-consent { display:flex; gap:9px; align-items:flex-start; font-size:.8rem; color:var(--muted); }
.nl-consent input { margin-top:2px; }
.nl-msg { font-size:.85rem; font-weight:600; color:var(--accent); margin:0; text-align:center; }

/* Card buono sconto */
.redeem-wrap { max-width:560px; margin:30px auto; }
.voucher-card { background:linear-gradient(150deg,#fff,#fff7f9); border:1.5px dashed var(--accent); border-radius:20px; padding:26px 24px; box-shadow:0 18px 50px rgba(238,43,91,.14); }
.voucher-card.mini { margin-top:18px; padding:20px 18px; }
.voucher-card.expired { border-style:solid; border-color:var(--line); background:#fff; text-align:center; }
.voucher-kicker { display:inline-block; font-weight:800; font-size:.78rem; letter-spacing:.04em; text-transform:uppercase; color:var(--accent); }
.voucher-card h1, .voucher-card h3 { font-family:var(--display); margin:.3em 0; }
.voucher-amount { display:inline-block; margin:6px 0; font-family:var(--display); font-weight:800; font-size:1.5rem; color:var(--accent); }
.voucher-reason { color:var(--muted); }
.voucher-code { margin:16px 0; padding:12px 14px; background:#fff; border:1px dashed var(--accent); border-radius:12px; display:flex; flex-direction:column; gap:3px; }
.voucher-code strong { font-family:var(--mono, ui-monospace, monospace); font-size:1.25rem; letter-spacing:.06em; }
.voucher-top { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }

@media (max-width: 560px) {
  .wizard-container { padding:24px 18px 20px; border-radius:16px; }
  .wizard-step h2 { font-size:1.3rem; }
  .guided-cta { width:100%; }
}
