/* ==========================================================================
   BuddyRoundupBrimsby — Luxury Global Remote Careers & Country Directory
   Design System & Master Stylesheet
   ========================================================================== */

:root {
  --color-primary: #6F2944;       /* Deep Burgundy */
  --color-secondary: #9B6855;     /* Warm Copper */
  --color-accent: #C6A35B;        /* Champagne Gold */
  --color-bg: #F4EFE8;            /* Warm Ivory */
  --color-surface: #FFFDFC;       /* Porcelain */
  --color-text: #292525;          /* Deep Charcoal */
  --color-muted: #89807B;         /* Warm Gray */
  --color-sage: #69715F;          /* Sophisticated Sage */
  --color-border: rgba(111, 41, 68, 0.14);
  --color-border-subtle: rgba(137, 128, 123, 0.22);
  --color-gold-tint: rgba(198, 163, 91, 0.15);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 2px 8px rgba(41, 37, 37, 0.05);
  --shadow-md: 0 8px 24px rgba(41, 37, 37, 0.08);
  --shadow-lg: 0 16px 48px rgba(41, 37, 37, 0.12);
  --shadow-gold: 0 8px 30px rgba(198, 163, 91, 0.2);

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessible hidden element */
.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;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--color-text);
  font-size: 1rem;
}

p.lead {
  font-size: 1.18rem;
  font-weight: 300;
  line-height: 1.7;
  color: #433D3A;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

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

/* Editorial Container System */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Fine Editorial Rules & Accents */
.gold-divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 1.5rem 0;
}

.gold-divider-center {
  margin: 1.5rem auto;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   NON-STICKY LUXURY NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: relative;
  width: 100%;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.header-top-bar {
  background-color: var(--color-primary);
  color: var(--color-bg);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(198, 163, 91, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-crest {
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #4D1B2E 100%);
  color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(111, 41, 68, 0.25);
}

.brand-crest svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-top: 0.2rem;
  font-weight: 600;
}

/* Nav Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.desktop-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.35rem 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.desktop-nav a.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(111, 41, 68, 0.2);
}

.btn-primary:hover {
  background-color: #551E33;
  color: #FFFFFF;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-surface);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #1A1305;
  border-color: var(--color-accent);
  font-weight: 700;
}

.btn-accent:hover {
  background-color: #B49149;
  border-color: #B49149;
  color: #000000;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.mobile-drawer-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-drawer-links a.active {
  color: var(--color-primary);
  font-weight: 700;
  border-bottom-color: var(--color-accent);
}

/* ==========================================================================
   HERO: GLOBAL CAREER DRIFT
   ========================================================================== */
.hero-drift-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(198, 163, 91, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 70%, rgba(111, 41, 68, 0.08) 0%, transparent 50%),
              var(--color-bg);
  padding: 5.5rem 1.5rem 6.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-drift-container {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  z-index: 2;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-accent);
}

.hero-drift-visual {
  position: relative;
  min-height: 480px;
  perspective: 1000px;
}

.drift-layer {
  position: absolute;
  border-radius: var(--radius-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.drift-layer-main {
  width: 82%;
  height: 380px;
  top: 30px;
  left: 10%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.drift-layer-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) brightness(0.98);
}

.drift-card-floating-1 {
  top: 0;
  left: 0;
  width: 230px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  padding: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 4;
}

.drift-card-floating-2 {
  bottom: 10px;
  right: 0;
  width: 250px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  padding: 1.15rem;
  box-shadow: var(--shadow-lg);
  z-index: 4;
}

.hero-search-box {
  margin-top: 2.2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xs);
  gap: 0.5rem;
}

.hero-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: transparent;
  color: var(--color-text);
}

.hero-search-box input::placeholder {
  color: var(--color-muted);
}

/* ==========================================================================
   EDITORIAL STATS & BADGES
   ========================================================================== */
.editorial-strip {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 1.5rem;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

.strip-item {
  border-left: 1px solid var(--color-border);
  padding-left: 1.25rem;
}

.strip-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}

.strip-label {
  font-size: 0.78rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.35rem;
}

/* ==========================================================================
   VIEW TOGGLE SYSTEM (REMOTE JOBS VS COUNTRIES)
   ========================================================================== */
.view-toggle-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-border);
  gap: 0.5rem;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-bottom: -2px;
}

.view-toggle-btn:hover {
  color: var(--color-primary);
}

.view-toggle-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
  background: rgba(198, 163, 91, 0.08);
}

.view-toggle-count {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  color: var(--color-primary);
  font-weight: 700;
}

.view-toggle-btn.active .view-toggle-count {
  background: var(--color-accent);
  color: #1A1305;
  border-color: var(--color-accent);
}

/* ==========================================================================
   COUNTRY-SPECIFIC DEMAND CARDS (What job is most demanding in which country)
   ========================================================================== */
.country-demand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
}

.country-demand-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.country-demand-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.demand-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(111, 41, 68, 0.06) 0%, rgba(198, 163, 91, 0.1) 100%);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demand-country-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.country-flag-icon {
  font-size: 1.7rem;
  line-height: 1;
}

.demand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.demand-badge.surge-critical {
  background: #FFF1F0;
  color: #CF1322;
  border: 1px solid #FFA39E;
}

.demand-badge.surge-high {
  background: #FFFBE6;
  color: #D48806;
  border: 1px solid #FFE58F;
}

.demand-badge.surge-exceptional {
  background: #F6FFED;
  color: #389E0D;
  border: 1px solid #B7EB8F;
}

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

.demand-spotlight {
  background: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.25rem;
}

.demand-spotlight-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-secondary);
  font-weight: 700;
  display: block;
}

.demand-spotlight-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.32;
  margin-top: 0.25rem;
}

.demand-salary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  background: rgba(198, 163, 91, 0.12);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-xs);
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
}

.demand-salary-label {
  color: var(--color-secondary);
  font-weight: 600;
}

.demand-salary-val {
  font-weight: 700;
  color: var(--color-primary);
}

.demand-drivers-text {
  font-size: 0.88rem;
  color: #4A4543;
  line-height: 1.6;
  margin-bottom: 0;
}

.demand-skills-section {
  margin-bottom: 1.25rem;
}

.demand-skills-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.demand-skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-chip {
  font-size: 0.73rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-xs);
  color: var(--color-text);
  font-weight: 500;
}

.demand-spec-table {
  width: 100%;
  font-size: 0.82rem;
  margin-top: auto;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1rem;
}

.demand-spec-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.demand-spec-k {
  color: var(--color-muted);
}

.demand-spec-v {
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
  max-width: 62%;
}

.demand-footer-action {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   JOB & PLATFORM CARDS
   ========================================================================== */
.section-padding {
  padding: 5rem 1.5rem;
}

.section-header {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.editorial-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.editorial-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.editorial-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background-color: #E7DFD5;
}

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

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

.card-badge-country {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(41, 37, 37, 0.88);
  backdrop-filter: blur(4px);
  color: #FAF6F0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--color-accent);
}

.card-badge-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--color-border);
}

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

.card-category-tag {
  font-size: 0.72rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.card-description {
  font-size: 0.92rem;
  color: #4A4543;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
}

.card-meta-item {
  display: flex;
  justify-content: space-between;
}

.card-meta-label {
  color: var(--color-muted);
}

.card-meta-val {
  font-weight: 600;
  color: var(--color-text);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

/* ==========================================================================
   COUNTRY DISCOVERY PANEL (INDEX)
   ========================================================================== */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.country-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: var(--radius-xs);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.country-flag-code {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.country-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.country-job-callout {
  background: var(--color-bg);
  border-left: 3px solid var(--color-accent);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.85rem;
}

.country-job-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  font-weight: 700;
  display: block;
}

.country-job-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 0.15rem;
}

.country-salary-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3B3632;
  margin-top: 0.2rem;
  display: block;
}

.country-highlight {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.country-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.country-pill {
  font-size: 0.72rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  color: var(--color-text);
}

/* ==========================================================================
   FILTER & SEARCH CONTROLS (CATALOG)
   ========================================================================== */
.filter-dashboard {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  border-radius: var(--radius-xs);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.25rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
}

.filter-input, .filter-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s ease;
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--color-accent);
  background-color: #FFFFFF;
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.filter-chip {
  background: var(--color-gold-tint);
  border: 1px solid var(--color-accent);
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
}

.filter-chip:hover {
  background: var(--color-accent);
  color: #1A1305;
}

/* ==========================================================================
   EDITORIAL CONTENT & ARTICLE LAYOUTS
   ========================================================================== */
.editorial-article {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 3.5rem;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.article-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
}

.editorial-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.editorial-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.editorial-content p {
  margin-bottom: 1.4rem;
  line-height: 1.75;
  color: #383432;
}

.editorial-content ul, .editorial-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.editorial-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.callout-box {
  background-color: var(--color-bg);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-radius: var(--radius-xs);
}

.callout-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   DETAIL / SPECIFICATION VIEW (Sub-page)
   ========================================================================== */
.spec-hero {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem 1.5rem;
}

.spec-header-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.spec-matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.spec-matrix-table th, .spec-matrix-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: 0.92rem;
}

.spec-matrix-table th {
  background: var(--color-bg);
  color: var(--color-primary);
  font-weight: 600;
  width: 32%;
}

.spec-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.gallery-thumb {
  height: 240px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

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

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: #4A4543;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CONTACT FORM & INTERACTION
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  border-radius: var(--radius-xs);
  outline: none;
  transition: border-color 0.2s ease;
}

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

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #4A4543;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--color-primary);
}

/* Form Alert message */
.form-status-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: none;
}

.form-status-alert.success {
  display: block;
  background-color: rgba(105, 113, 95, 0.15);
  border: 1px solid var(--color-sage);
  color: #384232;
}

/* ==========================================================================
   COOKIE CONSENT MODAL & BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 480px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 9999;
  border-radius: var(--radius-xs);
  display: none;
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.cookie-text {
  font-size: 0.84rem;
  color: #4A4543;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

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

/* Cookie Preferences Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(41, 37, 37, 0.75);
  backdrop-filter: blur(3px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xs);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.cookie-category {
  border-bottom: 1px solid var(--color-border-subtle);
  padding: 1rem 0;
}

.cookie-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.cookie-cat-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
}

/* ==========================================================================
   UNIVERSAL MANDATORY FOOTER
   ========================================================================== */
.site-footer {
  background-color: #1F1B1C;
  color: #DDD4CB;
  border-top: 3px solid var(--color-accent);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  margin-top: auto;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col p {
  color: #A89F99;
  font-size: 0.88rem;
  margin-top: 1rem;
  line-height: 1.65;
}

.footer-crest {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #FAF6F0;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

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

.footer-nav-list a {
  color: #BFB5AD;
  font-size: 0.86rem;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--color-accent);
  padding-left: 3px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.86rem;
  color: #BFB5AD;
}

.footer-contact-info a {
  color: var(--color-accent);
}

.footer-disclaimers {
  border-top: 1px solid rgba(221, 212, 203, 0.12);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.footer-disclaimer-text {
  font-size: 0.8rem;
  color: #8C847F;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-mandatory-notice {
  background: rgba(111, 41, 68, 0.25);
  border: 1px solid rgba(198, 163, 91, 0.3);
  padding: 1.25rem;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  color: #D1C7BF;
  line-height: 1.6;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(221, 212, 203, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.76rem;
  color: #7A726E;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-drift-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-drift-visual {
    min-height: 380px;
  }
  .spec-header-grid {
    grid-template-columns: 1fr;
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .desktop-nav,
  .site-header .btn-primary {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .editorial-article {
    padding: 2rem 1.5rem;
  }
  .spec-gallery {
    grid-template-columns: 1fr;
  }
  .country-demand-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .strip-grid {
    grid-template-columns: 1fr;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .editorial-card-grid {
    grid-template-columns: 1fr;
  }
  .country-demand-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .view-toggle-container {
    flex-direction: column;
    align-items: stretch;
  }
  .view-toggle-btn {
    text-align: center;
    justify-content: center;
  }
}