/* ==========================================================================
   Teampicnicjumbl — Dark glassmorphism travel platform
   Palette: deep plum, coral, warm white, muted orange, graphite (no blue)
   Card style: Glass overlay (full-bleed image + translucent panel)
   ========================================================================== */

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

:root {
  --plum-950: #140a18;
  --plum-900: #1c0e22;
  --plum-800: #28142f;
  --plum-700: #3a1d44;
  --plum-600: #51285c;
  --coral: #ff7a6b;
  --coral-soft: #ffa093;
  --orange: #e8955a;
  --orange-soft: #f2b27f;
  --warm: #fbf4ec;
  --warm-2: #eadcd2;
  --warm-3: #cdbcb4;
  --graphite: #2b2a2e;
  --graphite-2: #3b393f;
  --glass-line: rgba(251, 244, 236, 0.14);
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;
  --r-lg: 32px;
  --r-md: 24px;
  --r-sm: 16px;
  --shadow: 0 24px 60px -24px rgba(8, 3, 10, 0.75);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--warm);
  background-color: var(--plum-950);
  background-image:
    radial-gradient(1100px 680px at 88% -8%, rgba(255, 122, 107, 0.17), transparent 60%),
    radial-gradient(900px 600px at -12% 28%, rgba(232, 149, 90, 0.11), transparent 60%),
    radial-gradient(1000px 900px at 50% 108%, rgba(81, 40, 92, 0.55), transparent 62%);
  transition: opacity 0.26s ease;
}

body.is-leaving {
  opacity: 0;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--coral);
  color: var(--plum-950);
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

p {
  margin: 0;
}

a {
  color: var(--coral-soft);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--warm);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--plum-950);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
  color: var(--plum-950);
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(1200px, calc(100% - 48px));
  }
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
}

.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--warm);
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.brand:hover {
  color: var(--warm);
}

.brand-mark {
  flex: 0 0 auto;
  transition: transform 0.5s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
}

.brand-name {
  font-size: 15px;
  letter-spacing: 0.01em;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  min-width: 0;
}

.nav-list li {
  min-width: 0;
}

.nav-list a {
  display: block;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--warm-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow-wrap: anywhere;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-list a:hover {
  background: rgba(251, 244, 236, 0.09);
  color: var(--warm);
}

.nav-list a[aria-current="page"] {
  background: rgba(255, 122, 107, 0.16);
  color: var(--warm);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 107, 0.45);
}

.nav-close,
.nav-toggle {
  display: none;
}

.header-cta {
  flex: 0 0 auto;
}

@media (min-width: 768px) and (max-width: 979px) {
  .brand-name {
    font-size: 14px;
  }

  .nav-list a {
    padding: 6px 7px;
    font-size: 13px;
  }

  .header-inner {
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    height: 50px;
    gap: 8px;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    padding: 88px 24px 40px;
    background: rgba(20, 10, 24, 0.97);
    color: var(--warm);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
    animation: overlayIn 0.35s var(--ease) both;
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .nav-list a {
    font-family: var(--font-display);
    font-size: 24px;
    padding: 12px 16px;
    white-space: normal;
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-line);
    background: rgba(251, 244, 236, 0.08);
    color: var(--warm);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid var(--glass-line);
    background: rgba(251, 244, 236, 0.06);
    color: var(--warm);
    cursor: pointer;
    flex: 0 0 auto;
  }

  .nav-toggle-bar {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: var(--warm);
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 399px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .brand-name {
    font-size: 14px;
  }
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--plum-950);
  box-shadow: 0 12px 30px -14px rgba(255, 122, 107, 0.8);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--coral-soft), var(--orange-soft));
  color: var(--plum-950);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(255, 122, 107, 0.9);
}

.btn-ghost {
  background: rgba(251, 244, 236, 0.08);
  color: var(--warm);
  border-color: var(--glass-line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(251, 244, 236, 0.16);
  color: var(--warm);
  transform: translateY(-2px);
}

.btn-small {
  padding: 8px 14px;
  font-size: 13px;
}

/* ---------- Glass surfaces ---------- */
.glass {
  position: relative;
  padding: 24px;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(251, 244, 236, 0.08), rgba(251, 244, 236, 0.03));
  color: var(--warm);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--glass-line);
  min-width: 0;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 122, 107, 0.6), rgba(251, 244, 236, 0.05) 42%, rgba(232, 149, 90, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 768px) {
  .glass {
    padding: 40px;
  }
}

/* ---------- Sections ---------- */
.section {
  margin-block: 64px;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.eyebrow-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--coral-soft);
  padding-right: 8px;
  border-right: 1px solid rgba(242, 178, 127, 0.5);
}

.section-title {
  font-size: clamp(28px, 4.2vw, 50px);
}

.section-title em,
.hero-title em,
.page-title em {
  font-style: italic;
  color: var(--coral-soft);
}

.section-lead {
  color: var(--warm-2);
  font-size: 17px;
  max-width: 64ch;
}

.subsection {
  margin-top: 40px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 16px;
  padding: 24px;
  border-radius: var(--r-lg);
  display: grid;
  gap: 40px;
  align-items: end;
  background: var(--plum-800);
  color: var(--warm);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.6s var(--ease);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 62% 40%;
  animation: heroZoom 16s var(--ease) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(20, 10, 24, 0.3), rgba(20, 10, 24, 0.62) 45%, rgba(20, 10, 24, 0.94)),
    linear-gradient(90deg, rgba(28, 14, 34, 0.88), rgba(28, 14, 34, 0.2) 75%);
}

.hero-layer {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.6s var(--ease);
}

.hero-layer-one {
  width: 42%;
  aspect-ratio: 1;
  top: 6%;
  right: 4%;
  background: radial-gradient(circle, rgba(255, 122, 107, 0.55), transparent 65%);
  animation: breathe 9s ease-in-out infinite;
}

.hero-layer-two {
  width: 32%;
  aspect-ratio: 1;
  bottom: 0;
  left: 28%;
  background: radial-gradient(circle, rgba(232, 149, 90, 0.45), transparent 65%);
  animation: breathe 11s ease-in-out infinite reverse;
}

.hero-content {
  display: grid;
  gap: 24px;
  max-width: 700px;
  padding-top: 64px;
  min-width: 0;
}

.hero-title {
  font-size: clamp(36px, 7vw, 86px);
  line-height: 1.02;
}

.hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--warm-2);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-panels {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  min-width: 0;
}

.hero-panel {
  display: grid;
  gap: 24px;
  padding: 24px;
  background: rgba(28, 14, 34, 0.62);
  color: var(--warm);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.6s var(--ease);
  animation: floaty 7s ease-in-out infinite;
}

.hero-panel-b {
  animation-delay: -2.4s;
}

.hero-panel-c {
  animation-delay: -4.6s;
}

.panel-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.panel-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
}

.panel-text {
  font-size: 14.5px;
  color: var(--warm-2);
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    min-height: clamp(600px, 84vh, 800px);
    padding: 40px;
    gap: 64px;
  }

  .hero-content {
    padding-top: 0;
    align-self: end;
  }

  .hero-panels {
    grid-template-columns: minmax(0, 1fr);
    align-self: center;
  }

  .hero-panel-b {
    margin-left: 40px;
  }

  .hero-panel-c {
    margin-right: 40px;
  }
}

.reveal-line {
  display: inline-block;
  animation: lineUp 1s var(--ease) backwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

@keyframes heroZoom {
  from {
    transform: scale(1.18);
  }
  to {
    transform: scale(1.04);
  }
}

@keyframes lineUp {
  from {
    opacity: 0;
    transform: translateY(0.6em);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.45;
    scale: 1;
  }
  50% {
    opacity: 0.7;
    scale: 1.08;
  }
}

/* ---------- Stats ---------- */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stat {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--warm);
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-3);
}

/* ---------- Glass overlay tiles (card style) ---------- */
.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  min-width: 0;
  border-radius: 28px;
  background: var(--plum-800);
  color: var(--warm);
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.tile:hover {
  color: var(--warm);
}

.tile-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 10, 24, 0) 25%, rgba(20, 10, 24, 0.65));
  pointer-events: none;
}

.tile-panel {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin: 16px;
  padding: 24px;
  display: grid;
  gap: 24px;
  border-radius: 20px;
  background: rgba(24, 12, 30, 0.8);
  color: var(--warm);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: inset 0 0 0 1px rgba(251, 244, 236, 0.16);
  transition: transform 0.5s var(--ease), background-color 0.5s ease, box-shadow 0.5s ease;
}

.tile:hover .tile-img {
  transform: scale(1.07);
}

a.tile:hover,
a.tile:focus-visible {
  box-shadow: 0 30px 70px -28px rgba(255, 122, 107, 0.5);
}

a.tile:hover .tile-panel,
a.tile:focus-visible .tile-panel {
  transform: translateY(-4px);
  background: rgba(24, 12, 30, 0.86);
  color: var(--warm);
  box-shadow: inset 0 0 0 1px rgba(255, 160, 147, 0.45);
}

a.tile:focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 4px;
  border-radius: 28px;
}

.tile-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.tile-title {
  font-size: clamp(22px, 2.4vw, 30px);
}

.tile-text {
  font-size: 15px;
  color: var(--warm-2);
}

.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--coral-soft);
}

.tile-cta-arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}

a.tile:hover .tile-cta-arrow {
  transform: translateX(6px);
}

.tile-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--warm-2);
}

.tile-list strong {
  color: var(--warm);
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  background: rgba(251, 244, 236, 0.1);
  color: var(--warm);
  box-shadow: inset 0 0 0 1px rgba(251, 244, 236, 0.16);
  overflow-wrap: anywhere;
}

/* ---------- Bento grids ---------- */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.bento > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .bento-guides,
  .bento-countries,
  .bento-places {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-guides .tile-xl,
  .bento-countries .tile-wide,
  .bento-places .tile-feature {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .bento-guides {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(240px, auto);
  }

  .bento-guides .tile-xl {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 500px;
  }

  .bento-guides .tile-tall {
    grid-column: span 2;
    grid-row: span 2;
  }

  .bento-guides .tile-third {
    grid-column: span 2;
  }

  .bento-countries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bento-countries .tile-wide {
    grid-column: span 2;
  }

  .bento-places {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento-places .tile-feature {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 560px;
  }
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 54vh, 540px);
  margin-top: 16px;
  border-radius: var(--r-lg);
  background: var(--plum-800);
  color: var(--warm);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 10, 24, 0.1), rgba(20, 10, 24, 0.7));
  pointer-events: none;
}

.page-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 14s var(--ease) both;
}

.page-hero-panel {
  position: relative;
  min-width: 0;
  max-width: 780px;
  margin: 16px;
  padding: 24px;
  display: grid;
  gap: 24px;
  border-radius: 24px;
  background: rgba(24, 12, 30, 0.8);
  color: var(--warm);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: inset 0 0 0 1px rgba(251, 244, 236, 0.16);
}

@media (min-width: 768px) {
  .page-hero-panel {
    margin: 24px;
    padding: 40px;
  }
}

.page-title {
  font-size: clamp(32px, 5.4vw, 64px);
}

.page-lead {
  font-size: 17px;
  color: var(--warm-2);
}

.breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--warm-3);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--warm-3);
}

.breadcrumb a {
  color: var(--warm-2);
}

.breadcrumb a:hover {
  color: var(--warm);
}

.toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toc a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  text-decoration: none;
  background: rgba(251, 244, 236, 0.08);
  color: var(--warm);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.toc a:hover {
  background: rgba(255, 122, 107, 0.2);
  color: var(--warm);
}

/* ---------- Prose ---------- */
.prose {
  display: grid;
  gap: 16px;
  color: var(--warm-2);
  max-width: 76ch;
}

.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--warm);
  margin-top: 24px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 21px;
  color: var(--warm);
  margin-top: 16px;
}

.prose strong {
  color: var(--warm);
}

.prose ul,
.prose ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.split {
  display: grid;
  gap: 24px;
}

.split > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  background: rgba(251, 244, 236, 0.04);
  color: var(--warm);
  box-shadow: inset 0 0 0 1px var(--glass-line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  color: var(--warm);
}

caption {
  padding: 16px;
  text-align: left;
  font-size: 13px;
  color: var(--warm-3);
  caption-side: bottom;
}

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(251, 244, 236, 0.1);
}

thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(28, 14, 34, 0.7);
  color: var(--orange-soft);
}

tbody th {
  font-weight: 600;
  color: var(--warm);
}

tbody tr {
  transition: background-color 0.3s ease;
}

tbody tr:hover {
  background: rgba(255, 122, 107, 0.07);
  color: var(--warm);
}

/* ---------- Pros / cons ---------- */
.pros-cons {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .pros-cons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pc-panel {
  display: grid;
  gap: 24px;
  align-content: start;
}

.pc-title {
  font-size: 22px;
}

.pc-group {
  display: grid;
  gap: 8px;
}

.pc-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.pc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--warm-2);
  font-size: 15px;
}

.pc-list li {
  position: relative;
  padding-left: 24px;
}

.pc-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.pc-list-pro li::before {
  content: "+";
  color: var(--coral-soft);
}

.pc-list-con li::before {
  content: "–";
  color: var(--warm-3);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--warm);
  border-radius: var(--r-md);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 122, 107, 0.18);
  color: var(--coral-soft);
  font-family: var(--font-sans);
  transition: transform 0.4s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--warm-2);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .cta-strip {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.cta-strip h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.cta-strip p {
  color: var(--warm-2);
  margin-top: 16px;
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

main {
  animation: pageIn 0.6s var(--ease) backwards;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label,
.field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--warm);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(251, 244, 236, 0.22);
  background: rgba(20, 10, 24, 0.6);
  color: var(--warm);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field select option {
  background: var(--plum-900);
  color: var(--warm);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(251, 244, 236, 0.4);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 2px;
  border-color: var(--coral);
}

.field .is-invalid {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 107, 0.25);
}

.field-hint {
  font-size: 13px;
  color: var(--warm-3);
}

.field-error {
  font-size: 13px;
  font-weight: 600;
  color: #ffb9ad;
}

.check-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--warm-2);
}

.check-field input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--coral);
}

.check-field input.is-invalid {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.form-success {
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255, 122, 107, 0.14);
  color: var(--warm);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 107, 0.45);
}

/* ---------- Contact details & map ---------- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.contact-list li {
  display: grid;
  gap: 8px;
  overflow-wrap: anywhere;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.map-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  margin-top: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 70%, rgba(81, 40, 92, 0.9) 0 12%, transparent 13%),
    radial-gradient(circle at 78% 22%, rgba(81, 40, 92, 0.8) 0 9%, transparent 10%),
    linear-gradient(135deg, var(--graphite), #231c26);
  color: var(--warm);
  box-shadow: inset 0 0 0 1px var(--glass-line);
}

.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -28px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  transform: rotate(-45deg);
  box-shadow: 0 10px 20px -6px rgba(255, 122, 107, 0.8);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--plum-950);
}

.map-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(24, 12, 30, 0.84);
  color: var(--warm);
  font-size: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  overflow-wrap: anywhere;
}

/* ---------- Legal ---------- */
.legal-meta {
  font-size: 14px;
  color: var(--warm-3);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  padding: 64px 0 40px;
  background: linear-gradient(180deg, rgba(43, 42, 46, 0), rgba(43, 42, 46, 0.55));
  color: var(--warm-2);
  border-top: 1px solid var(--glass-line);
  overflow-wrap: anywhere;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-grid > * {
  min-width: 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-about {
  max-width: 44ch;
}

.footer-meta {
  font-size: 14px;
  color: var(--warm-3);
  line-height: 1.8;
}

.footer-meta a {
  color: var(--coral-soft);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a,
.footer-link-btn {
  color: var(--warm-2);
  text-decoration: none;
  font-size: 15px;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: var(--warm);
  text-decoration: underline;
}

.footer-link-btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 244, 236, 0.08);
  font-size: 13px;
  color: var(--warm-3);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  max-width: 980px;
  margin-inline: auto;
  padding: 24px;
  border-radius: 24px;
  background: rgba(28, 14, 34, 0.95);
  color: var(--warm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 160, 147, 0.35);
  animation: overlayIn 0.4s ease both;
}

.cookie-inner {
  display: grid;
  gap: 16px;
}

.cookie-title {
  font-family: var(--font-display);
  font-size: 20px;
}

.cookie-text {
  font-size: 14.5px;
  color: var(--warm-2);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-prefs {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(251, 244, 236, 0.05);
  color: var(--warm);
  box-shadow: inset 0 0 0 1px var(--glass-line);
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--coral);
}

/* ---------- Small screens ---------- */
@media (max-width: 399px) {
  .hero {
    padding: 16px;
  }

  .tile-panel {
    margin: 8px;
    padding: 16px;
  }

  .page-hero-panel {
    margin: 8px;
    padding: 16px;
  }

  .glass {
    padding: 16px;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 17px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }

  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 16px;
  }

  .btn {
    padding: 12px 16px;
  }

  th,
  td {
    padding: 12px 16px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}