@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg-1: #7d0b0b;
    --bg-2: #b31212;
    --bg-3: #ff3a3a;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.78);
    --container: 1180px;
    --radius-xl: 34px;
    --radius-lg: 18px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.18);
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #ffffff
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header and Footer */

.topbar {
    background: #A90003;
    color: #ffffff;
}

.topbar-absolute {
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.topbar__inner {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand__logo {
    width: auto;
    height: 99px;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    opacity: 0.92;
    padding: 10px 8px;
    border-radius: 10px;
    transition:
        opacity 0.15s ease,
        background 0.15s ease;
}

.nav a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.nav a.is-active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.14);
}

/* ===== HEADER RIGHT (lang + tel + burger) ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.burger-icon {
    display: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.header-tel {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    white-space: nowrap;
}

.header-tel:hover {
    background: rgba(255, 255, 255, 0.14);
}

.header-lang {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.2px;
}

.lang-btn img {
    width: 18px;
    height: 18px;
    display: block;
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: 46px;
    min-width: 75px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
    font-weight: 600;
    font-size: 16px;
}

.lang-dropdown.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-dropdown img {
    width: 18px;
    height: 18px;
    display: block;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 50;
}
.mobile-menu.show {
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu__panel {
    width: min(360px, 90vw);
    height: 100%;
    background: #fff;
    padding: 18px;
    box-shadow: var(--shadow);
}
.mobile-menu__close {
    border: 0;
    background: #111;
    color: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    margin-bottom: 12px;
}
.mobile-menu__panel a {
    display: block;
    padding: 12px 10px;
    text-decoration: none;
    color: #111;
    font-weight: 700;
    border-radius: 10px;
}
.mobile-menu__panel a:hover {
    background: #f2f2f2;
}

/* ===== FOOTER (полностью красный) ===== */
.footer-wrap {
    background: linear-gradient(162.69deg, #6B0002 -2.23%, #FC474A 46.49%, #A90003 97.2%);
    border-radius: 80px 80px 0 0;
}

.footer {
    padding: 100px 0;
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 100px;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    align-items: center;
    justify-content: flex-start;
}

.footer__links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 200ms ease;
}

.footer__links a:hover {
    transform: translateY(-4px);
}

.social {
    display: flex;
    align-items: center;
    align-self: flex-end;
    gap: 20px;
}

.social a {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.social a svg {
    width: 20px;
    height: auto;
    display: block;
    fill: #ffffff;
    opacity: 0.95;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.footer p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

/* Container */

.container {
    width: 100%;
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

@media (max-width: 1536px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 640px;
    }
}

@media (max-width: 640px) {
    .container {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/*  */

/* ===== HERO ===== */
.hero {
    padding: 50px 0 100px;
    background: linear-gradient(162.69deg, #6B0002 -2.23%, #FC474A 46.49%, #A90003 97.2%);
    color: #ffffff;
}

.hero-absolute {
    padding-top: 189px;
}

.hero__grid {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    position: relative;
}

.hero__block {
    display: flex;
    flex-direction: column;
    width: 90%;
    align-items: flex-start;
    justify-content: center;
}

.hero h1 {
    margin: 0 0 100px;
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
}

.hero__card {
    width: 100%;
    background: #ffffff;
    color: #000000;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}

.hero__card-title {
    font-size: 40px;
    font-weight: 600;
    margin: 0;
}

.hero__card-text {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    max-width: 60%;
}

.hero__btn {
    border: 0;
    background: #A90003;
    color: #ffffff;
    padding: 18px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition:
        filter 0.15s ease,
        transform 0.15s ease;
    font-family: 'Inter', sans-serif;
}

.hero__btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.hero__media {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero__media {
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    top: 50%;
    width: 40%;
    height: auto;
    display: block;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.25));
    user-select: none;
    -webkit-user-drag: none;
}

/* ===== CONTENT AREA ===== */
.stage {
    background: #ffffff;
    padding: 42px 0 54px;
}


.grid-forms {
    display: grid;
    gap: 22px;
    align-items: start;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eef0f3;
    overflow: hidden;
    padding: 45px;
}

.card__head {
    margin-bottom: 30px;
}

.card__title {
    margin: 0 0 15px;
    font-size: 32px;
    font-weight: 700;
}

.card__subtitle {
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    color: #444;
}

.card form {
    margin: 0;
}

.form-row {
    margin-bottom: 14px;
}

.form-row label {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
    color: #000000;
    font-weight: 600;
}

.req {
    color: #A90003;
    font-weight: 800;
    margin-left: 4px;
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid #d9dee6;
    font-size: 18px;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
    background: #ffffff;
}

.form-row input:focus,
.form-row select:focus {
    border-color: #A90003;
    box-shadow: 0 0 0 3px rgba(179, 18, 18, 0.12);
}

.btn {
    width: 100%;
    border: 0;
    background: #A90003;
    color: #ffffff;
    padding: 18px 12px;
    margin-top: 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 25px;
    transition:
        filter 0.15s ease,
        transform 0.15s ease;
    font-family: 'Inter', sans-serif;
}
.btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* ===== Thank You ===== */

.thankyou-wrapper {
    padding-top: 100px;
    padding-bottom: 100px;
}

.thankyou-wrapper .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.thankyou-box {
    background: linear-gradient(162.69deg, #6B0002 -2.23%, #FC474A 46.49%, #A90003 97.2%);
    border-radius: 40px;
    padding: 75px 30px;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.thankyou-title {
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.thankyou-description {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.thankyou-button {
    width: 40%;
    display: inline-block;
    padding: 8px 25px;
    font-size: 24px;
    font-weight: 700;
    border-radius: 20px;
    text-decoration: none;
    transform: none;
    border: 1px solid #ffffff;
    transition: all 0.25s ease;
    color: #A90003;
    background-color: #ffffff;
}

.thankyou-button:hover {
    transform: translateY(-4px);
}

/** Media Styles */

@media screen and (max-width:1280px) {
    .thankyou-title {
        font-size: 32px;
    }

    .thankyou-description {
        font-size: 20px;
    }

    .thankyou-button {
        font-size: 20px;
    }

    /*  */
    .nav a, .header-tel, .lang-btn, .lang-dropdown {
        font-size: 14px;
    }

    .brand__logo {
        height: 80px;
    }

    /*  */
    .hero h1 {
        font-size: 40px;
        margin-bottom: 60px;
    }

    .hero-absolute {
        padding-top: 160px;
        padding-bottom: 60px;
    }

    .hero__card {
        padding: 30px;
    }

    .hero__card-title {
        font-size: 30px;
    }

    .hero__card-text {
        font-size: 20px;
    }

    .hero__btn {
        font-size: 14px;
        padding: 12px 15px;
    }

    .hero__card {
        gap: 30px;
    }

    .hero__media {
        width: 45%;
    }

    /*  */

    .card {
        padding: 30px;
    }

    .card__title {
        font-size: 25px;
        margin-bottom: 10px;
    }

    .card__subtitle {
        font-size: 18px;
    }

    .card__head {
        margin-bottom: 20px;
    }

    .form-row label {
        font-size: 16px;
    }

    .form-row input, .form-row select {
        font-size: 16px;
    }

    .btn {
        font-size: 20px;
        padding: 12px 15px;
    }

    /*  */

    .footer {
        padding: 60px 0;
    }

    .footer__top {
        gap: 30px;
        margin-bottom: 60px;
    }

    .footer p {
        font-size: 14px;
    }

    .footer__links a {
        font-size: 14px;
    }

    .social a {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width:1024px) {
    .thankyou-wrapper {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .thankyou-box {
        padding: 55px 30px;
        gap: 30px;
    }

    /*  */
    .nav, .header-tel{
        display: none;
    }

    .burger-icon {
        display: block;
        font-size: 20px;
    }

    .topbar__inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    .brand__logo {
        height: 70px;
    }

    .nav a, .header-tel, .lang-btn, .lang-dropdown {
        font-size: 12px;
    }

    /*  */
    .hero-absolute {
        padding-top: 110px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero__card-title {
        font-size: 25px;
    }

    .hero__card-text {
        font-size: 16px;
    }

    .hero__btn {
        font-size: 11px;
        padding: 12px 20px;
    }

    /*  */
    .card__title {
        font-size: 20px;
    }

    .card {
        padding: 20px;
    }

    .card__subtitle {
        font-size: 14px;
    }

    .form-row label {
        font-size: 13px;
    }

    .form-row input, .form-row select {
        font-size: 13px;
        padding: 8px 10px;
    }

    .form-row {
        margin-bottom: 8px;
    }

    .btn {
        font-size: 16px;
    }

    /*  */
    .footer__links a {
        font-size: 12px;
    }

    .footer__links {
        gap: 20px;
    }

    .social {
        gap: 10px;
    }

    .footer p {
        font-size: 12px;
    }
}

@media screen and (max-width:768px) {
    .thankyou-button {
        width: 80%;
    }
}

@media screen and (max-width:540px) {
    .thankyou-wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .thankyou-box {
        padding: 25px 15px;
        gap: 20px;
    }

    .thankyou-title {
        font-size: 24px;
    }

    .thankyou-description {
        font-size: 16px;
    }

    .thankyou-button {
        font-size: 16px;
    }

    /*  */
    .brand__logo {
        height: 60px;
    }

    .burger-icon {
        font-size: 16px;
        padding: 6px 8px;
    }

    .lang-btn, .lang-dropdown {
        padding: 6px 8px;
    }

    .lang-btn img, .lang-dropdown img {
        width: 12px;
        height: auto;
    }

    .lang-dropdown {
        min-width: 55px;
        top: 36px;
    }

    .header-right {
        gap: 10px;
    }

    .mobile-menu__close {
        font-size: 12px;
    }

    /*  */
    .hero-absolute {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 25px;
        margin-bottom: 25px;
    }

    .hero__card {
        padding: 20px;
        gap: 20px;
    }

    .hero__media {
        position: relative;
        transform: none;
        top: 0;
    }

    .hero__grid {
        flex-direction: column;
    }

    .hero__card-title {
        font-size: 20px;
    }

    .hero__card-text {
        font-size: 12px;
        max-width: 100%;
    }

    .hero__btn {
        font-size: 9px;
        padding: 8px 12px;
    }

    /*  */
    .stage {
        padding: 40px 0;
    }

    .card__title {
        font-size: 18px;
    }

    .btn {
        font-size: 14px;
    }

    /*  */
    .footer {
        padding: 40px 0;
    }

    .footer-wrap {
        border-radius: 30px 30px 0 0;
    }

    .footer__top {
        gap: 20px;
        margin-bottom: 40px;
        align-items: center;
    }

    .social {
        align-self: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:421px) {
    
}