/* ==========================================================================
   SEFAR Aventure — public site styles
   Palette taken from the logo: sun yellow + rock-art brown, set against
   Saharan night indigo and dune sand.
   ========================================================================== */

/* Self-hosted variable fonts (SIL Open Font License) — no Google Fonts request needed */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic-var.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
    --night: #161B36;
    --night-2: #222a52;
    --sun: #F7D300;
    --sun-deep: #E2BC00;
    --ink: #2E1F1B;
    --brown: #533630;
    --rock: #8E5B41;
    --dune: #EAD7B2;
    --sand: #F4EAD6;
    --paper: #FCFAF6;
    --white: #ffffff;
    --line: rgba(46, 31, 27, .14);
    --muted: #6E5A51;
    --wa: #1FAF54;

    --f-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-body: "Newsreader", Georgia, "Times New Roman", serif;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --r-sm: 8px;
    --r: 16px;
    --r-lg: 28px;
    --shadow: 0 18px 40px -22px rgba(22, 27, 54, .45);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 1.125rem;
    line-height: 1.6;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-variation-settings: "wdth" 112;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
    color: var(--ink);
    text-wrap: balance;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; font-variation-settings: "wdth" 104; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 700; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: .75em 1.4em;
    border-radius: 999px; border: 2px solid transparent;
    font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .005em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: .9em 1.8em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffe033; }
.btn-night { background: var(--night); color: var(--white); }
.btn-night:hover { background: var(--night-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: var(--white); color: var(--night); }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); color: var(--white); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #179446; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.text-btn { background: none; border: 0; padding: 0; font-family: var(--f-display); font-weight: 700; font-size: .95rem; color: var(--rock); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.link-more {
    display: inline-flex; align-items: center; gap: .4em;
    font-family: var(--f-display); font-weight: 700; font-size: 1rem;
    text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px;
}
.link-more .ic { transition: transform .2s var(--ease); }
.link-more:hover .ic { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    transition: background-color .3s, box-shadow .3s, padding .3s;
    padding: 18px 0;
}
.header-row { display: flex; align-items: center; gap: 28px; }
.brand { position: relative; display: block; flex: none; width: 150px; }
.brand img { width: 150px; height: auto; transition: opacity .3s; }
.brand-dark { position: absolute; inset: 0; opacity: 0; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: 10px 14px; border-radius: 999px;
    font-family: var(--f-display); font-weight: 600; font-size: .98rem;
    color: var(--white); text-decoration: none; transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: rgba(255,255,255,.14); }
.main-nav a.is-active { box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
.header-cta { flex: none; }

.site-header.is-solid { background: rgba(252, 250, 246, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.site-header.is-solid .brand-light { opacity: 0; }
.site-header.is-solid .brand-dark { opacity: 1; }
.site-header.is-solid .brand img { width: 128px; }
.site-header.is-solid .brand { width: 128px; }
.site-header.is-solid .main-nav a { color: var(--ink); }
.site-header.is-solid .main-nav a:hover { background: var(--sand); }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); cursor: pointer; }
.burger { display: grid; gap: 6px; width: 22px; margin: auto; }
.burger i { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), background-color .3s; }
.site-header.is-solid .menu-toggle { background: var(--sand); }
.site-header.is-solid .burger i { background: var(--ink); }
.menu-open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .site-header { background: var(--night); box-shadow: none; }
.menu-open .site-header .brand-light { opacity: 1; }
.menu-open .site-header .brand-dark { opacity: 0; }
.menu-open .site-header .burger i { background: var(--white); }
.menu-open .site-header .menu-toggle { background: rgba(255,255,255,.14); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 40; background: var(--night); color: var(--white);
    padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
    display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12);
    font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: 1.7rem;
    text-decoration: none; letter-spacing: -.01em;
}
.mobile-menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mobile-phone { text-align: center; font-family: var(--f-display); font-weight: 600; color: var(--dune); }

/* ---------- Home hero ---------- */
.hero {
    position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
    background: var(--night); color: var(--white); isolation: isolate; padding-top: 120px;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 9s linear;
}
.hero-slide.is-on { opacity: 1; transform: scale(1); }
.hero-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(22,27,54,.55) 0%, rgba(22,27,54,0) 26%),
        linear-gradient(20deg, rgba(22,27,54,.92) 8%, rgba(22,27,54,.35) 55%, rgba(22,27,54,.1) 100%);
}
.hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 48px; }
.hero-copy { max-width: 900px; }
.hero-title {
    color: var(--white);
    font-size: clamp(2.6rem, 5.6vw, 5.1rem);
    font-variation-settings: "wdth" 120;
    font-weight: 850;
    line-height: .96;
    letter-spacing: -.035em;
    margin-bottom: .35em;
    animation: rise .9s var(--ease) both .1s;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); max-width: 58ch; color: rgba(255,255,255,.88); animation: rise .9s var(--ease) both .25s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: rise .9s var(--ease) both .4s; }

/* the logo's tilted rounded square, used once as a stamp */
.hero-stamp {
    flex: none; width: 190px; aspect-ratio: 1; display: grid; place-items: center;
    text-decoration: none; color: var(--ink); position: relative;
    animation: stamp 1s var(--ease) both .7s;
}
.hero-stamp::before {
    content: ""; position: absolute; inset: 14px; border-radius: 34px; background: var(--sun);
    transform: rotate(-12deg); transition: transform .5s var(--ease);
    box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.hero-stamp::after {
    content: ""; position: absolute; inset: 6px; border-radius: 38px; border: 2px solid rgba(255,255,255,.75);
    transform: rotate(8deg); transition: transform .5s var(--ease);
}
.hero-stamp:hover::before { transform: rotate(0deg); }
.hero-stamp:hover::after { transform: rotate(-4deg); }
.hero-stamp-inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 2px; padding: 0 30px; }
.hero-stamp img { width: 46px; margin-bottom: 4px; }
.hero-stamp strong { font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.hero-stamp span span, .hero-stamp-inner > span { font-family: var(--f-display); font-size: .82rem; font-weight: 600; line-height: 1.25; }

.finder {
    position: relative; z-index: 2; margin-bottom: -44px;
    display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0;
    background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 10px;
    box-shadow: var(--shadow); max-width: calc(var(--wrap) - 2 * var(--gutter));
    animation: rise .9s var(--ease) both .55s;
}
.finder-field { display: grid; padding: 8px 20px; border-right: 1px solid var(--line); }
.finder-field span { font-family: var(--f-display); font-size: .8rem; font-weight: 700; color: var(--rock); }
.finder-field select { border: 0; background: transparent; padding: 4px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232E1F1B' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 18px; padding-right: 24px; }
.finder-field:nth-child(3) { border-right: 0; }
.finder-btn { border-radius: calc(var(--r-lg) - 8px); min-height: 60px; padding-inline: 28px; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(.7) rotate(-20deg); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-sand { background: var(--sand); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head.on-dark h2, .section-head.on-dark .link-more { color: var(--white); }

.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.55; }

/* intro */
.intro { padding-top: clamp(110px, 12vw, 160px); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-variation-settings: "wdth" 108; font-weight: 750; line-height: 1.12; margin: 0; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 0; padding-top: 24px; border-top: 2px solid var(--ink); }
.figures div { display: flex; flex-direction: column-reverse; }
.figures dd { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 118; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -.02em; }
.figures dt { font-family: var(--f-display); font-size: .9rem; font-weight: 500; color: var(--muted); margin-top: 8px; line-height: 1.3; }
.figures-stack { grid-template-columns: 1fr; gap: 26px; margin-top: 0; }

/* ---------- Tour cards ---------- */
.card-rail, .tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.tour-card { display: flex; flex-direction: column; }
.tour-card-media { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--dune); }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tour-card:hover .tour-card-media img { transform: scale(1.05); }
.tour-days {
    position: absolute; left: 14px; top: 14px; background: var(--sun); color: var(--ink);
    font-family: var(--f-display); font-weight: 800; font-size: .88rem; padding: 6px 12px; border-radius: 10px;
    transform: rotate(-4deg);
}
.tour-card-body { padding: 18px 2px 0; display: flex; flex-direction: column; flex: 1; }
.tour-place { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-family: var(--f-display); font-size: .88rem; font-weight: 600; color: var(--rock); }
.tour-card h3 { font-size: 1.3rem; margin: 0 0 8px; }
.tour-card h3 a { text-decoration: none; background-image: linear-gradient(var(--sun), var(--sun)); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.tour-card h3 a:hover { background-size: 100% 3px; }
.tour-summary { font-size: 1.02rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.tour-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.tour-price { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; }
.tour-type { font-family: var(--f-display); font-size: .82rem; font-weight: 600; color: var(--muted); }

/* ---------- Destinations band ---------- */
.dest-band { background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.dest-band::before {
    /* faint star field: Saharan night */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image:
        radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 30% 70%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 55% 15%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 75% 45%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 90% 80%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 42% 40%, #fff 50%, transparent 51%);
    background-size: 380px 300px;
}
.dest-band .wrap { position: relative; }
.dest-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.dest-tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--white); background: var(--night-2); }
.dest-tile.is-big { grid-column: span 2; grid-row: span 2; }
.dest-tile.span-2 { grid-column: span 2; }
.dest-tile.span-4 { grid-column: span 4; }
.dest-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,27,54,.85) 0%, rgba(22,27,54,0) 60%); }
.dest-tile:hover img { transform: scale(1.06); }
.dest-tile-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: grid; gap: 2px; }
.dest-tile strong { font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: 1.45rem; line-height: 1.05; letter-spacing: -.01em; }
.dest-tile.is-big strong { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.dest-region { font-family: var(--f-display); font-size: .85rem; font-weight: 600; color: var(--sun); }
.dest-count { font-family: var(--f-display); font-size: .85rem; color: rgba(255,255,255,.8); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why-media { margin: 0; position: relative; }
.why-media img { border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; position: relative; z-index: 1; }
.why-media::before { content: ""; position: absolute; width: 46%; aspect-ratio: 1; right: -6%; bottom: -6%; border-radius: 30px; background: var(--sun); transform: rotate(-12deg); }
.why-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 22px; }
.why-list li { padding-left: 34px; position: relative; }
.why-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 4px; background: var(--sun); transform: rotate(-12deg); box-shadow: 3px 3px 0 var(--brown); }
.why-list h3 { margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); }

/* ---------- Testimonials ---------- */
.voices { background: var(--sand); }
.voice-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.voice { margin: 0; background: var(--paper); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; scroll-snap-align: start; }
.stars { display: flex; gap: 2px; color: var(--sun-deep); margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; }
.voice blockquote { margin: 0 0 22px; font-style: italic; font-size: 1.22rem; line-height: 1.5; }
.voice figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: .88rem; color: var(--muted); }
.voice figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.voice figcaption em { display: block; font-style: normal; color: var(--rock); font-weight: 600; }
.voice figcaption img, .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar { display: grid; place-items: center; background: var(--night); color: var(--sun); font-weight: 800; font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--sun); overflow: hidden; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; align-items: center; gap: 32px; padding-block: clamp(56px, 7vw, 88px); }
.cta-mark { position: absolute; right: -40px; top: 50%; width: 360px; transform: translateY(-50%) rotate(8deg); opacity: .12; pointer-events: none; filter: grayscale(1) brightness(0); }
.cta-copy h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-variation-settings: "wdth" 118; max-width: 16ch; }
.cta-copy p { max-width: 54ch; margin: 0; font-size: 1.15rem; }
.cta-actions { display: grid; gap: 12px; position: relative; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.post-card-media { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--dune); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding-top: 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--f-display); font-size: .85rem; font-weight: 600; color: var(--rock); margin-bottom: 6px; }
.post-meta a { text-decoration: none; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.post-card p:last-child { color: var(--muted); font-size: 1.02rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.82); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-news { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-news-title { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.footer-news p { margin: 0; }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; }
.news-form input[type=email] { flex: 1 1 240px; min-height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--white); padding: 0 22px; font-family: var(--f-display); }
.news-form input::placeholder { color: rgba(255,255,255,.55); }
.form-note { flex-basis: 100%; margin: 4px 0 0; font-family: var(--f-display); font-size: .92rem; }
.form-note.ok { color: var(--sun); }
.form-note.err { color: #ffb4a0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding: 48px 0; }
.footer-brand img { width: 190px; margin-bottom: 14px; }
.site-footer h3 { color: var(--white); font-size: 1rem; font-variation-settings: "wdth" 100; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ic { margin-top: .3em; color: var(--sun); }
.social { display: flex !important; gap: 10px !important; margin: 18px 0 0 !important; padding: 0 !important; list-style: none; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); transition: background-color .2s, color .2s; }
.social a:hover { background: var(--sun); color: var(--ink) !important; border-color: var(--sun); }
.social svg { width: 18px; height: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--f-display); font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-base p { margin: 0; display: flex; gap: 18px; }

.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 45;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: var(--wa); color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
    transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--night); color: var(--white); padding: clamp(140px, 16vw, 200px) 0 clamp(48px, 6vw, 80px); isolation: isolate; overflow: hidden; }
.page-hero.has-img { min-height: 56vh; display: flex; align-items: flex-end; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(15deg, rgba(22,27,54,.92) 10%, rgba(22,27,54,.35) 70%, rgba(22,27,54,.55) 100%); }
.page-hero:not(.has-img)::before {
    content: ""; position: absolute; right: -60px; bottom: -90px; width: 340px; aspect-ratio: 1; border-radius: 60px;
    background: var(--sun); opacity: .9; transform: rotate(-14deg); z-index: -1;
}
.page-hero-inner { width: 100%; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.6rem); font-variation-settings: "wdth" 120; font-weight: 850; letter-spacing: -.03em; max-width: 18ch; margin-bottom: .25em; }
.page-hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 60ch; color: rgba(255,255,255,.86); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-display); font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sun); }

/* ---------- Filters ---------- */
.filters { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 10px; background: var(--white); border: 1px solid var(--line); padding: 10px; border-radius: var(--r); }
.filters select, .filter-search input, .field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 10px 14px; border-radius: var(--r-sm);
    border: 1px solid var(--line); background: var(--paper);
    font-family: var(--f-display); font-size: 1rem;
}
.filters select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232E1F1B' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.filter-search { position: relative; display: block; }
.filter-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-search input { padding-left: 42px; }
.results-count { font-family: var(--f-display); font-weight: 600; margin: 22px 0 26px; color: var(--muted); display: flex; gap: 16px; }
.clear-link { color: var(--rock); }
.empty { text-align: center; padding: 64px 20px; background: var(--sand); border-radius: var(--r-lg); }
.empty p { color: var(--muted); }

.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; font-family: var(--f-display); font-weight: 600; }
.pager-pages { display: flex; gap: 6px; }
.pager a, .pager span { text-decoration: none; }
.pager-btn, .pager-num { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); }
.pager a:hover { background: var(--sand); }
.pager-num.is-current { background: var(--night); color: var(--white); border-color: var(--night); }
.pager-btn.is-disabled { opacity: .4; }

/* ---------- Tour detail ---------- */
.trip-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); background: var(--night); isolation: isolate; padding: 140px 0 110px; }
.trip-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.trip-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(15deg, rgba(22,27,54,.95) 10%, rgba(22,27,54,.25) 65%, rgba(22,27,54,.5) 100%); }
.trip-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-variation-settings: "wdth" 118; font-weight: 850; letter-spacing: -.03em; max-width: 20ch; margin-bottom: .3em; }
.trip-place { display: flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 700; color: var(--sun); margin-bottom: 10px; }
.trip-place a { text-decoration: none; }
.trip-lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); max-width: 62ch; color: rgba(255,255,255,.88); margin: 0; }

.fact-bar {
    position: relative; z-index: 2; margin: -56px 0 0; background: var(--white); border-radius: var(--r-lg);
    box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding: 8px;
}
.fact-bar > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px 18px; border-right: 1px solid var(--line); }
.fact-bar > div:last-child { border-right: 0; }
.fact-bar .ic { grid-row: span 2; width: 26px; height: 26px; color: var(--rock); }
.fact-bar dt { font-family: var(--f-display); font-size: .8rem; font-weight: 600; color: var(--muted); }
.fact-bar dd { margin: 0; font-family: var(--f-display); font-weight: 750; font-size: 1.02rem; line-height: 1.25; }

.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); padding-block: 56px 32px; align-items: start; }
.trip-tabs { position: sticky; top: 72px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; background: rgba(252,250,246,.96); backdrop-filter: blur(8px); padding: 10px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.trip-tabs a { flex: none; padding: 8px 16px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; font-size: .95rem; text-decoration: none; }
.trip-tabs a:hover { background: var(--sand); }
.trip-section { padding: 28px 0 36px; border-bottom: 1px solid var(--line); }
.trip-section:last-child { border-bottom: 0; }
.trip-section h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.trip-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

.itinerary { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.itinerary::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(var(--dune) 0 6px, transparent 6px 12px); }
.itinerary li { position: relative; }
.itinerary details { margin-bottom: 10px; }
.itinerary summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "no title chev" "no loc chev"; align-items: center; column-gap: 16px; padding: 10px 0; }
.itinerary summary::-webkit-details-marker { display: none; }
.day-no { grid-area: no; position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--paper); border: 2px solid var(--ink); font-family: var(--f-display); font-weight: 800; font-size: .82rem; text-align: center; line-height: 1.05; transition: background-color .2s, transform .3s var(--ease); }
details[open] > summary .day-no { background: var(--sun); border-color: var(--sun); transform: rotate(-8deg); }
.day-title { grid-area: title; font-family: var(--f-display); font-weight: 750; font-size: 1.18rem; line-height: 1.25; }
.day-loc { grid-area: loc; font-family: var(--f-display); font-size: .88rem; color: var(--rock); font-weight: 600; }
.day-chev { grid-area: chev; width: 22px; height: 22px; transition: transform .3s var(--ease); }
details[open] > summary .day-chev { transform: rotate(180deg); }
.day-body { padding: 4px 0 14px 80px; }
.day-body p { margin-bottom: .6em; }
.day-meta { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: .92rem; color: var(--muted); }
.day-note { font-size: 1rem; background: var(--sand); padding: 10px 14px; border-radius: var(--r-sm); }

.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.inc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.inc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 1.05rem; line-height: 1.45; }
.inc-list .ic { margin-top: .2em; width: 20px; height: 20px; padding: 3px; border-radius: 6px; }
.inc-list.yes .ic { background: var(--sun); color: var(--ink); }
.inc-list.no .ic { background: var(--sand); color: var(--rock); }

.practical { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0 0 22px; }
.practical dt { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; margin-bottom: 4px; }
.practical dd { margin: 0; color: var(--muted); font-size: 1.05rem; }
.notice { background: var(--sand); border-left: 4px solid var(--sun-deep); padding: 16px 20px; border-radius: var(--r-sm); }
.notice p:last-child { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dune); }
.gallery a:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery-wide { grid-template-columns: repeat(4, 1fr); }

.trip-aside { position: sticky; top: 96px; }
.book-card { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); border-top: 6px solid var(--sun); display: grid; gap: 12px; }
.book-from { margin: 0; font-family: var(--f-display); font-size: .9rem; color: var(--muted); font-weight: 600; }
.book-price { margin: -6px 0 0; font-family: var(--f-display); font-variation-settings: "wdth" 118; font-weight: 850; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; }
.book-days { margin: 0 0 8px; font-family: var(--f-display); font-weight: 700; color: var(--rock); }
.book-days span { display: block; font-weight: 500; font-size: .9rem; color: var(--muted); }
.book-points { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-family: var(--f-display); font-size: .92rem; }
.book-points li { display: flex; gap: 8px; align-items: center; }
.book-points .ic { color: var(--wa); }

.sticky-book { display: none; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose-lg { font-size: 1.2rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--rock); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--rock); }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 4px solid var(--sun); font-style: italic; font-size: 1.15em; }
.prose img { border-radius: var(--r); margin: 1.4em 0; }
.prose > :first-child { margin-top: 0; }

/* ---------- Destinations pages ---------- */
.dest-list { display: grid; gap: clamp(48px, 7vw, 96px); }
.dest-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.dest-row:nth-child(even) .dest-row-media { order: 2; }
.dest-row-media { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dune); }
.dest-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dest-row:hover .dest-row-media img { transform: scale(1.04); }
.dest-row .dest-region { color: var(--rock); margin-bottom: 6px; display: block; }
.dest-row h2 a { text-decoration: none; }
.dest-row-body > p { font-size: 1.15rem; }
.dest-row-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 22px; }

.dest-detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.dest-side { display: grid; gap: 20px; }
.side-card { background: var(--white); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); }
.side-card h2 { font-size: 1.4rem; font-variation-settings: "wdth" 110; }
.side-card-sand { background: var(--sand); border: 0; }
.side-card-night { background: var(--night); color: rgba(255,255,255,.88); border: 0; }
.side-card-night h2 { color: var(--white); }
.side-card-night a { text-decoration: none; }
.side-card-night .contact-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.hl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hl-list li { position: relative; padding-left: 28px; line-height: 1.45; }
.hl-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 13px; height: 13px; border-radius: 3px; background: var(--sun); transform: rotate(-12deg); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 8; background: var(--sand); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.mini-dest { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-dest .dest-tile { aspect-ratio: 3 / 4; }

/* ---------- About / team ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid .figures { border-top: 0; padding-top: 0; }
.about-grid .figures div { border-left: 4px solid var(--sun); padding-left: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.team-card img, .team-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); margin-bottom: 16px; }
.team-ph { display: grid; place-items: center; background: var(--paper); }
.team-ph img { width: 40%; aspect-ratio: auto; margin: 0; opacity: .7; }
.team-card h3 { margin-bottom: 2px; }
.team-role { font-family: var(--f-display); font-weight: 600; color: var(--rock); margin-bottom: 8px; }
.team-card p:last-child { color: var(--muted); font-size: 1.02rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 600; text-decoration: none; }
.faq-nav a:hover { background: var(--sand); }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 12px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--sand); transition: background-color .2s, transform .3s var(--ease); }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-sign { background: var(--sun); transform: rotate(-12deg); }
.faq[open] .faq-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .prose { padding: 0 0 22px; color: var(--muted); }
.faq-more { background: var(--sand); border-radius: var(--r-lg); padding: 32px; }

/* ---------- Blog ---------- */
.cat-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; }
.cat-bar .filter-search { flex: 0 1 300px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: .95rem; text-decoration: none; background: var(--white); }
.pills a small { color: var(--muted); margin-left: 4px; }
.pills a:hover { border-color: var(--ink); }
.pills a.is-active { background: var(--night); color: var(--white); border-color: var(--night); }
.pills a.is-active small { color: var(--dune); }
.article-hero { background: var(--night); color: var(--white); padding: clamp(140px, 15vw, 190px) 0 clamp(96px, 10vw, 140px); }
.article-hero .crumbs { justify-content: flex-start; }
.article-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); font-variation-settings: "wdth" 115; letter-spacing: -.025em; }
.article-lead { font-size: 1.3rem; color: rgba(255,255,255,.86); }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--f-display); font-size: .9rem; color: var(--dune); margin: 0; }
.article-figure { margin: -72px auto 0; }
.article-figure img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-lg); }
.article-body { padding-block: 48px 24px; margin-inline: auto; }
.tag-pills { margin: 8px 0 28px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 0 8px; border-top: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; }
.share span { margin-right: 6px; color: var(--muted); }
.share a { padding: 6px 14px; border-radius: 999px; background: var(--sand); text-decoration: none; font-size: .9rem; }
.share a:hover { background: var(--sun); }
.updated { margin-top: 32px; font-family: var(--f-display); font-size: .9rem; color: var(--muted); }

/* ---------- Forms ---------- */
.contact-grid, .quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-side, .quote-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); }
.form-card h2 { font-size: 1.8rem; }
.form-hint { color: var(--muted); font-size: 1rem; }
.form-hint a { color: var(--rock); }
fieldset { border: 0; padding: 0; margin: 0 0 32px; }
legend { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 1.4rem; letter-spacing: -.01em; margin-bottom: 16px; padding: 0; }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field .label { display: block; font-family: var(--f-display); font-weight: 650; font-size: .95rem; margin-bottom: 6px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232E1F1B' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus, .filters select:focus, .filter-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(247, 211, 0, .55); background-color: var(--white); }
.field [aria-invalid="true"] { border-color: #b3261e; background-color: #fff6f4; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-row-3 { grid-template-columns: repeat(3, 1fr); }
.field-row-4 { grid-template-columns: repeat(4, 1fr); }
.req { color: #b3261e; }
.field-err { color: #b3261e; font-family: var(--f-display); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.form-alert { background: #fff1ec; border: 1px solid #f2b8a8; color: #8a1f12; padding: 14px 18px; border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 600; margin-bottom: 24px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; margin: 6px 0 18px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--night); flex: none; }
.check a { color: var(--rock); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-family: var(--f-display); font-weight: 600; font-size: .95rem; transition: background-color .15s, border-color .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--sun); border-color: var(--sun); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--sun); color: var(--ink); font-family: var(--f-display); font-weight: 800; transform: rotate(-8deg); }
.steps strong { font-family: var(--f-display); color: var(--white); }
.steps span { font-size: 1rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 14, 30, .94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--r-sm); object-fit: contain; }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: var(--sun); color: var(--ink); }
.lb-close svg, .lb-nav svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .main-nav, .header-cta { display: none; }
    .menu-toggle { display: block; }
    .filters { grid-template-columns: 1fr 1fr 1fr; }
    .filters .filter-search { grid-column: span 3; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trip-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 900px) {
    body { font-size: 1.08rem; }
    .hero-inner { flex-direction: column; align-items: flex-start; padding-bottom: 32px; }
    .hero-stamp { position: absolute; right: var(--gutter); top: 110px; width: 140px; }
    .hero-stamp img { width: 34px; }
    .hero-stamp strong { font-size: .98rem; }
    .hero-stamp-inner > span { font-size: .72rem; }
    .finder { grid-template-columns: 1fr 1fr; margin-inline: var(--gutter); width: auto; }
    .finder-field { border-right: 0; border-bottom: 1px solid var(--line); }
    .finder-btn { grid-column: span 2; margin-top: 8px; }
    .intro-grid, .why-grid, .dest-row, .dest-detail, .about-grid, .contact-grid, .quote-grid, .faq-layout, .footer-news { grid-template-columns: minmax(0, 1fr); }
    .dest-row:nth-child(even) .dest-row-media { order: 0; }
    .card-rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
    .card-rail > * { scroll-snap-align: start; }
    .tour-grid, .post-grid { grid-template-columns: 1fr 1fr; }
    .why-media { max-width: 520px; }
    .cta-inner { grid-template-columns: 1fr; }
    .cta-actions { grid-template-columns: 1fr 1fr; }
    .trip-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 96px; }
    .trip-aside { position: static; }
    .sticky-book {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; padding: 12px var(--gutter);
        background: var(--white); box-shadow: 0 -8px 30px -10px rgba(22,27,54,.35);
        transform: translateY(110%); transition: transform .35s var(--ease);
        font-family: var(--f-display);
    }
    .sticky-book.is-on { transform: none; }
    .sticky-book strong { display: block; font-size: 1.1rem; }
    .sticky-book span { font-size: .85rem; color: var(--muted); }
    .has-sticky-book .wa-float { bottom: 88px; }
    .faq-nav { position: static; display: flex; flex-wrap: wrap; }
    .contact-side, .quote-side { position: static; }
    .mini-dest { grid-template-columns: 1fr 1fr; }
    .gallery-wide { grid-template-columns: repeat(3, 1fr); }
    .map-frame { aspect-ratio: 4 / 3; }
    .field-row-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .site-header { padding: 12px 0; }
    .brand, .brand img { width: 118px; }
    .site-header.is-solid .brand, .site-header.is-solid .brand img { width: 108px; }
    .hero { padding-top: 110px; }
    .hero-title { font-size: clamp(2.3rem, 11vw, 3.2rem); }
    .hero-stamp { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .finder { grid-template-columns: 1fr; margin-bottom: -120px; }
    .finder-btn { grid-column: auto; }
    .intro { padding-top: 170px; }
    .figures { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
    .figures dd { font-size: 1.6rem; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .card-rail { grid-auto-columns: 86%; }
    .why-media img { aspect-ratio: 4 / 3; }
    .voice-rail { grid-auto-columns: 85%; }
    .tour-grid, .post-grid { grid-template-columns: 1fr; }
    .dest-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
    .dest-tile.is-big, .dest-tile.span-4 { grid-column: span 2; grid-row: span 1; }
    .dest-tile.span-2 { grid-column: span 1; }
    .dest-mosaic .dest-tile:last-child:nth-child(even) { grid-column: span 2; }
    .dest-tile strong { font-size: 1.15rem; }
    .dest-tile-text { left: 14px; right: 14px; bottom: 12px; }
    .cta-actions { grid-template-columns: 1fr; }
    .cta-mark { width: 240px; right: -60px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-base { flex-direction: column; }
    .filters { grid-template-columns: 1fr 1fr; }
    .filters .filter-search { grid-column: span 2; }
    .filters .btn { grid-column: span 2; }
    .fact-bar { grid-template-columns: 1fr 1fr; margin-top: -48px; }
    .fact-bar > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
    .fact-bar > div:nth-last-child(-n+2) { border-bottom: 0; }
    .trip-hero { min-height: 70vh; padding-bottom: 90px; }
    .inc-grid, .practical { grid-template-columns: 1fr; }
    .itinerary::before { left: 23px; }
    .itinerary summary { grid-template-columns: 48px 1fr auto; column-gap: 12px; }
    .day-no { width: 48px; height: 48px; border-radius: 14px; font-size: .72rem; }
    .day-body { padding-left: 60px; }
    .gallery, .gallery-wide { grid-template-columns: 1fr 1fr; }
    .field-row, .field-row-3 { grid-template-columns: 1fr; }
    .page-hero:not(.has-img)::before { width: 150px; right: -60px; bottom: -80px; border-radius: 32px; }
    .page-hero-lead { max-width: 88%; }
    .lightbox { padding: 60px 8px; }
    .lb-nav { top: auto; bottom: 12px; }
    .lb-prev { left: calc(50% - 64px); transform: scaleX(-1); }
    .lb-next { right: calc(50% - 64px); transform: none; }
    .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hero-slide { transform: none !important; }
}

/* ==========================================================================
   October 2026 update — SEFAR Aventure change request
   ========================================================================== */

/* Header tools: language switcher, WhatsApp, CTA */
.header-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.main-nav { margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.12); }
.lang-switch button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: .8rem; padding: 6px 9px; border-radius: 999px; cursor: pointer; }
.lang-switch button:hover { background: rgba(255,255,255,.18); }
.lang-switch button.is-active { background: var(--sun); color: var(--ink); }
.site-header.is-solid .lang-switch { background: var(--sand); }
.site-header.is-solid .lang-switch button { color: var(--ink); }
.flag { width: 16px; height: 11px; border-radius: 2px; flex: none; background-size: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.flag-fr { background-image: linear-gradient(90deg, #0055a4 33.3%, #fff 33.3% 66.6%, #ef4135 66.6%); }
.flag-en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }
.flag-ar { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Cpath fill='%23fff' d='M0 0h900v600H0z'/%3E%3Cpath fill='%23006233' d='M0 0h450v600H0z'/%3E%3Ccircle cx='450' cy='300' r='150' fill='%23d21034'/%3E%3Ccircle cx='487.5' cy='300' r='120' fill='%23fff'/%3E%3Cpath fill='%23d21034' d='m525 210 26.6 81.9H637.7l-69.7 50.6 26.6 81.9-69.6-50.6-69.7 50.6 26.6-81.9-69.7-50.6h86.1z'/%3E%3C/svg%3E"); }
.header-wa { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: #fff; flex: none; }
.header-wa svg { width: 22px; height: 22px; }
.header-wa:hover { background: #179446; }
.mobile-langs { margin-bottom: 18px; }
.mobile-langs .lang-switch { background: rgba(255,255,255,.12); }

/* Company dropdown */
.main-nav .has-sub { position: relative; }
.nav-sub-btn { display: flex; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; padding: 10px 14px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: var(--white); }
.nav-sub-btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav-sub-btn:hover { background: rgba(255,255,255,.14); }
.nav-sub-btn.is-active { box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
.site-header.is-solid .nav-sub-btn { color: var(--ink); }
.site-header.is-solid .nav-sub-btn:hover { background: var(--sand); }
.subnav { position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px; display: none !important; flex-direction: column; gap: 2px !important; padding: 8px !important; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.is-open .subnav { display: flex !important; }
.has-sub:hover .nav-sub-btn .ic, .has-sub.is-open .nav-sub-btn .ic { transform: rotate(180deg); }
.main-nav .subnav a { color: var(--ink); border-radius: var(--r-sm); }
.main-nav .subnav a:hover, .main-nav .subnav a.is-active { background: var(--sand); box-shadow: none; }
.main-nav a { padding: 10px 12px; }

/* Hero: single Tassili background, 40% black overlay, parallax */
.hero-slide { will-change: transform; }
.hero-slide[data-parallax] { height: 120%; top: -10%; }
.hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.40) 100%), linear-gradient(20deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%); }

/* Generic horizontal slider (gallery, videos, related circuits) */
.slider-nav { display: flex; gap: 8px; flex: none; }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.slider-btn:hover { background: var(--sun); border-color: var(--sun); }
.on-dark .slider-btn { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.on-dark .slider-btn:hover { background: var(--sun); color: var(--ink); }
.ic.flip { transform: scaleX(-1); }
.media-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.media-slider::-webkit-scrollbar { display: none; }
.media-slider > * { scroll-snap-align: start; min-width: 0; }
.media-slide { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--dune); }
.media-slide a { display: block; height: 100%; }
.media-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.media-slide:hover img { transform: scale(1.05); }
.media-slide figcaption { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(22,27,54,.78); color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: .88rem; backdrop-filter: blur(4px); pointer-events: none; }
.media-slide figcaption .ic { color: var(--sun); }
.gallery-band { padding-top: 0; }

.video-band { background: var(--night); color: var(--white); }
.video-slider { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
.video-slide { margin: 0; }
.video-frame { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 16; max-height: 78vh; background: #000; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.video-slide figcaption { margin-top: 10px; font-family: var(--f-display); font-weight: 600; color: var(--dune); }
.related-slider { grid-auto-columns: calc((100% - 2 * 28px) / 3); gap: 28px; }

/* Destinations page: 3/2/1 grid, 4:3 cards, zoom 1.05, name overlay */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dest-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--white); background: var(--night-2); }
.dest-card-media { display: block; aspect-ratio: 4 / 3; }
.dest-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dest-card:hover .dest-card-media img, .dest-card:focus-visible .dest-card-media img { transform: scale(1.05); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,27,54,.85) 0%, rgba(22,27,54,0) 55%); pointer-events: none; }
.dest-card-overlay { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 2px; }
.dest-card-overlay strong { font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-family: var(--f-display); font-weight: 600; font-size: .92rem; cursor: pointer; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.is-active { background: var(--night); color: var(--white); border-color: var(--night); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--dune); }
.photo-card[hidden] { display: none; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-card:hover img { transform: scale(1.05); }
.photo-cap { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(22,27,54,.72); color: #fff; font-family: var(--f-display); font-size: .8rem; font-weight: 600; }

/* Team: circular 400x400 portraits */
.team-card .team-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; aspect-ratio: 1; border: 4px solid var(--white); box-shadow: 0 0 0 3px var(--sun); }
.team-card { text-align: center; }
.team-card .team-ph { width: 200px; height: 200px; border-radius: 50%; margin: 0 auto 16px; }

/* The Agency page */
.agency-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.agency-portrait { position: sticky; top: 100px; text-align: center; display: grid; gap: 10px; }
.agency-portrait img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; margin: 0 auto; border: 6px solid var(--white); box-shadow: 0 0 0 4px var(--sun), var(--shadow); }
.agency-portrait-cap { display: grid; font-family: var(--f-display); margin: 6px 0 8px; }
.agency-portrait-cap strong { font-size: 1.4rem; }
.agency-portrait-cap span { color: var(--rock); font-weight: 600; }
.agency-host { background: var(--sand); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); margin-bottom: 1.6em; }
.agency-host-name { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: .2em; }
.agency-host-role { color: var(--rock); font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.agency-host blockquote { margin: 1em 0 0; border-left: 4px solid var(--sun); padding-left: 18px; font-style: italic; }
.agency-host blockquote footer { font-style: normal; font-family: var(--f-display); font-weight: 700; margin-top: 8px; }
.agency-motto { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 750; font-size: 1.3rem; line-height: 1.3; background: var(--night); color: var(--sun); padding: 18px 22px; border-radius: var(--r); }
.agency-lead { font-size: 1.3rem; color: var(--rock); }
/* bilingual blocks: French original for FR visitors, English (machine-translated to AR) otherwise */
.i18n-fr { display: none; }
html.lang-fr .i18n-fr { display: block; }
html.lang-fr .i18n-en { display: none; }

/* Tour page additions */
.day-icons { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-display); font-size: .9rem; color: var(--muted); margin: 0; }
.day-icons span { display: inline-flex; align-items: center; gap: 6px; }
.day-icons .ic { color: var(--rock); }
.map-frame-trip { aspect-ratio: 16 / 9; }

/* Blog CTA box */
.post-cta { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; background: var(--sand); border-radius: var(--r-lg); padding: 22px; margin: 8px 0 32px; border-left: 6px solid var(--sun); }
.post-cta:not(:has(img)) { grid-template-columns: 1fr; }
.post-cta img { width: 180px; height: 140px; object-fit: cover; border-radius: var(--r); }
.post-cta h2 { font-size: 1.4rem; margin-bottom: .4em; }
.post-cta .btn-row { margin: 0; }
.post-cta-kicker { font-family: var(--f-display); font-weight: 700; color: var(--rock); margin-bottom: 4px; font-size: .9rem; }

@media (max-width: 1240px) {
    .header-cta { display: none; }
}
@media (max-width: 1100px) {
    .header-tools { margin-left: auto; }
    .header-tools .lang-switch { display: none; }
    .menu-toggle { margin-left: 8px; }
    .media-slider, .video-slider, .related-slider { grid-auto-columns: calc((100% - 20px) / 2); }
    .dest-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .agency-grid { grid-template-columns: minmax(0, 1fr); }
    .agency-portrait { position: static; max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .media-slider, .related-slider { grid-auto-columns: 86%; }
    .video-slider { grid-auto-columns: 78%; }
    .dest-grid, .photo-grid { grid-template-columns: 1fr; }
    .post-cta { grid-template-columns: 1fr; }
    .post-cta img { width: 100%; height: 180px; }
    .header-wa { width: 38px; height: 38px; }
    .section-head .slider-nav { display: none; }
    .team-card .team-photo { width: 180px; height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide[data-parallax] { height: 100%; top: 0; }
}
/* header fit with the new tools */
.main-nav a, .nav-sub-btn { white-space: nowrap; }
.header-row { gap: 20px; }
.main-nav ul { gap: 0; }
.gallery-band { padding-top: clamp(64px, 9vw, 120px); }
@media (max-width: 1320px) {
    .lang-switch button { padding: 6px 7px; }
    .lang-switch .flag { display: none; }
}
/* keep FR | EN | AR visible in the top bar on tablet and mobile (compact) */
@media (max-width: 1100px) {
    .header-tools .lang-switch { display: inline-flex; }
    .header-tools .lang-switch .flag { display: none; }
    .header-tools .lang-switch button { padding: 6px 7px; font-size: .74rem; }
    .mobile-langs { display: none; }
}
@media (max-width: 380px) {
    .brand, .brand img { width: 100px; }
    .header-tools { gap: 6px; }
}

/* ================= Phase 3 (Oct 2026): EN / FR / ES, hero slider, travel guides ================= */
.lang-switch a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: .8rem; padding: 6px 9px; border-radius: 999px; text-decoration: none; line-height: 1.2; }
.lang-switch a:hover { background: rgba(255,255,255,.18); }
.lang-switch a.is-active { background: var(--sun); color: var(--ink); }
.site-header.is-solid .lang-switch a { color: var(--ink); }
.site-header.is-solid .lang-switch a.is-active { background: var(--sun); }
.flag-es { background-image: linear-gradient(180deg, #aa151b 25%, #f1bf00 25% 75%, #aa151b 75%); }
@media (max-width: 1320px) { .lang-switch a { padding: 6px 7px; } }
@media (max-width: 1100px) { .header-tools .lang-switch a { padding: 6px 7px; font-size: .74rem; } }

/* Navigation: 7 entries + language switcher must fit in FR / ES */
.main-nav a, .nav-sub-btn { padding: 10px 10px; font-size: .95rem; }
@media (max-width: 1440px) { .main-nav a, .nav-sub-btn { padding: 10px 8px; font-size: .92rem; } .header-row { gap: 14px; } }
@media (max-width: 1380px) { .header-cta { display: none; } }
@media (max-width: 1240px) { .main-nav a, .nav-sub-btn { padding: 10px 6px; font-size: .88rem; } .brand img { width: 150px; height: auto; } }
@media (max-width: 1180px) { .main-nav, .header-cta { display: none; } .header-tools { margin-left: auto; } .menu-toggle { display: block; margin-left: 8px; } .header-tools .lang-switch .flag { display: none; } }

/* Hero slider */
.hero-texts { position: relative; display: grid; }
.hero-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s linear .8s; }
.hero-text.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease) .2s, transform .8s var(--ease) .2s, visibility 0s; }
.hero-text .hero-title, .hero-text .hero-lead, .hero-text .hero-actions { animation: none; }
.hero-text .hero-title { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.hero-dots { display: flex; align-items: center; gap: 8px; margin-top: 26px; }
.hero-dots [data-hero-dot] { width: 34px; height: 5px; border: 0; border-radius: 99px; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.hero-dots [data-hero-dot]:hover { background: rgba(255,255,255,.75); }
.hero-dots [data-hero-dot].is-on { background: var(--sun); width: 54px; }
.hero-pause { margin-left: 8px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--white); display: inline-grid; place-items: center; cursor: pointer; }
.hero-pause .ic { width: 16px; height: 16px; }
.hero-pause.is-paused { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.hero-pause.is-paused path { d: path("M8 5v14l11-7z"); }
@media (max-width: 640px) { .hero-dots [data-hero-dot] { width: 22px; } .hero-dots [data-hero-dot].is-on { width: 36px; } }

/* Home: travel guides band */
.eyebrow { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--rock); margin: 0 0 6px; }
.guide-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.guide-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; color: var(--white); text-decoration: none; background: var(--night); }
.guide-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.guide-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,27,54,0) 35%, rgba(22,27,54,.92) 100%); }
.guide-card:hover img { transform: scale(1.06); }
.guide-card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; display: grid; gap: 6px; }
.guide-card-text strong { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.1; }
.guide-card-text span { font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.4; }
@media (max-width: 1100px) { .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .guide-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .guide-card { scroll-snap-align: start; } }

/* Guide pages */
.guide-tabs { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h, 76px); z-index: 20; }
.guide-tabs-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.guide-tabs-row::-webkit-scrollbar { display: none; }
.guide-tabs a { flex: none; padding: 14px 14px; font-family: var(--f-display); font-weight: 650; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.guide-tabs a:hover { color: var(--rock); }
.guide-tabs a.is-active { border-bottom-color: var(--sun); }
.guide-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
.guide-layout:not(:has(.guide-toc)) { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.guide-toc { position: sticky; top: calc(var(--header-h, 76px) + 70px); }
.guide-toc-box { background: var(--sand); border-radius: var(--r-lg); padding: 18px 20px; }
.guide-toc-box summary { font-family: var(--f-display); font-weight: 800; cursor: pointer; margin-bottom: 8px; }
.guide-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.guide-toc a { color: var(--ink); text-decoration: none; }
.guide-toc a:hover { color: var(--rock); text-decoration: underline; }
.guide-body { max-width: 820px; }
.guide-intro { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; color: var(--ink); border-left: 5px solid var(--sun); padding-left: 18px; margin: 0 0 28px; }
.guide-prose h2 { scroll-margin-top: calc(var(--header-h, 76px) + 70px); margin-top: 1.8em; }
.guide-prose figure { margin: 24px 0; }
.guide-prose figure img { width: 100%; border-radius: var(--r-lg); }
.guide-prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.guide-prose .note, .prose .note { background: #fff8d6; border-left: 5px solid var(--sun); border-radius: var(--r); padding: 14px 18px; margin: 20px 0; }
.guide-prose .note p:last-child, .prose .note p:last-child { margin-bottom: 0; }
.prose .sources { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }
.prose .sources li { margin-bottom: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose th { font-family: var(--f-display); background: var(--sand); }
.prose .table-wrap { overflow-x: auto; }
.guide-faq { margin-top: 40px; }
.guide-updated { font-size: .85rem; color: var(--muted); margin-top: 32px; }
.card-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 0; list-style: none; margin: 18px 0; }
.card-links a { display: block; padding: 14px 16px; background: var(--sand); border-radius: var(--r); font-family: var(--f-display); font-weight: 700; color: var(--ink); text-decoration: none; }
.card-links a:hover { background: var(--sun); }
@media (max-width: 960px) {
    .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .guide-toc { position: static; }
    .guide-toc-box:not([open]) { padding-bottom: 10px; }
    .guide-tabs { top: 0; position: relative; }
}

/* Footer: 5 columns */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

.main-nav .nav-home { display: inline-flex; align-items: center; padding-left: 8px; padding-right: 8px; }
.main-nav .nav-home .ic { width: 19px; height: 19px; }
@media (max-width: 1520px) { .header-tools .lang-switch .flag { display: none; } .header-tools { gap: 10px; } }
@media (max-width: 1500px) { body.lang-es .header-cta { display: none; } }

/* The Agency: show Amine's portrait uncropped (client request, Oct 2026) */
.agency-portrait img { width: 100%; max-width: 300px; height: auto; aspect-ratio: 540 / 668; border-radius: 22px; object-fit: cover; }
.footer-credit a { color: var(--sun); text-decoration: none; font-weight: 700; }
.footer-credit a:hover { text-decoration: underline; }
.footer-base p.footer-credit { display: block; }
