:root {
    --navy: #102139;
    --blue: #176f9e;
    --text: #243449;
    --muted: #52647a;
    --line: #dce4ed;
    --light: #f4f7fa;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: system-ui, sans-serif;
    line-height: 1.6;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #1685d6;
    outline-offset: 3px;
}

/* Navigation and language menu */

.navbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    background-color: #F2F2F2;
}

.navbar #Logo {
    display: block;
    width: 250px;
    height: 175px;
    object-fit: contain;
}

.navbar .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px clamp(12px, 3vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #F2F2F2;
}

.navbar .nav-links a {
    display: block;
    padding: 8px 0;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.language-dropdown {
    position: relative;
}

#languageButton {
    min-width: 74px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
}

#languageMenu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    display: none;
    min-width: 100%;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 8px 24px #10213924;
}

#languageMenu button {
    display: block;
    width: 100%;
    padding: 6px 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
}

#languageMenu button:hover {
    background: var(--light);
}

.slider {
    position: relative;
    max-width: 1100px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f2f2;
}

.slider img {
    display: block;
    width: 100%;
    height: clamp(260px, 45vw, 480px);
    object-fit: cover;
}

.slider img[hidden] {
    display: none;
}

.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 120px);
    text-align: center;
    color: white;
    text-shadow: 0 2px 6px #000;
}

.slider-text h1 {
    margin: 0;
    font-size: clamp(24px, 5vw, 52px);
}

.slider-text p {
    margin: 8px 0 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: #222;
    font-size: 18px;
    cursor: pointer;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* FAQ */

.faq-section {
    padding: clamp(40px, 7vw, 88px) 16px;
    background: var(--light);
}

.faq-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.faq-heading > span {
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.faq-heading h2 {
    margin: 6px 0 8px;
    color: var(--navy);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
}

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

.accordion {
    display: grid;
    gap: 10px;
    max-width: 800px;
    margin-inline: auto;
}

.accordion-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: var(--navy);
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.accordion-header:hover,
.accordion-item.active .accordion-header {
    color: var(--blue);
}

.accordion-header .icon {
    flex: 0 0 auto;
    font-size: 1.25rem;
}

.accordion-content {
    padding: 0 18px 16px;
    color: var(--muted);
}

.accordion-content[hidden] {
    display: none;
}

.accordion-content p {
    margin: 0;
}

/* Footer */

.site-footer {
    padding: 40px clamp(16px, 5vw, 72px) 16px;
    background: var(--navy);
    color: #e1e8f0;
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin-inline: auto;
}

.footer-brand img {
    display: block;
    border-radius: 20px;
    object-fit: contain;
}

.site-footer h3,
.site-footer h4 {
    margin: 0 0 8px;
    color: var(--white);
}

.site-footer p {
    margin: 0 0 8px;
}

.footer-links a {
    display: block;
    width: fit-content;
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-contact {
    overflow-wrap: anywhere;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    max-width: 1200px;
    margin: 28px auto 0;
    padding-top: 14px;
    border-top: 1px solid #ffffff30;
    font-size: 0.9rem;
}

/* Mobile layout */

@media (max-width: 640px) {
    .navbar {
        flex-wrap: wrap;
    }

    .navbar .nav-links {
        order: 1;
        width: 100%;
        gap: 4px 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}