@import url("./header.css");
@import url("./home.css");
@import url("./contact.css");
@import url("./service-plans.css");
@import url("./quote-page.css");
@import url("./order-history.css");

:root {
    --container-width: 1110px;
    --container-padding: 15px;

    --section-spacing: 100px;

    --font-main: "Google Sans", Arial, sans-serif;

    --text-color: #000;
    --color-white: #fff;
    --color-black: #131313;
    --color-accent: #ff2b55;
    --color-bg: #fff;
    --color-border: rgba(0, 0, 0, 0.08);

    --fs-h1: 33px;
    --fs-h2: 29px;
    --fs-h3: 20px;
    --fs-body: 15px;

    --fs-top-header: 12px;
    --fs-menu: 13px;
    --fs-btn: 13px;

    --lh-h1: 1.2;
    --lh-h2: 1.25;
    --lh-h3: 1.3;
    --lh-body: 1.5;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--text-color);
    background-color: var(--color-bg);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
.h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    font-weight: 700;
}

h2,
.h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    font-weight: 700;
}

h3,
.h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-h3);
    font-weight: 700;
}

p,
.text {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    margin-bottom: var(--section-spacing);
}

.section:last-child {
    margin-bottom: 0;
}


#about-us,
#services,
#benefits,
#plans,
#presentation,
#support,
#contact {
    scroll-margin-top: 120px;
}

@media (max-width: 767px) {
    #about-us,
    #services,
    #benefits,
    #plans,
    #presentation,
    #support,
    #contact {
        scroll-margin-top: 110px;
    }
}



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

.site-header {
    position: relative;
    z-index: 1200;
}

/* Top header */
.top-header {
    background: #050505;
    color: #fff;
}

.top-header__container {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-header__left,
.top-header__right {
    display: flex;
    align-items: center;
}

.top-header__left {
    gap: 6px;
}

.top-header__label {
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.top-header__email {
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    color: #fff;
}

.top-header__right {
    gap: 10px;
    position: relative;
}

.top-header__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    color: #fff;
    transition: opacity 0.2s ease;
}

.top-header__link:hover {
    opacity: 0.8;
}

.top-header__divider {
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.top-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
}

.top-header__icon img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* User dropdown */
.top-header__user {
    position: relative;
}

.top-header__user-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.top-header__user-btn:hover {
    opacity: 0.8;
}

.top-header__user-btn::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
    margin-top: -3px;
}

.top-header__user.is-open .top-header__user-btn::after {
    transform: rotate(-135deg) translateY(-1px);
    margin-top: 3px;
}

.top-header__dropdown {
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    min-width: 180px;
    padding: 8px 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1300;
}

.top-header__user.is-open .top-header__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.top-header__dropdown-link {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 11px 16px;
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    color: #111;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.top-header__dropdown-link:hover {
    background: #f6f6f6;
    color: #E3092D;
}

.top-header__lang-switcher {
    position: relative;
}

.top-header__lang-current {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.top-header__lang-current:hover {
    opacity: 0.8;
}

.top-header__lang-current::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
    margin-top: -3px;
}

.top-header__lang-switcher.is-open .top-header__lang-current::after {
    transform: rotate(-135deg) translateY(-1px);
    margin-top: 3px;
}

.top-header__lang-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 78px;
    padding: 8px 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1300;
}

.top-header__lang-switcher.is-open .top-header__lang-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.top-header__lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 11px 16px;
    background: transparent;
    border: 0;
    text-align: left;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    color: #111;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.top-header__lang-option:hover {
    background: #f6f6f6;
    color: #E3092D;
}

.top-header__divider--lang {
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}


/* Main header */

.main-header-placeholder {
    display: none;
}

.main-header {
    position: relative;
    z-index: 1100;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.main-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.main-header-placeholder.is-active {
    display: block;
}

/* Desktop layout */
.main-header__container {
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "logo nav"
        "logo actions";
    align-items: start;
    column-gap: 34px;
}

/* Logo */
.main-header__logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    min-height: 100%;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.site-logo img {
    width: 175px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Nav */
.main-header__nav {
    grid-area: nav;
    display: flex;
    align-items: center;
    justify-content: end;
    min-width: 0;
    margin-top: 10px;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.main-menu > li {
    flex: 0 0 auto;
}

.main-menu > li > a {
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-menu > li > a:hover,
.main-menu > li > a.is-active,
.main-menu > li.current-menu-item > a,
.main-menu > li.current_page_item > a,
.main-menu > li.current-menu-ancestor > a {
    color: #ff2d55;
}

body.home .main-menu > li.current-menu-item > a,
body.home .main-menu > li.current_page_item > a,
body.home .main-menu > li.current-menu-ancestor > a {
    color: #111;
}

body.home .main-menu > li > a.is-active,
body.home .main-menu > li > a:hover {
    color: #ff2d55;
}

/* Actions */
.main-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.desktop-actions {
    grid-area: actions;
    justify-content: flex-end;
}

.mobile-actions {
    display: none;
}

.header-btn {
    min-width: 170px;
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-btn:hover {
    transform: translateY(-1px);
}

.header-btn--dark {
    background: #181818;
    color: #fff;
}

.header-btn--accent {
    background: #E3092D;
    color: #fff;
}

.header-btn--blue {
    background: #27a6e1;
    color: #fff;
}

/* Login dropdown */
.top-header__login {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.top-header__login-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
}

.top-header__login-btn:hover {
    opacity: 0.8;
}

.top-header__dropdown--login {
    right: 0;
}

.top-header__login.is-open .top-header__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Burger */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #111;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Tablet / Mobile */
@media (max-width: 1199px) {
    .main-header {
        padding: 14px 0;
    }

    .main-header__container {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
        grid-template-areas: "logo burger";
        align-items: center;
        row-gap: 0;
    }

    .main-header__logo {
        min-height: auto;
    }

    .site-logo img {
        width: 150px;
    }

    .burger {
        display: block;
    }

    .main-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        padding: 24px 20px 28px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        z-index: 1001;
    }

    .main-header__nav.is-open {
        display: flex;
    }

    .main-menu {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .main-menu > li {
        width: 100%;
    }

    .main-menu > li > a {
        font-size: 16px;
        line-height: 1.2;
    }

    .desktop-actions {
        display: none;
    }

    .mobile-actions {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .mobile-actions .header-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .top-header {
        position: relative;
        z-index: 1200;
    }

    .top-header__container {
        min-height: 44px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .top-header__left {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .top-header__right {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .top-header__label {
        display: none;
    }

    .top-header__email {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 12px;
    }

    .top-header__link,
    .top-header__user-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        white-space: nowrap;
    }

	.top-header__divider--lang {
    	display: inline-block;
	}

    .top-header__icon {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }

    .top-header__icon img {
        width: 14px;
        height: 14px;
    }

    .top-header__user {
        width: auto;
        position: relative;
    }

    .top-header__dropdown {
        top: calc(100% + 15px);
        right: 0;
        left: auto;
        min-width: 170px;
        z-index: 1300;
    }

    .site-logo img {
        width: 130px;
    }

    .main-header__nav {
        padding: 20px 15px 24px;
        margin-top: 0px;
    }

    .header-btn {
        height: 46px;
        font-size: 12px;
    }
    
    .top-header__lang-current {
        font-size: 12px;
        gap: 6px;
    }

    .top-header__lang-dropdown {
        top: calc(100% + 10px);
        min-width: 68px;
        border-radius: 16px;
    }

    .top-header__lang-option {
        padding: 10px 14px;
        font-size: 12px;
    }
}



/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 100px;
    background: #F4F4F4;
}

.footer-main {
    padding: 50px 0 39px;
}

.footer-main__logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    min-height: 100%;
}

.footer-main__container {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
        "logo nav"
        "logo actions";
    align-items: start;
    column-gap: 34px;
    row-gap: 22px;
}

.footer-main__nav {
    grid-area: nav;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    margin-top: 10px;
}

.footer-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.footer-menu > li {
    flex: 0 0 auto;
}

.footer-menu > li > a {
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.footer-menu > li > a:hover,
.footer-menu > li > a.is-active,
.footer-menu > li.current-menu-item > a,
.footer-menu > li.current_page_item > a,
.footer-menu > li.current-menu-ancestor > a {
    color: #ff2d55;
}

body.home .footer-menu > li.current-menu-item > a,
body.home .footer-menu > li.current_page_item > a,
body.home .footer-menu > li.current-menu-ancestor > a {
    color: #111;
}

body.home .footer-menu > li > a.is-active,
body.home .footer-menu > li > a:hover {
    color: #ff2d55;
}

.footer-main__actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom {
    padding: 0 0 42px;
}

.footer-bottom__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom__left,
.footer-bottom__right {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.footer-terms {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #333;
    transition: color 0.2s ease;
}

.footer-terms:hover {
    color: #ff2d55;
}

.footer-copyright {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    color: #b0b0b0;
    text-align: right;
}


@media (max-width: 1199px) {
    .footer-main__container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "logo"
            "nav"
            "actions";
        row-gap: 24px;
        justify-items: center;
        text-align: center;
    }

    .footer-main__nav {
        justify-content: center;
        margin-top: 0;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 20px;
    }

    .footer-main__actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom__container {
        flex-direction: column;
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .site-footer {
        margin-top: 0;
    }

    .footer-main {
        padding: 32px 0 20px;
    }

    .footer-menu {
        flex-direction: column;
        gap: 14px;
    }

    .footer-main__actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .footer-main__actions .header-btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-bottom {
        padding-bottom: 28px;
    }

    .footer-terms,
    .footer-copyright {
        font-size: 14px;
        text-align: center;
    }
}



/* =========================
   GLOBAL CTA
========================= */

.global-cta {
    margin-top: 100px;
}

.global-cta__box {
    position: relative;
    min-height: 370px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.1s ease, transform 1.1s ease;
}

.global-cta.is-visible .global-cta__box {
    opacity: 1;
    transform: translateY(0);
}

.global-cta__bg {
    position: absolute;
    inset: 0;
}

.global-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.global-cta__overlay {
    position: absolute;
    inset: 0;
}

.global-cta__content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
}

.global-cta__title {
    margin-bottom: 18px;
    font-size: 33px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.global-cta__text {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #fff;
    transition: 0.8s ease;
    transition-delay: 0.2s;
}

.global-cta__actions {
    margin-top: 58px;
}

.global-cta__btn {
    min-width: 268px;
    height: 56px;
    padding: 0 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E3092D;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.global-cta__btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 1199px) {
    .global-cta__box {
        min-height: 320px;
        border-radius: 20px;
    }

    .global-cta__content {
        max-width: 100%;
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .global-cta {
        margin-top: 40px;
    }

    .global-cta__box {
        min-height: 280px;
        border-radius: 20px;
    }

    .global-cta__title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .global-cta__text {
        font-size: 15px;
        line-height: 1.5;
    }

    .global-cta__actions {
        margin-top: 24px;
    }

    .global-cta__btn {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 14px;
    }
}


/* =========================
   DEFAULT PAGE
========================= */

.default-page {
    padding-top: 18px;
}

.default-page__hero {
    margin-bottom: 100px;
}

.default-page__hero-box {
	position: relative;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.default-page__hero-bg {
    position: absolute;
    inset: 0;
}

.default-page__hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.default-page__hero-overlay {
    position: absolute;
    inset: 0;
}

.default-page__hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 40px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.default-page__title {
    margin: 0;
    font-size: 33px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.default-page__hero.is-visible .default-page__hero-content {
    opacity: 1;
    transform: translateY(0);
}

.default-page__hero.is-visible .default-page__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.default-page__content {
    margin-bottom: 100px;
}

.default-page__entry {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.default-page__entry h1,
.default-page__entry h2,
.default-page__entry h3,
.default-page__entry h4 {
    margin: 0 0 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.default-page__entry h1 {
    font-size: 33px;
    line-height: 1.2;
}

.default-page__entry h2 {
    font-size: 29px;
    line-height: 1.25;
    margin-top: 50px;
}

.default-page__entry h3 {
    font-size: 20px;
    line-height: 1.3;
}

.default-page__entry p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #231F1F;
}

.default-page__entry ul,
.default-page__entry ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.default-page__entry li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.default-page__entry strong,
.default-page__entry b {
    font-weight: 700;
    color: #1a1a1a;
}

@media (max-width: 767px) {
    .default-page {
        padding-top: 14px;
    }

    .default-page__hero {
        margin-bottom: 40px;
    }

    .default-page__hero-box {
        min-height: 240px;
        border-radius: 20px;
    }

    .default-page__hero-content {
        padding: 24px 16px;
    }

    .default-page__title {
        font-size: 24px;
    }

    .default-page__content {
        margin-bottom: 40px;
    }

    .default-page__entry h1 {
        font-size: 24px;
    }

    .default-page__entry h2 {
        font-size: 22px;
    }

    .default-page__entry h3 {
        font-size: 18px;
    }

    .default-page__entry p,
    .default-page__entry li {
        font-size: 14px;
    }
}



/* =========================
   MODALS
========================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(53, 53, 53, 0.88);
}

.modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: #f4f4f4;
    border: 1px solid #1f1f1f;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.is-active .modal__dialog {
    transform: translateY(0);
}

.modal__dialog--wide {
    max-width: 920px;
}

.modal__dialog--small {
    max-width: 540px;
}

.modal__dialog--register-large {
    max-width: 980px;
}

.modal__content {
    padding: 56px 96px 62px;
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.modal__close span {
    position: absolute;
    top: 19px;
    left: 8px;
    width: 24px;
    height: 2px;
    border-radius: 20px;
    background: #1a1a1a;
}

.modal__close span:first-child {
    transform: rotate(45deg);
}

.modal__close span:last-child {
    transform: rotate(-45deg);
}

.modal__title {
    margin: 0 0 42px;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
}

.modal__title--center {
    text-align: center;
}

.modal-form__check-label a {
    color: #e3092d;
    text-decoration: underline;
}

body.modal-open {
    overflow: hidden;
}


/* =========================
   MODAL FORM
========================= */

.modal-form {
    width: 100%;
}

.modal-form--register {
    max-width: 100%;
}

.modal-form--login {
    max-width: 354px;
    margin: 0 auto;
}

.modal-form__messages {
    margin-bottom: 20px;
}

.modal-form__message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.modal-form__message--error {
    background: rgba(227, 9, 45, 0.08);
    color: #b42318;
    border: 1px solid rgba(227, 9, 45, 0.2);
}

.modal-form__message--success {
    background: rgba(16, 185, 129, 0.08);
    color: #067647;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.modal-form__row {
    margin-bottom: 18px;
}

.modal-form__grid {
    display: grid;
    gap: 20px 24px;
}

.modal-form__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.modal-form__field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.modal-form__field--full {
    width: 100%;
}

.modal-form__label {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #222;
}

.modal-form__input,
.modal-form__select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #cfd4da;
    border-radius: 8px;
    background: #f4f4f4;
    font-size: 16px;
    line-height: 1;
    color: #111;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.modal-form__input::placeholder {
    color: #8f8f8f;
    opacity: 1;
}

.modal-form__input:focus,
.modal-form__select:focus {
    border-color: #e3092d;
    box-shadow: 0 0 0 3px rgba(227, 9, 45, 0.08);
    background: #fff;
}

.modal-form__input:disabled,
.modal-form__select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.modal-form__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 46px;
    background-image:
        linear-gradient(45deg, transparent 50%, #111 50%),
        linear-gradient(135deg, #111 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 21px,
        calc(100% - 14px) 21px;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.modal-form__section-title {
    margin: 34px 0 20px;
    text-align: center;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #e3092d;
}

.modal-form__agreement {
    margin-bottom: 20px;
    padding: 18px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    line-height: 1.55;
    color: #333;
}

.modal-form__agreement p {
    margin: 0 0 14px;
}

.modal-form__agreement ul {
    margin: 0;
    padding-left: 18px;
}

.modal-form__agreement li + li {
    margin-top: 8px;
}

.modal-form__agreement a {
    color: #0d6efd;
    text-decoration: none;
}

.modal-form__agreement a:hover {
    text-decoration: underline;
}

.modal-form__checkbox {
    margin: 18px 0 24px;
}

.modal-form__check-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    cursor: pointer;
}

.modal-form__check-input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
    accent-color: #e3092d;
}

.modal-form__signed-title {
    margin: 22px 0 12px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: #1a1a1a;
}

.modal-form__actions {
    margin-top: 34px;
}

.modal-form__actions--center {
    display: flex;
    justify-content: center;
}

.modal-form__submit {
    min-width: 234px;
    height: 56px;
    padding: 0 40px;
    border: 0;
    border-radius: 999px;
    background: #e3092d;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal-form__submit:hover {
    transform: translateY(-1px);
}

.modal-form__submit:active {
    transform: translateY(0);
}

.modal-form__submit:disabled,
.modal-form__submit.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.modal-form__submit-text {
    display: inline-block;
}

.modal-form--login .modal-form__field + .modal-form__field {
    margin-top: 24px;
}

.modal-form--login .modal-form__actions {
    margin-top: 32px;
}

.modal-form--login .modal-form__submit {
    width: 100%;
    min-width: 0;
}

.modal-form__messages--bottom {
    margin-top: 18px;
}

.modal-form__message {
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

.modal-form__message--error {
    background: #FFF1F1;
    color: #C62828;
    border: 1px solid rgba(198, 40, 40, 0.14);
}

.modal-form__message--success {
    background: #EEF9F1;
    color: #2E7D32;
    border: 1px solid rgba(46, 125, 50, 0.14);
}

.modal__dialog--success {
    max-width: 520px;
}

.modal__content--success {
    padding: 42px 36px 38px;
    text-align: center;
}

.modal-success__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-success__logo img {
    width: 80px;
    height: auto;
    display: block;
    object-fit: contain;
}

.modal-success__text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #767676;
}

#modal-register-success .modal__overlay {
    cursor: default;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {
    .modal {
        padding: 28px 16px;
    }

    .modal__content {
        padding: 48px 40px;
    }

    .modal__dialog--wide {
        max-width: 760px;
    }

    .modal__dialog--register-large {
        max-width: 860px;
    }

    .modal-form__submit {
        min-width: 220px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
    .modal {
        padding: 14px;
    }

    /* великі модалки */
    .modal:has(.modal__dialog--wide),
    .modal:has(.modal__dialog--register-large) {
        align-items: flex-start;
    }

    /* маленька login-модалка */
    .modal:has(.modal__dialog--small) {
        align-items: center;
    }

    .modal__dialog {
        max-height: calc(100dvh - 28px);
        border-radius: 14px;
    }

    .modal__dialog--wide,
    .modal__dialog--small,
    .modal__dialog--register-large {
        max-width: 100%;
    }

    .modal__content {
        padding: 42px 20px 28px;
    }

    .modal__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .modal__close span {
        top: 17px;
        left: 8px;
        width: 20px;
    }

    .modal__title {
        margin-bottom: 28px;
        font-size: 24px;
    }

    .modal-form__grid--2 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .modal-form__row,
    .modal-form__grid--2 {
        margin-bottom: 18px;
    }

    .modal-form__label {
        font-size: 15px;
    }

    .modal-form__input,
    .modal-form__select {
        height: 48px;
        font-size: 15px;
    }

    .modal-form__section-title {
        margin: 28px 0 18px;
        font-size: 17px;
    }

    .modal-form__agreement {
        padding: 16px 14px;
        font-size: 14px;
    }

    .modal-form__checkbox {
        margin: 16px 0 20px;
    }

    .modal-form__signed-title {
        margin-top: 18px;
    }

    .modal-form__actions {
        margin-top: 24px;
    }

    .modal-form__submit {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 14px;
    }

    .modal-form--login {
        max-width: 100%;
    }

    .modal-form--login .modal-form__field + .modal-form__field {
        margin-top: 20px;
    }
    
    .modal,
    .modal__dialog,
    .modal__content,
    .modal-form,
    .modal-form__row,
    .modal-form__field,
    .modal-form__grid--2 {
        min-width: 0;
    }

    .modal {
        padding: 14px;
        overflow-x: hidden;
    }

    .modal__dialog {
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 28px);
        overflow-x: hidden;
        margin-left: auto;
        margin-right: auto;
    }

    .modal__content {
        overflow-x: hidden;
    }

    .modal-form__grid--2 {
        grid-template-columns: 1fr;
    }

    .modal-form__field,
    .modal-form__row,
    .modal-form__grid--2 {
        min-width: 0;
        width: 100%;
    }

    .modal-form input,
    .modal-form select,
    .modal-form textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .modal-form input[type="date"],
    .modal-form__input[type="date"] {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        appearance: none;
        -webkit-appearance: none;
        padding-right: 12px;
        font-size: 16px;
        line-height: normal;
    }

    .modal-form input[type="date"]::-webkit-calendar-picker-indicator {
        margin: 0;
    }

    .modal-form__field * {
        min-width: 0;
    }
    
    .modal__content--success {
        padding: 32px 22px 28px;
    }

    .modal-success__text p {
        font-size: 15px;
        line-height: 1.55;
    }
}



/* =========================
   404 PAGE
========================= */

.error-404-page {
    padding-top: 18px;
}

.error-404__box {
    min-height: 520px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f4f4f4 0%, #ececec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
}

.error-404__content {
    max-width: 760px;
    margin: 0 auto;
}

.error-404__code {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 120px;
    line-height: 1;
    font-weight: 700;
    color: #E3092D;
    letter-spacing: -0.04em;
}

.error-404__title {
    margin: 0 0 20px;
    font-size: 33px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.error-404__text {
    max-width: 620px;
    margin: 0 auto 32px;
}

.error-404__text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #555;
}

.error-404__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.error-404__btn {
    min-width: 220px;
    height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.error-404__btn:hover {
    transform: translateY(-1px);
}

.error-404__btn--primary {
    background: #E3092D;
    color: #fff;
}

.error-404__btn--secondary {
    background: #181818;
    color: #fff;
}

@media (max-width: 991px) {
    .error-404 {
        padding-bottom: 70px;
    }

    .error-404__box {
        min-height: 440px;
        border-radius: 20px;
        padding: 50px 28px;
    }

    .error-404__code {
        font-size: 96px;
    }

    .error-404__title {
        font-size: 34px;
    }

    .error-404__text p {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .error-404-page {
        padding-top: 14px;
    }

    .error-404 {
        padding: 14px 0 40px;
    }

    .error-404__box {
        min-height: 360px;
        border-radius: 20px;
        padding: 40px 20px;
    }

    .error-404__code {
        margin-bottom: 14px;
        font-size: 72px;
    }

    .error-404__title {
        margin-bottom: 16px;
        font-size: 28px;
    }

    .error-404__text {
        margin-bottom: 24px;
    }

    .error-404__text p {
        font-size: 16px;
    }

    .error-404__actions {
        gap: 12px;
    }

    .error-404__btn {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 13px;
    }
}



/* =========================
   VIDEO MODAL
========================= */

.modal__dialog--video {
    width: 100%;
    max-width: 960px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0;
}

.modal__content--video {
    position: relative;
    padding: 0;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

.modal__content--video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    background: #000;
}

/* close button */
.modal__dialog--video .modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}

.modal__dialog--video .modal__close span {
    position: absolute;
    top: 19px;
    left: 8px;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #111;
}

.modal__dialog--video .modal__close span:first-child {
    transform: rotate(45deg);
}

.modal__dialog--video .modal__close span:last-child {
    transform: rotate(-45deg);
}

/* extra safety against horizontal scroll */
.modal:has(.modal__dialog--video) {
    overflow-x: hidden;
}

@media (max-width: 991px) {
    .modal__dialog--video {
        max-width: 92vw;
    }

    .modal__content--video {
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .modal__dialog--video {
        max-width: 100%;
    }

    .modal__content--video {
        border-radius: 14px;
    }

    .modal__content--video video {
        max-height: 70vh;
    }

    .modal__dialog--video .modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .modal__dialog--video .modal__close span {
        top: 17px;
        left: 8px;
        width: 20px;
    }
}



/* =========================
   OTP MODAL
========================= */

#modal-otp .modal__dialog {
  max-width: 560px;
  width: calc(100% - 32px);
}

#modal-otp .modal__content {
  padding: 56px 82px 26px;
}

#modal-otp .modal__title {
  margin: 0 0 24px;
}

.modal-form--otp {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-form--otp .modal-form__messages {
  margin-bottom: 18px;
}

.modal-form--otp .modal-form__field {
  margin-bottom: 28px;
}

.modal-form--otp .modal-form__label {
  display: block;
  margin-bottom: 12px;
}

.modal-form--otp .modal-form__input {
  width: 100%;
}

.modal-form--otp .modal-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.modal-form--otp .modal-form__actions + .modal-form__actions {
  margin-top: 18px;
}

.modal-form--otp .modal-form__submit {
  min-width: 320px;
  width: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.modal-form__status--center {
    text-align: center;
    margin-bottom: 20px;
}

.modal-form__status p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #8A8A8A;
}

.modal-form__actions--otp-resend {
    margin-top: 12px;
}

@media (max-width: 767px) {
  #modal-otp .modal__content {
    padding: 36px 28px 16px;
  }

  #modal-otp .modal__title {
    margin-bottom: 20px;
  }

  .modal-form--otp .modal-form__field {
    margin-bottom: 22px;
  }

  .modal-form--otp .modal-form__submit {
    width: 100%;
    min-width: 0;
  }
}