/* International Resort — pagina per agenzie. Colori e caratteri presi dal sito del resort. */
:root {
  --navy: #192E43; --deep: #0F1E2C; --sand: #F6F1E9; --sand2: #EDE4D6;
  --gold: #C99A52; --gold-hi: #E2BC7E; --bronze: #8E6829;
  --ink: #1F2B36; --muted: #5B6774; --white: #fff;
  --serif: "Gilda Display", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", Arial, Helvetica, sans-serif;
  --r: 14px; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: 14px 28px; border-radius: 999px; font: 600 16px/1.2 var(--sans); text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--deep); box-shadow: 0 8px 24px rgba(201,154,82,.28); }
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.btn-lg { min-height: 58px; padding: 18px 40px; font-size: 18px; }
.btn:focus-visible, .langs a:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }

/* testata */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px); transition: background .3s ease, box-shadow .3s ease; }
.top.scrolled { background: rgba(15,30,44,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.logo img { height: 46px; width: auto; }
.langs { margin-left: auto; display: flex; gap: 4px; }
.langs a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; padding: 8px 10px; border-radius: 999px; min-width: 40px; text-align: center; }
.langs a.on, .langs a:hover { color: var(--white); background: rgba(255,255,255,.14); }

/* apertura con video */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.veil { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,30,44,.9) 0%, rgba(15,30,44,.62) 45%, rgba(15,30,44,.18) 100%),
              linear-gradient(0deg, rgba(15,30,44,.75) 0%, rgba(15,30,44,0) 45%); }
.hero-in { position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 140px clamp(16px, 4vw, 40px) clamp(48px, 9vh, 96px); }
.kicker { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 1.04; max-width: 15ch; }
.hero h1 em { display: block; font-style: italic; color: var(--gold-hi); }
.sub { margin: 22px 0 32px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 48ch; color: rgba(255,255,255,.9); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { list-style: none; margin: 44px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 44px;
  border-top: 1px solid rgba(255,255,255,.2); font-size: 15px; color: rgba(255,255,255,.85); }
.stats strong { display: block; font: 400 1.7rem/1.1 var(--serif); color: var(--white); }

/* sezioni */
section[id] { scroll-margin-top: 76px; }
.sec { padding: clamp(64px, 10vw, 112px) clamp(16px, 4vw, 40px); }
.sec > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.sec h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; color: var(--navy); text-align: center; margin-bottom: 40px; }
.sec h2.mt { margin-top: 88px; }
.sand { background: var(--sand); }
.note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 18px; }

/* video */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.videos figure { margin: 0; }
.videos video { width: 100%; aspect-ratio: 16/9; border-radius: var(--r); background: var(--deep);
  box-shadow: 0 18px 50px rgba(15,30,44,.18); }
.videos figcaption { margin-top: 12px; text-align: center; font-weight: 600; color: var(--navy); }

/* posizione e tempi */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split h2 { text-align: left; margin-bottom: 18px; }
.lead { margin: 0 0 26px; color: var(--ink); }
.split-img { border-radius: var(--r); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.dist { list-style: none; margin: 0; padding: 0; }
.dist li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--sand2); }
.dist .place { font-weight: 500; grid-row: 1; grid-column: 1; }
.dist .time { font-weight: 600; color: var(--navy); white-space: nowrap; grid-row: 1; grid-column: 2; }
.dist .bar { grid-row: 2; grid-column: 1 / -1; height: 4px; background: var(--sand2); border-radius: 4px; overflow: hidden; }
.dist .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--gold), var(--navy)); border-radius: 4px; }
.js .dist li .bar i { width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1) .15s; }
.js .dist li.in .bar i { width: var(--w); }

/* servizi */
.feats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } }
.feat { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: var(--sand); }
.feat svg { flex: none; color: var(--bronze); margin-top: 2px; }
.feat strong { display: block; color: var(--navy); font-size: 1.05rem; }
.feat span { color: var(--muted); font-size: 15px; }

/* galleria */
.gallery { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 18vw, 250px); gap: 6px; padding: 0 6px; }
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .g0 { grid-column: span 2; grid-row: span 2; }
.gallery .g5, .gallery .g8, .gallery .g9 { grid-column: span 2; }

/* tipi di gruppi e motivi */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { padding: 10px 20px; border: 1px solid rgba(25,46,67,.25); border-radius: 999px; color: var(--navy); font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { padding: 30px 28px; background: var(--white); border-radius: var(--r); border-top: 3px solid var(--gold);
  box-shadow: 0 10px 34px rgba(15,30,44,.08); }
.card h3 { font-size: 1.45rem; color: var(--navy); margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); }

/* sezione finale */
.navy { background: var(--navy); color: var(--white); }
.navy h2 { color: var(--white); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; counter-reset: s; }
.steps li { padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); }
.steps b { display: block; font: 400 2.6rem/1 var(--serif); color: var(--gold-hi); margin-bottom: 12px; }
.steps p { margin: 0; color: rgba(255,255,255,.88); }
.final { text-align: center; margin-top: 80px; }
.final h2 { margin-bottom: 14px; }
.final > p { color: rgba(255,255,255,.85); margin: 0 auto 30px; max-width: 46ch; }
.contacts { margin-top: 26px; font-size: 15px; color: rgba(255,255,255,.8); }
.contacts a { color: var(--white); }

.foot { background: var(--deep); color: rgba(255,255,255,.65); text-align: center; padding: 44px 20px 110px; font-size: 13px; }
.foot img { margin: 0 auto 16px; height: 54px; width: auto; }
.foot p { margin: 4px 0; } .foot a { color: rgba(255,255,255,.85); }

/* bottone fisso, solo su telefono */
.sticky { display: none; }
@media (max-width: 760px) {
  .top { gap: 10px; } .top .btn-sm { display: none; } .logo img { height: 40px; }
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g0 { grid-row: span 1; }
  .gallery .g5, .gallery .g8 { grid-column: span 1; }
  .sticky { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 40; transform: translateY(140%); transition: transform .35s ease; }
  .sticky.show { transform: none; }
}

/* entrate morbide (solo se il JavaScript è attivo e la scheda è visibile) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .dist li .bar i { width: var(--w); transition: none; }
  .gallery img, .btn, .sticky { transition: none; }
}
