:root {
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #eef2f5;
    --ink: #132238;
    --muted: #637487;
    --line: rgba(19, 34, 56, 0.12);
    --accent: #f4b522;
    --accent-strong: #d18f07;
    --navy: #11263e;
    --navy-soft: #18324f;
    --success: #5cb85c;
    --shadow-xl: 0 30px 80px -40px rgba(13, 28, 46, 0.45);
    --shadow-lg: 0 24px 48px -28px rgba(13, 28, 46, 0.3);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(244, 181, 34, 0.2), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #edf1f5 100%);
    font-family: "Barlow", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-shell {
    overflow: clip;
}

.topbar {
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.topbar__inner,
.topbar__items {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar__inner {
    justify-content: space-between;
    padding: 0.85rem 0;
}

.topbar__items span {
    position: relative;
}

.topbar__items span + span::before {
    content: "";
    position: absolute;
    left: -0.7rem;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%);
}

.topbar__link {
    color: #fff;
    font-weight: 700;
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(248, 250, 252, 0.88);
    border-bottom: 1px solid rgba(19, 34, 56, 0.08);
}

.header--scrolled {
    box-shadow: 0 18px 38px -30px rgba(17, 38, 62, 0.35);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 88px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand__logo {
    width: 78px;
    height: 52px;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(19, 34, 56, 0.08);
    box-shadow: 0 12px 28px -22px rgba(17, 38, 62, 0.35);
    padding: 0.25rem;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
}

.brand__text strong {
    font-size: 1.7rem;
    letter-spacing: 0.04em;
}

.brand__text span {
    font-size: 1.15rem;
    letter-spacing: 0.22em;
    color: var(--muted);
}

.nav,
.header__actions {
    display: flex;
    align-items: center;
}

.nav {
    gap: 1.6rem;
    font-weight: 700;
    color: var(--muted);
}

.nav a {
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.header__actions {
    gap: 0.9rem;
}

.header__phone {
    font-weight: 800;
    color: var(--navy);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--accent {
    color: #0b1220;
    background: linear-gradient(180deg, #f7c74f 0%, var(--accent) 100%);
    box-shadow: 0 16px 30px -20px rgba(244, 181, 34, 0.75);
}

.button--ghost {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(19, 34, 56, 0.12);
}

.button--full {
    width: 100%;
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(19, 34, 56, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 22px -18px rgba(17, 38, 62, 0.32);
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    background: var(--navy);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem 1rem;
    border-top: 1px solid rgba(19, 34, 56, 0.08);
    background: rgba(248, 250, 252, 0.98);
}

.mobile-menu a:not(.button) {
    font-weight: 700;
    padding: 0.25rem 0;
}

.hero {
    position: relative;
    padding: 6rem 0 4rem;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(19, 34, 56, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 34, 56, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--accent-strong);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.84rem;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.82);
}

.hero h1,
.section h2,
.highlight-band h2 {
    margin: 0;
    font-family: "Oswald", sans-serif;
    line-height: 0.98;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 6.2vw, 5.4rem);
}

.hero p {
    max-width: 58ch;
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.hero__actions,
.hero__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__actions {
    margin-top: 2rem;
}

.hero__metrics {
    margin-top: 2.4rem;
}

.metric {
    min-width: 150px;
    padding: 1.15rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(19, 34, 56, 0.1);
    box-shadow: var(--shadow-lg);
}

.metric strong,
.stat-card strong {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 2.4rem;
    line-height: 0.95;
}

.metric span,
.stat-card span {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
    font-weight: 600;
}

.hero__visual {
    position: relative;
    min-height: 620px;
}

.hero-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-card--main {
    position: absolute;
    inset: 0 0 4rem 2rem;
    background: #fff;
    border: 10px solid rgba(255, 255, 255, 0.88);
}

.hero-card--main img,
.hero-card--floating img,
.about__visual img,
.service-card__media img,
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card__badge {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(180deg, rgba(17, 38, 62, 0.96) 0%, rgba(17, 38, 62, 0.86) 100%);
    backdrop-filter: blur(8px);
}

.hero-card__badge span {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
}

.hero-card__badge small {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-card--floating {
    position: absolute;
    width: min(48%, 280px);
    right: 0;
    bottom: 0;
    aspect-ratio: 0.92;
    border: 8px solid rgba(255, 255, 255, 0.88);
    background: #fff;
}

.logos {
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(19, 34, 56, 0.08);
    border-bottom: 1px solid rgba(19, 34, 56, 0.08);
}

.logos__inner {
    display: grid;
    grid-template-columns: 1.2fr repeat(5, 1fr);
    gap: 1rem;
    align-items: center;
    color: var(--muted);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.88rem;
}

.logos__inner div {
    display: grid;
    place-items: center;
    min-height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(19, 34, 56, 0.08);
}

.section {
    padding: 6rem 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-heading p {
    margin-top: 1rem;
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.08rem;
}

.section-heading--split {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    align-items: end;
    max-width: none;
}

.cards {
    display: grid;
    gap: 1.5rem;
}

.cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.testimonial-card,
.contact-form,
.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.service-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-4px);
}

.service-card__media {
    aspect-ratio: 1.55;
    background: linear-gradient(135deg, rgba(244, 181, 34, 0.2), rgba(17, 38, 62, 0.12));
}

.service-card h3,
.project-card h3,
.timeline__step h3,
.testimonial-card strong,
.contact__copy h2 {
    margin: 0;
    font-family: "Oswald", sans-serif;
}

.service-card h3,
.service-card p,
.service-card a {
    padding-inline: 1.6rem;
}

.service-card h3 {
    padding-top: 1.35rem;
    font-size: 1.6rem;
}

.service-card p {
    margin: 0.75rem 0 1rem;
    color: var(--muted);
    line-height: 1.75;
}

.service-card a {
    display: inline-block;
    padding-bottom: 1.5rem;
    color: var(--navy);
    font-weight: 800;
}

.about {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.95)),
        linear-gradient(135deg, rgba(17, 38, 62, 0.04), rgba(244, 181, 34, 0.08));
}

.about__layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: center;
}

.about__visual {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: var(--shadow-xl);
    height: 560px;
    min-height: 560px;
}

.about__visual img {
    position: absolute;
    inset: 0;
}

.about__copy h2,
.contact__copy h2 {
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
}

.about__copy p,
.contact__copy p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.08rem;
}

.about__highlights {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.about__highlights div {
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(19, 34, 56, 0.08);
}

.about__highlights strong,
.contact__details strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.about__highlights span,
.contact__details span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
}

.highlight-band {
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(244, 181, 34, 0.28), transparent 24%),
        linear-gradient(135deg, var(--navy) 0%, #09111c 100%);
}

.highlight-band__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.check-list {
    display: grid;
    gap: 1rem;
}

.check-list div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.check-list div::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(244, 181, 34, 0.18);
}

.projects {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.96));
}

.project-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.35rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 340px;
    min-height: 340px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.25s ease;
}

.project-card--large {
    grid-row: auto;
    height: 340px;
    min-height: 340px;
}

.project-card img {
    position: absolute;
    inset: 0;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 28, 0.7) 100%);
}

.project-card__body {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.35rem;
    z-index: 1;
    color: #fff;
}

.project-card__body span {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.76);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 800;
}

.project-card__body p {
    margin: 0.55rem 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 3rem;
    right: 3rem;
    top: 2rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(244, 181, 34, 0.6), rgba(17, 38, 62, 0.16));
}

.timeline__step {
    position: relative;
    padding: 3.4rem 1.3rem 1.3rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(19, 34, 56, 0.08);
}

.timeline__step span {
    position: absolute;
    top: 0.7rem;
    left: 1.3rem;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    color: #0c1626;
    font-family: "Oswald", sans-serif;
    font-size: 1.4rem;
    background: linear-gradient(180deg, #f7c74f 0%, var(--accent) 100%);
    box-shadow: 0 12px 26px -18px rgba(244, 181, 34, 0.9);
}

.timeline__step p {
    color: var(--muted);
    line-height: 1.75;
}

.stats {
    padding-top: 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
}

.stat-card {
    padding: 1.5rem;
}

.testimonials {
    background:
        linear-gradient(180deg, rgba(17, 38, 62, 0.03), rgba(17, 38, 62, 0.06)),
        #fff;
}

.testimonial-card {
    padding: 1.7rem;
}

.testimonial-card__rating {
    color: var(--accent-strong);
    letter-spacing: 0.18em;
    font-size: 0.95rem;
    font-weight: 800;
}

.testimonial-card p {
    margin: 0.9rem 0 1.2rem;
    color: var(--muted);
    line-height: 1.8;
}

.testimonial-card span {
    display: block;
    color: var(--muted);
    margin-top: 0.3rem;
}

.contact {
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(244, 181, 34, 0.28), transparent 18%),
        linear-gradient(135deg, var(--navy) 0%, #09111c 100%);
}

.contact__layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: start;
}

.contact__details {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact__details div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    padding: 1.4rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.contact-form span {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--navy);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid rgba(19, 34, 56, 0.12);
    border-radius: 14px;
    background: #fff;
    padding: 0.95rem 1rem;
    color: var(--ink);
}

.footer {
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.74);
    background: #08111a;
}

.footer__grid,
.footer__bottom {
    display: grid;
    gap: 1.5rem;
}

.footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
}

.footer__grid h4 {
    margin: 0 0 1rem;
    color: #fff;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer__grid p,
.footer__grid li {
    line-height: 1.8;
}

.footer__grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__bottom {
    grid-template-columns: 1fr 1fr;
    padding-top: 1.6rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.94rem;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text span {
    color: #fff;
}

.brand--footer .brand__logo {
    background: #fff;
}

@media (max-width: 1180px) {
    .nav,
    .header__phone,
    .header__actions .button {
        display: none;
    }

    .burger {
        display: grid;
    }

    .mobile-menu.is-open {
        display: flex;
    }

    .hero__layout,
    .about__layout,
    .highlight-band__inner,
    .contact__layout,
    .section-heading--split,
    .footer__grid,
    .footer__bottom,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card--large {
        height: 420px;
        min-height: 420px;
        grid-row: auto;
    }

    .cards--3,
    .timeline,
    .stats__grid,
    .logos__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline::before {
        display: none;
    }
}

@media (max-width: 760px) {
    .topbar {
        display: none;
    }

    .header__inner {
        min-height: 78px;
    }

    .brand__text strong {
        font-size: 1.45rem;
    }

    .brand__text span {
        font-size: 0.96rem;
    }

    .brand__logo {
        width: 68px;
        height: 46px;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero h1 {
        max-width: none;
    }

    .hero__visual {
        min-height: 420px;
    }

    .hero-card--main {
        inset: 0 0 2.5rem 0;
    }

    .hero-card--floating {
        width: 45%;
        right: 0.4rem;
    }

    .cards--3,
    .stats__grid,
    .timeline,
    .logos__inner,
    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4.5rem 0;
    }

    .about__visual {
        height: 360px;
        min-height: 360px;
    }

    .metric,
    .contact-form,
    .stat-card {
        width: 100%;
    }

    .footer__bottom {
        font-size: 0.88rem;
    }
}
