

:root {
    --blue: #0b5ed7;
    --dark-blue: #073b8f;
    --blue-light: #eaf2ff;

    --black: #111111;
    --dark: #1b1b1b;

    --white: #ffffff;
    --light: #f6f8fc;

    --gray: #667085;
    --border: #e4e7ec;

    --shadow: 0 12px 35px rgba(7, 59, 143, 0.08);

    --radius: 16px;

    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-mark {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blue);
    color: var(--white);

    border-radius: 10px;

    font-size: 20px;
    font-weight: 800;
}

.logo-text {
    color: var(--black);
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;

    color: #3f4652;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.3s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--white);
    color: var(--black);

    font-size: 22px;
}

.hero {
    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            var(--white) 0%,
            var(--blue-light) 100%
        );

    position: relative;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -180px;
    top: -150px;

    border-radius: 50%;

    background: rgba(11, 94, 215, 0.08);
}

.hero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    left: -120px;
    bottom: -130px;

    border-radius: 50%;

    background: rgba(7, 59, 143, 0.06);
}

.hero-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);

    gap: 80px;

    align-items: center;
}

.hero-text {
    max-width: 760px;
}

.hero-label,
.section-label,
.card-label {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 18px;

    font-size: clamp(44px, 6vw, 76px);

    line-height: 1.05;

    letter-spacing: -3px;

    color: var(--black);
}

.hero h1 span {
    display: block;
    color: var(--blue);
}

.hero-description {
    max-width: 680px;

    margin-top: 28px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;
}

.btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 24px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);

    border: 1px solid var(--blue);
}

.btn-primary:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);

    box-shadow: 0 10px 25px rgba(11, 94, 215, 0.22);
}

.btn-outline {
    background: transparent;
    color: var(--black);

    border: 1px solid #cbd0d8;
}

.btn-outline:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.btn-light {
    background: var(--white);
    color: var(--blue);

    border: 1px solid var(--white);
}

.btn-light:hover {
    background: var(--blue-light);
}

.hero-highlight {
    max-width: 330px;

    padding: 32px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.hero-line {
    width: 50px;
    height: 4px;

    margin-bottom: 20px;

    background: var(--blue);

    border-radius: 10px;
}

.hero-highlight p {
    color: var(--gray);

    font-size: 15px;
    line-height: 1.8;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading h2 {
    margin-top: 12px;

    font-size: clamp(32px, 4vw, 50px);

    line-height: 1.15;

    letter-spacing: -1.8px;

    color: var(--black);
}

.section-intro {
    margin-top: 18px;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.8;
}

.about {
    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 70px;

    align-items: start;
}

.about-content {
    display: block;
}

.about-content p {
    margin-bottom: 22px;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.9;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-card {
    display: flex;
    flex-direction: column;

    gap: 20px;

    width: 100%;
}

.about-card-item {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    width: 100%;

    padding: 30px;

    background: var(--light);

    border: 1px solid var(--border);

    border-left: 5px solid var(--blue);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.about-card-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(7, 59, 143, 0.12);
}

.about-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--blue);

    color: var(--white);

    border-radius: 12px;

    font-size: 23px;
}

.about-card-content {
    flex: 1;

    min-width: 0;
}

.about-card-content h3 {
    margin-top: 8px;

    font-size: 22px;

    line-height: 1.3;

    color: var(--black);
}

.about-card-content p:last-child {
    margin-top: 10px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;
}

.services {
    background: var(--light);
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.service-card {
    padding: 32px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: 0 8px 25px rgba(7, 59, 143, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: rgba(11, 94, 215, 0.35);

    box-shadow:
        0 18px 40px rgba(7, 59, 143, 0.1);
}

.service-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    background: var(--blue-light);

    color: var(--blue);

    border-radius: 12px;

    font-size: 24px;
}

.service-card h3 {
    margin-bottom: 12px;

    font-size: 20px;

    color: var(--black);
}

.service-card p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;
}

.work {
    background: var(--white);
}

.work-grid {
    display: grid;

    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);

    gap: 70px;

    align-items: center;
}

.work-content h2 {
    margin-top: 12px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.work-content > p:not(.section-label) {
    margin-top: 20px;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.85;
}

.work-content .btn {
    margin-top: 30px;
}

.work-panel {
    padding: 18px;

    background: var(--light);

    border: 1px solid var(--border);

    border-radius: var(--radius);
}

.work-panel-item {
    display: flex;
    align-items: center;

    gap: 16px;

    padding: 22px;

    background: var(--white);

    border-bottom: 1px solid var(--border);
}

.work-panel-item:first-child {
    border-radius: 12px 12px 0 0;
}

.work-panel-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.work-panel-item i {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--blue);

    color: var(--white);

    border-radius: 50%;

    font-size: 17px;
}

.work-panel-item span {
    color: var(--black);

    font-size: 14px;
    font-weight: 600;
}

.why-us {
    background: var(--light);
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.why-item {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.why-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--blue);

    color: var(--white);

    border-radius: 12px;

    font-size: 22px;
}

.why-item h3 {
    margin-bottom: 8px;

    font-size: 19px;
}

.why-item p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;
}

.cta {
    background:
        linear-gradient(
            135deg,
            var(--dark-blue),
            var(--blue)
        );

    color: var(--white);

    text-align: center;
}

.cta-content {
    max-width: 780px;
}

.cta .section-label {
    color: rgba(255, 255, 255, 0.75);
}

.cta h2 {
    margin-top: 14px;

    font-size: clamp(32px, 4vw, 50px);

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.cta p:not(.section-label) {
    max-width: 650px;

    margin: 20px auto 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;
}

.cta .btn {
    margin-top: 30px;
}

.contact {
    background: var(--white);
}

.contact-content {
    display: grid;

    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);

    gap: 60px;

    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 24px;

    background: var(--light);

    border: 1px solid var(--border);

    border-radius: var(--radius);
}

.contact-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--blue);

    color: var(--white);

    border-radius: 10px;

    font-size: 20px;
}

.contact-item h3 {
    margin-bottom: 4px;

    font-size: 16px;
}

.contact-item p {
    color: var(--gray);

    font-size: 14px;
}

.contact-form {
    padding: 35px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--black);

    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 15px 16px;

    background: var(--light);

    color: var(--black);

    border: 1px solid var(--border);

    border-radius: 10px;

    outline: none;

    font-size: 14px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.form-group textarea {
    resize: vertical;

    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);

    border-color: var(--blue);

    box-shadow:
        0 0 0 4px rgba(11, 94, 215, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #98a2b3;
}

.contact-form .btn {
    width: 100%;
}

.footer {
    background: var(--black);

    color: var(--white);
}

.footer-content {
    display: grid;

    grid-template-columns: 1.4fr 0.8fr 0.8fr;

    gap: 70px;

    padding: 70px 0;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-brand p {
    max-width: 360px;

    margin-top: 18px;

    color: #aeb5c0;

    font-size: 14px;

    line-height: 1.8;
}

.footer-content h3 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-links a {
    color: #aeb5c0;

    font-size: 14px;

    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 8px;

    color: #aeb5c0;

    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    padding: 22px 0;
}

.footer-bottom p {
    color: #8d96a3;

    font-size: 13px;

    text-align: center;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(11, 94, 215, 0.35);

    outline-offset: 3px;
}

@media (max-width: 980px) {

    .section {
        padding: 80px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-highlight {
        max-width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .contact-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {

    .section {
        padding: 70px 0;
    }

    .navbar {
        min-height: 70px;
    }

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: 12px 4% 20px;

        background: var(--white);

        border-bottom: 1px solid var(--border);

        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        display: block;

        width: 100%;

        padding: 13px 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: auto;

        padding: 90px 0;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 58px);

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section-heading h2,
    .work-content h2,
    .cta h2 {
        font-size: 34px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-card-item {
        padding: 24px;

        gap: 15px;
    }

    .about-icon,
    .why-icon {
        width: 46px;
        height: 46px;

        flex-basis: 46px;

        font-size: 20px;
    }

    .about-card-content h3 {
        font-size: 19px;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 430px) {

    .container {
        width: min(90%, var(--container));
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;

        font-size: 18px;
    }

    .hero {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-highlight {
        padding: 25px;
    }

    .about-card-item {
        flex-direction: column;
    }

    .service-card,
    .why-item {
        padding: 25px;
    }
}