:root {
    --blue: #343883;
    --blue-dark: #25295f;
    --gray: #8f9094;
    --light: #f5f7fb;
    --white: #ffffff;
    --text: #1d2433;
    --muted: #667085;
    --border: #e5e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

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

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

.container {
    width: min(1180px, 88%);
    margin: 0 auto;
}

/* HEADER */

header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.navbar {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo img {
    height: 62px;
    width: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    list-style: none;
    font-weight: 800;
    color: var(--blue-dark);
}

.menu a {
    transition: .25s ease;
}

.menu a:hover {
    color: var(--blue);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .45rem .75rem;
    font-size: .85rem;
    font-weight: 800;
    color: var(--blue-dark);
}

.language-switch a {
    color: var(--muted);
}

.btn-client {
    background: var(--blue);
    color: var(--white);
    padding: .78rem 1.15rem;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(52, 56, 131, .25);
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #ffffff 0%, #f7f8fc 55%, #eceef7 100%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 820px;
    height: 820px;
    border: 90px solid rgba(52, 56, 131, .09);
    border-radius: 50%;
    right: -250px;
    top: -260px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 720px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 4rem;
    align-items: center;
    padding: 5.5rem 0;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--white);
    border: 1px solid var(--border);
    padding: .7rem 1rem;
    border-radius: 999px;
    color: var(--blue);
    font-weight: 900;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    box-shadow: 0 12px 35px rgba(20, 28, 50, .06);
    margin-bottom: 1.5rem;
}

.hero-label::before {
    content: "";
    width: 9px;
    height: 9px;
    background: var(--blue);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.4vw, 5.6rem);
    line-height: .96;
    color: var(--blue-dark);
    letter-spacing: -.07em;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.18rem;
    color: #4d5566;
    max-width: 680px;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 1rem 1.35rem;
    font-weight: 900;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(52, 56, 131, .22);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 1px solid #dde0ec;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 760px;
}

.highlight {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(20, 28, 50, .07);
}

.highlight strong {
    display: block;
    font-size: 1.55rem;
    color: var(--blue-dark);
    line-height: 1;
    margin-bottom: .55rem;
}

.highlight span {
    color: var(--muted);
    font-size: .93rem;
}

/* HERO VISUAL */

.hero-visual {
    width: 100%;
}

.visual-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 38px;
    box-shadow: 0 30px 95px rgba(37, 41, 95, .17);
}

.visual-image {
    height: 420px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(to top, rgba(0, 0, 0, .50), transparent 52%),
        linear-gradient(135deg, #29306f 0%, #343883 45%, #9a9ca3 100%);
}

.visual-image::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -130px;
    width: 330px;
    height: 330px;
    border: 55px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
}

.visual-label {
    position: absolute;
    left: 1.4rem;
    top: 1.4rem;
    background: rgba(255, 255, 255, .92);
    color: var(--blue-dark);
    font-weight: 900;
    padding: .7rem 1rem;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    z-index: 2;
}

.visual-title {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -.04em;
    z-index: 2;
}

.visual-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem .3rem .2rem;
}

.visual-box {
    background: #f7f8fc;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
}

.visual-box strong {
    display: block;
    color: var(--blue-dark);
    font-size: 1.05rem;
    margin-bottom: .35rem;
}

.visual-box span {
    color: var(--muted);
    font-size: .9rem;
}

/* AREAS */

.section {
    padding: 5rem 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.6rem;
    color: var(--blue-dark);
    letter-spacing: -.04em;
}

.section-title p {
    max-width: 560px;
    color: var(--muted);
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.area-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(20, 28, 50, .08);
}

.area-image {
    height: 260px;
    background: linear-gradient(135deg, var(--blue), var(--gray));
}

.area-content {
    padding: 1.7rem;
}

.area-content h3 {
    color: var(--blue-dark);
    font-size: 1.6rem;
    margin-bottom: .7rem;
}

.area-content p {
    color: var(--muted);
    margin-bottom: 1.3rem;
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(20, 28, 50, .08);
}

.service-image {
    height: 185px;
    background: linear-gradient(135deg, var(--blue), #9a9ba0);
}

.service-content {
    padding: 1.4rem;
}

.service-content h3 {
    color: var(--blue-dark);
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.service-content p {
    color: var(--muted);
    font-size: .95rem;
}

/* ABOUT */

.about-block {
    background: var(--blue-dark);
    color: var(--white);
    border-radius: 40px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-block h2 {
    font-size: 2.7rem;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.about-block p {
    color: #e4e6ff;
    margin-bottom: 1.4rem;
}

.about-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-badge {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    padding: 1.3rem;
}

.about-badge strong {
    display: block;
    font-size: 1.3rem;
    color: var(--white);
}

.about-badge span {
    color: #cfd3ff;
    font-size: .92rem;
}

/* FOOTER */

.footer {
    background: #151735;
    color: #cfd3ff;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand img {
    height: 64px;
    margin-bottom: 1.2rem;
}

.footer p,
.footer a {
    color: #cfd3ff;
    font-size: .95rem;
}

.footer-links,
.footer-social,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.footer-contact span {
    color: var(--white);
    font-weight: 800;
}

.social-links {
    display: flex;
    gap: .7rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    color: var(--white);
    font-weight: 900;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 2.5rem;
    padding-top: 1.4rem;
}

/* LOGIN MODAL */

#login-toggle {
    display: none;
}

.login-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 45, .55);
    backdrop-filter: blur(8px);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

#login-toggle:checked~.login-modal {
    display: flex;
}

.login-box {
    background: rgba(255, 255, 255, .97);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
    width: min(430px, 100%);
    position: relative;
}

.login-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef0f8;
    color: var(--blue-dark);
    font-weight: 900;
    cursor: pointer;
}

.login-box h2 {
    color: var(--blue-dark);
    font-size: 1.5rem;
    margin-bottom: .4rem;
}

.login-box p {
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.login-box label {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #40465a;
}

.login-box input {
    height: 50px;
    border: 1px solid #dfe2ee;
    border-radius: 14px;
    padding: 0 1rem;
    font-size: 1rem;
}

.login-box button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: var(--blue);
    color: var(--white);
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
    .menu {
        display: none;
    }

    .hero-grid,
    .about-block {
        grid-template-columns: 1fr;
    }

    .hero-highlights,
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
        padding: 4rem 0;
    }
}

@media (max-width: 700px) {
    .navbar {
        height: auto;
        padding: 1rem 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .visual-image {
        height: 330px;
    }

    .visual-info,
    .about-badges {
        grid-template-columns: 1fr;
    }

    .about-block {
        padding: 2rem;
        border-radius: 30px;
    }
}

/* PREMIUM MOTION */

header {
    transition: box-shadow .3s ease, transform .3s ease;
}

.header-scrolled {
    box-shadow: 0 14px 45px rgba(20, 28, 50, .12);
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.btn,
.btn-client {
    position: relative;
    overflow: hidden;
}

.btn::before,
.btn-client::before {
    content: "";
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .45s ease, height .45s ease;
}

.btn:hover::before,
.btn-client:hover::before {
    width: 260px;
    height: 260px;
}

.btn,
.btn-client {
    isolation: isolate;
}

.btn *,
.btn-client * {
    position: relative;
    z-index: 2;
}

.service-card,
.area-card,
.visual-card,
.highlight {
    transition: transform .35s ease, box-shadow .35s ease;
}

.service-card:hover,
.area-card:hover,
.visual-card:hover,
.highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(20, 28, 50, .13);
}

.visual-image {
    transition: transform .8s ease;
}

.visual-card:hover .visual-image {
    transform: scale(1.015);
}

/* INNER PAGES */

.page-hero {
    background: linear-gradient(120deg, #ffffff 0%, #f7f8fc 55%, #eceef7 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    right: -260px;
    top: -260px;
    width: 760px;
    height: 760px;
    border: 90px solid rgba(52, 56, 131, .08);
    border-radius: 50%;
}

.page-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0;
}

.page-label,
.section-kicker {
    display: inline-flex;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .82rem;
    margin-bottom: 1rem;
}

.page-hero h1,
.split-content h2,
.cta-block h2 {
    color: var(--blue-dark);
    font-size: clamp(2.5rem, 4.8vw, 5rem);
    line-height: .96;
    letter-spacing: -.06em;
    margin-bottom: 1.3rem;
}

.page-hero p,
.split-content p,
.cta-block p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 620px;
}

.page-hero-image,
.split-image {
    min-height: 420px;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue), var(--gray));
    box-shadow: 0 30px 90px rgba(37, 41, 95, .17);
    position: relative;
    overflow: hidden;
}

.page-hero-image::after,
.split-image::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 340px;
    height: 340px;
    border: 55px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
}

.split-section {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.split-section.reverse {
    grid-template-columns: 1.05fr .95fr;
}

.section-soft {
    background: #eef1f8;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.8rem;
}

.service-list span {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--blue-dark);
    padding: .7rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .9rem;
}

.centered {
    text-align: center;
    display: block;
}

.centered p {
    margin: .8rem auto 0;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.workflow-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 1.5rem;
    min-height: 150px;
    box-shadow: 0 18px 45px rgba(20, 28, 50, .07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.workflow-step strong {
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
}

.workflow-step span {
    color: var(--blue-dark);
    font-weight: 900;
}

.cta-block {
    background: var(--blue-dark);
    color: var(--white);
    border-radius: 40px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-block h2 {
    color: var(--white);
    max-width: 720px;
}

.cta-block p {
    color: #dfe3ff;
}

.section-kicker.light {
    color: #cfd3ff;
}

.btn-light {
    background: var(--white);
    color: var(--blue-dark);
}

@media (max-width: 1050px) {

    .page-hero-grid,
    .split-section,
    .split-section.reverse {
        grid-template-columns: 1fr;
    }

    .workflow {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-block {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .workflow {
        grid-template-columns: 1fr;
    }

    .cta-block {
        padding: 2rem;
    }
}

.contact-premium-section {
    background: #f5f7fb;
}

.contact-premium-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-card-main,
.contact-card-form {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 34px;
    box-shadow: 0 22px 60px rgba(20, 28, 50, .08);
}

.contact-card-main {
    padding: 2.6rem;
}

.contact-card-main h2 {
    color: var(--blue-dark);
    font-size: 2.65rem;
    line-height: 1.04;
    letter-spacing: -.05em;
    margin-bottom: 1rem;
}

.contact-card-main p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-lines {
    display: grid;
    gap: 1rem;
}

.contact-lines div {
    background: #f7f8fc;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.1rem 1.2rem;
}

.contact-lines strong {
    display: block;
    color: var(--blue-dark);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .25rem;
}

.contact-lines span {
    color: var(--muted);
}

.contact-card-form {
    padding: 2.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-card-form label {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-bottom: 1rem;
    color: #40465a;
    font-weight: 800;
}

.contact-card-form input,
.contact-card-form textarea {
    width: 100%;
    border: 1px solid #dfe2ee;
    background: #fdfdff;
    border-radius: 16px;
    padding: 1rem;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: .25s ease;
}

.contact-card-form input:focus,
.contact-card-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(52, 56, 131, .10);
    background: #ffffff;
}

.contact-card-form textarea {
    min-height: 165px;
    resize: vertical;
}

.contact-card-form button {
    width: 100%;
    margin-top: .5rem;
}

@media (max-width: 1050px) {
    .contact-premium-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-main,
    .contact-card-form {
        padding: 1.6rem;
        border-radius: 26px;
    }

    .contact-card-main h2 {
        font-size: 2rem;
    }
}