/* ----------------------------------------------------- GENERAL -------------------------------------------------------------- */


@font-face {
    font-family: 'Playfair';
    src: url('../fonts/playfair-300-normal.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair';
    src: url('../fonts/playfair-400-normal.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair';
    src: url('../fonts/playfair-300-italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair';
    src: url('../fonts/playfair-400-italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --primary: #6B7172;
    --gold: #A19958;
    --bg-1: #F6F5F2;
}

html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
}

a {
    all: unset;
    cursor: pointer;
}

p {
    font-size: 22px;
    font-weight: 300;
    opacity:0.9
}

button {
    all: unset;
    cursor: pointer;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'Playfair', serif;
    color: var(--primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

h1 {
    font-size: 60px
}

@media (max-width:1050px) {
    h1 {
        font-size: 54px;
    }
}

@media (max-width:922px) {
    h1 {
        font-size: 45px;
    }
}
.section {
    padding: 100px 0;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

.btn {
    font-family: "Montserrat", sans-serif;
    width: 200px;
    background: var(--gold);
    color: white;
    text-align: center;
    padding-block: 15px;
    font-size: 14px;
    font-weight: 500;
}

/* ----------------------------------------------------- HEADER -------------------------------------------------------------- */

header {
    position: relative;
    z-index: 10;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-block: 22px;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.dropdown {
    position: relative;
}

.submenu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #F6F5F2;
    z-index: 20;
    pointer-events: none;
}

.dropdown:hover .submenu,
.dropdown:focus-within .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.menu,
.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu li {
    border-bottom: 1px solid #E3E0D3;
    width: 100%;
    font-family: Montserrat;
    font-size: 14px;
}

.submenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    position: relative;
    z-index: 100;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    gap: 10px;
}

.submenu li a:hover {
    background: #F2EEE1;
}

.language-menu .btn {
    color: #C9C9C9;
    background: transparent;
    border: 1px solid white;
    width: unset;
    padding-inline: 8px;
    cursor: pointer;
    height: 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-icon {
    filter: saturate(0.9) brightness(0.9);
    opacity: 0.9;
    width: 15px;
    height: 15px;
}

.next-icon {
    height: 8px;
}

@media (max-width:767px) {
    header {
        background: white;
        ;
    }

    .header-content {
        padding-block: 10px;
    }

    .cta-menu span {
        display: none;
    }

    .cta-menu .btn {
        width: unset;
        padding: 20px 25px;
    }

    .language-menu .btn {
        border: #c9c9c9 solid 1px;
        padding: 19px 12px;
        height: unset;
    }

    .dropdown {
        position: unset;
    }

    .submenu li a {
        padding: 18px;
    }
}


/* ----------------------------------------------------- FOOTER -------------------------------------------------------------- */

footer {
    background-color: #40454D;
    color: white;
}

footer h3 {
    font-family: montserrat;
    margin-bottom: 20px;
}

footer p {
    margin-bottom: 14px;
    font-weight: 300;
    opacity: 0.8;
    font-size:20px;
    max-width:200px;
}

footer p:has(a):hover {
    opacity: 1;
}

.footer-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-top {
    width: 100%;
    display: flex;
}

.footer-col {
    flex: 1;
    margin-right: 20px;
}

footer .divider {
    width: 100%;
    height: 1px;
    background: #59606A;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-logos .site-logo img {
    height: 70px;
}

.footer-logos .grades {
    max-width: 120px;
    font-size: 12px;
    pointer-events: none;
}

.footer-logos img {
    height: 43px;
}

.creds a{
    text-decoration: underline;
}

@media (max-width:767px) {
    .footer-top {
        flex-direction: column;
        gap: 50px;
    }

    .footer-logos,
    .footer-bottom {
        flex-wrap: wrap;
    }

    footer .creds {
        margin-top: 50px;
    }
}