:root {
    --navy: #062d55;
    --navy-dark: #002247;
    --blue: #1686d9;
    --text: #111827;
    --muted: #475569;
    --light: #f4f7fb;
    --line: #dbe3ee;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    height: 112px;
    background: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo img {
    width: 230px;
    /*max-height: 82px;*/
    /*object-fit: contain;*/
    /*display: block;*/
}

nav ul {
    display: flex;
    align-items: center;
    gap: 44px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

nav a {
    position: relative;
    padding: 40px 0 34px;
    color: #071426;
}

nav a.active,
nav a:hover {
    color: var(--navy);
}

nav a.active::after,
nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 21px;
    height: 4px;
    background: var(--blue);
    border-radius: 4px;
}

.hero {
    min-height: 585px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #071426;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(
                    90deg,
                    rgba(2,12,25,.55) 0%,
                    rgba(2,12,25,0) 30%,
                    rgba(2,12,25,0) 70%,
                    rgba(2,12,25,.55) 100%
            ),
            url("../img/hero1.jpg");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    animation: heroCarousel 24s infinite;
    z-index: 0;
    /*background-color: #071426;*/
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 58px 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
}

.hero h1 span {
    display: block;
    margin-top: 14px;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: normal;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    /*grid-template-columns: 1.2fr 1.2fr 1.2fr;*/
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-left {
    justify-self: start;
    max-width: 420px;
    padding-left: 10px;
}

.hero-center {
    /* nu faci nimic aici */
}

.hero-right {
    justify-self: end;
    max-width: 350px;
    text-align: right;
    padding-right: 10px;
}

.hero-right p {
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.5;
    font-weight: 600;
    color: #e2e8f0;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}
.hero-left h1,
.hero-left h1 span,
.hero-right p {
    color:#e2e8f0;
}

@keyframes heroCarousel {
    0%, 29% {
        background-image:
            /*linear-gradient(90deg, rgba(2,12,25,.78), rgba(2,12,25,.35), rgba(2,12,25,.05)),*/
                linear-gradient(90deg, rgba(2,12,25,.55), rgba(2,12,25,.15), rgba(2,12,25,0)),
                url("../img/hero1.jpg");
    }

    33%, 62% {
        background-image:
                linear-gradient(90deg, rgba(2,12,25,.55), rgba(2,12,25,.15), rgba(2,12,25,0)),
                url("../img/hero2.jpg");
    }

    66%, 100% {
        background-image:
                linear-gradient(90deg, rgba(2,12,25,.55), rgba(2,12,25,.15), rgba(2,12,25,0)),
                url("../img/hero3.jpg");
    }
}

.main-section {
    padding: 62px 0 72px;
    background: #fff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 86px;
    align-items: start;
}

.info-card {
    min-height: 325px;
}

.icon {
    width: 78px;
    height: 78px;
    color: var(--navy);
    margin-bottom: 16px;
}

.info-card h2,
.split-card h2,
footer h3 {
    color: var(--navy);
    font-size: 25px;
    line-height: 1.15;
    margin: 0 0 28px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 800;
    position: relative;
}

.info-card h2::after,
.split-card h2::after,
footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -13px;
    width: 68px;
    height: 4px;
    background: var(--blue);
    border-radius: 3px;
}

.info-card p,
.info-card li,
.split-card p {
    font-size: 17px;
    color: #111827;
    margin: 0 0 16px;
}

.info-card ul {
    padding-left: 20px;
    margin: 0;
}

.info-card li {
    margin-bottom: 12px;
    padding-left: 4px;
}

.workflow-section {
    background: #fff;
    padding: 20px 0 70px;
}

.workflow-header {
    max-width: 820px;
    margin-bottom: 34px;
}

.workflow-header h2 {
    color: var(--navy);
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 800;
}

.workflow-header p {
    font-size: 19px;
    color: var(--muted);
    margin: 0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.workflow-item {
    border: 1px solid var(--line);
    background: var(--light);
    padding: 24px;
    min-height: 205px;
}

.workflow-item span {
    display: inline-block;
    color: var(--blue);
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.workflow-item h3 {
    color: var(--navy);
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.workflow-item p {
    margin: 0;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.55;
}

.split-section {
    background: var(--light);
    padding: 58px 0 70px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.process-line {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px;
}

footer {
    background: linear-gradient(135deg, #002247 0%, #063866 100%);
    color: #fff;
    padding: 54px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1.15fr;
    gap: 70px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

/*.footer-brand img {*/
/*  width: 300px;*/
/*  height: auto;*/
/*  display: block;*/
/*  margin-bottom: 20px;*/
/*}*/

.footer-brand img {
    width: 350px;
    height: auto;
    display: block;
    margin-bottom: 10px;
    filter: brightness(1.1);
}

.footer-brand p,
.footer-contact p,
.footer-about p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 10px;
    color: #e2e8f0;
}

footer h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-row {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 13px;
    color: #e2e8f0;
    font-size: 17px;
}

.contact-row svg {
    width: 19px;
    height: 19px;
    margin-top: 3px;
    color: #fff;
}

.copyright {
    text-align: center;
    color: #cbd5e1;
    font-size: 15px;
    padding-top: 24px;
}

@media (max-width: 980px) {
    .topbar {
        height: auto;
        padding: 18px 0;
    }

    .nav-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
    }

    nav a {
        padding: 10px 0;
    }

    nav a.active::after,
    nav a:hover::after {
        bottom: 0;
    }

    .brand-logo img {
        width: 210px;
    }

    .cards-grid,
    .split-grid,
    .workflow-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero {
        min-height: 520px;
        background: #071426;
    }
}

@media (max-width: 560px) {
    .brand-logo img {
        width: 185px;
    }

    .hero {
        min-height: 480px;
    }

    .main-section,
    .split-section {
        padding: 44px 0;
    }
}