/* ============================================================
   Maguska — components  (redesign: Ocean & Gold)
   ============================================================ */

/* ---- Buttons ---- */
.btn {
	display: inline-flex; align-items: center; gap: 0.55rem;
	font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; line-height: 1;
	padding: 0.9rem 1.55rem; border: 1.5px solid transparent; border-radius: var(--radius-pill);
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }
.btn--gold, .btn--brass { background: var(--gold); color: #fff; }
.btn--gold:hover, .btn--brass:hover { background: var(--gold-deep); color: #fff; }
.btn--wa { background: var(--ink); color: #fff; }
.btn--wa:hover { background: var(--blue); color: #fff; }
.btn--wa svg { fill: currentColor; }
.btn--ghost { background: transparent; border-color: var(--hairline); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--on-ink { background: var(--paper); color: var(--ink); }
.btn--on-ink:hover { background: #fff; color: var(--ink); }
.btn--ghost-on-ink { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-on-ink:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn--lg { padding: 1.02rem 1.75rem; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---- Section heading pattern (kicker + head) ---- */
.kicker { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.02em; color: var(--blue); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.on-dark .kicker { color: var(--gold-soft); }
/* On dark bands, headings must invert (base sets h1–h4 to --ink). */
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.section-head p { color: var(--muted); margin-top: 0.9rem; font-size: 1.05rem; }
.on-dark .section-head p, .on-dark .section-head h2 { color: #fff; }
.on-dark .section-head p { color: rgba(255,255,255,.72); }

/* ---- Inner page header band ---- */
.page-header { background: var(--ink); color: #fff; padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.page-header .kicker { color: var(--gold-soft); }
.page-header h1 { color: #fff; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.1rem); margin: 0 0 0.5rem; max-width: 22ch; }
.page-header p, .page-header .lede { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 62ch; margin: 0.4rem 0 0; }
.page-header .inclusions { color: rgba(255,255,255,.9); margin-top: 1.4rem; }
.page-header .inclusions li::before { background: rgba(224,162,76,.22); }
.page-header .inclusions li::after { border-color: var(--gold-soft); }

/* ---- Site header ---- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--white); box-shadow: 0 1px 0 var(--hairline), 0 10px 26px -22px rgba(23,36,76,.5);
	transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; line-height: 1; }
.brand:hover { color: var(--ink); }
.brand em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
/* Custom logo: the header is light now, so the blue brand logo sits on it directly. */
.brand img, .brand .custom-logo { height: 42px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.brand .custom-logo-link { display: inline-flex; align-items: center; }

.primary-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; position: relative; padding-block: 0.35rem; }
.primary-nav a:hover { color: var(--blue); }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--blue); transition: width .22s ease; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { width: 100%; }
.primary-nav .current-menu-item > a { color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 0.85rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s ease; }

/* Header is a solid light bar on every page, including the homepage. */

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: var(--white); border-left: 1px solid var(--hairline); transform: translateX(100%); transition: transform .3s ease; z-index: 120; box-shadow: -12px 0 40px rgba(23,36,76,.18); }
	.primary-nav.is-open { transform: none; }
	.primary-nav ul { flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; gap: 1.3rem; padding: 2rem; }
	.primary-nav a { font-size: 1.15rem; }
	.header-cta .btn .btn__label { display: none; }
}

/* ---- Hero (homepage) ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-block: 0 clamp(3rem, 7vw, 5.5rem); background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
	linear-gradient(180deg, rgba(11,30,59,.35) 0%, rgba(11,30,59,.05) 30%, rgba(11,30,59,.75) 100%),
	linear-gradient(75deg, rgba(11,30,59,.85) 0%, rgba(11,30,59,.15) 55%, transparent 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__title { font-size: clamp(2.9rem, 7.5vw, 5.4rem); font-weight: 600; letter-spacing: -0.025em; color: #fff; max-width: 15ch; margin: 0 0 1.3rem; text-wrap: balance; line-height: 1.04; text-shadow: 0 2px 30px rgba(8,22,45,.4); }
.hero__title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 540px; color: rgba(255,255,255,.92); margin: 0 0 2rem; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* Heritage stamp */
.hero__stamp { position: absolute; z-index: 2; right: 6%; top: 21%; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; text-align: center; border: 1.5px solid rgba(224,162,76,.6); background: rgba(11,30,59,.35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transform: rotate(-8deg); }
.hero__stamp b { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1; color: #fff; }
.hero__stamp small { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-top: 0.3rem; color: rgba(255,255,255,.78); }
.hero__stamp .yrs { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.15rem; color: var(--gold-soft); }
@media (max-width: 1000px) { .hero__stamp { display: none; } }

/* Hero reveal on load — only when JS is present (no flash if JS fails) */
.js .hero__title, .js .hero__lead, .js .hero__cta { opacity: 0; transform: translateY(16px); }
body.is-ready .hero__title { animation: maguska-rise .7s ease .05s forwards; }
body.is-ready .hero__lead { animation: maguska-rise .7s ease .18s forwards; }
body.is-ready .hero__cta { animation: maguska-rise .7s ease .3s forwards; }
body.no-anim .hero__title, body.no-anim .hero__lead, body.no-anim .hero__cta { opacity: 1; transform: none; animation: none; }
@keyframes maguska-rise { to { opacity: 1; transform: none; } }

/* ---- Trust band ---- */
.trust-band { background: var(--ink); color: #fff; }
.trust-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.35rem; }
.trust-item { display: flex; align-items: center; gap: 0.65rem; font-weight: 600; font-size: 0.98rem; color: #fff; }
.trust-item svg { width: 1.4rem; height: 1.4rem; color: var(--gold-soft); flex: none; }

/* ---- Tour card (full-image overlay) ---- */
.tour-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); isolation: isolate; }
.tour-card__media { position: absolute; inset: 0; z-index: -2; }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,30,59,0) 30%, rgba(11,30,59,.4) 55%, rgba(8,22,45,.95) 100%); }
.tour-card:hover .tour-card__media img { transform: scale(1.06); }
.tour-card__chip { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); padding: 0.32rem 0.8rem; border-radius: var(--radius-pill); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; color: #fff; }
.tour-card__body { padding: 1.4rem 1.5rem 1.5rem; }
.tour-card__title { font-size: 1.32rem; line-height: 1.15; margin: 0 0 0.9rem; text-wrap: balance; }
.tour-card__title a { color: #fff; text-decoration: none; }
/* Whole card is clickable via the stretched title link... */
.tour-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tour-card:has(.tour-card__title a:focus-visible) { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.tour-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,.18); }
.tour-card__dur { font-size: 0.9rem; color: rgba(255,255,255,.82); display: flex; align-items: center; gap: 0.4rem; }
.tour-card__dur svg { width: 1rem; height: 1rem; color: var(--gold-soft); flex: none; }
.tour-card__price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--gold-soft); }
.tour-card__price .from { font-size: 0.7em; font-weight: 400; color: rgba(255,255,255,.72); font-family: var(--font-body); }
/* ...but the WhatsApp link rides above the overlay so it stays clickable. */
.tour-card__wa { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.05rem; font-weight: 700; font-size: 0.92rem; color: #fff; position: relative; z-index: 2; }
.tour-card__wa svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.tour-card__wa:hover { color: var(--gold-soft); }

/* ---- Category filter ---- */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter button { padding: 0.55rem 1.15rem; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.9rem; border: 1.5px solid var(--hairline); color: var(--muted); background: var(--white); cursor: pointer; transition: .18s ease; }
.filter button:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter button.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tour-card.is-hidden { display: none; }

/* ---- Floating WhatsApp ---- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(196,134,58,.42); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--ink); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: wa-pulse 2.2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---- Why / feature list (legacy, kept for inner pages) ---- */
.feature { display: flex; flex-direction: column; gap: 0.5rem; }
.feature h3 { margin: 0; font-size: 1.32rem; }
.feature p { color: var(--muted); margin: 0; }
.section--ink .feature p { color: var(--muted-on-ink); }

/* ---- Promo pair (legacy) ---- */
.promo { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem; min-height: 260px; padding: 1.6rem; border-radius: var(--radius-card); color: var(--white); position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--hairline); }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,30,59,.15), rgba(11,30,59,.72)); }
.promo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.promo--plain { background: var(--ink); color: var(--paper); }
.promo h3 { color: var(--white); margin: 0; font-size: 1.5rem; }
.promo p { color: rgba(255,255,255,.88); margin: 0; }
.promo .btn { align-self: flex-start; margin-top: 0.5rem; }

/* ---- Testimonials (used on the Testimonials page) ---- */
.testimonial { display: flex; flex-direction: column; gap: 1rem; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 1.5rem; height: 100%; }
.testimonial__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.testimonial__quote { font-family: var(--font-display); font-size: 1.14rem; line-height: 1.5; color: var(--ink); margin: 0; }
.testimonial__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sand); color: var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; flex: none; }
.testimonial__name { font-weight: 600; }
.testimonial__source { font-size: 0.8rem; color: var(--muted); }

/* ---- CTA band (legacy) ---- */
.cta-band { text-align: center; }
.cta-band__inner { max-width: 42rem; margin-inline: auto; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { color: var(--muted-on-ink); font-size: 1.1rem; margin-bottom: 1.6rem; }
.cta-band .hero__cta, .cta-band__cta { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ---- Site footer ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding-block: var(--space-2xl) var(--space-lg); }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: none; }
.footer-grid { display: grid; gap: var(--space-xl); grid-template-columns: 1.4fr 1fr 1fr; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.05rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; color: rgba(255,255,255,.75); }
.footer-col p { color: rgba(255,255,255,.75); font-size: 0.95rem; max-width: 38ch; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 0.7rem; display: inline-block; }
.footer-brand em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.footer-socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-socials a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--hairline-on-ink); border-radius: 50%; transition: .2s ease; }
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); }
.footer-socials svg { width: 1.1rem; height: 1.1rem; fill: #fff; }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--hairline-on-ink); font-size: 0.85rem; color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); } }

/* ---- Single tour ---- */
.tour-hero { position: relative; color: var(--white); min-height: min(60vh, 520px); display: flex; align-items: flex-end; overflow: hidden; }
.tour-hero__media { position: absolute; inset: 0; }
.tour-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.tour-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,30,59,.1), rgba(11,30,59,.72)); }
.tour-hero__inner { position: relative; z-index: 2; padding-block: clamp(2rem, 5vw, 3.5rem); }
.tour-hero__inner, .post-hero__inner { text-shadow: 0 1px 18px rgba(8,22,45, .42); }
.tour-hero__type { color: rgba(255,255,255,.85); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.tour-hero__title { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.7vw, 3rem); margin: 0 0 0.5rem; max-width: 20ch; }
.tour-hero__facts { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; font-size: 1.05rem; color: rgba(255,255,255,.94); }
.tour-hero__facts strong { color: var(--white); }

.tour-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: start; }
@media (min-width: 980px) { .tour-layout { grid-template-columns: minmax(0,1fr) 350px; } }

.tour-block + .tour-block { margin-top: var(--space-xl); }
.tour-block__title { font-size: 1.5rem; margin-bottom: 0.9rem; }

/* Highlights */
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.highlight { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 0.9rem; }
.highlight__name { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.highlight__desc { grid-column: 1 / -1; color: var(--muted); margin: 0; }

/* Itinerary timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 0.5rem; bottom: 0.5rem; left: 4.75rem; width: 2px; background: var(--hairline); }
.timeline__item { position: relative; display: grid; grid-template-columns: 4rem 1fr; gap: 1.4rem; padding-bottom: 1.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__time { text-align: right; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; padding-top: 0.05rem; }
.timeline__item::before { content: ""; position: absolute; left: 4.75rem; top: 0.35rem; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); transform: translateX(-5.5px); }
.timeline__activity { padding-top: 0.02rem; }

/* Inclusions */
.inclusions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.55rem 1.5rem; }
.inclusions li { position: relative; padding-left: 1.7rem; margin: 0; }
.inclusions li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: color-mix(in srgb, var(--blue) 14%, transparent); }
.inclusions li::after { content: ""; position: absolute; left: 0.36rem; top: 0.4em; width: 0.36rem; height: 0.62rem; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(43deg); }

.terms { color: var(--muted); font-size: 0.95rem; }
.terms li { margin-bottom: 0.35em; }

/* Booking card (sticky) */
.booking-card { position: sticky; top: calc(var(--header-h) + 16px); background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-card); box-shadow: var(--shadow-float); padding: 1.5rem; }
.booking-card__from { font-size: 0.85rem; color: var(--muted); }
.booking-card__price { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--ink); line-height: 1.1; margin: 0.1rem 0 0.2rem; }
.booking-card__price small { font-size: 0.95rem; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.booking-card__custom { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.price-tiers { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.96rem; }
.price-tiers th { text-align: left; font-weight: 500; color: var(--muted); font-size: 0.82rem; padding-bottom: 0.3rem; }
.price-tiers td { padding: 0.5rem 0; border-top: 1px solid var(--hairline); }
.price-tiers td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.booking-card__pickup { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }
.booking-card__pickup strong { color: var(--ink); display: block; margin-bottom: 0.15rem; }

/* Mobile sticky booking bar */
.booking-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; background: var(--white); border-top: 1px solid var(--hairline); box-shadow: 0 -8px 24px -14px rgba(11,30,59,.3); }
.booking-bar__price { font-weight: 600; color: var(--ink); }
.booking-bar__price small { color: var(--muted); font-weight: 400; }
@media (max-width: 979px) { .booking-bar { display: flex; } body.single-tour { padding-bottom: 72px; } }

/* Related tours */
.related { border-top: 1px solid var(--hairline); }

/* ---- Rent car ---- */
.rentcar-inclusions { margin-top: 1.25rem; max-width: 640px; }
.rentcar-note { margin-top: 1rem; }
.vehicle-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.vehicle-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(11,30,59,.28); border-color: color-mix(in srgb, var(--blue) 34%, transparent); }
.vehicle-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.vehicle-card__media img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-card__body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.vehicle-card__title { font-size: 1.25rem; margin: 0; }
.vehicle-card__seats { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: var(--muted); }
.vehicle-card__seats svg { width: 1.1rem; height: 1.1rem; color: var(--blue-soft); }
.vehicle-card__rates { list-style: none; margin: 0.25rem 0 0.5rem; padding: 0.7rem 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 0.4rem; }
.vehicle-card__rates li { display: flex; align-items: baseline; justify-content: space-between; margin: 0; }
.vehicle-card__rates span { color: var(--muted); font-size: 0.92rem; }
.vehicle-card__rates strong { color: var(--ink); }
.vehicle-card .btn { margin-top: auto; }

/* ---- Airport transfer ---- */
.transfer-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: start; }
@media (min-width: 900px) { .transfer-layout { grid-template-columns: minmax(0,1fr) 320px; } }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 0.85rem; padding: 0.45rem 0.6rem; border-bottom: 2px solid var(--hairline); }
.rate-table td { padding: 0.65rem 0.6rem; border-bottom: 1px solid var(--hairline); }
.rate-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.rate-table tbody tr:hover td { background: color-mix(in srgb, var(--sand) 45%, transparent); }
.transfer-terms { margin: 1rem 0; }

/* Selectable one-way rate rows */
.transfer-hint { color: var(--muted); font-size: 0.92rem; margin: 0 0 1rem; }
.rate-list { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.rate-list__head { display: flex; align-items: center; justify-content: space-between; padding: 0.45rem 0.85rem; font-size: 0.82rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid var(--hairline); }
.rate-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--hairline); cursor: pointer; position: relative; transition: background .15s ease; }
.rate-row:hover { background: color-mix(in srgb, var(--sand) 50%, transparent); }
.rate-row__radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-row__area { color: var(--ink); }
.rate-row__price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.rate-row.is-selected,
.rate-row:has(.rate-row__radio:checked) { background: color-mix(in srgb, var(--blue) 10%, transparent); box-shadow: inset 3px 0 0 var(--blue); }
.rate-row:has(.rate-row__radio:focus-visible) { outline: 2px solid var(--gold); outline-offset: -2px; }

/* ---- About ---- */
.about-eyebrow { color: var(--blue-soft); font-weight: 600; margin-bottom: 0.4rem; }

/* ---- Gallery (Gallery page — masonry columns) ---- */
.gallery-grid { columns: 3 260px; column-gap: 14px; }
.gallery-item { display: block; margin: 0 0 14px; border-radius: var(--radius-img); overflow: hidden; break-inside: avoid; border: 1px solid var(--hairline); }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ---- Contact ---- */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: start; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 1fr 1.1fr; } }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li { margin-bottom: 1rem; }
.contact-list strong { display: block; color: var(--ink); margin-bottom: 0.15rem; }
.contact-list a { color: var(--blue); }
.contact-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.contact-socials a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--hairline); border-radius: 50%; color: var(--blue); }
.contact-socials a:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, transparent); }
.contact-socials svg { width: 1.15rem; height: 1.15rem; }
.contact-map { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--hairline); min-height: 380px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---- Blog ---- */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -18px rgba(11,30,59,.28); border-color: color-mix(in srgb, var(--blue) 34%, transparent); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-card__media img { transform: scale(1.045); }
.post-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.05rem 1.2rem 1.25rem; flex: 1; }
.post-card__cat { font-size: 0.82rem; font-weight: 700; color: var(--blue); }
.post-card__title { font-size: 1.25rem; margin: 0; line-height: 1.2; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { color: var(--muted); font-size: 0.95rem; margin: 0; }
.post-card__meta { margin-top: auto; padding-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }

.post-hero { position: relative; color: var(--white); min-height: min(52vh, 460px); display: flex; align-items: flex-end; overflow: hidden; background: linear-gradient(135deg, var(--blue), var(--ink)); }
.post-hero__media { position: absolute; inset: 0; }
.post-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,30,59,.10), rgba(11,30,59,.72)); }
.post-hero__inner { position: relative; z-index: 2; padding-block: clamp(2rem, 5vw, 3.5rem); }
.post-hero__cat { color: rgba(255,255,255,.85); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.post-hero__title { color: var(--white); font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.8rem); margin: 0 0 0.5rem; max-width: 24ch; }
.post-hero__meta { color: rgba(255,255,255,.9); font-size: 0.95rem; }
.post-content { margin-top: 0; }
.post-content > * + * { margin-top: 1.1em; }
.post-content h2, .post-content h3 { margin-top: 1.6em; }
.post-content img { max-width: 100%; height: auto; border-radius: var(--radius-img); }
.post-content figure { margin: 1.6rem 0; }
.post-content figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; text-align: center; }
.post-content .wp-video, .post-content video { width: 100% !important; max-width: 100%; height: auto; border-radius: var(--radius-img); margin: 1.6rem 0; }
.post-content p:has(> img + img) { display: flex; flex-wrap: wrap; gap: 12px; }
.post-content p:has(> img + img) img { flex: 1 1 200px; width: auto; max-height: 320px; object-fit: cover; }
.post-content .wp-block-gallery, .post-content .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 1.6rem 0; }
.post-content .gallery img { width: 100%; height: 100%; object-fit: cover; }
.post-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-tag { display: inline-block; font-size: 0.82rem; padding: 0.3rem 0.75rem; border: 1px solid var(--hairline); border-radius: var(--radius-pill); color: var(--blue); text-decoration: none; }
.post-tag:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, transparent); }

/* ---- Pagination ---- */
.pagination { margin-top: var(--space-xl); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 0.7rem; border: 1px solid var(--hairline); border-radius: 10px; color: var(--ink); text-decoration: none; }
.page-numbers.current { background: var(--blue); color: var(--white); border-color: var(--blue); }
.page-numbers:hover:not(.current) { border-color: var(--blue); color: var(--blue); }

/* ---- 404 ---- */
.section--404 { padding-block: var(--space-2xl); }
.section__404-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- Carousel (smaller cards, slide) ---- */
.carousel { position: relative; }
.carousel__track {
	display: flex; gap: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory;
	scroll-behavior: smooth; padding: 4px 4px 12px; margin: -4px -4px 0;
	scrollbar-width: thin; scrollbar-color: var(--hairline) transparent;
}
.carousel__track::-webkit-scrollbar { height: 6px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 3px; }
.carousel__item { flex: 0 0 clamp(260px, 44%, 320px); scroll-snap-align: start; }
.carousel__item .tour-card { min-height: 360px; }
.carousel__item .tour-card__title { font-size: 1.2rem; }
.carousel__btn {
	position: absolute; top: 40%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline);
	background: var(--white); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center; z-index: 3;
	box-shadow: 0 6px 16px -8px rgba(11,30,59, .3); transition: color .18s, border-color .18s, opacity .18s;
}
.carousel__btn--prev { left: -8px; }
.carousel__btn--next { right: -8px; }
.carousel__btn:hover:not([disabled]) { border-color: var(--blue); color: var(--blue); }
.carousel__btn[disabled] { opacity: .35; cursor: default; }
@media (max-width: 600px) {
	.carousel__btn { display: none; }
	.carousel__item { flex-basis: 82%; }
}

/* ---- Scroll reveal (motion) ----
   Pre-hidden only when JS is on AND motion is allowed, so no-JS and
   reduced-motion visitors always see content immediately (no flash). */
@media (prefers-reduced-motion: no-preference) {
	html.js :is(.section__head, .section__bar, .section-head, .timeline, .rate-table, .gallery-grid, .home-gallery, .carousel, .contact-map, .contact-details, .why-list, .guide-photo, .svc-card, .stats) {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1);
	}
	html.js :is(.section__head, .section__bar, .section-head, .timeline, .rate-table, .gallery-grid, .home-gallery, .carousel, .contact-map, .contact-details, .why-list, .guide-photo, .svc-card, .stats).is-visible {
		opacity: 1;
		transform: none;
	}
	/* Grids: slide the block up, fade the cards in with a gentle stagger. */
	html.js .grid, html.js .tour-grid { transform: translateY(22px); transition: transform .7s cubic-bezier(.2, .6, .2, 1); }
	html.js .grid.is-visible, html.js .tour-grid.is-visible { transform: none; }
	html.js .grid > *, html.js .tour-grid > * { opacity: 0; transition: opacity .6s ease; }
	html.js .grid.is-visible > *, html.js .tour-grid.is-visible > * { opacity: 1; }
	html.js .grid.is-visible > *:nth-child(2), html.js .tour-grid.is-visible > *:nth-child(2) { transition-delay: .07s; }
	html.js .grid.is-visible > *:nth-child(3), html.js .tour-grid.is-visible > *:nth-child(3) { transition-delay: .14s; }
	html.js .grid.is-visible > *:nth-child(4), html.js .tour-grid.is-visible > *:nth-child(4) { transition-delay: .21s; }
	html.js .grid.is-visible > *:nth-child(5), html.js .tour-grid.is-visible > *:nth-child(5) { transition-delay: .28s; }
	html.js .grid.is-visible > *:nth-child(6), html.js .tour-grid.is-visible > *:nth-child(6) { transition-delay: .35s; }
}

/* --- FAQ (homepage accordion) --------------------------------------- */
.faq { background: var(--sand); }
.faq-list { max-width: var(--container-narrow); margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.faq-item[open] { border-color: var(--blue-soft); box-shadow: var(--shadow-float); }
.faq-q { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.1rem; list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.3; color: var(--ink); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--blue); }
.faq-q:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: var(--radius-card); }
.faq-ico { position: relative; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 0.15rem; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.faq-ico::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-ico::after { top: 2px; left: 9px; width: 2px; height: 16px; }
.faq-item[open] .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { padding: 0 1.4rem 1.3rem; }
.faq-a p { max-width: 62ch; margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.62; }
@media (prefers-reduced-motion: reduce) {
	.faq-item, .faq-ico::before, .faq-ico::after { transition: none; }
}
