
:root {
  /* i colori del logo: blu elettrico, arancio pieno, rosso della scritta Group */
  --p-bg: #ffffff; --p-surface: #eef1fd; --p-ink: #0e1a6b; --p-muted: #4a5590;
  --p-accent: #f07010; --p-accent-ink: #111111; --p-action: #1430d9; --p-action-ink: #ffffff;
  --p-inv-bg: #1430d9; --p-inv-surface: #2a45e3; --p-inv-ink: #ffffff; --p-inv-muted: #c9d0fb;
  --p-inv-accent: #ff8a2b; --p-inv-accent-ink: #111111; --p-inv-action: #ffffff; --p-inv-action-ink: #1430d9;
  --font-display: "Rubik", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.03em;
}
.nav__logo img { height: 56px; }
.hero--photo h1 { color: #fff; font-size: clamp(44px, 4.7vw, 72px); max-width: 21ch; line-height: 1.02; text-shadow: 0 2px 24px rgb(0 0 20 / .25); }
@media (min-width: 1024px) { .hero--photo .hero__text { width: 75%; } }
.hero--photo .hero__kicker { color: #fff; font-weight: 600; letter-spacing: .02em; }
.hero--photo .hero__lead { color: #fff; text-shadow: 0 1px 12px rgb(0 0 20 / .35); margin-top: var(--s-4); font-size: clamp(18px, 1.5vw, 22px); max-width: 34ch; }
@media (min-width: 1024px) { .hero--photo > .wrap { position: relative; height: 100%; } .hero--photo .finder { position: absolute; z-index: 2; left: 0; right: 0; bottom: 48px; max-width: none; } }
.finder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0; align-items: stretch;
  background: #fff; color: var(--p-ink); border-radius: var(--r-lg); padding: var(--s-3); box-shadow: 0 10px 40px rgb(0 0 0 / .18); max-width: 1040px; }
.finder__f { display: grid; gap: 2px; padding: 10px 20px; border-right: 1px solid #e3e6f3; }
.finder__f span { font-size: 13px; font-weight: 600; color: var(--p-muted); }
.finder__f select { border: 0; background: none; font: 500 17px/1.3 var(--font-text); color: var(--p-ink); padding: 0; appearance: none; cursor: pointer; }
.finder__go { margin-left: var(--s-3); padding-inline: 28px; font-size: 16px; align-self: center; }
@media (max-width: 1023px) {
  .hero--photo h1, .hero--photo .hero__kicker, .hero--photo .hero__lead { color: var(--p-ink); }
  .hero--photo h1 { color: #1430d9; }
  .hero--photo h1, .hero--photo .hero__lead { text-shadow: none; }
  .hero--photo { --photo: min(46svh, 72vw); }
  .hero--photo > .hero__bg { top: calc(var(--nav) - 1px); }
  .finder__f:nth-child(3) { grid-column: 1 / -1; }
  .finder { grid-template-columns: 1fr 1fr; box-shadow: none; border: 1px solid #e3e6f3; margin-top: var(--s-6); padding: var(--s-2); }
  .finder__f { border-right: 0; border-bottom: 1px solid #e3e6f3; padding: 10px 12px; }
  .finder__go { grid-column: 1 / -1; margin: var(--s-2) 0 0; }
}
@media (max-width: 639px) { .nav__logo img { height: 38px; } }
.hero__kicker .dot { background: #f07010; }

/* ===== home: sezioni ===== */
main > section:not(.hero) { height: auto !important; min-height: 0 !important; display: block !important; padding: 0; }
main > section:not(.hero) > .wrap { height: auto; display: block; }
main > section:not(.hero) > .wrap.story { display: grid; }
main > section.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec--tint { background: var(--p-surface); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6); margin-bottom: clamp(32px, 4vw, 56px); }
.sec__head h2 { font: 700 clamp(32px, 3.6vw, 52px)/1.05 var(--font-display); letter-spacing: -0.025em; color: var(--p-ink); max-width: 18ch; }
.sec__head p { color: var(--p-muted); font-size: 18px; max-width: 46ch; margin-top: var(--s-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: #d4600a; margin-bottom: var(--s-3); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #f07010; }
.more { font-weight: 600; color: #1430d9; white-space: nowrap; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.more:hover { color: #f07010; }

/* fatti sotto la prima schermata */
.facts { background: #1430d9; color: #fff; }
.facts ul { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.facts li { display: grid; gap: 4px; }
.facts b { font: 700 clamp(26px, 2.4vw, 36px)/1 var(--font-display); letter-spacing: -0.02em; }
.facts span { color: #d7dcfd; font-size: 15px; }

/* tour */
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 32px); }
.tcard { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; color: var(--p-ink); text-decoration: none;
  box-shadow: 0 1px 0 rgb(14 26 107 / .06), 0 8px 24px rgb(14 26 107 / .06); transition: transform .25s ease, box-shadow .25s ease; }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgb(14 26 107 / .06), 0 18px 40px rgb(14 26 107 / .14); }
.tcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tcard:hover .tcard__img img { transform: scale(1.04); }
.tcard__days { position: absolute; left: 16px; top: 16px; background: #f07010; color: #111; font: 600 14px/1 var(--font-text); padding: 8px 12px; border-radius: 999px; }
.tcard__body { padding: 22px 24px 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.tcard h3 { font: 600 22px/1.2 var(--font-display); letter-spacing: -0.01em; }
.tcard p { color: var(--p-muted); font-size: 16px; line-height: 1.45; }
.tcard__go { margin-top: auto; padding-top: 10px; font-weight: 600; color: #1430d9; }
.tcard:hover .tcard__go { color: #f07010; }

/* destinazioni */
.world { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px; gap: clamp(12px, 1.4vw, 20px); }
.dest { position: relative; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; display: block; }
.dest:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest:hover img { transform: scale(1.04); }
.dest::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(to top, rgb(6 12 50 / .78), rgb(6 12 50 / 0)); }
.dest__txt { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 4px; }
.dest__txt b { font: 700 clamp(24px, 2.2vw, 34px)/1.05 var(--font-display); letter-spacing: -0.02em; }
.dest:nth-child(1) .dest__txt b { font-size: clamp(32px, 3.4vw, 52px); }
.dest__txt span { font-size: 15px; color: #e6e9ff; }
.dest__n { position: absolute; z-index: 1; top: 18px; right: 18px; background: rgb(255 255 255 / .92); color: var(--p-ink); font: 600 13px/1 var(--font-text); padding: 7px 11px; border-radius: 999px; }

/* nozze e aziende */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2vw, 32px); }
.offer { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: 20px; overflow: hidden; }
.offer__img { aspect-ratio: 16 / 9; overflow: hidden; }
.offer__img img { width: 100%; height: 100%; object-fit: cover; }
.offer__body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.offer h3 { font: 700 clamp(26px, 2.4vw, 34px)/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--p-ink); }
.offer p { color: var(--p-muted); font-size: 17px; line-height: 1.5; }
.ticks { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--p-ink); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #f07010 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.offer .btn { justify-self: start; }

/* agenzia */
.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.story__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; }
.story__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.story h2 { font: 700 clamp(32px, 3.6vw, 52px)/1.05 var(--font-display); letter-spacing: -0.025em; color: var(--p-ink); }
.story__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--p-ink); margin-top: var(--s-5); max-width: 40ch; }
.timeline { list-style: none; padding: 0; margin: var(--s-7) 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid #dfe3f5; }
.timeline li { padding: 20px 20px 20px 0; border-bottom: 1px solid #dfe3f5; display: grid; gap: 4px; }
.timeline b { font: 700 32px/1 var(--font-display); color: #1430d9; letter-spacing: -0.02em; }
.timeline span { color: var(--p-muted); font-size: 16px; }

/* preventivo */
.quote { background: #1430d9; color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); }
.quote h2 { font: 700 clamp(32px, 3.6vw, 52px)/1.05 var(--font-display); letter-spacing: -0.025em; }
.quote__lead { color: #dfe3ff; font-size: 18px; line-height: 1.55; margin-top: var(--s-4); max-width: 38ch; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: var(--s-7) 0 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.45; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: #f07010; color: #111; display: grid; place-items: center; font: 700 17px/1 var(--font-display); }
.qform { background: #fff; color: var(--p-ink); border-radius: 20px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.qform label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--p-muted); }
.qform .full { grid-column: 1 / -1; }
.qform input, .qform select, .qform textarea { font: 400 17px/1.4 var(--font-text); color: var(--p-ink); border: 1px solid #d4d9ef; border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%; }
.qform textarea { min-height: 110px; resize: vertical; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 3px solid #f07010; outline-offset: 1px; border-color: #1430d9; }
.qform .btn { grid-column: 1 / -1; justify-content: center; font-size: 17px; padding-block: 16px; }
.qform small { grid-column: 1 / -1; color: var(--p-muted); font-size: 13px; }

/* footer */
.foot { background: #0e1a6b; color: #d7dcfd; padding: 72px 0 32px; }
.foot__top { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: var(--s-7); }
.foot__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 12px 16px; }
.foot__logo img { height: 64px; width: auto; display: block; }
.foot p { font-size: 16px; line-height: 1.55; margin-top: var(--s-4); max-width: 34ch; }
.foot h4 { color: #fff; font: 600 15px/1 var(--font-text); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: #ffb070; }
.foot__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; justify-content: space-between; gap: 16px; font-size: 14px; flex-wrap: wrap; }

@media (max-width: 1023px) {
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .tours { grid-template-columns: repeat(2, 1fr); }
  .world { grid-template-columns: repeat(2, 1fr); grid-template-rows: 340px 220px 220px; }
  .dest:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .duo, .story, .quote { grid-template-columns: 1fr; }
  .story__img { aspect-ratio: 16 / 10; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .sec__head { display: block; }
  .sec__head .more { display: inline-block; margin-top: var(--s-4); }
  .tours { grid-template-columns: 1fr; }
  .world { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .dest:nth-child(n) { grid-column: auto; }
  .qform { grid-template-columns: 1fr; }
  .quote { border-radius: 0; margin-inline: calc(-1 * var(--gut)); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .foot__top { grid-template-columns: 1fr; }
}

/* ===== spunti: corsivo rosso di "Group", sole arancio, mappa ===== */
.note { font: 600 clamp(24px, 2vw, 30px)/1 "Caveat", cursive; color: #e01b1b; transform: rotate(-4deg); }
.tourmap { display: grid !important; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.map { position: relative; border-radius: 24px; overflow: hidden; background: #dbe4ff; }
.map__svg { display: block; width: 100%; height: auto; }
.map__sea { fill: #dbe4ff; }
.map__nb { fill: #f4f2ec; stroke: #d6d2c6; stroke-width: 1; }
.map__land { fill: #fff; stroke: #1430d9; stroke-width: 1.6; stroke-linejoin: round; }
.map__lbl { font: italic 500 15px var(--font-text); fill: #7d88c4; letter-spacing: .04em; }
.map__route { fill: none; stroke: #f07010; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.tw circle { fill: #b9c1e6; transition: fill .3s, r .3s; }
.tw text { font: 600 13px var(--font-text); fill: #0e1a6b; opacity: 0; transition: opacity .3s; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.tw.is-on circle { fill: #1430d9; r: 6; }
.tw.is-on text { opacity: 1; }
.tw--home .sun { fill: #f07010; stroke: #fff; stroke-width: 3; }
.tw--home text { opacity: 1; font-size: 15px; font-weight: 700; }
.map__note { position: absolute; left: calc(var(--x) + 3%); top: calc(var(--y) + 4%); margin: 0; pointer-events: none; }
.map__note::before { content: ""; position: absolute; left: -26px; top: -26px; width: 26px; height: 26px; border-left: 2.5px solid #e01b1b; border-top: 2.5px solid #e01b1b; border-radius: 22px 0 0 0; transform: rotate(-10deg); }
.tourpick h2 { font: 700 clamp(32px, 3.4vw, 50px)/1.05 var(--font-display); letter-spacing: -0.025em; color: var(--p-ink); }
.tourpick__lead { color: var(--p-muted); font-size: 18px; margin-top: var(--s-4); max-width: 40ch; }
.tl-list { list-style: none; padding: 0; margin: var(--s-6) 0 var(--s-5); border-top: 1px solid #dfe3f5; }
.tl { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 4px; background: none; border: 0; border-bottom: 1px solid #dfe3f5; cursor: pointer; text-align: left; color: var(--p-ink); font: 600 18px/1.25 var(--font-display); transition: color .2s, padding .25s; }
.tl__days { font: 500 15px/1 var(--font-text); color: var(--p-muted); white-space: nowrap; }
.tl:hover { color: #1430d9; padding-left: 10px; }
.tl.is-on { color: #1430d9; padding-left: 10px; box-shadow: inset 4px 0 0 #f07010; }
.tl.is-on .tl__days { color: #d4600a; font-weight: 700; }
.tp { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; }
.tp__img { width: 150px; height: 112px; object-fit: cover; border-radius: 14px; }
.tp__places { color: var(--p-ink); font-size: 16px; line-height: 1.45; margin-bottom: 12px; }
.sun-deco { position: relative; isolation: isolate; }
.sun-deco::before { content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #f07010; right: -9%; top: -7%; }
.quote { position: relative; overflow: hidden; }
.quote::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #f07010; left: -170px; bottom: -230px; opacity: .95; }
.quote > * { position: relative; z-index: 1; }
@media (max-width: 1023px) {
  .tourmap { grid-template-columns: 1fr; }
  .map__note { font-size: 22px; }
}
@media (max-width: 639px) {
  .tw text { font-size: 24px; } .tw--home text { font-size: 26px; } .tw.is-on circle { r: 8; } .map__lbl { font-size: 22px; }
  .tourpick { order: -1; }
  .tp { grid-template-columns: 110px 1fr; } .tp__img { width: 110px; height: 90px; }
  .quote::after { width: 260px; height: 260px; left: -120px; bottom: -150px; }
}
@media (min-width: 1024px) { main > section.hero--photo { height: clamp(640px, 88svh, 820px) !important; min-height: 0 !important; } }
@media (min-width: 1600px) { .hero--photo > .hero__bg { object-position: 50% 20% !important; } }
@media (min-width: 2000px) { .hero--photo > .hero__bg { object-position: 50% 27% !important; } }
@media (min-width: 2600px) { .hero--photo > .hero__bg { object-position: 50% 32% !important; } }
.offer p.note, .story p.note { font-size: clamp(24px, 2vw, 30px); color: #e01b1b; line-height: 1; }
