/* ==========================================================================
   REA AUTOMOTIVE — SHARED CORE STYLESHEET
   --------------------------------------------------------------------------
   This file is the GLOBAL layer. When converting to Elementor, paste this
   whole file once into Elementor → Site Settings → Custom CSS (or the child
   theme stylesheet). Every page then only needs its own inline <style> block,
   which contains that page's unique section styles.

   NAMING RULE
   -----------
   • Global/system classes keep their original names (.container, .btn,
     .section-title, .eyebrow-tag …). These live here.
   • Page-specific section components are namespaced .rea-*  and live in that
     page's inline <style>. They are safe to lift into a Mode A HTML widget.

   CONTENTS
   --------
   01. Design tokens
   02. Reset & base
   03. Typography & section furniture
   04. Buttons
   05. Site header (floating glass pill)
   06. Page hero (inner pages)
   07. Shared component: stats ribbon
   08. Shared component: CTA card band
   09. Shared component: spec list
   10. Shared component: legal / prose pages
   11. Site footer
   12. Scroll reveal
   13. Responsive breakpoints
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Base Colors */
  --color-primary-dark: #090c10;
  --color-surface-dark: #12171f;
  --color-surface-card: rgba(22, 27, 34, 0.65);

  --color-accent:        #e64a19; /* Precision Industrial Rea Orange-Red */
  --color-accent-hover:  #d83b0a;
  --color-accent-glow:   rgba(230, 74, 25, 0.35);

  --color-light-bg:      #f0f3f6;
  --color-light-surface: #ffffff;
  --color-border-light:  rgba(0, 0, 0, 0.08);

  --color-text-main:     #161b22;
  --color-text-muted:    #57606a;
  --color-text-inverse:  #f0f6fc;
  --color-text-dim:      #8b949e;

  /* Liquid Glass Variables */
  --glass-bg-dark:       rgba(255, 255, 255, 0.05);
  --glass-bg-nav:        linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
  --glass-bg-card:       linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  --glass-border:        1px solid rgba(255, 255, 255, 0.18);
  --glass-border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --glass-border-light:  1px solid rgba(0, 0, 0, 0.08);
  --glass-blur:          blur(20px);
  --glass-shadow:        0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  --glass-inner-glow:    inset 0 1px 2px rgba(255, 255, 255, 0.3);

  /* Fluid Curvature / Rounded System */
  --radius-pill: 9999px;
  --radius-xl:   32px;
  --radius-lg:   24px;
  --radius-md:   16px;
  --radius-sm:   10px;

  /* Typography */
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container-max-width: 1360px;
  --section-padding-y: 120px;
  --section-padding-y-mobile: 72px;

  /* Motion */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 2rem;
  background: var(--color-accent);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: top var(--transition-fast);
}
.skip-to-content:focus {
  top: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: 2rem;
}

.container-narrow {
  max-width: 880px;
}

.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-muted); }
.text-light  { color: var(--color-text-inverse); }

/* ==========================================================================
   03. TYPOGRAPHY & SECTION FURNITURE
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section {
  padding-block: var(--section-padding-y);
}

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

.dark-theme-section {
  background-color: var(--color-primary-dark);
  color: var(--color-text-inverse);
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  background: rgba(230, 74, 25, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(230, 74, 25, 0.2);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--color-text-main);
  text-transform: uppercase;
}

.dark-theme-section .section-title {
  color: var(--color-text-inverse);
}

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

.section-intro-text {
  max-width: 500px;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.dark-theme-section .section-intro-text {
  color: var(--color-text-dim);
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

.dark-theme-section .lead-text {
  color: var(--color-text-inverse);
}

.supporting-text {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.dark-theme-section .supporting-text {
  color: var(--color-text-dim);
}

/* ==========================================================================
   04. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  border: 1px solid var(--color-accent);
  box-shadow: 0 8px 24px var(--color-accent-glow);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 74, 25, 0.5);
}

.btn-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-glass:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 12px 28px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: #161b22;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background: #21262d;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
}

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

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.btn-text-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.btn-text-link:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   05. SITE HEADER — FLOATING LIQUID GLASS PILL
   Elementor note: convert as Mode A (HTML widget) or Mode C (hybrid).
   Free has no Nav Menu widget — see references/free-limits.md.
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.25rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none; /* Allows click-through outside pill */
  transition: top var(--transition-smooth);
}

.header-container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding: 0.5rem 0.75rem 0.5rem 1.5rem;

  /* Liquid Glass Stadium Pill */
  background: var(--glass-bg-nav);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-smooth);
}

.site-header.is-scrolled .header-container {
  background: linear-gradient(135deg, rgba(18, 23, 31, 0.85) 0%, rgba(10, 14, 20, 0.8) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

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

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo-rea {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  transition: width var(--transition-smooth);
}

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

.nav-link:hover::after {
  width: 100%;
}

/* Current page indicator — set class="nav-link is-current" on the active page */
.nav-link.is-current {
  color: #ffffff;
  font-weight: 600;
}

.nav-link.is-current::after {
  width: 100%;
}

/* Header Actions: Language + CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.lang-pill .active {
  color: #ffffff;
  font-weight: 700;
}

.lang-pill .sep {
  opacity: 0.4;
}

.lang-pill a:hover {
  color: #ffffff;
}

.nav-actions-mobile {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  padding: 0;
  z-index: 1010;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

/* ==========================================================================
   06. PAGE HERO — INNER PAGES
   Elementor note: Mode B. Section with background image + overlay,
   Heading widget + Text Editor + Icon List (breadcrumb).
   See references/widget-settings.md → "background image + overlay".
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding-top: 190px;
  padding-bottom: 72px;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  overflow: hidden;
}

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

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 12, 16, 0.95) 0%,
    rgba(9, 12, 16, 0.78) 45%,
    rgba(9, 12, 16, 0.5) 100%
  );
}

.page-hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 12, 16, 0.75) 0%, transparent 45%);
}

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

.page-hero-content {
  max-width: 820px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

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

.breadcrumb .crumb-sep {
  opacity: 0.4;
}

.breadcrumb .crumb-current {
  color: #ffffff;
  font-weight: 600;
}

.page-hero-title {
  font-size: clamp(2.25rem, 4.8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.page-hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  font-weight: 300;
  color: rgba(240, 246, 252, 0.85);
  max-width: 640px;
}

/* Optional inline meta chips under the hero title */
.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--glass-bg-nav);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  backdrop-filter: blur(16px);
}

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

/* ==========================================================================
   07. SHARED COMPONENT — STATS RIBBON
   Elementor note: Mode B. Inner section with 4 columns, each a Heading
   (number) + Heading (label). Do NOT use counters — Free has no counter.
   ========================================================================== */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.dark-theme-section .stats-ribbon {
  background: var(--glass-bg-card);
  border: var(--glass-border-subtle);
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

.stat-card {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.dark-theme-section .stat-number {
  color: #ffffff;
}

.stat-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.dark-theme-section .stat-title {
  color: var(--color-text-dim);
}

/* ==========================================================================
   08. SHARED COMPONENT — CTA CARD BAND
   Elementor note: Mode B. Section (dark bg) → one column styled as the glass
   card → Heading + Text Editor + two Button widgets.
   ========================================================================== */
.section-contact-cta {
  background-color: var(--color-primary-dark);
}

.cta-card-box {
  background: var(--glass-bg-card);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  padding: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-text-side {
  max-width: 620px;
}

.cta-headline {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
  color: #ffffff;
  text-transform: uppercase;
}

.cta-copy {
  font-size: 1.125rem;
  color: var(--color-text-dim);
}

.cta-actions-side {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   09. SHARED COMPONENT — TECHNICAL SPEC LIST
   Elementor note: Mode B. Icon List widget, or an inner section per row.
   ========================================================================== */
.technical-grid-bg {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.spec-val {
  font-family: monospace;
  color: var(--color-accent);
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}

/* Light variant */
.section-light .spec-item,
.section-white .spec-item {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
}

.section-light .spec-label,
.section-white .spec-label {
  color: var(--color-text-main);
}

/* ==========================================================================
   10. SHARED COMPONENT — LEGAL / PROSE PAGES
   Elementor note: Mode B. A single Text Editor widget per <article> block
   holds this content comfortably; keep the sidebar as an Icon List.
   ========================================================================== */
.prose-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
}

.prose-toc {
  position: sticky;
  top: 130px;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.prose-toc-heading {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.prose-toc ol {
  list-style: none;
  counter-reset: toc;
}

.prose-toc li {
  counter-increment: toc;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
}

.prose-toc a {
  color: var(--color-text-muted);
  display: flex;
  gap: 0.6rem;
}

.prose-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

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

.prose-body {
  max-width: 780px;
}

.prose-updated {
  display: inline-block;
  font-family: monospace;
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(230, 74, 25, 0.08);
  border: 1px solid rgba(230, 74, 25, 0.2);
  color: var(--color-accent);
  margin-bottom: 2.5rem;
}

.prose-block {
  margin-bottom: 3rem;
  scroll-margin-top: 130px;
}

.prose-block h2 {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

.prose-block h3 {
  font-size: 1.0625rem;
  color: var(--color-primary-dark);
  margin: 1.75rem 0 0.65rem;
}

.prose-block p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.prose-block ul.prose-list {
  margin: 0 0 1.25rem 0;
}

.prose-block ul.prose-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.prose-block ul.prose-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.prose-block a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-note {
  padding: 1.5rem 1.75rem;
  background: #ffffff;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.prose-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.prose-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 560px;
}

.prose-table th,
.prose-table td {
  text-align: left;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--color-border-light);
}

.prose-table th {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: var(--color-light-bg);
}

.prose-table td {
  color: var(--color-text-muted);
  vertical-align: top;
}

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

/* ==========================================================================
   11. SITE FOOTER
   Elementor note: Mode B. Section → 4 columns → Image/Heading + Icon List.
   ========================================================================== */
.site-footer {
  background-color: #06080b;
  color: var(--color-text-dim);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

.footer-primary-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-about {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.cert-badge {
  display: inline-block;
  font-family: monospace;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
}

.footer-heading {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

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

.footer-address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-contact-links a {
  display: block;
  margin-bottom: 0.35rem;
}

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

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8125rem;
}

.legal-nav {
  display: flex;
  gap: 1.5rem;
}

.legal-nav a:hover {
  color: #ffffff;
}

.fill-design-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.fill-design-link:hover {
  color: var(--color-accent);
}

.footer-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-lang a.active {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   12. SCROLL REVEAL
   Elementor note: Free has no entrance animations. On import, either drop
   .reveal-item entirely or keep this CSS + site.js in a global HTML widget.
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* If JS never runs, content must still be visible */
.no-js .reveal-item {
  opacity: 1;
  transform: none;
}

@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;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding-y: 90px;
  }

  .stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-primary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .cta-card-box {
    padding: 3rem 2rem;
  }

  .prose-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .prose-toc {
    position: static;
  }
}

@media (max-width: 860px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .site-header .lang-pill,
  .site-header .header-actions .btn {
    display: none;
  }

  .header-container {
    padding: 0.65rem 1.25rem;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-primary-dark);
    padding: 6rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 1005;
    overflow-y: auto;
  }

  .main-navigation.is-open {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.35rem;
    font-weight: 600;
  }

  .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .lang-selector-mobile {
    font-size: 1rem;
    color: #ffffff;
  }

  .lang-active {
    font-weight: 700;
    color: var(--color-accent);
  }

  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .page-hero {
    min-height: 52vh;
    padding-top: 150px;
    padding-bottom: 56px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-padding-y: var(--section-padding-y-mobile);
  }

  .site-header {
    top: 0.75rem;
  }

  .stats-ribbon {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .footer-primary-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions-side,
  .page-hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .cta-card-box {
    padding: 2.25rem 1.5rem;
  }

  .spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .spec-val {
    text-align: left;
  }
}
