/* ===================================================================
   Orange Holiday Camps — shared stylesheet for EVERY page of orangecamps.com
   (landing /, /valencia/, /barcelona/ and their /<lang>/ variants).
   Warm "campfire" palette: orange + amber accents, forest-green support colour,
   over a sunlit-cream light theme (decorative CSS sun, top-right) and a
   night-sky dark theme (navy/indigo tokens + CSS starfield). 100 % self-hosted
   (artwork is CSS / inline SVG plus the WebP photo set under img/ — no external
   assets besides the Maps iframe on the Valencia page). Light by default (dark
   via toggle), RTL aware, respects prefers-reduced-motion.
   Loaded as  <link rel="stylesheet" href="<root>assets/site.css?v=v0.9.6-17d890a">
   (the build resolves <root> per output depth and stamps the version).
   =================================================================== */
:root {
  color-scheme: light;
  /* Light is the default look; dark is opt-in via the header toggle (data-theme="dark"). */
  --bg:#fff7ee; --bg-2:#ffedd9; --bg-3:#ffe2c4;
  --panel:rgba(120,60,10,0.04); --panel-2:rgba(120,60,10,0.07);
  --panel-brd:rgba(160,80,10,0.18); --ink:#2a190b; --sub:#6d5238;
  --accent:#e86f00; --accent-2:#d98a12; --accent-3:#2f8f4e;
  --glow:rgba(232,111,0,0.28); --glow-2:rgba(217,138,18,0.24);
  --shadow:rgba(90,50,10,0.18); --grid-line:rgba(160,80,10,0.06);
  --wa:        #25d366;   /* WhatsApp green */
  --maxw: 1160px;
}
/* Manual toggle (JS sets data-theme) fully overrides the token set. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg:#fff7ee; --bg-2:#ffedd9; --bg-3:#ffe2c4;
  --panel:rgba(120,60,10,0.04); --panel-2:rgba(120,60,10,0.07);
  --panel-brd:rgba(160,80,10,0.18); --ink:#2a190b; --sub:#6d5238;
  --accent:#e86f00; --accent-2:#d98a12; --accent-3:#2f8f4e;
  --glow:rgba(232,111,0,0.28); --glow-2:rgba(217,138,18,0.24);
  --shadow:rgba(90,50,10,0.18); --grid-line:rgba(160,80,10,0.06);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  /* Night sky: deep navy -> indigo -> dark violet; orange/amber accents stay (they pop on navy). */
  --bg:#0b1026; --bg-2:#141a3a; --bg-3:#1e1b4b;
  --panel:rgba(160,170,255,0.06); --panel-2:rgba(160,170,255,0.11);
  --panel-brd:rgba(170,180,255,0.20); --ink:#eef0ff; --sub:#b7bde0;
  --accent:#ff8a1f; --accent-2:#ffb347; --accent-3:#7cc98a;
  --glow:rgba(124,110,245,0.48); --glow-2:rgba(255,179,71,0.34);
  --shadow:rgba(2,4,20,0.65); --grid-line:rgba(170,180,255,0.045);
  --sky-star:rgba(255,255,255,0.9); --sky-star-2:rgba(205,214,255,0.75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  overflow-x: clip;
  background:
    radial-gradient(60% 50% at 82% -8%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 60%),
    radial-gradient(55% 48% at -8% 108%, color-mix(in srgb, var(--accent-3) 22%, transparent), transparent 58%),
    linear-gradient(165deg, var(--bg), var(--bg-2) 55%, var(--bg-3));
  background-attachment: fixed;
}
/* Faint canvas-weave texture behind content, masked to fade out. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(135% 80% at 50% -6%, #000 28%, transparent 76%);
          mask-image: radial-gradient(135% 80% at 50% -6%, #000 28%, transparent 76%);
}
/* Night-sky body wash: indigo/violet halos instead of the sunset ones. */
:root[data-theme="dark"] body {
  background:
    radial-gradient(60% 50% at 82% -8%, rgba(124,110,245,0.30), transparent 60%),
    radial-gradient(55% 48% at -8% 108%, rgba(72,50,160,0.34), transparent 58%),
    linear-gradient(165deg, var(--bg), var(--bg-2) 55%, var(--bg-3));
  background-attachment: fixed;
}
/* ---- Decorative background layers (fixed, non-interactive, behind everything) ----
   Light: a stylised sun top-right (body::after = glow + ring + thin rays, slow spin).
   Dark : a starfield (body::after = static stars + milky-way glow, html::after = twinkling stars).
   Pure CSS gradients — no binaries. z-index -1 keeps them under all content; pointer-events none. */
body::after, html::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; display: block;
}
/* light: sun */
body::after {
  --sun-x: calc(100% - 6rem); --sun-y: 8rem;
  background-image:
    radial-gradient(circle at var(--sun-x) var(--sun-y), rgba(255,196,110,0.55) 0, rgba(255,196,110,0.55) 3.2rem, transparent 3.25rem),
    radial-gradient(circle at var(--sun-x) var(--sun-y), transparent 4.15rem, rgba(232,140,20,0.35) 4.2rem, rgba(232,140,20,0.35) 4.35rem, transparent 4.4rem),
    radial-gradient(circle at var(--sun-x) var(--sun-y), rgba(255,178,80,0.42) 0, rgba(255,160,50,0.16) 9rem, transparent 22rem);
  background-repeat: no-repeat;
  opacity: 0.9;
}
html::after {
  /* thin rays: a repeating conic gradient clipped to a disc, spun slowly around the sun centre */
  --sun-x: calc(100% - 6rem); --sun-y: 8rem;
  inset: auto; top: calc(var(--sun-y) - 16rem); right: calc(6rem - 16rem); width: 32rem; height: 32rem;
  border-radius: 50%;
  background-image:
    repeating-conic-gradient(from 0deg, rgba(232,140,20,0.16) 0deg 1.4deg, transparent 1.4deg 15deg),
    repeating-conic-gradient(from 7.5deg, rgba(255,178,80,0.10) 0deg 0.8deg, transparent 0.8deg 15deg);
  -webkit-mask-image: radial-gradient(circle, transparent 4.6rem, #000 5rem, #000 9.5rem, transparent 15.5rem);
          mask-image: radial-gradient(circle, transparent 4.6rem, #000 5rem, #000 9.5rem, transparent 15.5rem);
  opacity: 0.85;
  animation: sunspin 140s linear infinite;
}
[dir="rtl"] body::after { --sun-x: 6rem; }
[dir="rtl"] html::after { right: auto; left: calc(6rem - 16rem); }
@keyframes sunspin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.95; } }
@media (prefers-reduced-motion: reduce) { html::after { animation: none; } }
@media (max-width: 720px) { body::after, html::after { --sun-x: calc(100% - 4rem); --sun-y: 6.5rem; } html::after { right: calc(4rem - 16rem); top: calc(6.5rem - 16rem); } [dir="rtl"] body::after { --sun-x: 4rem; } [dir="rtl"] html::after { left: calc(4rem - 16rem); } }

/* dark: a stylised crescent moon in the sun's place (html::before is free; body::after/html::after carry the stars) */
html[data-theme="dark"]::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  --moon-x: calc(100% - 6rem); --moon-y: 8rem;
  background-image:
    radial-gradient(circle at calc(var(--moon-x) + 1.0rem) calc(var(--moon-y) + 0.7rem), rgba(150,140,175,0.40) 0, rgba(150,140,175,0.40) 0.46rem, transparent 0.5rem),
    radial-gradient(circle at calc(var(--moon-x) - 1.1rem) calc(var(--moon-y) + 1.4rem), rgba(150,140,175,0.32) 0, rgba(150,140,175,0.32) 0.3rem, transparent 0.34rem),
    radial-gradient(circle at calc(var(--moon-x) - 0.6rem) calc(var(--moon-y) - 1.5rem), rgba(150,140,175,0.30) 0, rgba(150,140,175,0.30) 0.24rem, transparent 0.28rem),
    radial-gradient(circle at calc(var(--moon-x) + 1.8rem) calc(var(--moon-y) - 0.6rem), rgba(150,140,175,0.26) 0, rgba(150,140,175,0.26) 0.18rem, transparent 0.22rem),
    radial-gradient(circle at var(--moon-x) var(--moon-y), #fff9e6 0, #f4ead0 2.1rem, #dccfb0 3.05rem, transparent 3.12rem),
    radial-gradient(circle at var(--moon-x) var(--moon-y), rgba(255,240,205,0.28) 0, rgba(190,180,255,0.14) 7rem, transparent 19rem);
  background-repeat: no-repeat;
}
html[data-theme="dark"][dir="rtl"]::before { --moon-x: 6rem; }
@media (max-width: 720px) { html[data-theme="dark"]::before { --moon-x: calc(100% - 4rem); --moon-y: 6.5rem; } }
/* dark: starfield (three tiled star patterns of different period so the dots never line up) + a faint milky way */
:root[data-theme="dark"] body::after {
  inset: 0; opacity: 1; animation: none; -webkit-mask-image: none; mask-image: none; border-radius: 0; width: auto; height: auto;
  background-image:
    radial-gradient(1.1px 1.1px at 23px 31px, var(--sky-star) 60%, transparent 100%),
    radial-gradient(0.9px 0.9px at 141px 97px, var(--sky-star-2) 60%, transparent 100%),
    radial-gradient(1.3px 1.3px at 208px 199px, var(--sky-star) 60%, transparent 100%),
    radial-gradient(0.8px 0.8px at 63px 227px, var(--sky-star-2) 60%, transparent 100%),
    radial-gradient(1px 1px at 251px 61px, var(--sky-star) 60%, transparent 100%),
    radial-gradient(0.9px 0.9px at 117px 173px, var(--sky-star-2) 60%, transparent 100%),
    radial-gradient(1.2px 1.2px at 47px 133px, var(--sky-star-2) 60%, transparent 100%),
    radial-gradient(1px 1px at 302px 251px, var(--sky-star) 60%, transparent 100%),
    radial-gradient(0.8px 0.8px at 187px 289px, var(--sky-star-2) 60%, transparent 100%),
    radial-gradient(0.9px 0.9px at 331px 121px, var(--sky-star-2) 60%, transparent 100%),
    radial-gradient(75% 55% at 68% 18%, rgba(140,120,255,0.13), transparent 70%),
    radial-gradient(40% 90% at 22% 60%, rgba(120,90,220,0.08), transparent 70%);
  background-size: 290px 290px, 290px 290px, 290px 290px, 290px 290px, 290px 290px, 370px 370px, 370px 370px, 370px 370px, 370px 370px, 370px 370px, 100% 100%, 100% 100%;
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
}
:root[data-theme="dark"]::after {
  inset: 0; top: 0; right: 0; left: 0; width: auto; height: auto; border-radius: 0; -webkit-mask-image: none; mask-image: none; opacity: 0.7;
  background-image:
    radial-gradient(1.5px 1.5px at 71px 43px, #fff 55%, transparent 100%),
    radial-gradient(1.2px 1.2px at 233px 167px, #fff 55%, transparent 100%),
    radial-gradient(1.6px 1.6px at 389px 301px, rgba(255,240,210,0.95) 55%, transparent 100%),
    radial-gradient(1.1px 1.1px at 157px 359px, #fff 55%, transparent 100%),
    radial-gradient(1.3px 1.3px at 331px 89px, rgba(210,220,255,0.95) 55%, transparent 100%);
  background-size: 430px 430px;
  background-repeat: repeat;
  animation: twinkle 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { :root[data-theme="dark"]::after { animation: none; opacity: 0.6; } }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- Header / nav ---- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  border-bottom: 1px solid var(--panel-brd);
  box-shadow: 0 14px 34px -26px var(--glow);
}
.nav { display: flex; align-items: center; gap: 0.8rem; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; font-weight: 800; letter-spacing: -0.02em; font-size: 1.12rem; text-decoration: none; line-height: 1.1; }
.brand .logo { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 7px var(--glow)); }
.brand small { color: var(--sub); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.brand-logo { height: 46px; width: auto; display: block; flex: none; transition: transform .16s ease; }
.brand:hover .brand-logo { transform: translateY(-1px); }
:root[data-theme="dark"] .brand-logo { background: #fff7ee; border-radius: 10px; padding: 3px 8px; }
/* The logo carries the brand; keep the site name for screen readers only. */
.brand-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 640px) { .brand-logo { height: 38px; } }
.nav .spacer { flex: 1; }
.nav-links { display: flex; gap: 0.95rem; }
.nav-links a { position: relative; text-decoration: none; color: var(--sub); font-weight: 600; font-size: 0.86rem; padding: 0.15rem 0; transition: color .15s ease; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 100%; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 8px var(--glow); transition: inset-inline-end .22s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { inset-inline-end: 0; }
/* the current camp page (aria-current set by site.js) */
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after { inset-inline-end: 0; opacity: 0.75; }
@media (max-width: 1100px) { .nav-links { display: none; } }

.theme-btn {
  font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--panel-2);
  border: 1px solid var(--panel-brd); border-radius: 10px; cursor: pointer;
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center; padding: 0; flex: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.theme-btn:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--panel-brd)); box-shadow: 0 0 16px -4px var(--glow); }
.theme-btn:focus-visible, a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Language switcher (searchable combobox, ported from csi-rel) ---- */
.lang-switcher { position: relative; display: flex; flex-direction: column; align-items: flex-end; min-width: 0; max-width: 100%; }
.lang-switcher__combobox { position: relative; width: 12.5rem; max-width: 100%; }
@media (max-width: 520px) { .lang-switcher__combobox { width: 9.5rem; } }
.lang-switcher__control {
  display: flex; align-items: stretch; min-width: 0; overflow: hidden;
  border: 1px solid var(--panel-brd); border-radius: 10px; background: var(--panel-2);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lang-switcher__control:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--panel-brd)); box-shadow: 0 0 16px -4px var(--glow); }
.lang-switcher__control:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.lang-switcher__input {
  flex: 1 1 auto; min-width: 0; min-height: 34px; padding: 4px 8px;
  font: inherit; font-size: 0.85rem; font-weight: 600; line-height: 1.3; color: var(--ink);
  background: transparent; border: 0; outline: none; cursor: text;
}
.lang-switcher__input::placeholder { color: var(--sub); font-weight: 500; }
.lang-switcher__button {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; padding: 0 6px; margin: 0; border: 0; border-inline-start: 1px solid var(--panel-brd);
  background: transparent; color: var(--sub); cursor: pointer; font-size: 0.75rem; line-height: 1;
}
.lang-switcher__button:hover { color: var(--ink); background: var(--panel-2); }
.lang-switcher__chevron { display: inline-block; transition: transform .18s ease; }
.lang-switcher[data-open="true"] .lang-switcher__chevron { transform: rotate(180deg); }
.lang-switcher__options {
  position: absolute; z-index: 60; inset-inline-end: 0; top: calc(100% + 6px);
  width: max(100%, 13rem); max-width: min(19rem, 92vw); max-height: min(18rem, 60vh);
  margin: 0; padding: 4px 0; list-style: none; overflow-x: hidden; overflow-y: auto;
  background: color-mix(in srgb, var(--bg) 92%, var(--accent) 8%);
  border: 1px solid var(--panel-brd); border-radius: 12px;
  box-shadow: 0 18px 44px -14px var(--shadow), 0 0 28px -8px var(--glow);
}
.lang-switcher__options[hidden] { display: none; }
.lang-switcher__option {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 12px;
  font-size: 0.875rem; line-height: 1.3; color: var(--ink); cursor: pointer;
}
.lang-switcher__option--active { background: var(--panel-2); }
.lang-switcher__option--selected { font-weight: 700; color: var(--accent); }
.lang-switcher__flag { flex: 0 0 auto; }
.lang-switcher__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-switcher__code { flex: 0 0 auto; font-size: 0.72rem; color: var(--sub); text-transform: uppercase; letter-spacing: 0.06em; }
.lang-switcher__empty { padding: 12px; font-size: 0.875rem; color: var(--sub); text-align: center; }

/* ---- Hero ---- */
.hero { position: relative; padding: clamp(2.5rem, 7vw, 5rem) 0 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } }
.kicker { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; text-shadow: 0 0 18px var(--glow); }
.kicker::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); box-shadow: 0 0 8px var(--glow); display: inline-block; }
.hero h1 { margin: 0 0 0.9rem; font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 55%, var(--accent-3));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 16px var(--glow));
  animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .hl { animation: none; } }
.hero p.lead { margin: 0 0 1.6rem; font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--sub); max-width: 50ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; font: inherit; font-weight: 700; font-size: 0.98rem; text-decoration: none; border-radius: 12px; padding: 0.82rem 1.2rem; border: 1px solid transparent; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, filter .16s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-wa { background: linear-gradient(135deg, #2bd776, #14b257); color: #04231a; box-shadow: 0 10px 26px -6px rgba(37,211,102,0.5); }
.btn-wa:hover { box-shadow: 0 16px 34px -6px rgba(37,211,102,0.7); filter: brightness(1.04); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #2a1200; box-shadow: 0 10px 26px -6px var(--glow); }
.btn-primary:hover { box-shadow: 0 16px 36px -6px var(--glow); filter: brightness(1.07); }
:root[data-theme="dark"] .btn-primary { box-shadow: 0 10px 26px -6px rgba(255,138,31,0.45); }
:root[data-theme="dark"] .btn-primary:hover { box-shadow: 0 16px 36px -6px rgba(255,138,31,0.6); }
.btn-ghost { background: var(--panel-2); color: var(--ink); border-color: var(--panel-brd); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--panel-brd)); box-shadow: 0 0 24px -6px var(--glow); }

/* Trust chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 1.5rem; color: var(--sub); font-size: 0.9rem; font-weight: 600; }
.chips span { display: inline-flex; align-items: center; gap: 0.4rem; }
.chips svg { width: 17px; height: 17px; color: var(--accent-3); filter: drop-shadow(0 0 5px var(--glow-2)); }

/* Hero artwork card — inline SVG camp scene */
.hero-art { position: relative; isolation: isolate; max-width: 100%; }
.hero-art::before {
  content: ""; position: absolute; inset: -12%; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--glow), transparent 28%, var(--glow-2) 54%, transparent 82%, var(--glow));
  filter: blur(48px); opacity: 0.55;
  animation: halospin 24s linear infinite;
}
@keyframes halospin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art::before { animation: none; } }
.art-card {
  position: relative; border-radius: 22px; padding: 0.9rem; overflow: hidden;
  background: linear-gradient(150deg, var(--panel-2), var(--panel)), color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--panel-brd);
  box-shadow: 0 40px 90px -34px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.art-card .scene { width: 100%; height: auto; display: block; border-radius: 14px; }
/* Landing hero slideshow (.hero-roll): stacked photos in the same 3:2 card, crossfade driven by site.js */
.hero-roll { position: relative; margin: 0; aspect-ratio: 1556 / 1037; border-radius: 14px; overflow: hidden; background: #000; }
.hero-roll .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; border-radius: 0; }
.hero-roll .scene.active { opacity: 1; }
.hero-roll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-roll-dots { position: absolute; left: 0; right: 0; bottom: 0.6rem; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.hero-roll-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.45); box-shadow: 0 1px 4px rgba(0,0,0,0.4); transition: transform .3s ease, background .3s ease; }
.hero-roll-dots span.active { background: var(--accent); transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .hero-roll .scene { transition: none; } .hero-roll-dots { display: none; } }
.float { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
.flame { transform-origin: 50% 100%; animation: flicker 1.6s ease-in-out infinite alternate; }
@keyframes flicker { from { transform: scaleY(1) scaleX(1); opacity: .95; } to { transform: scaleY(1.12) scaleX(0.92); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .flame { animation: none; } }

/* ---- Sections ---- */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.sec-head { max-width: 46ch; margin-bottom: 1.8rem; }
.sec-head .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.75rem; text-shadow: 0 0 16px var(--glow); }
.sec-head h2 { margin: 0.4rem 0 0.4rem; font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -0.015em; }
.sec-head p { margin: 0; color: var(--sub); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid, .grid.grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid, .grid.grid-3 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 16px; padding: 1.3rem; overflow: hidden; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, var(--panel-brd)); box-shadow: 0 26px 54px -26px var(--glow); }
.card:hover::before { transform: scaleX(1); }
.card .ic { width: 42px; height: 42px; color: var(--accent); margin-bottom: 0.7rem; filter: drop-shadow(0 0 8px var(--glow)); }
.card.green .ic { color: var(--accent-3); filter: drop-shadow(0 0 8px var(--glow-2)); }
.card h3 { margin: 0 0 0.35rem; font-size: 1.06rem; }
.card p { margin: 0; color: var(--sub); font-size: 0.92rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Two-column blocks (about / contact) ---- */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.info { display: grid; gap: 1rem; }
.info .row { display: flex; gap: 0.8rem; align-items: flex-start; }
.info .row svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; filter: drop-shadow(0 0 6px var(--glow)); }
.info .row .k { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--sub); font-weight: 700; }
.info .row a { text-decoration: none; font-weight: 700; }
.info .row a:hover { color: var(--accent); }
.todo { color: var(--accent-2); font-weight: 700; }
.panel-card { position: relative; background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 18px; padding: 1.6rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.panel-card h3 { margin: 0 0 0.6rem; }
.panel-card .btn { width: 100%; justify-content: center; margin-top: 0.6rem; }
.maplink { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem; color: var(--accent); font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.maplink:hover { text-decoration: underline; }
.map-embed { width: 100%; height: 340px; border: 1px solid var(--panel-brd); border-radius: 18px; margin-top: 1.5rem; display: block; box-shadow: 0 24px 60px -34px var(--glow); }

/* FAQ — <details> keeps answers crawlable */
.faq-list { display: grid; gap: 0.75rem; max-width: 820px; }
.faq-list details { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 14px; padding: 0.85rem 1.1rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.faq-list summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p { margin: 0.7rem 0 0.15rem; color: var(--sub); line-height: 1.55; max-width: 68ch; }

/* ---- Footer ---- */
footer.foot { border-top: 1px solid var(--panel-brd); padding: 1.6rem 0 calc(1.6rem + 68px); color: var(--sub); font-size: 0.86rem; } /* bottom space = fixed contact row + ~5mm */
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; justify-content: space-between; }
footer.foot a { color: var(--accent); text-decoration: none; font-weight: 700; }
footer.foot .foot-powered { justify-content: center; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--panel-brd); font-size: 0.82rem; }
footer.foot .foot-powered a:hover { text-decoration: underline; }
footer.foot .foot-powered .foot-ver { opacity: 0.85; margin-inline-start: 0.4rem; font-size: 0.8rem; }

/* ---- Floating WhatsApp ---- */
.wa-float { position: fixed; inset-inline-end: 18px; inset-block-end: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 0.55rem; background: linear-gradient(135deg, #2bd776, #14b257); color: #04231a; font-weight: 800; text-decoration: none; padding: 0.7rem 0.95rem; border-radius: 999px; box-shadow: 0 16px 34px -8px rgba(37,211,102,0.55); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .lbl { font-size: 0.92rem; }
@media (max-width: 520px) { .wa-float .lbl { display: none; } .wa-float { padding: 0.8rem; } }
.wa-float .pulse { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(37,211,102,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
@media (prefers-reduced-motion: reduce) { .wa-float .pulse { animation: none; } }

/* Floating contact cluster: WhatsApp / Viber / Email — icon-only, regular 48px buttons, ONE row centred at the
   bottom of the viewport (the back-to-top control sits bottom-right, so nothing overlaps). Safe-area aware. */
.float-cluster { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; inset-inline-end: auto; z-index: 60;
  display: flex; align-items: center; gap: 10px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.fab { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: 999px; text-decoration: none; transition: transform .16s ease, filter .16s ease; }
.fab .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; } /* icon-only buttons; label kept for screen readers / tooltip */
.fab:hover { transform: translateY(-2px); filter: brightness(1.05); }
.fab svg { width: 24px; height: 24px; flex: none; }
.fab-wa { background: linear-gradient(135deg, #2bd776, #14b257); color: #04231a; box-shadow: 0 12px 28px -8px rgba(37,211,102,0.5); }
.fab-viber { background: linear-gradient(135deg, #8a7cf5, #7360f2 55%, #59489f); color: #fff; box-shadow: 0 12px 28px -8px rgba(115,96,242,0.5); }  /* Viber violet #7360F2 */
.fab-mail { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #2a1200; box-shadow: 0 12px 28px -8px var(--glow); }
.fab .pulse { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(37,211,102,0.45); animation: pulse-soft 2.8s infinite; }
@keyframes pulse-soft { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4);} 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
@media (max-width: 720px) { .fab { width: 44px; height: 44px; } .fab svg { width: 22px; height: 22px; } }
/* Hero: same contact buttons as the bottom row, rounded-rectangle variant */
.cta-icons { display: flex; align-items: center; gap: 12px; }
.fab-rect { width: 72px; height: 48px; border-radius: 12px; }
@media (max-width: 720px) { .fab-rect { width: 64px; height: 44px; } }

@media (prefers-reduced-motion: reduce) { .fab .pulse { animation: none; } }
/* In-flow copy of the cluster inside #contact (same .fab buttons, centred under the contact card) */
.contact-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 1.4rem; }
/* Viber CTA button (hero / contact rows) */
.btn-viber { background: linear-gradient(135deg, #8a7cf5, #7360f2 55%, #59489f); color: #fff; box-shadow: 0 10px 26px -6px rgba(115,96,242,0.5); }  /* Viber violet #7360F2 */
.btn-viber:hover { box-shadow: 0 16px 34px -6px rgba(115,96,242,0.7); filter: brightness(1.04); }

/* Light sweep across the primary / WhatsApp buttons on hover. */
.btn-primary, .btn-wa { overflow: hidden; }
.btn-primary::after, .btn-wa::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.btn-primary:hover::after, .btn-wa:hover::after { animation: shine 0.8s ease; }
@keyframes shine { 0% { left: -60%; opacity: 0.6; } 100% { left: 130%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .btn-primary:hover::after, .btn-wa:hover::after { animation: none; } }

/* ---- Trust bar (accreditation badges — the AIP badge set is flattened on black, so the strip is a dark band in both themes) ---- */
.trust-bar { margin-top: 1.6rem; }
.trust-bar .strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem 1.8rem; background: #000; border: 1px solid var(--panel-brd); border-radius: 16px; padding: 0.9rem 1.2rem; box-shadow: 0 18px 44px -30px var(--shadow); }
.trust-bar img { height: 44px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.88; transition: opacity .2s ease; }
.trust-bar img:hover { opacity: 1; }
.trust-bar .lbl { width: 100%; text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #cdb59d; }
:root[data-theme="dark"] .trust-bar .strip { border-color: rgba(170,180,255,0.32); box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 18px 44px -30px var(--shadow); }
/* Neutral organiser strip (Barcelona: no partner badges) — the Orange logo on its own light tile */
.trust-bar.organiser .strip { background: var(--panel); }
.trust-bar.organiser .lbl { color: var(--sub); }
.trust-bar.organiser img { height: 40px; background: #fff7ee; border-radius: 10px; padding: 3px 8px; opacity: 1; }
.trust-bar.compact { margin-top: 1rem; }
.trust-bar.compact img { height: 34px; }

/* ---- Photo gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; margin-top: 1.6rem; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--panel-brd); transition: transform .18s ease, box-shadow .18s ease; }
.gallery figure:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -26px var(--glow); }
.gallery img { display: block; width: 100%; height: 190px; object-fit: cover; }
.gallery figcaption { padding: 0.5rem 0.75rem; font-size: 0.8rem; color: var(--sub); font-weight: 600; }
.photo-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--panel-brd); background: var(--panel); }
.photo-card img { display: block; width: 100%; height: auto; }
.photo-card figcaption { padding: 0.5rem 0.75rem; font-size: 0.8rem; color: var(--sub); font-weight: 600; }

/* Galleries: 3 visible thumbnails; any click opens the auto-running lightbox carousel */
.gallery { grid-template-columns: repeat(3, 1fr); }
.gallery figure { position: relative; cursor: pointer; }
.gallery figure:nth-of-type(n+4) { display: none; }
.gallery figure:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gallery img { height: 220px; }
.gal-more { position: absolute; inset: 0 0 auto auto; margin: 0.6rem; padding: 0.35rem 0.7rem; border-radius: 999px;
  background: rgba(0,0,0,0.62); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: .01em; backdrop-filter: blur(4px); pointer-events: none; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; } .gallery img { height: 110px; } .gallery figcaption { display: none; } .gal-more { font-size: 0.7rem; padding: 0.25rem 0.5rem; margin: 0.35rem; } }
/* Lightbox carousel */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(12,7,3,0.94); backdrop-filter: blur(6px); }
:root[data-theme="dark"] .lb { background: rgba(6,8,28,0.94); }
.lb.open { display: flex; }
.lb-stage { position: relative; width: min(96vw, 1200px); height: min(88vh, 900px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lb-img { max-width: 100%; max-height: calc(100% - 96px); object-fit: contain; border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9); opacity: 0; transition: opacity .35s ease; user-select: none; -webkit-user-drag: none; }
.lb-img.show { opacity: 1; }
.lb-cap { margin-top: 0.8rem; color: #fff4e8; font-weight: 600; font-size: 0.95rem; text-align: center; min-height: 1.4em; }
.lb-meta { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.4rem; color: #cdb59d; font-size: 0.8rem; }
.lb-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.lb-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,0.35); cursor: pointer; }
.lb-dots button[aria-current="true"] { background: var(--accent); transform: scale(1.3); }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.10); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.lb-btn:hover, .lb-btn:focus-visible { background: var(--accent); outline: none; }
.lb-prev { left: 4px; } .lb-next { right: 4px; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.10); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lb-close:hover, .lb-close:focus-visible { background: var(--accent); outline: none; }
.lb-play { border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.10); color: #fff; border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.8rem; cursor: pointer; }
.lb-play:hover, .lb-play:focus-visible { background: var(--accent); outline: none; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.12); }
.lb-bar span { display: block; height: 100%; width: 0; background: var(--accent); }
.lb.playing .lb-bar span { animation: lbprog var(--lb-ms, 3500ms) linear forwards; }
@keyframes lbprog { from { width: 0; } to { width: 100%; } }
body.lb-lock { overflow: hidden; }
@media (max-width: 640px) { .lb-btn { width: 40px; height: 40px; font-size: 1.3rem; } .lb-img { max-height: calc(100% - 120px); } }
@media (prefers-reduced-motion: reduce) { .lb-img { transition: none; } }
/* Region map (destination): just the rounded iframe — no frame, no padding, no caption; photo-card shadow */
.map-card { display: block; align-self: start; width: 100%; max-width: 380px; justify-self: end; background: transparent; border: 0; padding: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 26px 54px -26px var(--glow); }
.map-card .map-region { width: 100%; height: 480px; border: 0; display: block; margin: 0; border-radius: 16px; box-shadow: none; }
@media (max-width: 820px) { .map-card { max-width: 100%; justify-self: stretch; } .map-card .map-region { height: 380px; } }

/* ---- Lists inside cards / panels ---- */
.card ul, .panel-card ul { margin: 0.6rem 0 0; padding-inline-start: 1.15rem; color: var(--sub); font-size: 0.92rem; display: grid; gap: 0.35rem; }
.card ul li::marker, .panel-card ul li::marker { color: var(--accent); }
.card .sub-lbl { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); font-weight: 700; margin-bottom: 0.4rem; }
.grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .grid.grid-2 { grid-template-columns: 1fr; } }
.note { margin-top: 1.2rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--panel-brd); color: var(--sub); font-weight: 600; font-size: 0.92rem; }
.stat { font-size: 2.8rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.src { font-size: 0.76rem; color: var(--sub); opacity: 0.85; margin-top: 0.55rem; }
.ph-card { display: grid; place-items: center; min-height: 170px; border: 1px dashed var(--panel-brd); border-radius: 16px; color: var(--sub); font-weight: 700; text-align: center; padding: 1rem; background: var(--panel); }
.ph-card svg { width: 34px; height: 34px; color: var(--accent); opacity: 0.7; margin-bottom: 0.4rem; }
.step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #2a1200; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 20px -6px var(--glow); margin-bottom: 0.7rem; }
.quote { font-size: 1.05rem; font-style: italic; color: var(--ink); border-inline-start: 3px solid var(--accent); padding-inline-start: 1rem; margin: 1.2rem 0 0; }
.card p + p { margin-top: 0.7rem; }
.cardlink { display: inline-block; margin-top: 0.7rem; color: var(--accent); font-weight: 700; text-decoration: none; font-size: 0.9rem; }
/* Organiser name "Orange Holiday & Travel" -> its own site (static in the footer, injected by site.js linkifyCompany elsewhere) */
a.brand-link, footer.foot a.brand-link, .info .row a.brand-link { color: var(--accent); font-weight: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); transition: text-decoration-color .15s ease; }
a.brand-link:hover, footer.foot a.brand-link:hover, .info .row a.brand-link:hover { text-decoration-color: currentColor; }
.info .row strong a.brand-link { font-weight: 700; }
.cardlink:hover { text-decoration: underline; }

/* ---- Landing: destination cards (added with the multi-page layout) ---- */
.camp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 820px) { .camp-grid { grid-template-columns: 1fr; } }
.camp-card { display: flex; flex-direction: column; padding: 0; }
.camp-card .camp-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.camp-card .camp-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.camp-card:hover .camp-media img { transform: scale(1.04); }
.camp-card .camp-media svg { display: block; width: 100%; height: 100%; }
.camp-card .camp-art { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a120b 0%, #7a3a08 55%, #e86f00 100%); }
.camp-card .camp-art-txt { position: absolute; inset-inline-start: 1rem; inset-block-end: 0.9rem; color: #fff4e8; font-weight: 800; letter-spacing: 0.02em; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.camp-card .camp-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.camp-card .camp-body h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.camp-card .camp-body ul { margin: 0 0 1rem; }
.camp-card .camp-body .btn { margin-top: auto; align-self: flex-start; }
/* Camp-page footer: text link back to the landing (the header has no "Home" item; the logo scrolls to #top) */
footer.foot .foot-home { color: var(--sub); font-weight: 700; }
footer.foot .foot-home:hover { color: var(--accent); }

/* ---- Back-to-top (site.js injects <button id="to-top" class="to-top">): round 40px, bottom-RIGHT (the contact cluster is centred), hidden until ~600px scroll ---- */
.to-top {
  position: fixed; inset-inline-end: 18px; inset-block-end: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 40px; height: 40px; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center; font: inherit; font-size: 1.15rem; font-weight: 800; line-height: 1;
  color: var(--ink); background: var(--panel-2); border: 1px solid var(--panel-brd);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px -12px var(--shadow);
  opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, border-color .15s ease, box-shadow .15s ease;
}
.to-top[hidden] { display: none; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--panel-brd)); box-shadow: 0 0 20px -4px var(--glow); color: var(--accent); }
.to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; transform: none; } }

/* ---- Barcelona camp page: portrait hero photo, tall photo cards, catalogue of the 17 themed camps ---- */
.art-card .scene.portrait { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.photo-card.tall img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.catalog .card { padding: 0; display: flex; flex-direction: column; }
.catalog .cat-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2); display: grid; place-items: center; }
.catalog .cat-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .5s ease; }
.catalog .card:hover .cat-media img { transform: scale(1.04); }
.catalog .cat-media svg { width: 54px; height: 54px; color: var(--accent); filter: drop-shadow(0 0 8px var(--glow)); }
.catalog .cat-body { padding: 0.9rem 1rem 1.1rem; }
.catalog .cat-n { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 0.2rem; }
.catalog h3 { font-size: 0.98rem; margin: 0 0 0.3rem; }
.catalog p { font-size: 0.86rem; }
