/* ==========================================================================
   VA LAB Electronics - Independent Electronics & PCB Prototyping Engineer
   Brand Aesthetic: Matte Carbon PCB Solder-Mask, Signal Red (#EC1E23) Vias,
   Crisp Industrial White (#FFFFFF) Typography & Geometric Precision
   ========================================================================== */

:root {
  /* Matte Carbon / Obsidian PCB Palette */
  --bg-darkest: #090a0d;
  --bg-darker: #0e1015;
  --bg-dark: #14171f;
  --bg-card: rgba(20, 23, 30, 0.84);
  --bg-card-hover: rgba(27, 31, 40, 0.95);
  --bg-surface: #191d27;
  --bg-elevated: #222735;

  /* VA LAB Brand Accents (Exact Logo Hex: #EC1E23 + Pure #FFFFFF) */
  --brand-red: #ec1e23;
  --brand-red-bright: #ff3338;
  --brand-red-deep: #bd1217;
  --brand-red-glow: rgba(236, 30, 35, 0.36);
  --brand-red-dim: rgba(236, 30, 35, 0.12);
  --brand-red-subtle: rgba(236, 30, 35, 0.06);

  /* Secondary Industrial Platinum / Silver Accents */
  --platinum: #f4f4f5;
  --platinum-dim: rgba(255, 255, 255, 0.08);
  --platinum-border: rgba(255, 255, 255, 0.22);

  /* Text & Precision Borders */
  --text-main: #f8fafc;
  --text-secondary: #d4d8e1;
  --text-muted: #9ca3b0;
  --text-dim: #6b7280;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-glow: rgba(236, 30, 35, 0.42);

  /* Legacy variable aliases for seamless compatibility */
  --cyan-primary: var(--brand-red);
  --cyan-glow: var(--brand-red-glow);
  --cyan-dim: var(--brand-red-dim);
  --emerald-accent: #ffffff;
  --border-emerald: rgba(255, 255, 255, 0.24);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows & Radii */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.58);
  --shadow-glow: 0 0 28px rgba(236, 30, 35, 0.22);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -8%, rgba(236, 30, 35, 0.15) 0%, rgba(20, 22, 29, 0.6) 38%, transparent 68%),
    radial-gradient(circle at 88% 22%, rgba(236, 30, 35, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #0b0d12 0%, #090a0d 55%, #060709 100%);
  background-attachment: fixed;
}

/* Selection */
::selection {
  background: var(--brand-red);
  color: #ffffff;
}

/* Canvas Background */
#circuit-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* Precision PCB CAD Grid Overlay */
.grid-bg-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}

.site-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.18;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5.5rem 0;
}

.section-band {
  background: rgba(14, 16, 21, 0.82);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-band-top {
  background: rgba(14, 16, 21, 0.82);
  border-top: 1px solid var(--border-subtle);
}

.section-rfq-band {
  background: linear-gradient(180deg, rgba(16, 18, 24, 0.88) 0%, rgba(9, 10, 13, 0.96) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-banner-section {
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(236, 30, 35, 0.18) 0%, rgba(15, 17, 23, 0.95) 62%, #08090c 100%);
  border-top: 1px solid var(--border-glow);
  text-align: center;
}

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

/* Badges with Hollow PCB Via Ring Motif (from VA Logo) */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(236, 30, 35, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 18px rgba(236, 30, 35, 0.14);
}

.badge-tag::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2.5px solid var(--brand-red);
  background: transparent;
  box-shadow: 0 0 8px var(--brand-red);
  flex-shrink: 0;
}

/* Hide legacy inner .pulse-dot when ::before already renders the PCB via ring, or style it cleanly */
.badge-tag .pulse-dot {
  display: none;
}

.badge-tag.platinum,
.badge-tag.emerald {
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.badge-tag.platinum::before,
.badge-tag.emerald::before {
  border-color: var(--brand-red);
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.highlight-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #ff5c60 52%, var(--brand-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Navigation Bar (Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(9, 10, 13, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(9, 10, 13, 0.96);
  border-bottom-color: rgba(236, 30, 35, 0.32);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition-fast), transform var(--transition-fast);
  filter: drop-shadow(0 0 10px rgba(236, 30, 35, 0.22));
}

.brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 0 16px rgba(236, 30, 35, 0.5));
  transform: translateY(-1px);
}

.brand-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.brand-text-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 150px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--brand-red);
  box-shadow: 0 0 10px var(--brand-red);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Bilingual Language Switcher Capsule */
.lang-switch-capsule {
  display: inline-flex;
  align-items: center;
  background: rgba(22, 25, 34, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 3px 5px;
}

.lang-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(236, 30, 35, 0.5);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  padding: 0 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-deep) 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(236, 30, 35, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-red-bright) 0%, var(--brand-red) 100%);
  box-shadow: 0 8px 28px rgba(236, 30, 35, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(236, 30, 35, 0.1);
  border-color: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(236, 30, 35, 0.22);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.52rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.04rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.page-hero {
  padding: 4rem 0 2.5rem;
}

.page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  margin-bottom: 1.25rem;
}

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

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  line-height: 1.72;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 2.4rem;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tech-pill {
  padding: 0.32rem 0.78rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.79rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.tech-pill.red,
.tech-pill.cyan {
  border-color: rgba(236, 30, 35, 0.45);
  color: #ff6b6f;
  background: rgba(236, 30, 35, 0.09);
  font-weight: 600;
}

/* Hero Workbench Card */
.hero-card-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border: 1px solid var(--border-glow);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
}

.hero-card-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), #ff6b6f, transparent);
  z-index: 3;
}

.hero-img-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-card-stack:hover .hero-img-wrapper img {
  transform: scale(1.04);
}

.hero-overlay-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 10, 13, 0.96) 14%, rgba(9, 10, 13, 0.42) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.hero-overlay-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--brand-red);
  letter-spacing: 0.08em;
  font-weight: 800;
  font-family: var(--font-heading);
}

.hero-overlay-heading {
  font-size: 1.15rem;
  color: #ffffff;
  margin-top: 0.25rem;
}

.hero-spec-ticker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(13, 15, 20, 0.95);
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.spec-cell {
  text-align: center;
  position: relative;
}

.spec-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.spec-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.spec-label {
  font-size: 0.73rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
  display: block;
}

/* ==========================================================================
   Advantages Cards
   ========================================================================== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.75rem;
}

.adv-card {
  background: var(--bg-card);
  padding: 1.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: all var(--transition-normal);
}

.adv-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
}

.adv-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-red-dim);
  border: 1px solid rgba(236, 30, 35, 0.35);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.adv-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  color: #ffffff;
}

.adv-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* ==========================================================================
   Services Grid & Detail Blocks
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), #ff6b6f, transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(236, 30, 35, 0.18), rgba(236, 30, 35, 0.04));
  border: 1px solid rgba(236, 30, 35, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  margin-bottom: 1.4rem;
}

.service-card-title {
  font-size: 1.32rem;
  margin-bottom: 0.85rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.spec-chip {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-red);
}

.service-card-link:hover {
  color: #ff5c60;
}

/* Detailed Split Sections (Services & Contact Pages) */
.split-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.split-grid-2:last-child {
  margin-bottom: 0;
}

.detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.detail-panel.accent-border {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.check-mark {
  color: var(--brand-red);
  font-weight: 800;
  flex-shrink: 0;
}

.equip-item {
  border-left: 3px solid var(--brand-red);
  padding-left: 1rem;
}

.equip-item strong {
  color: #ffffff;
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.equip-item span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.deliverables-num {
  color: var(--brand-red);
  font-family: var(--font-mono);
  font-weight: 700;
  flex-shrink: 0;
}

.fw-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.fw-mini-card {
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.fw-mini-card strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}

.fw-mini-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.media-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.media-showcase-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.media-showcase-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(9, 10, 13, 0.96), transparent);
}

/* ==========================================================================
   Direct Contact Pills & Cards
   ========================================================================== */
.contact-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto 2.5rem auto;
}

.contact-pill-card {
  padding: 1.25rem;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.contact-pill-card.primary-contact {
  border-color: var(--border-glow);
}

.contact-circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-red-dim);
  border: 1px solid var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  flex-shrink: 0;
}

.contact-circle-icon.neutral {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.contact-circle-icon.lg {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.terms-split-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.ip-callout-box {
  padding: 1rem 1.15rem;
  background: var(--brand-red-subtle);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Service Packages (Pricing Grid)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--brand-red);
  box-shadow: 0 0 30px rgba(236, 30, 35, 0.2);
  background: linear-gradient(180deg, rgba(30, 18, 22, 0.9) 0%, rgba(18, 20, 27, 0.94) 100%);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-red);
}

.price-header-type {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.price-scope-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.35rem;
}

.price-scope-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 0.9rem;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-secondary);
}

.pricing-features-list li span.check {
  color: var(--brand-red);
  font-weight: 800;
}

/* ==========================================================================
   Process Flow (PCB Via Numbered Badges)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-fast);
}

.process-step-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm), 0 0 18px rgba(236, 30, 35, 0.16);
}

.step-num-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(236, 30, 35, 0.1);
  border: 2px solid var(--brand-red);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 12px rgba(236, 30, 35, 0.22);
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.62;
}

/* ==========================================================================
   RFQ & Brief Form
   ========================================================================== */
.rfq-container {
  max-width: 880px;
  margin: 0 auto;
}

.rfq-form-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  overflow: hidden;
}

.rfq-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), #ff6b6f, transparent);
}

.form-fieldset {
  border: none;
  margin-bottom: 2.25rem;
}

.form-legend {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-label.required::after {
  content: ' *';
  color: var(--brand-red);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(10, 12, 16, 0.82);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 14px rgba(236, 30, 35, 0.28);
  background: rgba(14, 16, 22, 0.96);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ec1e23' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.nda-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.nda-checkbox-row input[type="checkbox"] {
  accent-color: var(--brand-red);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.nda-checkbox-row label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Dropzone */
.dropzone-box {
  position: relative;
  border: 2px dashed rgba(236, 30, 35, 0.36);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  background: rgba(236, 30, 35, 0.03);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dropzone-box:hover, .dropzone-box.dragover {
  border-color: var(--brand-red);
  background: rgba(236, 30, 35, 0.09);
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  color: var(--brand-red);
}

.dropzone-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.dropzone-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.uploaded-files-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uploaded-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(236, 30, 35, 0.09);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.open {
  border-color: var(--brand-red);
  box-shadow: 0 0 18px rgba(236, 30, 35, 0.14);
}

.faq-question-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.25fr 0.9fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(236, 30, 35, 0.2));
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.65;
  max-width: 370px;
}

.footer-col-title {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--brand-red);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.footer-links-list a {
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-row svg {
  width: 18px;
  height: 18px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-row a:hover {
  color: var(--brand-red);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.86);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: #11131a;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), var(--shadow-glow);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  font-size: 1.1rem;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-red-dim);
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 20px rgba(236, 30, 35, 0.28);
}

.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(16, 18, 25, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--brand-red);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1100;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 84%;
  max-width: 340px;
  height: 100%;
  background: #0b0d12;
  border-left: 1px solid var(--border-glow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  z-index: 999;
  transition: right var(--transition-normal);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}

.mobile-drawer-logo {
  height: 28px;
  width: auto;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .split-grid-2,
  .terms-split-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .brand-divider,
  .brand-text-sub {
    display: none;
  }
  .brand-logo-img {
    height: 34px;
  }
  .section-padding {
    padding: 3.75rem 0;
  }
  .form-row-2,
  .fw-subgrid {
    grid-template-columns: 1fr;
  }
  .rfq-form-card,
  .detail-panel,
  .terms-split-card {
    padding: 1.75rem;
  }
  .hero-spec-ticker {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .spec-cell:not(:last-child)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Canadian Cookie Security Banner & Preferences Modal (PIPEDA & Law 25)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%, 140%);
  width: calc(100% - 2rem);
  max-width: 1120px;
  background: rgba(13, 15, 21, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  padding: 1.35rem 1.75rem;
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-red), #ff6b6f, transparent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.cookie-banner.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  margin-bottom: 0.35rem;
}

.cookie-via-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--brand-red);
  display: inline-block;
  box-shadow: 0 0 6px var(--brand-red);
}

.cookie-banner-title {
  font-size: 1.08rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.cookie-banner-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-policy-inline-link {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-underline-offset: 3px;
  margin-left: 0.35rem;
  font-weight: 600;
}

.cookie-policy-inline-link:hover {
  color: var(--brand-red);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Cookie Modal Customizations */
.cookie-modal-window {
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.cookie-modal-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.cookie-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.cookie-cat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}

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

.cookie-cat-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: #ffffff;
  display: inline-block;
  margin-right: 0.6rem;
}

.cookie-always-on {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--brand-red-dim);
  border: 1px solid rgba(236, 30, 35, 0.4);
  color: #ff6b6f;
}

.cookie-cat-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 25px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-switch.disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.cookie-slider::before {
  content: '';
  position: absolute;
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 0 10px rgba(236, 30, 35, 0.4);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(21px);
}

.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.cookie-modal-footer-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Form Privacy Consent Row & Footer Legal Links */
.privacy-consent-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.privacy-consent-note a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-underline-offset: 3px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal-links a,
.footer-legal-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover,
.footer-legal-btn:hover {
  color: var(--brand-red);
}

/* Policy Page Table & Prose */
.policy-prose {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.policy-card h2 {
  font-size: 1.38rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.policy-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.cookie-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

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

.cookie-table th,
.cookie-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cookie-table th {
  font-family: var(--font-heading);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.cookie-table td {
  color: var(--text-muted);
}

.cookie-table code {
  font-family: var(--font-mono);
  color: #ff6b6f;
  background: var(--brand-red-dim);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 0.75rem;
    padding: 1.15rem;
  }
  .cookie-banner-actions .btn {
    flex: 1;
  }
  .policy-card {
    padding: 1.5rem;
  }
  .footer-legal-links {
    justify-content: center;
  }
}
