/* =======================================================================
   Capri Tours — base stylesheet
   Colors are set as CSS custom properties in inc/theme-options.php and
   are fully editable from wp-admin (Impostazioni Tema). The values below
   are just the design-time fallback, matching privatetoursofcapri.com's
   palette (soft neutrals + Capri sea blue) with a warm accent for CTAs.
   ======================================================================= */

:root {
	--color-primary: #1F6F82;
	--color-primary-dark: #123C48;
	--color-accent: #D98A3D;
	--color-dark: #2B2B2B;
	--color-bg: #F7F6F3;
	--color-muted: #6B6B6B;
	--color-white: #FFFFFF;
	--color-border: #E5E2DA;
	--color-success: #3E8E5A;
	--color-danger: #C1503F;
	--color-deal: #D6007F;
	--color-deal-dark: #5B1470;

	--font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-display: 'Cormorant Garamond', Georgia, serif;

	--container-width: 1200px;
	--radius: 10px;
	--radius-lg: 18px;
	--shadow-sm: 0 2px 8px rgba(18, 60, 72, 0.08);
	--shadow-md: 0 12px 32px rgba(18, 60, 72, 0.12);
	--transition: 0.25s ease;
}

/* ---------------------------------------------------------------------
   Reset
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-dark);
	background: var(--color-white);
	line-height: 1.6;
	font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; color: var(--color-primary-dark); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--color-primary); color: #fff; padding: 0.75em 1.5em; z-index: 10000; }
.skip-link:focus { left: 0; }

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.icon { width: 1.1em; height: 1.1em; vertical-align: -0.15em; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0.85em 1.8em;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	border: 2px solid transparent;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { filter: brightness(0.92); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--sm { padding: 0.55em 1.2em; font-size: 0.85rem; }

/* ---------------------------------------------------------------------
   Section heading
   --------------------------------------------------------------------- */
.section-heading { margin-bottom: 2.5rem; }
.section-heading--center { text-align: center; }
.section-heading__eyebrow {
	text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
	font-weight: 700; color: var(--color-accent); margin-bottom: 0.5em;
}
.section-heading__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.section-heading__title--center { text-align: center; margin-bottom: 2.5rem; }
.section-heading__subtitle { color: var(--color-muted); max-width: 560px; margin: 0.75em auto 0; }

section { padding: 4.5rem 0; }
section + section { padding-top: 0; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 500; background: #fff; box-shadow: var(--shadow-sm); }
/* Pre-header contact bar, modelled on toursofcapri.com: contacts inline
   on the left, socials hard right separated by hairline rules. The
   background stays bound to --color-primary-dark so the strip follows
   whatever palette is set in Impostazioni Tema. */
.site-header__top { background: var(--color-primary-dark); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.17); }
.site-header__top-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 44px; }

.topbar-contacts { display: flex; align-items: center; gap: 1.75rem; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 0.45em; color: #fff; font-size: 0.9375rem; font-weight: 600; line-height: 1; transition: color var(--transition); }
.topbar-contacts a:hover { color: var(--color-accent); }
.topbar-contacts .icon { width: 14px; height: 14px; flex: 0 0 auto; vertical-align: 0; }

.topbar-socials { display: flex; align-items: center; }
.topbar-socials a { display: flex; align-items: center; justify-content: center; padding: 0 10px; color: #fff; transition: color var(--transition); }
.topbar-socials a:hover { color: var(--color-accent); }
.topbar-socials .icon { width: 16px; height: 16px; vertical-align: 0; }
/* The divider belongs between icons, never trailing off the last one --
   and the last item loses its right padding so the row ends flush with
   the container edge. */
.topbar-socials li:not(:last-child) a { border-right: 1px solid rgba(241,241,241,0.39); }
.topbar-socials li:last-child a { padding-right: 0; }

.site-header__main-inner { display: flex; align-items: center; gap: 2rem; padding: 0.9em 0; }
.site-logo { display: flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--color-primary-dark); }
.site-logo img { max-height: 52px; width: auto; }
.site-logo__text { white-space: nowrap; }
/* Full wordmark by default; the icon-only mark takes over on small screens (see breakpoint below). */
.site-logo__icon { display: none; max-height: 40px; }
.site-logo--footer img { filter: brightness(0) invert(1); }

.site-nav { flex: 1; }
.site-nav__list { display: flex; gap: 1.8rem; align-items: center; }
.site-nav__list a { font-weight: 700; font-size: 0.95rem; color: var(--color-dark); position: relative; padding: 0.3em 0; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { color: var(--color-primary); }
.site-nav__list .current-menu-item > a::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-accent);
}
.site-nav__list ul { position: absolute; background: #fff; box-shadow: var(--shadow-md); border-radius: var(--radius); padding: 0.5em 0; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); }
.site-nav__list li { position: relative; }
.site-nav__list li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav__list ul a { display: block; padding: 0.6em 1.2em; }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 0.4em; }
.menu-toggle span { width: 24px; height: 2px; background: var(--color-dark); border-radius: 2px; }

/* ---------------------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------------------- */
.breadcrumbs { padding: 1em 0 0; font-size: 0.85rem; color: var(--color-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4em; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 0.4em; color: var(--color-border); }
.breadcrumbs a { color: var(--color-primary); }

/* ---------------------------------------------------------------------
   Hero block
   --------------------------------------------------------------------- */
.block-hero {
	position: relative;
	background-size: cover; background-position: center;
	background-color: var(--color-primary-dark);
	padding: 0; min-height: 640px; display: flex; flex-direction: column; justify-content: center;
	color: #fff;
}
.block-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(18,60,72,0.55) 0%, rgba(18,60,72,0.35) 45%, rgba(18,60,72,0.75) 100%);
}
.block-hero__inner { position: relative; text-align: center; padding: 6rem 24px 4rem; }
.block-hero__eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.85rem; font-weight: 700; color: var(--color-accent); }
.block-hero__title { font-size: clamp(2.2rem, 5vw, 4rem); color: #fff; margin-bottom: 0.3em; }
.block-hero__subtitle { font-size: 1.15rem; max-width: 640px; margin: 0 auto 2em; color: rgba(255,255,255,0.9); }

.block-hero__search {
	display: flex; align-items: center; gap: 0.6em;
	max-width: 560px; margin: 0 auto; background: #fff; border-radius: 999px; padding: 0.5em 0.6em 0.5em 1.3em;
	box-shadow: var(--shadow-md);
}
.block-hero__search .icon { color: var(--color-muted); flex-shrink: 0; }
.block-hero__search input[type="search"] { flex: 1; border: none; outline: none; font-size: 1rem; color: var(--color-dark); background: transparent; }
.block-hero__search .btn { flex-shrink: 0; }

.block-hero__trust { position: relative; background: rgba(255,255,255,0.96); backdrop-filter: blur(4px); }
.block-hero__trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; padding: 1.1em 24px; }
.trust-pill { display: flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 0.9rem; color: var(--color-primary-dark); }
.trust-pill .icon { color: var(--color-accent); }

/* ---------------------------------------------------------------------
   Trust bar (icon row)
   --------------------------------------------------------------------- */
.block-trust-bar { background: var(--color-bg); }
.trust-bar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.trust-bar__item { display: flex; gap: 1em; align-items: flex-start; }
.trust-bar__icon { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.trust-bar__icon .icon { width: 22px; height: 22px; }
.trust-bar__title { font-size: 1.05rem; margin-bottom: 0.2em; }
.trust-bar__text { color: var(--color-muted); margin: 0; font-size: 0.92rem; }

/* ---------------------------------------------------------------------
   Tour grid + card
   --------------------------------------------------------------------- */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; }
.block-tour-grid__cta { text-align: center; margin-top: 3rem; }
.tour-grid__empty { text-align: center; color: var(--color-muted); }

.tour-card {
	background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
	display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tour-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-card:hover .tour-card__media img { transform: scale(1.06); }
.tour-card__category {
	position: absolute; top: 12px; left: 12px; background: rgba(18,60,72,0.85); color: #fff;
	font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
	padding: 0.35em 0.8em; border-radius: 999px;
}
.tour-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.6em; flex: 1; }
.tour-badges { display: flex; flex-wrap: wrap; gap: 0.4em; }
.tour-badge {
	font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
	color: var(--color-success); background: rgba(62,142,90,0.12); padding: 0.3em 0.7em; border-radius: 999px;
}
.tour-card__title { font-size: 1.15rem; margin: 0; }
.tour-card__title a:hover { color: var(--color-primary); }
.tour-card__meta { display: flex; gap: 1.2em; color: var(--color-muted); font-size: 0.85rem; }
.tour-card__meta li { display: flex; align-items: center; gap: 0.35em; }
.tour-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding-top: 0.6em; border-top: 1px solid var(--color-border); }
.tour-card__price { display: flex; flex-direction: column; line-height: 1.2; }
.tour-card__price-label { font-size: 0.72rem; color: var(--color-muted); }
.tour-card__price strong { font-size: 1.3rem; color: var(--color-primary-dark); font-family: var(--font-display); }
.tour-card__price-note { font-size: 0.72rem; color: var(--color-muted); }

/* ---------------------------------------------------------------------
   Last Minute deals (lastminute.com-inspired urgency accent) — kept
   scoped to .deal-* / .price-deal__* / --deal modifiers so the vivid
   magenta never leaks into the site's normal Capri palette.
   --------------------------------------------------------------------- */
.tour-card--deal { box-shadow: 0 2px 10px rgba(214, 0, 127, 0.18); }
.tour-card--deal:hover { box-shadow: 0 14px 32px rgba(214, 0, 127, 0.28); }

.deal-ribbon {
	position: absolute; top: 12px; right: 12px; z-index: 1;
	display: inline-flex; align-items: center; gap: 0.35em;
	background: var(--color-deal); color: #fff;
	font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
	padding: 0.35em 0.7em; border-radius: 999px;
}
.deal-ribbon .icon { width: 0.9em; height: 0.9em; }
.deal-ribbon--inline { position: static; display: inline-flex; margin-bottom: 0.8em; }

.deal-countdown {
	display: block; font-size: 0.75rem; font-weight: 700; color: var(--color-deal-dark);
	background: rgba(214, 0, 127, 0.08); border-radius: var(--radius); padding: 0.4em 0.7em; margin-top: 0.4em;
}
.deal-countdown:empty::before,
.deal-countdown[data-countdown]:not([data-countdown-ready])::before { content: '\2014'; }
.deal-countdown--box { margin-top: -0.4em; margin-bottom: 1em; text-align: center; }

.price-deal__original { text-decoration: line-through; color: var(--color-muted); font-size: 0.9rem; }
.price-deal__current { color: var(--color-deal); }
.price-deal__percent {
	font-size: 0.72rem; font-weight: 700; color: #fff; background: var(--color-deal);
	padding: 0.2em 0.55em; border-radius: 999px; margin-left: 0.3em;
}
.booking-box__price .price-deal__percent { margin-left: 0.6em; }

.section-heading__eyebrow--deal { color: var(--color-deal); display: inline-flex; align-items: center; gap: 0.4em; }
.section-heading__eyebrow--deal .icon { width: 1em; height: 1em; }

.block-hero--deal { background: linear-gradient(135deg, var(--color-deal-dark) 0%, var(--color-deal) 100%); }
.block-hero--deal .block-hero__overlay { background: rgba(0,0,0,0.1); }
.block-hero--deal .block-hero__eyebrow { color: #FFD9EE; }

.block-last-minute { background: linear-gradient(180deg, rgba(214,0,127,0.05) 0%, rgba(214,0,127,0) 100%); }

/* ---------------------------------------------------------------------
   Feature icons grid
   --------------------------------------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.feature-card { text-align: center; padding: 1.5rem; }
.feature-card__icon {
	width: 64px; height: 64px; border-radius: 50%; background: var(--color-bg); color: var(--color-primary);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 1em;
}
.feature-card__icon .icon { width: 28px; height: 28px; }
.feature-card__title { font-size: 1.1rem; }
.feature-card__text { color: var(--color-muted); font-size: 0.9rem; }

/* ---------------------------------------------------------------------
   Destinations
   --------------------------------------------------------------------- */
.block-destinations { background: var(--color-bg); }
.destinations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.destination-card {
	position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4;
	box-shadow: var(--shadow-sm); transition: transform var(--transition);
}
.destination-card:hover { transform: translateY(-4px); }
.destination-card img { width: 100%; height: 100%; object-fit: cover; }
.destination-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(18,60,72,0.85) 100%); }
.destination-card__name {
	position: absolute; left: 1rem; bottom: 1rem; right: 1rem; z-index: 1;
	color: #fff; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
}

/* ---------------------------------------------------------------------
   About / story
   --------------------------------------------------------------------- */
.block-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.block-about--reverse .block-about__grid { direction: rtl; }
.block-about--reverse .block-about__content { direction: ltr; }
.block-about__media { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; background: var(--color-bg); overflow: hidden; }
.block-about__media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.block-about__content { direction: ltr; }
.block-about__text { color: var(--color-muted); }

/* ---------------------------------------------------------------------
   Reviews
   --------------------------------------------------------------------- */
.block-reviews { background: var(--color-bg); }
.reviews-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-bottom: 2.5rem; }
.reviews-platform {
	display: flex; align-items: center; gap: 0.5em; background: #fff; padding: 0.8em 1.4em; border-radius: 999px;
	box-shadow: var(--shadow-sm); font-size: 0.9rem;
}
.reviews-platform .icon { color: var(--color-accent); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: #fff; padding: 1.8rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.testimonial-card p { font-style: italic; color: var(--color-dark); }
.testimonial-card footer { font-size: 0.85rem; color: var(--color-muted); }

/* ---------------------------------------------------------------------
   CTA banner
   --------------------------------------------------------------------- */
.block-cta-banner { position: relative; background-size: cover; background-position: center; background-color: var(--color-primary); color: #fff; text-align: center; }
.block-cta-banner__overlay { position: absolute; inset: 0; background: rgba(18,60,72,0.6); }
.block-cta-banner__inner { position: relative; max-width: 640px; margin: 0 auto; }
.block-cta-banner__inner h2 { color: #fff; }
.block-cta-banner__inner p { color: rgba(255,255,255,0.9); }

/* ---------------------------------------------------------------------
   Newsletter
   --------------------------------------------------------------------- */
.block-newsletter { background: var(--color-primary-dark); color: #fff; }
.block-newsletter__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.block-newsletter h2 { color: #fff; margin-bottom: 0.2em; }
.block-newsletter p { color: rgba(255,255,255,0.8); margin: 0; }
.block-newsletter__form { flex: 1; min-width: 280px; max-width: 420px; }

/* ---------------------------------------------------------------------
   Generic text / gallery blocks
   --------------------------------------------------------------------- */
.block-text--narrow .container { max-width: 760px; }
.block-text__content { color: var(--color-muted); }
.block-text__content h2, .block-text__content h3 { color: var(--color-primary-dark); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.gallery-grid__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.gallery-grid__item:hover img { transform: scale(1.08); }

/* ---------------------------------------------------------------------
   Booking placeholder (shared: tour sidebar, page builder block, newsletter)
   --------------------------------------------------------------------- */
.booking-placeholder {
	border: 2px dashed var(--color-border); border-radius: var(--radius); padding: 1.5em; text-align: center; color: var(--color-muted); background: var(--color-bg);
}
.booking-placeholder p { margin: 0 0 0.3em; }
.booking-placeholder__hint { font-size: 0.82rem; }
.booking-placeholder--inline { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); }
.block-booking { background: var(--color-bg); }
.block-booking .booking-box__form { max-width: 640px; margin: 0 auto; }

/* ---------------------------------------------------------------------
   Tour archive
   --------------------------------------------------------------------- */
.archive-header { text-align: center; padding-bottom: 2rem; }
.archive-header__desc { color: var(--color-muted); max-width: 640px; margin: 0 auto; }
.category-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.5rem; }
.category-filter {
	padding: 0.55em 1.4em; border-radius: 999px; border: 1px solid var(--color-border); font-weight: 700; font-size: 0.88rem;
	color: var(--color-dark); transition: var(--transition);
}
.category-filter:hover, .category-filter.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.archive-grid { padding-top: 1rem; }
.pagination { display: flex; justify-content: center; gap: 0.5em; margin-top: 3rem; }
.pagination .page-numbers { padding: 0.6em 1em; border-radius: var(--radius); border: 1px solid var(--color-border); }
.pagination .page-numbers.current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------------------------------------------------------------------
   Single tour
   --------------------------------------------------------------------- */
.tour-single__gallery { grid-area: gallery; min-width: 0; }
.tour-gallery { display: flex; flex-direction: column; gap: 0.75rem; }
.tour-gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--color-bg); touch-action: pan-y; }
.tour-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.tour-gallery__thumbs { display: flex; gap: 0.6rem; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.tour-gallery__thumb { flex: 0 0 88px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; opacity: 0.65; }
.tour-gallery__thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.tour-gallery__thumb:focus-visible, .tour-gallery__arrow:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.tour-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--color-primary-dark); font-size: 2rem; line-height: 1; box-shadow: var(--shadow-sm); }
.tour-gallery__arrow--prev { left: 12px; }
.tour-gallery__arrow--next { right: 12px; }
.tour-gallery__counter { position: absolute; right: 14px; bottom: 14px; padding: 0.3em 0.8em; border-radius: 999px; background: rgba(18,60,72,0.8); color: #fff; font-size: 0.85rem; }
.tour-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.tour-gallery__thumb:hover img { transform: scale(1.06); }

.tour-single__layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); grid-template-areas: "gallery booking" "content booking"; column-gap: 2rem; row-gap: 1.5rem; padding-top: 2rem; padding-bottom: 5rem; align-items: start; }
.tour-single__main { grid-area: content; min-width: 0; }
.tour-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.tour-share span { color: var(--color-muted); font-size: 0.85rem; margin-right: 0.3rem; }
.tour-share a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.5rem 0.85rem; border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.tour-share a:hover, .tour-share a:focus-visible { background: var(--color-primary); color: #fff; }
.tour-single__header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 0.3em; }
.tour-single__subtitle { color: var(--color-muted); font-size: 1.05rem; }
.tour-single__facts { display: flex; flex-wrap: wrap; gap: 1.5em; color: var(--color-dark); font-weight: 700; font-size: 0.92rem; margin: 1em 0 2em; }
.tour-single__facts li { display: flex; align-items: center; gap: 0.4em; }
.tour-single__facts .icon { color: var(--color-primary); }

.tour-section { padding: 2rem 0; border-top: 1px solid var(--color-border); }
.tour-section:first-of-type { border-top: none; padding-top: 0; }
.tour-section h2 { font-size: 1.4rem; }
.tour-section__body { color: var(--color-dark); }

.tour-highlights li, .tour-list li { display: flex; align-items: flex-start; gap: 0.6em; padding: 0.35em 0; }
.tour-list--included .icon { color: var(--color-success); flex-shrink: 0; margin-top: 0.2em; }
.tour-list--excluded .icon { color: var(--color-danger); flex-shrink: 0; margin-top: 0.2em; }
.tour-highlights .icon { color: var(--color-primary); flex-shrink: 0; margin-top: 0.2em; }
.tour-included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tour-included-grid h3 { font-size: 1rem; }

.tour-itinerary { counter-reset: step; }
.tour-itinerary li { display: flex; gap: 1.2em; padding: 1em 0; border-bottom: 1px dashed var(--color-border); }
.tour-itinerary li:last-child { border-bottom: none; }
.tour-itinerary__time { flex-shrink: 0; width: 90px; font-weight: 700; color: var(--color-primary); }
.tour-itinerary h3 { font-size: 1rem; margin-bottom: 0.2em; }
.tour-itinerary p { color: var(--color-muted); margin: 0; }

.tour-meeting-points li { display: flex; gap: 0.8em; padding: 0.6em 0; }
.tour-meeting-points .icon { color: var(--color-primary); flex-shrink: 0; margin-top: 0.2em; }
.tour-meeting-points strong { display: block; }
.tour-meeting-points span { display: block; color: var(--color-muted); font-size: 0.9rem; }
.tour-meeting-points a { color: var(--color-primary); font-size: 0.85rem; font-weight: 700; }
.tour-end-point { color: var(--color-muted); }

.tour-faq__item { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1em 1.2em; margin-bottom: 0.7em; }
.tour-faq__item summary { font-weight: 700; cursor: pointer; }
.tour-faq__item p { margin-top: 0.6em; color: var(--color-muted); }

.tour-single__sidebar { grid-area: booking; position: sticky; top: 110px; min-width: 0; }
.booking-box { scroll-margin-top: 120px; }
.booking-box__title { font-size: 1.7rem; margin-bottom: 0.25em; }
.booking-box__intro { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.booking-box { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-md); }
.booking-box__price { display: flex; align-items: baseline; gap: 0.4em; margin-bottom: 1em; }
.booking-box__price span:first-child { color: var(--color-muted); font-size: 0.85rem; }
.booking-box__price strong { font-family: var(--font-display); font-size: 2rem; color: var(--color-primary-dark); }
.booking-box__price span:last-child { color: var(--color-muted); font-size: 0.85rem; }
.booking-box__facts { display: flex; flex-direction: column; gap: 0.6em; margin: 1.2em 0; padding: 1.1em 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.booking-box__facts li { display: flex; align-items: center; gap: 0.5em; font-size: 0.85rem; color: var(--color-muted); }
.booking-box__facts .icon { color: var(--color-primary); flex-shrink: 0; }

.tour-single__related { background: var(--color-bg); }

/* ---------------------------------------------------------------------
   Blog / archive generic
   --------------------------------------------------------------------- */
.page-header { padding: 3rem 0 1rem; }
.page-header__title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.page-content { padding: 2rem 0 5rem; max-width: 820px; }
.page-content__thumb img { border-radius: var(--radius-lg); margin: 1.5em 0; }
.error-404 { text-align: center; padding: 6rem 0; }

/* ---------------------------------------------------------------------
   Magazine archive
   --------------------------------------------------------------------- */
.blog-listing { padding: 3.5rem 0 5rem; }
.magazine-header { max-width: 640px; margin-left: auto; margin-right: auto; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.post-card {
	background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.5em; flex: 1; }
.post-card__meta { font-size: 0.78rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.post-card__title { font-size: 1.2rem; margin: 0; }
.post-card__title a:hover { color: var(--color-primary); }
.post-card__excerpt { color: var(--color-muted); font-size: 0.92rem; flex: 1; }
.post-card__link { display: inline-flex; align-items: center; gap: 0.3em; font-weight: 700; font-size: 0.88rem; color: var(--color-primary); }
.post-card__link .icon { width: 0.9em; height: 0.9em; }

.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; }
.post-card--featured .post-card__media { aspect-ratio: auto; height: 100%; }
.post-card--featured .post-card__body { padding: 2.2rem; justify-content: center; }
.post-card--featured .post-card__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------------------------------------------------------------------
   Single blog post
   --------------------------------------------------------------------- */
.post-single__cover { padding-top: 2rem; }
.post-single__cover img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); }
.post-single__layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; padding: 3rem 0 5rem; align-items: start; }
.post-single__header { margin-bottom: 2rem; }
.post-single__badge { margin-bottom: 0.8em; }
.post-single__header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 0.2em; }
.post-single__meta { color: var(--color-muted); font-size: 0.9rem; }
.post-single__body { color: var(--color-dark); line-height: 1.8; }
.post-single__body p { margin-bottom: 1.3em; }
.post-single__body h2 { font-size: 1.5rem; margin-top: 1.8em; }
.post-single__body h3 { font-size: 1.2rem; margin-top: 1.5em; }
.post-single__body img { border-radius: var(--radius); }
.post-single__body blockquote {
	border-left: 3px solid var(--color-accent); margin: 1.8em 0; padding: 0.2em 0 0.2em 1.4em;
	font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--color-primary-dark);
}

.post-share { display: flex; align-items: center; gap: 1em; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.post-share__label { font-weight: 700; font-size: 0.9rem; color: var(--color-dark); }
.post-share__links { display: flex; gap: 0.6em; }
.post-share__link {
	width: 40px; height: 40px; border-radius: 50%; background: var(--color-bg); color: var(--color-primary-dark);
	display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; transition: background var(--transition), color var(--transition);
}
.post-share__link:hover { background: var(--color-primary); color: #fff; }
.post-share__copy.is-copied { background: var(--color-success); color: #fff; }

.post-single__sidebar { position: sticky; top: 100px; }
.sidebar-box { background: var(--color-bg); border-radius: var(--radius-lg); padding: 1.6rem; }
.sidebar-box__title { font-size: 1.05rem; margin-bottom: 1.2rem; }
.sidebar-box__list { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-card { display: flex; gap: 0.9em; align-items: center; }
.sidebar-card__media { flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; }
.sidebar-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-card__body { display: flex; flex-direction: column; gap: 0.2em; }
.sidebar-card__title { font-size: 0.92rem; font-weight: 700; color: var(--color-dark); line-height: 1.3; }
.sidebar-card:hover .sidebar-card__title { color: var(--color-primary); }
.sidebar-card__price { font-size: 0.8rem; color: var(--color-muted); }
.sidebar-box__cta { display: flex; margin-top: 1.4rem; width: 100%; justify-content: center; }

.search-form { display: flex; gap: 0.5em; align-items: center; background: var(--color-bg); border-radius: 999px; padding: 0.4em 0.4em 0.4em 1.2em; }
.search-form input { flex: 1; border: none; background: transparent; outline: none; }
.search-form button { background: var(--color-primary); color: #fff; border: none; border-radius: 999px; padding: 0.6em 1.4em; font-weight: 700; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.85); text-align: left; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding: 4.5rem 0 3rem; }
.site-logo--footer { color: #fff; margin-bottom: 1.5rem; display: inline-flex; }
.site-footer__meta { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.9; }
.site-footer__text { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 1em; }

.site-footer__heading {
	color: #fff; font-size: 1.05rem; font-weight: 700;
	margin: 0 0 1.3rem; padding-bottom: 0.7rem; position: relative;
}
.site-footer__heading::after {
	content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--color-accent);
}
.site-footer__links-list { display: flex; flex-direction: column; gap: 0.7em; }
.site-footer__links-list a { font-size: 0.95rem; }

.site-footer__socials-list { display: flex; gap: 0.8em; justify-content: flex-start; }
.site-footer__socials-list a {
	width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
	display: flex; align-items: center; justify-content: center; transition: background var(--transition);
}
.site-footer__socials-list a:hover { background: rgba(255,255,255,0.2); }

.site-footer__widget { margin-top: 2.2rem; }

.whatsapp-float {
	position: fixed; right: 24px; bottom: 24px; z-index: 400; width: 56px; height: 56px; border-radius: 50%;
	background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
	transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float.is-hidden { display: none; }
.whatsapp-float .icon { width: 28px; height: 28px; }

/* ---------------------------------------------------------------------
   Lightbox (assets/js/main.js)
   --------------------------------------------------------------------- */
.capri-lightbox { position: fixed; inset: 0; background: rgba(18,60,72,0.92); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.capri-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.capri-lightbox__close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; line-height: 1; }

/* ---------------------------------------------------------------------
   Fluent Forms
   Every form renders through the "Inherit Theme Style" preset, forced in
   inc/fluentform.php -- that strips the plugin's blue preset and its
   per-form inline button colour, leaving this block as the single source
   of truth. A booking form, the contact form and the newsletter signup
   therefore read as one component.
   --------------------------------------------------------------------- */

/* The plugin's base stylesheet (always loaded, never scoped to a preset)
   drives the required asterisk, borders and radii off these variables --
   remapping them is what stops stray plugin blue from leaking through. */
.fluentform {
	--fluentform-primary: var(--color-primary);
	--fluentform-secondary: var(--color-muted);
	--fluentform-danger: var(--color-danger);
	--fluentform-border-color: var(--color-border);
	--fluentform-border-radius: var(--radius);
	--fluentform-input-select-height: auto;
}

.fluentform .ff-el-group { margin-bottom: 1.1rem; }
.fluentform .ff-el-group:last-child { margin-bottom: 0; }

.fluentform .ff-el-input--label label {
	display: inline-block; margin-bottom: 0.45em;
	font-family: var(--font-body);
	font-size: 0.85rem; font-weight: 700; letter-spacing: 0.01em;
	color: var(--color-primary-dark);
}

.fluentform .ff-el-form-control {
	width: 100%;
	padding: 0.8em 1em;
	font-family: var(--font-body);
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--color-dark);
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: none;
	transition: border-color var(--transition), box-shadow var(--transition);
}
.fluentform .ff-el-form-control::placeholder { color: var(--color-muted); opacity: 1; }
.fluentform .ff-el-form-control:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(31, 111, 130, 0.15);
}
.fluentform textarea.ff-el-form-control { min-height: 130px; resize: vertical; }

.fluentform .ff-el-form-check { margin-bottom: 0.45em; }
.fluentform .ff-el-form-check-label {
	display: inline-flex; align-items: flex-start; gap: 0.55em;
	font-size: 0.92rem; color: var(--color-dark); cursor: pointer;
}
.fluentform .ff-el-form-check input[type="checkbox"],
.fluentform .ff-el-form-check input[type="radio"] {
	accent-color: var(--color-primary);
	width: 1.05em; height: 1.05em; margin-top: 0.2em; flex: 0 0 auto;
}

.fluentform .ff-el-help-message { margin: 0.35em 0 0; font-size: 0.8rem; color: var(--color-muted); }
.fluentform .ff-el-section-title {
	font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
	color: var(--color-primary-dark); margin: 1.6rem 0 0.2rem;
}

/* Validation */
.fluentform .ff-el-form-control.error,
.fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--color-danger); }
.fluentform .ff-el-is-error .ff-el-form-control:focus { box-shadow: 0 0 0 3px rgba(193, 80, 63, 0.15); }
.fluentform .text-danger,
.fluentform .ff-errors-in-stack .error { margin-top: 0.35em; font-size: 0.8rem; color: var(--color-danger); }

.fluentform .ff-message-success {
	padding: 1.1em 1.3em;
	border: 1px solid rgba(62, 142, 90, 0.35);
	border-radius: var(--radius);
	background: rgba(62, 142, 90, 0.1);
	color: var(--color-success);
}

/* Same pill as .btn--accent, so a form CTA and a page CTA are visibly the
   same control. Colours come from the palette set in Impostazioni Tema. */
.fluentform .ff-btn-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0.85em 1.8em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.95rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em;
	background: var(--color-accent);
	color: #fff;
	cursor: pointer;
	transition: transform var(--transition), filter var(--transition), background var(--transition);
}
.fluentform .ff-btn-submit:hover { filter: brightness(0.92); transform: translateY(-2px); }
.fluentform .ff-btn-submit:disabled { opacity: 0.6; transform: none; cursor: not-allowed; filter: none; }
.fluentform .ff_submit_btn_wrapper { margin-bottom: 0; }

/* Multi-step navigation.
   The plugin's only styling for these buttons lived in .ff-default, which
   the theme preset switches off -- without the rules below they fall back
   to raw browser chrome. Flex on the container also neutralises the
   inline float:left/right the plugin prints on each button: floats are
   ignored on flex items, so the inline styles need no !important to undo.
   The container had no clearfix either, hence the collapsed spacing. */
.fluentform .step-nav {
	display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1rem;
	margin-top: 1.6rem; padding-top: 1.2rem;
	border-top: 1px solid var(--color-border);
}
/* Keeps "next" hard right even on a step that has no "previous". */
.fluentform .step-nav .ff-float-right,
.fluentform .step-nav .ff-btn-next { margin-left: auto; }

.fluentform .ff-btn-prev,
.fluentform .ff-btn-next {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0.7em 1.5em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.9rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em;
	cursor: pointer;
	transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

/* Going back is the quiet action, so it borrows .btn--outline. */
.fluentform .ff-btn-prev { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.fluentform .ff-btn-prev:hover { background: var(--color-primary); color: #fff; }

/* Going forward is filled teal -- one notch below the accent on the final
   submit, so the last step still reads as the strongest CTA in the flow. */
.fluentform .ff-btn-next { background: var(--color-primary); color: #fff; }
.fluentform .ff-btn-next:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

.fluentform .ff-btn-prev:focus-visible,
.fluentform .ff-btn-next:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(31, 111, 130, 0.25); }

.fluentform .ff-btn.disabled,
.fluentform .ff-btn-prev:disabled,
.fluentform .ff-btn-next:disabled { opacity: 0.55; transform: none; cursor: not-allowed; }

/* In the narrow tour sidebar the CTA reads better edge to edge. */
.booking-box__form .fluentform .ff-btn-submit { width: 100%; }
/* That sidebar is only ~380px wide: let the two step buttons split the
   row evenly instead of overflowing it. */
.booking-box__form .fluentform .step-nav .ff-btn-prev,
.booking-box__form .fluentform .step-nav .ff-btn-next { flex: 1 1 0; padding-left: 1em; padding-right: 1em; }

/* Keep the booking flow comfortable inside the photo-side panel. */
.booking-box__form .fluentform .ff-t-container { display: flex; flex-direction: column; gap: 0; }
.booking-box__form .ff-t-container > .ff-t-cell { width: 100% !important; flex-basis: auto !important; padding: 0 !important; min-width: 0; }
.booking-box__form .ff-el-form-control { min-height: 50px; font-size: 16px; padding: 0.8em; }
.booking-box__form .ff-el-input--label label { font-size: 0.95rem; line-height: 1.5; }
.booking-box__form .ff-el-form-check { padding: 0.8rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.booking-box__form .ff-el-form-check-label { display: flex; line-height: 1.5; }
.booking-box__form .ff-el-form-check input { width: 20px; height: 20px; }
.booking-box__form .step-nav { flex-direction: row; flex-wrap: nowrap; gap: 0.65rem; margin-top: 0.75rem; padding-top: 0.75rem; }
.booking-box__form .step-nav .ff-btn { margin: 0; min-height: 48px; flex-basis: auto; }
.booking-box__form .step-nav .ff-btn-prev { border-color: transparent; background: transparent; color: var(--color-muted); min-height: 44px; }
.booking-box__form h4 { font-family: var(--font-body); font-size: 1.1rem; line-height: 1.5; }
.booking-box__form .ff-el-help-message, .booking-box__form .text-danger { font-size: 0.9rem; line-height: 1.5; }
.booking-box { padding: 1.2rem; }
.booking-box__price { margin-bottom: 0.65rem; }
.booking-box__facts { margin: 1rem 0 0; padding-bottom: 0; border-bottom: 0; }
.booking-box__form .ff-el-group { margin-bottom: 0.8rem; }
.booking-box__form .ff-custom_html h4 { margin-bottom: 0.5rem; }
.booking-box__form .fluentform-step:first-child .ff-t-container { flex-direction: row; gap: 0.75rem; }
.booking-box__form .fluentform-step:first-child .ff-t-container > .ff-t-cell { flex: 1 1 0 !important; width: auto !important; }
.booking-box__form .step-nav .ff-btn-next { flex: 1 1 auto; }
.booking-box__form .step-nav .ff-btn-prev { flex: 0 0 auto; padding: 0.5em; font-size: 0.8rem; }
.booking-box__form .fluentform-step:first-child .ff-btn-prev { display: none; }
.booking-step-progress { position: relative; padding-bottom: 10px; margin-bottom: 0.8rem; font-size: 0.78rem; font-weight: 700; color: var(--color-muted); }
.booking-step-progress::before, .booking-step-progress::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px; }
.booking-step-progress::before { width: 100%; background: var(--color-border); }
.booking-step-progress::after { width: var(--booking-progress, 20%); background: var(--color-primary-dark); }
.booking-box__form .ff-step-container:has(> .booking-step-progress) > .ff-step-header { display: none; }
.booking-box__form .step-nav { position: sticky; bottom: 0; z-index: 2; background: #fff; padding-bottom: 0.25rem; }
@media (max-width: 960px) {
	.booking-box__form .step-nav { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

.booking-box__title { font-size: 1.6rem; }
.booking-box__intro { display: none; }
.booking-box__terms { margin-top: 1rem; font-size: 0.8rem; color: var(--color-muted); }
.booking-box__terms summary, .booking-departure-details summary { cursor: pointer; }
.booking-box__form .ff-custom_html:empty { display: none; }
.booking-box__form .ff-el-form-check:has(input:checked) { border-color: var(--color-primary); background: rgba(31,111,130,0.06); }

/* Payment navigation uses a separate Fluent Forms container. */
.booking-box__form .fluentform .ff-step-t-container { display: flex; align-items: center; gap: 0.75rem; }
.booking-box__form .fluentform .ff-step-t-container > .ff-t-cell { flex: 1 1 0; min-width: 0; padding: 0; }
.booking-box__form .fluentform .ff-step-t-container .step-nav { position: static; margin: 0; padding: 0; border: 0; }
.booking-box__form .fluentform .ff-step-t-container .ff-btn { width: 100%; min-height: 48px; margin: 0; }
@media (max-width: 480px) {
 .booking-box__form .fluentform .fluentform-step:first-child .ff-t-container { flex-direction: column; gap: 0; }
 .booking-box__form .fluentform .fluentform-step:first-child .ff-t-container > .ff-t-cell { flex-basis: auto !important; width: 100% !important; }
}

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 960px) {
	.site-nav { position: fixed; top: 0; right: -100%; width: min(320px, 85vw); height: 100vh; background: #fff; box-shadow: var(--shadow-md); padding: 5rem 1.5rem 2rem; transition: right var(--transition); overflow-y: auto; }
	.site-nav.is-open { right: 0; }
	.site-nav__list { flex-direction: column; align-items: flex-start; gap: 1rem; }
	.site-nav__list ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 1em; display: none; }
	.site-nav__list li.is-open > ul { display: block; }
	.menu-toggle { display: flex; }
	.site-header__actions .btn { display: none; }
	/* On desktop it is .site-nav (flex: 1) that pushes the actions to the
	   right edge; once the nav goes off-canvas it leaves the flow, so the
	   toggle needs its own auto margin to stay hard right. */
	.site-header__actions { margin-left: auto; }

	/* Less horizontal room at tablet width: tighten the strip so the
	   contacts and the social row still share one line. */
	.site-header__top-inner { gap: 1rem; }
	.topbar-contacts { gap: 1rem; }
	.topbar-contacts a { font-size: 0.85rem; }
	.topbar-socials a { padding: 0 8px; }

	.block-about__grid { grid-template-columns: 1fr; }
	.block-about--reverse .block-about__grid { direction: ltr; }
	.tour-single__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "booking" "content"; }
	.tour-single__sidebar { position: static; }
	.single-tour .whatsapp-float, .single-experience .whatsapp-float { bottom: calc(100px + env(safe-area-inset-bottom)); right: 16px; }
	.tour-included-grid { grid-template-columns: 1fr; }
	.tour-gallery { grid-template-columns: 1fr; }
	.tour-gallery__thumbs { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__col--brand { grid-column: 1 / -1; }

	/* The real booking box still stacks below the article on mobile (it
	   keeps its full form/facts, nothing is hidden) — but a persistent
	   bottom bar with the price and a "Book now" jump link means a guest
	   is never more than one tap away from it, without needing to
	   scroll past the whole tour description first. */
	.mobile-book-bar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
		align-items: center; justify-content: space-between; gap: 1rem;
		background: #fff; padding: 0.8rem 1.2rem; padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
		box-shadow: 0 -4px 20px rgba(18,60,72,0.14);
	}
	.mobile-book-bar__price { display: flex; flex-direction: column; line-height: 1.2; }
	.mobile-book-bar__price span { font-size: 0.72rem; color: var(--color-muted); }
	.mobile-book-bar__price strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-primary-dark); }
	.tour-single__layout { padding-bottom: 6.5rem; }

	.post-card--featured { grid-template-columns: 1fr; }
	.post-card--featured .post-card__media { aspect-ratio: 3/2; height: auto; }
	.post-card--featured .post-card__body { padding: 1.4rem; }
	.post-single__layout { grid-template-columns: 1fr; }
	.post-single__sidebar { position: static; }
}

@media (min-width: 961px) {
	.mobile-book-bar { display: none; }
}

@media (max-width: 600px) {
	.site-header__top { display: none; }
	section { padding: 3rem 0; }
	.block-hero { min-height: 520px; }
	.block-hero__inner { padding: 4rem 20px 3rem; }
	/* Icon-only mark on small screens — the full wordmark is too wide for a mobile header/hero. */
	.site-logo__full { display: none; }
	.site-logo__icon { display: block; }
	.site-footer__grid { grid-template-columns: 1fr; padding: 3rem 0 2rem; gap: 2.2rem; }
	.site-footer__col--brand { grid-column: auto; }

	/* A 300px card minimum overflows the smallest phones (320px wide,
	   ~272px of content once the container gutter is subtracted). */
	.tour-grid, .post-grid { grid-template-columns: 1fr; }

	/* Comfortable ~44px touch targets on the buttons and icon links
	   guests actually tap on a phone: card CTAs, share icons, socials. */
	.btn--sm { min-height: 44px; padding-top: 0; padding-bottom: 0; }
	.post-share__link, .site-footer__socials-list a { width: 44px; height: 44px; }
	.category-filter { padding: 0.7em 1.3em; }
}
