/* =========================================================
   CIVILLENCE ENGINEERING
   SERVICES PAGE
   ========================================================= */


/* =========================================================
   COLOURS
   ========================================================= */

:root {

    --services-navy: #06182B;
    --services-navy-light: #0B243D;

    --services-orange: #F79400;

    --services-white: #FFFFFF;
    --services-grey: #F5F7FA;
    --services-border: #E5E9EE;

    --services-text: #152235;
    --services-muted: #687586;

}


/* =========================================================
   BASE
   ========================================================= */

.services-page {

    width: 100%;
    overflow: hidden;

    color: var(--services-text);
    background: var(--services-white);

}


.services-page *,
.services-page *::before,
.services-page *::after {

    box-sizing: border-box;

}


.services-page a {

    text-decoration: none;

}


/* =========================================================
   HERO
   ========================================================= */

.services-hero {

    background:
        linear-gradient(
            135deg,
            var(--services-navy) 0%,
            var(--services-navy-light) 100%
        );

    color: var(--services-white);

}


.services-hero-container {

    min-height: 600px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, .95fr);

    align-items: center;

    gap: 70px;

    padding-top: 80px;
    padding-bottom: 80px;

}


.services-hero-content {

    max-width: 700px;

}


.services-eyebrow,
.services-section-label {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--services-orange);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.services-eyebrow::before,
.services-section-label::before {

    content: "";

    width: 28px;

    height: 2px;

    background: currentColor;

}


.services-hero h1 {

    margin: 22px 0;

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1.03;

    letter-spacing: -2px;

    font-weight: 400;

}


.services-hero h1 span {

    display: block;

    color: var(--services-orange);

    font-weight: 800;

}


.services-hero p {

    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 17px;

    line-height: 1.8;

}


.services-hero-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 28px;

    margin-top: 35px;

}


/* =========================================================
   BUTTONS
   ========================================================= */

.services-btn {

    min-height: 52px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: .4px;

    text-transform: uppercase;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;

}


.services-btn span {

    font-size: 20px;

}


.services-btn:hover {

    transform: translateY(-2px);

}


.services-btn-primary {

    background: var(--services-orange);

    color: var(--services-navy);

}


.services-btn-primary:hover {

    background: var(--services-white);

}


.services-btn-light {

    background: var(--services-white);

    color: var(--services-navy);

}


.services-btn-light:hover {

    background: var(--services-orange);

}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.services-hero-image {

    position: relative;

    min-height: 430px;

    overflow: hidden;

    background: var(--services-navy-light);

}


.services-hero-image img {

    width: 100%;
    height: 100%;

    min-height: 430px;

    display: block;

    object-fit: cover;

}


.services-image-badge {

    position: absolute;

    left: 24px;
    bottom: 24px;

    width: 190px;

    padding: 22px;

    background: rgba(6,24,43,.94);

    border-left: 4px solid var(--services-orange);

}


.services-image-badge span {

    display: block;

    margin-bottom: 5px;

    color: var(--services-orange);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.services-image-badge strong {

    display: block;

    font-size: 34px;

    line-height: 1;

}


.services-image-badge small {

    display: block;

    margin-top: 8px;

    color: rgba(255,255,255,.7);

    font-size: 11px;

    line-height: 1.4;

}


/* =========================================================
   TEXT LINK
   ========================================================= */

.services-text-link {

    color: var(--services-white);

    font-size: 14px;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 10px;

}


.services-text-link span {

    color: var(--services-orange);

    font-size: 18px;

}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.services-introduction {

    padding: 110px 0;

    background: var(--services-white);

}


.services-introduction-grid {

    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 100px;

    align-items: start;

}


.services-section-heading h2,
.services-core-heading h2,
.services-feature-content h2,
.services-approvals-content h2,
.services-cta-inner h2 {

    margin: 20px 0 0;

    color: var(--services-navy);

    font-size: clamp(34px, 4vw, 54px);

    line-height: 1.08;

    letter-spacing: -1.5px;

    font-weight: 400;

}


.services-section-heading h2 span,
.services-core-heading h2 span,
.services-feature-content h2 span,
.services-approvals-content h2 span,
.services-cta-inner h2 span {

    display: block;

    color: var(--services-orange);

    font-weight: 800;

}


.services-introduction-content {

    padding-top: 5px;

}


.services-introduction-content p {

    margin: 0 0 20px;

    color: var(--services-muted);

    font-size: 17px;

    line-height: 1.8;

}


.services-introduction-content p:last-child {

    margin-bottom: 0;

}


/* =========================================================
   CORE SERVICES
   ========================================================= */

.services-core {

    padding: 110px 0;

    background: var(--services-grey);

}


.services-core-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;

}


.services-core-heading > p {

    max-width: 430px;

    margin: 0;

    color: var(--services-muted);

    line-height: 1.7;

}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

}


.service-card {

    position: relative;

    min-height: 560px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    background: var(--services-white);

    border: 1px solid var(--services-border);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


.service-card:hover {

    transform: translateY(-6px);

    border-color: var(--services-orange);

    box-shadow:
        0 18px 45px rgba(6,24,43,.10);

}


.service-card-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.service-number {

    color: var(--services-orange);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

}


.service-card-arrow {

    color: var(--services-navy);

    font-size: 22px;

}


.service-icon {

    width: 58px;
    height: 58px;

    margin: 35px 0 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--services-navy);

    color: var(--services-orange);

    font-size: 28px;

}


.service-card-label {

    color: var(--services-orange);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.service-card h3 {

    margin: 12px 0;

    color: var(--services-navy);

    font-size: 27px;

    line-height: 1.15;

}


.service-card > p {

    margin: 0 0 22px;

    color: var(--services-muted);

    font-size: 14px;

    line-height: 1.7;

}


.service-card ul {

    margin: 0;

    padding: 0;

    list-style: none;

}


.service-card li {

    position: relative;

    padding: 7px 0 7px 18px;

    color: var(--services-text);

    font-size: 13px;

}


.service-card li::before {

    content: "";

    position: absolute;

    left: 0;
    top: 15px;

    width: 6px;
    height: 6px;

    background: var(--services-orange);

}


.service-card-link {

    margin-top: auto;

    padding-top: 25px;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--services-navy);

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

}


.service-card-link span {

    color: var(--services-orange);

    font-size: 20px;

}


.service-card-link:hover {

    color: var(--services-orange);

}


/* =========================================================
   FEATURE / IMAGE 2
   ========================================================= */

.services-feature {

    padding: 110px 0;

    background: var(--services-white);

}


.services-feature-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 80px;

    align-items: center;

}


.services-feature-image {

    min-height: 500px;

    overflow: hidden;

    background: var(--services-grey);

}


.services-feature-image img {

    width: 100%;
    height: 100%;

    min-height: 500px;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;

}


.services-feature-image:hover img {

    transform: scale(1.03);

}


.services-feature-content {

    max-width: 600px;

}


.services-feature-content p {

    margin: 25px 0 0;

    color: var(--services-muted);

    font-size: 16px;

    line-height: 1.8;

}


.services-feature-points {

    margin-top: 35px;

    border-top: 1px solid var(--services-border);

}


.services-feature-points div {

    padding: 16px 0;

    display: flex;

    align-items: center;

    gap: 20px;

    border-bottom: 1px solid var(--services-border);

}


.services-feature-points strong {

    color: var(--services-orange);

    font-size: 12px;

}


.services-feature-points span {

    color: var(--services-navy);

    font-size: 14px;

    font-weight: 700;

}


/* =========================================================
   APPROVALS
   ========================================================= */

.services-approvals {

    padding: 100px 0;

    background: var(--services-navy);

}


.services-approvals-inner {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 80px;

    align-items: center;

}


.services-approvals-content h2 {

    color: var(--services-white);

}


.services-approvals-content p {

    max-width: 520px;

    margin: 25px 0 30px;

    color: rgba(255,255,255,.72);

    font-size: 16px;

    line-height: 1.8;

}


.approval-agencies {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

}


.agency-card {

    min-height: 160px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: var(--services-navy-light);

    border: 1px solid rgba(255,255,255,.10);

}


.agency-card strong {

    color: var(--services-orange);

    font-size: 24px;

}


.agency-card span {

    margin-top: 8px;

    color: rgba(255,255,255,.65);

    font-size: 11px;

    line-height: 1.5;

}


/* =========================================================
   CTA
   ========================================================= */

.services-cta {

    padding: 90px 0;

    background: var(--services-grey);

}


.services-cta-inner {

    min-height: 260px;

    padding: 50px 60px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    background: var(--services-white);

    border: 1px solid var(--services-border);

    border-left: 5px solid var(--services-orange);

}


.services-cta-inner h2 {

    margin-top: 16px;

}


.services-cta-inner p {

    margin: 20px 0 0;

    color: var(--services-muted);

    line-height: 1.7;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .services-hero-container {

        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, .8fr);

        gap: 45px;

    }


    .services-introduction-grid {

        gap: 60px;

    }


    .services-feature-grid {

        gap: 50px;

    }

}


@media (max-width: 900px) {

    .services-hero-container {

        grid-template-columns: 1fr;

        padding-top: 70px;
        padding-bottom: 70px;

    }


    .services-hero-content {

        max-width: none;

    }


    .services-hero-image {

        min-height: 380px;

    }


    .services-hero-image img {

        min-height: 380px;

    }


    .services-introduction-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .services-core-heading {

        align-items: flex-start;

        flex-direction: column;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .service-card {

        min-height: auto;

    }


    .services-feature-grid {

        grid-template-columns: 1fr;

    }


    .services-feature-image {

        min-height: 400px;

    }


    .services-feature-image img {

        min-height: 400px;

    }


    .services-feature-content {

        max-width: none;

    }


    .services-approvals-inner {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .services-cta-inner {

        align-items: flex-start;

        flex-direction: column;

        padding: 40px;

    }

}


@media (max-width: 600px) {

    .services-hero-container {

        padding-top: 55px;
        padding-bottom: 55px;

    }


    .services-hero h1 {

        font-size: 42px;

        letter-spacing: -1px;

    }


    .services-hero p {

        font-size: 15px;

    }


    .services-hero-actions {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }


    .services-introduction,
    .services-core,
    .services-feature {

        padding: 75px 0;

    }


    .services-approvals {

        padding: 75px 0;

    }


    .services-cta {

        padding: 60px 0;

    }


    .services-section-heading h2,
    .services-core-heading h2,
    .services-feature-content h2,
    .services-approvals-content h2,
    .services-cta-inner h2 {

        font-size: 36px;

    }


    .approval-agencies {

        grid-template-columns: 1fr;

    }


    .agency-card {

        min-height: 120px;

    }


    .services-cta-inner {

        padding: 30px;

    }

}

/* =========================================================
   CIVILLENCE ENGINEERING
   SERVICES PAGE — PROJECT APPLICATION
========================================================= */


/* =========================================================
   PROJECT APPLICATION SECTION
========================================================= */

.services-project-focus {

    padding: 110px 0;

    background: #f5f7fa;

}


/* =========================================================
   PROJECT APPLICATION HEADING
========================================================= */

.services-project-heading {

    max-width: 760px;

    margin-bottom: 55px;

}


.services-project-heading .services-section-label {

    display: inline-block;

    margin-bottom: 16px;

}


.services-project-heading h2 {

    margin: 0 0 20px;

    color: #071a2d;

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1px;

}


.services-project-heading h2 span {

    display: block;

    color: #f79400;

}


.services-project-heading p {

    max-width: 680px;

    margin: 0;

    color: #687584;

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   PROJECT APPLICATION GRID
========================================================= */

.services-project-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

}


/* =========================================================
   PROJECT ITEM
========================================================= */

.services-project-item {

    position: relative;

    min-height: 260px;

    padding: 35px 32px;

    background: #ffffff;

    border: 1px solid #e5e9ee;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

}


.services-project-item::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 4px;

    height: 0;

    background: #f79400;

    transition: height 0.3s ease;

}


.services-project-item:hover {

    transform: translateY(-7px);

    border-color: #d9dfe6;

    box-shadow:
        0 18px 40px rgba(7, 26, 45, 0.10);

}


.services-project-item:hover::before {

    height: 100%;

}


/* =========================================================
   PROJECT NUMBER
========================================================= */

.services-project-number {

    display: block;

    margin-bottom: 35px;

    color: #f79400;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

}


/* =========================================================
   PROJECT TITLE
========================================================= */

.services-project-item h3 {

    margin: 0 0 15px;

    color: #071a2d;

    font-size: 22px;

    line-height: 1.25;

    font-weight: 800;

}


.services-project-item p {

    margin: 0;

    color: #687584;

    font-size: 15px;

    line-height: 1.75;

}


/* =========================================================
   SERVICES FEATURE
   TWO-COLUMN IMAGE + CONTENT
========================================================= */

.services-feature {

    padding: 110px 0;

    background: #ffffff;

}


.services-feature-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: center;

}


/* =========================================================
   FEATURE IMAGE
========================================================= */

.services-feature-image {

    position: relative;

    min-height: 520px;

    overflow: hidden;

    background: #071a2d;

}


.services-feature-image::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 100%;

    height: 5px;

    background: #f79400;

}


.services-feature-image img {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 520px;

    object-fit: cover;

}


/* =========================================================
   FEATURE CONTENT
========================================================= */

.services-feature-content {

    max-width: 620px;

}


.services-feature-content .services-section-label {

    display: inline-block;

    margin-bottom: 18px;

}


.services-feature-content h2 {

    margin: 0 0 24px;

    color: #071a2d;

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1px;

}


.services-feature-content h2 span {

    display: block;

    color: #f79400;

}


.services-feature-content p {

    margin: 0 0 18px;

    color: #687584;

    font-size: 16px;

    line-height: 1.8;

}


/* =========================================================
   FEATURE POINTS
========================================================= */

.services-feature-points {

    margin-top: 35px;

    border-top: 1px solid #e5e9ee;

}


.services-feature-points > div {

    display: flex;

    align-items: center;

    gap: 22px;

    padding: 17px 0;

    border-bottom: 1px solid #e5e9ee;

}


.services-feature-points strong {

    min-width: 35px;

    color: #f79400;

    font-size: 13px;

    letter-spacing: 1px;

}


.services-feature-points span {

    color: #071a2d;

    font-size: 15px;

    font-weight: 700;

}


/* =========================================================
   SERVICES CORE
========================================================= */

.services-core {

    padding: 110px 0;

    background: #ffffff;

}


.services-core-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;

}


.services-core-heading h2 {

    margin: 0;

    color: #071a2d;

    font-size: clamp(38px, 4vw, 55px);

    line-height: 1;

    font-weight: 800;

}


.services-core-heading h2 span {

    color: #f79400;

}


.services-core-heading p {

    max-width: 430px;

    margin: 0;

    color: #687584;

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   SERVICE CARDS
========================================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

}


.service-card {

    position: relative;

    display: flex;

    flex-direction: column;

    padding: 34px 30px;

    min-height: 570px;

    background: #ffffff;

    border: 1px solid #e5e9ee;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

}


.service-card:hover {

    transform: translateY(-7px);

    border-color: #d8dee5;

    box-shadow:
        0 20px 45px rgba(7, 26, 45, 0.10);

}


/* =========================================================
   SERVICE CARD HEADER
========================================================= */

.service-card-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 38px;

}


.service-number {

    color: #f79400;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

}


.service-card-arrow {

    color: #071a2d;

    font-size: 23px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;

}


.service-card:hover .service-card-arrow {

    color: #f79400;

    transform: translate(3px, -3px);

}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 58px;

    margin-bottom: 25px;

    background: #071a2d;

    color: #ffffff;

    font-size: 25px;

}


.service-card-label {

    margin-bottom: 12px;

    color: #f79400;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.service-card h3 {

    margin: 0 0 16px;

    color: #071a2d;

    font-size: 25px;

    line-height: 1.15;

    font-weight: 800;

}


.service-card p {

    margin: 0 0 20px;

    color: #687584;

    font-size: 15px;

    line-height: 1.7;

}


.service-card ul {

    margin: 0 0 25px;

    padding: 0;

    list-style: none;

}


.service-card li {

    position: relative;

    padding: 7px 0 7px 18px;

    color: #445467;

    font-size: 14px;

}


.service-card li::before {

    content: "";

    position: absolute;

    left: 0;

    top: 50%;

    width: 5px;

    height: 5px;

    background: #f79400;

    transform: translateY(-50%);

}


.service-card-link {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: auto;

    color: #071a2d;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    transition:
        color 0.2s ease,
        gap 0.2s ease;

}


.service-card-link span {

    color: #f79400;

    font-size: 18px;

}


.service-card-link:hover {

    color: #f79400;

    gap: 17px;

}


/* =========================================================
   SERVICES APPROVALS
========================================================= */

.services-approvals {

    padding: 100px 0;

    background: #071a2d;

}


.services-approvals-inner {

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, 0.9fr);

    gap: 70px;

    align-items: center;

}


.services-approvals-content {

    max-width: 650px;

}


.services-approvals .services-section-label {

    color: #f79400;

}


.services-approvals h2 {

    margin: 18px 0;

    color: #ffffff;

    font-size: clamp(38px, 4vw, 55px);

    line-height: 1.05;

    font-weight: 800;

}


.services-approvals h2 span {

    display: block;

    color: #f79400;

}


.services-approvals p {

    margin: 0 0 18px;

    color: #c5ced8;

    font-size: 16px;

    line-height: 1.8;

}


/* =========================================================
   APPROVAL AGENCIES
========================================================= */

.approval-agencies {

    display: grid;

    gap: 14px;

}


.agency-card {

    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 22px 25px;

    background: #0b243d;

    border-left: 3px solid #f79400;

}


.agency-card strong {

    color: #ffffff;

    font-size: 20px;

    font-weight: 800;

}


.agency-card span {

    color: #aebac7;

    font-size: 13px;

    line-height: 1.5;

}


/* =========================================================
   BUTTONS
========================================================= */

.services-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    min-height: 52px;

    padding: 0 24px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

}


.services-btn span {

    font-size: 20px;

    font-weight: 400;

}


.services-btn-primary {

    background: #071a2d;

    border: 2px solid #071a2d;

    color: #ffffff;

}


.services-btn-primary:hover {

    background: #f79400;

    border-color: #f79400;

    color: #071a2d;

    transform: translateY(-2px);

}


.services-btn-light {

    background: #ffffff;

    border: 2px solid #ffffff;

    color: #071a2d;

}


.services-btn-light:hover {

    background: #f79400;

    border-color: #f79400;

    color: #071a2d;

    transform: translateY(-2px);

}


/* =========================================================
   CTA
========================================================= */

.services-cta {

    padding: 100px 0;

    background: #f5f7fa;

}


.services-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

}


.services-cta h2 {

    margin: 15px 0;

    color: #071a2d;

    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.05;

    font-weight: 800;

}


.services-cta h2 span {

    color: #f79400;

}


.services-cta p {

    margin: 0;

    color: #687584;

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   DESKTOP CONTAINER
========================================================= */

.services-page .container {

    width: min(1400px, calc(100% - 64px));

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .services-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .services-grid .service-card:last-child {

        grid-column: 1 / -1;

        max-width: 50%;

        margin: 0 auto;

    }


    .services-feature-grid {

        gap: 45px;

    }


    .services-project-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .services-project-item:last-child {

        grid-column: 1 / -1;

    }


    .services-core-heading {

        align-items: flex-start;

        flex-direction: column;

    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 800px) {

    .services-page .container {

        width: min(100% - 36px, 700px);

    }


    .services-project-focus,
    .services-feature,
    .services-core,
    .services-approvals,
    .services-cta {

        padding: 75px 0;

    }


    .services-feature-grid {

        grid-template-columns: 1fr;

    }


    .services-feature-image {

        min-height: 380px;

    }


    .services-feature-image img {

        min-height: 380px;

    }


    .services-approvals-inner {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .services-cta-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .services-grid {

        grid-template-columns: 1fr;

    }


    .services-grid .service-card:last-child {

        grid-column: auto;

        max-width: none;

        margin: 0;

    }


    .services-project-grid {

        grid-template-columns: 1fr;

    }


    .services-project-item:last-child {

        grid-column: auto;

    }


    .service-card {

        min-height: auto;

    }


    .services-feature-image {

        min-height: 300px;

    }


    .services-feature-image img {

        min-height: 300px;

    }


    .services-project-item {

        min-height: auto;

        padding: 28px 25px;

    }


    .services-project-heading h2,
    .services-feature-content h2,
    .services-approvals h2,
    .services-cta h2 {

        font-size: 36px;

    }


    .services-btn {

        width: 100%;

    }

}

/* =========================================================
   SERVICE DETAIL PAGES
   STRUCTURAL / DESIGN & BUILD
========================================================= */


/* =========================================================
   DETAIL HERO
========================================================= */

.service-detail-hero {

    background: var(--ce-navy);

    color: var(--ce-white);

    position: relative;

    overflow: hidden;

    padding: 80px 0;
}


.service-detail-hero-container {

    min-height: 520px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    position: relative;

    z-index: 2;
}


.service-detail-hero-content {

    max-width: 650px;
}


.service-detail-eyebrow {

    display: inline-block;

    margin-bottom: 22px;

    color: var(--ce-orange);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}


.service-detail-hero h1 {

    margin: 0 0 24px;

    color: var(--ce-white);

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.5px;
}


.service-detail-hero h1 span {

    display: block;

    color: var(--ce-orange);
}


.service-detail-hero-content > p {

    max-width: 620px;

    margin: 0 0 32px;

    color: rgba(255,255,255,.78);

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.service-detail-actions {

    display: flex;

    align-items: center;

    gap: 28px;

    flex-wrap: wrap;
}


.services-text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--ce-white);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: color .2s ease;
}


.services-text-link:hover {

    color: var(--ce-orange);
}


.services-text-link span {

    color: var(--ce-orange);

    font-size: 18px;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.service-detail-hero-image {

    position: relative;

    height: 460px;

    overflow: hidden;

    border-radius: 3px;

    background: var(--ce-navy-light);
}


.service-detail-hero-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(6,24,43,.08),
            rgba(6,24,43,.35)
        );

    pointer-events: none;
}


.service-detail-hero-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}


.service-image-badge {

    position: absolute;

    right: 24px;

    bottom: 24px;

    z-index: 2;

    width: 190px;

    padding: 20px;

    background: var(--ce-orange);

    color: var(--ce-navy);
}


.service-image-badge span {

    display: block;

    margin-bottom: 5px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


.service-image-badge strong {

    display: block;

    margin-bottom: 5px;

    font-size: 21px;

    font-weight: 800;
}


.service-image-badge small {

    display: block;

    font-size: 11px;

    line-height: 1.4;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.service-detail-introduction {

    padding: 100px 0;

    background: var(--ce-white);
}


.service-detail-introduction-grid {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 90px;

    align-items: start;
}


.service-detail-heading {

    position: relative;
}


.service-detail-heading h2 {

    margin: 16px 0 0;

    color: var(--ce-navy);

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.1;

    font-weight: 800;
}


.service-detail-heading h2 span {

    display: block;

    color: var(--ce-orange);
}


.service-detail-content {

    max-width: 760px;
}


.service-detail-content p {

    margin: 0 0 20px;

    color: #526173;

    font-size: 17px;

    line-height: 1.8;
}


.service-detail-content p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   CAPABILITIES
========================================================= */

.service-detail-capabilities {

    padding: 100px 0;

    background: var(--ce-grey);
}


.service-detail-capabilities-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;

    margin-bottom: 55px;
}


.service-detail-capabilities-heading h2 {

    margin: 15px 0 0;

    color: var(--ce-navy);

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.1;

    font-weight: 800;
}


.service-detail-capabilities-heading h2 span {

    display: block;

    color: var(--ce-orange);
}


.service-detail-capabilities-heading > p {

    max-width: 430px;

    margin: 0;

    color: #687586;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   CAPABILITY CARDS
========================================================= */

.service-capabilities-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


.service-capability-card {

    min-height: 280px;

    padding: 30px 26px;

    background: var(--ce-white);

    border: 1px solid var(--ce-border);

    position: relative;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.service-capability-card:hover {

    transform: translateY(-6px);

    border-color: var(--ce-orange);

    box-shadow:
        0 15px 35px rgba(6,24,43,.10);
}


.capability-number {

    display: block;

    margin-bottom: 55px;

    color: var(--ce-orange);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;
}


.service-capability-card h3 {

    margin: 0 0 14px;

    color: var(--ce-navy);

    font-size: 21px;

    line-height: 1.2;

    font-weight: 800;
}


.service-capability-card p {

    margin: 0;

    color: #687586;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   PROJECT EXPERIENCE
========================================================= */

.service-detail-feature {

    padding: 110px 0;

    background: var(--ce-white);
}


.service-detail-feature-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}


.service-detail-feature-image {

    height: 560px;

    overflow: hidden;

    background: var(--ce-grey);
}


.service-detail-feature-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .5s ease;
}


.service-detail-feature-image:hover img {

    transform: scale(1.03);
}


.service-detail-feature-content {

    max-width: 650px;
}


.service-detail-feature-content h2 {

    margin: 16px 0 24px;

    color: var(--ce-navy);

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.1;

    font-weight: 800;
}


.service-detail-feature-content h2 span {

    display: block;

    color: var(--ce-orange);
}


.service-detail-feature-content > p {

    margin-bottom: 25px;

    color: #687586;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   PROJECT HIGHLIGHTS
========================================================= */

.service-project-highlight {

    margin-top: 22px;

    padding: 22px 24px;

    border-left: 3px solid var(--ce-orange);

    background: var(--ce-grey);
}


.service-project-highlight strong {

    display: block;

    margin-bottom: 8px;

    color: var(--ce-orange);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.service-project-highlight h3 {

    margin: 0 0 8px;

    color: var(--ce-navy);

    font-size: 19px;

    font-weight: 800;
}


.service-project-highlight p {

    margin: 0;

    color: #687586;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   PROCESS / APPROACH
========================================================= */

.service-process {

    padding: 100px 0;

    background: var(--ce-grey);
}


.service-process-heading {

    max-width: 700px;

    margin-bottom: 55px;
}


.service-process-heading h2 {

    margin: 15px 0 18px;

    color: var(--ce-navy);

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.1;

    font-weight: 800;
}


.service-process-heading h2 span {

    display: block;

    color: var(--ce-orange);
}


.service-process-heading p {

    margin: 0;

    color: #687586;

    font-size: 16px;

    line-height: 1.7;
}


.service-process-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


.service-process-item {

    padding: 30px;

    background: var(--ce-white);

    border-top: 3px solid var(--ce-navy);

    transition:
        border-color .2s ease,
        transform .2s ease;
}


.service-process-item:hover {

    border-color: var(--ce-orange);

    transform: translateY(-4px);
}


.service-process-item > span {

    display: block;

    margin-bottom: 35px;

    color: var(--ce-orange);

    font-size: 13px;

    font-weight: 800;
}


.service-process-item h3 {

    margin: 0 0 12px;

    color: var(--ce-navy);

    font-size: 20px;

    font-weight: 800;
}


.service-process-item p {

    margin: 0;

    color: #687586;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   DETAIL CTA
========================================================= */

.service-detail-cta {

    padding: 80px 0;

    background: var(--ce-navy);
}


.service-detail-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.service-detail-cta h2 {

    margin: 14px 0 12px;

    color: var(--ce-white);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.1;

    font-weight: 800;
}


.service-detail-cta h2 span {

    color: var(--ce-orange);
}


.service-detail-cta p {

    margin: 0;

    color: rgba(255,255,255,.7);

    font-size: 16px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .service-detail-hero-container {

        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }


    .service-capabilities-grid {

        grid-template-columns: repeat(2, 1fr);
    }


    .service-process-grid {

        grid-template-columns: repeat(2, 1fr);
    }


    .service-detail-introduction-grid {

        gap: 50px;
    }


    .service-detail-feature-grid {

        gap: 50px;
    }

}


@media (max-width: 800px) {

    .service-detail-hero {

        padding: 60px 0;
    }


    .service-detail-hero-container {

        grid-template-columns: 1fr;

        min-height: auto;
    }


    .service-detail-hero-image {

        height: 380px;
    }


    .service-detail-introduction {

        padding: 70px 0;
    }


    .service-detail-introduction-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }


    .service-detail-capabilities {

        padding: 70px 0;
    }


    .service-detail-capabilities-heading {

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    .service-detail-feature {

        padding: 70px 0;
    }


    .service-detail-feature-grid {

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .service-detail-feature-image {

        height: 400px;
    }


    .service-process {

        padding: 70px 0;
    }


    .service-detail-cta-inner {

        flex-direction: column;

        align-items: flex-start;
    }

}


@media (max-width: 520px) {

    .service-detail-hero h1 {

        font-size: 42px;
    }


    .service-detail-hero-content > p {

        font-size: 16px;
    }


    .service-detail-actions {

        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }


    .service-detail-hero-image {

        height: 320px;
    }


    .service-capabilities-grid {

        grid-template-columns: 1fr;
    }


    .service-process-grid {

        grid-template-columns: 1fr;
    }


    .service-detail-feature-image {

        height: 320px;
    }


    .service-image-badge {

        right: 15px;

        bottom: 15px;
    }

}