/**
 * JADT MEP — Global Design System
 * Loads last. Tokens + component polish only (no content/logic).
 */

/* =====================================================================
   1. DESIGN TOKENS
   ===================================================================== */
:root {
  /* Brand */
  --navy-950: #0A1730;
  --navy-900: #0E1F3F;
  --navy-800: #13285A;
  --navy-700: #1B3B7A;
  --gold-500: #F5A623;
  --gold-600: #E0940F;
  --gold-100: #FFF4DF;

  /* Neutrals */
  --gray-900: #14171F;
  --gray-600: #5B6472;
  --gray-400: #9AA3B2;
  --gray-100: #F4F6FA;
  --gray-50: #FAFBFD;
  --white: #FFFFFF;

  /* Semantic */
  --success: #1FA971;
  --danger: #E5484D;
  --border: rgba(19, 40, 90, 0.10);
  --shadow-color: rgba(14, 31, 63, 0.10);

  /* Typography */
  --font-heading: 'Sora', 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-h1: clamp(2.25rem, 4vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --lh-heading: 1.15;
  --lh-body: 1.65;
  --fw-heading: 700;
  --fw-semibold: 600;
  --fw-body: 400;

  /* Spacing (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Layout */
  --container-max: 1280px;
  --gutter-mobile: 24px;
  --gutter-desktop: 40px;

  /* Legacy aliases → new tokens (keep older CSS working) */
  --acc-teal: var(--navy-700);
  --acc-teal-2: var(--navy-700);
  --acc-teal-dark: var(--navy-950);
  --acc-ink: var(--navy-950);
  --acc-gold: var(--gold-500);
  --acc-gold-dark: var(--gold-600);
  --acc-success: var(--success);
  --acc-success-dark: #178a5a;
  --acc-text: var(--gray-900);
  --acc-muted: var(--gray-600);
  --acc-line: var(--border);
  --acc-bg: var(--gray-100);
  --acc-radius: var(--radius-md);
  --acc-shadow: 0 12px 28px var(--shadow-color);
  --acc-container: var(--container-max);

  --jadt-ph-navy-900: var(--navy-950);
  --jadt-ph-navy-800: var(--navy-900);
  --jadt-ph-navy-700: var(--navy-800);
  --jadt-ph-orange: var(--gold-500);
  --jadt-ph-orange-soft: #ffcb70;
  --jadt-ph-white: var(--white);
  --jadt-ph-ink-soft: rgba(255, 255, 255, 0.82);
  --jadt-ph-bg: var(--gray-100);
}

/* =====================================================================
   2. BASE / TYPOGRAPHY
   ===================================================================== */
/* Do NOT set scroll-behavior:smooth here — Lenis + GSAP ScrollTrigger
   own scrolling; CSS smooth fighting Lenis causes janky scroll. */

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.heading, .title, .service-title,
.acc-title, .acc-hero-title, .acc-svc-card-title,
.section-heading .title, .jadt-section-heading .title,
.uae-main-title, .gen-page-hero-title, .pp-heading,
.wwu-hero-title, .jadt-page-header__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-heading);
  letter-spacing: -0.01em;
  line-height: var(--lh-heading);
  color: var(--gray-900);
}

h1, .acc-hero-title, .jadt-page-header__title { font-size: var(--fs-h1); }
h2, .acc-title, .jadt-section-heading .title { font-size: var(--fs-h2); }
h3, .acc-svc-card-title { font-size: var(--fs-h3); }

p, .acc-text, .acc-sub, .acc-hero-text, .description, .text {
  color: var(--gray-600);
  line-height: var(--lh-body);
}

/* Two-tone headings: same weight, gold color only */
h1 span, h2 span, h3 span,
.acc-title span, .acc-hero-title span,
.uae-main-title .hl,
.jadt-faq-intro h2 em,
.jadt-page-header__title .accent {
  font-weight: inherit;
}

a {
  transition: color 0.2s ease;
}
.about-info a,
.gen-page-card .about-info a,
.acc-text a,
p a:not(.acc-btn):not(.btn):not(.mybtn1):not(.mybtn2) {
  color: var(--navy-700);
  text-decoration: none;
}
.about-info a:hover,
.gen-page-card .about-info a:hover,
.acc-text a:hover,
p a:not(.acc-btn):not(.btn):not(.mybtn1):not(.mybtn2):hover {
  color: var(--navy-700);
  text-decoration: underline;
}

/* Unified eyebrow labels */
.jadt-page-header__eyebrow,
.jadt-faq-eyebrow,
.jadt-section-heading .sub-title,
.acc-hero-left .acc-hero-sub,
.acc-statistic-intro .acc-sub,
.acc-svc-eyebrow,
.wwu-eyebrow,
.jadt-social-title {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gold-500) !important;
}

.jadt-faq-eyebrow {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.jadt-faq-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  display: inline-block;
  margin-right: 2px;
}

/* =====================================================================
   3. CONTAINER / SECTION RHYTHM
   ===================================================================== */
.acc-container,
.jadt-page-header__inner,
.container {
  max-width: var(--container-max);
}

.acc-container {
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}
@media (min-width: 992px) {
  .acc-container {
    padding-left: var(--gutter-desktop);
    padding-right: var(--gutter-desktop);
  }
}

.acc-section,
.acc-services,
.acc-about,
.acc-statistic,
.acc-uae-section,
.acc-projects,
.acc-cta,
.acc-pricing,
.acc-video,
.acc-team,
.acc-testimonial,
.acc-blog,
.acc-features,
.jadt-faq-section,
.jadt-contact-wrapper,
.jadt-projects-page,
.gen-page-section,
.wwu-section {
  padding-top: var(--space-8) !important;
  padding-bottom: var(--space-8) !important;
}

@media (max-width: 767px) {
  .acc-section,
  .acc-services,
  .acc-about,
  .acc-statistic,
  .acc-uae-section,
  .acc-projects,
  .acc-cta,
  .acc-pricing,
  .acc-video,
  .acc-team,
  .acc-testimonial,
  .acc-blog,
  .acc-features,
  .jadt-faq-section,
  .jadt-contact-wrapper,
  .jadt-projects-page,
  .gen-page-section,
  .wwu-section {
    padding-top: var(--space-6) !important;
    padding-bottom: var(--space-6) !important;
  }
}

/* Alternating section backgrounds — only white / gray-100 */
.acc-features,
.acc-blog,
.acc-uae-section,
.jadt-services-page,
.jadt-faq-section,
.jadt-contact-wrapper,
.jadt-map-wrapper,
.jadt-projects-page,
.gen-page-section,
.wwu-section {
  background: var(--gray-100) !important;
  background-image: none !important;
}

.acc-services,
.acc-about,
.acc-projects,
.acc-team,
.acc-pricing {
  background: var(--white) !important;
}

.acc-uae-section::before,
.acc-uae-section::after {
  opacity: 0.35;
}

/* =====================================================================
   4. BUTTON SYSTEM
   ===================================================================== */
.btn-primary,
.acc-btn-gold,
.jadt-submit-btn,
.wwu-submit-btn,
.jadt-svc-btn-primary,
.jadt-btn-primary,
.submit-btn.acc-lux-btn,
.quote-submit-btn {
  background: var(--gold-500) !important;
  color: var(--navy-950) !important;
  font-weight: var(--fw-semibold) !important;
  padding: 14px 28px !important;
  border-radius: var(--radius-md) !important;
  border: 1.5px solid var(--gold-500) !important;
  box-shadow: none !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.btn-primary:hover,
.acc-btn-gold:hover,
.jadt-submit-btn:hover,
.wwu-submit-btn:hover,
.jadt-svc-btn-primary:hover,
.jadt-btn-primary:hover,
.acc-btn-gold.acc-lux-btn:hover,
.jadt-submit-btn.acc-lux-btn:hover,
.wwu-submit-btn.acc-lux-btn:hover,
.jadt-svc-btn-primary.acc-lux-btn:hover,
.jadt-btn-primary.acc-lux-btn:hover {
  background: var(--gold-600) !important;
  border-color: var(--gold-600) !important;
  color: var(--navy-950) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.28) !important;
}

.btn-secondary,
.acc-btn-outline,
.jadt-btn-outline,
.jadt-svc-btn-ghost {
  background: transparent !important;
  border: 1.5px solid var(--white) !important;
  color: var(--white) !important;
  border-radius: var(--radius-md) !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}
.btn-secondary:hover,
.acc-btn-outline:hover,
.jadt-btn-outline:hover,
.jadt-svc-btn-ghost:hover {
  background: var(--white) !important;
  color: var(--navy-900) !important;
  transform: translateY(-2px) !important;
}

.btn-outline-dark,
.acc-btn-outline-dark,
.mybtn2,
.wwu-cta-btn-outline,
.abt-cta-btn-outline {
  background: transparent !important;
  border: 1.5px solid var(--navy-800) !important;
  color: var(--navy-800) !important;
  border-radius: var(--radius-md) !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}
.btn-outline-dark:hover,
.acc-btn-outline-dark:hover,
.mybtn2:hover,
.wwu-cta-btn-outline:hover {
  background: var(--navy-800) !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
}

.acc-btn,
.acc-btn-read,
.acc-lux-btn,
.mybtn1,
.jadt-btn,
.jadt-faq-cta-btn,
.wwu-cta-btn-primary,
.acc-btn-teal {
  border-radius: var(--radius-md) !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.acc-btn-teal,
.mybtn1,
.jadt-faq-cta-btn,
.wwu-cta-btn-primary {
  background: var(--navy-800) !important;
  border-color: var(--navy-800) !important;
  color: var(--white) !important;
}
.acc-btn-teal:hover,
.mybtn1:hover,
.jadt-faq-cta-btn:hover,
.wwu-cta-btn-primary:hover {
  background: var(--navy-700) !important;
  border-color: var(--navy-700) !important;
  transform: translateY(-2px) !important;
}

/* Kill harsh gold drop-shadows on CTAs */
.jadt-submit-btn,
.acc-btn-gold,
.jadt-btn-primary {
  box-shadow: none !important;
}

.acc-lux-btn:hover,
.acc-lux-btn.is-lux-hover {
  box-shadow: 0 8px 20px var(--shadow-color) !important;
}

button:focus-visible,
a:focus-visible,
.acc-btn:focus-visible,
.acc-lux-btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--navy-700);
  outline-offset: 2px;
}

/* Arrow links */
.acc-btn-read i,
.jadt-read i,
.acc-project-card .acc-btn-read i,
a.acc-btn-read i {
  transition: transform 0.2s ease;
}
.acc-btn-read:hover i,
.jadt-read:hover i,
.acc-project-card .acc-btn-read:hover i {
  transform: translateX(4px);
}

/* =====================================================================
   5. CARD SYSTEM
   ===================================================================== */
.card,
.acc-svc-card,
.acc-feature-card,
.acc-expertise-card,
.acc-project-card,
.jadt-project-card,
.jadt-faq-item,
.jadt-faq-cta,
.jadt-cinfo,
.jadt-form-card,
.uae-info-card,
.wwu-perk,
.wwu-panel,
.wwu-form-card,
.acc-testi-card,
.acc-blog-card,
.acc-team-card,
.acc-plan {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.acc-svc-card,
.acc-feature-card,
.uae-info-card,
.jadt-cinfo,
.wwu-perk {
  padding: var(--space-5) !important;
}

.acc-svc-card:hover,
.acc-feature-card:hover,
.acc-project-card:hover,
.jadt-project-card:hover,
.uae-info-card:hover,
.jadt-cinfo:hover,
.acc-blog-card:hover,
.wwu-perk:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--shadow-color);
}

/* Icon badge */
.icon-badge,
.acc-svc-icon,
.acc-feature-card .icon,
.uae-info-card .card-icon,
.jadt-cinfo .ci-ico,
.acc-stat-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: var(--radius-full) !important;
  background: var(--gold-100) !important;
  color: var(--gold-600) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
}

.acc-svc-icon .material-symbols-outlined,
.acc-feature-card .icon i,
.jadt-cinfo .ci-ico i {
  color: var(--gold-600) !important;
  font-size: 22px;
}

.acc-services:not(.acc-anim-cards) .acc-svc-card:hover .acc-svc-icon {
  background: var(--navy-800) !important;
  color: var(--white) !important;
}
.acc-services:not(.acc-anim-cards) .acc-svc-card:hover .acc-svc-icon .material-symbols-outlined {
  color: var(--white) !important;
}

/* Project cards — blueprint plate media */
.acc-project-card .img.plate,
.acc-project-card .plate,
.jadt-project-card .plate {
  aspect-ratio: unset;
  height: 250px !important;
  min-height: 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 84% 100%, 0 100%);
}
.acc-project-card .img img,
.jadt-project-card .plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.acc-project-badge,
.jadt-project-card .badge-cat {
  background: var(--navy-800) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

/* =====================================================================
   6. FAQ ACCORDION
   ===================================================================== */
.jadt-faq-item {
  overflow: hidden;
  border-left: 3px solid transparent;
}
.jadt-faq-item:not(.jadt-open):hover {
  border-color: var(--border) !important;
  border-left-color: var(--gold-500) !important;
  box-shadow: 0 8px 24px var(--shadow-color) !important;
}
.jadt-faq-item.jadt-open {
  border-color: var(--border) !important;
  box-shadow: 0 12px 28px var(--shadow-color) !important;
}
.jadt-faq-item.jadt-open .jadt-faq-question {
  background: var(--navy-800) !important;
  color: var(--white) !important;
}
.jadt-faq-question {
  color: var(--navy-800) !important;
}
.jadt-faq-item:not(.jadt-open):hover .jadt-faq-question {
  color: var(--navy-700) !important;
}
.jadt-faq-icon {
  border-color: var(--gold-500) !important;
}
.jadt-faq-item.jadt-open .jadt-faq-icon {
  background: var(--gold-500) !important;
  border-color: var(--gold-500) !important;
}
.jadt-faq-item.jadt-open .jadt-faq-icon svg {
  stroke: var(--navy-950) !important;
}
.jadt-faq-intro h2 {
  color: var(--gray-900) !important;
}
.jadt-faq-intro h2 em {
  color: var(--gold-500) !important;
  font-style: normal;
}
.jadt-faq-divider {
  height: 3px !important;
  background: var(--gold-500) !important;
  background-image: none !important;
  width: 48px !important;
}

/* Legacy jQuery UI FAQ */
.ui-accordion .ui-accordion-header {
  background: var(--navy-800) !important;
  border-radius: var(--radius-md) !important;
}
.ui-accordion .ui-accordion-header.ui-state-active {
  background: var(--navy-800) !important;
}

/* =====================================================================
   7. FORMS
   ===================================================================== */
.jadt-form-card .input-field,
.wwu-input,
.wwu-textarea,
.contact-us input,
.contact-us textarea,
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  background: var(--white) !important;
  color: var(--gray-900) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.jadt-form-card .input-field {
  height: auto !important;
  min-height: 46px;
}
.jadt-form-card textarea.input-field {
  min-height: 110px !important;
  height: auto !important;
}

.jadt-form-card .input-field::placeholder,
.wwu-input::placeholder,
.wwu-textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--gray-400) !important;
}

.jadt-form-card .input-field:focus,
.wwu-input:focus,
.wwu-textarea:focus,
.form-control:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--navy-700) !important;
  box-shadow: 0 0 0 3px rgba(27, 59, 122, 0.15) !important;
  outline: none !important;
}

.wwu-req,
.jadt-form-card .flabel .req,
label .required,
.required {
  color: var(--danger) !important;
}

.jadt-form-card .field-row,
.jadt-captcha-row {
  gap: var(--space-4) !important;
}
.jadt-form-card .field,
.wwu-field {
  margin-bottom: var(--space-4) !important;
}

/* Captcha — bordered container + circular refresh */
.jadt-captcha-display {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
  height: auto !important;
  min-height: 46px;
  background: var(--white) !important;
  gap: 12px !important;
}
.captcha-refresh {
  width: 32px !important;
  height: 32px !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--border) !important;
  background: var(--gray-50) !important;
  color: var(--navy-700) !important;
  font-size: 12px !important;
}
.captcha-refresh:hover {
  background: var(--gold-500) !important;
  border-color: var(--gold-500) !important;
  color: var(--navy-950) !important;
}

/* File upload dropzone style */
.wwu-file-label {
  height: auto !important;
  min-height: 72px;
  flex-direction: column !important;
  justify-content: center;
  align-items: center !important;
  text-align: center;
  gap: 8px !important;
  padding: 16px !important;
  border: 1.5px dashed var(--border) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--gray-50) !important;
}
.wwu-file-label:hover {
  border-color: var(--navy-700) !important;
  background: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(27, 59, 122, 0.1) !important;
}
.wwu-file-text {
  color: var(--gray-400) !important;
  white-space: normal !important;
}
.wwu-file-text.has-file {
  color: var(--gray-900) !important;
  font-weight: 600;
}
.wwu-file-icon {
  color: var(--gold-600) !important;
  font-size: 20px !important;
  order: -1;
}

/* Dark form card on contact */
.jadt-form-card {
  background: var(--navy-950) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-5) !important;
  box-shadow: 0 20px 48px var(--shadow-color) !important;
}
.jadt-form-card h3 {
  font-family: var(--font-heading);
  color: var(--white) !important;
}

/* =====================================================================
   8. NAVIGATION
   ===================================================================== */
.acc-header {
  background: var(--white);
  box-shadow: none;
  /* Shadow/bg only — do not animate height (causes Lenis/ScrollTrigger jump) */
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.acc-header .acc-container {
  min-height: 84px;
}
.acc-header.acc-header-scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.acc-nav > li:not(.acc-nav-cta-wrap) > a::after {
  background: var(--gold-500) !important;
}
.acc-nav > li > a:hover,
.acc-nav > li.acc-active > a {
  color: var(--navy-700) !important;
}

.acc-topbar {
  background: var(--navy-900) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
.acc-topbar a {
  color: rgba(255, 255, 255, 0.88) !important;
}
.acc-topbar a:hover {
  color: var(--white) !important;
}
.acc-topbar i {
  color: var(--gold-500) !important;
  opacity: 1 !important;
}
.acc-topbar .acc-topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}
.acc-topbar .acc-topbar-social a i {
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 !important;
}
.acc-topbar .acc-topbar-social a:hover {
  background: var(--gold-500);
  transform: scale(1.06);
}
.acc-topbar .acc-topbar-social a:hover i {
  color: var(--navy-950) !important;
}

/* =====================================================================
   9. PAGE HERO (inner pages)
   ===================================================================== */
.jadt-page-header {
  /* Keep clip-path tilt from acc-page-header.css — do not flatten padding */
  padding: 72px 24px 114px !important;
  margin-bottom: -50px !important;
  overflow: visible !important;
  z-index: 2;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%) !important;
          clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%) !important;
  background:
    radial-gradient(ellipse 800px 420px at 85% -5%, rgba(245, 166, 35, 0.16), transparent 55%),
    radial-gradient(ellipse 600px 380px at 10% 110%, rgba(27, 59, 122, 0.45), transparent 50%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 48%, var(--navy-800) 100%) !important;
}
.jadt-page-header + * {
  position: relative;
  z-index: 1;
}
.jadt-page-header::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) !important;
  background-size: 36px 36px !important;
  opacity: 1;
  -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.85) 0%, transparent 62%) !important;
          mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.85) 0%, transparent 62%) !important;
}
.jadt-page-header__desc,
.jadt-page-header__crumbs a {
  color: rgba(255, 255, 255, 0.82) !important;
}
.jadt-page-header__crumbs {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
}
.jadt-page-header__rule {
  height: 2px !important;
  width: 48px !important;
}
.jadt-page-header__compass {
  opacity: 0.14 !important;
}
.jadt-page-header .corner {
  width: 28px !important;
  height: 28px !important;
  border-color: rgba(245, 166, 35, 0.65) !important;
}

@media (max-width: 640px) {
  .jadt-page-header {
    padding: 56px 16px 88px !important;
    margin-bottom: -40px !important;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%) !important;
            clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%) !important;
  }
}

/* Home hero text contrast on navy */
.acc-hero-left .acc-hero-text,
.acc-hero-left p,
.acc-statistic-intro .acc-text {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* =====================================================================
   10. STATS / FEATURE BLOCKS
   ===================================================================== */
.acc-feature-grid {
  gap: 0 !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.acc-feature-card {
  border-radius: 0 !important;
  border: 0 !important;
  border-right: 1px solid var(--border) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  margin: 0;
  padding: var(--space-5) !important;
}
.acc-feature-card:nth-child(3n) {
  border-right: 0 !important;
}
.acc-feature-card:hover {
  transform: none;
  box-shadow: none !important;
  background: var(--gray-50);
}
.acc-feature-card .title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
}
.acc-feature-card .text {
  color: var(--gray-400) !important;
  font-size: var(--fs-small);
}

@media (max-width: 991px) {
  .acc-feature-grid {
    border: 0;
    gap: var(--space-3) !important;
    background: transparent;
    overflow: visible;
  }
  .acc-feature-card {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
  }
  .acc-feature-card:nth-child(3n) {
    border-right: 1px solid var(--border) !important;
  }
}

/* Dark statistic cards on home */
.acc-stat-card {
  border-radius: var(--radius-md) !important;
}
.acc-stat-card .text {
  font-family: var(--font-heading);
}

/* =====================================================================
   11. MAP / CONTACT POLISH
   ===================================================================== */
.jadt-map-card-outer {
  border-radius: var(--radius-md) !important;
  box-shadow: 0 12px 28px var(--shadow-color) !important;
  border: 1px solid var(--border);
  overflow: hidden;
}
.jadt-cinfo:hover {
  border-color: var(--border) !important;
}
.jadt-cinfo:hover .ci-ico {
  background: var(--gold-500) !important;
}
.jadt-cinfo:hover .ci-ico i {
  color: var(--navy-950) !important;
}
.jadt-social a {
  width: 36px !important;
  height: 36px !important;
  border-radius: var(--radius-full) !important;
  background: var(--navy-800) !important;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease !important;
}
.jadt-social a:hover {
  background: var(--gold-500) !important;
  color: var(--navy-950) !important;
  transform: scale(1.08) !important;
  box-shadow: none !important;
}
.jadt-info-block h2 {
  border-bottom: 2px solid var(--gold-500) !important;
  color: var(--gray-900) !important;
  font-family: var(--font-heading);
}

/* Map info overlays / Google-like popups inside map side */
.jadt-map-side h3 {
  font-family: var(--font-heading);
  color: var(--gray-900) !important;
}
.jadt-map-feature .mf-ico {
  background: var(--gold-100);
  color: var(--gold-600);
  border-radius: var(--radius-full);
}

/* =====================================================================
   12. FOOTER
   ===================================================================== */
.acc-footer {
  background: var(--navy-950) !important;
  position: relative;
  padding-top: var(--space-8) !important;
}
.acc-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.acc-footer .acc-footer-grid {
  gap: var(--space-7) !important;
}
.acc-footer-social a {
  width: 36px !important;
  height: 36px !important;
  border-radius: var(--radius-full) !important;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease !important;
}
.acc-footer-social a:hover {
  background: var(--gold-500) !important;
  color: var(--navy-950) !important;
  transform: scale(1.08);
}
.acc-footer h4.title::after {
  height: 2px !important;
  background: var(--gold-500) !important;
}
.acc-footer-news input,
.acc-footer-newsletter input[type="email"],
.footer-newsletter-widget .newsletter-form-area input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 12px 16px !important;
}
.acc-footer-news button,
.acc-footer-newsletter button,
.footer-newsletter-widget .newsletter-form-area button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  background: var(--gold-500) !important;
  color: var(--navy-950) !important;
  min-width: 48px;
  transition: background 0.2s ease !important;
}
.acc-footer-news button:hover,
.acc-footer-newsletter button:hover {
  background: var(--gold-600) !important;
}

/* =====================================================================
   13. SAFETY / CMS CONTENT POLISH
   ===================================================================== */
.gen-page-section {
  background: var(--gray-100) !important;
}
.gen-page-card .about-info p,
.gen-page-card .about-info li {
  color: var(--gray-600) !important;
  line-height: var(--lh-body) !important;
}
.gen-page-card .about-info h2,
.gen-page-card .about-info .pp-title,
.gen-page-card .about-info h3 {
  font-family: var(--font-heading);
  color: var(--gray-900) !important;
  border-bottom-color: var(--border) !important;
}
.gen-page-card .about-info .pp-num {
  color: var(--gold-500) !important;
}
.gen-page-card .about-info a {
  color: var(--navy-700) !important;
}

/* Quality approach ghost numbers (common CMS patterns) */
.approach-card,
.quality-card,
.safety-approach-card,
[class*="approach-"] {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.approach-num,
.quality-num,
.ghost-number,
[class*="approach"] .num,
[class*="approach"] .number {
  opacity: 0.15 !important;
  font-weight: 800 !important;
  font-family: var(--font-heading);
}

/* ISO badge chips */
.iso-badge,
.cert-badge,
[class*="iso-"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-full) !important;
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid var(--gold-500) !important;
  padding: 8px 16px !important;
  box-shadow: 0 2px 8px var(--shadow-color);
}

/* =====================================================================
   14. PROJECTS / SERVICES PAGE LOCAL OVERRIDES
   ===================================================================== */
.jadt-section-heading .title {
  color: var(--gray-900) !important;
}
.jadt-section-heading .text {
  color: var(--gray-600) !important;
}
.jadt-cta {
  background: var(--navy-950) !important;
}
.jadt-btn {
  border-radius: var(--radius-md) !important;
}
.jadt-pagination a,
.jadt-pagination span {
  border-radius: var(--radius-sm) !important;
}
.jadt-pagination .active {
  background: var(--navy-800) !important;
}

/* Thin gold accent rules instead of thick decorative underlines */
.jadt-info-block h2,
.acc-footer h4.title::after,
.jadt-faq-divider,
.jadt-page-header__rule {
  border-radius: 2px;
}

/* =====================================================================
   15. MICRO-INTERACTIONS / HERO REVEAL
   ===================================================================== */
@keyframes jadtFadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Inner-page heroes only — home hero is owned by GSAP/Lenis */
.jadt-page-header__frame > * {
  animation: jadtFadeSlideUp 0.2s ease both;
}
.jadt-page-header__frame > *:nth-child(1) { animation-delay: 0.02s; }
.jadt-page-header__frame > *:nth-child(2) { animation-delay: 0.06s; }
.jadt-page-header__frame > *:nth-child(3) { animation-delay: 0.1s; }
.jadt-page-header__frame > *:nth-child(4) { animation-delay: 0.14s; }
.jadt-page-header__frame > *:nth-child(5) { animation-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .jadt-page-header__frame > * {
    animation: none !important;
  }
  .acc-svc-card:hover,
  .acc-project-card:hover,
  .jadt-project-card:hover {
    transform: none;
  }
}

/* =====================================================================
   16. ACCESSIBILITY — navy text contrast
   ===================================================================== */
.acc-hero-left .acc-hero-title,
.acc-cta .acc-title,
.jadt-cta h3,
.jadt-page-header__title {
  color: var(--white) !important;
}
.acc-cta .acc-title,
.jadt-cta p {
  color: rgba(255, 255, 255, 0.82) !important;
}
.jadt-cta h3 {
  color: var(--white) !important;
}
