/* Global CSS for Buddiesquirkvalt - Modern Slate Gray & Radiant Yellow Design */
:root {
  /* Yellow Palette */
  --yellow: #EAB308;
  --yellow-bright: #FACC15;
  --yellow-light: #FEF08A;
  --yellow-ultralight: #FEFCE8;
  --yellow-hover: #CA8A04;
  --yellow-deep: #A16207;
  --yellow-glass: rgba(250, 204, 21, 0.14);
  --yellow-glow: rgba(250, 204, 21, 0.32);
  --yellow-border: rgba(234, 179, 8, 0.45);

  /* Gray & Slate Palette */
  --gray-950: #0B0F17;
  --gray-900: #111827;
  --gray-850: #182234;
  --gray-800: #1E293B;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-200: #E2E8F0;
  --gray-150: #ECEFF4;
  --gray-100: #F1F5F9;
  --gray-50: #F8FAFC;
  --white: #FFFFFF;

  /* Semantic Aliases for Existing Element Bindings */
  --sand: var(--yellow-bright);
  --sand-light: var(--gray-300);
  --sand-dark: var(--gray-400);
  --burnt-orange: var(--yellow-deep);
  --burnt-orange-hover: var(--gray-900);
  --burnt-orange-glass: var(--yellow-glass);
  --burnt-orange-glow: var(--yellow-glow);
  --deep-olive: var(--gray-900);
  --deep-olive-dark: var(--gray-950);
  --deep-olive-glass: rgba(30, 41, 59, 0.08);
  --cream: var(--gray-50);
  --cream-alt: var(--gray-100);
  --espresso: var(--gray-900);
  --espresso-soft: var(--gray-700);
  --espresso-muted: var(--gray-500);

  /* Surface & Glass Settings */
  --bg-gradient: radial-gradient(circle at 12% 8%, rgba(250, 204, 21, 0.16), transparent 38%),
                  radial-gradient(circle at 88% 52%, rgba(148, 163, 184, 0.22), transparent 48%),
                  radial-gradient(circle at 45% 92%, rgba(234, 179, 8, 0.1), transparent 45%),
                  linear-gradient(180deg, #F8FAFC 0%, #EDF2F7 45%, #E2E8F0 100%);
  
  --glass-surface: rgba(255, 255, 255, 0.85);
  --glass-surface-hover: #FFFFFF;
  --glass-surface-alt: rgba(241, 245, 249, 0.8);
  --glass-surface-solid: #FFFFFF;
  --glass-border: rgba(203, 213, 225, 0.8);
  --glass-border-subtle: rgba(226, 232, 240, 0.85);
  --glass-border-active: var(--yellow);
  --glass-blur: blur(16px);
  --glass-blur-lg: blur(24px);

  /* Shadows */
  --shadow-glass: 0 10px 25px -4px rgba(15, 23, 42, 0.07), 0 1px 2px 0 rgba(255, 255, 255, 0.8) inset;
  --shadow-glass-lift: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(234, 179, 8, 0.35);
  --shadow-glass-sm: 0 4px 14px -2px rgba(15, 23, 42, 0.05);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition-standard: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--gray-100);
  color: var(--gray-900);
  font-family: var(--font-sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--gray-900);
  position: relative;
}

/* Ambient yellow & slate atmospheric glows */
body::before {
  content: "";
  position: fixed;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  bottom: 40px;
  left: -140px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(71, 85, 105, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6, nav, .brand-name, .site-header {
  overflow-wrap: anywhere;
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: -0.025em; }
h2 { font-size: 2.1rem; margin-bottom: 24px; letter-spacing: -0.02em; }
h3 { font-size: 1.45rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 12px; }

p {
  margin-bottom: 16px;
  color: var(--gray-700);
  max-width: 72ch;
}

a {
  color: var(--yellow-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: var(--transition-standard);
}

a:hover {
  color: var(--gray-950);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--yellow-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--gray-900);
  border: 1px solid var(--yellow-bright);
  color: var(--yellow-bright);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  min-width: 0;
}

/* =========================================================
   HEADER & NAVIGATION (CLEAN, REFINED & MINIMAL)
   ========================================================= */
.site-header {
  height: 64px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  min-width: 0;
  padding: 4px 0;
}

.brand-wrapper:hover {
  text-decoration: none;
  opacity: 0.95;
}

.brand-logo-svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: block;
}

.brand-name {
  white-space: nowrap;
  color: var(--white);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-link.active {
  color: var(--gray-950);
  background: var(--yellow-bright);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(250, 204, 21, 0.25);
}

.nav-link.active:hover {
  background: #fde047;
  color: var(--gray-950);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 7px;
  cursor: pointer;
  color: var(--gray-200);
  transition: var(--transition-standard);
  line-height: 0;
}

.menu-toggle:hover {
  color: var(--yellow-bright);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--yellow);
}

.menu-toggle-icon {
  display: block;
  width: 22px;
  height: 22px;
}

/* =========================================================
   BUTTONS (YELLOW ACCENT & SLATE GRAY)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-standard);
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow-bright) 0%, var(--yellow) 100%);
  color: var(--gray-950);
  border: 1px solid var(--yellow-hover);
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FDE047 0%, var(--yellow-hover) 100%);
  color: var(--gray-950);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(234, 179, 8, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-glass-sm);
}

.btn-secondary:hover {
  background: var(--gray-900);
  color: var(--yellow-bright);
  border-color: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.2);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  background: transparent;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tagline {
  display: inline-block;
  background: var(--gray-900);
  color: var(--yellow-bright);
  border: 1px solid var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.65;
}

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

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  border: 3px solid var(--white);
  outline: 1px solid var(--gray-300);
  background: var(--gray-800);
}

.hero-media-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Content Section Shell */
.content-section {
  padding: 76px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  color: var(--yellow-deep);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin: 0 auto;
}

/* =========================================================
   ROW STYLE DESTINATION CARDS (GRAY & YELLOW DESIGN)
   ========================================================= */
.cards-row-stream {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 48px;
}

.row-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  position: relative;
  transition: var(--transition-standard);
  min-width: 0;
}

.row-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 0 0 1px var(--yellow);
  transform: translateY(-4px);
}

.row-card:nth-child(even) {
  flex-direction: row-reverse;
  border-left: 1px solid var(--gray-200);
  border-right: 5px solid var(--yellow);
}

.row-card:nth-child(even):hover {
  border-color: var(--yellow);
}

.row-card-media {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  min-height: 290px;
  background: var(--gray-800);
}

.row-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--gray-900);
  color: var(--yellow-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.row-card:nth-child(even) .card-badge {
  left: auto;
  right: 18px;
}

.row-card-body {
  flex: 1 1 58%;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
}

.row-card-header {
  margin-bottom: 12px;
}

.row-card-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  background: var(--yellow-ultralight);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--yellow-light);
  margin-bottom: 8px;
}

.row-card-header h3 {
  font-size: 1.6rem;
  margin-bottom: 0;
  color: var(--gray-900);
  letter-spacing: -0.015em;
}

.card-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 5px 12px;
  border-radius: 999px;
}

.card-meta-item svg {
  color: var(--yellow-deep);
  flex-shrink: 0;
}

.row-card-snippet {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.row-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
}

.btn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  color: var(--gray-900);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: var(--transition-standard);
}

.btn-card-link svg {
  color: var(--yellow-deep);
  transition: transform 0.25s ease;
}

.btn-card-link:hover {
  background: var(--yellow-bright);
  color: var(--gray-950);
  border-color: var(--yellow);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
}

.btn-card-link:hover svg {
  color: var(--gray-950);
  transform: translateX(4px);
}

/* =========================================================
   TERRAIN FEATURE BOX (SLATE & YELLOW ACCENTS)
   ========================================================= */
.terrain-feature-box {
  background: var(--gray-900);
  color: var(--white);
  border: 1px solid var(--gray-700);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.2);
  margin-top: 56px;
  position: relative;
}

.terrain-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.terrain-feature-item {
  min-width: 0;
}

.terrain-feature-item h4 {
  color: var(--yellow-bright);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.terrain-feature-item h4 svg {
  color: var(--yellow-bright);
}

.terrain-feature-item p {
  font-size: 0.925rem;
  margin-bottom: 0;
  color: var(--gray-300);
  line-height: 1.6;
}

/* =========================================================
   SUBPAGE HERO & LAYOUTS
   ========================================================= */
.subpage-hero {
  background: transparent;
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}

.subpage-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb-nav {
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.breadcrumb-nav a {
  color: var(--gray-500);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
  color: var(--yellow-deep);
}

.breadcrumb-separator {
  margin: 0 8px;
  color: var(--gray-400);
}

.subpage-title {
  font-size: 2.85rem;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.subpage-deck {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.subpage-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--yellow);
  font-size: 0.9rem;
  box-shadow: var(--shadow-glass-sm);
}

.subpage-meta-strip strong {
  color: var(--gray-900);
}

.detail-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 48px;
  padding: 64px 0;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.75rem;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 8px;
  color: var(--gray-900);
}

.article-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.3rem;
  color: var(--gray-800);
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 28px;
  color: var(--gray-700);
}

.article-content li {
  margin-bottom: 8px;
}

.article-lead-figure {
  margin-bottom: 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--gray-300);
  background: var(--gray-900);
}

.article-lead-figure img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.article-lead-figure figcaption {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 14px 22px;
  font-size: 0.85rem;
  font-style: italic;
  border-top: 1px solid var(--gray-750);
  border-left: 4px solid var(--yellow);
}

.info-callout {
  background: var(--yellow-ultralight);
  border-left: 4px solid var(--yellow);
  border-top: 1px solid var(--yellow-light);
  border-right: 1px solid var(--yellow-light);
  border-bottom: 1px solid var(--yellow-light);
  padding: 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
  box-shadow: var(--shadow-glass-sm);
}

.info-callout h4 {
  margin-bottom: 8px;
  color: var(--yellow-deep);
  font-weight: 700;
}

.info-callout p:last-child {
  margin-bottom: 0;
}

.specs-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-glass-sm);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.specs-table th, .specs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
}

.specs-table th {
  background: var(--gray-900);
  color: var(--yellow-bright);
  font-weight: 700;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:nth-child(even) td {
  background: var(--gray-50);
}

/* =========================================================
   SIDEBAR WIDGETS
   ========================================================= */
.detail-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--yellow);
  box-shadow: var(--shadow-glass);
}

.sidebar-widget h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 8px;
}

.sidebar-data-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-data-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-300);
  font-size: 0.9rem;
}

.sidebar-data-list li:last-child {
  border-bottom: none;
}

.sidebar-data-label {
  color: var(--gray-500);
}

.sidebar-data-val {
  font-weight: 600;
  color: var(--gray-900);
  text-align: right;
}

/* =========================================================
   CONTACT & FORM (GRAY & YELLOW DESIGN)
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-form-container,
.contact-info-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--yellow);
  box-shadow: var(--shadow-glass);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-standard);
}

.form-control:focus {
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.25);
}

.form-control.is-invalid {
  border-color: #DC2626;
  background: #FEF2F2;
}

.error-message {
  display: none;
  color: #DC2626;
  font-size: 0.8rem;
  margin-top: 4px;
}

.error-message.is-visible {
  display: block;
}

.form-status {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.status-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.map-block-container {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.static-map-graphic {
  width: 100%;
  height: 240px;
  background: var(--gray-900);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-vector-bg {
  width: 100%;
  height: 100%;
}

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  border-top: 5px solid var(--yellow);
  box-shadow: var(--shadow-glass);
  margin-top: 40px;
  margin-bottom: 60px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 6px;
}

.cookie-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cookie-table th, .cookie-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.cookie-table th {
  background: var(--gray-900);
  color: var(--yellow-bright);
}

.cookie-table tr:nth-child(even) td {
  background: var(--gray-50);
}

/* =========================================================
   FOOTER (DEEP CHARCOAL SLATE & GOLDEN YELLOW)
   ========================================================= */
.site-footer {
  background: var(--gray-950);
  color: var(--gray-300);
  padding: 68px 0 36px;
  margin-top: auto;
  border-top: 3px solid var(--yellow);
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--yellow-bright);
  font-size: 1.05rem;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-about p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-standard);
}

.footer-links a:hover {
  color: var(--yellow-bright);
  text-decoration: underline;
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--gray-400);
}

.company-meta-details {
  line-height: 1.6;
  color: var(--gray-400);
}

/* =========================================================
   COOKIE BANNER (SLATE & YELLOW)
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: var(--white);
  padding: 20px 24px;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: 0;
}

.cookie-banner-text a {
  color: var(--yellow-bright);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-standard);
}

.cookie-btn-accept {
  background: var(--yellow-bright);
  color: var(--gray-950);
  border-color: var(--yellow);
}

.cookie-btn-accept:hover {
  background: var(--white);
  color: var(--gray-950);
}

.cookie-btn-reject {
  background: var(--gray-800);
  border-color: var(--gray-600);
  color: var(--gray-200);
}

.cookie-btn-reject:hover {
  background: var(--gray-700);
  color: var(--white);
}

.cookie-btn-prefs {
  background: transparent;
  border-color: transparent;
  color: var(--yellow-light);
  text-decoration: underline;
}

.cookie-btn-prefs:hover {
  color: var(--white);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 1024px) {
  .terrain-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .row-card-media {
    flex: 0 0 46%;
  }
  .row-card-body {
    padding: 28px 32px;
  }
}

@media (max-width: 860px) {
  .nav-list {
    gap: 2px;
  }
  .nav-link {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 820px) {
  .row-card,
  .row-card:nth-child(even) {
    flex-direction: column;
    border-left: 5px solid var(--yellow);
    border-right: 1px solid var(--gray-200);
  }
  
  .row-card-media {
    flex: none;
    width: 100%;
    height: 250px;
    min-height: auto;
  }
  
  .row-card-body {
    padding: 24px 20px;
  }

  .row-card:nth-child(even) .card-badge {
    left: 18px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 58px;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--yellow);
    flex-direction: column;
    padding: 16px 20px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  }
  
  .main-navigation.is-open {
    display: flex;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 6px;
  }
  
  .nav-link {
    width: 100%;
    padding: 11px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-media-wrapper img {
    height: 280px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-banner-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .subpage-title {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .btn {
    width: 100%;
  }
  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  .terrain-feature-box {
    padding: 24px 20px;
  }
}

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