/*-------------------------------------------------------------
    Zemlink refresh
    Loaded after style.css. Everything here overrides the
    template, so the template files stay untouched.

    01- Tokens
    02- Typography (Manrope)
    03- Buttons
    04- Header & navbar
    05- Hero carousel
    06- Features strip
    07- About sections
    08- Services
    09- Clients
    10- About banner
    11- Team
    12- Values (banner layout 4)
    13- Footer & scroll-top
    14- Preloader
    15- Motion: scroll reveals
    16- Reduced motion
--------------------------------------------------------------*/

/*----------------------------
    01- Tokens
-----------------------------*/
:root {
    --z-brand: #850101;
    --z-brand-600: #6a0101;
    --z-brand-50: #fbf1f1;
    --z-ink: #15171c;
    --z-body: #555b66;
    --z-muted: #6b717c;
    --z-line: #e7e8eb;
    --z-surface: #f6f6f7;
    --z-white: #ffffff;

    /* One radius scale: controls 10px, cards and images 16px */
    --z-radius-sm: 10px;
    --z-radius-lg: 16px;

    --z-shadow-sm: 0 1px 2px rgba(21, 23, 28, 0.06), 0 2px 8px rgba(21, 23, 28, 0.04);
    --z-shadow-lg: 0 2px 4px rgba(21, 23, 28, 0.04), 0 18px 40px -12px rgba(21, 23, 28, 0.16);

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/*----------------------------
    02- Typography (Manrope)
-----------------------------*/
html {
    -webkit-text-size-adjust: 100%;
}

/* The template forces Poppins/Rubik/Roboto on everything, icons use <i> so they keep their own font */
body,
body *:not(i) {
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

body {
    color: var(--z-body);
    font-size: 16px;
    font-feature-settings: "ss01", "cv11";
    text-rendering: optimizeLegibility;
}

::selection {
    background-color: var(--z-brand);
    color: var(--z-white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--z-ink);
    font-weight: 700;
    text-transform: none;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.7;
}

.heading__title {
    font-size: clamp(1.85rem, 1.2rem + 1.7vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-wrap: balance;
}

.heading-layout2 .heading__title {
    font-size: clamp(1.85rem, 1.2rem + 1.7vw, 2.6rem);
}

.heading-layout3 .heading__title {
    font-size: clamp(2rem, 1.3rem + 2vw, 3rem);
}

.heading__subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--z-brand);
}

.heading__desc {
    color: var(--z-body);
    max-width: 62ch;
}

/*----------------------------
    03- Buttons
-----------------------------*/
.btn {
    height: 54px;
    line-height: 54px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    border-radius: var(--z-radius-sm);
    -webkit-transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
    transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}

.btn:not(.btn__link):before {
    -webkit-transition: transform 320ms var(--ease-out);
    transition: transform 320ms var(--ease-out);
}

.btn:active {
    transform: scale(0.97);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--z-brand) !important;
    outline-offset: 3px;
}

/* Iconsax arrow chip inside buttons (replaces .icon-arrow-right) */
.btn i.isax {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    vertical-align: middle;
    margin: -2px 10px 0 0;
    transition: transform 240ms var(--ease-out), color 200ms ease, background-color 200ms ease;
}

.btn__icon span {
    margin-right: 0;
}

.btn__primary i.isax {
    color: var(--z-brand);
    background-color: var(--z-white);
}

.btn__primary:hover i.isax {
    color: var(--z-ink);
}

.btn__secondary {
    background-color: var(--z-ink);
}

.btn__secondary i.isax {
    color: var(--z-ink);
    background-color: var(--z-white);
}

.btn__secondary:hover i.isax {
    color: var(--z-brand);
}

.btn__secondary:active,
.btn__secondary:focus {
    background-color: var(--z-ink);
}

/* The template's "btn__bordered" rules were lost to a find/replace (btn__borde#850101), restored here */
.btn__white.btn__bordered {
    background-color: transparent;
    color: var(--z-white);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

.btn__white.btn__bordered:before {
    background-color: var(--z-white);
}

.btn__white.btn__bordered:hover,
.btn__white.btn__bordered:focus {
    color: var(--z-brand);
    background-color: transparent;
}

.btn__link {
    height: auto;
    line-height: 1;
    padding: 0;
}

.btn__link i.isax {
    width: 36px;
    height: 36px;
    font-size: 17px;
    margin: 0;
}

.btn__link.btn__secondary i.isax {
    color: var(--z-white);
    background-color: var(--z-ink);
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover i.isax {
        transform: translateX(3px);
    }
}

/*----------------------------
    04- Header & navbar
-----------------------------*/
.header-topbar {
    height: 44px;
    padding-top: 0;
    display: flex;
    align-items: center;
    border-bottom-color: var(--z-line);
}

.header-topbar .container-fluid {
    width: 100%;
    padding-right: 32px;
    padding-left: 32px;
}

.header-topbar .contact-list li,
.header-topbar .contact-list li a {
    font-size: 13px;
    font-weight: 500;
    color: var(--z-muted);
}

.header-topbar .contact-list li span {
    margin-right: 4px;
}

.header-topbar .contact-list li a + a:before {
    content: ", ";
}

.header-topbar .contact-list li i.isax {
    font-size: 16px;
    color: var(--z-brand);
    margin-right: 8px;
}

.navbar,
.navbar > .container,
.navbar > .container-fluid {
    height: 84px;
    max-height: 84px;
}

.navbar {
    box-shadow: 0 1px 0 var(--z-line);
}

@media (min-width: 992px) {
    .navbar > .container-fluid {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}

.navbar .navbar-brand {
    line-height: 84px;
}

.navbar .nav__item {
    margin-right: 32px;
}

.navbar .nav__item .nav__item-link {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 84px;
    color: var(--z-ink);
}

/* There are no dropdown menus, so the template's caret was a false affordance */
.navbar .nav__item.with-dropdown .nav__item-link {
    padding-right: 0;
}

.navbar .dropdown-toggle:after {
    display: none;
}

.navbar .nav__item .nav__item-link:before {
    bottom: 22px;
    height: 2px;
    border-radius: 2px;
    -webkit-transition: transform 300ms var(--ease-out);
    transition: transform 300ms var(--ease-out);
}

.action-btn__request {
    min-width: 0;
    height: 48px;
    line-height: 48px;
    padding: 0 20px;
    border-radius: var(--z-radius-sm);
}

.action-btn__request i.isax {
    margin: -2px 0 0 10px;
    width: 22px;
    height: 22px;
    font-size: 13px;
}

.is-sticky {
    height: 72px !important;
    max-height: 72px !important;
    background-color: rgba(255, 255, 255, 0.86) !important;
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 rgba(21, 23, 28, 0.06), 0 8px 24px -12px rgba(21, 23, 28, 0.18) !important;
    -webkit-animation: zNavIn 320ms var(--ease-out);
    animation: zNavIn 320ms var(--ease-out);
}

.is-sticky > .container,
.is-sticky > .container-fluid {
    height: 72px !important;
}

.is-sticky .navbar-brand,
.is-sticky .nav__item .nav__item-link {
    line-height: 72px !important;
}

.is-sticky .nav__item .nav__item-link:before {
    bottom: 16px;
}

.is-sticky .action-btn__request {
    height: 44px;
    line-height: 44px;
}

@keyframes zNavIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .is-sticky {
        background-color: #ffffff !important;
    }
}

/*----------------------------
    05- Hero carousel
    Crossfading photos with a slow settle, headlines that hand over
    to each other, and progress tabs that double as the timer.
    Driven by zemlink.js; without JS the first slide simply shows.
-----------------------------*/
.z-hero {
    --hero-duration: 7000ms;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 600px;
    min-height: max(600px, calc(100vh - 128px));
    min-height: max(600px, calc(100dvh - 128px));
    padding: 72px 0 84px;
    background-color: #120e0e;
}

.z-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.z-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    /* Fade out, then quietly reset the zoom once invisible */
    transition: opacity 1200ms ease, transform 0ms linear 1200ms;
    will-change: opacity, transform;
}

.z-hero__img.is-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1200ms ease, transform 9000ms cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* Legibility: dark on the text side and along the bottom where the tabs sit */
.z-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(14, 11, 11, 0.86) 0%, rgba(14, 11, 11, 0.6) 42%, rgba(14, 11, 11, 0.12) 100%),
        linear-gradient(0deg, rgba(14, 11, 11, 0.7) 0%, rgba(14, 11, 11, 0) 38%);
}

.z-hero__inner {
    position: relative;
    width: 100%;
}

/* All slides share one grid cell, so the hero never jumps in height */
.z-hero__slides {
    display: grid;
}

.z-hero__slide {
    grid-area: 1 / 1;
    align-self: end;
    max-width: 720px;
    visibility: hidden;
    transition: visibility 0ms linear 500ms;
}

.z-hero__slide.is-active {
    visibility: visible;
    transition: none;
}

.z-hero__slide > * {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(6px);
    transition: opacity 380ms ease, transform 380ms ease, filter 380ms ease;
}

.z-hero__slide.is-active > * {
    opacity: 1;
    transform: none;
    filter: none;
    transition: opacity 800ms var(--ease-out) var(--in-delay, 0ms), transform 1000ms var(--ease-out) var(--in-delay, 0ms), filter 800ms var(--ease-out) var(--in-delay, 0ms);
}

/* Incoming copy waits for the outgoing copy to clear, then staggers in */
.z-hero__slide.is-active > :nth-child(1) { --in-delay: 280ms; }
.z-hero__slide.is-active > :nth-child(2) { --in-delay: 380ms; }
.z-hero__slide.is-active > :nth-child(3) { --in-delay: 480ms; }

/* Outgoing copy lifts away instead of sinking */
.z-hero__slide.is-leaving > * {
    transform: translate3d(0, -16px, 0);
}

/* First paint: hold everything until the preloader clears */
.js:not(.is-ready) .z-hero__slide.is-active > * {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(6px);
}

.js:not(.is-ready) .z-hero__img.is-active {
    transform: scale(1.08);
}

.z-hero__title {
    font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
    color: var(--z-white);
    max-width: 15ch;
    margin: 0 0 20px;
    text-wrap: balance;
}

.z-hero__desc {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
    max-width: 46ch;
    margin: 0 0 32px;
}

.z-hero .btn__lg {
    height: 58px;
    line-height: 58px;
    padding: 0 26px 0 18px;
}

/* Press feedback wins over the entrance transition */
.z-hero__slide.is-active > .btn {
    transition: opacity 800ms var(--ease-out) var(--in-delay), transform 1000ms var(--ease-out) var(--in-delay), filter 800ms var(--ease-out) var(--in-delay), background-color 200ms ease, color 200ms ease;
}

.z-hero.is-settled .z-hero__slide.is-active > .btn {
    transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}

.z-hero.is-settled .z-hero__slide.is-active > .btn:active {
    transform: scale(0.97);
}

/* Progress tabs */
.z-hero__controls {
    display: flex;
    margin-top: 72px;
    align-items: flex-end;
    gap: 20px;
}

.z-hero__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    flex: 1;
    max-width: 760px;
}

.z-hero__tab {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    border: 0;
    background: none;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 200ms ease;
}

.z-hero__tab:hover,
.z-hero__tab.is-active {
    color: var(--z-white);
}

.z-hero__bar {
    position: relative;
    display: block;
    height: 3px;
    border-radius: 3px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.24);
}

.z-hero__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: var(--z-white);
    transform: scaleX(0);
    transform-origin: left center;
}

/* Tabs already seen stay full, like a reading progress */
.z-hero__tab.is-done .z-hero__fill {
    transform: scaleX(1);
}

/* The fill is the timer: when it ends, zemlink.js moves to the next slide */
.z-hero__tab.is-active .z-hero__fill {
    animation: zHeroProgress var(--hero-duration) linear forwards;
}

.z-hero.is-paused .z-hero__tab.is-active .z-hero__fill {
    animation-play-state: paused;
}

.js:not(.is-ready) .z-hero__tab.is-active .z-hero__fill {
    animation: none;
}

@keyframes zHeroProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.z-hero__label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.z-hero__pause {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    margin-bottom: 2px;
    border: 0;
    border-radius: 50%;
    font-size: 16px;
    color: var(--z-white);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background-color 200ms ease, transform 160ms var(--ease-out);
}

.z-hero__pause:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.z-hero__pause:active {
    transform: scale(0.94);
}

@media (prefers-reduced-motion: reduce) {
    .z-hero__img,
    .z-hero__img.is-active,
    .js:not(.is-ready) .z-hero__img.is-active {
        transform: none;
        transition: opacity 600ms ease;
    }

    .z-hero__slide > *,
    .z-hero__slide.is-leaving > *,
    .z-hero__slide.is-active > *,
    .js:not(.is-ready) .z-hero__slide.is-active > * {
        transform: none;
        filter: none;
    }
}

@media (max-width: 767px) {
    .z-hero {
        min-height: 560px;
        min-height: max(560px, calc(100svh - 84px));
        padding: 56px 0 76px;
        align-items: flex-end;
    }

    .z-hero:before {
        background:
            linear-gradient(0deg, rgba(14, 11, 11, 0.9) 0%, rgba(14, 11, 11, 0.55) 55%, rgba(14, 11, 11, 0.25) 100%);
    }

    .z-hero__desc {
        font-size: 16.5px;
        margin-bottom: 26px;
    }

    .z-hero__controls {
        margin-top: 44px;
        gap: 14px;
    }

    .z-hero__tabs {
        gap: 8px;
    }

    .z-hero__label {
        display: none;
    }
}

/*----------------------------
    06- Features strip
-----------------------------*/
.slider + .features-latout1 {
    margin-top: -48px;
}

.features-latout1 .features-wrapper {
    border-radius: var(--z-radius-lg);
    overflow: hidden;
    box-shadow: var(--z-shadow-lg);
}

.features-latout1 .feature-item {
    border-right: 1px solid var(--z-line);
}

@media (min-width: 992px) {
    .features-latout1 .feature-item,
    .features-latout1 .feature-item:last-child {
        -ms-flex: 1 1 0;
        flex: 1 1 0;
        max-width: none;
    }
}

.features-latout1 .feature-item .feature-item__content {
    padding: 36px 32px;
}

.feature-item .feature-item__title {
    font-size: 19px;
    margin-bottom: 10px;
}

.feature-item .feature-item__desc {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.features-latout1 .bg-theme .feature-item__desc {
    color: rgba(255, 255, 255, 0.82) !important;
}

.features-latout1 .counter {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.04em;
    width: auto;
    margin-right: 10px;
    font-variant-numeric: tabular-nums;
}

.features-latout1 .feature-item:hover .btn__link.btn__secondary i.isax {
    background-color: var(--z-brand);
}

/*----------------------------
    07- About sections
-----------------------------*/
.about-layout2 {
    padding-top: 96px;
    padding-bottom: 32px;
}

.about-layout2 .about-img img {
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-lg);
}

.about-layout2 .heading__desc:first-of-type {
    font-size: 18px;
    font-weight: 600;
    color: var(--z-ink);
    line-height: 1.55;
}

.about-layout2 .btn__icon {
    height: 54px;
    line-height: 54px;
}

/*----------------------------
    08- Services
-----------------------------*/
.services-layout2 .heading__title {
    color: var(--z-white);
}

.services-layout2 .container > .row:first-child p {
    color: rgba(255, 255, 255, 0.84) !important;
}

.services-layout2 .heading__desc {
    color: var(--z-white) !important;
    font-size: 18px;
    line-height: 1.6;
}

/* Service cards: a plain grid, so every card is fully on screen at every width */
.z-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1199px) {
    .z-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .z-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.service-item {
    height: 100%;
    margin-bottom: 0;
    border-radius: var(--z-radius-lg);
    -webkit-transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
    transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}

.service-item:after {
    background-color: var(--z-brand);
    -webkit-transition: transform 300ms var(--ease-out), opacity 200ms ease;
    transition: transform 300ms var(--ease-out), opacity 200ms ease;
}

.service-item .service-item__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 36px 32px 32px;
}

.service-item .service-item__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 28px;
    color: var(--z-brand);
    background-color: var(--z-brand-50);
    margin-bottom: 24px;
}

.service-item .service-item__title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.service-item .service-item__desc {
    color: var(--z-body);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
}

.services-layout2 .slick-slider .service-item__desc {
    min-height: 0;
}

.service-item .btn {
    margin-top: auto;
    height: 44px;
    line-height: 44px;
    width: auto;
    min-width: 132px;
}

.service-item .btn i.isax {
    width: 22px;
    height: 22px;
    font-size: 13px;
    margin: 0;
}

@media (hover: hover) and (pointer: fine) {
    .services-layout2 .service-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 48px -20px rgba(20, 0, 0, 0.55);
    }
}

.slick-dots li {
    width: 10px;
    height: 10px;
    border-width: 2px;
    transition: border-color 200ms ease, transform 200ms var(--ease-out);
}

.slick-dots li.slick-active {
    transform: scale(1.2);
}

.slick-dots li:only-child {
    display: none;
}

/* Service cards: the whole card is the link */
.z-service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 28px 26px;
    border-radius: var(--z-radius-lg);
    background-color: var(--z-white);
    color: var(--z-body);
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 32px -16px rgba(20, 0, 0, 0.45);
    transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.z-service-card:hover,
.z-service-card:focus {
    color: var(--z-body);
    text-decoration: none;
}

.z-service-card:focus-visible {
    outline: 2px solid var(--z-white) !important;
    outline-offset: 4px;
}

.z-service-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 26px;
    color: var(--z-brand);
    background-color: var(--z-brand-50);
    transition: background-color 250ms ease, color 250ms ease, transform 320ms var(--ease-out);
}

.z-service-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--z-ink);
    margin: 24px 0 10px;
}

.z-service-card__desc {
    flex: 1;
    font-size: 15px;
    line-height: 1.65;
    color: var(--z-body) !important;
    margin: 0;
}

.z-service-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--z-line);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--z-ink);
}

.z-service-card__arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    color: var(--z-ink);
    background-color: var(--z-surface);
    transition: background-color 250ms ease, color 250ms ease, transform 320ms var(--ease-out);
}

/* The service icon again, large and faint, tucked into the corner */
.z-service-card__watermark {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: -1;
    font-size: 132px;
    line-height: 1;
    color: var(--z-brand);
    opacity: 0.05;
    transform: rotate(-8deg);
    transition: opacity 320ms ease, transform 600ms var(--ease-out);
}

.z-service-card:active {
    transform: scale(0.985);
}

@media (hover: hover) and (pointer: fine) {
    .z-service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 28px 56px -22px rgba(20, 0, 0, 0.6);
    }

    .z-service-card:hover .z-service-card__icon {
        color: var(--z-white);
        background-color: var(--z-brand);
    }

    .z-service-card:hover .z-service-card__arrow {
        color: var(--z-white);
        background-color: var(--z-brand);
        transform: translateX(3px);
    }

    .z-service-card:hover .z-service-card__watermark {
        opacity: 0.08;
        transform: rotate(0deg) scale(1.06);
    }
}

@media (max-width: 767px) {
    .z-service-card {
        padding: 26px 22px 22px;
    }

    .z-service-card__title {
        font-size: 18px;
        margin-top: 20px;
    }
}

/*----------------------------
    09- Clients
-----------------------------*/
/* Client logos: an endless, slow strip. Pauses on hover. */
.clients {
    padding-top: 80px;
    padding-bottom: 72px;
}

.z-logos__heading {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--z-muted);
    text-align: center;
    margin: 0 0 32px;
}

.z-logos {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.z-logos__track {
    display: flex;
    width: max-content;
    animation: zMarquee 45s linear infinite;
}

.z-logos:hover .z-logos__track {
    animation-play-state: paused;
}

.z-logos__list {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 8px 20px 8px 0;
    list-style: none;
}

.z-logos__item {
    display: grid;
    place-items: center;
    width: 172px;
    height: 96px;
    padding: 14px 18px;
    border-radius: 14px;
    background-color: var(--z-white);
    box-shadow: var(--z-shadow-sm);
}

.z-logos__item img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
    opacity: 0.72;
    filter: grayscale(1);
    transition: filter 300ms ease, opacity 300ms ease, transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .z-logos__item:hover img {
        opacity: 1;
        filter: none;
        transform: scale(1.05);
    }
}

/* The track holds the list twice; moving it by half loops seamlessly */
@keyframes zMarquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 767px) {
    .z-logos__item {
        width: 136px;
        height: 78px;
    }

    .z-logos__list {
        gap: 14px;
        padding-right: 14px;
    }

    .z-logos__track {
        animation-duration: 32s;
    }
}

/* No endless motion for people who ask for less: show a still, wrapped wall */
@media (prefers-reduced-motion: reduce) {
    .z-logos {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .z-logos__track {
        width: auto;
        justify-content: center;
        animation: none;
    }

    .z-logos__list {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 16px;
    }

    .z-logos__list[aria-hidden="true"] {
        display: none;
    }
}

/*----------------------------
    10- About banner
-----------------------------*/
.banner-panel {
    border-radius: var(--z-radius-lg);
    padding: 56px;
    box-shadow: var(--z-shadow-lg);
}

.banner-panel:before {
    top: 64px;
    border-radius: 0 3px 3px 0;
}

.banner-panel .heading__title {
    font-size: clamp(1.35rem, 1rem + 0.9vw, 1.75rem);
    line-height: 1.3;
    margin-bottom: 22px;
}

.banner-panel p {
    font-size: 15.5px;
}

.banner-layout3 img.w-100 {
    display: block;
}

/*----------------------------
    11- Team
-----------------------------*/
.portfolio-standard .portfolio-item {
    border-radius: var(--z-radius-lg);
    overflow: hidden;
    background-color: var(--z-white);
    box-shadow: var(--z-shadow-lg);
    margin: 8px 12px 36px;
}

.portfolio-item .portfolio-item__img img {
    border-radius: 0;
    -webkit-transition: transform 700ms var(--ease-out);
    transition: transform 700ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-item:hover .portfolio-item__img img {
        transform: scale(1.04);
    }
}

.portfolio-item .portfolio-item__content {
    padding: 26px 28px 28px;
}

.portfolio-item .portfolio-item__cat,
.portfolio-item .portfolio-item__cat a {
    font-size: 13px;
    font-weight: 700;
    color: var(--z-brand);
}

.portfolio-item .portfolio-item__title {
    font-size: 21px;
    margin: 4px 0 12px;
    color: var(--z-ink);
}

.portfolio-item .portfolio-item__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--z-body);
    margin-bottom: 0;
}

/* Long bios are clamped with a "Read full profile" toggle (see zemlink.js) */
.js .portfolio-standard .portfolio-item__desc:not(.is-expanded) {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.z-bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 6px 0;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--z-brand);
    cursor: pointer;
    transition: color 200ms ease, transform 160ms var(--ease-out);
}

.z-bio-toggle:hover {
    color: var(--z-ink);
}

.z-bio-toggle:active {
    transform: scale(0.97);
}

.z-bio-toggle i.isax {
    font-size: 15px;
    transition: transform 250ms var(--ease-out);
}

.z-bio-toggle[aria-expanded="true"] i.isax {
    transform: rotate(180deg);
}

/*----------------------------
    12- Values (banner layout 4)
-----------------------------*/
.banner-layout4 {
    padding-top: 110px;
    padding-bottom: 90px;
}

.banner-layout4.bg-overlay:before {
    background-color: rgba(14, 11, 11, 0.74);
}

.fancybox-item {
    margin-bottom: 36px;
}

.fancybox-item .fancybox-item__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 24px;
    color: var(--z-white);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    margin-bottom: 16px;
    transition: transform 280ms var(--ease-out), background-color 200ms ease;
}

/* Replaces the template's infinite bounce on hover */
.fancybox-item:hover .fancybox-item__icon {
    -webkit-animation: none;
    animation: none;
}

@media (hover: hover) and (pointer: fine) {
    .fancybox-item:hover .fancybox-item__icon {
        transform: translateY(-3px);
        background-color: var(--z-brand);
    }
}

.fancybox-light .fancybox-item__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--z-white);
}

.fancybox-light .fancybox-item__desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

/*----------------------------
    13- Footer & scroll-top
-----------------------------*/
.footer-primary {
    padding-top: 88px;
    padding-bottom: 32px;
}

.footer p,
.footer-widget-contact p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
}

.footer-widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-number {
    font-weight: 700;
}

.contact-number i.isax {
    font-size: 20px;
    margin-right: 10px;
    color: var(--z-white);
}

.footer .social-icons {
    display: flex;
    gap: 10px;
}

.footer .social-icons li {
    margin: 0;
}

.footer .social-icons li a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--z-white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transition: background-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}

.footer .social-icons li a .fab {
    font-size: 15px;
}

.footer .social-icons li a:hover {
    color: var(--z-white);
    background-color: var(--z-brand);
    box-shadow: inset 0 0 0 1px var(--z-brand);
}

.footer .social-icons li a:active {
    transform: scale(0.94);
}

.footer-copyrights {
    padding-top: 28px;
    padding-bottom: 28px;
}

.footer-copyrights p {
    color: rgba(255, 255, 255, 0.5);
}

#scrollTopBtn {
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    font-size: 20px;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 24px -8px rgba(133, 1, 1, 0.55);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
    -webkit-transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), background-color 200ms ease;
    transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), background-color 200ms ease;
}

#scrollTopBtn.actived {
    right: 24px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

#scrollTopBtn:active {
    transform: scale(0.94);
}

/* Tawk.to chat bubble sits bottom-right too, keep the button clear of it */
@media (max-width: 767px) {
    #scrollTopBtn,
    #scrollTopBtn.actived {
        right: 16px;
        bottom: 96px;
    }
}

/*----------------------------
    14- Preloader
    Logo settles in, a brand-red arc circles it, then the screen lifts
    away like a curtain while the hero animates in underneath.
-----------------------------*/
.z-loader {
    background-color: var(--z-white);
    clip-path: inset(0 0 0 0);
}

.z-loader__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 184px;
    height: 184px;
    animation: zLoaderIn 500ms var(--ease-out) both;
}

.z-loader__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.z-loader__track,
.z-loader__arc {
    fill: none;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.z-loader__track {
    stroke: var(--z-line);
}

.z-loader__arc {
    stroke: var(--z-brand);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 22 78;
    transform-origin: 50% 50%;
    animation: zLoaderSpin 1100ms cubic-bezier(0.6, 0.15, 0.4, 0.85) infinite;
}

.z-loader__logo {
    width: 112px;
    height: auto;
    animation: zLoaderBreathe 1600ms ease-in-out 500ms infinite alternate;
}

/* Exit: mark lifts and fades fast, then the curtain rises */
.z-loader.is-leaving {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 650ms var(--ease-in-out) 100ms;
    pointer-events: none;
}

.z-loader.is-leaving .z-loader__mark {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
    transition: opacity 220ms ease, transform 300ms var(--ease-out);
    animation: none;
}

@keyframes zLoaderIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes zLoaderBreathe {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.965);
    }
}

@media (prefers-reduced-motion: reduce) {
    .z-loader__mark,
    .z-loader__logo {
        animation: none;
    }

    .z-loader__arc {
        animation: zLoaderPulse 1200ms ease-in-out infinite alternate;
    }

    .z-loader.is-leaving {
        clip-path: inset(0 0 0 0);
        opacity: 0;
        transition: opacity 300ms ease;
    }

    @keyframes zLoaderPulse {
        from { opacity: 0.35; }
        to { opacity: 1; }
    }
}

/*----------------------------
    15- Motion: scroll reveals
    Classes are added by zemlink.js. Without JS nothing is hidden.
-----------------------------*/
.js [data-reveal],
.js [data-reveal-item] {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal="clip"] {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1100ms var(--ease-in-out);
    transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-inview,
.js [data-reveal-item].is-inview {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
}

/*----------------------------
    16- Reduced motion
    Keep gentle fades that help comprehension, drop movement.
-----------------------------*/
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal],
    .js [data-reveal-item],
    .js [data-reveal="clip"] {
        transform: none;
        clip-path: none;
        transition: opacity 400ms ease;
    }

    .is-sticky {
        -webkit-animation: none;
        animation: none;
    }

    .btn:active,
    .z-bio-toggle:active,
    #scrollTopBtn:active {
        transform: none;
    }
}

/*----------------------------
    Mobile
-----------------------------*/
@media (max-width: 767px) {
    .about-layout2 {
        padding-top: 64px;
    }

    .banner-panel {
        padding: 32px 24px;
        border-radius: 0;
    }

    .features-latout1 .feature-item .feature-item__content {
        padding: 28px 24px;
    }

    .service-item .service-item__content {
        padding: 28px 24px 24px;
    }

    .service-item .service-item__icon {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .service-item .service-item__title {
        font-size: 18px;
    }

    .banner-layout4 {
        padding-top: 72px;
        padding-bottom: 48px;
    }

    .footer-primary {
        padding-top: 64px;
    }
}

/*----------------------------
    17- Gallery page
-----------------------------*/
.z-page-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 112px 0 96px;
    background-color: #120e0e;
}

.z-page-head__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.z-page-head__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.z-page-head:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(14, 11, 11, 0.88) 0%, rgba(14, 11, 11, 0.62) 50%, rgba(14, 11, 11, 0.3) 100%);
}

.z-crumbs {
    display: flex;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.z-crumbs li + li:before {
    content: "/";
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.z-crumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.z-crumbs a:hover {
    color: var(--z-white);
}

.z-crumbs [aria-current] {
    color: var(--z-white);
}

.z-page-head__title {
    font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    color: var(--z-white);
    margin: 0 0 18px;
}

.z-page-head__lead {
    max-width: 48ch;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
}

.z-projects {
    padding: 64px 0 40px;
}

.z-projects__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.z-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.z-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--z-ink);
    background-color: var(--z-surface);
    box-shadow: inset 0 0 0 1px var(--z-line);
    cursor: pointer;
    transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}

.z-filter:hover {
    background-color: #eeeef0;
}

.z-filter:active {
    transform: scale(0.97);
}

.z-filter.is-active {
    color: var(--z-white);
    background-color: var(--z-ink);
    box-shadow: none;
}

.z-filter__count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--z-muted);
    background-color: var(--z-white);
}

.z-filter.is-active .z-filter__count {
    color: var(--z-ink);
}

.z-projects__count {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--z-muted);
    font-variant-numeric: tabular-nums;
}

.z-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.z-project {
    transition: opacity 220ms ease, transform 220ms var(--ease-out);
}

.z-project.is-hiding {
    opacity: 0;
    transform: scale(0.97);
}

.z-project[hidden] {
    display: none;
}

.z-project__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: var(--z-radius-lg);
    background-color: var(--z-surface);
    box-shadow: var(--z-shadow-sm);
}

.z-project__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease-out);
}

.z-project__zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--z-ink);
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px -6px rgba(21, 23, 28, 0.35);
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    transition: opacity 220ms ease, transform 280ms var(--ease-out);
}

.z-project__media:focus-visible .z-project__zoom {
    opacity: 1;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .z-project__media:hover img {
        transform: scale(1.04);
    }

    .z-project__media:hover .z-project__zoom {
        opacity: 1;
        transform: none;
    }
}

.z-project__meta {
    padding: 16px 4px 0;
}

.z-project__title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--z-ink);
    margin: 0 0 6px;
}

.z-project__area {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 14.5px;
    color: var(--z-muted);
}

.z-project__area i {
    font-size: 16px;
    color: var(--z-brand);
}

.z-cta {
    padding: 40px 0 104px;
}

.z-cta__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 56px;
    border-radius: 20px;
    background: linear-gradient(120deg, var(--z-brand) 0%, var(--z-brand-600) 100%);
    box-shadow: 0 24px 48px -24px rgba(106, 1, 1, 0.6);
}

.z-cta__title {
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--z-white);
    margin: 0 0 10px;
    max-width: 22ch;
}

.z-cta__text {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 52ch;
}

.z-cta__btn {
    flex: none;
    padding: 0 26px 0 18px;
}

.z-cta__btn i.isax {
    color: var(--z-white);
    background-color: var(--z-brand);
}

@media (max-width: 991px) {
    .z-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .z-cta__panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 32px;
    }
}

@media (max-width: 575px) {
    .z-page-head {
        padding: 72px 0 64px;
    }

    .z-page-head__lead {
        font-size: 16.5px;
    }

    .z-projects {
        padding-top: 40px;
    }

    .z-projects__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .z-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -15px;
        padding: 2px 15px;
        scrollbar-width: none;
    }

    .z-filters::-webkit-scrollbar {
        display: none;
    }

    .z-filter {
        flex: none;
    }

    .z-cta {
        padding-bottom: 72px;
    }

    .z-cta__panel {
        padding: 32px 24px;
        border-radius: var(--z-radius-lg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .z-project,
    .z-project.is-hiding {
        transform: none;
    }
}

/* Top bar: one line, icons carry the labels */
.header-topbar .contact-list {
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

/* Bootstrap's d-xl-block overrides flex centring, so centre with padding instead */
.header-topbar {
    padding-top: 12px;
}

/*----------------------------
    18- Valuation, Facility management, About us
-----------------------------*/
.z-section-title {
    font-size: clamp(2rem, 1.3rem + 2vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: var(--z-ink);
    margin: 0 0 20px;
    text-wrap: balance;
}

.z-lead {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--z-ink);
    max-width: 52ch;
    margin: 0 0 16px;
}

.z-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--z-body);
    max-width: 62ch;
    margin: 0 0 16px;
}

.z-eyebrow {
    font-size: 14px;
    font-weight: 700;
    color: var(--z-brand);
    margin: 0 0 14px;
}

.z-textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--z-brand);
}

.z-textlink i {
    font-size: 16px;
    transition: transform 250ms var(--ease-out);
}

.z-textlink:hover {
    color: var(--z-ink);
}

@media (hover: hover) and (pointer: fine) {
    .z-textlink:hover i {
        transform: translateY(3px);
    }
}

.z-photo {
    margin: 0;
    overflow: hidden;
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-lg);
    background-color: var(--z-surface);
}

.z-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Valuation: copy left, two staggered portraits right */
.z-valuation {
    padding: 128px 0 112px;
}

.z-valuation__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.z-valuation .btn {
    margin-top: 12px;
}

.z-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
}

.z-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background-color: var(--z-surface);
    box-shadow: inset 0 0 0 1px var(--z-line);
}

.z-step__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
    color: var(--z-brand);
    background-color: var(--z-white);
    box-shadow: var(--z-shadow-sm);
}

.z-step__text {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--z-ink);
}

.z-valuation__media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.z-photo--a,
.z-photo--b {
    aspect-ratio: 440 / 549;
}

.z-photo--b {
    margin-top: 72px;
}

/* Facility management: statement, then a bento of photo + four pillars */
.z-fm {
    padding: 112px 0;
    background-color: var(--z-surface);
}

.z-fm__head {
    max-width: 760px;
    margin-bottom: 48px;
}

.z-fm__statement {
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: var(--z-ink);
    margin: 0 0 18px;
}

.z-fm__statement em {
    font-style: normal;
    color: var(--z-brand);
}

.z-bento {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.z-bento__photo {
    grid-row: 1 / span 2;
    margin: 0;
    overflow: hidden;
    border-radius: var(--z-radius-lg);
    min-height: 420px;
}

.z-bento__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .z-bento__photo:hover img {
        transform: scale(1.03);
    }
}

.z-bento__cell {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: var(--z-radius-lg);
    background-color: var(--z-white);
    box-shadow: var(--z-shadow-sm);
}

.z-bento__cell i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: auto;
    border-radius: 14px;
    font-size: 24px;
    color: var(--z-brand);
    background-color: var(--z-brand-50);
}

.z-bento__cell h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--z-ink);
    margin: 36px 0 8px;
}

.z-bento__cell p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--z-body);
    margin: 0;
}

.z-bento__cell--brand {
    background: linear-gradient(140deg, var(--z-brand) 0%, var(--z-brand-600) 100%);
}

.z-bento__cell--dark {
    background-color: var(--z-ink);
}

.z-bento__cell--brand i,
.z-bento__cell--dark i {
    color: var(--z-white);
    background-color: rgba(255, 255, 255, 0.12);
}

.z-bento__cell--brand h3,
.z-bento__cell--dark h3 {
    color: var(--z-white);
}

.z-bento__cell--brand p,
.z-bento__cell--dark p {
    color: rgba(255, 255, 255, 0.78);
}

.z-fm__foot {
    margin-top: 36px;
}

@media (max-width: 991px) {
    .z-valuation {
        padding: 88px 0 72px;
    }

    .z-valuation__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .z-bento {
        grid-template-columns: 1fr 1fr;
    }

    .z-bento__photo {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .z-fm,
    .z-about {
        padding: 88px 0;
    }

}

@media (max-width: 575px) {
    .z-steps {
        grid-template-columns: 1fr;
    }

    .z-step {
        flex-direction: row;
        align-items: center;
    }

    .z-photo--b {
        margin-top: 40px;
    }

    .z-bento {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .z-bento__cell {
        padding: 24px;
    }

    .z-bento__cell h3 {
        margin-top: 24px;
    }

    .z-lead {
        font-size: 17.5px;
    }

    .z-fm,
    .z-about {
        padding: 72px 0;
    }
}

/* In-page links land below the sticky navbar */
#about,
#team,
#service,
#valuation,
#facility-management {
    scroll-margin-top: 88px;
}

/*----------------------------
    19- About us: sticky statement + guided story
    The chapter crossing the middle of the screen is lit, the others rest
    muted, so a long block of copy reads one idea at a time.
-----------------------------*/
.z-about {
    padding: 128px 0 120px;
}

.z-about__layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 88px;
}

.z-about__sticky {
    position: sticky;
    top: 112px;
}

.z-about__statement {
    font-size: clamp(1.75rem, 1.1rem + 1.4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--z-ink);
    margin: 0 0 28px;
    text-wrap: balance;
}

.z-about__photo {
    margin: 0 0 24px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--z-radius-lg);
    box-shadow: var(--z-shadow-lg);
}

.z-about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.z-story {
    margin: 0;
    padding: 0;
    list-style: none;
}

.z-story__item {
    position: relative;
    padding: 72px 0 72px 36px;
}

/* Rail + marker: the rail is always there, the brand marker draws down when lit */
.z-story__item:before,
.z-story__item:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    border-radius: 2px;
}

.z-story__item:before {
    background-color: var(--z-line);
}

.z-story__item:after {
    background-color: var(--z-brand);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 600ms var(--ease-out);
}

.z-story__title {
    font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--z-ink);
    margin: 0 0 14px;
}

.z-story__text {
    font-size: 17px;
    line-height: 1.75;
    color: var(--z-body);
    margin: 0;
    max-width: 56ch;
}

/* Guided reading, only where it helps: desktop, motion allowed, JS running */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .js .z-story[data-story-ready] .z-story__title,
    .js .z-story[data-story-ready] .z-story__text {
        opacity: 0.32;
        transition: opacity 450ms ease;
    }

    .js .z-story[data-story-ready] .z-story__item.is-current .z-story__title,
    .js .z-story[data-story-ready] .z-story__item.is-current .z-story__text {
        opacity: 1;
    }

    .js .z-story[data-story-ready] .z-story__item.is-current:after {
        transform: scaleY(1);
    }
}

@media (max-width: 991px) {
    .z-about {
        padding: 88px 0 72px;
    }

    .z-about__layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .z-about__sticky {
        position: static;
    }

    .z-about__photo {
        max-width: 560px;
    }

    .z-story__item {
        padding: 28px 0 28px 24px;
    }

    .z-story__item:after {
        transform: scaleY(1);
    }
}

@media (max-width: 575px) {
    .z-story__text {
        font-size: 16px;
    }
}
