/* =========================================================
   EARU
   Clean institutional design for Grav / Quark 2
   ========================================================= */

:root {
    --earu-navy: #0b1f35;
    --earu-blue: #1769c2;
    --earu-blue-hover: #105397;

    --earu-text: #26364a;
    --earu-muted: #69788b;

    --earu-bg: #ffffff;
    --earu-soft: #f6f8fb;
    --earu-border: #dfe5ec;

    --earu-width: 1180px;
}


/* GLOBAL */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--earu-bg);
    color: var(--earu-text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--earu-blue);
}


/* =========================================================
   HEADER
   ========================================================= */

#header {
    background: #fff !important;
    border-bottom: 1px solid var(--earu-border);
    box-shadow: none !important;
}

#header .navbar {
    max-width: var(--earu-width);
    min-height: 76px;

    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* BRAND */

.earu-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none !important;
}

.earu-brand-mark {
    color: var(--earu-navy);

    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;

    letter-spacing: -0.04em;
}

.earu-brand-name {
    padding-left: 12px;

    border-left: 1px solid var(--earu-border);

    color: var(--earu-muted);

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.25;
}


/* NAVIGATION */

#header .navigation {
    gap: 4px;
}

#header .navigation li {
    margin: 0;
}

#header .navigation a {
    padding: 10px 11px;

    border-radius: 5px;

    color: var(--earu-text) !important;

    font-size: 0.87rem;
    font-weight: 550;

    white-space: nowrap;
    text-decoration: none;
}

#header .navigation a:hover {
    background: var(--earu-soft);
    color: var(--earu-blue) !important;
}

/* current page */
#header .navigation .active > a {
    background: transparent !important;
    color: var(--earu-blue) !important;
}


/* =========================================================
   REMOVE QUARK CONTENT CARD EFFECT
   ========================================================= */

#body-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

#body-wrapper.section {
    padding: 0 !important;
}

#body-wrapper > .container {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-earu {
    width: 100%;

    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(23, 105, 194, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fc 100%
        );

    border-bottom: 1px solid var(--earu-border);
}

.hero-earu-inner {
    max-width: var(--earu-width);

    margin: 0 auto;
    padding: 105px 24px 115px;
}

.hero-earu-kicker {
    margin-bottom: 18px;

    color: var(--earu-blue);

    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-earu h1 {
    max-width: 820px;

    margin: 0 0 26px;

    color: var(--earu-navy);

    font-size: clamp(2.8rem, 5vw, 4.6rem);
    font-weight: 700;

    line-height: 1.04;
    letter-spacing: -0.045em;
}

.hero-earu p {
    max-width: 720px;

    margin: 0;

    color: var(--earu-muted);

    font-size: 1.18rem;
    line-height: 1.7;
}


/* BUTTONS */

.earu-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

.earu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border-radius: 6px;

    font-size: 0.9rem;
    font-weight: 650;

    text-decoration: none !important;
}

.earu-button-primary {
    background: var(--earu-blue);
    border: 1px solid var(--earu-blue);

    color: #fff !important;
}

.earu-button-primary:hover {
    background: var(--earu-blue-hover);
    border-color: var(--earu-blue-hover);
}

.earu-button-secondary {
    background: #fff;

    border: 1px solid var(--earu-border);

    color: var(--earu-navy) !important;
}

.earu-button-secondary:hover {
    background: var(--earu-soft);
}


/* =========================================================
   STANDARD CONTENT
   ========================================================= */

.earu-section {
    max-width: var(--earu-width);

    margin: 0 auto;
    padding: 85px 24px;
}

.earu-section h2 {
    max-width: 720px;

    margin: 0 0 22px;

    color: var(--earu-navy);

    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 650;

    line-height: 1.14;
    letter-spacing: -0.035em;
}

.earu-section > p {
    max-width: 720px;

    color: var(--earu-muted);

    font-size: 1.08rem;
    line-height: 1.75;
}


/* =========================================================
   INTRO CARDS
   ========================================================= */

.earu-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.earu-intro-card {
    padding: 28px;

    border: 1px solid var(--earu-border);
    border-radius: 8px;

    background: #fff;
}

.earu-intro-card > span {
    display: block;

    margin-bottom: 24px;

    color: var(--earu-blue);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.1em;
}

.earu-intro-card h3 {
    margin: 0 0 12px;

    color: var(--earu-navy);

    font-size: 1.25rem;
    font-weight: 650;

    line-height: 1.3;
}

.earu-intro-card p {
    margin: 0;

    color: var(--earu-muted);

    font-size: 0.96rem;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .earu-brand-name {
        display: none;
    }

    #header .navigation a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 0.82rem;
    }

}


@media (max-width: 850px) {

    .hero-earu-inner {
        padding-top: 75px;
        padding-bottom: 80px;
    }

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

    .earu-intro {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .hero-earu-inner {
        padding: 60px 18px 70px;
    }

    .hero-earu h1 {
        font-size: 2.55rem;
    }

    .hero-earu p {
        font-size: 1.05rem;
    }

    .earu-actions {
        flex-direction: column;
    }

    .earu-button {
        width: 100%;
    }

    .earu-section {
        padding: 60px 18px;
    }

}
