:root {
    --red: #b21f2d;
    --red-dark: #861824;
    --white: #fff;
    --ink: #111;
    --muted: #555;
    --line: #e4e4e4;
    --nav-height: 64px;
    --contact-header-height: 118px;
    --mobile-social-height: 0px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: clip;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
}

p {
    text-align: justify;
}

.office-address {
    min-width: 0;
    overflow-wrap: anywhere;
}

.office-address > b {
    display: block;
    margin-bottom: .25rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.office-address > span {
    display: block;
    line-height: 1.65;
}

.office-address a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.office-info {
    min-width: 0;
    overflow-wrap: anywhere;
}

.office-info > b {
    display: block;
    margin-bottom: .25rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.office-info > span {
    display: block;
    line-height: 1.55;
}

.office-contact .office-address {
    width: 100%;
}

.office-contact .office-info {
    width: 100%;
}

.contact-header {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) minmax(175px, .9fr) minmax(190px, .9fr) minmax(410px, 1.8fr) auto;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.5rem);
    min-height: 112px;
    padding: 1.1rem clamp(5%, calc((100% - 1300px) / 2), 8%);
    border-bottom: 1px solid #eee8e5;
    background: #fff;
}

.contact-header-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
}

.contact-header-brand img {
    display: block;
    width: min(250px, 100%);
    height: 82px;
    object-fit: contain;
}

.contact-header-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
}

.contact-header-icon {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    color: var(--red);
}

.contact-header-copy {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-width: 0;
}

.contact-header-label {
    color: #77706d;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-header-value {
    color: #211d1b;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.5;
}

.contact-header-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: .45rem;
}

.contact-header-phones a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.contact-header-phones a:hover,
.contact-header-phones a:focus-visible {
    color: var(--red);
}

.contact-header-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .7rem;
    color: var(--red);
}

.contact-header-socials span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #eadcda;
    border-radius: 50%;
    background: #fff;
}

.contact-header-socials svg {
    display: block;
    width: 18px;
    height: 18px;
}

nav {
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: sticky;
    z-index: 20;
    width: 100%;
    top: 0;
    box-shadow: 0 3px 18px rgba(23, 19, 19, .12);
}

.nav-scroll-brand {
    display: none;
}

@media (min-width: 1101px) {
    nav.has-scroll-brand {
        justify-content: space-between;
    }

    nav.has-scroll-brand .nav-scroll-brand {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        width: 150px;
        height: 48px;
    }

    nav.has-scroll-brand .nav-scroll-brand img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 72px;
    padding: .2rem .35rem;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(178, 31, 45, .14), 0 5px 16px rgba(178, 31, 45, .12);
    text-decoration: none;
    line-height: 1;
}

.brand img {
    display: block;
    width: 190px;
    height: 68px;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand span {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    list-style: none;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: .8rem;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--red);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    color: var(--ink);
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-dropdown-toggle span {
    color: var(--red);
    font-size: .7rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: min(720px, calc(100vw - 2rem));
    max-height: calc(100vh - var(--nav-height) - 1rem);
    padding: 1.25rem;
    overflow-y: auto;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(17, 17, 17, .16);
    border-top: 3px solid var(--red);
    transform: translateX(-50%);
}

.nav-dropdown.open .dropdown-menu {
    display: grid;
}

.dropdown-menu div {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
}

.dropdown-menu strong {
    margin-bottom: .35rem;
    color: var(--red);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dropdown-menu a {
    padding: .2rem 0;
    font-size: .72rem;
    line-height: 1.35;
    text-transform: none;
    overflow-wrap: anywhere;
}

.nav-cta {
    padding: .75rem 1rem;
    color: var(--white) !important;
    background: var(--red);
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-close {
    display: none;
}

/* .eyebrow {
    color: var(--red);
    font-size: .8rem;
    font-weight: bold;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
} */

h1 {
    font-size: clamp(2.8rem, 6vw, 6.5rem);
    line-height: .94;
    letter-spacing: -.04em;
    margin-bottom: 1.5rem;
}

@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.button {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: fit-content;
    margin-top: 2rem;
    padding: 1rem 1.6rem;
    color: var(--white);
    background: var(--red);
    border: 2px solid var(--red);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .1em;
    box-shadow: 0 8px 0 rgba(17, 17, 17, .3);
    transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}

.button:hover,
.button:focus-visible {
    color: var(--red);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 11px 0 rgba(17, 17, 17, .3);
}

.intro {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 6%;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    min-height: 340px;
    padding: 0 1.5rem 1.5rem 0;
}

.about-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-frame {
    position: absolute;
    z-index: 0;
    inset: 1.5rem 0 0 1.5rem;
    border: 5px solid var(--red);
    animation: float-frame 3.5s ease-in-out infinite;
}

@keyframes float-frame {

    0%,
    100% {
        transform: translateY(-12px);
    }

    50% {
        transform: translateY(12px);
    }
}

@keyframes statsReveal {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.intro p {
    color: var(--muted);
    line-height: 1.8;
}

.about-copy p+p {
    margin-top: 1rem;
}

.text-link {
    display: inline-flex;
    gap: .75rem;
    margin-top: 1.5rem;
    color: var(--ink);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .08em;
    font-size: .75rem;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--red);
}

.section-heading {
    max-width: 620px;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-grid a {
    position: relative;
    display: block;
    min-height: 390px;
    overflow: hidden;
    padding: 1.25rem;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 10px 24px rgba(17, 17, 17, .08);
    text-decoration: none;
    transition: color .35s ease, background-color .35s ease, transform .35s ease, box-shadow .35s ease;
}

.service-grid a::before {
    position: absolute;
    z-index: 2;
    content: '';
    top: 0;
    left: 0;
    width: calc(100% - 1rem);
    height: 205px;
    border-top: 3px solid transparent;
    border-left: 3px solid transparent;
    pointer-events: none;
    transition: border-color .35s ease;
}

.service-grid a:hover,
.service-grid a:focus-visible {
    color: var(--white);
    border-color: var(--red);
    background: var(--red);
    box-shadow: 0 16px 30px rgba(180, 35, 47, .24);
    transform: translateY(-6px);
}

.service-grid a:hover::before,
.service-grid a:focus-visible::before {
    border-color: var(--white);
}

.service-grid a h4,
.service-grid a p,
.service-grid a > span {
    position: relative;
    z-index: 1;
}

.service-grid a h4 {
    margin-bottom: .7rem;
    font-size: 1.1rem;
    line-height: 1.25;
}

.service-grid a p {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
}

.service-grid a:hover p,
.service-grid a:focus-visible p {
    color: rgba(255, 255, 255, .9);
}

.service-grid a > span {
    display: block;
    color: var(--red);
    font-size: 1.35rem;
    font-weight: bold;
    transition: color .35s ease, transform .35s ease;
}

.service-grid a:hover > span,
.service-grid a:focus-visible > span {
    color: var(--white);
    transform: translateX(.35rem);
}

/* Keep the original link-card rules below from overriding the feature-card treatment. */
.service-grid a {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.services-header {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.services-header h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 1.05;
}

.services-header p {
    color: var(--muted);
    line-height: 1.8;
}
    .process-heading {
        max-width: 1100px;
        margin: 0 auto 3rem;
        padding: 0 6%;
    }
    .process-heading > div {
        max-width: 760px;
    }
    .process-heading h2 {
        margin-bottom: 1.5rem;
        color: var(--ink);
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        line-height: 1.05;
    }
    .process-heading p {
        max-width: 65ch;
        color: var(--muted);
        font-size: 1.05rem;
        line-height: 1.8;
    }
    .feature-process-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 6% 6rem;
    }

.section-heading p {
    max-width: 680px;
    margin-top: 1.25rem;
    color: var(--muted);
    line-height: 1.8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.portfolio-grid a {
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    text-decoration: none;
}

.portfolio-grid img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.portfolio-grid span {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    font-weight: bold;
    line-height: 1.4;
}

.portfolio-grid b {
    color: var(--red);
}

.portfolio-grid a:hover img,
.portfolio-grid a:focus-visible img {
    transform: scale(1.04);
}

.portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-summary strong,
.contact-details strong {
    color: #f0a2aa;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) and (min-width: 701px) {
}

.about-page,
.inner-page {
    padding-top: 0;
}

.inner-page main {
    max-width: 1100px;
    margin: auto;
}

.inner-page .page-banner,
.about-page .page-banner {
    position: relative;
    left: 50%;
    display: flex;
    height: clamp(170px, 18vw, 220px);
    width: 100vw;
    margin-left: -50vw;
    justify-content: center;
    padding: 0 6%;
    background-image: url('images/banner-img/Contact\ us\ Banner.png');
    background-position: center;
    background-size: cover;
}

.about-page .page-banner.page-banner-about {
    background-image: url('images/banner-img/AboutUs.png');
}

.inner-page .page-banner.page-banner-services {
    background-image: url('images/banner-img/services banner.png');
}

.inner-page .page-banner.page-banner-clients {
    background-image: url('images/banner-img/Our Clients Banner.png');
}

.inner-page .page-banner.page-banner-portfolio {
    background-image: url('images/banner-img/Portfolio Banner.png');
}

.inner-page .page-banner.page-banner-contact {
    background-image: url('images/banner-img/Contact us Banner.png');
}

.inner-page .page-banner::before,
.about-page .page-banner::before {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    content: '';
}

.inner-page .page-banner-content,
.about-page .page-banner-content {
    position: relative;
    z-index: 1;
    width: min(100%, 1100px);
    margin: auto;
    padding: 0 6%;
    text-align: left;
}

.inner-page .page-banner-kicker,
.about-page .page-banner-kicker {
    display: inline-block;
    margin-bottom: .7rem;
    padding: .35rem .7rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(178, 31, 45, 0.18);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.inner-page .page-banner h1,
.about-page .page-banner h1 {
    margin-bottom: .45rem;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.inner-page .page-banner p,
.about-page .page-banner p {
    max-width: 620px;
    margin: .65rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.inner-page .page-banner .breadcrumbs,
.about-page .page-banner .breadcrumbs {
    justify-content: flex-start;
    width: auto;
    margin-top: .5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: .72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inner-page .page-banner .breadcrumbs a,
.inner-page .page-banner .breadcrumbs span,
.about-page .page-banner .breadcrumbs a,
.about-page .page-banner .breadcrumbs span {
    color: inherit;
}

.inner-page .page-banner .breadcrumbs a:hover,
.inner-page .page-banner .breadcrumbs a:focus-visible,
.about-page .page-banner .breadcrumbs a:hover,
.about-page .page-banner .breadcrumbs a:focus-visible {
    color: #fff;
}

.inner-page .page-banner .breadcrumbs span[aria-current="page"],
.about-page .page-banner .breadcrumbs span[aria-current="page"] {
    color: #fff;
}

.about-page .breadcrumbs {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: .72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-page .breadcrumbs a,
.about-page .breadcrumbs span {
    color: inherit;
}

.about-page .breadcrumbs a:hover {
    color: #fff;
}

.about-page .breadcrumbs span[aria-current="page"] {
    color: #fff;
}

.inner-page .page-banner + .content-section,
.inner-page .page-banner + .service-card-grid {
    padding-top: 6rem;
}

.inner-page .page-intro {
    position: relative;
    left: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    min-height: clamp(320px, 38vw, 420px);
    margin-left: -50vw;
    padding: clamp(3rem, 7vw, 6rem) max(8%, calc((100vw - 1100px) / 2));
    color: #fff;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .24)), url('img/hero-img1.jpg');
    background-position: center;
    background-size: cover;
}

.inner-page .page-intro.annual-maintenance-intro {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .24)), url('images/banner-img/Annual Maintenance Services Banner.png');
}

.inner-page .cctv-amc-intro {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .24)), url('images/Services/7.png');
}

.inner-page .fire-alarm-amc-intro {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .24)), url('images/Services/1.png');
}

.inner-page .fire-stop-amc-intro {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .24)), url('images/Services/4.png');
}

.inner-page .kitchen-amc-intro {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .24)), url('images/Services/5.png');
}

.inner-page .smoke-amc-intro {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .24)), url('images/Services/6.png');
}

.inner-page .page-intro .eyebrow {
    color: #fff;
}

.inner-page .page-intro h1 {
    max-width: 800px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 1.05;
}

.inner-page .page-intro p {
    max-width: 680px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.8;
}

.content-section {
    padding: 1rem 6% 6rem;
}

.content-section h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.content-section p {
    max-width: 1100px;
    color: var(--muted);
    line-height: 1.8;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--red);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.service-detail {
    display: grid;
    grid-template-columns: minmax(300px, 1.05fr) minmax(0, 1.35fr);
    gap: 2.5rem;
    align-items: center;
    max-width: 1180px;
    margin: 4rem auto 6rem;
    padding: 0 6%;
}

.service-detail-media {
    position: relative;
    padding: 1rem 0 0 1rem;
}

.service-detail-media::before {
    content: "";
    position: absolute;
    inset: 0 0 1rem 0;
    border: 4px solid var(--red);
    border-radius: 1.25rem;
    transform: translate(1rem, 1rem);
    z-index: 0;
}

.service-detail-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: min(58vw, 500px);
    min-height: 320px;
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(17, 17, 17, .12);
}

.service-detail-content {
    max-width: 680px;
}

.service-detail-content h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.service-detail-content p {
    margin-top: 1rem;
    color: var(--muted);
    line-height: 1.8;
}

.service-detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.service-detail-links .button {
    margin-top: 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-list h3 {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 1rem 1rem 1rem 2.75rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    box-shadow: 0 10px 22px rgba(17, 17, 17, .04);
    animation: featureReveal .55s ease both;
}

.feature-list h3:nth-child(2) { animation-delay: .08s; }
.feature-list h3:nth-child(3) { animation-delay: .16s; }
.feature-list h3:nth-child(4) { animation-delay: .24s; }
.feature-list h3:nth-child(5) { animation-delay: .32s; }
.feature-list h3:nth-child(6) { animation-delay: .4s; }

@keyframes featureReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-list h3 {
        animation: none;
    }
}

.feature-list h3::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.35rem;
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(178, 31, 45, .12);
}

.button-ghost {
    color: var(--red) !important;
    background: var(--white);
    border-color: var(--red);
}

.button-ghost:hover,
.button-ghost:focus-visible {
    color: var(--white) !important;
    background: var(--red);
}

.contact-form {
    display: grid;
    gap: 1rem;
    max-width: 700px;
    margin-top: 2rem;
}

.contact-form label {
    display: grid;
    gap: .4rem;
    font-size: .8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .9rem 1rem;
    border: 2px solid #e7d7c9;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.inner-page .breadcrumbs,
.about-page .breadcrumbs {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    height: auto;
    padding: 0;
    color: #888;
    background: transparent;
    font-size: .9rem;
    box-shadow: none;
}

.inner-page .breadcrumbs a,
.about-page .breadcrumbs a {
    color: var(--red);
    text-decoration: none;
}

.inner-page .breadcrumbs a:hover,
.inner-page .breadcrumbs a:focus-visible,
.about-page .breadcrumbs a:hover,
.about-page .breadcrumbs a:focus-visible {
    color: var(--red-dark);
}

@media (max-width: 900px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-content {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .about-page,
    .inner-page {
        padding-top: 0;
    }

    .about-page .page-banner,
    .inner-page .page-banner {
        height: 280px;
    }

    .inner-page .page-intro {
        min-height: 320px;
        padding-right: 8%;
        padding-left: 8%;
    }

    .about-page .hero-title-panel,
    .inner-page .hero-title-panel {
        margin-bottom: -48px;
    }

    .about-page .intro,
    .inner-page .page-banner + .content-section,
    .inner-page .page-banner + .service-card-grid {
        padding-top: 6rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        gap: .7rem;
    }

    .nav-links a,
    .nav-dropdown-toggle {
        font-size: .7rem;
    }
}

@media (max-width: 1400px) {
    html {
        font-size: 90%;
    }

    :root {
        --nav-height: 56px;
        --contact-header-height: 92px;
    }

    .contact-header {
        grid-template-columns: minmax(170px, 1.15fr) minmax(130px, .8fr) minmax(170px, 1fr) minmax(320px, 2.1fr) auto;
        gap: .75rem 1rem;
        min-height: 0;
        padding: .75rem 3%;
    }

    nav {
        padding-right: 3%;
        padding-left: 3%;
    }

    .nav-links {
        gap: .85rem;
    }

    .nav-links a,
    .nav-dropdown-toggle {
        font-size: .72rem;
        letter-spacing: .06em;
    }

    .contact-header-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .contact-header-brand img {
        width: min(200px, 100%);
        height: 68px;
    }

    .contact-header-office {
        grid-column: 3;
        grid-row: 1;
    }

    .contact-header-email {
        grid-column: 2;
        grid-row: 1;
    }

    .contact-header-phone {
        grid-column: 4;
        grid-row: 1;
    }

    .contact-header-socials {
        grid-column: 5;
        grid-row: 1;
        gap: .45rem;
    }

    .contact-header-socials span {
        width: 30px;
        height: 30px;
    }

    .contact-header-socials svg {
        width: 16px;
        height: 16px;
    }

    .contact-header-item {
        gap: .55rem;
    }

    .contact-header-icon {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
    }

    .contact-header-value {
        font-size: .78rem;
    }

    .contact-header-phones {
        column-gap: .3rem;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    :root {
        --contact-header-height: 0px;
    }

    .contact-header {
        display: none;
    }

    .contact-header-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .contact-header-brand img {
        width: min(160px, 100%);
        height: 58px;
    }

    .contact-header-email {
        grid-column: 2;
        grid-row: 1;
    }

    .contact-header-socials {
        grid-column: 5;
        grid-row: 1;
        justify-self: end;
    }

    .contact-header-office {
        grid-column: 3;
        grid-row: 1;
    }

    .contact-header-phone {
        grid-column: 4;
        grid-row: 1;
    }

    nav {
        display: grid;
        grid-template-columns: minmax(115px, 1fr) minmax(90px, .8fr) minmax(110px, 1fr) minmax(220px, 1.8fr) auto auto;
        align-items: center;
        justify-content: initial;
        gap: .4rem;
        height: auto;
        min-height: var(--nav-height);
        padding: .35rem 2.5%;
    }

    .contact-header-item {
        gap: .35rem;
        min-width: 0;
    }

    .contact-header-icon {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
    }

    .contact-header-label {
        font-size: .58rem;
    }

    .contact-header-value {
        font-size: .66rem;
        line-height: 1.3;
    }

    .contact-header-phones {
        column-gap: .2rem;
    }

    .contact-header-phones a {
        white-space: normal;
    }

    .contact-header-socials {
        gap: .25rem;
    }

    .contact-header-socials span {
        width: 26px;
        height: 26px;
    }

    .contact-header-socials svg {
        width: 14px;
        height: 14px;
    }

    .menu {
        display: block;
        grid-column: 6;
        grid-row: 1;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1.25rem 5%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-close {
        display: block;
        align-self: flex-end;
        padding: 0 .25rem;
        border: 0;
        color: var(--ink);
        background: transparent;
        font: inherit;
        font-size: 1.75rem;
        line-height: 1;
        cursor: pointer;
    }

    .nav-dropdown-toggle {
        padding: 0;
        text-align: left;
    }

    .nav-links a,
    .nav-dropdown-toggle {
        font-size: .8rem;
    }

    .dropdown-menu {
        position: static;
        grid-template-columns: 1fr;
        width: 100%;
        max-height: none;
        margin-top: 1rem;
        padding: 1rem 0 0 1rem;
        overflow: visible;
        box-shadow: none;
        border-top: 1px solid #e7d7c9;
        transform: none;
    }

    .nav-cta {
        display: inline-block;
        width: fit-content;
    }

    .nav-links > li:has(> .nav-cta) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .9rem;
    }
}

@media (max-width: 900px) {
    :root {
        --contact-header-height: 0px;
        --mobile-social-height: 0px;
    }

    .contact-header {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    nav .contact-header-brand {
        flex: 0 1 auto;
        min-width: 0;
    }

    nav .contact-header-brand img {
        width: min(180px, 42vw);
        height: 56px;
    }

    .contact-header-socials {
        display: flex;
        justify-content: flex-start;
        width: auto;
        height: auto;
        background: transparent;
    }

    .menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        padding: 1.5rem 6%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-close {
        display: block;
        align-self: flex-end;
        padding: 0 .25rem;
        border: 0;
        color: var(--ink);
        background: transparent;
        font: inherit;
        font-size: 1.75rem;
        line-height: 1;
        cursor: pointer;
    }

    .nav-dropdown-toggle {
        padding: 0;
        text-align: left;
    }

    .nav-links a,
    .nav-dropdown-toggle {
        font-size: .8rem;
    }

    .dropdown-menu {
        position: static;
        grid-template-columns: 1fr;
        width: 100%;
        max-height: none;
        margin-top: 1rem;
        padding: 1rem 0 0 1rem;
        overflow: visible;
        box-shadow: none;
        border-top: 1px solid #e7d7c9;
        transform: none;
    }

    .nav-cta {
        display: inline-block;
        width: fit-content;
    }

    .nav-links > li:has(> .nav-cta) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .9rem;
    }
}

@media (max-width: 600px) {
    :root {
        --contact-header-height: 0px;
    }

    .contact-header-socials {
        gap: .4rem;
    }

    .contact-header-socials span {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 700px) {
    .intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 4rem 8%;
    }

    .about-visual {
        min-height: 280px;
    }

    .about-visual img {
        height: 280px;
    }

    .content-section {
        padding-left: 8%;
        padding-right: 8%;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}
    .process-heading {
        margin-bottom: 2rem;
        padding: 0 8%;
    }

    .feature-process-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 8% 4rem;
    }

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
}

@media (min-width: 1024px) {
}

@media (hover: hover) and (pointer: fine) {
}

@media (max-width: 700px) {
}

@media (hover: hover) and (pointer: fine) {
}

/* CTA Hover States */
@media (hover: hover) and (pointer: fine) {
}

/* Staggered JS Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
    .service-grid a,
    .feature-card,
    .client-logo,
    .portfolio-grid a,
    .button,
    .nav-links a,
    .text-link,
    .dot,
    .card-cta,
    .site-footer a:not(.brand) {
        transition: none !important;
        transform: none !important;
    }

    .service-grid a:hover,
    .service-grid a:focus-visible,
    .service-grid a:hover::before,
    .service-grid a:focus-visible::before,
    .service-grid a:hover .service-grid-image,
    .service-grid a:focus-visible .service-grid-image,
    .service-grid a:hover p,
    .service-grid a:focus-visible p,
    .service-grid a:hover > span,
    .service-grid a:focus-visible > span,
    .feature-card:hover,
    .feature-card:hover .card-badge,
    .feature-card:focus-within .card-badge,
    .card-cta:hover a,
    .card-cta:hover .cta-icon,
    .client-logo:hover,
    .portfolio-grid a:hover img,
    .portfolio-grid a:focus-visible img,
    .process-grid article:hover .process-icon {
        all: unset;
        color: inherit;
        background: inherit;
        box-shadow: none;
        transform: none;
    }

    .fade-in-up,
    .fade-in-up.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Keep the standalone process section independent of utility frameworks. */
.process-heading {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 0 6%;
}

.feature-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 6% 6rem;
}

@media (hover: hover) and (pointer: fine) {
}

@media (max-width: 900px) {
    .feature-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .process-heading {
        margin-bottom: 2rem;
        padding: 0 8%;
    }

    .feature-process-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 8% 4rem;
    }

    .client-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
}

@media (max-width: 700px) {

    .services-header {
        margin-bottom: 2.5rem;
    }
}





/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(190px, 1.4fr) repeat(2, minmax(125px, 1fr)) repeat(2, minmax(180px, 1.4fr));
    gap: 3rem;
    padding: 4rem max(6%, calc((100% - 1100px) / 2)) 2rem;
    color: #fff;
    background: #0e0c0c;
}

.site-footer .brand {
    display: inline-block;
    width: fit-content;
    height: auto;
    color: #fff;
}

.site-footer .brand img {
    width: 230px;
    height: 82px;
    max-width: 100%;
}

.site-footer p {
    max-width: 300px;
    margin-top: 1rem;
    color: #a99e96;
    line-height: 1.6;
}

.site-footer .footer-brand > p {
    color: #fff;
    font-weight: 700;
    text-align: left;
}

.site-footer div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
}

.site-footer strong {
    color: #f0a2aa;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-footer a:not(.brand) {
    color: #fff;
    font-size: .85rem;
    text-decoration: none;
}

.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible {
    color: #f0a2aa;
}

.site-footer .footer-offices p {
    max-width: none;
    margin-top: 0;
}

.site-footer .footer-offices .office-address {
    width: 100%;
}

.site-footer .footer-offices .office-address a {
    color: inherit;
}

.site-footer .footer-offices .office-info {
    width: 100%;
    margin-top: 0;
    font-size: .82rem;
}

.site-footer .footer-offices .office-info > span {
    color: #a99e96;
}

.site-footer .footer-offices .office-info > b {
    color: #d1c8c4;
}

.site-footer .footer-offices a {
    font-size: inherit;
}

.site-footer .copyright {
    grid-column: 1 / -1;
    max-width: none;
    padding-top: 1.5rem;
    border-top: 1px solid #302a27;
    font-size: .75rem;
    text-align: center;
}

.site-footer .copyright a {
    color: inherit;
}

@media (max-width: 1000px) {
    .site-footer {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 700px) {
    .site-footer {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 3rem 8% 1.5rem;
    }

    .site-footer > div:first-child {
        grid-column: 1 / -1;
    }
}

.site-footer.home-footer {
    grid-template-columns: minmax(190px, 1.2fr) minmax(0, 3fr);
    gap: 2.5rem 2rem;
    padding-top: 3.5rem;
    background: #111;
}

.home-footer .footer-brand {
    gap: .9rem;
}

.home-footer .brand {
    min-width: 0;
}

.home-footer .footer-offices-group {
    display: grid;
    grid-column: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.5rem;
    min-width: 0;
}

.home-footer .footer-office {
    display: grid;
    grid-template-rows: auto 1fr 1fr auto;
    align-content: start;
    gap: .85rem;
    min-width: 0;
    padding-top: .85rem;
    border-top: 2px solid #403033;
}

.home-footer .footer-office:nth-child(2) {
    width: 70%;
}

.home-footer .footer-office:nth-child(3) {
    margin-left: -.75rem;
}

.home-footer .footer-office h2 {
    min-height: 2.7em;
    color: #f0a2aa;
    font-size: .75rem;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
    line-height: 1.5;
}

.home-footer .footer-office-detail {
    min-width: 0;
}

.home-footer .footer-office-detail strong {
    display: block;
    margin-bottom: .3rem;
    color: #d1c8c4;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
}

.home-footer .footer-office-detail p {
    max-width: none;
    margin: 0;
    color: #a99e96;
    font-size: .82rem;
    line-height: 1.65;
    text-align: left;
    overflow-wrap: anywhere;
}

.home-footer .footer-office-detail a {
    color: inherit;
}

.contact-summary .office-address {
    display: block;
    width: 100%;
}

.contact-summary .office-info {
    display: block;
    width: 100%;
}

.contact-summary .office-info > b {
    color: #77706d;
}

.contact-summary .office-info > span {
    line-height: 1.55;
}

.contact-summary .office-address > b {
    color: #77706d;
}

.site-footer.home-footer .footer-emergency {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #393232;
    border-radius: 5px;
    background: #191616;
}

.site-footer.home-footer .footer-emergency strong {
    color: #f0a2aa;
}

.site-footer.home-footer .footer-emergency p {
    margin: 0;
    font-size: .85rem;
}

.site-footer.home-footer .footer-emergency p > b {
    display: block;
    margin-bottom: .25rem;
    color: #d1c8c4;
}

.home-footer .copyright {
    margin-top: .25rem;
}

@media (max-width: 1000px) {
    .site-footer.home-footer {
        grid-template-columns: 1fr;
    }

    .home-footer .footer-offices-group {
        grid-column: 1;
    }
}

@media (max-width: 800px) {
    .site-footer.home-footer .footer-emergency {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer.home-footer .footer-emergency strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .home-footer .footer-offices-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-footer .footer-office {
        grid-template-rows: auto;
    }

    .home-footer .footer-office:nth-child(2) {
        width: 100%;
    }

    .home-footer .footer-office:nth-child(3) {
        margin-left: 0;
    }

    .home-footer .footer-office h2 {
        min-height: 0;
    }
}
