/* =========================================================
   landing.css — стили лендинга волонтёров Банка еды «Русь»
   Подключается ПОСЛЕ всех .min.css
   ========================================================= */

/* ----- Общие стили секций ----- */
.lnd-section-title {
    font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
    font-size: 30px;
    color: #054678;
    margin-bottom: 40px;
    text-align: center;
}
.lnd-section-title--white { color: #fff; }
@media (max-width: 767px) {
    .lnd-section-title { font-size: 22px; }
}

/* ----- 6.1. HERO ----- */
.lnd-hero {
    position: relative;
    min-height: calc(100vh - 104px - 10px);
    display: flex;
    align-items: center;
    background: url('/images/hero-volunteers.jpg') center/cover no-repeat;
    background-color: #054678;
    /* Карточка с отступами — как на основном сайте */
    margin-top: 10px;
    margin-left: 36px;
    margin-right: 36px;
    border-radius: 15px;
    overflow: hidden;
}
.lnd-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 70, 120, 0.55);
}
.lnd-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 60px;
    padding-bottom: 60px;
}
.lnd-hero__title {
    font-family: "Museo Sans Cyrl 900", Helvetica, Arial, sans-serif;
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}
.lnd-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.55;
}
.lnd-btn-cta {
    font-size: 16px;
    padding: 16px 40px;
}
@media (max-width: 767px) {
    .lnd-hero { min-height: calc(100vh - 104px - 10px); margin-left: 12px; margin-right: 12px; border-radius: 12px; }
    .lnd-hero__content { padding-top: 40px; padding-bottom: 40px; }
    .lnd-hero__title { font-size: 28px; }
    .lnd-hero__subtitle { font-size: 15px; }
    .lnd-btn-cta { padding: 14px 28px; }
}

/* ----- 6.2. ЦИФРЫ ----- */
.lnd-stats {
    background: #054678;
    padding: 50px 0;
    margin: 10px 36px 0;
    border-radius: 15px;
    overflow: hidden;
}
.lnd-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.lnd-stats__number {
    font-family: "Museo Sans Cyrl 900", Helvetica, Arial, sans-serif;
    font-size: 36px;
    color: #e7650c;
    line-height: 1.1;
    margin-bottom: 10px;
}
.lnd-stats__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.4;
}
.lnd-stats__source {
    text-align: center;
    margin-top: 32px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 1023px) {
    .lnd-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
    .lnd-stats__grid { grid-template-columns: 1fr; }
    .lnd-stats__number { font-size: 26px; }
}

/* ----- 6.3. АКТИВНОСТИ ----- */
.lnd-activities {
    background: #f5f6f8;
    padding: 64px 0;
    margin: 10px 36px 0;
    border-radius: 15px;
    overflow: hidden;
}
.lnd-activities__grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}
.lnd-activities__grid::-webkit-scrollbar {
    height: 4px;
}
.lnd-activities__grid::-webkit-scrollbar-track {
    background: rgba(5, 70, 120, 0.08);
    border-radius: 2px;
}
.lnd-activities__grid::-webkit-scrollbar-thumb {
    background: rgba(5, 70, 120, 0.25);
    border-radius: 2px;
}
.lnd-activity-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid rgba(5, 70, 120, 0.1);
    flex: 0 0 240px;
    scroll-snap-align: start;
}
.lnd-activity-card--accent {
    border-color: #e7650c;
    background: #fff9f5;
}
.lnd-activity-card__icon {
    margin-bottom: 16px;
    line-height: 0;
}
.lnd-activity-card__icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.lnd-activity-card__title {
    font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #054678;
    margin-bottom: 8px;
}
.lnd-activity-card__text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
@media (max-width: 767px) {
    .lnd-activity-card { flex: 0 0 200px; }
}

/* ----- 6.4. КАК СТАТЬ ВОЛОНТЁРОМ ----- */
.lnd-how {
    background: #fff;
    padding: 64px 0;
    margin: 10px 36px 0;
    border-radius: 15px;
    overflow: hidden;
}
.lnd-how__cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.lnd-how .steps-nowrap.mb-0 { margin-bottom: 0; }

/* ----- 6.5. БОНУСЫ ----- */
.lnd-benefits {
    background: #054678;
    padding: 64px 0;
    margin: 10px 36px 0;
    border-radius: 15px;
    overflow: hidden;
}
.lnd-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lnd-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.5;
}
.lnd-benefit-item--wide { grid-column: 1 / -1; }
.lnd-benefit-item__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}
@media (max-width: 1023px) {
    .lnd-benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .lnd-benefit-item--wide { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .lnd-benefits__grid { grid-template-columns: 1fr; }
    .lnd-benefit-item--wide { grid-column: 1; }
}

/* ----- 6.6. СМИ О НАС ----- */
.lnd-media {
    background: #fff;
    padding: 64px 0;
    margin: 10px 36px 0;
    border-radius: 15px;
    overflow: hidden;
}
.lnd-media__subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-top: -24px;
    margin-bottom: 40px;
    line-height: 1.5;
}
.lnd-media__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    margin-bottom: 36px;
    border-top: 1px solid rgba(5, 70, 120, 0.1);
}
.lnd-media-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(5, 70, 120, 0.1);
    text-decoration: none;
    transition: opacity 0.2s;
}
.lnd-media-card:hover { opacity: 0.72; }
.lnd-media-card__outlet {
    font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e7650c;
}
.lnd-media-card__title {
    font-size: 15px;
    color: #054678;
    line-height: 1.45;
    flex: 1;
}
.lnd-media-card__date {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
.lnd-media__more {
    text-align: center;
}
@media (max-width: 767px) {
    .lnd-media__grid { grid-template-columns: 1fr; }
}

/* ----- 6.7. ФИНАЛЬНЫЙ CTA ----- */
.lnd-final-cta {
    background: #054678;
    padding: 0;
    margin: 10px 36px 0;
    border-radius: 15px;
    overflow: hidden;
}
.lnd-final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 52px 0;
}
.lnd-final-cta__text-block { flex: 1; }
.lnd-final-cta__title {
    font-family: "Museo Sans Cyrl 900", Helvetica, Arial, sans-serif;
    font-size: 34px;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}
.lnd-final-cta__text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
    max-width: 480px;
    line-height: 1.5;
}
.lnd-final-cta__btn-wrap { flex-shrink: 0; }
@media (max-width: 1023px) {
    .lnd-final-cta__inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: 48px 0; }
}
@media (max-width: 767px) {
    .lnd-final-cta__title { font-size: 26px; }
    .lnd-final-cta__text { font-size: 15px; }
    .lnd-final-cta__btn-wrap { width: 100%; }
    .lnd-final-cta__btn-wrap .button-orange { width: 100%; text-align: center; }
}

/* ----- Мобильные отступы для секций-карточек ----- */
@media (max-width: 767px) {
    .lnd-stats,
    .lnd-activities,
    .lnd-how,
    .lnd-benefits,
    .lnd-media,
    .lnd-final-cta {
        margin-left: 12px;
        margin-right: 12px;
        border-radius: 12px;
    }
}

/* ----- 7. МОДАЛЬНОЕ ОКНО ----- */

/* Overlay */
.lnd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 70, 120, 0.6);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lnd-modal-overlay.is-open { display: flex; }

/* Modal box */
.lnd-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Close button */
.lnd-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 4px;
}
.lnd-modal__close:hover { color: #054678; }

/* Progress */
.lnd-modal__progress {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}
.lnd-modal__progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.4;
    transition: opacity 0.2s;
}
.lnd-modal__progress-step.is-active { opacity: 1; }
.lnd-modal__progress-step.is-done   { opacity: 0.7; }
.lnd-modal__progress-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #054678;
    color: #fff;
    font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lnd-modal__progress-step.is-active .lnd-modal__progress-num { background: #e7650c; }
.lnd-modal__progress-label {
    font-size: 13px;
    color: #054678;
    white-space: nowrap;
}
.lnd-modal__progress-divider {
    flex: 1;
    height: 2px;
    background: rgba(5, 70, 120, 0.15);
    margin: 0 16px;
}

/* Title & note */
.lnd-modal__title {
    font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
    font-size: 22px;
    color: #054678;
    margin-bottom: 6px;
}
.lnd-modal__note {
    font-size: 12px;
    color: #999;
    margin-bottom: 24px;
}

/* Footer buttons */
.lnd-modal__footer {
    margin-top: 28px;
    text-align: right;
}
.lnd-modal__footer--two-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Success screen */
.lnd-modal__success {
    text-align: center;
    padding: 20px 0;
}
.lnd-modal__success-icon {
    margin-bottom: 20px;
    line-height: 0;
}
.lnd-modal__success-icon img {
    width: 56px;
    height: 56px;
}
.lnd-modal__success-text {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.55;
}

/* Scroll lock */
body.modal-open { overflow: hidden; }

@media (max-width: 767px) {
    .lnd-modal { padding: 24px 18px; border-radius: 12px; }
    .lnd-modal__title { font-size: 18px; }
    .lnd-modal__footer--two-btn { flex-direction: column; gap: 12px; }
    .lnd-modal__footer--two-btn .button { width: 100%; text-align: center; }
}

/* ----- Расширенный футер ----- */
.footer-col--socials {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-socials-block__title {
    font-family: "Museo Sans Cyrl 700", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.footer-socials-block__icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-socials-block__icons .link-social { opacity: 0.7; transition: opacity 0.2s; }
.footer-socials-block__icons .link-social:hover { opacity: 1; }
/* newsletter удалён */
.footer-legal-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.footer-legal-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}
.footer-legal-links a:hover { color: rgba(255, 255, 255, 0.7); }

/* Подсказка при отсутствии hero-фото */
.lnd-hero--no-photo {
    background-color: #054678;
    background-image: none;
}

/* ----- Переопределения form-row внутри модалки ----- */
/* Принудительно убираем 3-колоночную сетку внутри модалки на узких экранах */
@media (max-width: 640px) {
    .lnd-modal .form-row--to-3 {
        flex-direction: column;
    }
    .lnd-modal .form-row--to-3 .form-element {
        width: 100%;
        min-width: 0;
    }
}

/* PD-согласие на шаге 1 */
.lnd-consent {
    margin-top: 16px;
    margin-bottom: 4px;
}
.lnd-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}
.lnd-consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.lnd-consent a { color: #054678; }
