/* ==========================================================================
   Casa Georgescu *** — Râșnov, Brașov
   Warm Carpathian Alpine Hospitality Stylesheet
   Pure CSS — Zero Frameworks, Responsive, Accessible, High-Performance
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-page: #faf8f4;
  --bg-surface: #ffffff;
  --bg-stone: #f1ece2;
  --bg-stone-dark: #e6dfd2;
  --forest: #1e3a2f;
  --forest-light: #2b5041;
  --forest-dark: #14271f;
  --amber: #b4692d;
  --amber-hover: #9a5621;
  --amber-soft: #f6e8da;
  --amber-gold: #d99b52;

  --text-main: #1f2421;
  --text-muted: #525b55;
  --text-light: #6e7771;
  --text-on-dark: #faf8f4;
  --text-on-dark-muted: #d2dcd6;

  --border: #e3dcd0;
  --border-strong: #cfc5b4;

  /* Typography */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1200px;
  --container-narrow: 860px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(30, 58, 47, 0.06);
  --shadow-md: 0 10px 30px rgba(30, 58, 47, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 39, 31, 0.14);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest-dark);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--forest);
  color: var(--text-on-dark);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  color: var(--text-on-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 3.5vw, 2rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 5.75rem);
}

.section--alt {
  background-color: var(--bg-stone);
}

.section--white {
  background-color: var(--bg-surface);
}

.section--forest {
  background-color: var(--forest);
  color: var(--text-on-dark);
}

.section--forest h2,
.section--forest h3,
.section--forest h4 {
  color: var(--text-on-dark);
}

.section--forest p {
  color: var(--text-on-dark-muted);
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 0.65rem;
}

.section--forest .eyebrow {
  color: var(--amber-gold);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background-color: var(--amber);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(180, 105, 45, 0.28);
}

.btn--primary:hover {
  background-color: var(--amber-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(180, 105, 45, 0.34);
}

.btn--forest {
  background-color: var(--forest);
  color: #ffffff;
}

.btn--forest:hover {
  background-color: var(--forest-light);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn--outline:hover {
  background-color: var(--forest);
  color: #ffffff;
}

.btn--outline-light {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--forest-dark);
}

.btn--sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--forest-dark);
  flex-shrink: 0;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 2px;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--text-main);
  padding-block: 0.35rem;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--forest);
}

.nav-link[aria-current="page"] {
  font-weight: 600;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-stone);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch a,
.lang-switch span {
  padding: 0.34rem 0.62rem;
  border-radius: var(--radius-full);
  line-height: 1;
}

.lang-switch [aria-current="true"] {
  background-color: var(--forest);
  color: #ffffff;
}

.lang-switch a {
  color: var(--text-muted);
}

.lang-switch a:hover {
  color: var(--forest-dark);
}

.nav-mobile-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: var(--bg-stone);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--forest-dark);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background-color: var(--bg-page);
  padding: 1.5rem;
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.nav-mobile.is-open {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-mobile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-mobile-link {
  display: block;
  padding: 0.9rem 1rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-dark);
  border-radius: var(--radius-sm);
}

.nav-mobile-link[aria-current="page"] {
  background-color: var(--bg-stone);
  color: var(--amber);
}

.nav-mobile-contact {
  margin-top: auto;
  padding: 1.25rem;
  background-color: var(--forest);
  color: var(--text-on-dark);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-mobile-contact p {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
}

.nav-mobile-phones {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ---------- Hero Section (Homepage) ---------- */
.hero {
  position: relative;
  min-height: clamp(540px, 76vh, 740px);
  display: flex;
  align-items: flex-end;
  padding-block: 4rem clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
  background-color: var(--forest-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 32, 25, 0.86) 0%,
    rgba(16, 32, 25, 0.42) 48%,
    rgba(16, 32, 25, 0.14) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  color: var(--text-on-dark);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  background-color: rgba(250, 248, 244, 0.14);
  border: 1px solid rgba(250, 248, 244, 0.3);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.hero-stars {
  color: var(--amber-gold);
  letter-spacing: 2px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: rgba(250, 248, 244, 0.92);
  margin-bottom: 1.85rem;
  max-width: 620px;
}

/* ---------- Floating Highlights Strip ---------- */
.highlights-strip {
  position: relative;
  z-index: 10;
  margin-top: -2.6rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.15rem;
  border-right: 1px solid var(--border);
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--amber-soft);
  color: var(--amber);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 20px;
  height: 20px;
}

.highlight-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--forest-dark);
  line-height: 1.25;
}

.highlight-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(3.25rem, 6vw, 4.75rem);
  background-color: var(--forest);
  color: var(--text-on-dark);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-on-dark-muted);
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.55;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-on-dark-muted);
  max-width: 660px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

/* ---------- Split Editorial Layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
}

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

.split-media {
  position: relative;
}

.photo-collage {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 220px 180px;
  gap: 0.85rem;
}

.photo-collage figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-stone-dark);
}

.photo-collage figure:first-child {
  grid-row: 1 / -1;
}

.photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.photo-collage a:hover img {
  transform: scale(1.04);
}

.single-photo-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background-color: var(--bg-stone-dark);
}

.single-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Quote / Motto Banner ---------- */
.motto-box {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 3.5px solid var(--amber);
  background-color: var(--bg-stone);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.motto-box p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.22rem;
  color: var(--forest-dark);
  margin: 0;
}

/* ---------- Cards Grid ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

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

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

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

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-stone-dark);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: rgba(20, 39, 31, 0.84);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  background-color: var(--bg-stone);
  color: var(--forest-dark);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---------- Feature & Amenity Lists ---------- */
.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--amber-soft);
  color: var(--amber);
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list--2col {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 16px;
  height: 16px;
  background-color: var(--forest);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

.check-list strong {
  color: var(--text-main);
}

/* ---------- Distance Badges ---------- */
.distances-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.distance-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
}

.distance-km {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
}

.distance-place {
  display: block;
  font-weight: 600;
  color: var(--forest-dark);
  margin-top: 0.25rem;
}

.distance-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---------- Gastronomy Strip ---------- */
.food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.food-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  background-color: var(--bg-stone-dark);
}

.food-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.food-item:hover img {
  transform: scale(1.06);
}

.food-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(16, 32, 25, 0.88), transparent);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---------- Gallery & Filter Controls ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.filter-btn.is-active {
  background-color: var(--forest);
  border-color: var(--forest);
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}

.gallery-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-stone-dark);
  border: 1px solid var(--border);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(16, 32, 25, 0.85), transparent);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption {
  opacity: 1;
}

/* ---------- Accessible Native Lightbox (<dialog>) ---------- */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1080px);
  max-height: 92vh;
  overflow: visible;
  margin: auto;
}

.lightbox::backdrop {
  background: rgba(14, 24, 20, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #111;
}

.lightbox-caption {
  color: #ffffff;
  font-size: 0.95rem;
  text-align: center;
  max-width: 680px;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: background-color 0.2s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox-prev {
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
}

/* ---------- Attractions Showcase ---------- */
.attraction-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.attraction-block + .attraction-block {
  margin-top: 1.75rem;
}

.attraction-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.attraction-photos figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-stone-dark);
}

.attraction-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.attraction-photos a:hover img {
  transform: scale(1.05);
}

/* ---------- Hiking Safety Tips ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.tip-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tip-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--forest);
  color: #ffffff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tip-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.tip-card p {
  font-size: 0.93rem;
}

/* ---------- Native FAQ Accordion (<details>) ---------- */
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 1.2rem 1.45rem;
  font-weight: 600;
  color: var(--forest-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--amber);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.45rem 1.3rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ---------- Contact & Reservation Cards ---------- */
.phone-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.phone-card-role {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.phone-card-number {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--forest-dark);
}

.phone-card-email {
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.phone-card-number:hover {
  color: var(--amber);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-stone);
  aspect-ratio: 16 / 9;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.cta-band p {
  color: var(--text-on-dark-muted);
}

.cta-phones {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

.cta-phone-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  color: #ffffff;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.cta-phone-btn:hover {
  background-color: var(--amber);
  border-color: var(--amber);
  color: #ffffff;
  transform: translateY(-2px);
}

.cta-phone-btn strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.cta-phone-btn span {
  font-size: 0.84rem;
  opacity: 0.88;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--forest-dark);
  color: var(--text-on-dark-muted);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(210, 220, 214, 0.72);
}

.footer-bottom a {
  color: var(--text-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--amber-gold);
}

/* ---------- Notice / Info Box ---------- */
.info-box {
  background-color: var(--amber-soft);
  border: 1px solid rgba(180, 105, 45, 0.25);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  color: var(--text-main);
}

.info-box strong {
  color: var(--forest-dark);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .highlight-item:nth-child(3) {
    border-right: none;
  }
  .highlight-item:nth-child(n+4) {
    border-top: 1px solid var(--border);
  }
  .grid-4,
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split-media {
    order: 0;
  }
  .grid-3,
  .gallery-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .tips-grid,
  .check-list--2col {
    grid-template-columns: 1fr;
  }
  .distances-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .highlights-strip {
    margin-top: 1.5rem;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .highlight-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .highlight-item:last-child {
    border-bottom: none;
  }
  .grid-2,
  .grid-3,
  .gallery-grid--3,
  .grid-4,
  .food-grid,
  .attraction-photos,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .photo-collage {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 180px 180px;
  }
  .photo-collage figure:first-child {
    grid-row: auto;
  }
  .gallery-caption {
    opacity: 1;
  }
  .lightbox-prev {
    left: 0.5rem;
  }
  .lightbox-next {
    right: 0.5rem;
  }
}

