/* ==========================================================================
   ASAV  —  Main Stylesheet
   Plain CSS on top of Bootstrap 5.3.  No build step, no preprocessor.
   Brand colours are sampled from the ASAV logo (slate #526B8A / orange #FF7F26).
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design tokens (variables)
   02. Base & typography
   03. Buttons & links
   04. Top utility bar
   05. Header / navbar
   06. MEGA MENU (desktop)
   07. Mobile navigation (offcanvas + accordion)
   08. Hero / sliders
   09. Page hero & breadcrumbs
   10. Section headings
   11. Cards
   12. Stats & counters
   13. Process steps
   14. Industries strip
   15. Testimonials
   16. Logo marquee (clients)
   17. Portfolio grid & filters
   18. Accordion / FAQ
   19. Forms
   20. CTA band
   21. Footer
   22. Back-to-top & helpers
   23. Animations (scroll reveal)
   24. Responsive overrides
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   Change the two brand colours here and the whole site follows.
   ========================================================================== */
:root {
  color-scheme: light;

  /* ---- BRAND (sampled straight from the ASAV logo) ---------------------
     Logo slate blue .... #526B8A   →  --brand-500
     Logo orange dot .... #FF7F26   →  --accent-500
     Change these two and the entire site re-themes.                      */
  --brand-900: #16202C;   /* deepest  — footer                            */
  --brand-800: #223040;   /* dark     — headings, dark sections           */
  --brand-700: #33455C;
  --brand-600: #425774;
  --brand-500: #526B8A;   /* ★ logo slate blue                            */
  --brand-400: #6D85A3;
  --brand-300: #93A6BE;
  --brand-200: #C3CEDC;
  --brand-100: #E7ECF3;
  --brand-050: #F4F7FA;

  --accent-700: #C25200;
  --accent-600: #E5661A;  /* hover                                        */
  --accent-500: #FF7F26;  /* ★ logo orange dot                            */
  --accent-400: #FF9A55;
  --accent-300: #FFB484;
  --accent-100: #FFF0E5;

  /* ---- Neutrals (very slightly cooled to match the brand hue) --------- */
  --ink-900: #111820;
  --ink-700: #37424F;
  --ink-600: #55616F;
  --ink-500: #74808E;
  --ink-400: #9AA5B2;
  --ink-300: #C6CED8;
  --ink-200: #E3E8EE;
  --ink-100: #F0F3F7;
  --ink-050: #F7F9FB;
  --white: #ffffff;

  /* ---- Semantic aliases ----------------------------------------------- */
  --bs-primary: #526B8A;
  --brand: var(--brand-500);
  --accent: var(--accent-500);
  --body-color: var(--ink-700);
  --heading-color: var(--brand-800);

  /* ---- Type ------------------------------------------------------------ */
  --ff-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ff-head: "Barlow", "Inter", "Segoe UI", system-ui, sans-serif;

  /* ---- Layout ---------------------------------------------------------- */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(22, 32, 44, .06);
  --shadow-sm: 0 2px 8px rgba(22, 32, 44, .08);
  --shadow: 0 8px 24px rgba(22, 32, 44, .10);
  --shadow-lg: 0 18px 48px rgba(22, 32, 44, .16);

  --topbar-h: 40px;
  --header-h: 78px;
  --header-h-sticky: 66px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}


/* ==========================================================================
   02. BASE & TYPOGRAPHY
   ========================================================================== */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body-color);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ff-head);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
  margin-bottom: .6em;
}

h1, .h1 { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); }
h2, .h2 { font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.65rem); }
h4, .h4 { font-size: 1.2rem; }
h5, .h5 { font-size: 1.05rem; }
h6, .h6 { font-size: .95rem; }

p { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.03rem, .98rem + .3vw, 1.18rem);
  line-height: 1.75;
  color: var(--ink-600);
  font-weight: 400;
}

.text-accent { color: var(--accent-500) !important; }
.text-brand { color: var(--brand-800) !important; }
.text-muted-2 { color: var(--ink-500) !important; }

.bg-brand { background-color: var(--brand-800) !important; }
.bg-brand-dark { background-color: var(--brand-900) !important; }
.bg-accent { background-color: var(--accent-500) !important; }
.bg-soft { background-color: var(--ink-050) !important; }
.bg-soft-2 { background-color: var(--ink-100) !important; }
.bg-accent-soft { background-color: var(--accent-100) !important; }

.fw-800 { font-weight: 800 !important; }
.ls-wide { letter-spacing: .12em; }

.section { padding: clamp(3.25rem, 2rem + 4.5vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 1.75rem + 3vw, 4rem) 0; }
.section-tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }

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

::selection { background: var(--accent-500); color: #fff; }

/* Nice focus ring for keyboard users only */
:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 2px;
  border-radius: 3px;
}


/* ==========================================================================
   03. BUTTONS & LINKS
   ========================================================================== */
a { color: var(--brand-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-500); }

.btn {
  --btn-py: .72rem;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: var(--btn-py) 1.5rem;
  border-radius: var(--radius-sm);
  border-width: 2px;
  transition: all .25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  line-height: 1.35;
}

.btn-lg { --btn-py: .9rem; font-size: 1.02rem; padding-inline: 1.9rem; }
.btn-sm { --btn-py: .5rem; font-size: .85rem; padding-inline: 1.1rem; }

.btn-accent {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 127, 38, .28);
}
.btn-accent:hover, .btn-accent:focus {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 127, 38, .34);
}

.btn-brand {
  background: var(--brand-800);
  border-color: var(--brand-800);
  color: #fff;
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--brand-900);
  border-color: var(--brand-900);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-brand {
  background: transparent;
  border-color: var(--brand-800);
  color: var(--brand-800);
}
.btn-outline-brand:hover, .btn-outline-brand:focus {
  background: var(--brand-800);
  color: #fff;
}

.btn-outline-light-2 {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}
.btn-outline-light-2:hover, .btn-outline-light-2:focus {
  background: #fff;
  border-color: #fff;
  color: var(--brand-800);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--brand-800);
  padding-inline: .25rem;
}
.btn-ghost:hover { color: var(--accent-500); gap: .8rem; }

/* Animated arrow link */
.link-arrow {
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--brand-800);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.link-arrow svg { transition: transform .25s var(--ease); flex: 0 0 auto; }
.link-arrow:hover { color: var(--accent-500); }
.link-arrow:hover svg { transform: translateX(5px); }


/* ==========================================================================
   04. TOP UTILITY BAR
   ========================================================================== */
.topbar {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .8);
  font-size: .83rem;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--accent-400); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .tb-sep { color: rgba(255, 255, 255, .22); }
.topbar .tb-social a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  transition: all .2s var(--ease);
}
.topbar .tb-social a:hover { background: var(--accent-500); color: #fff; transform: translateY(-2px); }


/* ==========================================================================
   05. HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;
  box-shadow: 0 1px 0 var(--ink-200);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow); }

.nav-wrap {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height .25s var(--ease);
}
.site-header.is-stuck .nav-wrap { min-height: var(--header-h-sticky); }

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 0 0 auto;
  padding-block: .5rem;
}
.brand img, .brand svg { height: 42px; width: auto; display: block; transition: height .25s var(--ease); }
.site-header.is-stuck .brand img,
.site-header.is-stuck .brand svg { height: 36px; }

/* Primary nav (desktop) */
.mainnav { display: none; }

@media (min-width: 992px) {
  .mainnav {
    display: flex;
    align-items: stretch;
    margin-left: auto;
    gap: 0;
  }
  .mainnav > li { list-style: none; display: flex; align-items: stretch; position: relative; }
  .mainnav > li > a {
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: .97rem;
    letter-spacing: .005em;
    color: var(--brand-800);
    padding: 0 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    position: relative;
  }
  .mainnav > li > a::after {
    content: "";
    position: absolute;
    left: 1.05rem; right: 1.05rem; bottom: 20px;
    height: 2px;
    background: var(--accent-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s var(--ease-out);
  }
  .mainnav > li > a:hover,
  .mainnav > li.is-open > a,
  .mainnav > li.active > a { color: var(--accent-500); }
  .mainnav > li > a:hover::after,
  .mainnav > li.is-open > a::after,
  .mainnav > li.active > a::after { transform: scaleX(1); }

  .mainnav .caret {
    width: 10px; height: 10px;
    transition: transform .28s var(--ease);
    flex: 0 0 auto;
  }
  .mainnav > li.is-open .caret { transform: rotate(180deg); }
}

/* Header right-hand actions */
.header-actions { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }
.header-cta { display: none; }
@media (min-width: 1200px) {
  .header-cta { display: inline-flex; }
}

.header-phone {
  display: none;
  align-items: center;
  gap: .6rem;
  padding-left: 1rem;
  margin-left: .25rem;
  border-left: 1px solid var(--ink-200);
}
@media (min-width: 1400px) { .header-phone { display: flex; } }
.header-phone .hp-ico {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-500);
}
.header-phone .hp-label { font-size: .72rem; color: var(--ink-500); line-height: 1; text-transform: uppercase; letter-spacing: .08em; }
.header-phone .hp-num { font-family: var(--ff-head); font-weight: 700; font-size: .98rem; color: var(--brand-800); line-height: 1.3; }

/* Hamburger */
.navbar-toggler-custom {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 42px;
  padding: 0 10px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.navbar-toggler-custom span {
  display: block; height: 2px; width: 100%;
  background: var(--brand-800);
  border-radius: 2px;
  transition: all .25s var(--ease);
}
.navbar-toggler-custom span:nth-child(2) { width: 72%; }
.navbar-toggler-custom:hover span { background: var(--accent-500); }
@media (min-width: 992px) { .navbar-toggler-custom { display: none; } }


/* ==========================================================================
   06. MEGA MENU (desktop)
   Matches the reference: orange category headings, sub-service links with
   hairline separators, laid out in a wide full-bleed panel.
   ========================================================================== */
/* The panel has to stay a direct child of the <li> (hover/focus behaviour
   depends on it) yet still span the whole viewport. Making the <li> a
   non-positioned box hands the containing block up to .site-header, so
   top:100% lands just under the header and left/width span full width. */
@media (min-width: 992px) {
  .mainnav > li.has-mega { position: static; }
}

.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1035;
  background: #fff;
  border-top: 1px solid var(--ink-200);
  border-bottom: 4px solid var(--accent-500);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .24s var(--ease), transform .28s var(--ease-out), visibility .24s;
  max-height: calc(100vh - var(--header-h) - 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: none;
}

@media (min-width: 992px) {
  .megamenu { display: block; }
  .has-mega.is-open > .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.megamenu-inner {
  padding: 2.1rem 0 1.75rem;
}

/* 9 categories → tidy 3 × 3 grid on wide screens */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2.25rem;
}
@media (min-width: 1400px) {
  .mega-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem 2rem; }
}

.mega-col { min-width: 0; }

.mega-title {
  font-family: var(--ff-head);
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--accent-500);
  margin: 0 0 .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mega-title a { color: inherit; }
.mega-title a:hover { color: var(--accent-600); }
.mega-title .mt-ico {
  width: 26px; height: 26px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--accent-100);
  color: var(--accent-500);
}
.mega-title .badge-new {
  font-family: var(--ff-sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: var(--brand-800);
  color: #fff;
  padding: .18rem .38rem;
  border-radius: 3px;
  line-height: 1;
}

.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list li { border-bottom: 1px solid var(--ink-200); }
.mega-list li:last-child { border-bottom: 0; }
.mega-list a {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .46rem 0 .46rem .1rem;
  font-size: .905rem;
  line-height: 1.4;
  color: var(--ink-700);
  position: relative;
  transition: color .18s var(--ease), padding-left .22s var(--ease);
}
.mega-list a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1.5px;
  background: var(--accent-500);
  transform: translateY(-50%);
  transition: width .22s var(--ease);
}
.mega-list a:hover {
  color: var(--accent-500);
  padding-left: 1.05rem;
}
.mega-list a:hover::before { width: .7rem; }

/* Promo footer strip inside the mega panel */
.mega-foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mega-foot-text { font-size: .9rem; color: var(--ink-600); }
.mega-foot-text strong { color: var(--brand-800); font-family: var(--ff-head); }

.mega-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.mega-chip {
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 100px;
  background: var(--ink-100);
  color: var(--ink-600);
  transition: all .2s var(--ease);
}
.mega-chip:hover { background: var(--brand-800); color: #fff; }

/* Dim the page behind an open mega menu */
.mega-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(13, 20, 28, .38);
  backdrop-filter: blur(1.5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
  z-index: 1030;
}
body.mega-open .mega-backdrop { opacity: 1; visibility: visible; }
@media (max-width: 991.98px) { .mega-backdrop { display: none; } }

/* Simple (non-mega) dropdown, used for smaller menus */
.subnav {
  position: absolute;
  top: 100%; left: 0;
  min-width: 230px;
  background: #fff;
  border-top: 3px solid var(--accent-500);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .5rem 0;
  list-style: none;
  margin: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: all .24s var(--ease);
  z-index: 1035;
  display: none;
}
@media (min-width: 992px) {
  .subnav { display: block; }
  .has-sub.is-open > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
}
.subnav a {
  display: block;
  padding: .55rem 1.15rem;
  font-size: .9rem;
  color: var(--ink-700);
}
.subnav a:hover { background: var(--ink-050); color: var(--accent-500); padding-left: 1.45rem; }


/* ==========================================================================
   07. MOBILE NAVIGATION  (offcanvas + nested accordion)
   ========================================================================== */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 88vw);
  background: #fff;
  z-index: 1085;
  transform: translateX(102%);
  transition: transform .38s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(13, 20, 28, .2);
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--ink-200);
  flex: 0 0 auto;
}
.mobile-nav-head img, .mobile-nav-head svg { height: 34px; width: auto; }

.mnav-close {
  width: 38px; height: 38px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  background: #fff;
  display: grid; place-items: center;
  color: var(--brand-800);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.mnav-close:hover { background: var(--accent-500); border-color: var(--accent-500); color: #fff; }

.mobile-nav-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.mnav { list-style: none; margin: 0; padding: 0; }
.mnav li { border-bottom: 1px solid var(--ink-200); }

.mnav > li > a,
.mnav .mnav-toggle {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-800);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.mnav .mnav-toggle .chev {
  width: 16px; height: 16px; flex: 0 0 auto;
  color: var(--ink-400);
  transition: transform .3s var(--ease);
}
.mnav .mnav-toggle[aria-expanded="true"] { color: var(--accent-500); }
.mnav .mnav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--accent-500); }

/* Collapsible panel — animated via max-height set in JS */
.mnav-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
  background: var(--ink-050);
}
.mnav-panel > ul { list-style: none; margin: 0; padding: 0; }
.mnav-panel > ul > li { border-bottom: 1px solid var(--ink-200); }
.mnav-panel > ul > li:last-child { border-bottom: 0; }

/* Level 2 — service category */
.mnav-sub-toggle {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent-500);
  padding: .7rem 1.1rem .7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem;
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
}
.mnav-sub-toggle .chev { width: 14px; height: 14px; flex: 0 0 auto; transition: transform .3s var(--ease); }
.mnav-sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Level 3 — sub-services */
.mnav-sub-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s var(--ease);
  background: #fff;
}
.mnav-sub-panel ul { list-style: none; margin: 0; padding: .25rem 0 .5rem; }
.mnav-sub-panel a {
  display: block;
  padding: .48rem 1.1rem .48rem 2.1rem;
  font-size: .875rem;
  color: var(--ink-600);
  position: relative;
}
.mnav-sub-panel a::before {
  content: "";
  position: absolute; left: 1.5rem; top: 1.05rem;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-300);
}
.mnav-sub-panel a:hover { color: var(--accent-500); }
.mnav-sub-panel a:hover::before { background: var(--accent-500); }

.mobile-nav-foot {
  flex: 0 0 auto;
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid var(--ink-200);
  background: var(--ink-050);
}
.mobile-nav-foot .mnf-row { display: flex; align-items: center; gap: .6rem; font-size: .88rem; margin-bottom: .5rem; }
.mobile-nav-foot .mnf-row svg { color: var(--accent-500); flex: 0 0 auto; }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(13, 20, 28, .5);
  z-index: 1080;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
body.mnav-open .nav-backdrop { opacity: 1; visibility: visible; }
body.mnav-open { overflow: hidden; }


/* ==========================================================================
   08. HERO / SLIDERS
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(115deg, var(--brand-900) 0%, var(--brand-800) 46%, var(--brand-700) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/pattern-grid.svg");
  background-size: 560px;
  opacity: .5;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  right: -14%; top: -28%;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 127, 38, .3), transparent 62%);
  z-index: -1;
  pointer-events: none;
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .82); }

.hero-slides { position: relative; }
.hero-slide {
  display: none;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem);
}
.hero-slide.is-active { display: block; animation: heroIn .7s var(--ease-out) both; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-400);
  background: rgba(255, 127, 38, .12);
  border: 1px solid rgba(255, 127, 38, .3);
  padding: .4rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.15rem;
}

.hero-dots {
  display: flex; gap: .5rem;
  padding: 0 0 2.25rem;
  margin: 0; list-style: none;
}
.hero-dots button {
  width: 30px; height: 6px;
  border: 0; padding: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.hero-dots button[aria-selected="true"] { background: var(--accent-500); width: 52px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2.25rem;
}
@media (min-width: 576px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats > div {
  background: rgba(22, 32, 44, .55);
  padding: 1.1rem .9rem;
  text-align: center;
}
.hero-stats .hs-num {
  font-family: var(--ff-head);
  font-size: 1.6rem; font-weight: 800;
  color: #fff; line-height: 1.1;
}
.hero-stats .hs-lab {
  font-size: .74rem; text-transform: uppercase;
  letter-spacing: .09em; color: rgba(255, 255, 255, .62);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .14);
}
.hero-visual img { display: block; width: 100%; }

.hero-float {
  position: absolute;
  background: #fff;
  color: var(--brand-800);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .8rem 1rem;
  display: flex; align-items: center; gap: .7rem;
  font-size: .84rem;
  animation: floatY 4.5s ease-in-out infinite;
}
.hero-float .hf-ico {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 8px; background: var(--accent-100); color: var(--accent-500);
}
.hero-float strong { display: block; font-family: var(--ff-head); font-size: .95rem; line-height: 1.2; }
.hero-float span { color: var(--ink-500); font-size: .76rem; }
.hero-float.hf-1 { bottom: 1.25rem; left: -1rem; }
.hero-float.hf-2 { top: 1.25rem; right: -1rem; animation-delay: -2.2s; }
@media (max-width: 767.98px) { .hero-float { display: none; } }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* ==========================================================================
   09. PAGE HERO & BREADCRUMBS
   ========================================================================== */
.page-hero {
  position: relative;
  background: linear-gradient(112deg, var(--brand-900), var(--brand-700));
  color: #fff;
  padding-block: clamp(2.75rem, 1.75rem + 4vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/pattern-grid.svg");
  background-size: 480px;
  opacity: .45;
  z-index: -1;
}
.page-hero::after {
  content: "";
  position: absolute; right: -6%; bottom: -60%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 127, 38, .26), transparent 65%);
  z-index: -1;
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero .lead { color: rgba(255, 255, 255, .8); max-width: 62ch; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .4rem .55rem;
  list-style: none; margin: 0 0 1rem; padding: 0;
  font-size: .84rem;
}
.crumbs li { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: var(--accent-400); }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .3); }
.crumbs li[aria-current] { color: var(--accent-400); }


/* ==========================================================================
   10. SECTION HEADINGS
   ========================================================================== */
.sec-head { margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); }
.sec-head.center { text-align: center; margin-inline: auto; max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: .7rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--accent-500); flex: 0 0 auto;
}
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::after {
  content: ""; width: 26px; height: 2px; background: var(--accent-500);
}
.on-dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--accent-400); }
.on-dark h2, .on-dark h3, .on-dark p { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(255, 255, 255, .8); }


/* ==========================================================================
   11. CARDS
   ========================================================================== */
.card-svc {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: all .3s var(--ease);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card-svc::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 3px; background: var(--accent-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.card-svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-svc:hover::after { transform: scaleX(1); }

.card-svc .svc-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-800);
  color: #fff;
  margin-bottom: 1.05rem;
  transition: all .3s var(--ease);
  flex: 0 0 auto;
}
.card-svc:hover .svc-ico { background: var(--accent-500); transform: rotate(-6deg) scale(1.06); }
.card-svc h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.card-svc p { font-size: .92rem; color: var(--ink-600); margin-bottom: .9rem; }

.svc-links { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.svc-links li { margin-bottom: .3rem; }
.svc-links a {
  font-size: .87rem; color: var(--ink-600);
  display: inline-flex; align-items: center; gap: .4rem;
}
.svc-links a::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-300); flex: 0 0 auto; transition: background .2s;
}
.svc-links a:hover { color: var(--accent-500); }
.svc-links a:hover::before { background: var(--accent-500); }

.card-svc .mt-auto-link { margin-top: auto; }

/* "NEW" ribbon for the UFH card */
.card-svc.is-featured { border-color: var(--accent-400); background: linear-gradient(180deg, var(--accent-100), #fff 42%); }
.card-svc.is-featured::after { transform: scaleX(1); }
.ribbon-new {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--ff-sans);
  font-size: .62rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent-500); color: #fff;
  padding: .25rem .5rem; border-radius: 3px;
}

/* Simple feature tile */
.tile {
  height: 100%;
  padding: 1.5rem 1.3rem;
  border-radius: var(--radius);
  background: var(--ink-050);
  border: 1px solid var(--ink-200);
  transition: all .3s var(--ease);
}
.tile:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.tile .t-ico {
  width: 46px; height: 46px; margin-bottom: .9rem;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #fff; color: var(--accent-500);
  box-shadow: var(--shadow-xs);
}
.tile h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.tile p { font-size: .9rem; color: var(--ink-600); margin: 0; }

/* Dark tile (for dark brand sections) */
.tile-dark {
  height: 100%;
  padding: 1.5rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: all .3s var(--ease);
}
.tile-dark:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.tile-dark h4 { color: #fff; font-size: 1.05rem; }
.tile-dark p { color: rgba(255, 255, 255, .72); font-size: .9rem; margin: 0; }
.tile-dark .t-ico {
  width: 46px; height: 46px; margin-bottom: .9rem;
  display: grid; place-items: center; border-radius: 10px;
  background: rgba(255, 127, 38, .16); color: var(--accent-400);
}

/* Team card */
.card-team { text-align: center; }
.card-team .ct-photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: .9rem;
  background: var(--ink-100);
  aspect-ratio: 1 / 1;
}
.card-team .ct-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-team h4 { font-size: 1.02rem; margin-bottom: .15rem; }
.card-team .ct-role { font-size: .84rem; color: var(--accent-500); font-weight: 600; }

/* Job card */
.card-job {
  border: 1px solid var(--ink-200);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  background: #fff;
  transition: all .3s var(--ease);
  height: 100%;
}
.card-job:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-job h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.card-job .job-meta {
  display: flex; flex-wrap: wrap; gap: .4rem .75rem;
  font-size: .82rem; color: var(--ink-500);
  margin-bottom: .8rem;
}
.card-job .job-meta span { display: inline-flex; align-items: center; gap: .35rem; }

/* Contact info card */
.card-contact {
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  height: 100%;
  background: #fff;
  transition: all .3s var(--ease);
}
.card-contact:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.card-contact .cc-ico {
  width: 48px; height: 48px; margin-bottom: .9rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-100); color: var(--accent-500);
}
.card-contact h4 { font-size: 1.02rem; margin-bottom: .35rem; }
.card-contact p, .card-contact a { font-size: .92rem; color: var(--ink-600); }
.card-contact a:hover { color: var(--accent-500); }

/* Bordered checklist */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: .38rem 0 .38rem 1.9rem;
  font-size: .94rem;
  color: var(--ink-600);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .68rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-100) url("../img/check.svg") center / 10px no-repeat;
}
.check-list.on-dark li { color: rgba(255, 255, 255, .8); }
.check-list.on-dark li::before { background-color: rgba(255, 127, 38, .22); }

/* Numbered spec table */
.spec-table { width: 100%; font-size: .93rem; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--ink-200);
  vertical-align: top;
  text-align: left;
}
.spec-table th {
  font-family: var(--ff-head);
  color: var(--brand-800);
  width: 38%;
  background: var(--ink-050);
  font-weight: 600;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* Sidebar widget */
.widget {
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  background: #fff;
  margin-bottom: 1.5rem;
}
.widget h4 {
  font-size: 1.02rem;
  padding-bottom: .7rem;
  margin-bottom: .9rem;
  border-bottom: 2px solid var(--ink-200);
  position: relative;
}
.widget h4::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 46px; height: 2px; background: var(--accent-500);
}
.widget-links { list-style: none; margin: 0; padding: 0; }
.widget-links li + li { border-top: 1px solid var(--ink-200); }
.widget-links a {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; padding: .55rem 0; font-size: .9rem; color: var(--ink-600);
}
.widget-links a:hover { color: var(--accent-500); padding-left: .35rem; }
.widget-links a.is-current { color: var(--accent-500); font-weight: 600; }
.widget-links svg { flex: 0 0 auto; opacity: .5; }

.widget-cta {
  background: linear-gradient(150deg, var(--brand-800), var(--brand-600));
  border: 0; color: #fff;
  text-align: center;
}
.widget-cta h4 { color: #fff; border-bottom-color: rgba(255, 255, 255, .18); }
.widget-cta h4::after { left: 50%; transform: translateX(-50%); }
.widget-cta p { color: rgba(255, 255, 255, .78); font-size: .9rem; }


/* ==========================================================================
   12. STATS & COUNTERS
   ========================================================================== */
.stat {
  text-align: center;
  padding: 1.25rem .75rem;
}
.stat .st-num {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-800);
  display: flex; align-items: baseline; justify-content: center; gap: .1rem;
}
.stat .st-num .suffix { color: var(--accent-500); }
.stat .st-lab {
  font-size: .85rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-top: .45rem;
}
.on-dark .stat .st-num { color: #fff; }
.on-dark .stat .st-lab { color: rgba(255, 255, 255, .62); }

.stat-divider { border-right: 1px solid var(--ink-200); }
.on-dark .stat-divider { border-right-color: rgba(255, 255, 255, .14); }
@media (max-width: 767.98px) { .stat-divider { border-right: 0; } }


/* ==========================================================================
   13. PROCESS STEPS
   ========================================================================== */
.steps { counter-reset: step; position: relative; }
.step {
  position: relative;
  counter-increment: step;
  padding: 1.5rem 1.3rem;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  height: 100%;
  transition: all .3s var(--ease);
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.step::before {
  content: "0" counter(step);
  font-family: var(--ff-head);
  font-size: 2.5rem; font-weight: 800;
  line-height: 1;
  color: var(--ink-200);
  display: block;
  margin-bottom: .6rem;
  transition: color .3s var(--ease);
}
.step:hover::before { color: var(--accent-400); }
.step h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .9rem; color: var(--ink-600); margin: 0; }


/* ==========================================================================
   14. INDUSTRIES STRIP
   ========================================================================== */
.ind-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .95rem 1.1rem;
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-800);
  height: 100%;
  transition: all .28s var(--ease);
}
.ind-item svg { color: var(--accent-500); flex: 0 0 auto; }
.ind-item:hover {
  background: var(--brand-800); color: #fff;
  border-color: var(--brand-800);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.ind-item:hover svg { color: var(--accent-400); }


/* ==========================================================================
   15. TESTIMONIALS
   ========================================================================== */
.quote {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  height: 100%;
  position: relative;
  transition: all .3s var(--ease);
}
.quote:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.quote::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent-100);
  position: absolute; top: .35rem; right: 1rem;
}
.quote .q-stars { color: var(--accent-500); font-size: .9rem; letter-spacing: .12em; margin-bottom: .7rem; }
.quote p { font-size: .95rem; color: var(--ink-600); position: relative; }
.quote .q-who {
  display: flex; align-items: center; gap: .75rem;
  margin-top: 1.15rem; padding-top: 1.15rem;
  border-top: 1px solid var(--ink-200);
}
.quote .q-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-800); color: #fff;
  display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 700; font-size: .95rem;
  flex: 0 0 auto;
}
.quote .q-name { font-family: var(--ff-head); font-weight: 700; font-size: .95rem; color: var(--brand-800); line-height: 1.3; }
.quote .q-role { font-size: .8rem; color: var(--ink-500); }


/* ==========================================================================
   16. LOGO MARQUEE (clients)
   ========================================================================== */
.marquee {
  overflow: hidden;
  position: relative;
  padding-block: .5rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  flex: 0 0 auto;
  display: grid; place-items: center;
  min-width: 150px; height: 58px;
  font-family: var(--ff-head);
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--ink-400);
  filter: grayscale(1);
  opacity: .8;
  transition: all .3s var(--ease);
}
.marquee-item:hover { color: var(--brand-800); filter: none; opacity: 1; }

.logo-cell {
  display: grid; place-items: center;
  height: 92px;
  padding: 1rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--ink-400);
  text-align: center;
  font-size: .98rem;
  transition: all .28s var(--ease);
}
.logo-cell:hover { color: var(--brand-800); box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--accent-400); }


/* ==========================================================================
   17. PORTFOLIO GRID & FILTERS
   ========================================================================== */
.pf-filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.pf-filters button {
  font-family: var(--ff-head);
  font-weight: 600; font-size: .875rem;
  padding: .5rem 1.1rem;
  border: 1px solid var(--ink-200);
  border-radius: 100px;
  background: #fff;
  color: var(--ink-600);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.pf-filters button:hover { border-color: var(--accent-400); color: var(--accent-500); }
.pf-filters button.is-active {
  background: var(--brand-800); border-color: var(--brand-800); color: #fff;
}

.pf-item { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.pf-item.is-hidden { display: none; }

.pf-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-800);
  aspect-ratio: 4 / 3;
}
.pf-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease-out), opacity .35s var(--ease);
}
.pf-card:hover img { transform: scale(1.07); opacity: .55; }
.pf-card .pf-body {
  position: absolute; inset: auto 0 0 0;
  padding: 1.4rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(13, 20, 28, .93), rgba(13, 20, 28, .6) 55%, transparent);
  color: #fff;
}
.pf-card .pf-tag {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent-400); display: block; margin-bottom: .25rem;
}
.pf-card .pf-title {
  font-family: var(--ff-head); font-weight: 700;
  font-size: 1.05rem; color: #fff; line-height: 1.3; margin: 0;
}
.pf-card .pf-meta { font-size: .8rem; color: rgba(255, 255, 255, .7); margin-top: .3rem; }


/* ==========================================================================
   18. ACCORDION / FAQ
   ========================================================================== */
.faq { border: 1px solid var(--ink-200); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--ink-200); }
.faq-q {
  width: 100%;
  background: none; border: 0;
  text-align: left;
  font-family: var(--ff-head);
  font-weight: 600; font-size: 1rem;
  color: var(--brand-800);
  padding: 1.05rem 1.25rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.faq-q:hover { color: var(--accent-500); background: var(--ink-050); }
.faq-q .fq-ico {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--brand-800);
  display: grid; place-items: center;
  transition: all .3s var(--ease);
  margin-top: .1rem;
}
.faq-q[aria-expanded="true"] { color: var(--accent-500); }
.faq-q[aria-expanded="true"] .fq-ico { background: var(--accent-500); color: #fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a > div { padding: 0 1.25rem 1.15rem; font-size: .94rem; color: var(--ink-600); }


/* ==========================================================================
   19. FORMS
   ========================================================================== */
.form-label {
  font-family: var(--ff-head);
  font-size: .855rem;
  font-weight: 600;
  color: var(--brand-800);
  margin-bottom: .35rem;
}
.form-label .req { color: var(--accent-500); }

.form-control, .form-select {
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  padding: .68rem .9rem;
  font-size: .95rem;
  color: var(--ink-700);
  background-color: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-control::placeholder { color: var(--ink-400); }
.form-control:focus, .form-select:focus {
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px rgba(255, 127, 38, .14);
  outline: 0;
}
textarea.form-control { min-height: 130px; resize: vertical; }

.form-control.is-invalid, .form-select.is-invalid { border-color: #d64545; }
.invalid-feedback { font-size: .8rem; }

.form-check-input:checked { background-color: var(--accent-500); border-color: var(--accent-500); }
.form-check-label { font-size: .88rem; color: var(--ink-600); }

.form-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.form-note { font-size: .82rem; color: var(--ink-500); }

.alert-ok {
  background: #ECFDF3;
  border: 1px solid #A6E9C0;
  color: #17603A;
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .9rem;
}

/* Newsletter inline group */
.subscribe {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.subscribe .form-control {
  flex: 1 1 190px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}
.subscribe .form-control::placeholder { color: rgba(255, 255, 255, .5); }
.subscribe .form-control:focus { background: rgba(255, 255, 255, .13); border-color: var(--accent-400); }


/* ==========================================================================
   20. CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  background: linear-gradient(105deg, var(--brand-900), var(--brand-700) 70%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/pattern-grid.svg");
  background-size: 420px;
  opacity: .4; z-index: -1;
}
.cta-band::after {
  content: "";
  position: absolute; left: 40%; top: -70%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 127, 38, .28), transparent 64%);
  z-index: -1;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); }

.cta-strip {
  background: var(--accent-500);
  color: #fff;
}
.cta-strip h3 { color: #fff; margin: 0; }
.cta-strip p { color: rgba(255, 255, 255, .9); margin: 0; }


/* ==========================================================================
   21. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .68);
  font-size: .92rem;
  position: relative;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/pattern-grid.svg");
  background-size: 520px;
  opacity: .28; z-index: -1;
}
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: var(--accent-400); }

.footer-main { padding: clamp(2.75rem, 2rem + 3vw, 4.5rem) 0 2rem; }

.footer-brand img, .footer-brand svg { height: 42px; width: auto; margin-bottom: 1.1rem; }

.f-head {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.1rem;
  padding-bottom: .6rem;
  position: relative;
}
.f-head::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 2px; background: var(--accent-500);
}

.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: .5rem; }
.f-links a {
  font-size: .9rem;
  display: inline-flex; align-items: center; gap: .45rem;
  transition: all .2s var(--ease);
}
.f-links a::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, .3); flex: 0 0 auto;
  transition: background .2s;
}
.f-links a:hover { padding-left: .3rem; }
.f-links a:hover::before { background: var(--accent-500); }

.f-contact { list-style: none; margin: 0; padding: 0; }
.f-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .9rem; line-height: 1.6; }
.f-contact svg { flex: 0 0 auto; margin-top: .2rem; color: var(--accent-500); }

.f-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.f-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: all .25s var(--ease);
}
.f-social a:hover { background: var(--accent-500); border-color: var(--accent-500); color: #fff; transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.1rem 0;
  font-size: .85rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.f-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; margin: 0; padding: 0; }

.f-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.f-badge {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .04em;
  padding: .3rem .6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
}


/* ==========================================================================
   22. BACK-TO-TOP & HELPERS
   ========================================================================== */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--accent-500);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(255, 127, 38, .38);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: all .3s var(--ease);
  z-index: 1050;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-600); transform: translateY(-3px); }

/* Floating WhatsApp / call bubble */
.float-call {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 1050;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1rem .6rem .65rem;
  border-radius: 100px;
  background: var(--brand-800);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 600; font-size: .88rem;
  box-shadow: var(--shadow-lg);
  transition: all .25s var(--ease);
}
.float-call:hover { background: var(--accent-500); color: #fff; transform: translateY(-3px); }
.float-call .fc-ico {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: grid; place-items: center;
}
@media (max-width: 575.98px) { .float-call span.fc-txt { display: none; } .float-call { padding: .6rem; } }

.divider-line { height: 1px; background: var(--ink-200); border: 0; opacity: 1; }

.ratio-media { border-radius: var(--radius); overflow: hidden; background: var(--ink-100); }
.ratio-media img { width: 100%; height: 100%; object-fit: cover; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.img-frame::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(22, 32, 44, .08);
  border-radius: inherit;
  pointer-events: none;
}

.badge-soft {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .32rem .65rem;
  border-radius: 4px;
  background: var(--accent-100);
  color: var(--accent-600);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-200);
  background: var(--ink-100);
  min-height: 320px;
}
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 50%; top: -60px;
  transform: translateX(-50%);
  z-index: 2000;
  background: var(--accent-500); color: #fff;
  padding: .6rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: .88rem; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }


/* ==========================================================================
   23. ANIMATIONS (scroll reveal)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal="left"] { transform: translateX(-26px); }
[data-reveal][data-reveal="right"] { transform: translateX(26px); }
[data-reveal][data-reveal="zoom"] { transform: scale(.95); }
[data-reveal].is-in { transform: none; }

.no-js [data-reveal] { opacity: 1; transform: none; }


/* ==========================================================================
   24. RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1199.98px) {
  .mainnav > li > a { padding-inline: .8rem; font-size: .93rem; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
  .topbar .tb-hide-md { display: none !important; }
  .hero-visual { margin-top: 2.25rem; }
  .site-header { position: sticky; }
}

@media (max-width: 767.98px) {
  .section { padding-block: 2.75rem; }
  .hero-stats .hs-num { font-size: 1.35rem; }
  .quote::before { font-size: 3.5rem; }
  .pf-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .35rem; }
  .pf-filters button { flex: 0 0 auto; }
}

@media (max-width: 575.98px) {
  .btn { width: auto; }
  .btn-block-xs { width: 100%; }
  .topbar { font-size: .78rem; }
  .brand img, .brand svg { height: 34px; }
  .card-svc { padding: 1.3rem 1.15rem; }
  .to-top { right: 12px; bottom: 12px; width: 42px; height: 42px; }
  .float-call { left: 12px; bottom: 12px; }
}


/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .topbar, .site-header, .site-footer, .to-top, .float-call,
  .mega-backdrop, .nav-backdrop, .mobile-nav, .cta-band, .cta-strip { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .section { padding-block: 1rem; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
