/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero {
    position: relative;
    min-height: 670px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 38, 0.98) 0%,
            rgba(7, 20, 38, 0.88) 42%,
            rgba(7, 20, 38, 0.36) 75%,
            rgba(7, 20, 38, 0.18) 100%
        ),
        url("../images/hero-building.jpg") center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.06),
            rgba(0, 0, 0, 0.22)
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 710px;
    padding: 100px 0;
    color: var(--white);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--gold-400);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--gold-500);
}

.hero h1 {
    max-width: 690px;
    margin-bottom: 0;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.hero-description {
    max-width: 620px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

/*
|--------------------------------------------------------------------------
| General sections
|--------------------------------------------------------------------------
*/

.section {
    padding: 95px 0;
}

.section-light {
    background: var(--gray-50);
}

.section-dark {
    background: var(--navy-950);
    color: var(--white);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-kicker {
    display: block;
    margin-bottom: 13px;
    color: var(--gold-500);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.section-header h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 48px);
}

.section-header p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.75;
}

/*
|--------------------------------------------------------------------------
| Services
|--------------------------------------------------------------------------
*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    min-height: 270px;
    padding: 34px 30px 44px;
    overflow: hidden;
    border: 1px solid #e2e6ea;
    background: var(--white);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.service-card::after {
    content: "";
    position: absolute;
    left: 30px;
    bottom: 24px;
    width: 42px;
    height: 3px;
    background: var(--gold-500);
    transition: width 220ms ease;
}

.service-card:hover {
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: var(--shadow-card);
    transform: translateY(-7px);
}

.service-card:hover::after {
    width: 85px;
}

.service-icon {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(13, 27, 42, 0.16);
    border-radius: 50%;
    color: var(--navy-800);
    font-size: 25px;
    font-weight: 600;
}

.service-card h3 {
    margin-bottom: 13px;
    font-size: 23px;
}

.service-card p {
    margin-bottom: 0;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| Methodology
|--------------------------------------------------------------------------
*/

.methodology-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 65px;
    align-items: center;
}

.methodology-intro h2 {
    margin-bottom: 0;
    font-size: clamp(36px, 4vw, 50px);
}

.methodology-intro p {
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

.methodology-steps {
    position: relative;
    display: grid;
    gap: 12px;
}

.methodology-steps::before {
    content: "";
    position: absolute;
    top: 38px;
    bottom: 38px;
    left: 29px;
    width: 1px;
    background: rgba(201, 162, 39, 0.35);
}

.methodology-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 21px;
    align-items: start;
    padding: 17px 0;
}

.step-number {
    width: 59px;
    height: 59px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 162, 39, 0.55);
    background: var(--navy-900);
    color: var(--gold-400);
    font-weight: 800;
}

.methodology-step h3 {
    margin: 3px 0 7px;
    font-family: Montserrat, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
}

.methodology-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.65;
}

/*
|--------------------------------------------------------------------------
| Statistics
|--------------------------------------------------------------------------
*/

.statistics {
    background:
        linear-gradient(
            90deg,
            var(--navy-950),
            var(--navy-800)
        );
}

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

.statistic {
    min-height: 190px;
    display: grid;
    place-content: center;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--white);
    text-align: center;
}

.statistic:last-child {
    border-right: 0;
}

.statistic strong,
.statistic span {
    display: block;
}

.statistic strong {
    color: var(--gold-400);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    line-height: 1;
}

.statistic span {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| Values
|--------------------------------------------------------------------------
*/

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    padding: 31px 25px;
    border-top: 3px solid var(--gold-500);
    background: var(--white);
    box-shadow: 0 12px 35px rgba(7, 20, 38, 0.07);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.value-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}

.value-card > span {
    display: block;
    margin-bottom: 16px;
    color: var(--gold-500);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
}

.value-card p {
    margin-bottom: 0;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| Contact
|--------------------------------------------------------------------------
*/

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(201, 162, 39, 0.2),
            transparent 30%
        ),
        var(--navy-900);
    color: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
    align-items: center;
}

.contact-content h2 {
    max-width: 650px;
    margin-bottom: 0;
    font-size: clamp(38px, 5vw, 56px);
}

.contact-content p {
    max-width: 620px;
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}

.contact-card {
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.contact-card h3 {
    margin-bottom: 0;
    font-size: 27px;
}

.contact-list {
    display: grid;
    gap: 0;
    margin: 25px 0 0;
}

.contact-list > div {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list > div:last-child {
    border-bottom: 0;
}

.contact-list dt {
    margin-bottom: 4px;
    color: var(--gold-400);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.contact-list a:hover {
    color: var(--gold-400);
}

/*
|--------------------------------------------------------------------------
| Responsive: tablets
|--------------------------------------------------------------------------
*/

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

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

    .methodology-layout {
        gap: 45px;
    }

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

    .statistic:nth-child(2) {
        border-right: 0;
    }

    .statistic:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }
}

/*
|--------------------------------------------------------------------------
| Responsive: mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 650px) {
    .hero {
        min-height: 620px;
        background-position: 65% center;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section {
        padding: 72px 0;
    }

    .services-grid,
    .statistics-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .methodology-step {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 16px;
    }

    .methodology-steps::before {
        left: 25px;
    }

    .step-number {
        width: 51px;
        height: 51px;
    }

    .statistic {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .statistic:last-child {
        border-bottom: 0;
    }

    .contact-section {
        padding: 72px 0;
    }

    .contact-card {
        padding: 28px 23px;
    }
}

/*
|--------------------------------------------------------------------------
| Accessibility
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .value-card {
        transition: none;
    }
}