/* ========== ПОЛНЫЙ СТИЛЬ САЙТА ========== */


/* Шрифты: Vollkorn (заголовки), Ubuntu (текст) */


/* ========================================== */


/* ---------- СБРОС СТИЛЕЙ ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    line-height: 1.5;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ---------- ТИПОГРАФИЯ ---------- */

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.service-card h3,
.benefit-card h3,
.about-title,
.faq-title,
.contact-info h3 {
    font-family: 'Vollkorn', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    font-style: normal;
}


/* ---------- ШАПКА ---------- */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Логотип — если есть */

.logo img {
    display: block;
    height: 50px;
}


/* Навигация */

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav a:hover {
    text-decoration: underline;
}


/* ---------- ГЛАВНЫЙ ЭКРАН (HERO) ---------- */

.hero {
    min-height: 100vh;
    background-image: url("images/bg.png");
    /* ЗАМЕНИТЕ НА СВОЙ ФАЙЛ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 2;
    color: white;
    max-width: 800px;
    /* КООРДИНАТЫ — НАСТРОЙТЕ ПОД СВОЙ МАКЕТ */
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.hero-title {
    font-family: 'Vollkorn', serif;
    font-weight: 400;
    font-size: 76.8px;
    color: #ECF0F1;
    margin-bottom: 38.4px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    display: block;
    font-size: 0.9em;
    margin-top: 5px;
}

.hero-text {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #222;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 500;
    border-left: 5px solid #0066cc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-badge::before {
    content: '✔';
    font-size: 22px;
    color: #0066cc;
    margin-right: 12px;
    font-weight: bold;
}

.nav {
    margin-left: auto;
    /* прижимает меню к правому краю */
}


/* ---------- УСЛУГИ ---------- */

.services {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    font-size: 48px;
    color: #0a1e3c;
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: 0.3s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Vollkorn', serif;
    font-size: 24px;
    font-weight: 400;
    color: #0a1e3c;
    margin: 20px 20px 12px;
}

.service-card p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #4a5568;
    margin: 0 20px 25px;
}


/* ---------- ПОЧЕМУ МЫ ---------- */

.why-us {
    padding: 80px 0;
    background-color: #f8fafc;
    margin-bottom: 80px;
    /* добавьте эту строку */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-family: 'Vollkorn', serif;
    font-size: 26px;
    font-weight: 400;
    color: #0a1e3c;
    margin-bottom: 15px;
}

.benefit-card p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
}


/* ---------- О НАС + FAQ ---------- */

.about-faq {
    padding: 80px 0;
    background-color: #fff;
    margin-top: 80px;
    /* добавьте эту строку */
}

.about-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-title,
.faq-title {
    font-size: 42px;
    color: #0a1e3c;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
}

.faq-subtitle {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0a1e3c;
    padding: 8px 0;
    cursor: pointer;
    transition: 0.2s;
}

.faq-question:hover {
    color: #0066cc;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.2s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 16px;
}


/* ---------- ПАРТНЁРЫ ---------- */

.partners {
    padding: 60px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 40px;
    margin-bottom: 30px;
}

.partners-row:last-child {
    margin-bottom: 0;
}

.partner-item {
    flex: 0 0 auto;
    width: calc((100% / 12) - 40px);
    max-width: 140px;
    min-width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.partner-item:hover {
    opacity: 1;
}

.partner-item img {
    width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}


/* ---------- КОНТАКТЫ ---------- */

.contacts {
    padding: 80px 0;
    background-color: #fff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-info h3 {
    font-size: 28px;
    color: #0a1e3c;
    margin-bottom: 20px;
}

.contact-info p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #0066cc;
    width: 20px;
    font-size: 18px;
}

.contact-form {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
}

.contact-form h3 {
    font-size: 28px;
    color: #0a1e3c;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}


/* ---------- ФУТЕР ---------- */

.footer {
    background-color: #0a1e3c;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer a:hover {
    border-bottom-color: white;
}


/* ---------- АДАПТИВНОСТЬ ---------- */


/* Планшеты (до 992px) */

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .partners-row {
        gap: 20px 30px;
    }
    .partner-item {
        width: calc(100% / 6 - 30px);
        max-width: 120px;
    }
}


/* Телефоны (до 768px) */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav a {
        font-size: 16px;
    }
    .hero-title {
        font-size: 48px;
    }
    .hero-title span {
        font-size: 38px;
    }
    .hero-text {
        font-size: 18px;
    }
    .hero-badge {
        font-size: 16px;
        padding: 12px 20px;
    }
    .section-title {
        font-size: 36px;
    }
}


/* Маленькие телефоны (до 576px) */

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .partners-row {
        gap: 15px;
    }
    .partner-item {
        width: calc(100% / 3 - 15px);
        min-width: 80px;
        max-width: 100px;
    }
    .partner-item img {
        max-height: 50px;
    }
    .hero-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-title span {
        font-size: 28px;
    }
    .hero-text {
        font-size: 16px;
    }
    .hero-badge {
        font-size: 14px;
        padding: 10px 16px;
    }
    .contact-form {
        padding: 20px;
    }
}


/* ---------- ДОПОЛНИТЕЛЬНО ---------- */


/* Плавная прокрутка */

html {
    scroll-behavior: smooth;
}


/* Выделение текста */

::selection {
    background-color: #0066cc;
    color: white;
}


/* ========== ПАРТНЁРЫ ========== */

.partners {
    padding: 60px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px 40px;
    margin-bottom: 30px;
}

.partners-row:last-child {
    margin-bottom: 0;
}

.partner-item {
    flex: 0 0 auto;
    width: calc((100% / 12) - 40px);
    /* примерно под 12 элементов в ряд */
    max-width: 140px;
    /* ограничиваем максимальную ширину логотипа */
    min-width: 100px;
    /* минимальная ширина */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.partner-item:hover {
    opacity: 1;
}

.partner-item img {
    width: 100%;
    /* подстраивается под ширину родителя */
    height: auto;
    max-height: 70px;
    /* ограничиваем высоту, чтобы логотипы не были слишком большими */
    object-fit: contain;
}

.partners-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* первая строка 12 колонок */
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.partners-row:last-child {
    grid-template-columns: repeat(11, 1fr);
    /* вторая строка 11 колонок */
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* ========== ТРИ ФОТО В РЯД ========== */

.photo-row {
    width: 100%;
    background-color: #fff;
}

.photo-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 300px;
}

.photo-item {
    overflow: hidden;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.05);
}


/* ========== ПРЕИМУЩЕСТВА ========== */

.why-us {
    padding: 80px 0;
    background-color: #E5E8E8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    font-size: 48px;
    line-height: 1;
    min-width: 60px;
    text-align: center;
}

.benefit-content h3 {
    font-family: 'Vollkorn', serif;
    font-size: 24px;
    font-weight: 400;
    color: #0a1e3c;
    margin-bottom: 8px;
}

.benefit-content p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
}

@media (max-width: 992px) {
    .photo-container {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .photo-container {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .photo-container {
        grid-template-columns: 1fr;
        height: auto;
        gap: 5px;
    }
    .photo-item {
        height: 200px;
    }
}


/* ========== ТРИ ФОТО В РЯД ========== */

.photo-row {
    width: 100%;
    background-color: #fff;
    /* фон вокруг фото, можно изменить */
}

.photo-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* три колонки одинаковой ширины */
    height: 300px;
    /* фиксированная высота, как в макете */
}

.photo-item {
    overflow: hidden;
    /* чтобы при увеличении фото не вылезало */
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* фото заполняет ячейку без искажений, обрезается */
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.05);
    /* легкое увеличение при наведении */
}


/* ========== ПОЧЕМУ ВЫБРАТЬ НАС ========== */

.why-us {
    padding: 80px 0;
    background-color: #E5E8E8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-content h3 {
    font-family: 'Vollkorn', serif;
    font-size: 24px;
    font-weight: 400;
    color: #0a1e3c;
    margin-bottom: 8px;
}

.benefit-content p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ========== О НАС ========== */

.about-section {
    padding: 80px 0;
    background-color: #ffffff;
    /* белый фон */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* две равные колонки */
    gap: 60px;
    /* расстояние между колонками */
    align-items: center;
    /* вертикальное выравнивание по центру */
}

.about-text {
    max-width: 555px;
    /* ширина текстового блока как в макете */
    margin-left: auto;
    /* прижимаем текст к правому краю левой колонки (ближе к центру) */
    margin-right: 0;
}

.about-title {
    font-family: 'Vollkorn', serif;
    font-size: 42px;
    font-weight: 400;
    color: #0a1e3c;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    max-width: 457px;
    /* ширина фото как в макете */
    margin-right: auto;
    /* прижимаем фото к левому краю правой колонки (ближе к центру) */
    margin-left: 70px;
    border-radius: 10px;
    /* скругление углов */
    overflow: hidden;
    /* чтобы фото не вылезало за скругление */
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    /* дополнительная страховка */
}


/* Адаптивность для планшетов */

@media (max-width: 992px) {
    .about-grid {
        gap: 40px;
    }
    .about-title {
        font-size: 36px;
    }
}


/* Адаптивность для мобильных */

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        /* одна колонка */
        gap: 30px;
    }
    .about-text {
        margin-left: 0;
        /* на мобильных текст по левому краю */
        max-width: 100%;
    }
    .about-image {
        margin-right: 0;
        max-width: 100%;
        /* фото на всю ширину */
    }
}


/* ========== FAQ ========== */

.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 128px;
    max-width: 1170px;
    margin: 0 auto;
}

.faq-image {
    width: 360px;
    height: 252.4px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faq-content {
    width: 682.5px;
    flex-shrink: 0;
}

.faq-heading {
    font-family: 'Vollkorn', serif;
    font-size: 42px;
    font-weight: 400;
    color: #0a1e3c;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.faq-subtitle {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0a1e3c;
    padding: 8px 0;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #0066cc;
}

.faq-icon {
    font-size: 26px;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* достаточно для самого длинного ответа */
    padding-top: 16px;
}

.faq-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* было center, меняем на flex-start */
    gap: 128px;
    max-width: 1170px;
    margin: 0 auto;
}

.faq-image {
    margin-top: 70px;
    /* подберите нужное значение */
    /* остальные стили остаются */
}


/* ========== БЛОК «ГОТОВЫ ПОМОЧЬ» ========== */

.help-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.help-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 128px;
    /* расстояние между колонками */
    max-width: 1170px;
    margin: 0 auto;
}

.help-text {
    width: 585px;
    /* ширина текстового блока */
    flex-shrink: 0;
}

.help-title {
    font-family: 'Vollkorn', serif;
    font-size: 42px;
    font-weight: 400;
    color: #0a1e3c;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.help-description {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #4a5568;
}

.help-form {
    width: 457.5px;
    /* ширина формы */
    flex-shrink: 0;
}

.help-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #0a1e3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    /* тонкая серая рамка */
    border-radius: 10px;
    /* скругление 10px */
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    color: #1e293b;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    text-align: right;
    /* кнопка справа снизу */
}

.btn-submit {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}


/* Адаптивность */

@media (max-width: 1200px) {
    .help-grid {
        gap: 80px;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .help-grid {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }
    .help-text,
    .help-form {
        width: 100%;
        max-width: 585px;
        margin: 0 auto;
    }
    .help-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .help-section {
        padding: 60px 0;
    }
    .btn-submit {
        width: 100%;
        /* на мобильных кнопка на всю ширину */
        text-align: center;
    }
}


/* ========== ГДЕ НАС НАЙТИ ========== */

.location-section {
    padding: 80px 0 0 0;
    /* убираем нижний отступ, чтобы карта прилегала */
    background-color: #ffffff;
}

.location-title {
    font-family: 'Vollkorn', serif;
    font-size: 42px;
    font-weight: 400;
    color: #0a1e3c;
    text-align: center;
    margin: 0 0 60px 0;
    line-height: 1.2;
}

.location-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto 60px auto;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.info-text h3 {
    font-family: 'Vollkorn', serif;
    font-size: 22px;
    font-weight: 400;
    color: #0a1e3c;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.info-text p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 8px 0;
}

.info-text p:last-child {
    margin-bottom: 0;
}


/* Карта на всю ширину */

.map-container-fullwidth {
    width: 100%;
    margin-top: 40px;
    /* отступ от блоков с контактами */
}

.map-container-fullwidth iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

.site-footer {
    background-color: #f8f9fa;
    /* светло-серый, можно белый */
    padding: 30px 0;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
}


/* Адаптивность */

@media (max-width: 992px) {
    .location-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 0 20px;
    }
    .location-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .location-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .map-container-fullwidth iframe {
        height: 300px;
    }
}