html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

button.cbl-country-card {
    width: 100%;
    color: #09223c;
    background-color: #ffffff;
    border: 1px solid #dedbd3;
    font-family: Arial, Helvetica, sans-serif;
    appearance: none;
    cursor: pointer;
}

button.cbl-country-card:focus-visible {
    outline: 3px solid rgba(173, 125, 32, 0.4);
    outline-offset: 3px;
}

.cbl-homepage,
.cbl-homepage * {
    box-sizing: border-box;
}

.cbl-homepage {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #263448;
    font-family: Arial, Helvetica, sans-serif;
}



/* HERO */

.cbl-hero {
    width: 100%;
    min-height: 650px;
    display: grid;
    grid-template-columns: 50% 50%;
    overflow: hidden;
    background-color: #f7f4ed;
}

.cbl-hero__content {
    min-height: 650px;
    padding: 70px 8%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(173, 125, 32, 0.13),
            transparent 34%
        ),
        #f7f4ed;
}

.cbl-hero__eyebrow {
    margin: 0 0 16px;
    color: #8c6216;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cbl-hero__title {
    max-width: 720px;
    margin: 0 0 24px;
    color: #09223c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -2px;
}

.cbl-hero__title span {
    display: block;
    color: #ad7d20;
}

.cbl-hero__description {
    max-width: 650px;
    margin: 0 0 30px;
    color: #647084;
    font-size: 16px;
    line-height: 1.75;
}

.cbl-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cbl-button {
    min-height: 50px;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
    background-color: #ad7d20;
    border: 1px solid #ad7d20;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.cbl-button:hover {
    color: #ffffff;
    background-color: #8c6216;
    border-color: #8c6216;
    transform: translateY(-2px);
}

.cbl-button--outline {
    color: #09223c;
    background-color: transparent;
    border-color: #09223c;
}

.cbl-button--outline:hover {
    color: #ffffff;
    background-color: #09223c;
    border-color: #09223c;
}

.cbl-hero__benefits {
    max-width: 700px;
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cbl-benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cbl-benefit__icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    color: #8c6216;
    border: 1px solid #ad7d20;
    border-radius: 50%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.cbl-benefit strong {
    margin-bottom: 3px;
    display: block;
    color: #09223c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.2;
}

.cbl-benefit small {
    display: block;
    color: #647084;
    font-size: 10px;
    line-height: 1.35;
}

.cbl-hero__visual {
    min-height: 650px;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(247, 244, 237, 0.92) 0%,
            rgba(247, 244, 237, 0.35) 16%,
            rgba(9, 34, 60, 0.05) 50%,
            rgba(9, 34, 60, 0.18) 100%
        ),
        url("../images/hero-berlin.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cbl-hero__visual::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 170px;
    background:
        linear-gradient(
            0deg,
            rgba(9, 34, 60, 0.18),
            transparent
        );
    pointer-events: none;
}

/* TEMPORARY NEXT SECTION */

.cbl-next-section {
    padding: 70px 24px;
    background-color: #ffffff;
    text-align: center;
}

.cbl-next-section p {
    margin: 0 0 10px;
    color: #8c6216;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cbl-next-section h2 {
    margin: 0;
    color: #09223c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: 1.1;
}

.cbl-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

.cbl-countries {
    width: 100%;
    padding: 48px 0 38px;
    background-color: #ffffff;
}

.cbl-section-header {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
}

.cbl-section-eyebrow {
    margin: 0 0 10px;
    color: #8c6216;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cbl-section-title {
    margin: 0 0 12px;
    color: #09223c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: 1.08;
}

.cbl-section-description {
    max-width: 720px;
    margin: 0 auto;
    color: #647084;
    font-size: 15px;
    line-height: 1.7;
}

.cbl-country-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
}

.cbl-country-card {
    min-width: 0;
    min-height: 116px;
    padding: 15px 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    background-color: #ffffff;
    border: 1px solid #dedbd3;
    text-align: center;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.cbl-country-card:hover {
    border-color: #ad7d20;
    box-shadow: 0 12px 25px rgba(9, 34, 60, 0.10);
    transform: translateY(-4px);
}

.cbl-country-flag {
    width: 42px;
    height: 28px;
    margin: 0 auto 4px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid rgba(9, 34, 60, 0.12);
    box-shadow: 0 2px 5px rgba(9, 34, 60, 0.08);
}

.cbl-flag-germany {
    background-image: url("../flags/germany.svg");
}

.cbl-flag-finland {
    background-image: url("../flags/finland.svg");
}

.cbl-flag-austria {
    background-image: url("../flags/austria.svg");
}

.cbl-flag-netherlands {
    background-image: url("../flags/netherlands.svg");
}

.cbl-flag-malta {
    background-image: url("../flags/malta.svg");
}

.cbl-flag-portugal {
    background-image: url("../flags/portugal.svg");
}

.cbl-flag-poland {
    background-image: url("../flags/poland.svg");
}

.cbl-flag-france {
    background-image: url("../flags/france.svg");
}

.cbl-flag-italy {
    background-image: url("../flags/italy.svg");
}

.cbl-flag-spain {
    background-image: url("../flags/spain.svg");
}

.cbl-flag-czechia {
    background-image: url("../flags/czechia.svg");
}

.cbl-flag-denmark {
    background-image: url("../flags/denmark.svg");
}
.cbl-country-card strong {
    display: block;
    color: #09223c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.cbl-country-action {
    width: 100%;
    margin-top: 25px;
    text-align: center;
}

.cbl-country-link {
    padding: 8px 3px;
    color: #8c6216;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
}

.cbl-country-link:hover {
    border-bottom-color: #ad7d20;
}

/* BOTTOM SECTION HEADINGS */

.cbl-bottom-heading {
    margin-bottom: 20px;
}

.cbl-bottom-heading p {
    margin: 0 0 5px;
    color: #8c6216;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.cbl-bottom-heading h2 {
    margin: 0;
    color: #09223c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.1;
}


/* SERVICE TABS */

.cbl-services {
    padding: 65px 0 35px;
    background-color: #f7f4ed;
}

.cbl-service-box {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #dedbd3;
    box-shadow: 0 10px 25px rgba(9, 34, 60, 0.05);
}

.cbl-service-navigation {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid #dedbd3;
}

.cbl-service-tab {
    min-height: 55px;
    padding: 12px 15px;
    position: relative;
    color: #09223c;
    background-color: #ffffff;
    border: 0;
    border-right: 1px solid #dedbd3;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cbl-service-tab:last-child {
    border-right: 0;
}

.cbl-service-tab span {
    margin-right: 8px;
    color: #8c6216;
}

.cbl-service-tab::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: transparent;
}

.cbl-service-tab.active {
    color: #8c6216;
}

.cbl-service-tab.active::after {
    background-color: #ad7d20;
}

.cbl-service-pane {
    min-height: 200px;
    display: none;
    grid-template-columns: 27% 25% 28% 20%;
}

.cbl-service-pane.active {
    display: grid;
}

.cbl-service-pane[hidden] {
    display: none;
}

.cbl-service-photo {
    min-height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cbl-photo-student {
    background-image:
        linear-gradient(
            rgba(9, 34, 60, 0.12),
            rgba(9, 34, 60, 0.12)
        ),
        url("../images/student-service.jpg");
}

.cbl-photo-tourist {
    background-image:
        linear-gradient(
            rgba(9, 34, 60, 0.12),
            rgba(9, 34, 60, 0.12)
        ),
        url("../images/tourist-service.jpg");
}

.cbl-photo-training {
    background-image:
        linear-gradient(
            rgba(9, 34, 60, 0.12),
            rgba(9, 34, 60, 0.12)
        ),
        url("../images/training-service.jpg");
}

.cbl-photo-recruitment {
    background-image:
        linear-gradient(
            rgba(9, 34, 60, 0.12),
            rgba(9, 34, 60, 0.12)
        ),
        url("../images/recruitment-service.jpg");
}

.cbl-service-summary,
.cbl-service-action {
    padding: 24px 25px;
}

.cbl-service-summary h3 {
    margin: 0 0 8px;
    color: #09223c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.15;
}

.cbl-service-summary p,
.cbl-service-action p {
    margin: 0;
    color: #647084;
    font-size: 11px;
    line-height: 1.55;
}

.cbl-service-checklist {
    margin: 0;
    padding: 24px 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 13px 15px;
    list-style: none;
}

.cbl-service-checklist li {
    position: relative;
    padding-left: 20px;
    color: #263448;
    font-size: 11px;
    line-height: 1.4;
}

.cbl-service-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ad7d20;
    font-weight: 700;
}

.cbl-service-action {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.cbl-gold-button {
    min-height: 43px;
    margin-top: 17px;
    padding: 11px 16px;
    color: #ffffff;
    background-color: #ad7d20;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.cbl-gold-button:hover {
    background-color: #8c6216;
}


/* PROCESS */

.cbl-process {
    padding: 25px 0 30px;
    background-color: #ffffff;
}

.cbl-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.cbl-process-step {
    min-height: 95px;
    position: relative;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 10px;
}

.cbl-process-step:not(:last-child)::after {
    content: "";
    width: 45px;
    position: absolute;
    top: 50%;
    right: -34px;
    border-top: 1px dotted #c9bea8;
}

.cbl-step-number {
    color: #8c6216;
    font-size: 11px;
    font-weight: 700;
}

.cbl-step-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #09223c;
    border: 1px solid #ad7d20;
    border-radius: 50%;
    font-size: 18px;
}

.cbl-process-step h3 {
    margin: 0 0 5px;
    color: #09223c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
}

.cbl-process-step p {
    margin: 0;
    color: #647084;
    font-size: 9px;
    line-height: 1.45;
}


/* TRUST BAR */

.cbl-trust-bar {
    padding: 22px 0;
    color: #ffffff;
    background-color: #09223c;
}

.cbl-trust-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: center;
    gap: 30px;
}

.cbl-trust-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cbl-trust-items article {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.cbl-trust-items article:first-child {
    padding-left: 0;
}

.cbl-trust-items article:last-child {
    border-right: 0;
}

.cbl-trust-items article > span {
    color: #d2a84c;
    font-size: 27px;
}

.cbl-trust-items strong {
    display: block;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
}

.cbl-trust-items small {
    display: block;
    margin-top: 3px;
    color: #bfd0dc;
    font-size: 9px;
}

.cbl-trust-cta {
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #09223c;
    background-color: #ffffff;
    border-radius: 3px;
}

.cbl-trust-cta h3 {
    margin: 0 0 4px;
    color: #09223c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
}

.cbl-trust-cta p {
    margin: 0;
    color: #647084;
    font-size: 9px;
}

.cbl-trust-cta button {
    min-width: 125px;
    min-height: 37px;
    padding: 9px 12px;
    color: #ffffff;
    background-color: #09223c;
    border: 0;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

/* TABLET */


@media screen and (max-width: 1100px) {
    .cbl-hero {
        grid-template-columns: 55% 45%;
    }

    .cbl-hero__content {
        padding-right: 45px;
        padding-left: 45px;
    }

    .cbl-hero__title {
        font-size: 54px;
    }

    .cbl-hero__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cbl-country-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}


/* SMALL TABLET */

@media screen and (max-width: 800px) {
    .cbl-hero {
        grid-template-columns: 100%;
    }

    .cbl-hero__content {
        min-height: auto;
        padding: 60px 24px 50px;
    }

    .cbl-hero__title {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .cbl-hero__visual {
        min-height: 420px;
        background-image:
            linear-gradient(
                180deg,
                rgba(247, 244, 237, 0.45) 0%,
                rgba(9, 34, 60, 0.10) 40%,
                rgba(9, 34, 60, 0.18) 100%
            ),
            url("../images/hero-berlin.jpg"');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .cbl-country-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cbl-section-title {
        font-size: 40px;
    }
    
    .cbl-service-navigation {
        display: flex;
        overflow-x: auto;
    }
    
    .cbl-service-tab {
        min-width: 180px;
    }
    
    .cbl-service-pane.active {
        grid-template-columns: 1fr;
    }
    
    .cbl-service-photo {
        min-height: 280px;
    }
    
    .cbl-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cbl-process-step::after {
        display: none;
    }
    
    .cbl-trust-layout {
        grid-template-columns: 1fr;
    }
    
    .cbl-trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 0;
    }
}


/* MOBILE */

@media screen and (max-width: 560px) {
    .cbl-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .cbl-hero__content {
        padding: 48px 20px 42px;
    }

    .cbl-hero__title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .cbl-hero__description {
        font-size: 15px;
    }

    .cbl-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cbl-button {
        width: 100%;
    }

    .cbl-hero__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .cbl-benefit {
        flex-direction: column;
    }

    .cbl-hero__visual {
        min-height: 340px;
    }

    .cbl-country-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cbl-country-card {
        min-height: 100px;
    }

    .cbl-section-title {
        font-size: 35px;
    }
    
    .cbl-services {
        padding-top: 50px;
    }
    
    .cbl-service-checklist {
        grid-template-columns: 1fr;
    }
    
    .cbl-process-grid {
        grid-template-columns: 1fr;
    }
    
    .cbl-trust-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cbl-trust-items article {
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    }
    
    .cbl-trust-cta {
        align-items: stretch;
        flex-direction: column;
    }
    
    .cbl-trust-cta button {
        width: 100%;
    }
}
