/* =========================================================================
   Offerte Express – premium offer pages for Divi
   Colours: Impostazioni offerte → Aspetto (CSS variables below).
   ========================================================================= */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display-italic.woff2") format("woff2"); }

:root { --ofx-primary: #0A1A2E; --ofx-accent: #C9A44C; --ofx-link: #185fa5; --ofx-sticky: 90px; }
.ofx {
	--ofx-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--ofx-ink: #0f1c2e;
	--ofx-text: #3b4655;
	--ofx-muted: #6b7584;
	--ofx-line: rgba(10, 26, 46, .1);
	--ofx-ivory: #f8f5ee;
	--ofx-gold-dark: #a8832f;
	--ofx-gold-light: #e7cd88;
	--ofx-ok: #1f8a5b;
	--ofx-no: #b8483a;
	--ofx-shadow: 0 24px 60px -24px rgba(10, 26, 46, .28);
	color: var(--ofx-text);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	font-variant-numeric: lining-nums;
	font-feature-settings: "lnum" 1;
}
.ofx *, .ofx *::before, .ofx *::after { box-sizing: border-box; }
.ofx h1, .ofx h2, .ofx h3, .ofx h4 { color: var(--ofx-ink); padding: 0; margin: 0; line-height: 1.2; letter-spacing: -.005em; }
.ofx p { padding: 0; margin: 0 0 1em; }
.ofx a { color: var(--ofx-link); }
.ofx img { max-width: 100%; height: auto; display: block; }
.ofx del { opacity: .6; font-weight: 400; }
.ofx-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.ofx-ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.22em; }
.ofx-ico--wa { stroke: none; }
.ofx-emoji { font-size: 22px; line-height: 1; }
.ofx-hidden { display: none !important; }
.ofx-anchor { position: absolute; top: calc(-1 * var(--ofx-sticky) - 70px); }
.ofx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- type ---------- */
.ofx-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px !important; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ofx-gold-dark); margin: 0 0 16px !important; }
.ofx-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.ofx-h2 { font-family: var(--ofx-serif); font-weight: 500 !important; font-size: clamp(30px, 3.3vw, 46px) !important; line-height: 1.12 !important; color: var(--ofx-ink); }
.ofx-h2 em, .ofx-title em { font-style: italic; font-weight: 400; }
.ofx-h2 em { color: var(--ofx-gold-dark); }
.ofx-head { max-width: 780px; margin-bottom: 44px; }
.ofx-head__sub { color: var(--ofx-muted); margin: 14px 0 0 !important; font-size: 17px; }

/* ---------- buttons ---------- */
.ofx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; font-family: inherit; }
.ofx-btn:hover { transform: translateY(-2px); }
.ofx-btn--gold { background: var(--ofx-accent); color: var(--ofx-primary) !important; box-shadow: 0 14px 30px -12px rgba(201, 164, 76, .7); }
.ofx-btn--gold:hover { background: #d6b25c; box-shadow: 0 18px 36px -12px rgba(201, 164, 76, .8); }
.ofx-btn--glass { background: rgba(255, 255, 255, .1); color: #fff !important; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(8px); }
.ofx-btn--glass:hover { background: rgba(255, 255, 255, .2); }
.ofx-btn--dark { background: var(--ofx-primary); color: #fff !important; }
.ofx-btn--dark:hover { background: #142d4b; }
.ofx-btn--wa { background: #25d366; color: #fff !important; }
.ofx-btn--wa:hover { background: #1fc05c; }
.ofx-btn--line { background: transparent; color: var(--ofx-ink) !important; border-color: rgba(10, 26, 46, .25); }
.ofx-btn--line:hover { border-color: var(--ofx-ink); }
.ofx-btn--block { width: 100%; }
.ofx-btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.ofx-btn--icon { width: 50px; padding: 0; }
.ofx-btn--icon .ofx-ico { width: 24px; height: 24px; }
.ofx-link-btn { background: none; border: 0; padding: 0; color: var(--ofx-ink); font-weight: 700; cursor: pointer; font-size: 14px; text-decoration: underline; text-decoration-color: var(--ofx-accent); text-underline-offset: 5px; font-family: inherit; }

/* =========================================================================
   Hero
   ========================================================================= */
.ofx-hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ofx-primary); isolation: isolate; }
.ofx-hero--plain { background: radial-gradient(ellipse at 80% 20%, #1d4a75 0%, var(--ofx-primary) 60%); }
.ofx-hero__media, .ofx-hero__shade { position: absolute; inset: 0; z-index: -1; }
.ofx-hero__img { width: 100%; height: 100% !important; object-fit: cover; animation: ofxZoom 2.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ofxZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.ofx-hero__shade { background: linear-gradient(90deg, rgba(10, 26, 46, .86) 0%, rgba(10, 26, 46, .6) 42%, rgba(10, 26, 46, .12) 100%), linear-gradient(0deg, rgba(10, 26, 46, .7) 0%, rgba(10, 26, 46, 0) 46%); }
.ofx-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: end; padding-top: 140px; padding-bottom: 80px; }
.ofx-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 28px; opacity: .75; }
.ofx-crumbs a { color: #fff !important; text-decoration: none; }
.ofx-crumbs a:hover { text-decoration: underline; }
.ofx-hero__eyebrow { color: var(--ofx-gold-light) !important; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px !important; }
.ofx-hero .ofx-title, .ofx-archive .ofx-title { font-family: var(--ofx-serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 78px); line-height: 1.03; letter-spacing: -.015em; color: #fff; max-width: 860px; text-wrap: balance; }
.ofx-hero .ofx-title em, .ofx-archive .ofx-title em { color: var(--ofx-gold-light); }
.ofx-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 640px; margin: 24px 0 0 !important; color: rgba(255, 255, 255, .88); }
.ofx-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 36px; }
.ofx-hero__link { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 6px; }
.ofx-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; font-size: 14px; }
.ofx-trust li { display: inline-flex; align-items: center; gap: 8px; }
.ofx-trust .ofx-ico { color: var(--ofx-accent); }
.ofx-trust--hero { margin-top: 32px; color: rgba(255, 255, 255, .82); }
.ofx-tp a { display: inline-flex; align-items: center; gap: 8px; color: inherit !important; text-decoration: none; }
.ofx-tp__stars { display: inline-flex; gap: 2px; }
.ofx-tp__stars i { font-style: normal; width: 18px; height: 18px; display: grid; place-items: center; background: #00b67a; color: #fff; font-size: 12px; line-height: 1; }
.ofx-tp strong { font-weight: 800; }

/* glass price card */
.ofx-hero__card { background: rgba(255, 255, 255, .1); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .24); border-radius: 26px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.ofx-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ofx-flags span { background: var(--ofx-accent); color: var(--ofx-primary); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.ofx-hc__label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin: 0 0 6px !important; }
.ofx-hc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 !important; }
.ofx-hc__price strong { font-family: var(--ofx-serif); font-weight: 500; font-size: 52px; line-height: 1; color: #fff; letter-spacing: -.01em; }
.ofx-hc__price del { font-size: 18px; color: rgba(255, 255, 255, .7); }
.ofx-save { background: #fff; color: var(--ofx-primary); font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.ofx-hc__per { color: rgba(255, 255, 255, .75); font-size: 14px; margin: 8px 0 0 !important; }
.ofx-hc__rows { margin: 22px 0 22px; }
.ofx-hc__rows > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
.ofx-hc__rows dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); padding-top: 2px; }
.ofx-hc__rows dd { margin: 0; color: #fff; font-weight: 600; line-height: 1.45; }
.ofx-hc__wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none; opacity: .9; }
.ofx-hc__wa .ofx-ico { color: #25d366; width: 20px; height: 20px; }
.ofx-hc__wa:hover { opacity: 1; text-decoration: underline; }

/* ---------- booking bar ---------- */
.ofx-bbar { position: fixed; left: 0; right: 0; top: var(--ofx-sticky); z-index: 9990; background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ofx-line); box-shadow: 0 10px 30px -18px rgba(10, 26, 46, .4); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.ofx-bbar.is-visible { opacity: 1; visibility: visible; transform: none; }
.ofx-bbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.ofx-bbar__nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ofx-bbar__nav::-webkit-scrollbar { display: none; }
.ofx-bbar__nav a { flex: none; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ofx-muted) !important; text-decoration: none; border-radius: 999px; transition: color .2s, background .2s; }
.ofx-bbar__nav a:hover { color: var(--ofx-ink) !important; background: var(--ofx-ivory); }
.ofx-bbar__nav a.is-active { color: var(--ofx-ink) !important; background: var(--ofx-ivory); box-shadow: inset 0 -2px 0 var(--ofx-accent); }
.ofx-bbar__right { display: flex; align-items: center; gap: 18px; flex: none; }
.ofx-bbar__title { font-family: var(--ofx-serif); font-size: 17px; color: var(--ofx-ink); max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ofx-bbar__price { color: var(--ofx-ink); white-space: nowrap; }
.ofx-bbar__price small, .ofx-mbar__price small, .ofx-cardo__price small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ofx-muted); }
.ofx-bbar__price strong { font-family: var(--ofx-serif); font-size: 22px; font-weight: 600; }
.ofx-ps__req { font-weight: 700; font-size: 14px; }

/* =========================================================================
   Bands & layout
   ========================================================================= */
.ofx-band { position: relative; padding: 104px 0; scroll-margin-top: calc(var(--ofx-sticky) + 70px); }
.ofx-band--white { background: #fff; }
.ofx-band--ivory { background: var(--ofx-ivory); }
.ofx-band--offer { background: #fff; padding-top: 96px; }
.ofx-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.ofx-split--solo { grid-template-columns: minmax(0, 760px); }
.ofx-split--itin, .ofx-split--faq { grid-template-columns: 340px minmax(0, 1fr); }
.ofx-split--price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.ofx-split--cta { grid-template-columns: minmax(0, 1fr) 480px; gap: 72px; align-items: center; }
.ofx-split__main, .ofx-split__aside { min-width: 0; }
.ofx-sticky { position: sticky; top: calc(var(--ofx-sticky) + 100px); }

/* intro / legacy text */
.ofx-intro, .ofx-intro__p { font-size: 18px; }
.ofx-intro p:first-child { font-family: var(--ofx-serif); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.5; color: var(--ofx-ink); }
.ofx-legacy { font-size: 17px; line-height: 1.8; overflow-wrap: break-word; color: var(--ofx-text); }
.ofx-legacy p { padding-bottom: 1em; margin: 0; }
.ofx-legacy p:empty { display: none; }
.ofx-legacy ul, .ofx-legacy ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.ofx-legacy ul { list-style: disc; }
.ofx-legacy li { margin-bottom: .4em; }
.ofx-legacy li::marker { color: var(--ofx-accent); }
.ofx-legacy img, .ofx-legacy iframe { max-width: 100%; height: auto; }
.ofx-legacy strong, .ofx-legacy b { color: var(--ofx-ink); }
/* Harmonise the hand-built Yatra texts with the new design (they use inline styles). */
.ofx-legacy [style*="font-family"] { font-family: inherit !important; }
.ofx-legacy [style*="color: #333"], .ofx-legacy [style*="color:#333"] { color: var(--ofx-text) !important; }
.ofx-legacy :is(span, div, p, strong)[style*="font-weight"]:is([style*="font-size: 18px"], [style*="font-size:18px"], [style*="font-size: 19px"], [style*="font-size: 20px"], [style*="font-size:20px"], [style*="font-size: 21px"], [style*="font-size: 22px"], [style*="font-size:22px"], [style*="font-size: 24px"], [style*="font-size:24px"], [style*="font-size: 26px"], [style*="font-size: 28px"]):is([style*="800"], [style*="700"], [style*="bold"]) { display: block; font-family: var(--ofx-serif) !important; font-weight: 500 !important; font-size: clamp(24px, 2.3vw, 31px) !important; line-height: 1.2 !important; letter-spacing: -.005em !important; color: var(--ofx-ink) !important; margin: 52px 0 18px !important; text-transform: none !important; }
.ofx-legacy :is(h2, h3, h4) { font-family: var(--ofx-serif); font-weight: 500; color: var(--ofx-ink); margin: 48px 0 16px; line-height: 1.25; }
.ofx-legacy h2 { font-size: clamp(24px, 2.3vw, 31px); }
.ofx-legacy h3 { font-size: 23px; }
.ofx-legacy [style*="#185fa5"]:not([style*="background"]), .ofx-legacy [style*="#042c53"]:not([style*="background"]), .ofx-legacy [style*="#0b7fab"]:not([style*="background"]) { color: var(--ofx-ink) !important; }
.ofx-legacy [style*="background: #185fa5"], .ofx-legacy [style*="background:#185fa5"], .ofx-legacy [style*="background-color: #185fa5"], .ofx-legacy [style*="background: #042c53"] { background: var(--ofx-primary) !important; }
.ofx-legacy [style*="display: inline-block"][style*="background"][style*="border-radius"] { letter-spacing: .14em !important; font-size: 11px !important; padding: 7px 16px !important; }
.ofx-legacy table { border-collapse: separate !important; border-spacing: 14px !important; width: calc(100% + 28px) !important; max-width: none !important; margin: 0 -14px 10px !important; }
.ofx-legacy td[style*="background"], .ofx-legacy th[style*="background"] { background: var(--ofx-ivory) !important; border-radius: 18px !important; padding: 22px !important; border: 0 !important; vertical-align: top; line-height: 1.55; font-size: 15px; }
.ofx-legacy td[style*="background"] > span:first-child, .ofx-legacy td[style*="background"] > strong:first-child { display: inline-block; color: var(--ofx-ink) !important; font-size: 16px !important; margin-bottom: 4px; }
.ofx-legacy :is(div, p)[style*="border-left"] { background: #fbf6ea !important; border-left: 3px solid var(--ofx-accent) !important; border-radius: 0 18px 18px 0 !important; padding: 22px 26px !important; margin: 28px 0 !important; }
.ofx-legacy--tab { font-size: 16px; }

/* brief card */
.ofx-brief-card { background: var(--ofx-ivory); border: 1px solid rgba(201, 164, 76, .28); border-radius: 24px; padding: 30px 28px; }
.ofx-brief-card dl { margin: 0 0 22px; }
.ofx-brief-card dl > div { padding: 13px 0; border-top: 1px solid rgba(10, 26, 46, .08); }
.ofx-brief-card dl > div:first-child { border-top: 0; padding-top: 0; }
.ofx-brief-card dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ofx-gold-dark); margin-bottom: 3px; }
.ofx-brief-card dd { margin: 0; color: var(--ofx-ink); font-weight: 600; font-size: 15.5px; line-height: 1.5; }
.ofx-brief-card .ofx-btn + .ofx-btn { margin-top: 10px; }

/* brief grid */
.ofx-brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.ofx-brief > div { padding: 22px 0; border-top: 1px solid rgba(201, 164, 76, .45); }
.ofx-brief dt { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ofx-gold-dark); margin-bottom: 6px; }
.ofx-brief dd { margin: 0; font-family: var(--ofx-serif); font-size: 21px; line-height: 1.35; color: var(--ofx-ink); }

/* tip */
.ofx-tip { display: flex; gap: 18px; background: linear-gradient(135deg, #fbf6ea 0%, #f5ecd7 100%); border-radius: 22px; padding: 26px 30px; margin: 40px 0; }
.ofx-tip__mark { flex: none; color: var(--ofx-gold-dark); font-size: 26px; line-height: 1; margin-top: 2px; }
.ofx-tip__title { display: block; font-family: var(--ofx-serif); font-size: 20px; font-weight: 500; color: var(--ofx-ink); margin-bottom: 6px; }
.ofx-tip p:last-child { margin-bottom: 0; }

/* why */
.ofx-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ofx-why--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ofx-why--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ofx-why__item { background: #fff; border-radius: 22px; padding: 28px 24px 26px; border: 1px solid rgba(10, 26, 46, .05); transition: transform .3s ease, box-shadow .3s ease; }
.ofx-why__item:hover { transform: translateY(-4px); box-shadow: var(--ofx-shadow); }
.ofx-why__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.ofx-why__ico { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(201, 164, 76, .55); color: var(--ofx-gold-dark); display: grid; place-items: center; }
.ofx-why__ico .ofx-ico { width: 24px; height: 24px; }
.ofx-why__n { font-family: var(--ofx-serif); font-style: italic; font-size: 17px; color: rgba(10, 26, 46, .3); }
.ofx-why h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px !important; }
.ofx-why p { font-size: 15px; color: var(--ofx-muted); margin: 0 !important; line-height: 1.55; }

/* souls */
.ofx-souls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ofx-souls__item { border-top: 1px solid var(--ofx-line); padding-top: 28px; }
.ofx-souls__n { display: block; font-family: var(--ofx-serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--ofx-accent); margin-bottom: 18px; }
.ofx-souls h3 { font-family: var(--ofx-serif); font-weight: 500; font-size: 26px; margin-bottom: 10px !important; }
.ofx-souls p { color: var(--ofx-muted); margin: 0 !important; }

/* quote */
.ofx-band--quote { background: linear-gradient(180deg, #fff 0%, var(--ofx-ivory) 100%); text-align: center; }
.ofx-quote-big { position: relative; max-width: 900px; margin: 0 auto; }
.ofx-quote-big .ofx-eyebrow { justify-content: center; }
.ofx-quote-big .ofx-eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.ofx-quote-big__mark { display: block; font-family: var(--ofx-serif); font-size: 120px; line-height: .6; color: var(--ofx-accent); opacity: .5; margin-bottom: 18px; }
.ofx-quote-big blockquote { margin: 0; padding: 0; border: 0; font-family: var(--ofx-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.45; color: var(--ofx-ink); }
.ofx-quote-big blockquote strong { font-weight: 600; font-style: italic; color: var(--ofx-gold-dark); }
.ofx-quote-big blockquote p:last-child { margin: 0; }

/* timeline */
.ofx-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.ofx-tl__item { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 28px; padding-bottom: 44px; }
.ofx-tl__item::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 1px; background: linear-gradient(var(--ofx-accent), rgba(201, 164, 76, .15)); }
.ofx-tl__item:last-child::before { display: none; }
.ofx-tl__n { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ofx-accent); display: grid; place-items: center; font-family: var(--ofx-serif); font-size: 18px; color: var(--ofx-ink); background: #fff; }
.ofx-tl__label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ofx-gold-dark); margin: 4px 0 6px !important; }
.ofx-tl__body h3 { font-family: var(--ofx-serif); font-weight: 500; font-size: 25px; margin-bottom: 12px !important; }
.ofx-tl__img img { border-radius: 18px; margin-bottom: 16px; }
.ofx-tl__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--ofx-muted); margin: 4px 0 0 !important; }
.ofx-tl__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ofx-tl .is-more { display: none; }
.ofx-tl.is-open .is-more { display: grid; }

/* hotels */
.ofx-hotels { display: grid; gap: 32px; }
.ofx-hotel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--ofx-shadow); }
.ofx-hotel.is-flip .ofx-hotel__img { order: 2; }
.ofx-hotel.no-img { grid-template-columns: 1fr; }
.ofx-hotel__img img { width: 100%; height: 100% !important; min-height: 380px; object-fit: cover; }
.ofx-hotel__body { padding: 48px 46px; align-self: center; }
.ofx-hotel h3 { font-family: var(--ofx-serif); font-weight: 500; font-size: 32px; margin-bottom: 6px !important; }
.ofx-hotel h3 a { color: inherit !important; text-decoration: none; }
.ofx-stars { color: var(--ofx-accent); letter-spacing: 3px; font-size: 15px; margin: 0 0 16px !important; }
.ofx-hotel__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--ofx-line); }
.ofx-hotel__rows dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ofx-muted); }
.ofx-hotel__rows dd { margin: 4px 0 0; color: var(--ofx-ink); font-weight: 600; font-size: 15px; }

/* gallery */
.ofx-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.ofx-gallery__item { position: relative; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--ofx-ivory); }
.ofx-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.ofx-gallery--n1 .ofx-gallery__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
.ofx-gallery--n2 .ofx-gallery__item { grid-column: span 2; grid-row: span 2; }
.ofx-gallery--n3 .ofx-gallery__item:not(:first-child) { grid-column: span 2; }
.ofx-gallery--n4 .ofx-gallery__item:nth-child(2) { grid-column: span 2; }
.ofx-gallery__item img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ofx-gallery__item:hover img { transform: scale(1.05); }
.ofx-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 26, 46, .55) 0%, rgba(10, 26, 46, 0) 40%); pointer-events: none; }
.ofx-gallery__cap { position: absolute; left: 18px; bottom: 14px; right: 18px; z-index: 1; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-align: left; }
.ofx-gallery__more { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(10, 26, 46, .5); color: #fff; font-family: var(--ofx-serif); font-size: 26px; }
.ofx-gallery__all { text-align: center; margin: 34px 0 0 !important; }
.ofx-lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.ofx-lb::backdrop { background: rgba(6, 13, 24, .94); }
.ofx-lb[open] { display: flex; align-items: center; justify-content: center; }
.ofx-lb figure { margin: 0; text-align: center; }
.ofx-lb img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 10px; margin: 0 auto; }
.ofx-lb figcaption { color: rgba(255, 255, 255, .8); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-top: 16px; }
.ofx-lb button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); width: 54px; height: 54px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.ofx-lb button:hover { background: rgba(255, 255, 255, .22); }
.ofx-lb__close { top: 24px; right: 24px; }
.ofx-lb__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.ofx-lb__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* price band (navy) */
.ofx-band--navy { background: radial-gradient(ellipse at 90% 0%, #1a3a5e 0%, var(--ofx-primary) 55%); color: rgba(255, 255, 255, .82); }
.ofx-band--navy .ofx-h2 { color: #fff; }
.ofx-band--navy .ofx-h2 em, .ofx-band--navy .ofx-eyebrow { color: var(--ofx-gold-light); }
.ofx-pb { border-top: 1px solid rgba(255, 255, 255, .16); }
.ofx-pb__row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15.5px; }
.ofx-pb__row > :last-child { white-space: nowrap; text-align: right; color: #fff; }
.ofx-pb__row--main strong { font-family: var(--ofx-serif); font-size: 34px; font-weight: 500; color: #fff; }
.ofx-pb__row--total { color: var(--ofx-gold-light); }
.ofx-pb__row--total strong { font-family: var(--ofx-serif); font-size: 26px; font-weight: 500; color: var(--ofx-gold-light) !important; }
.ofx-pb__h { color: #fff !important; font-size: 13px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 34px 0 14px !important; }
.ofx-split--price .ofx-split__aside .ofx-pb__h:first-child { margin-top: 0 !important; }
.ofx-window { display: flex; align-items: center; gap: 10px; margin: 22px 0 0 !important; color: #fff; font-weight: 600; }
.ofx-window .ofx-ico { color: var(--ofx-accent); }
.ofx-supp { list-style: none; margin: 0; padding: 0; }
.ofx-supp li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ofx-supp strong { color: #fff; white-space: nowrap; }
.ofx-supp small { display: block; opacity: .7; }
.ofx-deps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ofx-dep { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.ofx-dep.is-past { opacity: .45; }
.ofx-dep__date { text-align: center; border-right: 1px solid rgba(255, 255, 255, .14); padding-right: 14px; }
.ofx-dep__day { display: block; font-family: var(--ofx-serif); font-size: 32px; line-height: 1; color: #fff; }
.ofx-dep__mon { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ofx-gold-light); margin-top: 4px; }
.ofx-dep__info strong { display: block; color: #fff; font-weight: 600; }
.ofx-dep__info span { font-size: 14px; opacity: .75; }
.ofx-dep__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ofx-dep__end strong { color: #fff; font-family: var(--ofx-serif); font-size: 20px; font-weight: 500; }
.ofx-dep__go { color: var(--ofx-gold-light) !important; font-weight: 700; font-size: 13px; text-decoration: none; }
.ofx-status { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(46, 204, 136, .16); color: #7be0b0; white-space: nowrap; }
.ofx-status--ultimi_posti { background: rgba(245, 166, 35, .18); color: #ffc46b; }
.ofx-status--su_richiesta { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); }
.ofx-status--garantita { background: rgba(231, 205, 136, .2); color: var(--ofx-gold-light); }
.ofx-status--sold_out { background: rgba(255, 120, 100, .16); color: #ff9e8f; }

/* details tabs */
.ofx-tabs__bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; padding-bottom: 4px; }
.ofx-tabs__bar::-webkit-scrollbar { display: none; }
.ofx-tabs__btn { flex: none; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(10, 26, 46, .14); background: #fff; color: var(--ofx-ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ofx-tabs__btn:hover { border-color: var(--ofx-ink); }
.ofx-tabs__btn.is-active { background: var(--ofx-primary); border-color: var(--ofx-primary); color: #fff; }
.ofx-tabs__panel { background: #fff; border-radius: 26px; padding: 44px 48px; box-shadow: 0 20px 50px -30px rgba(10, 26, 46, .3); scroll-margin-top: calc(var(--ofx-sticky) + 90px); }
.ofx-tabs__panel + .ofx-tabs__panel { margin-top: 18px; }
.ofx-tabs__title { font-family: var(--ofx-serif); font-weight: 500; font-size: 28px; margin-bottom: 22px !important; }
.ofx-tabs.is-ready .ofx-tabs__panel { display: none; margin-top: 0; }
.ofx-tabs.is-ready .ofx-tabs__title { display: none; }
.ofx-tabs.is-ready .ofx-tabs__panel.is-active { display: block; animation: ofxFade .35s ease; }
@keyframes ofxFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ofx-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ofx-incl h3 { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ofx-gold-dark); margin-bottom: 18px !important; }
.ofx-note { margin-top: 30px; background: var(--ofx-ivory); border-radius: 18px; padding: 22px 26px; }
.ofx-note strong { display: block; color: var(--ofx-ink); margin-bottom: 6px; }
.ofx-note p:last-child { margin-bottom: 0; }

/* lists */
.ofx-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ofx-list li { position: relative; padding: 0 0 13px 32px; line-height: 1.6; break-inside: avoid; }
.ofx-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; }
.ofx-list--yes li::before { background: #e8f5ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ofx-list--no li::before { background: #f8e8e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8483a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ofx-list--dot li { padding-left: 26px; }
.ofx-list--dot li::before { width: 7px; height: 7px; top: .68em; left: 4px; background: var(--ofx-accent); transform: rotate(45deg); border-radius: 1px; }
.ofx-list--cols { column-count: 2; column-gap: 48px; }

/* faq */
.ofx-split--faq .ofx-link-btn { display: block; margin-top: 22px; }
.ofx-split--faq .ofx-btn--wa { margin-top: 4px; }
.ofx-faq details { border-bottom: 1px solid var(--ofx-line); }
.ofx-faq details:first-child { border-top: 1px solid var(--ofx-line); }
.ofx-faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) 38px; gap: 14px; align-items: center; padding: 22px 0; }
.ofx-faq summary::-webkit-details-marker { display: none; }
.ofx-faq__n { font-family: var(--ofx-serif); font-style: italic; color: var(--ofx-gold-dark); font-size: 18px; }
.ofx-faq__q { font-weight: 700; color: var(--ofx-ink); font-size: 17px; line-height: 1.45; }
.ofx-faq__pm { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(10, 26, 46, .18); transition: background .2s, border-color .2s; }
.ofx-faq__pm::before, .ofx-faq__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ofx-ink); transform: translate(-50%, -50%); transition: transform .25s ease; }
.ofx-faq__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.ofx-faq details[open] .ofx-faq__pm { background: var(--ofx-primary); border-color: var(--ofx-primary); }
.ofx-faq details[open] .ofx-faq__pm::before, .ofx-faq details[open] .ofx-faq__pm::after { background: #fff; }
.ofx-faq details[open] .ofx-faq__pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.ofx-faq__a { padding: 0 52px 24px 58px; color: var(--ofx-text); }
.ofx-faq__a ul { padding-left: 1.2em; list-style: disc; }
.ofx-faq__a p:last-child { margin-bottom: 0; }

/* CTA + form */
.ofx-band--cta { background-color: var(--ofx-primary); background-image: linear-gradient(90deg, rgba(10, 26, 46, .96) 0%, rgba(10, 26, 46, .84) 55%, rgba(10, 26, 46, .7) 100%), var(--ofx-cta-bg, none); background-size: cover; background-position: center; color: rgba(255, 255, 255, .85); }
.ofx-band--cta .ofx-h2 { color: #fff; font-size: clamp(34px, 4vw, 56px) !important; }
.ofx-band--cta .ofx-h2 em, .ofx-band--cta .ofx-eyebrow { color: var(--ofx-gold-light); }
.ofx-cta__text { font-size: 18px; max-width: 520px; margin: 22px 0 28px !important; }
.ofx-trust--cta { flex-direction: column; gap: 12px; font-size: 16px; color: #fff; }
.ofx-cta__alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 36px; max-width: 620px; }
.ofx-cta__opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; text-decoration: none; transition: background .2s, border-color .2s; }
.ofx-cta__opt:hover { background: rgba(255, 255, 255, .12); border-color: rgba(231, 205, 136, .6); }
.ofx-cta__opt strong { display: block; font-size: 14.5px; }
.ofx-cta__opt small { display: block; font-size: 12.5px; opacity: .7; }
.ofx-cta__ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(231, 205, 136, .16); color: var(--ofx-gold-light); }
.ofx-cta__ico--wa { background: #25d366; color: #fff; }
.ofx-form-card { background: #fff; border-radius: 28px; padding: 36px 34px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); color: var(--ofx-text); }
.ofx-enquiry__title { font-family: var(--ofx-serif); font-size: 28px; color: var(--ofx-ink); margin: 0 0 2px !important; }
.ofx-enquiry__sub { font-size: 14px; color: var(--ofx-muted); margin: 0 0 24px !important; }
.ofx-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
.ofx-field { display: flex; flex-direction: column; gap: 6px; }
.ofx-field--wide, .ofx-field:nth-child(-n+2) { grid-column: 1 / -1; }
.ofx-field label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ofx-ink); }
.ofx .ofx-field input, .ofx .ofx-field select, .ofx .ofx-field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid rgba(10, 26, 46, .14); border-radius: 14px; background: #f7f8fa; color: var(--ofx-ink); font-size: 16px; font-family: inherit; transition: border-color .2s, box-shadow .2s, background .2s; }
.ofx .ofx-field textarea { min-height: 104px; resize: vertical; }
.ofx .ofx-field input:focus, .ofx .ofx-field select:focus, .ofx .ofx-field textarea:focus { outline: none; border-color: var(--ofx-accent); background: #fff; box-shadow: 0 0 0 4px rgba(201, 164, 76, .2); }
.ofx-field.has-error input, .ofx-field.has-error select { border-color: var(--ofx-no); }
.ofx-field__err, .ofx-check__err { color: var(--ofx-no); font-size: 13px; }
.ofx-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 14px; cursor: pointer; }
.ofx-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ofx-primary); }
.ofx-check a { color: var(--ofx-ink) !important; }
.ofx-form__actions { margin-top: 22px; }
.ofx-form__msg { margin-top: 12px; font-weight: 700; }
.ofx-form__msg.is-error { color: var(--ofx-no); }
.ofx-form__done { background: var(--ofx-ivory); border-radius: 20px; padding: 26px; font-size: 17px; color: var(--ofx-ink); }
.ofx-form__done .ofx-btn { margin-top: 16px; }
.ofx-form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }

/* =========================================================================
   Cards, grid, archive
   ========================================================================= */
.ofx-band--related { padding: 96px 0 110px; }
.ofx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.ofx-grid--1 { grid-template-columns: 1fr; }
.ofx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ofx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ofx-cardo { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(10, 26, 46, .35); display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.ofx-cardo:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(10, 26, 46, .45); }
.ofx-cardo__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ofx-ivory); }
.ofx-cardo__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ofx-cardo:hover .ofx-cardo__media img { transform: scale(1.06); }
.ofx-cardo__ph { display: block; width: 100%; height: 100%; background: radial-gradient(ellipse at 80% 20%, #1d4a75, var(--ofx-primary)); }
.ofx-cardo__flag { position: absolute; left: 16px; top: 16px; background: var(--ofx-accent); color: var(--ofx-primary); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.ofx-cardo__dur { position: absolute; left: 16px; bottom: 16px; background: rgba(10, 26, 46, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); }
.ofx-cardo__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; }
.ofx-cardo__eyebrow { font-size: 11px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ofx-gold-dark); margin: 0 0 8px !important; }
.ofx-cardo__title { font-family: var(--ofx-serif); font-weight: 500 !important; font-size: 23px !important; line-height: 1.22 !important; margin-bottom: 10px !important; }
.ofx-cardo__title a { color: var(--ofx-ink) !important; text-decoration: none; }
.ofx-cardo__meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ofx-muted); margin: 0 0 16px !important; }
.ofx-cardo__meta .ofx-ico { color: var(--ofx-gold-dark); }
.ofx-cardo__lead { font-size: 14.5px; color: var(--ofx-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px !important; }
.ofx-cardo__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--ofx-line); }
.ofx-cardo__price { color: var(--ofx-ink); }
.ofx-cardo__price strong { font-family: var(--ofx-serif); font-size: 25px; font-weight: 500; }
.ofx-cardo__price del { font-size: 13px; margin-left: 4px; }
.ofx-cardo__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(10, 26, 46, .16); color: var(--ofx-ink) !important; text-decoration: none; font-size: 18px; transition: background .25s, color .25s, border-color .25s; }
.ofx-cardo:hover .ofx-cardo__go { background: var(--ofx-primary); border-color: var(--ofx-primary); color: #fff !important; }
.ofx-empty { padding: 48px; text-align: center; background: var(--ofx-ivory); border-radius: 24px; color: var(--ofx-muted); }

.ofx-archive__head { background: radial-gradient(ellipse at 85% 10%, #1d4a75 0%, var(--ofx-primary) 60%); color: #fff; padding: 110px 0 120px; }
.ofx-archive__desc { max-width: 720px; color: rgba(255, 255, 255, .85); margin-top: 18px; font-size: 18px; }
.ofx-archive__count { color: rgba(255, 255, 255, .7); margin: 18px 0 0 !important; font-weight: 600; letter-spacing: .06em; }
.ofx-archive__body { padding-bottom: 96px; }
.ofx-archive .ofx-filters { margin-top: -50px; margin-bottom: 44px; }
.ofx-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; background: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--ofx-shadow); position: relative; }
.ofx-filters__f { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; }
.ofx-filters__f span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ofx-muted); }
.ofx .ofx-filters select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid rgba(10, 26, 46, .14); border-radius: 14px; background: #f7f8fa; color: var(--ofx-ink); font-size: 15px; font-family: inherit; }
.ofx-sc { margin: 10px 0 30px; }
.ofx-sc--search { margin: 0; }
.ofx-pager { margin-top: 48px; }
.ofx-pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.ofx-pager a, .ofx-pager span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 50%; border: 1px solid rgba(10, 26, 46, .14); text-decoration: none; font-weight: 700; color: var(--ofx-ink) !important; }
.ofx-pager .current { background: var(--ofx-primary); color: #fff !important; border-color: var(--ofx-primary); }
.ofx-terms { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.ofx-terms a { display: inline-flex; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--ofx-ivory); color: var(--ofx-ink) !important; font-weight: 700; text-decoration: none; }
.ofx-terms span { color: var(--ofx-muted); font-weight: 600; }

/* ---------- mobile bar ---------- */
.ofx-mbar { display: none; }

/* =========================================================================
   Responsive
   ========================================================================= */

/* ===== Header facts (Ideale per, Plus…) ===== */
.ofx-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin: 26px 0 0 !important; padding: 0 !important; max-width: 700px; }
.ofx-hero__facts li { display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px !important; margin: 0 !important; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.35; max-width: 100%; }
.ofx-hero__facts small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ofx-gold-light); margin-bottom: 2px; }
.ofx-hero__fico { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(201, 164, 76, .2); color: var(--ofx-gold-light); display: grid; place-items: center; }
.ofx-hero__fico .ofx-ico { width: 18px; height: 18px; }

/* ===== L'offerta – compact overview ===== */
.ofx-band--offer[class*="ofx-band--ov-"] { padding-bottom: 24px; }
.ofx-split--ov { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
.ofx-ov--read, .ofx-ov--solo { max-width: 860px; }
.ofx-ov--read { margin: 0 auto; }
.ofx-ov--read .ofx-legacy > p:first-child, .ofx-ov--solo .ofx-legacy > p:first-child { font-family: var(--ofx-serif); font-size: clamp(20px, 1.8vw, 24px) !important; font-weight: 400 !important; line-height: 1.55 !important; color: var(--ofx-ink) !important; }
.ofx-ov--read .ofx-legacy > p:first-child strong, .ofx-ov--solo .ofx-legacy > p:first-child strong { font-weight: 600; }

.ofx-ov--read .ofx-head, .ofx-ov--solo .ofx-head { margin-bottom: 34px; }
.ofx-ov .ofx-tip, .ofx-split--ov .ofx-tip { margin: 30px 0 0; }
.ofx-legacy--tips > :first-child { margin-top: 28px !important; }
.ofx-ov__h { font-family: var(--ofx-serif); font-weight: 500; font-size: clamp(23px, 2.1vw, 28px); color: var(--ofx-ink); margin: 40px 0 16px !important; line-height: 1.25; }
/* the old text's own big headings are handled by the layout now */
.ofx-split--ov .ofx-legacy, .ofx-tabs--ov .ofx-legacy, .ofx-ov .ofx-legacy { font-size: 16.5px; }
.ofx-split--ov .ofx-split__main .ofx-legacy > p:first-child, .ofx-tabs--ov .ofx-ov-first .ofx-legacy > p:first-child { font-family: var(--ofx-serif); font-size: clamp(20px, 1.7vw, 23px) !important; font-weight: 400 !important; line-height: 1.55 !important; color: var(--ofx-ink) !important; }
.ofx-split--ov .ofx-split__main .ofx-legacy > p:first-child strong, .ofx-tabs--ov .ofx-ov-first .ofx-legacy > p:first-child strong { font-weight: 600; }

/* "Leggi tutto" */
.ofx-clamp { position: relative; max-height: 330px; overflow: hidden; }
.ofx-clamp--tall { max-height: 520px; }
.ofx-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 88%); pointer-events: none; }
.ofx-clamp.is-open { max-height: none; }
.ofx-clamp.is-open::after { display: none; }
.ofx-clamp__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0 0 4px; border: 0; border-bottom: 1px solid var(--ofx-accent); background: none; color: var(--ofx-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ofx-clamp__btn:hover { color: var(--ofx-gold-dark); }
.ofx-clamp.is-open + .ofx-clamp__btn span:last-child { transform: rotate(180deg); }
.ofx-clamp__btn[hidden] { display: none; }
.ofx-clamp.ofx-clamp--mobile { max-height: none; }
.ofx-clamp.ofx-clamp--mobile::after { display: none; }

/* B: accordion beside the intro */
.ofx-faq--ov details:first-child { border-top: 1px solid var(--ofx-line); }
.ofx-faq--ov summary { padding: 24px 0; }
.ofx-faq--ov .ofx-faq__q { font-family: var(--ofx-serif); font-weight: 500; font-size: 22px; }
.ofx-faq--ov .ofx-faq__a { padding: 0 0 30px 58px; }
.ofx-faq--ov .ofx-legacy { font-size: 16px; }
.ofx-faq--ov .ofx-legacy table { border-spacing: 10px !important; width: calc(100% + 20px) !important; margin: -10px -10px 0 !important; }
.ofx-faq--ov .ofx-legacy td[style*="background"] { padding: 16px 18px !important; font-size: 14.5px; }
.ofx-faq--ov .ofx-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* A: tabs */
.ofx-tabs--ov .ofx-tabs__panel { padding: 46px 52px; }
.ofx-tabs--ov .ofx-tabs__btn:first-child:not(.is-active) { border-color: rgba(201, 164, 76, .6); }
.ofx-ov-first { columns: 2 320px; column-gap: 56px; }
.ofx-ov-first > * { break-inside: avoid-column; }
.ofx-ov-first .ofx-legacy > p:first-child { column-span: all; }
.ofx-ov-first .ofx-tip, .ofx-ov-first .ofx-legacy--tips { break-inside: avoid; }

/* structured blocks inside the overview */
.ofx-why--mini { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 32px; }
.ofx-tabs--ov .ofx-why--mini { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.ofx-why--mini .ofx-why__item { display: flex; gap: 16px; align-items: flex-start; background: none; border: 0; border-radius: 0; padding: 0; }
.ofx-why--mini .ofx-why__item:hover { transform: none; box-shadow: none; }
.ofx-why--mini .ofx-why__ico { flex: none; width: 44px; height: 44px; }
.ofx-why--mini .ofx-why__ico .ofx-ico { width: 20px; height: 20px; }
.ofx-why--mini h4 { font-size: 16px; font-weight: 700; color: var(--ofx-ink); margin: 2px 0 4px !important; padding: 0; }
.ofx-why--mini p { font-size: 14.5px; }
.ofx-ov .ofx-souls, .ofx-faq--ov .ofx-souls, .ofx-tabs--ov .ofx-souls { gap: 26px; }
.ofx-faq--ov .ofx-souls { grid-template-columns: 1fr; }
.ofx-souls__item > div h4 { font-family: var(--ofx-serif); font-weight: 500; font-size: 22px; margin: 0 0 6px !important; color: var(--ofx-ink); }
.ofx-faq--ov .ofx-souls__item, .ofx-ov .ofx-souls__item { display: flex; gap: 18px; border-top: 0; padding-top: 0; }
.ofx-faq--ov .ofx-souls__n, .ofx-ov .ofx-souls__n { font-size: 30px; margin: 0; }
.ofx-ov-quote { margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--ofx-accent); font-family: var(--ofx-serif); font-style: italic; font-size: 21px; line-height: 1.55; color: var(--ofx-ink); }
.ofx-ov-quote p:last-child { margin: 0; }

@media (max-width: 1180px) {
	.ofx-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ofx-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ofx-hero__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
	.ofx-split--cta { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; }
}
@media (max-width: 980px) {
	.ofx-band { padding: 72px 0; }
	.ofx-bbar { display: none; }
	.ofx-hero { min-height: 0; }
	.ofx-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 120px; padding-bottom: 40px; }
	.ofx-hero__card { max-width: 520px; }
	.ofx-split, .ofx-split--itin, .ofx-split--faq, .ofx-split--price, .ofx-split--cta { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ofx-split--solo, .ofx-split--ov { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.ofx-tabs--ov .ofx-tabs__panel { padding: 30px 26px; }
	.ofx-tabs--ov .ofx-why--mini { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.ofx-ov-first { columns: auto; }
	.ofx-sticky { position: static; }
	.ofx-split__aside--left .ofx-head { margin-bottom: 20px; }
	.ofx-souls { grid-template-columns: 1fr; gap: 28px; }
	.ofx-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
	.ofx-hotel, .ofx-hotel.is-flip { grid-template-columns: 1fr; }
	.ofx-hotel.is-flip .ofx-hotel__img { order: 0; }
	.ofx-hotel__img img { min-height: 260px; max-height: 340px; }
	.ofx-hotel__body { padding: 32px 28px; }
	.ofx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
	.ofx-gallery .ofx-gallery__item { grid-column: span 1; grid-row: span 1; }
	.ofx-gallery .ofx-gallery__item:first-child { grid-column: 1 / -1; grid-row: span 2; }
	.ofx-gallery--n2 .ofx-gallery__item:last-child, .ofx-gallery--n4 .ofx-gallery__item:last-child { grid-column: 1 / -1; }
	.ofx-tabs__panel { padding: 30px 26px; border-radius: 22px; }
	.ofx-incl { grid-template-columns: 1fr; gap: 28px; }
	.ofx-list--cols { column-count: 1; }
	.ofx-grid, .ofx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ofx-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -12px rgba(10, 26, 46, .3); transform: translateY(110%); transition: transform .3s ease; }
	.ofx-mbar.is-visible { transform: none; }
	.ofx-mbar__price { flex: 1; color: var(--ofx-ink); line-height: 1.1; }
	.ofx-mbar__price strong { font-family: var(--ofx-serif); font-size: 22px; font-weight: 600; }
	.ofx-mbar .ofx-btn { min-height: 48px; padding: 0 20px; }
	.ofx-mbar .ofx-btn--icon { width: 48px; padding: 0; }
	body.ofx-page { padding-bottom: 76px; }
}
@media (max-width: 680px) {
	.ofx { font-size: 16px; }
	.ofx-wrap { padding: 0 20px; }
	.ofx-band { padding: 60px 0; }
	.ofx-head { margin-bottom: 30px; }
	.ofx-hero__grid { padding-top: 100px; }
	.ofx-hero__cta .ofx-btn { flex: 1 1 100%; }
	.ofx-hero__link { width: 100%; justify-content: center; }
	.ofx-trust--hero { font-size: 13px; }
	.ofx-hero__card { padding: 24px 22px; border-radius: 22px; }
	.ofx-hc__price strong { font-size: 44px; }
	.ofx-why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
	.ofx-why__item { padding: 20px 16px; border-radius: 18px; }
	.ofx-why__top { margin-bottom: 14px; }
	.ofx-why__ico { width: 42px; height: 42px; }
	.ofx-why h3 { font-size: 15.5px; }
	.ofx-why p { font-size: 13.5px; }
	.ofx-tl__item { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 34px; }
	.ofx-tl__item::before { left: 21px; top: 50px; }
	.ofx-tl__n { width: 44px; height: 44px; font-size: 15px; }
	.ofx-tl__body h3 { font-size: 21px; }
	.ofx-hotel__rows { grid-template-columns: 1fr 1fr; }
	.ofx-brief dd { font-size: 18px; }
	.ofx-dep { grid-template-columns: 58px minmax(0, 1fr); }
	.ofx-dep__end { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
	.ofx-faq summary { grid-template-columns: 32px minmax(0, 1fr) 34px; gap: 10px; padding: 18px 0; }
	.ofx-faq__pm { width: 34px; height: 34px; }
	.ofx-faq__q { font-size: 16px; }
	.ofx-faq__a { padding: 0 0 20px 42px; }
	.ofx-faq--ov .ofx-faq__a { padding: 0 0 24px 0; }
	.ofx-faq--ov .ofx-faq__q { font-size: 19px; }
	.ofx-why--mini, .ofx-tabs--ov .ofx-why--mini, .ofx-faq--ov .ofx-brief { grid-template-columns: 1fr !important; }
	.ofx-hero__facts li { width: 100%; }
	.ofx-clamp { max-height: 300px; }
	.ofx-clamp--tall { max-height: 420px; }
	.ofx-clamp.ofx-clamp--mobile { max-height: 380px; }
	.ofx-clamp.ofx-clamp--mobile.is-open { max-height: none; }
	.ofx-clamp.ofx-clamp--mobile:not(.is-open)::after { display: block; }
	.ofx-tabs--ov .ofx-clamp::after { background: linear-gradient(rgba(255, 255, 255, 0), #fff 88%); }
	.ofx-form-card { padding: 28px 20px; border-radius: 22px; }
	.ofx-cta__alt { grid-template-columns: 1fr; }
	.ofx-grid, .ofx-grid--2, .ofx-grid--4 { grid-template-columns: 1fr; }
	.ofx-legacy table, .ofx-legacy tbody, .ofx-legacy tr, .ofx-legacy td { display: block; width: 100% !important; }
	.ofx-legacy table { border-spacing: 0 !important; margin: 0 0 10px !important; }
	.ofx-legacy td { margin-bottom: 10px; }
	.ofx-archive__head { padding: 90px 0 96px; }
}
@media (prefers-reduced-motion: reduce) {
	.ofx *, .ofx *::before { transition: none !important; animation: none !important; }
}
