:root {
  /* Beskydy palette — forest, wood, terracotta dusk, warm linen */
  --forest-dark: #1f3329;
  --forest: #2f4a3b;
  --forest-light: #4f6b52;
  --moss: #7a9471;
  --wood: #8a5a34;
  --wood-light: #b9885d;
  --rust: #bd5b28;
  --rust-dark: #a04a1e;
  --linen: #faf6ee;
  --linen-alt: #f1ead9;
  --card: #fffdf8;
  --text: #332b22;
  --text-soft: #6b6154;
  --cream-on-dark: #f4ecd8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(47, 74, 59, 0.12);
  --shadow-sm: 0 4px 14px rgba(51, 43, 34, 0.1);
  --max-width: 1100px;
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  margin: 0;
  background-color: var(--linen);
  color: var(--text);
  line-height: 1.7;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(51, 43, 34, 0.035) 1px, transparent 0);
  background-size: 22px 22px;
}

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

a {
  color: var(--rust-dark);
}

p {
  color: var(--text-soft);
}

.icon {
  width: 1.35em;
  height: 1.35em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.28em;
  flex-shrink: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ============ HERO / HEADER ============ */
.hero {
  position: relative;
  min-height: clamp(350px, 74vh, 735px);
  display: flex;
  color: var(--cream-on-dark);
  overflow: hidden;
  background: var(--forest-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 32, 26, 0.72) 0%, rgba(20, 32, 26, 0.28) 42%, rgba(20, 32, 26, 0.4) 68%, var(--linen) 100%),
    radial-gradient(ellipse 60% 40% at 50% 18%, rgba(0, 0, 0, 0.18), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 6rem;
  text-align: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.photo-credit {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 10px;
  font-size: 0.68rem;
  color: rgba(244, 236, 216, 0.75);
  text-decoration: none;
  background: rgba(20, 32, 26, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
}

.photo-credit:hover {
  color: #fff;
}

.lang-switch {
  align-self: center;
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px;
  margin-top: 1.5rem;
}

.lang-switch button {
  background: none;
  border: none;
  border-radius: 999px;
  font-size: 1.05rem;
  padding: 4px 9px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.lang-switch button:hover {
  opacity: 1;
}

.lang-switch button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f4d9a8;
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.hero .subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream-on-dark);
  opacity: 0.92;
  max-width: 40em;
}

.ridge {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.ridge svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Sticky nav */
nav.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(51, 43, 34, 0.08);
  padding: 0.7rem 1rem;
  margin-top: -3rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.4rem;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a:focus-visible {
  background: var(--linen-alt);
  color: var(--rust-dark);
}

/* Hamburger toggle — hidden on desktop, shown only on phone widths */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--forest);
  cursor: pointer;
  border-radius: 999px;
  padding: 0;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--linen-alt);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close {
  display: block;
}

/* ============ SECTIONS ============ */
section {
  padding: 3.5rem 1.5rem;
}

.inner {
  max-width: var(--max-width);
  margin: auto;
}

/* Alternating background band, so stacked sections read as distinct
   panels rather than one continuous page. Keeps the same dotted texture
   as <body>, just on a slightly deeper cream. */
section.band-alt {
  background-color: var(--linen-alt);
  background-image: radial-gradient(circle at 1px 1px, rgba(51, 43, 34, 0.035) 1px, transparent 0);
  background-size: 22px 22px;
}

/* Light separation between stacked sections (the first section, right
   after the nav, and #contest, which already has its own card border,
   are excluded on purpose). */
section + section:not(#contest) {
  border-top: 1px solid rgba(51, 43, 34, 0.08);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--forest);
  margin-bottom: 0.3rem;
}

.section-head .icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--rust);
}

section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.folk-divider {
  display: flex;
  gap: 7px;
  margin: 0.6rem 0 1.6rem;
}

.folk-divider span {
  width: 7px;
  height: 7px;
  background: var(--rust);
  transform: rotate(45deg);
  opacity: 0.85;
}

.folk-divider span:nth-child(2) {
  background: var(--wood-light);
}

.folk-divider span:nth-child(3) {
  background: var(--moss);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split .split-text {
  order: 1;
}

.split .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.framed-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--card);
  outline: 1px solid rgba(51, 43, 34, 0.08);
}

.framed-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.badge-corner {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 58px;
  height: 58px;
  background: var(--rust);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--linen);
}

.badge-corner .icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.8;
}

.gallery,
.contest-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.gallery figure,
.contest-photos figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--card);
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery figure:hover,
.contest-photos figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery img,
.contest-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Trip slider (Okolí a výlety) — always shows 3 per view; extra trips scroll */
.trip-slider {
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trip-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
}

.trip-track::-webkit-scrollbar {
  display: none;
}

.trip-track:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.trip-slider-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(51, 43, 34, 0.14);
  background: var(--card);
  color: var(--forest);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.trip-slider-arrow:hover {
  background: var(--linen-alt);
}

.trip-slider-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.trip-slider.has-overflow .trip-slider-arrow {
  display: flex;
}

.trip-card {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 2 * 1.1rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  padding: 0;
  border: 4px solid var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font: inherit;
  text-align: left;
}

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

.trip-card:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 2px;
}

.trip-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.trip-card:hover img {
  transform: scale(1.05);
}

.trip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 24, 19, 0.78) 100%);
  pointer-events: none;
}

.trip-card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.trip-card-expand {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trip-card-expand .icon {
  width: 0.95rem;
  height: 0.95rem;
  stroke-width: 2.2;
}

/* Photo gallery slider — visual/behavioral twin of .trip-slider, kept as
   separate classes so the two sliders never collide or affect each other */
.gallery-slider {
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.gallery-slider.has-overflow .trip-slider-arrow {
  display: flex;
}

.gallery-card {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 2 * 1.1rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  padding: 0;
  border: 4px solid var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.gallery-card:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 2px;
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

/* Trip category filter (Kultura / Výlety / Restaurace) */
.trip-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.trip-category-btn {
  background: var(--card);
  border: 1px solid rgba(51, 43, 34, 0.14);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.trip-category-btn:hover {
  border-color: var(--rust);
}

.trip-category-btn.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream-on-dark);
}

.trip-card.is-hidden {
  display: none;
}

/* Direct-booking discount box */
.discount-box {
  margin-top: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: var(--linen-alt);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius-sm);
}

.discount-title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
}

.discount-text {
  margin: 0;
  color: var(--text);
}

.discount-note {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--cream-on-dark);
  opacity: 0.85;
}

/* Price list (ceník) */
.price-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(51, 43, 34, 0.06);
  overflow: hidden;
}

.price-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  padding: 0.9rem 1.4rem;
  border-top: 1px dashed rgba(51, 43, 34, 0.12);
}

.price-item:first-child {
  border-top: none;
}

.price-label {
  color: var(--text);
  font-weight: 600;
  flex: 1 1 auto;
}

.price-value {
  color: var(--rust-dark);
  font-weight: 600;
}

.price-note {
  flex-basis: 100%;
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 26, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 32, 26, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close .icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2.2;
}

.modal-image {
  width: 100%;
  max-height: 46vh;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 1.5rem 1.6rem 1.8rem;
}

.modal-body h3 {
  font-family: var(--font-display);
  color: var(--forest);
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.modal-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--linen-alt);
  color: var(--forest);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.modal-desc {
  margin: 0;
}

.modal-desc[hidden] {
  display: none;
}

/* Gallery lightbox: full photo (not cropped) plus prev/next navigation */
.gallery-modal-image {
  object-fit: contain;
  background: #14201a;
  max-height: 70vh;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 32, 26, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-nav:hover {
  background: rgba(20, 32, 26, 0.85);
}

.modal-nav[hidden] {
  display: none;
}

.modal-nav .icon {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2.2;
}

.modal-nav-prev {
  left: 12px;
}

.modal-nav-next {
  right: 12px;
}

/* Nearby places / restaurants / transit (Okolí a výlety) */
.nearby-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.3rem;
  margin-top: 2.2rem;
}

.nearby-panel-stack {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.nearby-panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(51, 43, 34, 0.06);
  padding: 1.4rem 1.5rem;
}

.nearby-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
}

.nearby-panel h3 .icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--rust);
  flex-shrink: 0;
}

.nearby-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nearby-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-top: 1px dashed rgba(51, 43, 34, 0.12);
  font-size: 0.92rem;
}

.nearby-list li:first-child {
  border-top: none;
}

.nearby-name {
  color: var(--text);
  flex: 1;
}

.nearby-type {
  color: var(--text-soft);
}

.nearby-distance {
  color: var(--text-soft);
  font-weight: 600;
  white-space: nowrap;
}

/* Contest highlight card */
#contest {
  background: linear-gradient(160deg, var(--linen-alt), #ecdfc4);
  max-width: none;
  border-radius: var(--radius);
  margin: 2.5rem auto;
  padding: 3rem 1.5rem;
  border: 1px solid rgba(189, 91, 40, 0.18);
}

.prize-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--forest);
  color: var(--cream-on-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--rust);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 0.6rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background-color: var(--rust-dark);
  transform: translateY(-2px);
}

/* Reviews */
.reviews-summary {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 1.8rem 0 2.2rem;
  padding: 1.6rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(51, 43, 34, 0.06);
}

.review-score-badge {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(51, 43, 34, 0.1);
}

.review-score-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--forest);
}

.review-score-label {
  font-weight: 600;
  color: var(--rust-dark);
}

.review-score-count {
  font-size: 0.82rem;
  color: var(--text-soft);
  white-space: nowrap;
}

.review-categories {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 2rem;
}

.review-category {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.review-category-name {
  color: var(--text-soft);
  white-space: nowrap;
}

.review-category-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--linen-alt);
  overflow: hidden;
}

.review-category-bar span {
  display: block;
  height: 100%;
  background: var(--moss);
  border-radius: 999px;
}

.review-category-value {
  font-weight: 600;
  color: var(--forest);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
  margin: 0 0 1.8rem;
}

.review-card {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--card);
  outline: 1px solid rgba(51, 43, 34, 0.08);
  padding: 1.3rem 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.review-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
}

.review-card figcaption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.review-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.review-name {
  font-weight: 600;
  color: var(--text);
}

.review-score-chip {
  background: var(--forest);
  color: var(--cream-on-dark);
  font-weight: 600;
  font-size: 0.76rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
}

.review-date {
  margin-left: auto;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.booking-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.booking-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--card);
  border: 1px solid rgba(51, 43, 34, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.booking-links a:hover {
  transform: translateY(-2px);
  border-color: var(--rust);
}

.booking-links .icon {
  color: var(--rust);
}

.contact-info {
  background: var(--forest);
  color: var(--cream-on-dark);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}

.contact-info p {
  color: var(--cream-on-dark);
  opacity: 0.92;
  margin-top: 0;
}

.contact-info a {
  color: #fff;
  font-weight: 600;
}

.contact-info .contact-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  background: var(--forest-dark);
  color: var(--cream-on-dark);
}

footer .footer-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: auto;
  padding: 3.2rem 1.5rem 1.7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--cream-on-dark);
  margin: 0 0 0.5rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  color: var(--cream-on-dark);
  opacity: 0.75;
  max-width: 26em;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav a,
.footer-contact-line {
  color: var(--cream-on-dark);
  opacity: 0.85;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-contact-line .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: #f4d9a8;
  flex-shrink: 0;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact-line:hover,
.footer-contact-line:focus-visible {
  opacity: 1;
  color: #f4d9a8;
}

.footer-divider {
  justify-content: center;
  margin: 2.2rem 0 1.4rem;
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

.footer-credit {
  font-size: 0.72rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* ============ RESPONSIVE ============ */
html {
  overflow-x: hidden;
}

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

  .trip-card,
  .gallery-card {
    flex-basis: calc((100% - 1.1rem) / 2);
  }

  .review-categories {
    grid-template-columns: 1fr;
  }

  .nearby-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .reviews-summary {
    flex-direction: column;
  }

  .review-score-badge {
    padding-right: 0;
    padding-bottom: 1.2rem;
    border-right: none;
    border-bottom: 1px solid rgba(51, 43, 34, 0.1);
    width: 100%;
  }
}

/* Phone nav: collapse the link row behind a hamburger toggle */
@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--linen);
    border-bottom: 1px solid rgba(51, 43, 34, 0.08);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 1rem 0.9rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .nav-links.is-open {
    max-height: 70vh;
    opacity: 1;
    overflow-y: auto;
  }

  .nav-links a {
    text-align: center;
    padding: 0.7rem 0.9rem;
  }
}

@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .split .split-media {
    order: 1;
  }

  .split .split-text {
    order: 2;
  }

  section {
    padding: 2.8rem 1.25rem;
  }

  #contest {
    padding: 2.4rem 1.25rem;
  }

  nav.main-nav {
    margin-top: -2.3rem;
  }

  .nav-links {
    gap: 0.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .footer-nav,
  .footer-contact {
    align-items: center;
  }

  .footer-tagline {
    max-width: none;
  }

  .hero-inner {
    padding-bottom: 5rem;
  }

  .modal-image {
    max-height: 32vh;
  }

  .modal-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .trip-card,
  .gallery-card {
    flex-basis: 82%;
  }

  .trip-slider-arrow {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: clamp(320px, 62vh, 560px);
  }

  .hero-inner {
    padding-top: 1rem;
    padding-bottom: 4.2rem;
  }

  .lang-switch {
    margin-top: 1.2rem;
  }

  nav.main-nav a {
    font-size: 0.86rem;
    padding: 0.35rem 0.7rem;
  }

  .badge-corner {
    width: 46px;
    height: 46px;
    bottom: -12px;
    right: -12px;
  }

  .contact-info {
    padding: 1.3rem 1.4rem;
  }
}
