/*
PALETTE: navy #1f2d50 · coral #f0644f · butter #f6d873 · ivory #f7f3ec
VOICE: a road-trip notebook — you are already on the way
IDEA: the travel journal: a route map that draws itself, postcards, stamps, a boarding pass
PICTURE: live map of Morocco where your chosen tour is drawn stop by stop
COLOUR/TYPE: Majorelle blue, saffron, terracotta stamp ink on white paper; DM Serif Display + Caveat notes + Plus Jakarta Sans
LAYOUT: map beside the picker, then postcards, polaroids, boarding-pass calculator
*/
:root {
  --blue: #2340c8; --blue-deep: #172b8f; --ink: #14204a; --muted: #5b6481;
  --sun: #f2b441; --stamp: #c8553d; --mint: #2f8f6b; --paper: #ffffff; --sheet: #f6f4ef; --line: #e3dfd6;
  --wa: #1f9d55; --max: 1240px;
  --serif: "DM Serif Display", Georgia, serif; --hand: "Caveat", "Segoe Print", cursive;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* palette: navy & coral */
:root {
  --blue: #0f2a52; --blue-deep: #001e3f; --ink: #0b1b36; --muted: #5a6478; --sun: #f6d873; --stamp: #f25a24;
  --paper: #ffffff; --sheet: #f7f3ec; --line: #e6e1d8; --coast: #b9c3dc; --coast-text: #8b96b5; --on-dark: #e1e6f3;
  --foot: #001a38; --foot-line: #1d3558; --foot-text: #c9cfe2; --shadow: rgba(24,32,58,.45);
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--paper); overflow-x: clip; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(4vw, 18px); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.6rem); } h2 { font-size: clamp(2rem, 3.6vw, 3rem); } h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: 1.18rem; color: var(--muted); } .muted { color: var(--muted); } .small { font-size: .9rem; }
.note { font-family: var(--hand); font-size: 1.6rem; color: var(--stamp); line-height: 1.1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.5rem; border-radius: 12px; font: 700 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--sun); color: var(--ink); } .btn-dark { background: var(--blue); color: #fff; } .btn-dark:hover { background: var(--blue-deep); }
.btn-line { border-color: currentColor; background: transparent; } .btn-wa { background: var(--wa); color: #fff; }

.topbar { background: var(--blue); color: #fff; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: flex-end; padding-block: .4rem; }
.langs a { margin-left: .9rem; text-decoration: none; opacity: .7; } .langs a[aria-current] { opacity: 1; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 74px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: .55rem; } .logo-mark { width: 38px; height: 38px; }
.logo-word { font-family: var(--serif); font-size: 1.65rem; line-height: 1; } .logo-word small { display: block; font: 600 .7rem/1.2 var(--sans); color: var(--muted); }
.nav { display: flex; gap: 1.7rem; } .nav a { text-decoration: none; font-weight: 600; } .nav a:hover { color: var(--blue); }
.menu-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 10px; padding: .4rem 1rem; font: 700 .95rem var(--sans); cursor: pointer; }
@media (max-width: 980px) { .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem max(4vw,18px) 1.5rem; border-bottom: 1px solid var(--line); } .nav.open { display: flex; } .menu-toggle { display: block; } .header-cta { display: none; } }

/* hero: journal page with live map */
.hero { background: var(--sheet); padding: clamp(32px, 5vw, 64px) 0; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.hero .note { transform: rotate(-3deg); display: inline-block; margin-bottom: .4rem; }
.picker { margin-top: 1.6rem; }
.picker .q { font-weight: 700; margin: 0 0 .5rem; }
.days, .cities { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.days button, .cities button { font-family: inherit; cursor: pointer; border: 2px solid var(--line); background: #fff; color: var(--ink); }
.days button { width: 48px; height: 48px; border-radius: 12px; font: 700 1.1rem var(--sans); }
.cities button { min-height: 48px; padding: 0 1.1rem; border-radius: 12px; font: 600 .95rem var(--sans); }
.days button[aria-pressed="true"], .cities button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.mapcard { background: #fff; border-radius: 20px; padding: 1rem 1rem 0; box-shadow: 0 30px 60px -35px var(--shadow); border: 1px solid var(--line); transform: rotate(.6deg); }
.mapcard svg { width: 100%; height: auto; display: block; }
.mapcard .coast { fill: none; stroke: var(--coast); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mapcard .sea { font: italic 13px var(--serif); fill: var(--coast-text); }
.mapcard .city circle { fill: #fff; stroke: #c8cde0; stroke-width: 2; }
.mapcard .city text { font: 600 11px var(--sans); fill: #9aa1b8; }
.mapcard .city.on circle { fill: var(--blue); stroke: #fff; }
.mapcard .city.on text { fill: var(--ink); font-size: 12px; font-weight: 700; }
.mapcard .route { fill: none; stroke: var(--stamp); stroke-width: 3.5; stroke-dasharray: 8 7; stroke-linecap: round; }
.mapcard .start circle { fill: var(--sun); }
.pass { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; border-top: 2px dashed var(--line); margin: .6rem -1rem 0; padding: 1rem 1.2rem 1.1rem; }
.pass .go { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; text-decoration: none; display: block; }
.pass .go:hover { color: var(--blue); }
.pass .meta { color: var(--muted); font-size: .9rem; margin: .15rem 0 0; }
.pass .price { text-align: right; white-space: nowrap; }
.pass .price strong { display: block; font: 400 1.9rem/1 var(--serif); color: var(--blue); }
.pass .price span { font-size: .8rem; color: var(--muted); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .mapcard { transform: none; } }
@media (prefers-reduced-motion: no-preference) { .mapcard .route.draw { animation: draw 1.4s ease-out both; } @keyframes draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } } }

.promise { background: var(--blue); color: #fff; }
.promise ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.promise strong { display: block; color: var(--sun); } .promise span { font-size: .93rem; opacity: .88; }
@media (max-width: 860px) { .promise ul { grid-template-columns: 1fr 1fr; } }

section.band { padding: clamp(56px, 8vw, 110px) 0; } section.band.sheet { background: var(--sheet); } section.band.blue { background: var(--blue); color: #fff; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; } .head p { margin: 0; }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.tabs button { min-height: 46px; padding: 0 1.2rem; border-radius: 12px; border: 2px solid var(--ink); background: transparent; font: 700 .98rem var(--sans); cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }

/* postcards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.postcard { position: relative; display: block; background: #fff; padding: 12px 12px 16px; border-radius: 10px; text-decoration: none; box-shadow: 0 14px 30px -20px var(--shadow); border: 1px solid var(--line); transition: transform .2s ease; }
.postcard:hover { transform: rotate(-.8deg) translateY(-3px); }
.postcard img { aspect-ratio: 3/2; object-fit: cover; border-radius: 6px; width: 100%; }
.stamp { position: absolute; top: 0; right: 18px; transform: translateY(-30%) rotate(6deg); width: 74px; height: 84px; background: #fff; border: 2px dashed var(--stamp); border-radius: 6px; display: grid; place-items: center; text-align: center; color: var(--stamp); }
.stamp b { font: 400 2rem/1 var(--serif); display: block; } .stamp small { font-size: .7rem; font-weight: 700; }
.postcard h3 { margin: .9rem .2rem .2rem; font-size: 1.3rem; }
.postcard .route { font-family: var(--hand); font-size: 1.25rem; color: var(--blue); margin: 0 .2rem .6rem; line-height: 1.15; }
.postcard .foot { display: flex; justify-content: space-between; align-items: end; margin: 0 .2rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.postcard .foot strong { font: 400 1.5rem/1 var(--serif); } .postcard .foot span { font-size: .8rem; color: var(--muted); display: block; }
.postmark { font-size: .78rem; font-weight: 700; color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: .2rem .6rem; }

/* polaroids */
.polaroids { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem .2rem 1.6rem; }
.polaroid { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; background: #fff; padding: 12px 12px 14px; box-shadow: 0 16px 30px -20px var(--shadow); margin: 0; }
.polaroid:nth-child(odd) { transform: rotate(-1.6deg); } .polaroid:nth-child(even) { transform: rotate(1.4deg); }
.polaroid img { aspect-ratio: 1/1; object-fit: cover; }
.polaroid figcaption { font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; margin-top: .6rem; }

/* milestones */
.miles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.miles::before { content: ""; position: absolute; top: 26px; left: 26px; right: 10%; border-top: 3px dashed rgba(255,255,255,.5); }
.miles li { position: relative; }
.miles .pin { width: 52px; height: 52px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font: 400 1.5rem var(--serif); margin-bottom: 1rem; position: relative; }
.miles p { color: var(--on-dark); }
@media (max-width: 820px) { .miles { grid-template-columns: 1fr; } .miles::before { display: none; } }

/* boarding pass calculator */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.field { margin-bottom: 1rem; } .field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field select, .field input, .field textarea { width: 100%; min-height: 50px; font: 16px var(--sans); padding: .7rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.boarding { display: grid; grid-template-columns: 1fr 150px; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -35px var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.boarding .main { padding: 1.6rem; }
.boarding .label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.boarding .total { font: 400 clamp(2.4rem, 4.5vw, 3.2rem)/1 var(--serif); color: var(--blue); margin: .2rem 0 1rem; }
.boarding dl { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin: 0 0 1.2rem; }
.boarding dt { color: var(--muted); } .boarding dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.boarding .stub { background: var(--blue); color: #fff; padding: 1.6rem 1rem; border-left: 3px dashed #fff; display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.boarding .stub b { font: 400 2.6rem/1 var(--serif); } .boarding .stub span { font-size: .85rem; }
.boarding .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; } .boarding { grid-template-columns: 1fr; } .boarding .stub { border-left: 0; border-top: 3px dashed #fff; flex-direction: row; } }

.chooser { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.chooser img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 880px) { .chooser { grid-template-columns: 1fr; } }

.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.dest { text-decoration: none; } .dest img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; margin-bottom: .7rem; }
.dest h3 { margin: 0 0 .15rem; } .dest p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .dest-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 540px) { .dest-grid { grid-template-columns: 1fr; } }

.faq { max-width: 860px; }
.faq details { border-bottom: 2px dashed var(--line); padding: 1.1rem 0; }
.faq summary { font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); } .faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; color: var(--muted); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post { text-decoration: none; } .post img { border-radius: 14px; aspect-ratio: 16/11; object-fit: cover; margin-bottom: .9rem; }
.post .cat { color: var(--stamp); font-weight: 700; font-size: .88rem; } .post h3 { margin: .2rem 0 0; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

.closing { background: var(--blue); color: #fff; padding: clamp(70px, 10vw, 130px) 0; text-align: center; }
.closing .note { color: var(--sun); } .closing p { margin-inline: auto; color: var(--on-dark); }
.closing .actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.site-footer { background: var(--foot); color: var(--foot-text); padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.foot-grid h2 { font: 700 1rem var(--sans); color: #fff; margin-bottom: .8rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; } .foot-grid li { margin-bottom: .45rem; }
.site-footer .logo-word { color: #fff; } .site-footer .logo-word small { color: var(--foot-text); }
.foot-bottom { border-top: 1px solid var(--foot-line); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 25px var(--shadow); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (prefers-reduced-motion: reduce) { .postcard { transition: none; } }
.mapcard .city text { display: none; }
.mapcard .city.on text { display: block; paint-order: stroke; stroke: #fff; stroke-width: 3px; }

/* TripAdvisor (filled from /tripadvisor/widget.html) */
.reviews { text-align: center; }
.reviews .ta-box { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: flex-start; margin: 1.5rem auto 0; max-width: 1000px; }
.reviews .ta-box > * { max-width: 100%; }
.ta-link { display: inline-flex; align-items: center; gap: .45rem; }
.ta-link svg { width: 22px; height: 22px; }

/* ---------- inner pages ---------- */
.h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.1; margin: 0 0 .3rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--stamp); }
.pagehead { background: var(--sheet); padding: clamp(28px, 4vw, 56px) 0 clamp(32px, 4vw, 56px); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; }
.pagehead .note { display: inline-block; transform: rotate(-2deg); margin-bottom: .3rem; }
.pagehead h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
section.band.tight { padding-top: clamp(32px, 4vw, 56px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-block: clamp(36px, 5vw, 70px); }
.page-grid.with-form { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: start; }
@media (max-width: 920px) { .page-grid.with-form { grid-template-columns: 1fr; } }
.postcard.still { margin: 1.5rem 0 0; transform: rotate(-1deg); max-width: 520px; }
.postcard.still.wide { max-width: 860px; margin: clamp(-24px, -2vw, -12px) auto 0; position: relative; }
.postcard.still:hover { transform: rotate(-1deg); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; } .prose li { margin-bottom: .45rem; } .prose li::marker { color: var(--stamp); }
.prose a { color: var(--blue); text-decoration-color: var(--stamp); text-underline-offset: 3px; }
.prose.narrow { padding-block: 2rem 4rem; }
.tablewrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.prose table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sheet); font-weight: 700; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0 0 1rem; }
.chips li, .chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; font-weight: 600; text-decoration: none; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-bottom: 1.8rem; }
.fgroup { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; } .fgroup > span { font-weight: 700; margin-right: .3rem; }
.fgroup button { min-height: 42px; min-width: 42px; padding: 0 .9rem; border-radius: 10px; border: 2px solid var(--line); background: #fff; font: 600 .95rem var(--sans); cursor: pointer; color: var(--ink); }
.fgroup button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filters [data-count] { margin: 0; }

/* tour page */
.tour-hero { background: var(--sheet); padding: clamp(24px, 3vw, 44px) 0 clamp(36px, 5vw, 64px); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; }
.tour-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: start; }
.tour-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.tour-hero .note { display: inline-block; transform: rotate(-2deg); }
.side { display: grid; gap: 1.2rem; }
.mapcard.small { transform: rotate(.8deg); padding-bottom: 1rem; }
.pricebox { grid-template-columns: 1fr; }
.pricebox dd small { font-weight: 500; color: var(--muted); }
@media (max-width: 920px) { .tour-hero-grid { grid-template-columns: 1fr; } }
.subnav { position: sticky; top: 74px; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 1.4rem; overflow-x: auto; padding-block: .8rem; white-space: nowrap; }
.subnav a { text-decoration: none; font-weight: 700; font-size: .93rem; color: var(--muted); } .subnav a:hover { color: var(--stamp); }
.tour-body { padding-block: 1rem 4rem; max-width: 980px; }
.tsec { scroll-margin-top: 140px; }
.tsec > h2 { border-top: 2px dashed var(--line); padding-top: 2rem; margin-top: 2.6rem; }
.tsec-itinerary h3 { position: relative; margin: 2rem 0 .6rem; padding-left: 2.6rem; font-size: 1.45rem; }
.tsec-itinerary h3::before { content: ""; position: absolute; left: 0; top: .1rem; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--sun); }
.tsec-itinerary ul { border-left: 3px dashed var(--line); margin-left: 12px; padding-left: 2rem; }
.tsec-itinerary ul + p { margin-left: 12px; padding: .7rem 1rem; background: var(--sheet); border-radius: 10px; font-size: .9rem; color: var(--muted); }

/* forms */
.formbox { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; box-shadow: 0 30px 60px -40px var(--shadow); }
.formbox h2 { font-size: 1.7rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: .8rem 1rem; border-radius: 10px; font-weight: 600; }
.form-msg.ok { background: #e7f5ec; color: #17623a; } .form-msg.err { background: #fdeceb; color: #9b2c1f; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.ccard { display: block; border: 2px dashed var(--line); border-radius: 14px; padding: 1.2rem; text-decoration: none; background: #fff; }
.ccard strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; } .ccard span { color: var(--muted); }
.ccard:hover { border-color: var(--stamp); }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.faq-group { padding-block: 2.5rem 0; } .faq-group:last-child { padding-bottom: 4rem; }

/* quiz */
.quiz { max-width: 760px; }
.quiz-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; font-weight: 700; color: var(--muted); }
.quiz-bar .bar { flex: 1; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; } .quiz-bar i { display: block; height: 100%; background: var(--stamp); width: 20%; transition: width .3s; }
.qstep { border: 0; padding: 0; margin: 0; } .qstep legend { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin-bottom: 1.2rem; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; } @media (max-width: 600px) { .opts { grid-template-columns: 1fr; } }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: block; padding: 1.1rem 1.2rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600; min-height: 60px; }
.opt input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 1.6rem; }
#quiz-result .actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.postcard .best { position: absolute; left: 22px; top: 22px; background: var(--stamp); color: #fff; font-weight: 700; font-size: .8rem; padding: .25rem .7rem; border-radius: 99px; }

/* booking */
.book .pricebox { position: sticky; top: 100px; }
.book-ok { grid-column: 1 / -1; background: #e7f5ec; border-radius: 18px; padding: 2rem; }
#paypal-buttons { min-height: 50px; margin: 1rem 0; }
.closing.simple { min-height: 50vh; display: grid; align-items: center; }
.formbox .grid2 { grid-template-columns: 1fr; }
@media (min-width: 1100px) { .page-grid.with-form { grid-template-columns: minmax(0, 1fr) 460px; } }
.contact-cards { margin-top: 0; }

/* day photos */
.daypics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: .4rem 0 1.1rem 12px; }
.daypics figure { margin: 0; position: relative; }
.daypics img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 24px -18px var(--shadow); }
.daypics figcaption { position: absolute; left: .6rem; bottom: .55rem; background: rgba(17,26,48,.72); color: #fff; font-size: .78rem; font-weight: 600; padding: .2rem .6rem; border-radius: 99px; }
@media (max-width: 640px) {
  .daypics { grid-template-columns: 1fr 1fr; margin-left: 0; }
  .daypics figure:first-child { grid-column: 1 / -1; }
}

/* booking call-to-action inside the tour page */
.tour-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; background: var(--blue); color: #fff; border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); margin: 2.6rem 0 1rem; }
.tour-cta h2 { color: #fff; margin: .1rem 0 .4rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tour-cta .note { color: var(--sun); }
.tour-cta p { margin: 0 0 .3rem; }
.tour-cta .muted { color: var(--on-dark); opacity: .85; }
.tour-cta .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.tour-cta-text { flex: 1 1 380px; }

/* brand logo (image) */
.logo-foot { display: inline-block; background: #fff; border-radius: 18px; padding: 14px 18px; }
.logo-foot img { height: auto; width: 210px; }
.nav { gap: 1.3rem; } .nav a, .header-cta { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 981px) { .header-cta { display: none; } }

/* header: logo size per screen, menu button never squeezed */
.site-header .logo { flex-shrink: 1; min-width: 0; }
.site-header .logo img { height: 46px; width: auto; max-width: 100%; display: block; }
.menu-toggle { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 980px) { .site-header .logo img { height: 40px; } }
@media (max-width: 560px) {
  .site-header .wrap { height: 64px; gap: .8rem; }
  .site-header .logo img { height: 32px; }
  .nav { top: 64px; }
  .menu-toggle { padding: .35rem .8rem; font-size: .9rem; }
}

/* hamburger button */
.menu-toggle { width: 46px; height: 46px; padding: 0 !important; border: 0; border-radius: 12px; background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
@media (max-width: 980px) { .menu-toggle { display: flex; } }
.menu-toggle span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu-toggle span { transition: none; } }
