/*
Theme Name: Peara Global Pharma Consulting
Theme URI: https://pearapharma.com
Author: Peara Global Pharma Consulting
Description: Custom WordPress theme for Peara Global Pharma Consulting — Diplomatic Modernism design with navy/gold/cream/teal palette, bilingual EN/AR support, and RAIRF pricing engine.
Version: 1.0.0
License: Proprietary
Text Domain: peara
*/

/* ========================================================================
   DESIGN TOKENS
   ======================================================================== */
:root {
  /* Colors */
  --navy: #162235;
  --navy-light: #222e42;
  --navy-dark: #071123;
  --gold: #d6a54d;
  --gold-light: #e6bd77;
  --gold-dark: #b58629;
  --cream: #faf8f5;
  --cream-dark: #F0EDE0;
  --teal: #113436;
  --teal-light: #1a4a4c;
  --white: #FFFFFF;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Noto Kufi Arabic', 'Source Sans 3', sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--teal);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* RTL support */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: var(--font-arabic);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* ========================================================================
   CONTAINER
   ======================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ========================================================================
   GOLD LINE SEPARATOR
   ======================================================================== */
.gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #d6a54d, transparent);
  border: none;
}

.gold-line-short {
  height: 2px;
  width: 6rem;
  background: linear-gradient(90deg, #d6a54d, transparent);
  border: none;
}

.diagonal-top {
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  margin-top: -3rem;
  padding-top: 6rem;
}

.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  padding-bottom: 6rem;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover {
  background-color: var(--gold-light);
  color: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(214, 165, 77, 0.3);
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(214, 165, 77, 0.05);
  border-color: var(--gold);
}

.btn-outline-cream {
  background: transparent;
  border: 1px solid rgba(250, 248, 240, 0.25);
  color: var(--cream);
}
.btn-outline-cream:hover {
  background: rgba(250, 248, 240, 0.1);
  border-color: rgba(250, 248, 240, 0.5);
}

.btn-lg {
  padding: 1rem 2.5rem;
}

.btn-text-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: gap 300ms ease;
}
.btn-text-gold:hover {
  gap: 0.75rem;
  color: var(--gold);
}

/* ========================================================================
   NAVBAR
   ======================================================================== */
.peara-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-slow);
  padding: 1rem 0;
}

.peara-navbar.scrolled {
  background: rgba(22, 34, 53, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.peara-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.peara-navbar__logo img {
  height: 3rem;
  width: auto;
  transition: transform var(--transition-normal);
}
.peara-navbar__logo:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .peara-navbar__logo img {
    height: 3.5rem;
  }
}

.peara-navbar__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .peara-navbar__links {
    display: flex;
  }
}

.peara-navbar__link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 248, 240, 0.8);
  transition: color var(--transition-normal);
}
.peara-navbar__link:hover,
.peara-navbar__link.active {
  color: var(--gold);
}
.peara-navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.peara-navbar__lang-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250, 248, 240, 0.7);
  background: transparent;
  border: 1px solid rgba(214, 165, 77, 0.3);
  border-radius: 2px;
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.peara-navbar__lang-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Mobile nav */
.peara-navbar__mobile-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .peara-navbar__mobile-toggle {
    display: none;
  }
}

.peara-navbar__hamburger {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(250, 248, 240, 0.8);
  transition: color var(--transition-normal);
  padding: 0.25rem;
}
.peara-navbar__hamburger:hover {
  color: var(--gold);
}
.peara-navbar__hamburger svg {
  width: 24px;
  height: 24px;
}

.peara-navbar__mobile-menu {
  display: none;
  background: rgba(22, 34, 53, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(214, 165, 77, 0.1);
}

.peara-navbar__mobile-menu.open {
  display: block;
}

@media (min-width: 768px) {
  .peara-navbar__mobile-menu {
    display: none !important;
  }
}

.peara-navbar__mobile-menu .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.peara-navbar__mobile-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(214, 165, 77, 0.1);
  color: rgba(250, 248, 240, 0.7);
  transition: color var(--transition-normal);
}
.peara-navbar__mobile-link:hover,
.peara-navbar__mobile-link.active {
  color: var(--gold);
}

.peara-navbar__mobile-lang {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

/* ── RTL (Arabic) navbar fixes ── */
html[dir="rtl"] .peara-navbar .container {
  flex-direction: row-reverse;
}

html[dir="rtl"] .peara-navbar__links {
  flex-direction: row-reverse;
}

html[dir="rtl"] .peara-navbar__link.active::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .peara-navbar__mobile-menu .container {
  text-align: right;
}

html[dir="rtl"] .peara-navbar__mobile-toggle {
  flex-direction: row-reverse;
}

html[dir="rtl"] .peara-navbar__lang-btn {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

html[dir="rtl"] .peara-navbar__link,
html[dir="rtl"] .peara-navbar__mobile-link {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  font-size: 0.9375rem;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.peara-footer {
  background-color: var(--navy);
  color: rgba(250, 248, 240, 0.8);
}

.peara-footer .gold-line {
  margin-bottom: 0;
}

.peara-footer__inner {
  padding: 4rem 0;
}

.peara-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

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

.peara-footer__brand img {
  height: 3.5rem;
  width: auto;
  margin-bottom: 1.25rem;
}

.peara-footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(250, 248, 240, 0.6);
  max-width: 20rem;
}

.peara-footer__col-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.peara-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.peara-footer__links a {
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.6);
  transition: color var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.peara-footer__links a:hover {
  color: var(--gold);
}

.peara-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.peara-footer__contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.peara-footer__contact-item a,
.peara-footer__contact-item span {
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.6);
  transition: color var(--transition-normal);
}
.peara-footer__contact-item a:hover {
  color: var(--gold);
}

.peara-footer__whatsapp-label {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.4);
  margin-left: 0.25rem;
}

html[dir="rtl"] .peara-footer__whatsapp-label {
  margin-left: 0;
  margin-right: 0.25rem;
}

.peara-footer__bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 248, 240, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .peara-footer__bottom {
    flex-direction: row;
  }
}

.peara-footer__copyright,
.peara-footer__tagline {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.4);
}

/* ========================================================================
   HERO SECTIONS
   ======================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
}

/* Navy overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 34, 53, 0.60);
  z-index: 1;
}

/* Cream gradient fade at bottom — blends hero into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--cream), transparent);
  z-index: 2;
  pointer-events: none;
}

/* Page heroes: darker overlay, no cream gradient fade (home-only effect) */
.hero--page::before {
  background: rgba(22, 34, 53, 0.70);
}

.hero--page::after {
  display: none;
}

/* Content column — above both overlay (z1) and bottom gradient (z2) */
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 48rem;
  width: 100%;
}

.hero__subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero__title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 3.75rem; }
}

.hero__title em {
  color: var(--gold);
  font-style: italic;
}

.hero__desc {
  font-size: 1.125rem;
  color: rgba(250, 248, 245, 0.70);
  line-height: 1.625;
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .hero__desc { font-size: 1.25rem; }
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Page hero (shorter) */
.hero--page {
  min-height: auto;
  padding: 8rem 0 5rem;
}

@media (min-width: 768px) {
  .hero--page {
    padding: 10rem 0 7rem;
  }
}

.hero--page .hero__title {
  font-size: 2.25rem;
}

@media (min-width: 768px) {
  .hero--page .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero--page .hero__title {
    font-size: 3.75rem;
  }
}

/* ========================================================================
   STATS
   ======================================================================== */

/* Stats bar wrapper — cream bg, negative top margin to overlap hero */
.stats-bar {
  background: var(--cream);
  padding: 0;
  border-top: none;
  position: relative;
  z-index: 10;
  margin-top: -4rem;
}

/* White card inside */
.stats-bar__card {
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(214, 165, 77, 0.10);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

@media (min-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Each stat cell — dividers between them */
.stats-bar__grid > div {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(214, 165, 77, 0.10);
}
.stats-bar__grid > div:last-child {
  border-right: none;
}
/* Remove 2-column dividers on mobile */
@media (max-width: 767px) {
  .stats-bar__grid > div:nth-child(2),
  .stats-bar__grid > div:nth-child(4) {
    border-right: none;
  }
  .stats-bar__grid > div:nth-child(1),
  .stats-bar__grid > div:nth-child(2) {
    border-bottom: 1px solid rgba(214, 165, 77, 0.10);
  }
}

.stats-bar__number {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stats-bar__number {
    font-size: 2.25rem;
  }
}

.stats-bar__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(17, 52, 54, 0.70);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========================================================================
   SECTION STYLES
   ======================================================================== */
.section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section--navy {
  background-color: var(--navy);
  color: var(--cream);
}

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

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

.section__subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 2.25rem;
  }
}

.section__title em {
  color: var(--gold);
  font-style: italic;
}

.section--navy .section__title {
  color: var(--white);
}

.section--cream .section__title,
.section--white .section__title {
  color: var(--navy);
}

.section__desc {
  font-size: 1rem;
  line-height: 1.625;
  max-width: 42rem;
}

.section--navy .section__desc {
  color: rgba(250, 248, 245, 0.60);
}

.section--cream .section__desc,
.section--white .section__desc {
  color: rgba(17, 52, 54, 0.60);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ========================================================================
   SERVICE CARDS
   ======================================================================== */
.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

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

@media (min-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(214, 165, 77, 0.05);
  border-radius: 2px;
  padding: 2rem;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-color: rgba(214, 165, 77, 0.20);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
  transform: none;
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 2px;
  background: rgba(22, 34, 53, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: background var(--transition-normal);
}

.service-card:hover .service-card__icon {
  background: rgba(214, 165, 77, 0.10);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.875rem;
  color: rgba(17, 52, 54, 0.60);
  line-height: 1.625;
}

/* Dark variant (on navy background — CMC cards, glassmorphism) */
.service-card--dark {
  background: rgba(34, 46, 66, 0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(214, 165, 77, 0.10);
}

.service-card--dark:hover {
  border-color: rgba(214, 165, 77, 0.30);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

.service-card--dark .service-card__icon {
  background: rgba(214, 165, 77, 0.10);
}

.service-card--dark:hover .service-card__icon {
  background: rgba(214, 165, 77, 0.10);
}

.service-card--dark .service-card__title {
  color: var(--white);
}

.service-card--dark .service-card__text {
  color: rgba(250, 248, 245, 0.50);
}

/* ========================================================================
   TWO-COLUMN LAYOUT
   ======================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.two-col--start {
  align-items: start;
}

.two-col__image {
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
}

/* ========================================================================
   ABOUT / CHECKLIST
   ======================================================================== */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.checklist li svg {
  color: var(--gold);
  flex-shrink: 0;
}

.section--navy .checklist li {
  color: rgba(250, 248, 240, 0.8);
}

/* ========================================================================
   FEATURE GRID (Why Peara)
   ======================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.feature-item {
  display: flex;
  gap: 1rem;
}

.feature-item__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  background: rgba(214, 165, 77, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.feature-item__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.feature-item__desc {
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.5);
}

/* ========================================================================
   CTA SECTION
   ======================================================================== */
.cta-section {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 8rem 0;
  }
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .cta-section__title {
    font-size: 2.25rem;
  }
}

.cta-section__title em {
  color: var(--gold);
  font-style: italic;
}

.cta-section__desc {
  font-size: 1.125rem;
  color: rgba(250, 248, 245, 0.60);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.cta-section__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ========================================================================
   PRICING TIERS
   ======================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

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

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  border-radius: 2px;
  padding: 1.5rem;
  border: 1px solid rgba(214, 165, 77, 0.15);
  backdrop-filter: blur(8px);
  transition: transform var(--transition-slow);
}

.pricing-card:hover {
  transform: scale(1.02);
}

.pricing-card--t1 { background: rgba(17, 52, 54, 0.10); border-color: rgba(17, 52, 54, 0.20); }
.pricing-card--t2 { background: rgba(214, 165, 77, 0.05); border-color: rgba(214, 165, 77, 0.15); }
.pricing-card--t3 { background: rgba(214, 165, 77, 0.10); border-color: rgba(214, 165, 77, 0.20); }
.pricing-card--t4 { background: rgba(214, 165, 77, 0.15); border-color: rgba(214, 165, 77, 0.30); }

.pricing-card__tier {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pricing-card__level {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.pricing-card__example {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pricing-card__range {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.pricing-formula {
  margin-top: 3rem;
  background: rgba(34, 46, 66, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(214, 165, 77, 0.1);
  border-radius: 2px;
  padding: 1.5rem;
  text-align: center;
}

.pricing-formula__label {
  font-weight: 700;
  color: var(--gold);
}

.pricing-formula__text {
  color: rgba(250, 248, 240, 0.8);
  font-size: 0.875rem;
}

.pricing-formula__note {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.4);
  margin-top: 0.5rem;
}

/* ========================================================================
   REG SERVICES CARDS (services page)
   ======================================================================== */
.reg-card {
  background: var(--white);
  border: 1px solid rgba(214, 165, 77, 0.05);
  border-radius: 2px;
  padding: 1.75rem;
  transition: all var(--transition-slow);
}

.reg-card:hover {
  border-color: rgba(214, 165, 77, 0.20);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

.reg-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reg-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 2px;
  background: rgba(22, 34, 53, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.reg-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
}

.reg-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reg-card__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(17, 52, 54, 0.70);
}

.reg-card__list li svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ========================================================================
   TRAINING PAGE
   ======================================================================== */

/* ── Features bar — cream section directly below hero ───────────────────── */
.training-features-bar {
  background: var(--cream);
  padding: 4rem 0;
}

/* 2-up mobile → 4-up on md */
.training-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .training-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Each feature — white card */
.training-feature {
  background: var(--white);
  border: 1px solid rgba(214, 165, 77, 0.05);
  border-radius: 2px;
  padding: 1.5rem;
  text-align: center;
}

/* Square icon container inside feature card */
.training-feature__icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 2px;
  background: rgba(22, 34, 53, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.training-feature__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.training-feature__desc {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.60);
}

/* ── Training category sections ─────────────────────────────────────────── */
.training-category-section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .training-category-section {
    padding: 7rem 0;
  }
}

.training-category-section--light {
  background: var(--cream);
}

.training-category-section--dark {
  background: var(--navy);
}

/* Section header block */
.tc-section-header {
  margin-bottom: 3.5rem;
}

/* Square icon container in section header */
.tc-header-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
}

.tc-header-icon--light {
  background: rgba(22, 34, 53, 0.05);
}

.tc-header-icon--dark {
  background: rgba(214, 165, 77, 0.10);
}

/* "Training Category" label */
.tc-header-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Category title h2 */
.tc-header-h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .tc-header-h2 {
    font-size: 1.875rem;
  }
}

.tc-header-h2--light { color: var(--navy); }
.tc-header-h2--dark  { color: var(--white); }

/* ── Training program cards grid ────────────────────────────────────────── */
.training-programs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .training-programs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card base */
.training-card {
  border-radius: 2px;
  padding: 1.75rem;
  border: 1px solid;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 500ms ease, box-shadow 500ms ease;
}

/* Light card (cream sections) */
.training-card--light {
  background: var(--white);
  border-color: rgba(214, 165, 77, 0.05);
}

.training-card--light:hover {
  border-color: rgba(214, 165, 77, 0.20);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

/* Dark card (navy section) */
.training-card--dark {
  background: rgba(34, 46, 66, 0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(214, 165, 77, 0.10);
}

.training-card--dark:hover {
  border-color: rgba(214, 165, 77, 0.30);
}

/* Meta row: badge pill + duration */
.training-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* Rounded-full badge pill */
.training-card__badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(214, 165, 77, 0.10);
}

.training-card__badge--light { color: var(--gold-dark); }
.training-card__badge--dark  { color: var(--gold); }

/* Duration with clock icon */
.training-card__duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
}

.training-card__duration svg { flex-shrink: 0; }
.training-card__duration--light { color: rgba(17, 52, 54, 0.50); }
.training-card__duration--dark  { color: rgba(250, 248, 240, 0.40); }

/* Title */
.training-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.training-card__title--light { color: var(--navy); }
.training-card__title--dark  { color: var(--white); }

/* Description — flex-grow fills remaining space so topics snap to bottom */
.training-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.training-card__desc--light { color: rgba(17, 52, 54, 0.60); }
.training-card__desc--dark  { color: rgba(250, 248, 240, 0.50); }

/* Topics section with gold-tinted top border */
.training-card__topics-section {
  border-top: 1px solid rgba(214, 165, 77, 0.10);
  padding-top: 1rem;
}

/* "Key Topics" label */
.training-card__topics-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.training-card__topics-label--light { color: rgba(22, 34, 53, 0.50); }
.training-card__topics-label--dark  { color: rgba(250, 248, 240, 0.40); }

/* Topic list with check icons */
.training-card__topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.training-card__topics li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
}

.training-card__topics li svg {
  color: var(--gold);
  flex-shrink: 0;
}

.training-card__topics--light li { color: rgba(17, 52, 54, 0.60); }
.training-card__topics--dark  li { color: rgba(250, 248, 240, 0.50); }

/* ── Custom programs — cream section ────────────────────────────────────── */
.custom-programs-section {
  background: var(--cream);
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .custom-programs-section {
    padding: 7rem 0;
  }
}

/* ========================================================================
   QUOTATION PAGE
   ======================================================================== */
.quotation-section {
  padding: 2rem 0 4rem;
}

.quotation-step {
  background: var(--white);
  border: 1px solid rgba(214, 165, 77, 0.08);
  border-radius: 2px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.quotation-step__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quotation-step__number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quotation-step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.quotation-step__label {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Product category cards */
.product-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

@media (min-width: 1024px) {
  .product-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-cat {
  border: 1px solid rgba(214, 165, 77, 0.1);
  border-radius: 2px;
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: rgba(250, 248, 240, 0.5);
}

.product-cat:hover {
  border-color: var(--gold);
}

.product-cat.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.08);
  box-shadow: 0 0 0 1px var(--gold);
}

.product-cat__emoji {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-cat__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.product-cat__desc {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
  line-height: 1.4;
}

.product-cat__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(17, 52, 54, 0.4);
}

/* Pathway options */
.pathway-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pathway-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(214, 165, 77, 0.1);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.pathway-option:hover {
  border-color: var(--gold);
}

.pathway-option.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.08);
}

.pathway-option__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}

.pathway-option__desc {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
}

.pathway-option__modifier {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

/* Service scope checkboxes */
.scope-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.scope-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(214, 165, 77, 0.1);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.scope-option:hover {
  border-color: var(--gold);
}

.scope-option.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.08);
}

.scope-option input[type="checkbox"] {
  accent-color: var(--gold);
  width: 1rem;
  height: 1rem;
}

/* Risk factors */
.risk-factors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

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

.risk-factor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  border: 1px solid rgba(214, 165, 77, 0.1);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.risk-factor:hover {
  border-color: var(--gold);
}

.risk-factor.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.08);
}

.risk-factor__name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
}

.risk-factor__tags {
  display: flex;
  gap: 0.375rem;
}

.risk-factor__tag {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.125rem 0.375rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.risk-factor__tag--regulatory { background: rgba(214, 165, 77, 0.15); color: var(--gold-dark); }
.risk-factor__tag--technical { background: rgba(17, 52, 54, 0.1); color: var(--teal); }
.risk-factor__tag--commercial { background: rgba(22, 34, 53, 0.1); color: var(--navy); }

/* Add-on modules */
.addon-modules {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.addon-module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(214, 165, 77, 0.1);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.addon-module:hover {
  border-color: var(--gold);
}

.addon-module.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.08);
}

.addon-module__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}

.addon-module__desc {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
}

.addon-module__price {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gold);
  white-space: nowrap;
}

/* Estimate display */
.estimate-panel {
  background: var(--navy);
  border-radius: 2px;
  padding: 2rem;
  text-align: center;
  position: sticky;
  top: 6rem;
}

.estimate-panel__label {
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.6);
  margin-bottom: 0.5rem;
}

.estimate-panel__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.estimate-panel__breakdown {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.4);
  margin-bottom: 1.5rem;
}

/* Form fields */
.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(214, 165, 77, 0.2);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition-normal);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 165, 77, 0.1);
}

.form-field textarea {
  min-height: 5rem;
  resize: vertical;
}

/* Quantity input */
.qty-input {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.qty-input button {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(214, 165, 77, 0.2);
  border-radius: 2px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.125rem;
  color: var(--navy);
  transition: all var(--transition-normal);
}

.qty-input button:hover {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.08);
}

.qty-input__value {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  min-width: 2rem;
  text-align: center;
}

/* ========================================================================
   SERVICE CATALOG BANNER
   ======================================================================== */
.catalog-banner {
  background: var(--white);
  border: 1px solid rgba(214, 165, 77, 0.1);
  border-radius: 2px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .catalog-banner {
    flex-direction: row;
    padding: 3.5rem;
    gap: 3.5rem;
  }
}

.catalog-banner__content {
  flex: 1;
}

.catalog-banner__mock {
  width: 10rem;
  height: 13rem;
  background: var(--navy);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.catalog-banner__mock-icon {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.catalog-banner__mock-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream);
}

.catalog-banner__mock-year {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 0.5rem;
}

/* ========================================================================
   METHODOLOGY (Quotation page)
   ======================================================================== */
.methodology-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

@media (min-width: 1024px) {
  .methodology-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.methodology-item {
  text-align: center;
  padding: 1rem;
}

.methodology-item__icon {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.methodology-item__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.methodology-item__desc {
  font-size: 0.875rem;
  color: rgba(17, 52, 54, 0.6);
}

/* ========================================================================
   SCROLL ANIMATIONS
   ======================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.from-left {
  transform: translateX(-30px);
}

.animate-on-scroll.from-right {
  transform: translateX(30px);
}

.animate-on-scroll.from-left.visible,
.animate-on-scroll.from-right.visible {
  transform: translateX(0);
}

/* ========================================================================
   UTILITY
   ======================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

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

/* WP specific overrides */
.wp-block-image img,
.wp-block-cover img {
  border-radius: 2px;
}

/* Hide admin bar space */
body.admin-bar .peara-navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .peara-navbar {
    top: 46px;
  }
}

/* ========================================================================
   QUOTATION PAGE v2 — Manus-identical design
   ======================================================================== */

/* ── Section & Grid ─────────────────────────────────────────────────────── */
.quotation-section {
  background: var(--cream);
  padding: 5rem 0 7rem;
}

@media (min-width: 768px) {
  .quotation-section {
    padding: 7rem 0;
  }
}

.quotation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .quotation-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.quotation-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quotation-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .quotation-sidebar {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}

/* ── Step Cards ─────────────────────────────────────────────────────────── */
.quotation-step {
  background: var(--white);
  border: 1px solid rgba(214, 165, 77, 0.05);
  border-radius: 2px;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  /* remove old margin-bottom */
  margin-bottom: 0;
}

.quotation-step__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Step number — navy bg + white text (Manus style) */
.quotation-step__number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quotation-step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.quotation-step__sublabel {
  margin-left: auto;
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.4);
  font-family: var(--font-body);
  white-space: nowrap;
}

/* ── Product Categories ─────────────────────────────────────────────────── */
.product-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

.product-cat {
  text-align: left;
  padding: 1rem;
  border-radius: 2px;
  border: 2px solid transparent;
  background: rgba(250, 248, 240, 0.5);
  cursor: pointer;
  transition: all 300ms ease;
  font-family: var(--font-body);
  display: block;
  width: 100%;
}

.product-cat:hover {
  border-color: rgba(214, 165, 77, 0.2);
}

.product-cat.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.product-cat__name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.product-cat__emoji {
  font-size: 1.125rem;
}

.product-cat__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  font-family: var(--font-display);
}

.product-cat__desc {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
  line-height: 1.4;
  display: block;
  font-family: var(--font-body);
}

.product-cat__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.625rem;
  color: rgba(17, 52, 54, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

/* ── Regulatory Pathway — 3-column grid ─────────────────────────────────── */
.pathway-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

@media (min-width: 1024px) {
  .pathway-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pathway-option {
  text-align: left;
  padding: 1rem;
  border-radius: 2px;
  border: 2px solid transparent;
  background: rgba(250, 248, 240, 0.5);
  cursor: pointer;
  transition: all 300ms ease;
  font-family: var(--font-body);
  display: block;
  width: 100%;
}

.pathway-option:hover {
  border-color: rgba(214, 165, 77, 0.2);
}

.pathway-option.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.pathway-option__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.pathway-option__desc {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

.pathway-option__modifier {
  font-size: 0.625rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  font-family: var(--font-body);
}

/* ── Service Scope — 3-column grid, radio buttons ───────────────────────── */
.scope-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

@media (min-width: 1024px) {
  .scope-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scope-btn {
  text-align: left;
  padding: 1rem;
  border-radius: 2px;
  border: 2px solid transparent;
  background: rgba(250, 248, 240, 0.5);
  cursor: pointer;
  transition: all 300ms ease;
  font-family: var(--font-body);
  display: block;
  width: 100%;
}

.scope-btn:hover {
  border-color: rgba(214, 165, 77, 0.2);
}

.scope-btn.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.scope-btn__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.scope-btn__desc {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
  display: block;
  font-family: var(--font-body);
}

/* ── Risk Assessment ────────────────────────────────────────────────────── */
.risk-desc-text {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.risk-details-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  transition: color var(--transition-normal);
  white-space: nowrap;
  padding: 0;
}

.risk-details-btn:hover {
  color: var(--gold-dark);
}

/* Composite Risk Score Box */
.risk-score-box {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(22, 34, 53, 0.05);
  border-radius: 2px;
}

.risk-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.risk-score-label-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

.risk-score-value {
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-display);
  transition: color 0.3s ease;
}

.risk-bar-track {
  width: 100%;
  height: 0.75rem;
  background: var(--cream-dark);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.risk-bar-fill {
  height: 100%;
  border-radius: 9999px;
  width: 0%;
  transition: width 0.5s ease, background 0.3s ease;
}

.risk-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
}

.risk-bar-labels span {
  font-size: 0.625rem;
  font-family: var(--font-body);
}

/* Risk Factors — border-2 toggle buttons with custom checkbox */
.risk-factors {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.risk-factor {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 2px;
  border: 2px solid transparent;
  background: rgba(250, 248, 240, 0.5);
  cursor: pointer;
  transition: all 300ms ease;
  font-family: var(--font-body);
  text-align: left;
}

.risk-factor:hover {
  border-color: rgba(214, 165, 77, 0.2);
}

.risk-factor.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.05);
}

.risk-factor__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.risk-factor__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.risk-factor__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  display: block;
  font-family: var(--font-body);
}

.risk-factor__desc-text {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.4);
  display: none;
  margin-top: 0.125rem;
  font-family: var(--font-body);
}

/* Risk percentage label */
.risk-pct-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  font-family: var(--font-body);
}

/* Category tag pills — Manus blue/purple/green */
.risk-factor__tag {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

.risk-factor__tag--regulatory {
  background: rgba(219, 234, 254, 1);
  color: rgba(29, 78, 216, 1);
}

.risk-factor__tag--technical {
  background: rgba(237, 233, 254, 1);
  color: rgba(109, 40, 217, 1);
}

.risk-factor__tag--commercial {
  background: rgba(220, 252, 231, 1);
  color: rgba(21, 128, 61, 1);
}

/* ── Custom Checkbox ────────────────────────────────────────────────────── */
.custom-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 2px;
  border: 2px solid rgba(17, 52, 54, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 300ms ease;
  color: transparent;
  background: transparent;
}

.custom-check.checked {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-dark);
}

.custom-check-icon {
  width: 0.875rem;
  height: 0.875rem;
  display: block;
}

/* ── Quantity ───────────────────────────────────────────────────────────── */
.qty-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.qty-input {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0;
}

.qty-input button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2px;
  background: var(--cream);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-normal);
  color: var(--navy);
  flex-shrink: 0;
}

.qty-input button:hover {
  background: rgba(214, 165, 77, 0.1);
}

.qty-input__value {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  width: 4rem;
  text-align: center;
  min-width: 4rem;
}

/* ── Add-on Modules ─────────────────────────────────────────────────────── */
.addon-modules {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.addon-module {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 2px;
  border: 2px solid transparent;
  background: rgba(250, 248, 240, 0.5);
  cursor: pointer;
  transition: all 300ms ease;
  font-family: var(--font-body);
  text-align: left;
  gap: 0.75rem;
}

.addon-module:hover {
  border-color: rgba(214, 165, 77, 0.2);
}

.addon-module.selected {
  border-color: var(--gold);
  background: rgba(214, 165, 77, 0.05);
}

.addon-module__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.addon-module__text {
  text-align: left;
  flex: 1;
}

.addon-module__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  display: block;
  font-family: var(--font-body);
}

.addon-module__desc {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.5);
  display: block;
  font-family: var(--font-body);
}

.addon-module__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
}

/* ── Contact Form — Manus style ─────────────────────────────────────────── */
.quotation-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-field--quotation label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(22, 34, 53, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}

.form-field--quotation input,
.form-field--quotation textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  border: 1px solid rgba(214, 165, 77, 0.1);
  background: rgba(250, 248, 240, 0.3);
  color: var(--navy);
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-normal);
  outline: none;
}

.form-field--quotation input:focus,
.form-field--quotation textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 165, 77, 0.1);
}

.form-field--quotation textarea {
  resize: none;
  min-height: 4.5rem;
}

/* ── Estimate Panel (Sidebar) ───────────────────────────────────────────── */
.estimate-panel {
  background: var(--navy);
  border-radius: 2px;
  padding: 2rem;
  text-align: left;
  position: static;   /* override old sticky; parent .quotation-sidebar handles sticky */
  top: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.estimate-panel__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.estimate-panel__header-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.estimate-panel__header-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-display);
}

/* Risk badge in sidebar */
.estimate-risk-badge {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.estimate-risk-badge__icon {
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.estimate-risk-badge__label {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  display: block;
  transition: color 0.3s ease;
}

.estimate-risk-badge__score {
  font-size: 0.625rem;
  color: rgba(250, 248, 240, 0.4);
  display: block;
  font-family: var(--font-body);
}

/* Breakdown detail */
.estimate-detail {
  display: none;
}

.estimate-breakdown-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.estimate-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.estimate-breakdown-row__label {
  color: rgba(250, 248, 240, 0.5);
  font-family: var(--font-body);
}

.estimate-breakdown-row__value {
  color: rgba(250, 248, 240, 0.8);
  font-family: var(--font-body);
  font-size: 0.75rem;
}

.estimate-breakdown-divider {
  border-top: 1px solid rgba(250, 248, 240, 0.1);
  padding-top: 0.75rem;
}

.estimate-total-box {
  background: rgba(214, 165, 77, 0.1);
  border-radius: 2px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.estimate-total-box__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

.estimate-total-box__amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}

.estimate-timeline-box {
  background: rgba(250, 248, 240, 0.05);
  border-radius: 2px;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.estimate-timeline-box__icon {
  color: rgba(250, 248, 240, 0.4);
  flex-shrink: 0;
}

.estimate-timeline-box__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(250, 248, 240, 0.7);
  display: block;
  font-family: var(--font-body);
}

.estimate-timeline-box__value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  display: block;
}

.estimate-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.estimate-disclaimer__icon {
  color: rgba(250, 248, 240, 0.3);
  flex-shrink: 0;
  margin-top: 1px;
}

.estimate-disclaimer__text {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.3);
  line-height: 1.625;
  font-family: var(--font-body);
  margin: 0;
}

/* Empty state */
.estimate-empty {
  text-align: center;
  padding: 2rem 0;
}

.estimate-empty__icon {
  color: rgba(250, 248, 240, 0.2);
  margin: 0 auto 0.75rem;
}

.estimate-empty__text {
  font-size: 0.875rem;
  color: rgba(250, 248, 240, 0.4);
  font-family: var(--font-body);
  margin: 0;
}

/* Submit button inside sidebar */
.estimate-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.875rem 1.5rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-normal);
  line-height: 1;
}

.estimate-submit-btn:hover {
  background: var(--gold-light);
}

/* ── What Happens Next Card ──────────────────────────────────────────────── */
.what-next-card {
  background: var(--white);
  border-radius: 2px;
  padding: 1.5rem;
  border: 1px solid rgba(214, 165, 77, 0.05);
}

.what-next-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.what-next-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.what-next-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.what-next-item__icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.what-next-item__text {
  font-size: 0.75rem;
  color: rgba(17, 52, 54, 0.6);
  font-family: var(--font-body);
  line-height: 1.5;
}

/* ── Methodology — Navy Background ─────────────────────────────────────── */
.methodology-section--navy {
  background: var(--navy);
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .methodology-section--navy {
    padding: 6rem 0;
  }
}

.methodology-desc {
  font-size: 1rem;
  color: rgba(250, 248, 240, 0.5);
  max-width: 36rem;
  margin: 1rem auto 0;
  font-family: var(--font-body);
  line-height: 1.625;
}

.methodology-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .methodology-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.methodology-card {
  background: rgba(34, 46, 66, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
  padding: 1.5rem;
  border-left: 4px solid;
}

.methodology-card--emerald { border-left-color: rgba(16, 185, 129, 0.3); }
.methodology-card--gold    { border-left-color: rgba(214, 165, 77, 0.3); }
.methodology-card--orange  { border-left-color: rgba(249, 115, 22, 0.3); }
.methodology-card--blue    { border-left-color: rgba(59, 130, 246, 0.3); }

.methodology-card__icon {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.methodology-card__title {
  font-weight: 600;
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.methodology-card__desc {
  font-size: 0.75rem;
  color: rgba(250, 248, 240, 0.4);
  line-height: 1.625;
  font-family: var(--font-body);
  margin: 0;
}

/* ========================================================================
   RTL / ARABIC — COMPREHENSIVE LAYOUT & TYPOGRAPHY
   (Base font + navbar rules are defined earlier; this block handles the rest)
   ======================================================================== */

/* ── Font: override explicit font-family on non-heading/non-body elements ── */
html[dir="rtl"] .btn,
html[dir="rtl"] .btn-text-gold,
html[dir="rtl"] .hero__subtitle,
html[dir="rtl"] .hero__desc,
html[dir="rtl"] .section__subtitle,
html[dir="rtl"] .section__desc,
html[dir="rtl"] .stats-bar__number,
html[dir="rtl"] .stats-bar__label,
html[dir="rtl"] .service-card__title,
html[dir="rtl"] .service-card__text,
html[dir="rtl"] .feature-item__title,
html[dir="rtl"] .feature-item__desc,
html[dir="rtl"] .reg-card__title,
html[dir="rtl"] .reg-card__list li,
html[dir="rtl"] .pricing-card__tier,
html[dir="rtl"] .pricing-card__level,
html[dir="rtl"] .pricing-card__example,
html[dir="rtl"] .pricing-card__range,
html[dir="rtl"] .pricing-formula__text,
html[dir="rtl"] .pricing-formula__note,
html[dir="rtl"] .cta-section__desc,
html[dir="rtl"] .methodology-card__title,
html[dir="rtl"] .methodology-card__desc,
html[dir="rtl"] .peara-footer__brand-desc,
html[dir="rtl"] .peara-footer__links a,
html[dir="rtl"] .peara-footer__contact-item a,
html[dir="rtl"] .peara-footer__contact-item > span,
html[dir="rtl"] .peara-footer__copyright,
html[dir="rtl"] .peara-footer__tagline {
  font-family: var(--font-arabic);
}

/* ── Letter-spacing: Arabic script never uses tracking ── */
html[dir="rtl"] .hero__subtitle,
html[dir="rtl"] .section__subtitle,
html[dir="rtl"] .stats-bar__label,
html[dir="rtl"] .pricing-card__tier,
html[dir="rtl"] .peara-footer__col-title,
html[dir="rtl"] .btn,
html[dir="rtl"] .btn-text-gold {
  letter-spacing: 0;
}

/* ── Directional icons: flip arrows & chevrons in RTL ── */
html[dir="rtl"] .btn svg:last-child,
html[dir="rtl"] .btn-text-gold svg {
  transform: scaleX(-1);
}

/* ── Stats bar: swap border direction for RTL column dividers ── */
html[dir="rtl"] .stats-bar__grid > div {
  border-right: none;
  border-left: 1px solid rgba(214, 165, 77, 0.10);
}
html[dir="rtl"] .stats-bar__grid > div:last-child {
  border-left: none;
}
@media (max-width: 767px) {
  /* In RTL 2-col grid, DOM nth-child 2 & 4 land in the left column */
  html[dir="rtl"] .stats-bar__grid > div:nth-child(2),
  html[dir="rtl"] .stats-bar__grid > div:nth-child(4) {
    border-left: none;
  }
  html[dir="rtl"] .stats-bar__grid > div:nth-child(3) {
    border-left: 1px solid rgba(214, 165, 77, 0.10);
  }
}

/* ── About-section stats overlay: swap left offset to right in RTL ── */
html[dir="rtl"] .stats-overlay {
  left: auto !important;
  right: -1.5rem;
}

/* ── Methodology cards: swap left accent border to right in RTL ── */
html[dir="rtl"] .methodology-card {
  border-left: none;
  border-right: 4px solid;
}
html[dir="rtl"] .methodology-card--emerald { border-right-color: rgba(16, 185, 129, 0.3); }
html[dir="rtl"] .methodology-card--gold    { border-right-color: rgba(214, 165, 77, 0.3); }
html[dir="rtl"] .methodology-card--orange  { border-right-color: rgba(249, 115, 22, 0.3); }
html[dir="rtl"] .methodology-card--blue    { border-right-color: rgba(59, 130, 246, 0.3); }
