/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
    height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 38px;
    direction: ltr;
}

.logo img {
    width: 138px;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    direction: ltr;
}

.nav a {
    position: relative;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 20px;
    transition: 0.25s ease;
}

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    direction: ltr;
}

.header-phone {
    font-weight: 900;
    color: var(--primary-dark);
    white-space: nowrap;
}

.header-phone {
    position: relative;
    transition: color 0.25s ease;
}

.header-phone::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.header-phone:hover::after {
    width: 100%;
}

.header-whatsapp {
    height: 46px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 12px;
    border: 1px solid rgba(31, 53, 82, 0.18);

    background: linear-gradient(180deg, #214a78 0%, #14385f 100%);
    color: #ffffff;

    font-size: 15px;
    font-weight: 900;

    box-shadow: 0 12px 26px rgba(31, 53, 82, 0.18);
    transition: 0.25s ease;
}

.header-whatsapp:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #183d66 0%, #0f2f52 100%);
    box-shadow: 0 18px 34px rgba(31, 53, 82, 0.28);
}

.header-whatsapp svg {
    width: 20px;
    height: 20px;
}

.header-whatsapp svg path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-whatsapp svg,
.btn-whatsapp svg,
.contact-whatsapp svg {
    width: 18px;
    height: 18px;
    display: block;
}

.header-whatsapp svg path,
.btn-whatsapp svg path,
.contact-whatsapp svg path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-whatsapp,
.btn-whatsapp,
.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.header-whatsapp img,
.btn-whatsapp-hover img,
.contact-whatsapp img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.benefit-whatsapp img {
    width: 28px;
    height: 28px;
}

/* MOBILE MENU */

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background: var(--primary-dark);
    border-radius: 20px;
}

/* LANGUAGE SWITCH */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 10px;

    background: transparent;
    border: none;
}

/* ??? ??? */
.lang-switch a,
.lang-switch span {
    padding: 5px 10px;
    border-radius: 7px;
    color: var(--primary-dark);
    transition: 0.2s ease;
}

/* hover */
.lang-switch a:hover {
    background: rgba(47, 94, 146, 0.12);
}

/* ????? ?? */
.lang-switch .active {
    background: linear-gradient(180deg, #376da3, #244f80);
    color: #fff;
}

.lang-switch a,
.lang-switch .active {
    transform: translateY(0);
}

.lang-switch a:hover {
    transform: translateY(-1px);
}