/*==============================================================
  Akce Mühendislik — Design System
  Premium industrial: navy foundation, steel neutrals,
  teal systems accent, amber reserved for the primary action.
==============================================================*/

/*--------------------------------------------------------------
# Tokens
--------------------------------------------------------------*/
:root {
  --default-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  --heading-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono-font: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Navy / steel scale */
  --navy-900: #08192b;
  --navy-800: #0e2540;
  --navy-700: #153454;
  --navy-600: #1e4870;
  --steel-600: #35577d;
  --steel-500: #4a6588;
  --steel-400: #7089a6;
  --steel-300: #a3b4c7;
  --steel-200: #d3dce6;
  --steel-100: #e9eef4;
  --steel-50: #f5f8fb;

  /* Systems accent (brand teal) */
  --teal-700: #085f73;
  --teal-600: #0b7f97;
  --teal-500: #0ea2bd;
  --teal-400: #3cbfd6;
  --teal-100: #cdeef5;
  --teal-50: #e9f7fb;

  /* Action accent — used ONLY for the single primary CTA */
  /* white label: #b45309 = 5.02:1, #92400e = 7.09:1 (WCAG AA needs 4.5:1).
     The earlier #e8891a measured 2.62:1 on the site's main conversion button. */
  --amber-600: #92400e;
  --amber-500: #b45309;
  --amber-100: #fdeed9;

  --ok-500: #1f9d57;
  --danger-500: #d13438;

  /* Semantic */
  --background-color: #ffffff;
  --default-color: #23364a;
  --heading-color: var(--navy-800);
  --accent-color: var(--teal-500);
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --muted-color: var(--steel-500);
  --line-color: var(--steel-200);

  --nav-color: var(--navy-700);
  --nav-hover-color: var(--teal-600);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: var(--navy-700);
  --nav-dropdown-hover-color: var(--teal-600);

  /* Elevation */
  --shadow-xs: 0 1px 2px rgb(8 25 43 / 0.06);
  --shadow-sm: 0 2px 8px rgb(8 25 43 / 0.07);
  --shadow-md: 0 8px 24px rgb(8 25 43 / 0.09);
  --shadow-lg: 0 18px 48px rgb(8 25 43 / 0.14);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Rhythm */
  --sp-section: clamp(56px, 7vw, 96px);
  --container-max: 1240px;

  scroll-behavior: smooth;
}

.light-background {
  --background-color: var(--steel-50);
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: var(--navy-800);
  --default-color: #e6edf5;
  --heading-color: #ffffff;
  --surface-color: var(--navy-700);
  --contrast-color: #ffffff;
  --muted-color: var(--steel-300);
  --line-color: rgb(255 255 255 / 0.14);
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--teal-700); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.85vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { text-wrap: pretty; }

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

.container { max-width: var(--container-max); }

/* g-lg-5 / gx-lg-5 rows (about, contact) pull out 24px per side. With Bootstrap's
   12px container padding they ran past the viewport between 992px and ~1264px and
   section { overflow: clip } cut the edge off. Mobile and wide screens unaffected. */
@media (min-width: 992px) and (max-width: 1299.98px) {
  .about > .container,
  .contact > .container { padding-inline: 24px; }
}

.disable-link { cursor: pointer; }
.hidden { display: none !important; }

/* Technical data — monospace signals real engineering documentation */
.mono, .spec-val, .cert-no {
  font-family: var(--mono-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Section eyebrow / kicker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono-font);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal-500);
}
.dark-background .eyebrow { color: var(--teal-400); }
.dark-background .eyebrow::before { background: var(--teal-400); }

/* Blueprint grid texture — CSS only, zero image weight */
.blueprint {
  background-image:
    linear-gradient(rgb(30 72 112 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(30 72 112 / 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-quote, .btn-ghost, .btn-solid,
.cta-btn, .cta-btn2, .header .btn-getstarted {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Primary action — the only amber element on screen */
.btn-quote {
  background: var(--amber-500);
  border: 1px solid var(--amber-500);
  color: #fff;
  border-radius: var(--r-sm);
  box-shadow: 0 6px 18px rgb(180 83 9 / 0.28);
}
.btn-quote:hover, .btn-quote:focus {
  background: var(--amber-600);
  border-color: var(--amber-600);
  color: #fff;
  box-shadow: 0 10px 24px rgb(180 83 9 / 0.34);
}

/* Secondary */
.btn-ghost {
  background: #fff;
  border: 1px solid var(--steel-200);
  color: var(--navy-700);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--steel-50);
  border-color: var(--steel-300);
  color: var(--navy-800);
}

.btn-solid {
  background: var(--navy-700);
  border: 1px solid var(--navy-700);
  color: #fff;
  border-radius: var(--r-sm);
}
.btn-solid:hover { background: var(--navy-800); color: #fff; }

/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: rgb(255 255 255 / 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 10px 0;
  border-bottom: 1px solid var(--steel-100);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
  z-index: 997;
}
.header .container-fluid { max-width: 1400px; }
.header .logo { line-height: 1; }
.header .logo img {
  max-height: 56px;
  width: auto;
  margin-right: 8px;
  margin-left: 4px;
  transition: max-height 0.25s ease;
}
.header .logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}
.header .logo span {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.55rem;
  margin-left: 2px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: #fff;
  background: var(--amber-500);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  margin: 0;
  border-radius: var(--r-sm);
  box-shadow: 0 4px 14px rgb(180 83 9 / 0.26);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: #fff;
  background: var(--amber-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgb(180 83 9 / 0.32);
}

.scrolled .header {
  box-shadow: var(--shadow-sm);
  padding: 6px 0;
}
.scrolled .header .logo img { max-height: 46px; }

@media (max-width: 1200px) {
  .header .logo { order: 1; }
  .header .btn-getstarted { order: 2; margin: 0 12px 0 0; padding: 8px 16px; font-size: 0.85rem; }
  .header .navmenu { order: 3; }
}
@media only screen and (max-width: 768px) {
  .logo-b { height: 44px; width: auto; }
  .header .logo img { max-height: 44px; margin-left: 0; }
  .header .btn-getstarted { padding: 8px 14px; font-size: 0.8rem; }
}

@media (min-width: 1200px) {
  .navmenu { padding: 0; }
  .navmenu ul {
    margin: 0; padding: 0; display: flex; list-style: none; align-items: center;
  }
  .navmenu li { position: relative; }
  .navmenu > ul > li { white-space: nowrap; padding: 14px 13px; }
  .navmenu > ul > li:last-child { padding-right: 0; }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0 2px;
    font-family: var(--nav-font);
    display: flex; align-items: center; justify-content: space-between;
    white-space: nowrap; transition: color 0.2s ease; position: relative;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px; line-height: 0; margin-left: 5px; transition: 0.3s;
  }
  .navmenu > ul > li > a:before {
    content: ""; position: absolute; height: 2px; bottom: -5px; left: 0;
    background-color: var(--teal-500); visibility: hidden; width: 0;
    transition: width 0.25s ease;
  }
  .drop-active { color: var(--teal-600) !important; }
  .navmenu a:hover:before, .navmenu li:hover > a:before, .navmenu .active:before {
    visibility: visible; width: 100%;
  }
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
  .navmenu .dropdown ul {
    margin: 0; padding: 8px 0;
    background: var(--nav-dropdown-background-color);
    display: block; position: absolute; visibility: hidden;
    left: 6px; top: 130%; opacity: 0;
    transition: opacity 0.2s ease, top 0.2s ease;
    border: 1px solid var(--steel-100);
    border-radius: var(--r-md); z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .navmenu .dropdown ul li { min-width: 50px; }
  .navmenu .dropdown ul a {
    padding: 9px 20px; font-size: 0.92rem; text-transform: none;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a i { font-size: 12px; }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background: var(--teal-50);
  }
  .navmenu .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }
  .navmenu .dropdown .dropdown ul { top: 0; left: -90%; visibility: hidden; }
  .navmenu .dropdown .dropdown:hover > ul { opacity: 1; top: 0; left: -100%; visibility: visible; }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color); font-size: 28px; line-height: 0;
    margin-right: 6px; cursor: pointer; transition: color 0.3s;
  }
  .navmenu { padding: 0; z-index: 9997; }
  .navmenu ul {
    display: none; list-style: none; position: absolute;
    inset: 60px 16px 16px 16px; padding: 10px 0; margin: 0;
    border-radius: var(--r-lg);
    background-color: var(--nav-mobile-background-color);
    border: 1px solid var(--steel-200);
    box-shadow: var(--shadow-lg);
    overflow-y: auto; transition: 0.3s; z-index: 9998;
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-dropdown-color); padding: 12px 20px;
    font-family: var(--nav-font); font-size: 1rem; font-weight: 500;
    display: flex; align-items: center; justify-content: space-between;
    white-space: nowrap; transition: 0.3s;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px; line-height: 0; margin-left: 5px;
    width: 30px; height: 30px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; transition: 0.3s;
    background-color: var(--teal-50);
  }
  .navmenu a i:hover, .navmenu a:focus i:hover {
    background-color: var(--accent-color); color: #fff;
  }
  .navmenu a:hover, .navmenu .active, .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .active i, .navmenu .active:focus i {
    background-color: var(--accent-color); color: #fff; transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    position: static; display: none; z-index: 99; padding: 6px 0;
    margin: 6px 16px; border: 0; box-shadow: none;
    background-color: var(--steel-50); border-radius: var(--r-md);
  }
  .navmenu .dropdown ul ul { background-color: var(--steel-100); }
  .navmenu .dropdown > .dropdown-active { display: block; }
  .mobile-nav-active { overflow: hidden; }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff; position: absolute; font-size: 32px;
    top: 15px; right: 15px; margin-right: 0; z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed; overflow: hidden; inset: 0;
    background: rgb(8 25 43 / 0.82); transition: 0.3s;
  }
  .mobile-nav-active .navmenu > ul { display: block; }
}

/* Language dropdown */
.navmenu .dropdown ul a { display: inline-flex; align-items: center; gap: 8px; }
.navmenu .dropdown ul a .flag-icon { margin-left: 0 !important; }
@media (max-width: 1199px) {
  .navmenu .dropdown ul a { justify-content: flex-start; gap: 8px; }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: var(--sp-section) 0;
  scroll-margin-top: 90px;
  overflow: clip;
}
@media (max-width: 1199px) {
  section, .section { scroll-margin-top: 72px; }
}

.section-title {
  text-align: center;
  margin: 0 auto clamp(36px, 5vw, 60px);
  max-width: 820px;
  padding-bottom: 0;
}
.section-title h2 {
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--heading-color);
}
.section-title p {
  font-size: 1.03rem;
  color: var(--muted-color);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-title .eyebrow { justify-content: center; }

/*--------------------------------------------------------------
# Page title (interior pages)
--------------------------------------------------------------*/
.page-title {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-title::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-title .container { position: relative; z-index: 1; }
.page-title h1 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.page-title .breadcrumbs ol {
  display: flex; flex-wrap: wrap; list-style: none;
  padding: 0; margin: 0; font-size: 0.88rem;
  color: var(--steel-300);
}
.page-title .breadcrumbs ol a { color: var(--teal-400); }
.page-title .breadcrumbs ol a:hover { color: #fff; }
.page-title .breadcrumbs ol li + li { padding-left: 10px; }
.page-title .breadcrumbs ol li + li::before {
  content: "/"; display: inline-block; padding-right: 10px;
  color: var(--steel-500);
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  margin: 0;
  padding: clamp(40px, 5vw, 76px) 0 clamp(64px, 7vw, 104px);
  background: linear-gradient(168deg, #ffffff 0%, var(--steel-50) 54%, var(--teal-50) 100%);
  overflow: hidden;
}
/* Ambient drawing-sheet grid. Strongest behind the render, gone under the copy
   so it never fights the text. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(30 72 112 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(30 72 112 / 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 78% 82% at 74% 34%, #000 12%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at 74% 34%, #000 12%, transparent 76%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  /* both columns end on the same line, so the block reads as one composition
     rather than a text column beside a floating picture */
  align-items: stretch;
}
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

.hero h1 {
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--navy-900);
  text-wrap: normal;
}
/* The teal half of the headline owns its own line, so the colour break lands on
   a phrase boundary instead of leaving the conjunction stranded at the start of
   line two. Arabic joins its conjunction to the preceding word, so it stays
   inline there. */
.hero h1 span { color: var(--teal-600); display: block; }
html[dir="rtl"] .hero h1 span { display: inline; }
@media (min-width: 992px) {
  .hero h1 { font-size: clamp(2.5rem, 1.5rem + 2.1vw, 3.05rem); }
}

.hero .hero-lead {
  max-width: 56ch;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.07rem);
  line-height: 1.66;
  color: var(--steel-500);
  margin: 0 0 28px;
}
.hero .hero-lead b, .hero .hero-lead strong { color: var(--navy-700); font-weight: 600; }

/* One primary action, one contact channel, one quiet in-page jump — three
   different weights so the eye is never asked to choose between equals. */
.hero .hero-cta {
  display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap;
  justify-content: flex-start; margin-top: 0;
}
.hero .hero-cta .btn {
  border-radius: var(--r-sm);
  padding: 13px 24px;
  font-weight: 600;
  font-size: 0.97rem;
  display: inline-flex; align-items: center; gap: 9px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.hero .hero-cta .btn:hover { transform: translateY(-2px); }
.hero .hero-cta .hero-jump {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 2px;
  font-weight: 600; font-size: 0.95rem;
  color: var(--navy-700);
}
.hero .hero-cta .hero-jump:hover { color: var(--teal-700); }
.hero .hero-cta .hero-jump i { font-size: 0.85rem; transition: transform 0.18s ease; }
.hero .hero-cta .hero-jump:hover i { transform: translateY(3px); }

/* The render is a transparent cut-out, so it needs a field to sit on rather
   than floating in the gradient. */
.hero-media {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.8), rgb(255 255 255 / 0.3));
  padding: clamp(14px, 2vw, 26px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: auto; display: block;
}
.hero .animated { margin-bottom: 0; animation: none; }

/* Location line — the one credential that the plate below does not carry. */
.hero-stats {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 20px; margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--steel-200);
}
.hero-stats .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; box-shadow: none;
  font-family: var(--mono-font);
  font-size: 0.735rem; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--steel-500);
}
.hero-stats .chip i { color: var(--teal-500); font-size: 0.9rem; }
.hero-stats a.chip { transition: color 0.18s ease; }
.hero-stats a.chip:hover { color: var(--navy-700); }

/* Arabic is cursive — tracking pulls joined letters apart, and uppercasing does
   nothing. Both are wrong for the script, so drop them on the RTL page. */
html[dir="rtl"] .hero .eyebrow,
html[dir="rtl"] .hero-stats .chip,
html[dir="rtl"] .trust-bar .trust-k {
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 991px) {
  .hero { text-align: left; }
  /* still capped — a full-width lead on a tablet runs past 95 characters */
  .hero .hero-lead { max-width: 66ch; }
}
@media (max-width: 575px) {
  .hero .hero-cta { gap: 10px; }
  .hero .hero-cta .btn { width: 100%; justify-content: center; }
  .hero .hero-cta .hero-jump { padding: 4px 2px; }
  .hero-stats { gap: 7px 16px; }
  .hero-stats .chip { font-size: 0.68rem; }
}

/*--------------------------------------------------------------
# Trust bar — verifiable credentials strip
--------------------------------------------------------------*/
/* Reads as the stamped data plate bolted to a pressure vessel, not six
   marketing cards: one body, hairline-divided cells, monospace labels above
   tabular values. The cells are not links, so nothing here hovers or lifts. */
.trust-bar {
  background: transparent;
  /* no bottom padding: the following section brings its own top padding,
     otherwise the two stack into a ~180px gap */
  padding: 0;
  margin-top: calc(-1 * clamp(38px, 4.5vw, 66px));
  position: relative;
  z-index: 2;
}
.trust-bar .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* the 1px gap IS the rule work — the grid background shows through */
  gap: 1px;
  background: var(--steel-200);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.trust-bar .trust-item {
  background: var(--surface-color);
  padding: 20px 22px 22px;
  display: block;
}
/* No icons on a data plate. The six Bootstrap glyphs carried no information the
   label did not already carry, and their weights read unevenly next to each
   other. Kept in the markup (aria-hidden) so nothing else has to change. */
.trust-bar .trust-ico { display: none; }
.trust-bar .trust-k {
  display: block;
  font-family: var(--mono-font);
  font-size: 0.665rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  /* steel-400 measured 3.6:1 on white — under AA for text this small */
  color: var(--steel-500);
  line-height: 1.45;
}
.trust-bar .trust-v {
  display: block;
  margin-top: 10px;
  font-size: 1.02rem; font-weight: 700; color: var(--navy-800);
  line-height: 1.28; letter-spacing: -0.01em;
}
.trust-bar .trust-s {
  display: block;
  margin-top: 5px;
  font-size: 0.795rem; color: var(--steel-500); line-height: 1.5;
}
@media (max-width: 1100px) {
  .trust-bar .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .trust-bar { margin-top: -30px; }
}
@media (max-width: 640px) {
  .trust-bar .trust-grid { grid-template-columns: 1fr; }
  .trust-bar .trust-item { padding: 15px 17px 17px; }
  .trust-bar .trust-v { font-size: 0.96rem; margin-top: 8px; }
}

/*--------------------------------------------------------------
# Services grid
--------------------------------------------------------------*/
.services .service-item {
  height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  display: flex; flex-direction: column;
}
.services .service-item:hover {
  border-color: var(--teal-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.services .img {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--steel-100);
}
.services .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.services .service-item:hover .img img { transform: scale(1.06); }

.services .details {
  background: transparent;
  padding: 24px 24px 26px;
  margin: 0;
  transition: none;
  position: relative;
  text-align: left;
  border-radius: 0;
  box-shadow: none;
  flex: 1;
  display: flex; flex-direction: column;
}
.services .details .icon {
  margin: 0 0 14px;
  width: 44px; height: 44px;
  background: var(--teal-50);
  color: var(--teal-600);
  border: 1px solid var(--teal-100);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  transition: background 0.25s ease, color 0.25s ease;
  position: static;
}
.services .service-item:hover .details .icon {
  background: var(--teal-500); color: #fff; border-color: var(--teal-500);
}
.services .details h3 {
  font-weight: 700; margin: 0 0 10px; font-size: 1.2rem;
  transition: color 0.2s ease; color: var(--navy-800);
}
.services .service-item:hover .details h3 { color: var(--teal-700); }
.services .details p {
  color: var(--muted-color); line-height: 1.65;
  font-size: 0.94rem; margin: 0;
}
.services .details .more {
  margin-top: auto; padding-top: 14px; font-size: 0.88rem; font-weight: 600;
  color: var(--teal-600); display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s ease;
}
.services .service-item:hover .details .more { gap: 10px; }

/* Accent CTA tile inside the services grid */
.services .service-cta {
  background: linear-gradient(150deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: #fff; height: 100%; min-height: 260px;
  border-radius: var(--r-lg); border: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 34px 26px; box-shadow: var(--shadow-md);
  transition: transform 0.25s ease;
  position: relative; overflow: hidden;
}
.services .service-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.services .service-cta > div { position: relative; z-index: 1; }
.services .service-cta:hover { transform: translateY(-4px); }
.services .service-cta .cta-icon i { font-size: 2.2rem; line-height: 1; color: var(--teal-400); }
.services .service-cta h3 { color: #fff; font-weight: 700; margin: 14px 0 8px; font-size: 1.25rem; }
.services .service-cta p { color: var(--steel-300); font-size: 0.94rem; margin-bottom: 20px; }
.services .service-cta .cta-btn2 {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-500); color: #fff; font-weight: 600;
  padding: 11px 24px; border-radius: var(--r-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}
.services .service-cta .cta-btn2:hover {
  background: var(--amber-600); color: #fff; transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Process steps (replaces the old keyword block)
--------------------------------------------------------------*/
.process .process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.process .step {
  background: var(--surface-color);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.process .step:hover { border-color: var(--teal-400); box-shadow: var(--shadow-sm); }
.process .step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono-font);
  font-size: 0.78rem; font-weight: 600;
  color: var(--teal-600);
  letter-spacing: 0.08em;
  display: block; margin-bottom: 12px;
}
.process .step h3 { font-size: 1.08rem; margin: 0 0 8px; color: var(--navy-800); }
.process .step p { font-size: 0.92rem; color: var(--muted-color); margin: 0; line-height: 1.6; }
.process .step .step-tags {
  margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px;
}
.process .step .step-tags span {
  font-family: var(--mono-font); font-size: 0.7rem;
  background: var(--steel-50); border: 1px solid var(--steel-200);
  color: var(--steel-600); padding: 3px 8px; border-radius: var(--r-sm);
}

/* Legacy featured-services block kept compatible */
.featured-services .service-item {
  padding: 26px 24px; height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.featured-services .service-item .icon { margin-bottom: 12px; }
.featured-services .service-item .icon i { color: var(--teal-600); font-size: 2rem; }
.featured-services .service-item h4 { font-weight: 700; margin-bottom: 10px; font-size: 1.1rem; }
.featured-services .service-item h4 a { color: var(--navy-800); }
.featured-services .service-item p { line-height: 1.65; font-size: 0.92rem; margin-bottom: 0; color: var(--muted-color); }
.featured-services .service-item:hover {
  transform: translateY(-4px); border-color: var(--teal-400); box-shadow: var(--shadow-md);
}
.featured-services .service-item:hover h4 a { color: var(--teal-700); }

/*--------------------------------------------------------------
# Capability / spec table
--------------------------------------------------------------*/
.spec-table {
  width: 100%;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-color);
}
.spec-table .spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  border-top: 1px solid var(--steel-100);
}
.spec-table .spec-row:first-child { border-top: 0; }
.spec-table .spec-k {
  padding: 12px 16px; font-size: 0.88rem; font-weight: 600;
  color: var(--navy-700); background: var(--steel-50);
}
.spec-table .spec-v {
  padding: 12px 16px; font-size: 0.88rem; color: var(--default-color);
  font-family: var(--mono-font);
}
@media (max-width: 575px) {
  .spec-table .spec-row { grid-template-columns: 1fr; }
  .spec-table .spec-v { padding-top: 0; }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .about-img { position: relative; margin: 0; }
.about .about-img:before { content: none; }
.about .about-img img {
  position: relative; z-index: 2;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
/* This heading carried an inline font-size:48px that overflowed phones.
   Same 48px on desktop, scales down on small screens. */
.about .container.text-center > h2 { font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem); }
.about h3 { font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); margin-bottom: 18px; }
.about .nav-pills {
  border-bottom: 1px solid var(--steel-200);
  gap: 0;
}
.about .nav-pills li + li { margin-left: 28px; }
.about .nav-link {
  background: none; font-size: 1rem; font-weight: 600;
  color: var(--steel-500); padding: 12px 0; margin-bottom: -1px;
  border-radius: 0; border-bottom: 3px solid transparent;
}
.about .nav-link:hover { color: var(--navy-700); }
.about .nav-link.active {
  color: var(--teal-700); background: none; border-bottom-color: var(--teal-500);
}
@media (max-width: 575px) {
  .about .nav-link { font-size: 0.92rem; }
  .about .nav-pills li + li { margin-left: 18px; }
}
.about .tab-content h4 {
  font-size: 1.02rem; margin: 0; font-weight: 700; color: var(--navy-800);
}
.about .tab-content i { font-size: 1.2rem; line-height: 0; margin-right: 8px; color: var(--teal-600); }
.about .tab-content p { color: var(--muted-color); font-size: 0.95rem; }

/*--------------------------------------------------------------
# Certifications — real, verifiable credentials
--------------------------------------------------------------*/
.certifications { background: var(--steel-50); }
.certifications .cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.certifications .cert-card {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}
.certifications .cert-card:hover {
  border-color: var(--teal-400); box-shadow: var(--shadow-md); transform: translateY(-4px);
}
.certifications .cert-std {
  font-family: var(--mono-font);
  font-size: 1.15rem; font-weight: 600; color: var(--navy-800);
  letter-spacing: -0.02em;
}
.certifications .cert-name {
  font-size: 0.95rem; font-weight: 600; color: var(--navy-700); margin: 0;
}
.certifications .cert-meta {
  font-family: var(--mono-font); font-size: 0.74rem;
  color: var(--steel-500); line-height: 1.6; margin-top: 6px;
}
.certifications .cert-meta b { color: var(--steel-600); font-weight: 500; }
.certifications .cert-dl {
  margin-top: auto; padding-top: 14px;
  font-size: 0.85rem; font-weight: 600; color: var(--teal-600);
  display: inline-flex; align-items: center; gap: 7px;
}
.certifications .cert-card:hover .cert-dl { gap: 11px; }
.certifications .cert-tick {
  position: absolute; top: 18px; right: 18px;
  color: var(--ok-500); font-size: 1.05rem;
}

/* Standards row */
.std-row {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px;
}
.std-row .std {
  font-family: var(--mono-font); font-size: 0.78rem; font-weight: 500;
  background: #fff; border: 1px solid var(--steel-200);
  color: var(--navy-700); padding: 7px 14px; border-radius: var(--r-sm);
}

/* Legacy seal styles retained for pages still using them */
.certifications .cert-badge { text-align: center; padding: 18px 10px; height: 100%; }
.certifications .cert-seal {
  width: auto; height: auto; margin: 0 auto 14px; border: none;
  box-shadow: none; background: none;
  display: flex; align-items: center; justify-content: center;
}
.certifications .cert-svg {
  width: 112px; height: auto; display: block;
  filter: drop-shadow(0 6px 14px rgb(8 25 43 / 0.16));
  transition: transform 0.25s ease;
}
.certifications .cert-badge:hover .cert-svg { transform: translateY(-5px) scale(1.02); }
.certifications .cert-badge h3 {
  font-size: 0.95rem; font-weight: 600; color: var(--navy-700); margin: 0; line-height: 1.35;
}

/*--------------------------------------------------------------
# Quote CTA band
--------------------------------------------------------------*/
.cta-quote.section { padding-top: 0; }
.cta-quote .cta-quote-inner {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: #fff; border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-quote .cta-quote-inner::before {
  /* Decorative grid. It is positioned, so it paints above the non-positioned button;
     without pointer-events: none every click on the quote button landed here. */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 100% at 90% 50%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 90% 50%, #000 10%, transparent 75%);
}
.cta-quote .cta-quote-inner > .row { position: relative; z-index: 1; }
.cta-quote h3 { color: #fff; font-weight: 700; margin-bottom: 8px; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); }
.cta-quote p { color: var(--steel-300); margin-bottom: 0; }
.cta-quote .btn {
  background: var(--amber-500); color: #fff; border: none;
  border-radius: var(--r-sm); padding: 14px 28px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 9px;
  /* Was nowrap: longer translations (ka, el, ar, es, ru, bg) ran past the column at
     992-1230px and on narrow phones, and .cta-quote-inner's overflow cut the label off.
     Wraps only when the label does not fit, so single-line buttons look the same. */
  max-width: 100%; text-align: center; text-wrap: balance;
  box-shadow: 0 8px 22px rgb(180 83 9 / 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta-quote .btn:hover { background: var(--amber-600); color: #fff; transform: translateY(-2px); }
@media (max-width: 575px) {
  .cta-quote .cta-quote-inner { text-align: center; }
  .cta-quote .btn { width: 100%; justify-content: center; }
}

/*--------------------------------------------------------------
# Call to action / feature spotlight
--------------------------------------------------------------*/
.call-to-action { padding: var(--sp-section) 0; }
.call-to-action .container {
  padding: clamp(32px, 5vw, 64px);
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
}
.call-to-action .content h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 700;
}
.call-to-action .content h3 em { font-style: normal; position: relative; z-index: 1; }
.call-to-action .content h3 em:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 8px; background: var(--teal-100); z-index: -1;
}
.call-to-action .content p { color: var(--muted-color); font-weight: 400; font-size: 1rem; }
.call-to-action .content .cta-btn {
  color: #fff; font-weight: 600; font-size: 0.97rem;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: var(--r-sm);
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 10px; background: var(--navy-700);
}
.call-to-action .content .cta-btn:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); }
.call-to-action .img { position: relative; }
.call-to-action .img:before, .call-to-action .img:after { content: none; }
.call-to-action .img img {
  position: relative; z-index: 3; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}

/*--------------------------------------------------------------
# Onfocus
--------------------------------------------------------------*/
.onfocus { padding: 0; }
.onfocus .content {
  background: transparent;
  padding: clamp(32px, 5vw, 72px);
}
.onfocus .content h3 { font-weight: 700; font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); color: #fff; }
.onfocus .content p.fst-italic { color: var(--steel-300); }
.onfocus .content ul { list-style: none; padding: 0; margin-top: 20px; }
.onfocus .content ul li {
  padding-bottom: 10px; display: flex; align-items: flex-start; gap: 10px;
  color: #e6edf5;
}
.onfocus .content ul i { font-size: 1.15rem; color: var(--teal-400); flex-shrink: 0; margin-top: 3px; }
.onfocus .content p:last-child { margin-bottom: 0; }
.onfocus .img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/*--------------------------------------------------------------
# Features tabs
--------------------------------------------------------------*/
.features .nav-tabs { border: 0; }
.features .nav-link {
  background-color: var(--surface-color);
  color: var(--navy-700);
  border: 1px solid var(--steel-200);
  padding: 20px 16px;
  box-shadow: none;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer; height: 100%;
}
.features .nav-link i { font-size: 1.6rem; line-height: 1; }
.features .nav-link h4 { font-size: 0.98rem; font-weight: 600; margin: 0; text-align: center; }
.features .nav-link:hover { color: var(--teal-700); border-color: var(--teal-400); }
.features .nav-link.active {
  background: var(--navy-700); color: #fff !important; border-color: var(--navy-700);
}
.features .nav-link.active h4 { color: #fff; }
.features .nav-link.active i { color: var(--teal-400) !important; }
.features .tab-content { margin-top: 28px; }
.features .tab-pane.active { animation: fadeIn 0.4s ease-out; }
.features .tab-pane h3 { font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); }
.features .tab-pane ul { list-style: none; padding: 0; }
.features .tab-pane ul li {
  padding-bottom: 12px; display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; color: var(--default-color);
}
.features .tab-pane ul i { font-size: 1.15rem; color: var(--teal-600); flex-shrink: 0; margin-top: 4px; }
.features .tab-pane p { color: var(--muted-color); font-size: 0.97rem; }
.features .tab-pane p:last-child { margin-bottom: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio { padding: var(--sp-section) 0; background: var(--steel-50); }
.portfolio-filters {
  list-style: none; padding: 0; margin: 0 0 32px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.portfolio-filters li {
  cursor: pointer; padding: 8px 18px;
  background: #fff; border: 1px solid var(--steel-200);
  border-radius: var(--r-pill);
  transition: all 0.2s ease;
  font-weight: 600; font-size: 0.88rem; color: var(--steel-600);
}
.portfolio-filters li:hover { border-color: var(--teal-400); color: var(--teal-700); }
.portfolio-filters li.active {
  color: #fff; background: var(--navy-700); border-color: var(--navy-700);
}
.portfolio-item {
  position: relative; overflow: hidden; margin-bottom: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-content {
  position: relative; height: 100%;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--steel-200); background: #fff;
}
.portfolio-content img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform 0.4s ease; display: block;
}
.portfolio-item:hover { transform: translateY(-4px); }
.portfolio-item:hover .portfolio-content { box-shadow: var(--shadow-md); border-color: var(--teal-400); }
.portfolio-info {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, rgb(8 25 43 / 0.85), transparent);
  padding: 18px; transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex; justify-content: flex-end;
}
.portfolio-item:hover .portfolio-info { transform: translateY(0); }
.portfolio-item:hover .portfolio-content img { transform: scale(1.06); }
.portfolio-info .preview-link { margin-left: 0; }
.portfolio-info a { color: #fff; font-size: 1.2rem; margin: 0 6px; }
.portfolio-info a:hover { color: var(--teal-400); }
@media (max-width: 768px) {
  .portfolio-filters { flex-direction: row; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .portfolio-filters li { width: auto; white-space: nowrap; }
  .portfolio-content img { height: 200px; }
}

.glightbox-container .gslide-description { background: rgb(8 25 43 / 0.8); }
.glightbox-container .gnext, .glightbox-container .gprev {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgb(8 25 43 / 0.55); color: #fff; border: none;
  width: 56px; height: 56px; border-radius: 50%; font-size: 24px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; z-index: 99999;
}
.glightbox-container .gnext:hover, .glightbox-container .gprev:hover {
  background: rgb(8 25 43 / 0.85); transform: translateY(-50%) scale(1.08);
}
.glightbox-container .gnext { right: 30px; }
.glightbox-container .gprev { left: 30px; }

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq .faq-list { max-width: 900px; margin: 0 auto; }
.faq .faq-item {
  background: var(--surface-color);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq .faq-item:hover { border-color: var(--teal-400); }
.faq .faq-item.faq-active { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.faq .faq-item h3 {
  margin: 0; padding: 18px 52px 18px 22px;
  font-size: 1.02rem; font-weight: 600; color: var(--navy-800);
  cursor: pointer; position: relative; line-height: 1.5;
}
.faq .faq-item .faq-toggle {
  position: absolute; top: 18px; right: 20px;
  font-size: 1.25rem; color: var(--teal-600);
  cursor: pointer; transition: transform 0.25s ease; line-height: 1.4;
}
.faq .faq-item.faq-active .faq-toggle { transform: rotate(45deg); }
.faq .faq-content {
  display: none; padding: 0 22px 20px;
  color: var(--muted-color); font-size: 0.95rem; line-height: 1.7;
}
.faq .faq-item.faq-active .faq-content { display: block; }
.faq .faq-content p:last-child { margin-bottom: 0; }

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.contact .info h3 { font-weight: 700; font-size: 1.3rem; }
.contact .info p { color: var(--muted-color); margin-bottom: 24px; font-size: 0.95rem; }
.contact .info-item + .info-item {
  padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--steel-100);
}
.contact .info-item i {
  font-size: 1.3rem; color: var(--teal-600); margin-right: 16px; flex-shrink: 0;
}
.contact .info-item h4 { padding: 0; font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.contact .info-item p { padding: 0; margin-bottom: 0; font-size: 0.9rem; color: var(--muted-color); }
.contact .info-item a { color: var(--navy-700); font-weight: 500; }
.contact .info-item a:hover { color: var(--teal-600); }

.contact .php-email-form { width: 100%; }
.contact .php-email-form .form-group { padding-bottom: 8px; }
.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form input[type="tel"],
.contact .php-email-form select,
.contact .php-email-form textarea {
  border-radius: var(--r-sm);
  box-shadow: none;
  font-size: 0.95rem;
  background-color: #fff;
  border: 1px solid var(--steel-200);
  color: var(--default-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact .php-email-form input:focus,
.contact .php-email-form select:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-50);
}
.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form input[type="tel"] { height: 48px; padding: 10px 14px; }
.contact .php-email-form textarea { padding: 12px 14px; min-height: 160px; height: auto; }
.contact .php-email-form button[type="submit"] {
  background: var(--amber-500); color: #fff; border: 0;
  padding: 14px 42px; font-weight: 600; font-size: 0.98rem;
  transition: background 0.2s ease, transform 0.2s ease;
  border-radius: var(--r-sm);
  box-shadow: 0 6px 18px rgb(180 83 9 / 0.26);
}
.contact .php-email-form button[type="submit"]:hover {
  background: var(--amber-600); transform: translateY(-2px);
}
.contact .php-email-form button[type="submit"]:disabled {
  background: var(--steel-400); box-shadow: none; transform: none; cursor: progress;
}
.contact .form-label { font-weight: 600; font-size: 0.88rem; color: var(--navy-700); margin-bottom: 5px; }

.contact-map iframe {
  width: 100%; height: 400px; border: 0; display: block;
  border-radius: var(--r-lg);
  filter: grayscale(0.25) contrast(1.05);
}

/*--------------------------------------------------------------
# Quote form (regas)
--------------------------------------------------------------*/
.quote-box {
  background: var(--surface-color);
  border: 1px solid var(--steel-200);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.quote-box .form-label { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.3rem; color: var(--navy-700); }
.quote-box .req { color: var(--danger-500); }
.quote-note { font-size: 0.85rem; color: var(--muted-color); }
.quote-actions .btn { min-width: 210px; border-radius: var(--r-sm); font-weight: 600; }
.quote-box .form-control, .quote-box .form-select {
  border-radius: var(--r-sm); border: 1px solid var(--steel-200); padding: 10px 14px;
}
.quote-box .form-control:focus, .quote-box .form-select:focus {
  border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-50);
}

/*--------------------------------------------------------------
# Service detail pages
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 22px;
  border: 1px solid var(--steel-200);
  border-radius: var(--r-md);
  margin-bottom: 18px;
}
.service-details .services-list a {
  display: block; line-height: 1.4; padding: 10px 0 10px 14px;
  border-left: 3px solid var(--steel-200);
  margin: 12px 0; color: var(--steel-600);
  font-size: 0.93rem; transition: 0.2s;
}
.service-details .services-list a.active {
  color: var(--navy-800); font-weight: 700; border-color: var(--teal-500);
}
.service-details .services-list a:hover { border-color: var(--teal-400); color: var(--teal-700); }
.service-details .services-img { margin-bottom: 22px; border-radius: var(--r-lg); }
.service-details h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); font-weight: 700; margin-top: 6px; }
.service-details h4 { font-size: 1.1rem; font-weight: 700; }
.service-details p { font-size: 1rem; line-height: 1.75; color: var(--default-color); }
.service-details ul { list-style: none; padding: 0; font-size: 0.97rem; }
.service-details ul li {
  padding: 7px 0; display: flex; align-items: flex-start; gap: 9px; line-height: 1.65;
}
.service-details ul i { font-size: 1.15rem; color: var(--teal-600); flex-shrink: 0; margin-top: 4px; }

/*--------------------------------------------------------------
# Mobile sticky action bar
--------------------------------------------------------------*/
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 996;
  display: none;
  background: rgb(255 255 255 / 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--steel-200);
  box-shadow: 0 -4px 18px rgb(8 25 43 / 0.1);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-cta a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 12px 8px; border-radius: var(--r-sm);
  font-size: 0.88rem; font-weight: 600; line-height: 1;
}
.mobile-cta .mc-quote { background: var(--amber-500); color: #fff; }
.mobile-cta .mc-quote:hover { background: var(--amber-600); color: #fff; }
.mobile-cta .mc-wa { background: #25d366; color: #fff; }
.mobile-cta .mc-wa:hover { color: #fff; filter: brightness(0.95); }
.mobile-cta .mc-tel {
  background: #fff; color: var(--navy-700); border: 1px solid var(--steel-200);
}
@media (max-width: 991px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .scroll-top { bottom: 78px; }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: #cbd6e2;
  background-color: var(--navy-900);
  font-size: 0.92rem;
  position: relative;
}
.footer .footer-top {
  background-color: transparent;
  padding-top: 56px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  padding-bottom: 12px;
}
.footer .footer-about .logo { line-height: 1; margin-bottom: 18px; }
.footer .footer-about .logo img { max-height: 40px; margin-right: 6px; }
.footer .footer-about .logo span {
  color: #fff; font-family: var(--heading-font);
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.01em;
}
.footer .footer-about p { font-size: 0.9rem; color: var(--steel-300); }
.footer h4 {
  font-size: 0.82rem; font-weight: 600; position: relative;
  padding-bottom: 0; margin-bottom: 16px; color: #fff;
  font-family: var(--mono-font); letter-spacing: 0.14em; text-transform: uppercase;
}
.footer h4::after { content: none; }
.footer .footer-links { margin-bottom: 28px; }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul i { padding-right: 2px; font-size: 12px; line-height: 0; }
.footer .footer-links ul li { padding: 7px 0; display: flex; align-items: center; }
.footer .footer-links ul li:first-child { padding-top: 0; }
.footer .footer-links ul a { color: var(--steel-300); display: inline-block; line-height: 1.5; }
.footer .footer-links ul a:hover { color: var(--teal-400); }
.footer .footer-contact p { margin-bottom: 5px; color: var(--steel-300); }
.footer .footer-contact a { color: var(--steel-300); }
.footer .footer-contact a:hover { color: var(--teal-400); }
.footer .copyright { padding: 22px 0; color: var(--steel-400); font-size: 0.85rem; }
.footer .copyright p { margin-bottom: 0; }
.footer .credits { margin-top: 5px; font-size: 0.8rem; }
.footer .social-links a, .footer .social-share-buttons a {
  font-size: 18px; display: inline-flex; align-items: center; justify-content: center;
  background: rgb(255 255 255 / 0.08); color: #fff; line-height: 1;
  margin-right: 6px; border-radius: var(--r-sm); text-align: center;
  width: 38px; height: 38px; transition: background 0.2s ease, transform 0.2s ease;
}
.footer .social-links a:hover, .footer .social-share-buttons a:hover {
  background: var(--teal-600); transform: translateY(-2px);
}
.social-share-buttons { display: flex; gap: 8px; margin: 16px 0; }
.social-share-buttons a { padding: 0; }
.social-share-buttons img { filter: invert(1) brightness(1.6); width: 20px; height: 20px; }
.footer .footer-cert {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.footer .footer-cert span {
  font-family: var(--mono-font); font-size: 0.68rem;
  border: 1px solid rgb(255 255 255 / 0.18); color: var(--steel-300);
  padding: 3px 8px; border-radius: 4px;
}

/*--------------------------------------------------------------
# Preloader / scroll top
--------------------------------------------------------------*/
#preloader {
  position: fixed; inset: 0; z-index: 9999; overflow: hidden;
  background-color: #fff; transition: all 0.5s ease-out;
  width: 100%; height: 100vh;
}
#preloader:before, #preloader:after {
  content: ""; position: absolute;
  border: 4px solid var(--teal-500); border-radius: 50%;
  animation: animate-preloader 1.6s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
#preloader:after { animation-delay: -0.5s; }
@keyframes animate-preloader {
  0% { width: 10px; height: 10px; top: calc(50% - 5px); left: calc(50% - 5px); opacity: 1; }
  100% { width: 72px; height: 72px; top: calc(50% - 36px); left: calc(50% - 36px); opacity: 0; }
}
.scroll-top {
  position: fixed; visibility: hidden; opacity: 0;
  right: 15px; bottom: 15px; z-index: 99999;
  background-color: var(--navy-700); width: 42px; height: 42px;
  border-radius: var(--r-sm); transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top i { font-size: 24px; color: #fff; line-height: 0; }
.scroll-top:hover { background-color: var(--navy-800); }
.scroll-top.active { visibility: visible; opacity: 1; }
@media screen and (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
}

/*--------------------------------------------------------------
# Form status messages
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none; background: var(--danger-500); color: #fff;
  text-align: left; padding: 14px; margin-bottom: 22px;
  font-weight: 600; border-radius: var(--r-sm);
}
.php-email-form .sent-message {
  display: none; color: #fff; background: var(--ok-500);
  text-align: center; padding: 14px; margin-bottom: 22px;
  font-weight: 600; border-radius: var(--r-sm);
}
.php-email-form .loading {
  display: none; background: var(--surface-color);
  text-align: center; padding: 14px; margin-bottom: 22px;
}
.php-email-form .loading:before {
  content: ""; display: inline-block; border-radius: 50%;
  width: 22px; height: 22px; margin: 0 10px -6px 0;
  border: 3px solid var(--teal-500); border-top-color: transparent;
  animation: php-email-form-loading 1s linear infinite;
}
@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Clients (legacy)
--------------------------------------------------------------*/
.clients { padding: 20px 0; }
.clients .client-logo { display: flex; justify-content: center; align-items: center; overflow: hidden; }
.clients .client-logo img {
  padding: 20px 40px; max-width: 90%; transition: 0.3s; opacity: 0.5; filter: grayscale(100);
}
.clients .client-logo img:hover { filter: none; opacity: 1; }

/*--------------------------------------------------------------
# RTL (Arabic)
--------------------------------------------------------------*/
[dir="rtl"] body {
  text-align: right;
  font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, var(--default-font);
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, var(--heading-font);
  letter-spacing: 0;
}
[dir="rtl"] .container, [dir="rtl"] .section, [dir="rtl"] .hero { text-align: right; }
[dir="rtl"] ul { padding-right: 1.1rem; padding-left: 0; }
[dir="rtl"] .service-details ul li i, [dir="rtl"] .services-list a { text-align: right; }
[dir="rtl"] .service-item { text-align: right; }
[dir="rtl"] .hero-cta, [dir="rtl"] .hero-stats, [dir="rtl"] .quote-actions { direction: rtl; }
[dir="rtl"] .breadcrumbs ol { padding-right: 0; }
[dir="rtl"] .footer, [dir="rtl"] .footer .footer-links ul { text-align: right; }
[dir="rtl"] .footer .footer-links ul { padding-right: 0; }
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .trust-bar .trust-item { border-left: 0; border-right: 1px solid rgb(255 255 255 / 0.1); }
[dir="rtl"] .trust-bar .trust-item:nth-child(3n + 1) { border-right: 0; }
@media (max-width: 991px) {
  [dir="rtl"] .trust-bar .trust-item:nth-child(3n + 1) { border-right: 1px solid rgb(255 255 255 / 0.1); }
  [dir="rtl"] .trust-bar .trust-item:nth-child(odd) { border-right: 0; }
}
[dir="rtl"] .process .step::before, [dir="rtl"] .certifications .cert-meta { direction: ltr; text-align: right; }
[dir="rtl"] .service-details .services-list a { border-left: 0; border-right: 3px solid var(--steel-200); padding: 10px 14px 10px 0; }
[dir="rtl"] .service-details .services-list a.active { border-right-color: var(--teal-500); }
[dir="rtl"] .me-auto { margin-left: auto !important; margin-right: 0 !important; }
[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
[dir="rtl"] .me-xl-0 { margin-left: 0 !important; }
[dir="rtl"] .text-lg-end { text-align: left !important; }
[dir="rtl"] .quote-box { text-align: right; }
[dir="rtl"] .form-control, [dir="rtl"] .form-select { text-align: right; }
[dir="rtl"] .faq .faq-item h3 { padding: 18px 22px 18px 52px; }
[dir="rtl"] .faq .faq-item .faq-toggle { right: auto; left: 20px; }

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
.hide-section {
  display: none !important; visibility: hidden !important;
  opacity: 0 !important; height: 0 !important; overflow: hidden !important;
}
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10000;
  background: var(--navy-800); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
