html {
    background-color: #0a0000;
    background-image: url("../images/Header-background.svg");
    background-repeat: repeat-y;           /* повтор по вертикали */
    background-position: top center;       /* по центру */
    background-size: 100% auto;          /* фиксированная ширина, высота авто */
}


.body {
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    color: white;
    padding: 0 20px;
    max-width: 1200px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    background-color: transparent; /* не перекрывать фон html */
    overflow-x: hidden;
}

.body > * {
    position: relative;
    z-index: 1;
}

.header {
    padding: 64px 32px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.45));
    backdrop-filter: blur(6px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #fff;
    margin-bottom: 64px;
}

.header-column {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

.header-column-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #7FE366;
    margin: 0;
    line-height: 1.2;
}

.header-column-content .text {
    font-size: 20px;
    color: #ccc;
    line-height: 1.6;
    margin-top: 16px;
}

.header-column-action .action_reviews {
    margin-top: 32px;
}

.header-column-action a {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #E36666;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.header-column-action a:hover {
    background-color: #cc4444;
    transform: scale(1.02);
}

.gradient-top{

}

.navbar-pm {
    padding: 36px 0;

}

.text{
    opacity: 0.6;
}

:root {
    --primary-500: #FBE5E5;
}

.input{
    width: 95%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);  /* Черная рамка */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    opacity: 0.6;
    margin-bottom: 32px;
}

.input-sms{
    width: 95%;
    height: 180px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);  /* Черная рамка */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    opacity: 0.6;
    margin-bottom: 32px;
    overflow: auto;
    font-family: 'Roboto', sans-serif;
    resize: none; /* Отключаем изменение размера */
    white-space: pre-wrap; /* Перенос строк */
    word-wrap: break-word; /* Разрыв слов при нехватке места */
}

.input:hover, .input-sms:hover {
    border: 1px solid rgba(255, 255, 255, 0.8);  /* Сделаем рамку ярче */
    opacity: 0.8;  /* Убираем прозрачность при наведении */
    background-color: #333;  /* Могут быть другие изменения, например, изменить фон */
}

.contact-form-action{
    margin-top: 32px;
    flex-direction: column;
    height: 96px;
}

.action-checkbox-pm {
    display: flex;
    align-items: center; /* Выровнять элементы по вертикали */
    gap: 8px; /* Отступ между чекбоксом и текстом */
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox input {
    display: none; /* Скрываем стандартный чекбокс */
}

.custom-checkbox span {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.custom-checkbox input:checked + span {
    background-color: #E36666;
    border-color: #E36666;
}

.custom-checkbox input:checked + span::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 16px;
    color: white;
    display: flex;
    align-items: center;
}

.terms {
    text-decoration: underline;
    color: #E36666;
    cursor: pointer;
}

/*-----------------------footer-pm--------------------*/

.footer {
    margin: 50px 0;
    background: rgba(15, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 64px 20px 32px;
    font-family: 'Roboto', sans-serif;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 32px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 32px;
}

.footer-left {
    flex: 1 1 300px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 14px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #e2b4b4;
}

.footer-right {
    display: flex;
    flex: 1 1 300px;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.footer-links-group a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background-color: #E36666;
    transition: width 0.3s ease-in-out;
}

.footer-links-group a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

.footer-socials img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 32px;
    }

    .footer-right {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
}

/*section contact*/

.section-contact {
    margin: 100px 0;
    padding: 0 16px; /* немного паддинга слева/справа для мобильных */
}

.section-contact-container {
    margin: 64px 0;
    display: grid;
    grid-template-columns: 60% 40%; /* 60% - левый блок, 40% - форма */
    gap: 24px; /* увеличил gap для воздуха */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Левая часть (контактная информация) */
.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #fff;
}

.contact-heading {
    height: auto; /* чтобы подстраивалось под контент */
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.contact-heading h1 {
    font-size: 36px;
    font-weight: 700;
    color: #7FE366;
    margin: 0 0 8px 0;
}

.contact-heading .text {
    font-size: 18px;
    line-height: 1.4;
    color: #ccc;
}

.content-contact-information {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 16px;
    margin-top: 16px;
}

.content-contact-information-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #eee;
    margin: 0;
}

.content-contact-information-item img {
    margin-right: 12px;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Правая часть (форма) */
.contact-form {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.contact-form-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
}

.input-link,
.input-link-sms {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.input-link {
    height: 84px;
}

.input-link-sms {
    height: 216px;
}

.name {
    margin-bottom: 8px;
    font-weight: 600;
    color: #7FE366;
    font-size: 16px;
}

.input, .input-sms {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #7FE366;
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 16px;
    resize: none;
    transition: border-color 0.3s ease;
}

.input::placeholder,
.input-sms::placeholder {
    color: #bbb;
}

.input:focus,
.input-sms:focus {
    outline: none;
    border-color: #A7FFA6;
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-form-action {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-checkbox-pm {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ccc;
}

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #7FE366;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background-color: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #7FE366;
    border-color: #7FE366;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 0;
    left: 4px;
    color: #0B3D00;
    font-weight: 700;
    font-size: 16px;
}

.terms {
    color: #7FE366;
    cursor: pointer;
    text-decoration: underline;
    user-select: none;
}

.action {
    display: inline-block;
    font-size: 18px;
    padding: 14px 28px;
    font-weight: 700;
    color: #fff;
    background-color: #E36666;
    border: none;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    user-select: none;
    text-decoration: none; /* если вдруг <a> */
    line-height: 1;
}

.action:hover {
    background-color: #cc4444;
    transform: scale(1.05);
}

.action:active {
    transform: scale(0.98);
    background-color: #b33c3c;
}


/* Адаптив */
@media (max-width: 900px) {
    .section-contact-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .contact-form {
        margin-top: 40px;
        height: auto;
    }
}

