/* Aether Ridge — advanced UI (light/dark, motion-aware) */
:root,
[data-theme="light"] {
  --bg: #f1f5f9;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.1);
  --accent: #0891b2;
  --accent-dim: rgba(8, 145, 178, 0.12);
  --accent-strong: #0e7490;
  --glow: rgba(8, 145, 178, 0.35);
  --hero-mask: linear-gradient(115deg, rgba(15, 23, 42, 0.92), rgba(8, 145, 178, 0.25));
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --container: min(1140px, calc(100% - 2.5rem));
}

[data-theme="dark"] {
  --bg: #020617;
  --bg-elevated: #0f172a;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.12);
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, 0.12);
  --accent-strong: #67e8f9;
  --glow: rgba(34, 211, 238, 0.35);
  --hero-mask: linear-gradient(115deg, rgba(2, 6, 23, 0.94), rgba(8, 51, 68, 0.45));
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  z-index: 10000;
  border: 1px solid var(--border);
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: var(--container);
  margin-inline: auto;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 82%, transparent);
  backdrop-filter: blur(14px);
}

.topbar[data-scrolled="true"] {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .topbar[data-scrolled="true"] {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.topbar__shell {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  min-height: 4.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo__orbit {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: conic-gradient(from 210deg, var(--accent), #6366f1, var(--accent));
  position: relative;
  flex-shrink: 0;
}

.logo__orbit::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.logo__name {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.logo__tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.25;
  display: none;
}

@media (min-width: 720px) {
  .logo__tag {
    display: block;
    max-width: 18rem;
  }
}

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 0 12px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

@media (min-width: 960px) {
  .menu-btn {
    display: none;
  }
}

.nav-drawer {
  display: contents;
}

@media (max-width: 959px) {
  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 4.35rem;
    padding: 1.25rem 1.25rem 2rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 90;
    overflow-y: auto;
  }
  .nav-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  body.menu-open {
    overflow: hidden;
  }
}

.nav-main__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

@media (max-width: 959px) {
  .nav-main__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
}

@media (min-width: 960px) {
  .nav-drawer {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.nav-main__link {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.5rem 0.15rem;
  border-radius: 8px;
}

.nav-main__link:hover,
.nav-main__link:focus-visible {
  color: var(--text);
}

.nav-main__link.is-active {
  color: var(--text);
  box-shadow: inset 0 -2px 0 0 var(--accent);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.theme-toggle__icon::before {
  content: "◐";
}

[data-theme="dark"] .theme-toggle__icon::before {
  content: "◑";
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), #6366f1);
  color: #f8fafc;
  box-shadow: 0 10px 30px var(--glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
}

.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  color: #f8fafc;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-mask),
    url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1800&q=86");
  background-size: cover;
  background-position: 50% 42%;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.35), transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(8, 145, 178, 0.35), transparent 45%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: var(--container);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 10vw, 8rem);
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }
}

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
  margin: 0 0 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 4.5vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.125rem;
  max-width: 38ch;
  color: rgba(248, 250, 252, 0.88);
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  background: rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(10px);
}

.hero__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
  font-weight: 700;
}

.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.kpi dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  margin: 0;
}

.kpi dd {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--muted {
  background: color-mix(in srgb, var(--bg-elevated) 55%, var(--bg));
  border-block: 1px solid var(--border);
}

.section__head {
  width: var(--container);
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Snap carousel */
.snap-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1rem;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
}

.snap-row > li {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
}

.snap-card {
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.snap-card__img {
  aspect-ratio: 16 / 10;
  position: relative;
}

.snap-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snap-card__body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.snap-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.snap-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.snap-card__body h3 a:hover {
  color: var(--accent);
}

.snap-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

/* Grid cards */
.grid-cards {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .grid-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
}

.card__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  color: var(--accent);
}

.card__meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.card__excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1;
}

.card__price {
  font-weight: 800;
  margin-top: 0.35rem;
}

/* Feature grid */
.feature-grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  border-radius: var(--radius);
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--border));
  padding: 1.35rem 1.25rem;
  background: var(--accent-dim);
}

.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Quotes */
.quotes {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  margin: 0;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.98rem;
}

.quote p {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1.55;
}

.quote footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quote cite {
  font-style: normal;
  font-weight: 800;
  color: var(--text);
}

/* CTA */
.cta {
  width: var(--container);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(120deg, #0f172a, #164e63);
  color: #f8fafc;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 0.35rem;
}

.cta p {
  margin: 0;
  color: rgba(248, 250, 252, 0.82);
  max-width: 46ch;
}

/* Page hero */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 90%, var(--bg)), var(--bg));
}

.page-hero--invert {
  background: var(--bg-elevated);
}

.breadcrumb {
  font-size: 0.85rem;
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "·";
  margin-left: 0.35rem;
  opacity: 0.55;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.page-intro {
  margin: 0;
  font-size: 1.1rem;
  max-width: 60ch;
  color: var(--text-muted);
}

/* Trip detail */
.trip-hero {
  position: relative;
  min-height: min(52vh, 520px);
  display: flex;
  align-items: flex-end;
  color: #f8fafc;
}

.trip-hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.9)),
    var(--trip-img);
  background-size: cover;
  background-position: center;
}

.trip-hero__inner {
  position: relative;
  width: var(--container);
  margin-inline: auto;
  padding: 2.5rem 0 3rem;
}

.trip-hero .breadcrumb a {
  color: rgba(248, 250, 252, 0.88);
  text-decoration: none;
}

.trip-hero .breadcrumb a:hover {
  text-decoration: underline;
}

.trip-meta {
  margin: 0.5rem 0 0;
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.95rem;
}

.trip-layout {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 6rem;
}

@media (min-width: 900px) {
  .trip-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}

.prose {
  font-size: 1.05rem;
}

.prose .lead {
  font-size: 1.12rem;
  color: var(--text-muted);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.aside-card {
  position: sticky;
  top: 5.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}

.aside-price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.35rem;
}

.aside-price span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.aside-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

/* Sticky dock */
.trip-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 82%, transparent);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.trip-dock.is-visible {
  transform: translateY(0);
}

.trip-dock__info {
  min-width: 0;
}

.trip-dock__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-dock__price {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .trip-dock {
    display: none;
  }
}

/* Filters */
.filters {
  width: var(--container);
  margin: -0.5rem auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-search {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.chip.is-active {
  background: var(--accent-dim);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  color: var(--accent-strong);
}

.chip--subtle {
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
}

/* Blog */
.blog-list {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

@media (min-width: 700px) {
  .blog-card {
    grid-template-columns: 140px 1fr;
    align-items: start;
  }
}

.blog-card time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.15rem 0 0.35rem;
}

.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: var(--accent);
}

/* Contact */
.contact-grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.35rem 1.25rem;
}

.form label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin: 0.75rem 0 0.35rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font: inherit;
  background: var(--bg-elevated);
  color: var(--text);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.alert--error {
  background: #fff1f2;
  border: 1px solid #e11d48;
  color: #881337;
}

[data-theme="dark"] .alert--error {
  background: #450a0a;
  border-color: #f87171;
  color: #fecaca;
}

.alert--ok {
  background: #ecfdf5;
  border: 1px solid #34d399;
  color: #064e3b;
}

[data-theme="dark"] .alert--ok {
  background: #052e16;
  border-color: #4ade80;
  color: #bbf7d0;
}

/* Destinations */
.dest-block {
  width: var(--container);
  margin-inline: auto;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 5rem;
}

.dest-block:last-child {
  border-bottom: 0;
}

.dest-block h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.dest-block p {
  max-width: 70ch;
  color: var(--text-muted);
}

/* Reading progress */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 120;
  background: linear-gradient(90deg, var(--accent), #6366f1);
  pointer-events: none;
}

/* Legal */
.legal {
  width: var(--container);
  margin-inline: auto;
  max-width: 720px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.5rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
}

/* Footer */
.footer {
  margin-top: 2rem;
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 70%, var(--bg));
}

.footer__grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.footer__text {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer__text--sm {
  font-size: 0.88rem;
}

.footer__fine {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.footer__h {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-weight: 800;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.footer__list a {
  color: var(--text);
  text-decoration: none;
}

.footer__list a:hover {
  text-decoration: underline;
}

.footer__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer__form input {
  flex: 1;
  min-width: 160px;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}

.footer__bar {
  width: var(--container);
  margin-inline: auto;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.footer__legal a {
  color: inherit;
  text-decoration: none;
}

.footer__legal a:hover {
  text-decoration: underline;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* FAQ */
.faq {
  width: var(--container);
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  background: var(--bg-elevated);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
}

.faq details[open] summary {
  margin-bottom: 0.65rem;
}

.faq p {
  margin: 0;
  color: var(--text-muted);
}
