/* =========================================================
   Inentri – Design tokens and base styles
   ========================================================= */
:root {
    --blue: #1199df;
    --navy: #14283d;
    --ink: #172b3b;
    --muted: #526578;
    --pale: #edf8ff;
    --line: #dce8ef;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: #fff;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.wrap {
    width: min(1120px, calc(100% - 44px));
    margin: auto;
}

/* =========================================================
   Header and navigation
   ========================================================= */
.top {
    position: sticky;
    top: 0;
    background: #fffefef5;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    z-index: 5;
}

.top-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand img {
    display: block;
    width: 190px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: #087eb9;
}

.lang {
    padding-left: 17px;
    border-left: 1px solid var(--line);
    white-space: nowrap;
}

.lang a {
    font-size: 0.84rem;
}

.lang .selected {
    color: #087eb9;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #f4fbff, #e9f6ff 62%, #fff);
    padding: 112px 0 120px;
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.17em;
    font-size: 0.76rem;
    font-weight: 800;
    color: #007ab8;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.3vw, 4.75rem);
    line-height: 1.12;
    max-width: 850px;
    letter-spacing: -0.055em;
    margin: 19px 0 24px;
    color: var(--navy);
}

.hero p {
    font-size: 1.19rem;
    max-width: 640px;
    color: var(--muted);
}

.orb {
    position: absolute;
    border: 24px solid #1199df16;
    border-radius: 50%;
    width: 450px;
    height: 450px;
    right: -125px;
    top: -140px;
}

.orb::after {
    content: "";
    position: absolute;
    left: -90px;
    top: 190px;
    width: 65px;
    height: 65px;
    background: #1199df29;
    border-radius: 50%;
}

.btn {
    display: inline-block;
    background: #087eb9;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    padding: 13px 22px;
    margin-top: 22px;
}

.btn:hover {
    background: #056494;
}

/* =========================================================
   General sections
   ========================================================= */
.section {
    padding: 95px 0;
}

.section.alt {
    background: #f7fafc;
}

.section h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin: 12px 0 22px;
}

.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.1rem;
}

/* =========================================================
   Expertise cards
   Equal grid rows align titles and descriptions.
   ========================================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    display: grid;
    grid-template-rows: auto minmax(3.2em, auto) 1fr;
    row-gap: 20px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.card .num {
    font-weight: 800;
    color: var(--blue);
    font-size: 0.9rem;
}

.card h3 {
    font-size: 1.18rem;
    line-height: 1.35;
    color: var(--navy);
    margin: 0;
}

.card p {
    color: var(--muted);
    margin: 0;
}

/* =========================================================
   About
   ========================================================= */
.about {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 75px;
    align-items: start;
}

.about p {
    color: var(--muted);
}

/* =========================================================
   Contact and footer
   ========================================================= */
.contact {
    background: var(--navy);
    color: #fff;
}

.contact h2 {
    color: #fff;
}

.contact .lead {
    color: #c7d9e6;
}

.contact a {
    color: #89d5ff;
}

.footer {
    padding: 26px 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================================
   Responsive layout
   ========================================================= */
@media (max-width: 760px) {
    .top-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
        gap: 12px;
    }

    .brand img {
        width: 145px;
    }

    .nav {
        gap: 14px;
        flex-wrap: wrap;
    }

    .nav a {
        font-size: 0.84rem;
    }

    .hero {
        padding: 80px 0;
    }

    .section {
        padding: 65px 0;
    }

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

    .about {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .orb {
        width: 270px;
        height: 270px;
        right: -160px;
    }
}
