/* =========================================================================
   CIPRIAN — Rome tours & booking
   Design system · "Rome without clichés"
   Mobile-first · Warm Ivory / Terracotta / Charcoal / Pine
   ========================================================================= */

/* ------------------------------------------------------------------ tokens */
:root {
    /* color */
    --bg: #F7F3EA;
    --bg-cream: #FCFAF4;
    --bg-white: #FFFFFF;
    --bg-pale-terracotta: #F4E7E0;
    --bg-pale-ochre: #F6EDDC;

    --brand: #B9573F;
    --brand-600: #A34A33;
    --brand-700: #8C3E2B;
    --ochre: #D39A45;
    --ochre-600: #B97F2E;

    --charcoal: #25231F;
    --ink: #2B2924;
    --pine: #365447;
    --pine-600: #2C463A;
    --blue: #263A4A;

    --text: #2B2924;
    --muted: #6E6860;
    --faint: #9A948A;
    --line: #EAE2D2;
    --line-strong: #DDD2BE;

    --success: #2F6B4F;
    --danger: #B03A2E;
    --warning: #B9772E;

    /* typography */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* spacing */
    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
    --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

    /* radius */
    --r-card: 18px;
    --r-btn: 12px;
    --r-input: 12px;
    --r-img: 16px;
    --r-pill: 999px;

    /* shadow */
    --shadow-sm: 0 1px 2px rgba(37, 35, 31, .06);
    --shadow-panel: 0 8px 30px rgba(37, 35, 31, .12);
    --shadow-float: 0 12px 40px rgba(37, 35, 31, .16);

    --container: 1240px;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.15; color: var(--ink); }
p { margin: 0; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ typography */
.display {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.08;
    color: var(--ink);
}
.eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brand);
}
.lead { font-size: 17px; color: var(--muted); }
.small { font-size: 14px; }
.muted { color: var(--muted); }

h1.display { font-size: clamp(34px, 7.4vw, 56px); }
h2.display { font-size: clamp(27px, 5.2vw, 40px); }
h3.display { font-size: clamp(22px, 4.2vw, 30px); }

/* ------------------------------------------------------------------ buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: var(--r-btn);
    font-weight: 600; font-size: 15.5px; line-height: 1;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease, opacity .16s;
    white-space: nowrap; text-align: center;
    min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(185, 87, 63, .28); }
.btn-primary:hover { background: var(--brand-600); }
.btn-primary:focus-visible { outline: 3px solid rgba(185, 87, 63, .35); outline-offset: 2px; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #38352e; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--brand); padding: 10px 14px; }
.btn-lg { padding: 16px 28px; font-size: 16.5px; min-height: 54px; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 14px; min-height: 38px; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; }

/* ------------------------------------------------------------------ badges */
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 10px; border-radius: var(--r-pill); line-height: 1;
}
.badge-bestseller { background: var(--brand); color: #fff; }
.badge-exclusive { background: var(--charcoal); color: #fff; }
.badge-new { background: var(--ochre); color: #3a2a10; }
.badge-sellout { background: #E4A93B; color: #3a2a10; }
.badge-small { background: var(--pine); color: #fff; }
.badge-skip { background: var(--blue); color: #fff; }
.badge-private { background: #4b3a63; color: #fff; }

/* ------------------------------------------------------------------ header */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(247, 243, 234, .86);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.brand__name em { font-style: normal; color: var(--brand); }

.main-nav { display: none; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { background: var(--bg-pale-terracotta); color: var(--brand-700); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-actions .btn { min-height: 40px; padding: 9px 14px; font-size: 14px; }
.icon-btn {
    width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 11px; color: var(--ink); transition: background .15s;
}
.icon-btn:hover { background: var(--bg-pale-terracotta); }
.icon-btn svg { width: 20px; height: 20px; }

/* language switch */
.lang-switch { position: relative; }
.lang-switch__btn {
    display: inline-flex; align-items: center; gap: 4px;
    height: 40px; padding: 0 12px; border-radius: 11px;
    font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink);
    border: 1px solid transparent;
}
.lang-switch__btn:hover { background: var(--bg-pale-terracotta); }
.lang-switch__menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px;
    background: var(--bg-white); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-panel); padding: 6px; display: none; z-index: 70;
    max-height: 360px; overflow-y: auto;
}
.lang-switch__menu.open { display: block; }
.lang-switch__menu a {
    display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink);
}
.lang-switch__menu a:hover { background: var(--bg-pale-terracotta); }
.lang-switch__menu a.is-active { color: var(--brand); font-weight: 700; }
.drawer__body a.nav-item.is-active { color: var(--brand); }

@media (min-width: 1080px) {
    .main-nav { display: flex; align-items: center; gap: 2px; margin-left: 28px; }
    .nav-burger { display: none; }
}

/* ------------------------------------------------------------------ drawer nav (mobile) */
.drawer-overlay {
    position: fixed; inset: 0; background: rgba(37, 35, 31, .45); z-index: 90;
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); z-index: 95;
    background: var(--bg-cream); transform: translateX(102%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    display: flex; flex-direction: column; overflow: hidden;
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 12px 24px; }
.drawer__body .nav-group { margin-bottom: 8px; }
.drawer__body a.nav-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 14px; border-radius: 12px; font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.drawer__body a.nav-item:hover { background: var(--bg-pale-terracotta); }
.drawer__body .nav-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 14px 14px 6px; }
.drawer__foot { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; }
/* NB: usa solo padding-top/bottom separati, MAI shorthand `padding: … 0 …` che azzererebbe
   il padding laterale del .container (mobile 20px / 32px / 40px) lasciando il contenuto attaccato ai bordi */
.hero__inner { position: relative; padding-top: 48px; }
.hero__grid { display: grid; gap: 44px; align-items: center; }
.hero__copy { max-width: 640px; }
.hero__copy .display { margin: 14px 0 18px; }
.hero__copy p { font-size: 17.5px; color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: 13.5px; color: var(--muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--pine); }

/* Visual — layered editorial photo composition ("Roman light & stone") */
.hero__visual { position: relative; }
.hero__media {
    position: relative; margin: 0; border-radius: var(--r-img);
    overflow: hidden; background: var(--bg-pale-terracotta, #F4ECE0);
    box-shadow: var(--shadow-float);
}
.hero__media img {
    display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover;
    transform: scale(1.02); transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.hero__visual:hover .hero__media img { transform: scale(1.07); }
.hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(37,35,31,0) 45%, rgba(37,35,31,.5) 100%);
}
.hero__caption {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    padding: 7px 14px; border-radius: var(--r-pill, 999px);
    background: rgba(37,35,31,.4); backdrop-filter: blur(4px);
    color: #fff; font-size: 11.5px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
}
.hero__quote {
    position: absolute; left: 16px; bottom: 16px; z-index: 2;
    margin: 0; max-width: min(320px, 82%);
    padding: 16px 18px; border-radius: 14px;
    background: rgba(252,250,244,.92); backdrop-filter: blur(8px);
    border: 1px solid rgba(234,226,210,.9); border-left: 3px solid var(--brand, var(--ochre, #D39A45));
    box-shadow: var(--shadow-panel, 0 10px 30px rgba(37,35,31,.14));
    transition: transform .25s ease, box-shadow .25s ease;
}
.hero__quote p {
    font-family: var(--font-display); font-style: italic;
    font-size: 16.5px; line-height: 1.4; color: var(--ink, #25231F);
}
.hero__quote:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }

/* ambient glow behind the visual */
.hero__visual::before {
    content: ""; position: absolute; z-index: -1; top: -40px; right: -40px;
    width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(211,154,69,.28), rgba(211,154,69,0) 70%);
    pointer-events: none;
}

/* Search widget seat */
.hero__search { position: relative; z-index: 3; margin-top: 48px; }

/* entrance */
@keyframes heroRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__copy > *, .hero__media, .hero__search { animation: heroRise .65s cubic-bezier(.2,.7,.2,1) both; }
.hero__copy > *:nth-child(1) { animation-delay: .04s; }
.hero__copy > *:nth-child(2) { animation-delay: .1s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .22s; }
.hero__copy > *:nth-child(5) { animation-delay: .28s; }
.hero__media { animation-delay: .1s; }
.hero__search { animation-delay: .34s; }
@media (prefers-reduced-motion: reduce) {
    .hero__copy > *, .hero__media, .hero__search { animation: none; }
    .hero__media img { transition: none; }
}

@media (min-width: 900px) {
    .hero__inner { padding-top: 72px; padding-bottom: 32px;; }
    .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
    .hero__visual { order: 2; }
    .hero__search { margin-top: 56px; }
}

/* ------------------------------------------------------------------ search widget */
.search-widget {
    background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--shadow-panel); padding: 18px; margin: 8px 0 0;
}
.search-widget form { display: grid; gap: 12px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; }
.field input, .field select, .field textarea {
    width: 100%; border: 1.5px solid var(--line-strong); border-radius: var(--r-input);
    padding: 12px 14px; background: var(--bg-cream); font-size: 15.5px; color: var(--ink);
    min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185, 87, 63, .13); background: #fff;
}
.field textarea { min-height: 100px; resize: vertical; }
@media (min-width: 720px) {
    .search-widget form { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; }
}

/* ------------------------------------------------------------------ sections */
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--bg-cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--charcoal); color: #EDE8DE; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #FBF7EF; }
.section--dark .muted, .section--dark .lead { color: #B9B2A6; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head .lead { margin-top: 8px; max-width: 56ch; }
.section-head__link { font-weight: 600; color: var(--brand); white-space: nowrap; }
.section-head__link:hover { color: var(--brand-700); }

/* ------------------------------------------------------------------ tour cards */
.card-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.tour-card {
    background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card);
    overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-panel); }
.tour-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-pale-terracotta); }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-card:hover .tour-card__media img { transform: scale(1.04); }
.tour-card__badge { position: absolute; top: 12px; left: 12px; }
.tour-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tour-card__title { font-size: 17.5px; font-weight: 650; line-height: 1.25; color: var(--ink); }
.tour-card__meta { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.tour-card__meta .rating { color: var(--ink); font-weight: 600; }
.tour-card__meta .stars { color: var(--ochre); display: inline-flex; }
.tour-card__price { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--muted); }
.tour-card__price strong { font-size: 18px; color: var(--ink); font-weight: 700; }

.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.rating .stars { color: var(--ochre); display: inline-flex; }
.stars { display: inline-flex; gap: 1px; }

/* ------------------------------------------------------------------ category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-tile {
    position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3;
    display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20, 18, 15, .72)); }
.cat-tile__label { position: relative; z-index: 1; padding: 14px; font-size: 16px; font-weight: 650; }

/* ------------------------------------------------------------------ trust items */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-pale-terracotta); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.trust-item__icon svg { width: 22px; height: 22px; }
.trust-item h4 { font-size: 15.5px; margin-bottom: 3px; }
.trust-item p { font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------------ why book / dark section */
.why-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.why-card { padding: 26px; border-radius: var(--r-card); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.why-card h3 { color: #FBF7EF; font-size: 18px; margin: 14px 0 8px; }
.why-card p { color: #B9B2A6; font-size: 14.5px; }
.why-card__icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(211, 154, 69, .16); color: var(--ochre); display: flex; align-items: center; justify-content: center; }
.why-card__icon svg { width: 21px; height: 21px; }

/* ------------------------------------------------------------------ review cards */
.review-card { background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.review-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-pale-terracotta); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.review-card__name { font-weight: 650; font-size: 14.5px; }
.review-card__meta { font-size: 12.5px; color: var(--muted); }
.review-card p { font-size: 14.5px; color: var(--text); }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--success); font-weight: 600; }
.verified svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ FAQ accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 4px; text-align: left; font-size: 16px; font-weight: 600; color: var(--ink);
}
.accordion__btn .chev { flex: none; width: 20px; height: 20px; color: var(--brand); transition: transform .2s; }
.accordion__item.open .chev { transform: rotate(180deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.accordion__panel-inner { padding: 0 4px 18px; color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--charcoal); color: #B9B2A6; padding: 56px 0 28px; }
.site-footer h4 { color: #FBF7EF; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { display: block; padding: 5px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: 14px; max-width: 34ch; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; }
.footer-bottom a { display: inline; padding: 0 10px 0 0; }

/* ------------------------------------------------------------------ page header (inner pages) */
.page-head { padding: 40px 0 24px; }
.page-head .breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.page-head .breadcrumbs a:hover { color: var(--brand); }
.page-head .breadcrumbs .sep { color: var(--faint); }

/* ------------------------------------------------------------------ category filter chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); font-size: 14px; font-weight: 600; background: var(--bg-white); color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

/* ------------------------------------------------------------------ product page */
.tour-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .tour-layout { grid-template-columns: 1fr 380px; align-items: start; } }

.gallery { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-pale-terracotta); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.quick-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-fact { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--bg-white); border: 1px solid var(--line); border-radius: 14px; }
.quick-fact__icon { color: var(--brand); flex: none; }
.quick-fact__icon svg { width: 20px; height: 20px; }
.quick-fact b { display: block; font-size: 14.5px; }
.quick-fact span { font-size: 12.5px; color: var(--muted); }

.booking-panel {
    background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--shadow-panel); padding: 22px; position: sticky; top: 84px;
}
.booking-panel__price { font-size: 14px; color: var(--muted); }
.booking-panel__price strong { font-size: 30px; color: var(--ink); font-family: var(--font-display); }
.booking-panel .divider { height: 1px; background: var(--line); margin: 16px 0; }
.booking-panel__note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.booking-panel__note svg { width: 15px; height: 15px; color: var(--pine); }

/* sticky mobile booking bar */
.sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--bg-white); border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 -6px 24px rgba(37, 35, 31, .1);
    transform: translateY(120%); transition: transform .28s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar__price { font-size: 13px; color: var(--muted); line-height: 1.2; }
.sticky-bar__price strong { font-size: 18px; color: var(--ink); display: block; }
.sticky-bar .btn { flex: 1; }
@media (min-width: 1024px) { .sticky-bar { display: none; } }

/* highlights list */
.check-list li { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.check-list svg { width: 19px; height: 19px; color: var(--pine); flex: none; margin-top: 3px; }
.check-list--x svg { color: var(--faint); }
.check-list li span { font-size: 15.5px; }

/* itinerary timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line-strong); }
.timeline__item { position: relative; padding-bottom: 22px; }
.timeline__dot { position: absolute; left: -30px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-white); border: 2px solid var(--brand); }
.timeline__item h4 { font-size: 16px; margin-bottom: 2px; }
.timeline__item .dur { font-size: 12.5px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.timeline__item p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }

/* meeting point */
.meeting-box { background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: grid; gap: 14px; }
@media (min-width: 768px) { .meeting-box { grid-template-columns: 1fr 1fr; } }
.meeting-map { border-radius: var(--r-img); overflow: hidden; min-height: 220px; background: var(--bg-pale-ochre); position: relative; display: flex; align-items: center; justify-content: center; }
.meeting-map .pin { text-align: center; }
.meeting-map .pin svg { width: 40px; height: 40px; color: var(--brand); }

/* ------------------------------------------------------------------ booking flow */
.steps { display: flex; gap: 8px; margin-bottom: 26px; }
.step { flex: 1; height: 5px; border-radius: 99px; background: var(--line-strong); }
.step.active { background: var(--brand); }
.step.done { background: var(--pine); }

.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar__dow { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--faint); padding: 6px 0; }
.calendar__day {
    aspect-ratio: 1; border-radius: 12px; border: 1.5px solid transparent;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    font-size: 14.5px; font-weight: 600; color: var(--ink); position: relative;
    min-height: 44px;
}
.calendar__day:hover:not(.is-empty):not(.is-disabled) { background: var(--bg-pale-terracotta); }
.calendar__day.is-empty { visibility: hidden; }
.calendar__day.is-disabled { color: var(--faint); background: var(--bg-cream); cursor: not-allowed; }
.calendar__day.is-selected { background: var(--charcoal); color: #fff; }
.calendar__day .price-tag { font-size: 10px; color: var(--muted); font-weight: 500; }
.calendar__day.is-selected .price-tag { color: rgba(255,255,255,.8); }
.calendar__day.is-low::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--ochre); }

.time-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .time-slots { grid-template-columns: repeat(3, 1fr); } }
.time-slot {
    border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 12px; text-align: left;
    background: var(--bg-white); transition: border-color .15s, background .15s;
    display: flex; flex-direction: column; gap: 3px;
}
.time-slot:hover:not(.is-disabled) { border-color: var(--ink); }
.time-slot.is-selected { border-color: var(--brand); background: var(--bg-pale-terracotta); }
.time-slot.is-disabled { opacity: .5; cursor: not-allowed; }
.time-slot b { font-size: 15px; }
.time-slot span { font-size: 12px; color: var(--muted); }
.time-slot .low { color: var(--warning); font-weight: 600; }

/* guest selector */
.guest-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.guest-row:last-child { border-bottom: none; }
.guest-row__info { flex: 1; }
.guest-row__info b { font-size: 15.5px; }
.guest-row__info span { display: block; font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button {
    width: 40px; height: 40px; border-radius: 11px; border: 1.5px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; color: var(--ink);
    background: var(--bg-white);
}
.stepper button:hover { border-color: var(--ink); }
.stepper output { width: 30px; text-align: center; font-weight: 650; font-size: 16px; }

/* summary / checkout */
.summary-card { background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 17px; }
.summary-row .muted { color: var(--muted); }

/* checkout layout */
.checkout-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .checkout-layout { grid-template-columns: 1fr 400px; align-items: start; } }
.checkout-main { background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.form-section { margin-bottom: 22px; }
.form-section h3 { font-size: 16px; margin-bottom: 14px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.checkbox-row input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); }
.checkbox-row a { color: var(--brand); text-decoration: underline; }

/* secure checkout strip */
.secure-strip { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 10px 0; }
.secure-strip svg { width: 16px; height: 16px; color: var(--success); }

/* ------------------------------------------------------------------ confirmation */
.confirm-hero { text-align: center; padding: 40px 0 10px; }
.confirm-hero__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-pale-terracotta); color: var(--brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirm-hero__icon svg { width: 36px; height: 36px; }
.voucher-card { background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-panel); }
.voucher-card__head { background: var(--charcoal); color: #FBF7EF; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.voucher-card__head .ref { font-family: var(--font-display); font-size: 20px; }
.voucher-card__body { padding: 24px; display: grid; gap: 16px; }
@media (min-width: 768px) { .voucher-card__body { grid-template-columns: 1fr auto; align-items: start; } }
.voucher-qr { text-align: center; }
.voucher-qr img { width: 160px; height: 160px; border-radius: 12px; }

/* ------------------------------------------------------------------ alerts */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; margin-bottom: 16px; }
.alert-error { background: #FBE9E7; color: #7C2B20; border: 1px solid #F2C9C2; }
.alert-success { background: #E9F3EE; color: #1F5638; border: 1px solid #C5E2D2; }
.alert-info { background: #EDF0F6; color: #263A4A; border: 1px solid #D3DAE6; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* ------------------------------------------------------------------ article / prose */
.prose { max-width: 720px; font-size: 16.5px; line-height: 1.75; }
.prose p { margin-bottom: 18px; color: #3a3731; }
.prose h2 { margin: 28px 0 12px; }
.prose img { border-radius: var(--r-img); margin: 24px 0; }

/* ------------------------------------------------------------------ empty / loading states */
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state h3 { margin-bottom: 8px; }
.empty-state .btn { margin-top: 18px; }
.loading-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; padding: 16px 0; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ cookie banner */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
    background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--r-card);
    box-shadow: var(--shadow-float); padding: 18px; display: flex; flex-direction: column; gap: 12px;
    font-size: 13.5px; color: var(--muted); max-width: 520px;
}
@media (min-width: 640px) { .cookie-banner { flex-direction: row; align-items: center; left: auto; } }
.cookie-banner .btn { flex: none; }

/* ------------------------------------------------------------------ misc utilities */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 24px; }
.hidden { display: none !important; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* ------------------------------------------------------------------ tour gallery */
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 640px) { .gallery-thumbs { grid-template-columns: repeat(2, 1fr); } }
.gallery-thumb { border-radius: var(--r-card); overflow: hidden; display: block; aspect-ratio: 16 / 10; background: var(--bg-pale-terracotta); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-thumb:hover img { transform: scale(1.04); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 16, 12, .92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s ease; padding: 24px; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lightbox__body { max-width: min(1000px, 92vw); }
.lightbox__body img { max-width: 100%; max-height: 82vh; border-radius: 10px; display: block; margin: 0 auto; }
.lightbox__body figcaption { color: rgba(255,255,255,.75); font-size: 13.5px; text-align: center; margin-top: 10px; }

