/* =========================================================
   COH - CONSTRUCTION ON HIRE
   CLEAN MASTER CSS
========================================================= */

:root {
    --navy: #0b1f45;
    --navy-dark: #07182f;
    --navy-light: #173562;
    --text: #18253d;
    --muted: #6c7585;
    --blue: #647da9;
    --white: #ffffff;
    --soft: #f7f8fa;
    --soft-blue: #f2f5fa;
    --line: #e1e6ed;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--text);

    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
picture,
video,
svg,
canvas,
iframe {
    display: block;
    max-width: 100%;
}

img,
picture,
video {
    height: auto;
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;

    width: 100%;

    z-index: 10000;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid var(--line);
}

.header.is-scrolled {
    box-shadow: 0 5px 25px rgba(11, 31, 69, 0.08);
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header .nav-container {
    position: relative;

    width: min(1400px, calc(100% - 60px));
    min-height: 82px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 30px;

    overflow: visible;
}


/* =========================================================
   BRAND / LOGO
========================================================= */

.header .brand {
    display: flex;
    align-items: center;

    flex: 0 0 auto;
}

.header .brand-logo {
    display: block;

    width: auto;
    height: 52px;

    max-width: 190px;

    object-fit: contain;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.header .navigation {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 27px;
}

.header .navigation > a {
    position: relative;

    min-height: 82px;

    padding: 0;

    display: flex;
    align-items: center;

    color: var(--text);

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}


/* NAV UNDERLINE */

.header .navigation > a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 20px;

    width: 0;
    height: 2px;

    background: var(--navy);

    transition: width 0.25s ease;
}

.header .navigation > a:hover::after,
.header .navigation > a.active::after {
    width: 100%;
}

.header .navigation > a.active {
    color: var(--navy);
}


/* =========================================================
   HEADER CTA
========================================================= */

.header .nav-cta {
    min-height: 48px;

    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    flex: 0 0 auto;

    background: var(--navy);
    color: var(--white);

    font-size: 10px;
    font-weight: 700;

    white-space: nowrap;

    transition: background 0.25s ease;
}

.header .nav-cta:hover {
    background: var(--navy-light);
}

.header .nav-cta span {
    transition: transform 0.25s ease;
}

.header .nav-cta:hover span {
    transform: translateX(4px);
}


/* =========================================================
   HAMBURGER
========================================================= */

.header .menu-button {
    width: 44px;
    height: 44px;

    display: none;

    margin-left: auto;
    padding: 0;

    flex: 0 0 44px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border: 0;

    background: transparent;

    position: relative;

    z-index: 10002;
}

.header .menu-button span {
    display: block;

    width: 27px;
    height: 2px;

    margin: 0;

    background: var(--navy);

    transform-origin: center;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* HAMBURGER TO X */

.header .menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header .menu-button.active span:nth-child(2) {
    opacity: 0;
}

.header .menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   COMMON
========================================================= */

.section {
    padding: 95px 0;
}

.eyebrow {
    margin-bottom: 15px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;
}

.section-title {
    color: var(--navy);

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -2.5px;
}

.section-heading {
    margin-bottom: 42px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;
}

.text-link {
    color: var(--navy);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 50px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    border: 1px solid var(--navy);

    font-size: 10px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.primary {
    background: var(--navy);
    color: var(--white);
}

.primary:hover {
    background: var(--navy-light);
}

.secondary {
    background: var(--white);
    color: var(--navy);
}

.secondary:hover {
    background: var(--soft-blue);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 80px 0 70px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f6f8fb 100%
        );
}

.hero-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 0.75fr);

    gap: 90px;

    align-items: center;
}

.hero-content {
    min-width: 0;
}

.hero-content h1 {
    max-width: 800px;

    margin-bottom: 25px;

    color: var(--navy);

    font-size: clamp(55px, 6vw, 84px);

    line-height: 0.97;

    letter-spacing: -5px;
}

.hero-text {
    max-width: 610px;

    margin-bottom: 35px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   HERO PRICE
========================================================= */

.hero-price {
    margin-bottom: 32px;

    display: flex;
    align-items: flex-end;

    gap: 8px;
}

.hero-price > span {
    margin-right: 10px;
    margin-bottom: 8px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.hero-price strong {
    color: var(--navy);

    font-size: 44px;

    line-height: 1;
}

.hero-price small {
    margin-bottom: 5px;

    color: var(--muted);
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
    display: flex;

    gap: 10px;
}


/* =========================================================
   HERO PANEL
========================================================= */

.hero-panel {
    min-width: 0;

    padding: 35px;

    background: var(--white);

    border: 1px solid var(--line);
}

.panel-label {
    margin-bottom: 25px;

    color: var(--blue);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;
}

.hero-service {
    padding: 20px 0;

    display: grid;

    grid-template-columns:
        45px minmax(0, 1fr);

    gap: 10px;

    border-bottom: 1px solid var(--line);
}

.hero-service:last-child {
    border-bottom: 0;
}

.hero-service > span {
    color: #b4bdcc;

    font-size: 12px;
}

.hero-service div {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.hero-service strong {
    color: var(--navy);

    font-size: 14px;
}

.hero-service small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   QUICK PRICING
========================================================= */

.quick-pricing {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.price-strip {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}

.price-strip > div {
    min-width: 0;
    min-height: 110px;

    padding: 25px;

    display: grid;

    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: center;

    column-gap: 12px;

    border-right: 1px solid var(--line);
}

.price-strip > div:last-child {
    border-right: 0;
}

.price-strip strong {
    grid-row: 1 / 3;

    color: var(--navy);

    font-size: 27px;
}

.price-strip span {
    align-self: end;

    color: var(--navy);

    font-size: 12px;
    font-weight: 700;
}

.price-strip small {
    align-self: start;

    color: var(--muted);

    font-size: 9px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 90px;
}

.about-copy {
    min-width: 0;

    padding-top: 28px;
}

.about-copy p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}

.about-copy .text-link {
    display: inline-block;

    margin-top: 10px;
}


/* =========================================================
   PACKAGES
========================================================= */

.packages-section {
    background: var(--soft);
}

.packages-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.package-card {
    position: relative;

    min-width: 0;
    min-height: 410px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    background: var(--white);

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.package-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(10, 31, 68, 0.08);
}

.package-card.featured {
    border-top: 3px solid var(--navy);
}

.popular {
    position: absolute;

    top: 18px;
    right: 20px;

    padding: 6px 9px;

    background: var(--navy);
    color: var(--white);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1px;
}

.package-number {
    color: #aeb8c8;

    font-size: 10px;
}

.package-label {
    margin-top: 45px;
    margin-bottom: 7px;

    color: var(--blue);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2px;
}

.package-card h3 {
    color: var(--navy);

    font-size: 23px;
}

.package-description {
    margin-top: 15px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.7;
}

.package-price {
    margin-top: auto;
    margin-bottom: 22px;

    display: flex;
    align-items: baseline;

    gap: 5px;
}

.package-price strong {
    color: var(--navy);

    font-size: 27px;
}

.package-price span {
    color: var(--muted);

    font-size: 9px;
}

.choose-package {
    width: 100%;

    padding: 14px;

    border: 1px solid var(--navy);

    background: var(--white);
    color: var(--navy);

    font-size: 9px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.choose-package:hover {
    background: var(--navy);
    color: var(--white);
}


/* =========================================================
   PACKAGE FEATURES
========================================================= */

.package-features {
    width: 100%;

    margin: 24px 0 20px;

    border-top: 1px solid #d9e0ea;
    border-bottom: 1px solid #d9e0ea;
}

.package-features > summary,
.feature-group > summary {
    list-style: none;
}

.package-features > summary::-webkit-details-marker,
.feature-group > summary::-webkit-details-marker {
    display: none;
}

.package-features > summary {
    width: 100%;
    min-height: 54px;

    padding: 16px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    cursor: pointer;

    color: #0b2857;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.5;

    letter-spacing: 0.7px;

    text-transform: uppercase;

    user-select: none;
}

.package-toggle {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d4dce8;

    border-radius: 2px;

    color: #0b2857;

    font-size: 17px;

    line-height: 1;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.package-features[open] > summary .package-toggle {
    transform: rotate(45deg);

    background: #0b2857;
    border-color: #0b2857;

    color: var(--white);
}

.package-features-content {
    width: 100%;

    padding: 0 0 14px;
}


/* =========================================================
   FEATURE GROUPS
========================================================= */

.feature-group {
    width: 100%;

    border-top: 1px solid #e2e7ef;
}

.feature-group > summary {
    width: 100%;

    padding: 14px 2px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    cursor: pointer;

    color: #102a54;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.5;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.feature-group > summary::before {
    flex: 0 0 25px;

    color: #a3afc0;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.5px;

    opacity: 0.7;
}

.feature-group:nth-child(1) > summary::before {
    content: "01";
}

.feature-group:nth-child(2) > summary::before {
    content: "02";
}

.feature-group:nth-child(3) > summary::before {
    content: "03";
}

.feature-group:nth-child(4) > summary::before {
    content: "04";
}

.feature-group:nth-child(5) > summary::before {
    content: "05";
}

.feature-group:nth-child(6) > summary::before {
    content: "06";
}

.feature-group:nth-child(7) > summary::before {
    content: "07";
}

.feature-group:nth-child(8) > summary::before {
    content: "08";
}

.feature-group:nth-child(9) > summary::before {
    content: "09";
}

.feature-group:nth-child(10) > summary::before {
    content: "10";
}

.feature-group:nth-child(11) > summary::before {
    content: "11";
}

.feature-group:nth-child(12) > summary::before {
    content: "12";
}

.feature-group > summary > span:first-child {
    min-width: 0;

    flex: 1;
}

.feature-group > summary > span:last-child {
    min-width: 20px;

    flex: 0 0 auto;

    color: #8d9bb0;

    font-size: 17px;

    line-height: 1;

    text-align: center;

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.feature-group[open] {
    background: rgba(11, 40, 87, 0.025);
}

.feature-group[open] > summary {
    color: #0b2857;

    font-weight: 700;
}

.feature-group[open] > summary > span:last-child {
    transform: rotate(45deg);

    color: #0b2857;
}


/* =========================================================
   FEATURE LIST
========================================================= */

.feature-group ul {
    width: 100%;

    margin: 0;

    padding: 4px 4px 15px 18px;

    list-style: none;
}

.feature-group li {
    position: relative;

    margin: 0;

    padding: 5px 0 5px 14px;

    color: #66758b;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.65;
}

.feature-group li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 11px;

    width: 4px;
    height: 4px;

    background: #0b2857;

    border-radius: 50%;
}


/* =========================================================
   PACKAGE FEATURE HOVER
========================================================= */

@media (hover: hover) {

    .package-features > summary:hover {
        color: #173e77;
    }

    .package-features > summary:hover .package-toggle {
        border-color: #0b2857;
    }

    .feature-group > summary:hover {
        padding-left: 6px;

        color: #173e77;
    }
}


/* =========================================================
   PACKAGE FEATURE ANIMATION
========================================================= */

.package-features[open] > .package-features-content {
    animation: cohPackageOpen 0.25s ease;
}

.feature-group[open] > ul {
    animation: cohFeatureOpen 0.2s ease;
}

@keyframes cohPackageOpen {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cohFeatureOpen {

    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   PACKAGE FEATURE ACCESSIBILITY
========================================================= */

.package-features > summary:focus-visible,
.feature-group > summary:focus-visible {
    outline: 2px solid #0b2857;
    outline-offset: 3px;
}


/* =========================================================
   CALCULATOR
========================================================= */

.calculator-heading {
    max-width: 680px;

    margin-bottom: 50px;
}

.calculator-heading > p:last-child {
    margin-top: 17px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.calculator-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(0, 0.6fr);

    gap: 45px;

    align-items: start;
}

.calculator-controls {
    min-width: 0;

    border-top: 1px solid var(--line);
}

.calculator-block {
    padding: 35px 0;

    border-bottom: 1px solid var(--line);
}

.block-heading {
    margin-bottom: 25px;

    display: flex;
    align-items: center;

    gap: 15px;
}

.block-heading span {
    color: #aab4c4;

    font-size: 11px;
}

.block-heading h3 {
    color: var(--navy);

    font-size: 15px;
}


/* =========================================================
   AREA CONTROL
========================================================= */

.area-control {
    display: grid;

    grid-template-columns:
        55px minmax(0, 1fr) 55px;

    border: 1px solid var(--line);
}

.area-control > button {
    border: 0;

    background: var(--white);
    color: var(--navy);

    font-size: 24px;
}

.area-control > button:hover {
    background: var(--soft-blue);
}

.area-input-wrap {
    min-width: 0;
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.area-input-wrap input {
    width: 145px;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--navy);

    text-align: right;

    font-size: 30px;
    font-weight: 700;
}

.area-input-wrap span {
    margin-left: 9px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   QUICK AREA
========================================================= */

.quick-area {
    margin-top: 12px;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.quick-area button {
    padding: 9px 15px;

    border: 1px solid var(--line);

    background: var(--white);
    color: var(--muted);

    font-size: 9px;
}

.quick-area button:hover,
.quick-area button.selected {
    border-color: var(--navy);

    background: var(--navy);
    color: var(--white);
}


/* =========================================================
   CALCULATOR PACKAGE SELECTOR
========================================================= */

.calculator-packages {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.calc-package {
    min-width: 0;
    min-height: 85px;

    padding: 17px;

    display: grid;

    grid-template-columns:
        25px minmax(0, 1fr) auto;

    align-items: center;

    gap: 10px;

    border: 1px solid var(--line);

    background: var(--white);

    text-align: left;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.calc-package:hover {
    border-color: var(--navy);
}

.calc-package.selected {
    border: 2px solid var(--navy);

    background: var(--soft-blue);
}

.package-check {
    color: #9daabd;

    font-size: 17px;
}

.calc-package.selected .package-check {
    color: var(--navy);

    font-weight: 700;
}

.calc-package-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.calc-package-info strong {
    color: var(--navy);

    font-size: 12px;
}

.calc-package-info small {
    color: var(--muted);

    font-size: 8px;
}

.calc-rate {
    color: var(--navy);

    font-size: 16px;
    font-weight: 700;
}

.calc-rate small {
    color: var(--muted);

    font-size: 7px;
    font-weight: 500;
}


/* =========================================================
   ESTIMATE
========================================================= */

.estimate-card {
    position: sticky;

    top: 110px;

    min-width: 0;

    padding: 35px;

    background: var(--navy);
    color: var(--white);
}

.estimate-label {
    margin-bottom: 38px;

    color: #aabbd8;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;
}

.estimate-main {
    padding-bottom: 28px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.2);
}

.estimate-main span {
    display: block;

    margin-bottom: 8px;

    color: #c5cfde;

    font-size: 10px;
}

.estimate-main strong {
    display: block;

    font-size: clamp(35px, 3.3vw, 52px);

    line-height: 1;

    letter-spacing: -2px;
}

.estimate-details {
    padding: 22px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.2);
}

.estimate-details div {
    padding: 7px 0;

    display: flex;
    justify-content: space-between;

    gap: 20px;
}

.estimate-details span {
    color: #aebcd2;

    font-size: 9px;
}

.estimate-details strong {
    font-size: 10px;

    text-align: right;
}

.calculation-line {
    min-height: 57px;

    padding: 18px 0;

    color: #c7d1e1;

    font-size: 10px;
}

.estimate-button {
    width: 100%;

    margin-top: 4px;

    border-color: var(--white);

    background: var(--white);
    color: var(--navy);
}

.estimate-note {
    margin-top: 17px;

    color: #9fb0ca;

    font-size: 8px;

    line-height: 1.6;
}


/* =========================================================
   WHY COH
========================================================= */

.why-section {
    background: var(--soft);
}

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--line);
}

.why-grid article {
    min-width: 0;
    min-height: 210px;

    padding: 28px;

    border-right: 1px solid var(--line);
}

.why-grid article:last-child {
    border-right: 0;
}

.why-grid span {
    color: #aab4c5;

    font-size: 10px;
}

.why-grid h3 {
    margin: 42px 0 10px;

    color: var(--navy);

    font-size: 15px;
}

.why-grid p {
    color: var(--muted);

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    min-width: 0;
    min-height: 190px;

    padding: 28px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.service-card:hover {
    background: var(--navy);
}

.service-card span {
    color: #aab4c5;

    font-size: 10px;
}

.service-card h3 {
    margin: 40px 0 9px;

    color: var(--navy);

    font-size: 15px;
}

.service-card p {
    color: var(--muted);

    font-size: 10px;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    background: var(--soft);
}

.center-heading {
    margin-bottom: 55px;

    text-align: center;
}

.process {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;
}

.process-step {
    min-width: 0;
    min-height: 150px;

    padding: 25px;

    border-top: 1px solid var(--line);
}

.process-step span {
    color: #aab5c6;

    font-size: 10px;
}

.process-step h3 {
    margin: 25px 0 7px;

    color: var(--navy);

    font-size: 16px;
}

.process-step p {
    color: var(--muted);

    font-size: 10px;

    line-height: 1.6;
}

.process-arrow {
    padding: 0 8px;

    color: #9ba8ba;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.project-card {
    min-width: 0;
    min-height: 210px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--white);

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.project-card > span {
    color: #aab4c4;

    font-size: 10px;
}

.project-card div p {
    margin-bottom: 8px;

    color: var(--blue);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2px;
}

.project-card h3 {
    margin-bottom: 6px;

    color: var(--navy);

    font-size: 18px;
}

.project-card small {
    color: var(--muted);

    font-size: 9px;
}

.project-card > strong {
    align-self: flex-end;

    color: var(--navy);
}

.project-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(10, 31, 68, 0.08);
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials-section {
    background: var(--soft);
}

.testimonial-container {
    display: grid;

    grid-template-columns:
        minmax(0, 0.65fr)
        minmax(0, 1.35fr);

    gap: 80px;
}

.testimonial-slider {
    min-width: 0;
    min-height: 260px;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
}

.quote {
    color: #c3cbd8;

    font-family: Georgia, serif;

    font-size: 70px;

    line-height: 0.8;
}

.testimonial blockquote {
    max-width: 650px;

    margin: 20px 0 28px;

    color: var(--navy);

    font-size: 24px;

    line-height: 1.5;

    letter-spacing: -0.6px;
}

.testimonial p {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.testimonial p strong {
    color: var(--navy);

    font-size: 11px;
}

.testimonial p span {
    color: var(--muted);

    font-size: 9px;
}

.testimonial-controls {
    grid-column: 2;

    display: flex;
    align-items: center;

    gap: 15px;
}

.testimonial-controls button {
    width: 38px;
    height: 38px;

    border: 1px solid var(--line);

    background: var(--white);
    color: var(--navy);
}

.testimonial-controls > span {
    color: var(--muted);

    font-size: 9px;
}

.testimonial-controls a {
    margin-left: auto;

    color: var(--navy);

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 70px 0;

    background: var(--navy);

    color: var(--white);
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.eyebrow.light {
    color: #9eb0ce;
}

.final-cta h2 {
    margin-bottom: 10px;

    font-size: clamp(35px, 4vw, 52px);

    line-height: 1;

    letter-spacing: -2px;
}

.final-cta p {
    color: #bdc9da;

    font-size: 12px;
}

.white-button {
    flex-shrink: 0;

    border-color: var(--white);

    background: var(--white);
    color: var(--navy);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--navy-dark);

    color: var(--white);
}

.footer-grid {
    padding: 60px 0;

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;

    color: var(--white);
}

.footer-brand-logo .brand-logo {
    width: auto;
    height: 60px;

    max-width: 210px;

    object-fit: contain;
}

.footer-brand > p {
    max-width: 310px;

    margin: 22px 0 15px;

    color: #9eacc0;

    font-size: 10px;

    line-height: 1.8;
}

.footer-brand > strong {
    color: #cbd5e4;

    font-size: 9px;
}

.footer-column {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 9px;
}

.footer-column h3 {
    margin-bottom: 8px;

    font-size: 11px;
}

.footer-column a,
.footer-column p {
    color: #aab7c9;

    font-size: 9px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    color: #8998ad;

    font-size: 8px;
}


/* =========================================================
   PACKAGE FEATURES DESKTOP SCROLL
========================================================= */

@media (min-width: 1101px) {

    .package-features[open] .package-features-content {
        max-height: 520px;

        padding-right: 7px;

        overflow-x: hidden;
        overflow-y: auto;
    }

    .package-features-content::-webkit-scrollbar {
        width: 4px;
    }

    .package-features-content::-webkit-scrollbar-track {
        background: #eef1f5;
    }

    .package-features-content::-webkit-scrollbar-thumb {
        background: #aab5c5;

        border-radius: 20px;
    }
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1280px) {

    .header .nav-container {
        width: min(1180px, calc(100% - 50px));

        gap: 20px;
    }

    .header .navigation {
        gap: 20px;
    }

    .header .navigation > a {
        font-size: 11px;
    }

    .header .nav-cta {
        padding-left: 17px;
        padding-right: 17px;
    }
}


/* =========================================================
   TABLET / MOBILE HEADER
========================================================= */

@media (max-width: 1050px) {

    .header .nav-container {
        width: calc(100% - 40px);

        min-height: 76px;
    }

    .header .brand-logo {
        height: 46px;

        max-width: 165px;
    }

    .header .nav-cta {
        display: none;
    }

    .header .menu-button {
        display: flex;
    }


    /* CLOSED MENU */

    .header .navigation {
        display: none;

        position: absolute;

        top: 76px;
        left: 50%;

        width: 100vw;

        max-height: calc(100vh - 76px);

        margin: 0;
        padding: 8px 24px 18px;

        transform: translateX(-50%);

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: var(--white);

        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);

        box-shadow:
            0 15px 30px rgba(11, 31, 69, 0.08);

        overflow-x: hidden;
        overflow-y: auto;

        z-index: 10001;
    }


    /* OPEN MENU */

    .header .navigation.open,
    .header .navigation.active {
        display: flex;
    }


    /* MOBILE LINKS */

    .header .navigation > a {
        width: 100%;
        min-height: 52px;

        padding: 14px 0;

        display: flex;
        align-items: center;

        color: var(--text);

        font-size: 13px;
        font-weight: 600;

        line-height: 1.4;

        white-space: normal;

        border-bottom: 1px solid #e8ebf0;
    }

    .header .navigation > a:last-child {
        border-bottom: 0;
    }

    .header .navigation > a::after,
    .header .navigation > a::before {
        content: none;

        display: none;
    }

    .header .navigation > a.active {
        color: var(--navy);

        font-weight: 700;
    }


    /* PAGE */

    .hero-inner,
    .calculator-layout {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .hero-panel {
        max-width: 650px;
    }

    .packages-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .estimate-card {
        position: static;
    }

    .footer-grid {
        grid-template-columns:
            minmax(0, 2fr)
            minmax(0, 1fr)
            minmax(0, 1fr);
    }


    /* PACKAGE FEATURES */

    .package-features-content {
        max-height: none;

        overflow: visible;
    }

    .package-features > summary {
        font-size: 11.5px;
    }

    .feature-group > summary {
        font-size: 11.5px;
    }

    .feature-group li {
        font-size: 10.5px;

        line-height: 1.65;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 780px) {

    .container {
        width: calc(100% - 32px);
    }

    .header .nav-container {
        width: calc(100% - 32px);

        min-height: 72px;
    }

    .header .brand-logo {
        height: 43px;

        max-width: 155px;
    }

    .header .navigation {
        top: 72px;

        max-height: calc(100vh - 72px);

        padding-left: 16px;
        padding-right: 16px;
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-inner {
        gap: 45px;
    }

    .hero-content h1 {
        font-size: 50px;

        letter-spacing: -3px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .price-strip {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .price-strip > div:nth-child(2n) {
        border-right: 0;
    }

    .about-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 25px;
    }

    .section-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .packages-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .calculator-packages {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .why-grid article:nth-child(2n) {
        border-right: 0;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .process {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .process-arrow {
        width: fit-content;

        padding: 8px 25px;

        transform: rotate(90deg);
    }

    .testimonial-container {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 40px;
    }

    .testimonial-controls {
        grid-column: 1;
    }

    .testimonial blockquote {
        font-size: 20px;
    }

    .final-cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 40px;
    }


    /* PACKAGE FEATURES */

    .package-card {
        height: auto;

        overflow: visible;
    }

    .package-features {
        margin-top: 20px;
        margin-bottom: 18px;
    }

    .package-features > summary {
        min-height: 50px;

        padding: 14px 0;

        gap: 10px;

        font-size: 11px;

        line-height: 1.45;

        letter-spacing: 0.5px;
    }

    .package-features > summary > span:first-child,
    .feature-group > summary > span:first-child {
        min-width: 0;

        white-space: normal;

        overflow-wrap: break-word;
    }

    .package-toggle {
        width: 29px;
        height: 29px;

        flex-basis: 29px;

        font-size: 16px;
    }

    .package-features-content {
        width: 100%;

        max-height: none;

        padding-right: 0;

        overflow: visible;
    }

    .feature-group > summary {
        padding: 13px 0;

        gap: 8px;

        font-size: 11px;

        line-height: 1.5;
    }

    .feature-group > summary::before {
        flex-basis: 23px;

        font-size: 8px;
    }

    .feature-group ul {
        padding:
            0
            4px
            13px
            23px;
    }

    .feature-group li {
        width: 100%;

        padding:
            5px
            0
            5px
            13px;

        font-size: 10.5px;

        line-height: 1.65;

        white-space: normal;

        overflow-wrap: break-word;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .container {
        width: calc(100% - 30px);
    }

    .header .nav-container {
        width: calc(100% - 30px);

        min-height: 68px;
    }

    .header .brand-logo {
        height: 40px;

        max-width: 145px;
    }

    .header .menu-button {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }

    .header .navigation {
        top: 68px;

        max-height: calc(100vh - 68px);

        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-content h1 {
        font-size: 42px;

        line-height: 1;

        letter-spacing: -2.5px;
    }

    .hero-price {
        flex-wrap: wrap;
    }

    .hero-price strong {
        font-size: 36px;
    }

    .price-strip,
    .packages-grid,
    .why-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .price-strip > div,
    .why-grid article {
        border-right: 0;

        border-bottom: 1px solid var(--line);
    }

    .price-strip > div:last-child,
    .why-grid article:last-child {
        border-bottom: 0;
    }

    .area-control {
        grid-template-columns:
            45px minmax(0, 1fr) 45px;
    }

    .area-input-wrap input {
        width: 100px;

        font-size: 25px;
    }

    .quick-area {
        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .quick-area button {
        padding: 9px 3px;
    }

    .calc-package {
        grid-template-columns:
            22px minmax(0, 1fr) auto;

        padding: 14px 12px;
    }

    .estimate-card {
        padding: 28px 22px;
    }

    .footer-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .container,
    .header .nav-container {
        width: calc(100% - 24px);
    }

    .header .brand-logo {
        height: 38px;

        max-width: 135px;
    }

    .header .navigation {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .hero-price strong {
        font-size: 34px;
    }

    .quick-area {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .package-features > summary,
    .feature-group > summary {
        font-size: 10.5px;
    }

    .feature-group li {
        font-size: 10px;
    }
}


/* =========================================================
   MENU OPEN
========================================================= */

body.menu-open {
    overflow: hidden;
}


/* =========================================================
   PRINT PACKAGE DETAILS
========================================================= */

@media print {

    .package-features,
    .feature-group,
    .package-features-content,
    .feature-group ul {
        display: block !important;

        max-height: none !important;

        overflow: visible !important;
    }

    .package-toggle,
    .feature-group > summary > span:last-child {
        display: none !important;
    }
}