/* ==========================================================================
   ASTC - Abusiyan Trading & Contracting SPC
   Public site stylesheet

   1.  Design tokens
   2.  Base & typography
   3.  Buttons & links
   4.  Utilities / layout primitives
   5.  Top bar & header
   6.  Mobile navigation
   7.  Hero
   8.  Page banner & breadcrumbs
   9.  Section furniture
   10. Cards (service, why, project, client, certification, trading, team)
   11. Split sections & service detail
   12. Stats
   13. Gallery & lightbox
   14. CTA band
   15. Contact & forms
   16. Footer
   17. Floating actions
   18. Motion / reveal
   19. Responsive
   ========================================================================== */

/* -------------------------------------------------- 1. Design tokens ----- */
:root {
    /* Brand palette: Logo Orange #FA5F09, Corporate Blue #3D73BD,
       Deep Navy #202B3C, Light Grey #F5F6F8, White, Slate Grey #374151.
       The "navy" scale runs from Deep Navy (dark surfaces, headings) to
       Corporate Blue (links, navigation, icons on light backgrounds). */
    --navy-950: #161E2A;
    --navy-900: #202B3C;
    --navy-800: #2A3850;
    --navy-700: #3D73BD;
    --navy-600: #5B8BCD;

    /* The "gold" scale is the logo orange. 500 is the brand value; 600 is
       darkened so orange text on white still meets WCAG AA contrast. */
    --gold-300: #FEC3A0;
    --gold-400: #FD8A4A;
    --gold-500: #FA5F09;
    --gold-600: #C24400;
    --gold-700: #9A3600;

    --ink-900: #151B24;
    --ink-800: #1F2733;
    --ink-700: #2B3441;
    --ink-600: #374151;
    --ink-500: #5B6574;
    --ink-400: #8A93A0;
    --ink-300: #B6BDC7;

    --line: #E4E7EC;
    --line-strong: #D0D5DD;

    --surface: #FFFFFF;
    --surface-alt: #F5F6F8;
    --surface-deep: #EBEDF1;

    --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    --container: 1280px;
    --gutter: 1.5rem;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 2px rgba(32, 43, 60, .06), 0 2px 8px rgba(32, 43, 60, .05);
    --shadow: 0 4px 12px rgba(32, 43, 60, .08), 0 12px 32px rgba(32, 43, 60, .07);
    --shadow-lg: 0 18px 48px rgba(32, 43, 60, .16);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --speed: .38s;

    --header-h: 84px;
}

/* ------------------------------------------------ 2. Base & typography --- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-600);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--navy-900);
    margin: 0 0 .6em;
    line-height: 1.16;
    letter-spacing: -.015em;
    font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 1.08rem + .72vw, 1.6rem); }
h4 { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); }

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

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: color .2s var(--ease);
}
a:hover { color: var(--gold-600); }

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

ul, ol { margin: 0 0 1.15rem; padding-left: 1.2rem; }
li { margin-bottom: .4rem; }

strong, b { font-weight: 600; color: var(--ink-800); }

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.5rem 0;
}

::selection {
    background: var(--gold-500);
    color: var(--navy-950);
}

:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: .85rem 1.4rem;
    background: var(--navy-900);
    color: #fff;
    font-weight: 600;
}
.skip-link:focus {
    left: 0;
    color: #fff;
}

/* ------------------------------------------------- 3. Buttons & links ---- */
.btn {
    --btn-bg: var(--gold-500);
    --btn-fg: var(--navy-950);
    --btn-bd: var(--gold-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1.85rem;
    min-height: 50px;
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1.5px solid var(--btn-bd);
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .3s var(--ease), background-color .3s var(--ease),
                border-color .3s var(--ease), transform .25s var(--ease),
                box-shadow .3s var(--ease);
}

/* Sliding fill on hover. */
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--navy-900);
    transform: translateY(102%);
    transition: transform .42s var(--ease);
}
.btn:hover::after,
.btn:focus-visible::after { transform: translateY(0); }

.btn:hover,
.btn:focus-visible {
    color: #fff;
    border-color: var(--navy-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn i { font-size: .95em; }

.btn--outline {
    --btn-bg: transparent;
    --btn-fg: var(--navy-900);
    --btn-bd: var(--line-strong);
}
.btn--outline:hover { border-color: var(--navy-900); }

.btn--light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-bd: rgba(255, 255, 255, .55);
}
.btn--light::after { background: #fff; }
.btn--light:hover,
.btn--light:focus-visible {
    color: var(--navy-900);
    border-color: #fff;
}

.btn--navy {
    --btn-bg: var(--navy-800);
    --btn-fg: #fff;
    --btn-bd: var(--navy-800);
}
.btn--navy::after { background: var(--gold-500); }
.btn--navy:hover,
.btn--navy:focus-visible {
    color: var(--navy-950);
    border-color: var(--gold-500);
}

.btn--whatsapp {
    --btn-bg: #1FA855;
    --btn-fg: #fff;
    --btn-bd: #1FA855;
}
.btn--whatsapp::after { background: #16803f; }
.btn--whatsapp:hover { color: #fff; border-color: #16803f; }

.btn--sm { padding: .68rem 1.25rem; min-height: 42px; font-size: .78rem; }
.btn--block { width: 100%; }

/* Text link with an animated arrow. */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy-800);
}
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--gold-600); }
.link-arrow:hover i { transform: translateX(5px); }

/* ------------------------------------ 4. Utilities / layout primitives --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }

.grid { display: grid; gap: 1.75rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* A lone card on the last row is centred rather than left stranded. */
@media (min-width: 1025px) {
    .grid--3 > :last-child:nth-child(3n + 1) { grid-column: 2; }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .grid--3 > :last-child:nth-child(2n + 1),
    .grid--4 > :last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - .875rem);
    }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 2.5rem; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.lead {
    font-size: clamp(1.02rem, .97rem + .28vw, 1.16rem);
    line-height: 1.75;
    color: var(--ink-600);
}

/* Media frame used for every content image. */
.frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-deep);
}
.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1 / 1; }

/* ------------------------------------------------ 5. Top bar & header ---- */
.topbar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 44px;
    padding-block: .35rem;
}
.topbar__list {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}
.topbar__list li { margin: 0; }
.topbar a {
    color: rgba(255, 255, 255, .78);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.topbar a:hover { color: var(--gold-400); }
.topbar i { color: var(--gold-500); font-size: .85em; }

.topbar__social {
    display: flex;
    align-items: center;
    gap: .35rem;
}
.topbar__social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    font-size: .78rem;
    transition: all .25s var(--ease);
}
.topbar__social a:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--navy-950);
}
.topbar__social i { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(150%) blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(32, 43, 60, .09); }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: var(--header-h);
    transition: min-height .3s var(--ease);
}
.site-header.is-stuck .header__inner { min-height: 70px; }

/* Brand lockup (packaged logo, or the one uploaded under Settings). */
.brand {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    flex-shrink: 0;
}
.brand__img { height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .brand__img { height: 50px; }
.footer__brand .brand__img { height: 72px; }
.mobile-nav .brand__img { height: 46px; }
.brand__mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.85rem;
    letter-spacing: .01em;
    color: var(--navy-900);
    line-height: 1;
}
.brand__mark span { color: var(--gold-500); }
.brand__text { display: flex; flex-direction: column; gap: .28rem; }
.brand__name {
    font-size: .63rem;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--ink-500);
    font-weight: 600;
    line-height: 1.25;
}
.brand__rule {
    width: 34px;
    height: 2px;
    background: var(--gold-500);
}

.nav {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin-inline: auto;
}
.nav__link {
    position: relative;
    display: inline-block;
    padding: .6rem .78rem;
    font-size: .845rem;
    font-weight: 600;
    letter-spacing: .015em;
    color: var(--ink-700);
    white-space: nowrap;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: .78rem;
    right: .78rem;
    bottom: .28rem;
    height: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .32s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--navy-700); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    padding: 0;
    place-items: center;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy-900);
    position: relative;
    transition: background-color .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--navy-900);
    transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ------------------------------------------- 6. Mobile navigation -------- */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(400px, 88vw);
    background: var(--navy-900);
    color: #fff;
    z-index: 1200;
    transform: translateX(100%);
    transition: transform .42s var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem var(--gutter);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-nav__close {
    width: 44px; height: 44px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    cursor: pointer;
}
.mobile-nav__close:hover { background: rgba(255, 255, 255, .1); }

.mobile-nav .brand__mark { color: #fff; }
.mobile-nav .brand__name { color: rgba(255, 255, 255, .6); }

.mobile-nav__links {
    list-style: none;
    margin: 0;
    padding: .5rem 0;
    flex: 1;
}
.mobile-nav__links li { margin: 0; }
.mobile-nav__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--gutter);
    color: rgba(255, 255, 255, .86);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.mobile-nav__links a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .7rem;
    opacity: .4;
}
.mobile-nav__links a:hover,
.mobile-nav__links a.is-active {
    color: var(--gold-400);
    background: rgba(255, 255, 255, .05);
}

.mobile-nav__foot {
    padding: 1.5rem var(--gutter) 2rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    gap: .75rem;
}
.mobile-nav__foot a.contact-line {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
}
.mobile-nav__foot i { color: var(--gold-500); width: 18px; }

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(22, 30, 42, .55);
    backdrop-filter: blur(2px);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

/* ------------------------------------------------------------ 7. Hero ---- */
.hero {
    position: relative;
    min-height: clamp(560px, 88vh, 880px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-950);
    color: #fff;
}

.hero__media { position: absolute; inset: 0; }
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img,
.hero__slide picture {
    width: 100%;
    height: 100%;
    display: block;
}
.hero__slide img {
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 9s linear;
}
.hero__slide.is-active img { transform: scale(1); }

/* Two-stop scrim keeps headline contrast high on any photograph. */
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(22, 30, 42, .90) 0%, rgba(22, 30, 42, .68) 34%, rgba(22, 30, 42, .18) 66%, rgba(22, 30, 42, .34) 100%),
        linear-gradient(to top, rgba(22, 30, 42, .62) 0%, transparent 42%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(5rem, 12vh, 8rem);
    width: 100%;
}
.hero__content { max-width: 800px; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 1.6rem;
}
.hero__eyebrow::before {
    content: "";
    width: 44px;
    height: 2px;
    background: var(--gold-500);
}

.hero h1 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.35rem;
    text-wrap: balance;
}

.hero__sub {
    font-size: clamp(1.02rem, .95rem + .45vw, 1.28rem);
    color: rgba(255, 255, 255, .84);
    max-width: 640px;
    margin-bottom: 2.4rem;
    line-height: 1.68;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    align-items: center;
}

/* Capability strip directly beneath the hero. Solid navy: it sits on the white
   page background, so a translucent fill would read as washed-out grey. */
.hero__strip {
    position: relative;
    z-index: 2;
    background: var(--navy-900);
    border-top: 3px solid var(--gold-500);
}
.hero__strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero__strip-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.35rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .88);
    font-size: .875rem;
    font-weight: 500;
    transition: background-color .3s var(--ease);
}
.hero__strip-item:last-child { border-right: 0; }
.hero__strip-item:hover { background: rgba(255, 255, 255, .06); }
.hero__strip-item i {
    color: var(--gold-500);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.hero__dots {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    gap: .55rem;
    z-index: 3;
}
.hero__dot {
    width: 34px;
    height: 3px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: background-color .3s var(--ease);
}
.hero__dot.is-active { background: var(--gold-500); }

/* ------------------------------------- 8. Page banner & breadcrumbs ------ */
.page-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(280px, 38vh, 420px);
    background: var(--navy-900);
    overflow: hidden;
    color: #fff;
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: min(38%, 420px);
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), rgba(250, 95, 9, 0));
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(22, 30, 42, .93) 0%, rgba(22, 30, 42, .72) 55%, rgba(22, 30, 42, .5) 100%);
}
.page-hero__inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(3rem, 7vh, 5rem);
}
.page-hero h1 {
    color: #fff;
    font-weight: 300;
    letter-spacing: .01em;
    margin-bottom: .75rem;
    text-transform: uppercase;
}
.page-hero__sub {
    color: rgba(255, 255, 255, .8);
    max-width: 660px;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: .8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .55rem; }
.breadcrumbs li::after {
    content: "/";
    color: rgba(255, 255, 255, .35);
}
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: rgba(255, 255, 255, .72); }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs [aria-current] { color: var(--gold-400); font-weight: 600; }

/* --------------------------------------------- 9. Section furniture ------ */
.section { padding-block: clamp(2.75rem, 4.5vw, 4.25rem); }
.section--tight { padding-block: clamp(2.25rem, 3.5vw, 3.25rem); }
.section--alt { background: var(--surface-alt); }
.section--deep { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.section--deep h2, .section--deep h3 { color: #fff; }

/* Blueprint grid and a warm glow for dark bands. */
.section--pattern {
    position: relative;
    background:
        radial-gradient(circle at 12% 0%, rgba(250, 95, 9, .12), transparent 40%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
        var(--navy-900);
}

/* Two consecutive sections on the same background read as one band, so the
   second drops its top padding instead of doubling the gap. */
.section:not(.section--alt):not(.section--deep) + .section:not(.section--alt):not(.section--deep),
.section--alt + .section--alt { padding-top: 0; }

/* Body copy followed directly by a button needs breathing room. */
.lead + .btn,
.prose + .btn { margin-top: 1.75rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--gold-500);
}
.eyebrow--light { color: var(--gold-400); }
.eyebrow--center { justify-content: center; }

.section-head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head--center {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}
.section-head h2 { margin-bottom: .85rem; text-wrap: balance; }
.section-head p { margin-bottom: 0; }

.section-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.section-head--split > div:first-child { max-width: 680px; }

/* ------------------------------------------------------- 10. Cards ------- */
/* Service card - numbered, image-led, gold rule grows on hover. */
.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.svc-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--gold-500);
    z-index: 3;
    transition: width .45s var(--ease);
}
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.svc-card:hover::before { width: 100%; }
.svc-card:hover .frame img { transform: scale(1.07); }

/* The media box stays unclipped so the icon can overlap the card body;
   only the photo wrapper clips the hover zoom. */
.svc-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--navy-800);
}
.svc-card__img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.svc-card__img picture { display: block; width: 100%; height: 100%; }
.svc-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 30, 42, .68), rgba(22, 30, 42, .05) 60%);
}

.svc-card__index {
    position: absolute;
    top: 1rem; right: 1.1rem;
    z-index: 2;
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .6);
}

.svc-card__icon {
    position: absolute;
    left: 1.5rem;
    bottom: -26px;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--gold-500);
    color: var(--navy-950);
    font-size: 1.35rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 20px rgba(22, 30, 42, .25);
    transition: background-color .35s var(--ease), color .35s var(--ease);
}
.svc-card:hover .svc-card__icon {
    background: var(--navy-800);
    color: var(--gold-400);
}

.svc-card__body {
    padding: 2.5rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.svc-card__body h3 { margin-bottom: .6rem; font-size: 1.22rem; }
.svc-card__body p {
    font-size: .93rem;
    margin-bottom: 1.25rem;
    color: var(--ink-500);
}
.svc-card__body .link-arrow { margin-top: auto; }

/* Compact capability list inside a service card. */
.svc-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: .875rem;
}
.svc-card__list li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: .35rem;
    color: var(--ink-500);
}
.svc-card__list li::before {
    content: "";
    position: absolute;
    left: 0; top: .62em;
    width: 6px; height: 6px;
    background: var(--gold-500);
    border-radius: 1px;
}

/* Why-choose-us card. */
.why-card {
    position: relative;
    padding: 2.1rem 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 100%;
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.why-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: var(--gold-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.why-card:hover::after { transform: scaleX(1); }

.why-card__icon {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--surface-deep);
    color: var(--navy-700);
    font-size: 1.28rem;
    margin-bottom: 1.25rem;
    transition: background-color .35s var(--ease), color .35s var(--ease);
}
.why-card:hover .why-card__icon {
    background: var(--navy-800);
    color: var(--gold-400);
}
.why-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.why-card p { font-size: .92rem; margin-bottom: 0; color: var(--ink-500); }

/* Large faint index number in the corner of each card in a grid. */
.grid { counter-reset: card; }
.why-card { counter-increment: card; }
.why-card::before {
    content: counter(card, decimal-leading-zero);
    position: absolute;
    top: 1.1rem;
    right: 1.4rem;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(42, 56, 80, .06);
    transition: color .4s var(--ease);
}
.why-card:hover::before { color: rgba(250, 95, 9, .22); }

/* Cards on a dark band. */
.section--deep .why-card {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .1);
}
.section--deep .why-card:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(250, 95, 9, .45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.section--deep .why-card::before { color: rgba(255, 255, 255, .06); }
.section--deep .why-card__icon { background: var(--gold-500); color: var(--navy-950); }
.section--deep .why-card:hover .why-card__icon { background: #fff; color: var(--navy-900); }
.section--deep .why-card p { color: rgba(255, 255, 255, .66); }
.section--deep .section-head p { color: rgba(255, 255, 255, .72); }

/* Project card. */
.project-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy-900);
    aspect-ratio: 4 / 3;
    height: 100%;
}
.project-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}
.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 30, 42, .92) 5%, rgba(22, 30, 42, .45) 45%, rgba(22, 30, 42, .1) 100%);
    transition: opacity .4s var(--ease);
}
.project-card:hover img { transform: scale(1.07); }

.project-card__body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 1.75rem 1.6rem;
    color: #fff;
}
.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: .6rem;
    font-weight: 600;
}
.project-card__body h3 {
    color: #fff;
    font-size: 1.22rem;
    margin-bottom: .35rem;
}
.project-card__loc {
    font-size: .86rem;
    color: rgba(255, 255, 255, .72);
    display: flex;
    align-items: center;
    gap: .45rem;
}
.project-card__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .9rem;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.project-card:hover .project-card__cta { opacity: 1; transform: translateY(0); }

.status-pill {
    position: absolute;
    top: 1rem; left: 1.1rem;
    z-index: 2;
    padding: .3rem .7rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 2px;
    background: var(--gold-500);
    color: var(--navy-950);
}
.status-pill--ongoing { background: #2C7BE5; color: #fff; }
.status-pill--upcoming { background: rgba(255, 255, 255, .92); color: var(--navy-900); }

/* Client tile. */
.client-tile {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.client-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.client-tile img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.client-tile:hover img { filter: grayscale(0); opacity: 1; }

/* Monogram fallback when no logo has been uploaded. */
.client-tile__fallback {
    display: grid;
    place-items: center;
    gap: .6rem;
    text-align: center;
}
.client-tile__monogram {
    width: 56px; height: 56px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--navy-800);
    color: var(--gold-400);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .04em;
}
.client-tile__name {
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 600;
    color: var(--navy-900);
    line-height: 1.35;
}

/* Certification card. */
.cert-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-card__media {
    aspect-ratio: 4 / 3;
    background: var(--surface-deep);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.cert-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cert-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.cert-card__body h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.cert-card__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .85rem;
}
.cert-card__meta li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .4rem 0;
    border-bottom: 1px dashed var(--line);
    margin: 0;
}
.cert-card__meta span:first-child { color: var(--ink-400); }
.cert-card__meta span:last-child { color: var(--ink-800); font-weight: 500; text-align: right; }

/* Trading category card. */
.trade-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.trade-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.trade-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.trade-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trade-card:hover .trade-card__media img { transform: scale(1.07); }
.trade-card__body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.trade-card__head {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: .85rem;
}
.trade-card__head i {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    background: var(--surface-deep);
    color: var(--navy-700);
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.trade-card__head h3 { margin: 0; font-size: 1.1rem; }
.trade-card__body p { font-size: .91rem; color: var(--ink-500); }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.tag-list li {
    margin: 0;
    padding: .32rem .7rem;
    font-size: .76rem;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--ink-600);
}

/* Team member card. Flex rather than grid so a short row stays centred. */
.team-grid {
    --team-gap: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--team-gap);
}
.team-card {
    flex: 0 1 calc((100% - 3 * var(--team-gap)) / 4);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.team-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
}
.team-card__media picture { display: block; width: 100%; height: 100%; }
.team-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .8s var(--ease);
}
.team-card:hover .team-card__media img { transform: scale(1.06); }
.team-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 30, 42, .7), rgba(22, 30, 42, 0) 45%);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.team-card:hover .team-card__media::after { opacity: 1; }

.team-card__monogram {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 2rem + 2.5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--gold-400);
}

.team-card__social {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    z-index: 2;
    display: flex;
    gap: .5rem;
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.team-card:hover .team-card__social,
.team-card:focus-within .team-card__social { opacity: 1; transform: translate(-50%, 0); }
.team-card__social a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: #fff;
    color: var(--navy-900);
    border-radius: 50%;
    font-size: .92rem;
    transition: background-color .25s var(--ease), color .25s var(--ease);
}
.team-card__social a:hover { background: var(--gold-500); color: var(--navy-950); }

/* No hover on touch screens, so keep the contact links visible. */
@media (hover: none) {
    .team-card__social { opacity: 1; transform: translate(-50%, 0); }
    .team-card__media::after { opacity: 1; }
}

.team-card__body {
    position: relative;
    flex: 1;
    padding: 1.4rem 1.35rem 1.6rem;
    text-align: center;
}
.team-card__body::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    width: 40px; height: 3px;
    background: var(--gold-500);
    transform: translateX(-50%);
    transition: width .4s var(--ease);
}
.team-card:hover .team-card__body::before { width: 100%; }
.team-card__body h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.team-card__role {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-600);
}
.team-card__body p {
    margin-top: .85rem;
    font-size: .88rem;
    line-height: 1.65;
    color: var(--ink-500);
}

/* Discipline tiles shown in the team section until members are published. */
.team-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1.75rem;
}
.team-pillars__item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .95rem 1.1rem;
    background: var(--surface-alt);
    border-left: 3px solid var(--gold-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-700);
    line-height: 1.4;
}
.team-pillars__item i { color: var(--navy-700); font-size: 1.1rem; width: 20px; text-align: center; flex-shrink: 0; }

/* --------------------------------------------- 11. Split sections -------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
.split__media .frame img { width: 100%; }
.split__media:hover .frame img { transform: scale(1.04); }

/* Offset gold rule behind the image. */
.split__media::before {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 45%;
    height: 55%;
    border-left: 3px solid var(--gold-500);
    border-bottom: 3px solid var(--gold-500);
    z-index: -1;
}
.split--reverse .split__media::before {
    left: auto;
    right: -18px;
    border-left: 0;
    border-right: 3px solid var(--gold-500);
}

.split__body h2 { margin-bottom: 1.1rem; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: .7rem;
}
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin: 0;
    color: var(--ink-600);
    font-size: .95rem;
}
.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0; top: .1em;
    color: var(--gold-600);
    font-size: .82rem;
}

.highlight-row {
    display: grid;
    gap: 1rem;
    margin: 1.75rem 0;
}
.highlight-row__item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .95rem 1.15rem;
    background: var(--surface-alt);
    border-left: 3px solid var(--gold-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink-700);
}
.highlight-row__item i { color: var(--navy-700); font-size: 1.15rem; }

/* Vision & mission pair. */
.vm-card {
    padding: clamp(1.9rem, 3.4vw, 2.75rem);
    background: var(--navy-800);
    color: rgba(255, 255, 255, .84);
    border-radius: var(--radius);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.vm-card h3 { color: #fff; margin-bottom: .9rem; }
.vm-card p { margin-bottom: 0; font-size: 1.02rem; line-height: 1.75; }
.vm-card__icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .1);
    color: var(--gold-400);
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    margin-bottom: 1.35rem;
}

/* Gold variant. Declared after the base rules so these overrides win:
   white text on gold fails contrast. */
.vm-card--gold { background: var(--gold-500); color: var(--navy-900); }
.vm-card--gold h3 { color: var(--navy-950); }
.vm-card--gold .vm-card__icon { background: rgba(22, 30, 42, .14); color: var(--navy-900); }

/* Service detail: content column with a sticky sidebar. */
.svc-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}
.svc-detail__main > * + * { margin-top: clamp(2.25rem, 4vw, 3rem); }
.svc-detail__aside {
    position: sticky;
    top: calc(70px + 1.5rem);
    display: grid;
    gap: 1.5rem;
}

.svc-hero-media { position: relative; margin-bottom: 1.75rem; }
.svc-hero-media .frame { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
.svc-hero-media:hover .frame img { transform: scale(1.04); }
.svc-hero-media__badge {
    position: absolute;
    left: 1.5rem;
    bottom: -1.75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: calc(100% - 3rem);
    padding: .85rem 1.4rem .85rem .85rem;
    background: var(--navy-900);
    color: #fff;
    border-left: 3px solid var(--gold-500);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.svc-hero-media__icon {
    width: 52px; height: 52px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--gold-500);
    color: var(--navy-950);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
}
.svc-hero-media__label {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}
.svc-hero-media__label small {
    display: block;
    margin-bottom: .2rem;
    font-family: var(--font-body);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.svc-overview h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }

.prose { font-size: 1rem; line-height: 1.8; color: var(--ink-600); }
.prose > p:first-child { font-size: clamp(1.02rem, .97rem + .28vw, 1.14rem); color: var(--ink-700); }

.svc-highlights {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.svc-highlights li {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin: 0;
    padding: 1rem 1.1rem;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink-700);
}
.svc-highlights i {
    width: 42px; height: 42px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--navy-800);
    color: var(--gold-400);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.svc-scope__head { margin-bottom: 1.5rem; }
.svc-scope__head h3 { margin: 0; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }

.scope-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.scope-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 1.15rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.scope-item::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: var(--gold-500);
    transform: scaleY(0);
    transition: transform .35s var(--ease);
}
.scope-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.scope-item:hover::before { transform: scaleY(1); }
.scope-item__num {
    min-width: 2.2rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold-500);
}
.scope-item__text {
    flex: 1;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--navy-900);
}
.scope-item__tick {
    width: 28px; height: 28px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--surface-deep);
    color: var(--navy-700);
    border-radius: 50%;
    font-size: .72rem;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}
.scope-item:hover .scope-item__tick { background: var(--navy-800); color: var(--gold-400); }

/* Sidebar: service list. */
.svc-nav {
    padding: 1.5rem;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.svc-nav__title {
    position: relative;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--line);
}
.svc-nav__title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 36px; height: 2px;
    background: var(--gold-500);
}
.svc-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.svc-nav li { margin: 0; }
.svc-nav a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink-700);
    transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.svc-nav a > i:first-child { width: 18px; text-align: center; color: var(--navy-700); flex-shrink: 0; }
.svc-nav__arrow {
    margin-left: auto;
    font-size: .8rem;
    opacity: .35;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.svc-nav a:hover { border-color: var(--navy-800); color: var(--navy-900); }
.svc-nav a:hover .svc-nav__arrow { opacity: 1; transform: translateX(3px); }
.svc-nav a.is-active {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}
.svc-nav a.is-active > i { color: var(--gold-400); opacity: 1; }

/* Sidebar: help card. */
.svc-help {
    position: relative;
    overflow: hidden;
    padding: 2rem 1.75rem;
    background: var(--navy-900);
    color: rgba(255, 255, 255, .76);
    border-radius: var(--radius);
}
.svc-help::before {
    content: "";
    position: absolute;
    top: -70px; right: -70px;
    width: 190px; height: 190px;
    border: 32px solid rgba(250, 95, 9, .1);
    border-radius: 50%;
}
.svc-help > * { position: relative; }
.svc-help__icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    margin-bottom: 1.25rem;
    background: var(--gold-500);
    color: var(--navy-950);
    border-radius: var(--radius-sm);
    font-size: 1.35rem;
}
.svc-help h3 { color: #fff; font-size: 1.22rem; margin-bottom: .6rem; }
.svc-help p { font-size: .92rem; margin-bottom: 1.25rem; }
.svc-help__line {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .93rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.svc-help__line i { color: var(--gold-400); width: 16px; flex-shrink: 0; }
.svc-help__line:hover { color: var(--gold-400); }
.svc-help__actions { display: grid; gap: .6rem; margin-top: 1.25rem; }

/* Four-stage delivery process with a connecting rule. */
.process {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}
.process::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px dashed var(--line-strong);
}
.process__step {
    position: relative;
    margin: 0;
    padding-inline: .5rem;
    text-align: center;
}
.process__marker {
    position: relative;
    z-index: 1;
    width: 76px; height: 76px;
    margin: 0 auto 1.4rem;
    display: grid; place-items: center;
    background: var(--surface);
    border: 2px solid var(--gold-500);
    border-radius: 50%;
    color: var(--navy-800);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.process__step:hover .process__marker {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--gold-400);
}
.process__num {
    position: absolute;
    top: -6px; right: -6px;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    background: var(--gold-500);
    color: var(--navy-950);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 700;
}
.process__step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.process__step p {
    max-width: 270px;
    margin-inline: auto;
    font-size: .92rem;
    color: var(--ink-500);
}

/* "Why ASTC" band on the service page. */
.svc-why {
    background:
        radial-gradient(circle at 85% 15%, rgba(250, 95, 9, .13), transparent 45%),
        var(--navy-900);
}
.svc-why__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.svc-why__intro h2 { text-wrap: balance; }
.svc-why__intro p { color: rgba(255, 255, 255, .75); font-size: 1.02rem; }
.svc-why__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.svc-why__item {
    padding: 1.6rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.svc-why__item:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(250, 95, 9, .5);
    transform: translateY(-4px);
}
.svc-why__item i { display: block; margin-bottom: 1rem; font-size: 1.5rem; color: var(--gold-400); }
.svc-why__item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.svc-why__item p { font-size: .88rem; color: rgba(255, 255, 255, .66); margin: 0; }
.svc-why__intro .btn { margin-top: .6rem; }

/* ------------------------------------------------------ 12. Stats -------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.stat {
    background: var(--surface);
    padding: 2.25rem 1.5rem;
    text-align: center;
}
.stat__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1;
    display: block;
    margin-bottom: .5rem;
}
.stat__value span { color: var(--gold-500); }
.stat__label {
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-400);
    font-weight: 600;
}

/* ------------------------------------------ 13. Gallery & lightbox ------- */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.gallery-filter button {
    padding: .6rem 1.2rem;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-500);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    cursor: pointer;
    transition: all .28s var(--ease);
}
.gallery-filter button:hover { color: var(--navy-900); border-color: var(--navy-800); }
.gallery-filter button.is-active {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}

/* CSS columns give a true masonry flow with no JS and no layout thrash. */
.masonry {
    column-count: 3;
    column-gap: 1.25rem;
}
.masonry__item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    cursor: zoom-in;
    background: var(--surface-deep);
}
.masonry__item img {
    width: 100%;
    display: block;
    transition: transform .7s var(--ease);
}
.masonry__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 30, 42, .82), rgba(22, 30, 42, 0) 55%);
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover::after { opacity: 1; }

.masonry__cap {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 1.1rem 1.25rem;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.masonry__item:hover .masonry__cap { opacity: 1; transform: translateY(0); }
.masonry__cap strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; }
.masonry__cap span {
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-400);
}
.masonry__item.is-hidden { display: none; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(22, 30, 42, .96);
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
    max-width: min(1200px, 92vw);
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__cap {
    color: rgba(255, 255, 255, .82);
    text-align: center;
    margin-top: 1rem;
    font-size: .92rem;
}
.lightbox__btn {
    position: absolute;
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background-color .25s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: clamp(.75rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.75rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------- 14. CTA band -------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--navy-900);
    color: #fff;
    padding-block: clamp(2.75rem, 5vw, 4.25rem);
}
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(22, 30, 42, .95) 20%, rgba(22, 30, 42, .8) 100%);
}
.cta-band__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .6rem; max-width: 720px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin-bottom: 0; max-width: 620px; }
.cta-band__actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ----------------------------------------------- 15. Contact & forms ----- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink-700);
}
.field label .req { color: #C0392B; }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .85rem 1rem;
    min-height: 50px;
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--ink-800);
    background: var(--surface);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.65; }
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364707E' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(61, 115, 189, .12);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-300); }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #C0392B; }
.field__error {
    font-size: .8rem;
    color: #C0392B;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.field__hint { font-size: .78rem; color: var(--ink-400); }

/* File input styled as a drop zone. */
.field__file {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .9rem 1rem;
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    cursor: pointer;
    transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field__file:hover { border-color: var(--navy-600); background: var(--surface-deep); }
.field__file input { display: none; }
.field__file i { color: var(--navy-700); font-size: 1.15rem; }
.field__file span { font-size: .88rem; color: var(--ink-500); }

/* Honeypot: hidden from people, visible to naive bots. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: .93rem;
    border-left: 3px solid;
}
.alert i { font-size: 1.1rem; margin-top: .15rem; }
.alert--success { background: #ECF8F0; border-color: #1FA855; color: #14623A; }
.alert--error { background: #FDEDEC; border-color: #C0392B; color: #8E2A20; }
.alert--info { background: #EDF2FA; border-color: var(--navy-600); color: var(--navy-800); }
.alert--warning { background: #FDF1EC; border-color: var(--gold-600); color: #7E3A22; }
.alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }

/* Contact info panel. */
.contact-card {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .8);
    border-radius: var(--radius);
    padding: clamp(1.9rem, 3.5vw, 2.6rem);
    height: 100%;
}
.contact-card h3 { color: #fff; margin-bottom: 1.6rem; }
.contact-line {
    display: flex;
    gap: 1.1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.contact-line:last-of-type { border-bottom: 0; }
.contact-line__icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08);
    color: var(--gold-400);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}
.contact-line__label {
    font-size: .73rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: .2rem;
    font-weight: 600;
}
.contact-line__value { color: #fff; font-size: .98rem; line-height: 1.55; }
.contact-line__value a { color: #fff; }
.contact-line__value a:hover { color: var(--gold-400); }

.map-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-deep);
    border: 1px solid var(--line);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Empty-state panel used where content is awaiting CMS entry. */
.empty-state {
    text-align: center;
    padding: clamp(2.75rem, 6vw, 4.5rem) 1.5rem;
    background: var(--surface-alt);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}
.empty-state__icon {
    width: 72px; height: 72px;
    margin: 0 auto 1.5rem;
    display: grid; place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy-600);
    font-size: 1.7rem;
}
.empty-state h3 { margin-bottom: .6rem; }
.empty-state p { max-width: 560px; margin-inline: auto; color: var(--ink-500); }

/* ----------------------------------------------------- 16. Footer -------- */
.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .64);
    font-size: .93rem;
}
.footer__main {
    padding-block: clamp(3rem, 6vw, 4.75rem);
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: clamp(1.75rem, 4vw, 3rem);
}
.site-footer h4 {
    color: #fff;
    font-size: .88rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: .75rem;
}
.site-footer h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 2px;
    background: var(--gold-500);
}
.site-footer a { color: rgba(255, 255, 255, .64); }
.site-footer a:hover { color: var(--gold-400); }

.footer__brand .brand__mark { color: #fff; font-size: 2rem; }
.footer__brand .brand__name { color: rgba(255, 255, 255, .5); }
.footer__intro { margin: 1.35rem 0 1.5rem; line-height: 1.75; }

.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .7rem; }
.footer__list a {
    display: inline-flex;
    align-items: flex-start;
    gap: .55rem;
    transition: transform .25s var(--ease), color .25s var(--ease);
}
/* Nudged down so the marker lines up with the first line of wrapped links. */
.footer__list a::before {
    content: "";
    width: 5px; height: 5px;
    margin-top: .62em;
    background: var(--gold-600);
    border-radius: 1px;
    flex-shrink: 0;
    transition: background-color .25s var(--ease);
}
.footer__list a:hover { transform: translateX(4px); }
.footer__list a:hover::before { background: var(--gold-400); }

.footer__contact { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.footer__contact li {
    display: flex;
    gap: .85rem;
    margin-bottom: .95rem;
    line-height: 1.6;
}
.footer__contact i {
    color: var(--gold-500);
    margin-top: .3rem;
    width: 16px;
    flex-shrink: 0;
}

.newsletter { margin-top: 1.5rem; }
.newsletter__form {
    display: flex;
    gap: .5rem;
    margin-top: .85rem;
}
.newsletter__form input {
    flex: 1;
    min-width: 0;
    padding: .8rem 1rem;
    min-height: 48px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-body);
    font-size: .9rem;
}
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .42); }
.newsletter__form input:focus {
    outline: none;
    border-color: var(--gold-500);
    background: rgba(255, 255, 255, .1);
}
.newsletter__form button {
    width: 48px;
    min-height: 48px;
    border: 0;
    background: var(--gold-500);
    color: var(--navy-950);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background-color .25s var(--ease);
}
.newsletter__form button:hover { background: var(--gold-400); }
.newsletter__msg { font-size: .83rem; margin-top: .6rem; min-height: 1.2em; }
.newsletter__msg.is-ok { color: #6FD79B; }
.newsletter__msg.is-err { color: #F08C82; }

.footer__social {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
}
.footer__social a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-sm);
    transition: all .28s var(--ease);
}
.footer__social a:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--navy-950);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: .85rem;
}
.footer__legal {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.footer__legal li { margin: 0; }

/* -------------------------------------------- 17. Floating actions ------- */
.float-actions {
    position: fixed;
    right: clamp(1rem, 2.5vw, 1.75rem);
    bottom: clamp(1rem, 2.5vw, 1.75rem);
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.float-btn {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform .28s var(--ease), background-color .28s var(--ease);
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-btn--wa { background: #25D366; }
.float-btn--wa:hover { background: #1FA855; }
.float-btn--top {
    background: var(--navy-800);
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-btn--top:hover { background: var(--navy-700); }

/* WhatsApp pulse ring. */
.float-btn--wa::after {
    content: "";
    position: absolute;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .6);
    animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* Page load progress bar. */
.page-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--gold-500);
    z-index: 1400;
    transition: width .15s linear;
}

/* ------------------------------------------------ 18. Motion / reveal ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal-delay="4"] { transition-delay: .36s; }
[data-reveal-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .hero__slide img { transform: none; }
}

/* --------------------------------------------------- 19. Responsive ------ */
@media (max-width: 1200px) {
    .nav__link { padding: .6rem .58rem; font-size: .81rem; }
    .footer__main { grid-template-columns: 1.5fr 1fr 1.3fr; }
    .footer__col--services { display: none; }
}

@media (max-width: 1024px) {
    :root { --header-h: 74px; }

    .nav { display: none; }
    .nav-toggle { display: grid; }
    .header__actions .btn--quote { display: none; }

    .topbar__list li.is-optional { display: none; }

    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .hero__strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__strip-item:nth-child(2n) { border-right: 0; }
    .hero__strip-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }

    .masonry { column-count: 2; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .contact-layout { grid-template-columns: 1fr; }

    .team-card { flex-basis: calc((100% - 2 * var(--team-gap)) / 3); }

    .svc-detail { grid-template-columns: 1fr; }
    .svc-detail__aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
    .process::before { display: none; }

    .svc-why__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .topbar { display: none; }

    .split {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .split--reverse .split__media { order: 0; }
    .split__media::before { display: none; }

    .cta-band__inner { flex-direction: column; align-items: flex-start; }

    .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__col--services { display: block; }

    .team-grid { --team-gap: 1.25rem; }
    .team-card { flex-basis: calc((100% - var(--team-gap)) / 2); }

    .svc-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --gutter: 1.15rem; }

    .grid--2,
    .grid--3,
    .grid--4 { grid-template-columns: 1fr; }

    /* Capped so the hero cannot run away on very tall phone viewports. */
    .hero { min-height: clamp(520px, 78vh, 760px); }
    .hero__actions .btn { width: 100%; }

    .hero__strip-inner { grid-template-columns: 1fr; }
    .hero__strip-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding-block: 1.05rem;
    }
    .hero__strip-item:last-child { border-bottom: 0; }

    .form-grid { grid-template-columns: 1fr; }
    .masonry { column-count: 1; }
    .stats { grid-template-columns: 1fr; }

    .footer__main { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }

    .section-head--split { align-items: flex-start; }

    .team-grid { --team-gap: .9rem; }
    .team-card__body { padding: 1.1rem .9rem 1.25rem; }
    .team-card__body h3 { font-size: 1rem; }
    .team-card__body p { font-size: .82rem; }
    .team-pillars { grid-template-columns: 1fr; }

    .svc-detail__aside { grid-template-columns: 1fr; }
    .svc-hero-media__badge {
        left: 1rem;
        max-width: calc(100% - 2rem);
        padding: .7rem 1rem .7rem .7rem;
    }
    .svc-hero-media__icon { width: 44px; height: 44px; font-size: 1.1rem; }
    .svc-hero-media__label { font-size: .9rem; }
    .scope-grid { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr; }
    .svc-why__items { grid-template-columns: 1fr; }

    .lightbox__prev { left: .5rem; }
    .lightbox__next { right: .5rem; }
    .lightbox__btn { width: 42px; height: 42px; font-size: .9rem; }
}

@media (max-width: 400px) {
    .brand__mark { font-size: 1.5rem; }
    .brand__img { height: 48px; }
    .team-card { flex-basis: 100%; max-width: 340px; }
    .brand__name { font-size: .55rem; letter-spacing: .15em; }
    .float-btn { width: 48px; height: 48px; font-size: 1.15rem; }
    .float-btn--wa::after { width: 48px; height: 48px; }
}

/* ------------------------------------------------------ Print ------------ */
@media print {
    .topbar, .site-header, .site-footer, .float-actions,
    .mobile-nav, .nav-backdrop, .hero__dots { display: none !important; }
    body { color: #000; }
    a { color: #000; text-decoration: underline; }
}

/* ------------------------------------------------- Pagination ------------ */
.pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
}
.pagination a {
    min-width: 44px;
    height: 44px;
    padding-inline: .75rem;
    display: inline-grid;
    place-items: center;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-600);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease);
}
.pagination a:hover {
    border-color: var(--navy-800);
    color: var(--navy-900);
}
.pagination a.is-active {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}
