:root {
  --alpine-forest: #21483A;
  --deep-pine: #16362D;
  --sage-trail: #78927F;
  --moss-green: #607A63;
  --med-blue: #3E7180;
  --alpine-sky: #A9CDD0;
  --warm-sand: #D8C6A5;
  --limestone: #ECE8DE;
  --route-cream: #F6F3EA;
  --asphalt: #252B2A;
  --signal-amber: #D69A3A;
  --road-white: #FBFAF6;

  --font-serif: "Charter", "Bitstream Vera Serif", "Sitka Text", "Cambria", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 18px rgba(22, 54, 45, 0.08);
  --shadow-card: 0 10px 30px rgba(22, 54, 45, 0.12);
  --shadow-glass: 0 8px 32px rgba(22, 54, 45, 0.22);

  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-40: 40px;
  --space-64: 64px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--route-cream);
  color: var(--asphalt);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--route-cream);
  overflow-x: hidden;
  position: relative;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--deep-pine);
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw + 0.5rem, 2.3rem); margin-bottom: var(--space-16); }
h3 { font-size: clamp(1.25rem, 2vw + 0.3rem, 1.6rem); margin-bottom: var(--space-8); }
h4 { font-size: 1.15rem; margin-bottom: var(--space-4); }

p {
  margin-bottom: var(--space-16);
  color: var(--asphalt);
  overflow-wrap: anywhere;
}

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

.site-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-16);
}

@media (min-width: 768px) {
  .site-wrap {
    padding: 0 var(--space-24);
  }
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.site-header {
  background-color: var(--road-white);
  border-bottom: 1px solid var(--limestone);
  position: relative;
  z-index: 90;
}

.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--deep-pine);
  overflow-wrap: anywhere;
  min-width: 0;
}

.brand-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--alpine-forest);
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-24);
  }

  .nav-desktop a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--deep-pine);
    padding: var(--space-4) 0;
    position: relative;
  }

  .nav-desktop a.active, .nav-desktop a:hover {
    color: var(--signal-amber);
  }
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--alpine-forest);
  color: var(--road-white) !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--deep-pine);
  white-space: nowrap;
}

.btn-header:hover {
  background-color: var(--deep-pine);
  color: var(--warm-sand) !important;
}

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

.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--limestone);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  color: var(--deep-pine);
}

@media (min-width: 1024px) {
  .nav-toggle-btn {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(22, 54, 45, 0.5);
  z-index: 100;
}

.mobile-nav-backdrop.is-visible {
  display: block;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--road-white);
  padding: var(--space-24);
  z-index: 101;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-panel.is-visible {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-24);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--limestone);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep-pine);
  display: block;
  padding: var(--space-8) 0;
}

.mobile-nav-links a.active {
  color: var(--signal-amber);
}

.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-4);
  color: var(--deep-pine);
}

/* --------------------------------------------------
   COMPONENTS & BUTTONS
-------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--alpine-forest);
  color: var(--road-white);
  border-color: var(--deep-pine);
}

.btn-primary:hover {
  background-color: var(--deep-pine);
  color: var(--road-white);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary {
  background-color: var(--road-white);
  color: var(--alpine-forest);
  border-color: var(--limestone);
}

.btn-secondary:hover {
  background-color: var(--limestone);
  color: var(--deep-pine);
}

.btn-amber {
  background-color: var(--signal-amber);
  color: #1a1a1a;
  font-weight: 700;
}

.btn-amber:hover {
  background-color: #c0852d;
  color: #000;
}

.btn-outline-amber {
  border: 1px solid var(--signal-amber);
  color: var(--road-white);
  background: rgba(22, 54, 45, 0.4);
}

.btn-outline-amber:hover {
  background: var(--signal-amber);
  color: #1a1a1a;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-amber { background: var(--signal-amber); color: #1a1a1a; }
.badge-blue { background: var(--med-blue); color: #ffffff; }
.badge-forest { background: var(--alpine-forest); color: #ffffff; }
.badge-sand { background: var(--warm-sand); color: var(--deep-pine); }
.badge-sage { background: var(--sage-trail); color: #ffffff; }

/* --------------------------------------------------
   ROUTE-LINE DECORATOR & BREADCRUMBS
-------------------------------------------------- */
.route-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin: var(--space-40) 0;
  color: var(--sage-trail);
}

.route-divider::before, .route-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--limestone);
}

.breadcrumbs {
  padding: var(--space-16) 0;
  font-size: 0.85rem;
  color: var(--moss-green);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
}

.breadcrumbs a {
  color: var(--alpine-forest);
  text-decoration: underline;
}

/* --------------------------------------------------
   GLASS ROUTE OVERLAY CARD SYSTEM
-------------------------------------------------- */
.route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  margin-top: var(--space-24);
}

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

@media (min-width: 1024px) {
  .route-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .route-grid.two-column {
    grid-template-columns: repeat(2, 1fr);
  }
}

.glass-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--deep-pine);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.glass-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}

.glass-card:hover .glass-card-bg {
  transform: scale(1.04);
}

.glass-card-badge-top {
  position: absolute;
  top: var(--space-16);
  left: var(--space-16);
  z-index: 3;
}

.glass-card-top-right {
  position: absolute;
  top: var(--space-16);
  right: var(--space-16);
  z-index: 3;
}

.glass-overlay-panel {
  position: relative;
  z-index: 2;
  margin: var(--space-16);
  padding: var(--space-24);
  background: rgba(22, 54, 45, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(236, 232, 222, 0.2);
  color: var(--road-white);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.glass-overlay-panel h3 {
  color: var(--road-white);
  margin-bottom: 2px;
}

.glass-location-sub {
  font-size: 0.85rem;
  color: var(--alpine-sky);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.glass-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  background: rgba(0, 0, 0, 0.25);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-stat-item {
  display: flex;
  flex-direction: column;
}

.glass-stat-label {
  font-size: 0.7rem;
  color: var(--warm-sand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.glass-stat-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--road-white);
  margin-top: 2px;
}

.glass-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e2e8e4;
  margin: 0;
}

.glass-card-cta {
  align-self: flex-start;
  width: 100%;
}

/* --------------------------------------------------
   HERO SECTIONS
-------------------------------------------------- */
.hero-editorial {
  position: relative;
  background-color: var(--deep-pine);
  color: var(--road-white);
  padding: var(--space-64) 0;
  overflow: hidden;
}

.hero-editorial::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--signal-amber) 0%, var(--sage-trail) 50%, var(--med-blue) 100%);
}

.hero-editorial-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  z-index: 1;
}

.hero-editorial-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--warm-sand);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-16);
}

.hero-editorial h1 {
  color: var(--road-white);
  margin-bottom: var(--space-16);
}

.hero-editorial p.lead {
  font-size: clamp(1.05rem, 1.5vw + 0.5rem, 1.25rem);
  line-height: 1.6;
  color: var(--route-cream);
  margin-bottom: var(--space-24);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

/* --------------------------------------------------
   SECTION STYLES & EDITORIAL BLOCKS
-------------------------------------------------- */
.section {
  padding: var(--space-64) 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: var(--space-40);
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--moss-green);
  margin-bottom: var(--space-8);
  display: block;
}

.editorial-card {
  background-color: var(--road-white);
  border-radius: var(--radius-md);
  padding: var(--space-24);
  border: 1px solid var(--limestone);
  box-shadow: var(--shadow-subtle);
  margin-bottom: var(--space-24);
}

.editorial-card h3 {
  border-bottom: 2px solid var(--limestone);
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-16);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  margin: var(--space-16) 0;
}

@media (min-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pro-box, .con-box {
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.pro-box {
  background-color: rgba(33, 72, 58, 0.08);
  border-left: 4px solid var(--alpine-forest);
}

.con-box {
  background-color: rgba(214, 154, 58, 0.12);
  border-left: 4px solid var(--signal-amber);
}

.pro-box strong, .con-box strong {
  display: block;
  margin-bottom: 6px;
}

/* Feature steps framework */
.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  list-style: none;
  counter-reset: step-counter;
}

@media (min-width: 768px) {
  .steps-list {
    grid-template-columns: 1fr 1fr;
  }
}

.step-card {
  background: var(--road-white);
  border: 1px solid var(--limestone);
  padding: var(--space-24);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--alpine-forest);
  color: var(--road-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-16);
}

/* Comparison Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin: var(--space-24) 0;
  background: var(--road-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--limestone);
}

table.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 540px;
}

table.editorial-table th {
  background-color: var(--alpine-forest);
  color: var(--road-white);
  padding: 12px 16px;
  font-weight: 600;
}

table.editorial-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--limestone);
  color: var(--asphalt);
}

table.editorial-table tr:nth-child(even) {
  background-color: #faf8f3;
}

/* --------------------------------------------------
   CONTACT & FORM STYLES
-------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-40);
}

@media (min-width: 840px) {
  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-form-card {
  background: var(--road-white);
  padding: var(--space-40);
  border-radius: var(--radius-lg);
  border: 1px solid var(--limestone);
  box-shadow: var(--shadow-subtle);
}

.form-group {
  margin-bottom: var(--space-24);
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--deep-pine);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--sage-trail);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--asphalt);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--alpine-forest);
}

.form-control.is-invalid {
  border-color: #c0392b;
  background-color: #fff9f9;
}

.form-error-msg {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-error-msg.is-visible {
  display: block;
}

.contact-info-panel {
  background: var(--limestone);
  border-radius: var(--radius-lg);
  padding: var(--space-32, 32px);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--moss-green);
  font-weight: 700;
}

.info-item-value {
  font-size: 0.95rem;
  color: var(--deep-pine);
  font-weight: 600;
}

.map-illustration-box {
  background: var(--deep-pine);
  color: var(--road-white);
  padding: var(--space-24);
  border-radius: var(--radius-md);
  margin-top: var(--space-16);
  position: relative;
  overflow: hidden;
}

.map-svg-graphic {
  width: 100%;
  height: auto;
  display: block;
}

.form-alert-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
  padding: var(--space-16);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-24);
}

.form-alert-success.is-visible {
  display: block;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
  background-color: var(--deep-pine);
  color: var(--limestone);
  padding-top: var(--space-64);
  padding-bottom: var(--space-40);
  margin-top: auto;
  border-top: 4px solid var(--signal-amber);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-40);
  margin-bottom: var(--space-40);
}

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

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.footer-brand .brand-link {
  color: var(--road-white);
}

.footer-col-title {
  color: var(--warm-sand);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-16);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--limestone);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--signal-amber);
}

.footer-company-details {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #b8c7bf;
}

.footer-company-details p {
  color: #b8c7bf;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(236, 232, 222, 0.15);
  padding-top: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  font-size: 0.8rem;
  color: #9eb1a6;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-16);
}

.footer-legal-links a {
  color: #9eb1a6;
}

.footer-legal-links a:hover {
  color: var(--road-white);
}

/* --------------------------------------------------
   COOKIE BANNER
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--deep-pine);
  color: var(--road-white);
  padding: var(--space-24) var(--space-16);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  z-index: 999;
  border-top: 2px solid var(--signal-amber);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

@media (min-width: 880px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--limestone);
}

.cookie-text a {
  color: var(--alpine-sky);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  flex-shrink: 0;
}

.cookie-actions .btn {
  font-size: 0.82rem;
  padding: 8px 16px;
}

/* --------------------------------------------------
   ACCESSIBILITY & UTILITIES
-------------------------------------------------- */
@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;
  }
}