/* =========================================================
   VEDIZAKAZ MOBILE SYSTEM V1
   Mobile only. Desktop intentionally untouched.
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------------------
       GLOBAL
       ----------------------------------------------------- */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        background: #f7f7fb;
    }

    .vz-container {
        width: calc(100% - 30px);
        max-width: none;
        margin-inline: auto;
    }

    .site-main {
        width: 100%;
        overflow: hidden;
    }

    .section {
        padding: 52px 0;
    }

    .section-kicker {
        font-size: 9px;
        line-height: 1.3;
        letter-spacing: .07em;
    }

    .section-heading,
    .section-heading--compact,
    .section-heading--simple {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;

        margin-bottom: 22px;
    }

    .section-heading h2,
    .signature-panel h2,
    .pricing-panel h2,
    .faq-layout h2 {
        margin-top: 8px;

        font-size: 34px;
        line-height: 1.02;
        letter-spacing: -.045em;
    }

    .section-heading > p,
    .signature-panel__content > p,
    .pricing-panel__content > p,
    .faq-layout__heading > p {
        font-size: 14px;
        line-height: 1.55;
    }

    .section-link,
    .text-link {
        font-size: 12px;
    }


    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .site-header__inner {
        min-height: 66px;
        gap: 12px;
    }

    .vz-logo {
        gap: 8px;
    }

    .vz-logo__mark {
        width: 38px;
        height: 38px;

        border-radius: 10px;

        font-size: 24px;
    }

    .vz-logo__word {
        font-size: 18px;
    }

    .site-menu-toggle {
        width: 42px;
        height: 42px;

        display: block;

        margin-left: auto;

        border-radius: 13px;
    }

    .site-nav,
    .site-header__actions {
        display: none;
    }

    .mobile-menu {
        max-height: calc(100vh - 66px);
        overflow-y: auto;

        border-bottom: 1px solid #e6e7ed;

        background: rgba(255,255,255,.98);

        box-shadow:
            0 20px 40px rgba(25,27,40,.08);
    }

    .mobile-menu__inner {
        gap: 0;

        padding-top: 8px;
        padding-bottom: 18px;
    }

    .mobile-menu__inner > a {
        padding: 14px 2px;

        border-bottom: 1px solid #eeeeF3;

        font-size: 15px;
        font-weight: 700;
    }

    .mobile-menu__actions {
        display: grid;
        grid-template-columns: 1fr;

        gap: 9px;

        padding-top: 15px;
    }


    /* -----------------------------------------------------
       HOME: PROCESS
       already compact, keep same language
       ----------------------------------------------------- */

    .home-process {
        padding-top: 14px;
        padding-bottom: 50px;
    }


    /* -----------------------------------------------------
       HOME: MAIN DIRECTIONS
       ----------------------------------------------------- */

    .home-directions {
        padding: 50px 0 56px;
    }

    .home-directions .section-heading--compact {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;

        margin-bottom: 20px;
    }

    .home-directions .section-heading h2 {
        max-width: 330px;

        font-size: 34px;
        line-height: 1.01;
    }

    .home-directions .section-link {
        margin: 0;
    }

    .direction-grid {
        display: grid;
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .direction-card {
        min-height: 0;

        display: grid;
        grid-template-columns: 46px minmax(0,1fr);
        grid-template-rows: auto auto auto;

        column-gap: 14px;

        padding: 18px;

        border-radius: 19px;
    }

    .direction-card .feature-icon {
        width: 42px;
        height: 42px;

        grid-column: 1;
        grid-row: 1 / span 3;

        margin: 0;

        border-radius: 12px;

        font-size: 16px;
    }

    .direction-card h3 {
        grid-column: 2;

        font-size: 15px;
        line-height: 1.2;
    }

    .direction-card p {
        grid-column: 2;

        margin: 5px 0 10px;

        font-size: 11.5px;
        line-height: 1.45;
    }

    .direction-card > span {
        grid-column: 2;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       HOME: DOCUMENTS
       ----------------------------------------------------- */

    .home-documents {
        padding: 18px 0 52px;
    }

    .home-documents__panel {
        min-height: 0;

        display: grid;
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 25px 21px;

        border-radius: 22px;
    }

    .home-documents__content h2 {
        font-size: 34px;
    }

    .home-documents__content p {
        margin: 15px 0;

        font-size: 13px;
        line-height: 1.55;
    }

    .document-stack {
        width: 100%;
        min-height: 245px;

        margin: 0;

        transform: none;
    }

    .stack-sheet {
        width: 235px;
        height: 195px;

        padding: 17px;
    }

    .stack-sheet--back {
        left: 53%;
        transform: translateX(-50%) rotate(7deg);
    }

    .stack-sheet--middle {
        left: 48%;
        transform: translateX(-50%) rotate(-5deg);
    }

    .stack-sheet--front {
        left: 50%;
        transform: translateX(-50%) translateY(22px);
    }

    .stack-sheet strong {
        margin-bottom: 17px;
        font-size: 10px;
    }

    .stack-table {
        height: 48px;
        margin-top: 15px;
    }

    .stack-sheet--front > span {
        margin-top: 10px;
        font-size: 12px;
    }


    /* -----------------------------------------------------
       HOME: ONE INPUT
       ----------------------------------------------------- */

    .once-section {
        padding: 48px 0;
    }

    .once-section__grid {
        display: grid;
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .once-content {
        order: 1;
    }

    .once-visual {
        order: 2;

        min-height: 0;

        display: grid;
        grid-template-columns: 1fr;

        gap: 11px;

        padding: 17px;

        border-radius: 21px;
    }

    .once-order {
        padding: 17px;

        border-radius: 16px;

        box-shadow: none;
    }

    .once-order > strong {
        font-size: 16px;
    }

    .once-arrow {
        transform: rotate(90deg);

        font-size: 20px;
        text-align: center;
    }

    .once-results {
        grid-template-columns: repeat(4,1fr);

        gap: 6px;
    }

    .once-results span {
        min-height: 48px;

        border-radius: 12px;

        font-size: 11px;
    }

    .once-content h2 {
        font-size: 34px;
    }

    .once-content p {
        margin: 14px 0;

        font-size: 13px;
        line-height: 1.55;
    }


    /* -----------------------------------------------------
       HOME: MOBILE FEATURE
       ----------------------------------------------------- */

    .mobile-section {
        padding: 48px 0;
    }

    .mobile-section__panel {
        min-height: 0;

        display: grid;
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 25px 21px 0;

        border-radius: 22px;
    }

    .mobile-section__content h2 {
        font-size: 34px;
    }

    .mobile-section__content p {
        margin: 14px 0;

        font-size: 13px;
        line-height: 1.55;
    }

    .mobile-phone {
        width: 190px;
        height: 365px;

        justify-self: center;

        margin: 5px 0 -38px;

        border-radius: 33px;

        transform: rotate(2deg);
    }


    /* -----------------------------------------------------
       FINAL CTA
       ----------------------------------------------------- */

    .final-cta {
        padding: 30px 0 56px;
    }

    .final-cta__panel {
        min-height: 0;

        display: grid;

        gap: 25px;

        padding: 28px 22px;

        border-radius: 22px;
    }

    .final-cta h2 {
        font-size: 34px;
    }

    .final-cta p {
        margin-top: 12px;

        font-size: 13px;
    }

    .final-cta .vz-btn {
        width: 100%;
    }


    /* =====================================================
       INNER PAGE HERO
       ===================================================== */

    .inner-hero {
        padding: 48px 0 35px;
    }

    .inner-hero__grid {
        display: grid;
        grid-template-columns: 1fr;

        gap: 23px;
    }

    .inner-hero h1 {
        max-width: none;

        margin-top: 11px;

        font-size: 42px;
        line-height: 1;
        letter-spacing: -.055em;
    }

    .inner-hero p {
        margin-top: 17px;

        font-size: 14px;
        line-height: 1.55;
    }

    .inner-hero--center {
        text-align: left;
    }

    .inner-hero--center p {
        margin-left: 0;
        margin-right: 0;
    }

    .inner-hero__badge {
        display: grid;
        grid-template-columns: 1fr;

        gap: 8px;

        padding: 16px;

        border-radius: 20px;
    }

    .inner-hero__badge span {
        padding: 13px 15px;

        border-radius: 13px;

        font-size: 13px;
    }

    .inner-hero__badge strong {
        display: none;
    }


    /* =====================================================
       FEATURES PAGE
       ===================================================== */

    .page-template-page-features .section {
        padding-top: 25px;
    }

    .page-template-page-features .feature-grid {
        display: grid;
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .page-template-page-features .feature-card {
        min-height: 0;

        display: grid;
        grid-template-columns: 44px minmax(0,1fr);

        column-gap: 14px;

        padding: 17px;

        border-radius: 19px;
    }

    .page-template-page-features .feature-card .feature-icon {
        width: 42px;
        height: 42px;

        grid-column: 1;
        grid-row: 1 / span 2;

        margin: 0;

        border-radius: 12px;
    }

    .page-template-page-features .feature-card h2 {
        grid-column: 2;

        margin: 1px 0 0;

        font-size: 15px;
    }

    .page-template-page-features .feature-card p {
        grid-column: 2;

        margin: 5px 0 0;

        font-size: 11.5px;
        line-height: 1.45;
    }


    /* Signature */

    .signature-section {
        padding-top: 38px;
    }

    .signature-panel {
        min-height: 0;

        display: grid;
        grid-template-columns: 1fr;

        gap: 28px;

        padding: 25px 21px;

        border-radius: 22px;
    }

    .signature-panel__content > p {
        margin-top: 14px;
    }

    .signature-card {
        min-height: 245px;
    }

    .signature-paper {
        width: 280px;
        height: 220px;

        padding: 20px;

        transform: rotate(-3deg);
    }

    .signature-name {
        left: 60px;
        bottom: 37px;

        font-size: 18px;
    }

    .signature-paper .stamp {
        width: 70px;
        height: 70px;
    }


    /* =====================================================
       DOCUMENTS PAGE
       ===================================================== */

    .document-hero-stack {
        display: grid;
        grid-template-columns: repeat(4,1fr);

        gap: 7px;
    }

    .document-hero-stack span {
        min-height: 62px;

        border-radius: 14px;

        font-size: 14px;
    }

    .documents-detail-grid {
        display: grid;
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .document-detail-card {
        min-height: 0;

        grid-template-columns: 48px minmax(0,1fr);

        gap: 13px;

        padding: 17px;

        border-radius: 19px;
    }

    .document-detail-card > span {
        width: 44px;
        height: 44px;

        border-radius: 12px;

        font-size: 13px;
    }

    .document-detail-card h2 {
        margin: 1px 0 5px;

        font-size: 16px;
    }

    .document-detail-card p {
        font-size: 11.5px;
        line-height: 1.45;
    }


    /* Data flow */

    .data-flow-section {
        padding-top: 32px;
    }

    .data-flow-panel {
        min-height: 0;

        display: grid;
        grid-template-columns: 1fr;

        gap: 23px;

        padding: 24px 20px;

        border-radius: 21px;
    }

    .data-flow-panel h2 {
        font-size: 30px;
    }

    .data-flow {
        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 7px;
    }

    .data-flow span,
    .data-flow strong {
        padding: 11px;

        border-radius: 12px;

        text-align: center;
        font-size: 11px;
    }

    .data-flow b {
        display: none;
    }

    .data-flow strong {
        grid-column: 1 / -1;
    }


    /* =====================================================
       HOW IT WORKS PAGE
       ===================================================== */

    .workflow {
        width: 100%;
        max-width: none;
    }

    .workflow-step {
        display: grid;
        grid-template-columns: 42px minmax(0,1fr);

        gap: 14px;

        margin-bottom: 10px;
        padding: 18px;

        border: 1px solid #e5e6ec;
        border-radius: 19px;

        background: #fff;
    }

    .workflow-step > span {
        width: 38px;
        height: 38px;

        display: grid;
        place-items: center;

        border-radius: 12px;

        color: #6038ed;
        background: #f0edff;

        font-size: 10px;
        letter-spacing: 0;
    }

    .workflow-step h2 {
        font-size: 15px;
        line-height: 1.2;
    }

    .workflow-step p {
        margin-top: 6px;

        font-size: 11.5px;
        line-height: 1.45;
    }


    /* =====================================================
       PRICING PAGE
       ===================================================== */

    .pricing-page {
        padding: 0 0 60px;
    }

    .single-price-card {
        max-width: none;

        padding: 22px;

        border-radius: 22px;

        box-shadow:
            0 10px 30px rgba(40,35,80,.045);
    }

    .single-price-card__price {
        margin-top: 5px;
    }

    .single-price-card__price strong {
        font-size: 38px;
    }

    .single-price-card__price span {
        font-size: 13px;
    }

    .single-price-card__features {
        display: grid;
        grid-template-columns: 1fr;

        gap: 10px;

        margin: 24px 0;
    }

    .single-price-card__features span {
        font-size: 12px;
    }

    .single-price-card .vz-btn {
        width: 100%;
    }


    /* =====================================================
       BLOG
       ===================================================== */

    .blog-grid {
        display: grid;
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .blog-card {
        min-height: 0;

        padding: 18px;

        border-radius: 19px;
    }

    .blog-card h2 {
        margin: 9px 0;

        font-size: 18px;
    }

    .blog-card__excerpt {
        font-size: 12px;
        line-height: 1.5;
    }

    .empty-state {
        padding: 22px;

        border-radius: 19px;
    }


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

    .site-footer {
        padding: 38px 0 22px;
    }

    .site-footer__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 30px 20px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__brand p {
        max-width: 300px;

        margin-top: 13px;

        font-size: 12px;
    }

    .site-footer__column {
        gap: 8px;
    }

    .site-footer__column strong {
        font-size: 12px;
    }

    .site-footer__column a {
        font-size: 12px;
    }

    .site-footer__bottom {
        display: grid;

        gap: 9px;

        margin-top: 32px;
        padding-top: 17px;
    }
}


/* Very narrow phones */

@media (max-width: 390px) {

    .vz-container {
        width: calc(100% - 24px);
    }

    .inner-hero h1 {
        font-size: 38px;
    }

    .home-directions .section-heading h2,
    .home-documents__content h2,
    .once-content h2,
    .mobile-section__content h2,
    .final-cta h2 {
        font-size: 31px;
    }

    .document-hero-stack {
        grid-template-columns: 1fr 1fr;
    }
}

/* VEDIZAKAZ MOBILE HEADER LOGO SIZE PATCH */
header .vz-logo__image,
header .vz-logo img,
.vz-header .vz-logo__image,
.vz-header .vz-logo img,
.site-header .vz-logo__image,
.site-header .vz-logo img {
    height: 36px;
    width: auto;
    max-width: none;
    display: block;
}




/* VEDIZAKAZ MOBILE HOME HERO FINAL START */

@media (max-width: 820px) {

    .vz-home-hero[data-home-hero="tatyana-final"] {
        height: auto !important;

        min-height:
            calc(
                100svh - 68px
            ) !important;

        max-height: none !important;

        overflow: hidden !important;

        background: #f8f8fd !important;
    }


    /*
     * На телефоне фото сверху.
     */

    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__media {
        position: relative !important;

        inset: auto !important;

        width: 100% !important;

        height: 43svh !important;

        min-height: 320px !important;
        max-height: 450px !important;

        overflow: hidden !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__media img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;

        object-position:
            58%
            center !important;
    }


    /*
     * Desktop fade выключаем.
     */

    .vz-home-hero[data-home-hero="tatyana-final"]::before {
        display: none !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]::after {
        display: none !important;
    }


    /*
     * Плавный переход фотографии вниз.
     */

    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__media::after {
        content: "" !important;

        display: block !important;

        position: absolute !important;

        z-index: 3 !important;

        left: 0 !important;
        right: 0 !important;
        bottom: -1px !important;

        height: 34% !important;

        pointer-events: none !important;

        background:
            linear-gradient(
                180deg,

                rgba(
                    248,
                    248,
                    253,
                    0
                ) 0%,

                rgba(
                    248,
                    248,
                    253,
                    .20
                ) 28%,

                rgba(
                    248,
                    248,
                    253,
                    .72
                ) 70%,

                #f8f8fd 100%
            ) !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__content {
        position: relative !important;

        z-index: 5 !important;

        display: block !important;

        width: 100% !important;
        height: auto !important;

        margin:
            -22px
            0
            0 !important;

        padding:
            0
            20px
            26px !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__copy {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__kicker {
        margin-bottom: 14px !important;

        font-size: 10px !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    h1 {
        width: 100% !important;
        max-width: none !important;

        margin-bottom: 17px !important;

        font-size:
            clamp(
                38px,
                10.8vw,
                50px
            ) !important;

        line-height: .96 !important;

        letter-spacing: -.04em !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    h1 > span {
        margin-top: 6px !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__lead {
        width: 100% !important;
        max-width: none !important;

        margin-bottom: 20px !important;

        font-size: 15px !important;
        line-height: 1.48 !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__actions {
        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 10px !important;

        width: 100% !important;

        margin-bottom: 17px !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__actions .vz-btn {
        width: 100% !important;

        min-height: 54px !important;

        justify-content: center !important;

        padding:
            0
            16px !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__benefits {
        display: grid !important;

        grid-template-columns:
            repeat(
                3,
                1fr
            ) !important;

        gap: 8px !important;

        width: 100% !important;

        font-size: 11px !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__benefits span {
        align-items: flex-start !important;
    }

}


@media (max-width: 390px) {

    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__media {
        height: 39svh !important;

        min-height: 285px !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    .vz-home-hero__content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }


    .vz-home-hero[data-home-hero="tatyana-final"]
    h1 {
        font-size:
            clamp(
                35px,
                10.2vw,
                43px
            ) !important;
    }

}

/* VEDIZAKAZ MOBILE HOME HERO FINAL END */


/* VEDIZAKAZ MOBILE TATIANA CLEAN START */

@media (max-width: 820px) {

    /*
     * Отдельная фотография для мобильного hero.
     * Без правых информационных плашек.
     *
     * Поддерживаем все hero-классы, которые
     * использовались во время разработки.
     */

    .vzhero-final-x__photo,
    .vz-target-hero__photo,
    .vz-home-hero__media {
        background-image:
            url("../images/home-hero-tatiana-mobile.webp") !important;

        background-repeat:
            no-repeat !important;

        background-size:
            cover !important;

        background-position:
            50% center !important;
    }


    /*
     * Desktop-фотографию скрываем ТОЛЬКО
     * внутри мобильного hero.
     */

    .vzhero-final-x__photo > img,
    .vz-target-hero__photo > img,
    .vz-home-hero__media > img {
        opacity: 0 !important;

        visibility: hidden !important;
    }

}


/*
 * Узкий смартфон:
 * немного смещаем Татьяну вправо,
 * чтобы телефон и лицо оставались в кадре.
 */

@media (max-width: 430px) {

    .vzhero-final-x__photo,
    .vz-target-hero__photo,
    .vz-home-hero__media {
        background-position:
            52% center !important;
    }

}

/* VEDIZAKAZ MOBILE TATIANA CLEAN END */


/* VEDIZAKAZ MOBILE KICKER POSITION START */

@media (max-width: 820px) {

    /*
     * Убираем наложение текстовой части на фотографию
     * и даём воздуху перед плашкой.
     */

    .vzhero-final-x__content,
    .vz-target-hero__content,
    .vz-home-hero__content {
        margin-top: 12px !important;
    }


    .vzhero-final-x__kicker,
    .vz-target-hero__kicker,
    .vz-home-hero__kicker {
        margin-top: 12px !important;
        margin-bottom: 18px !important;
    }

}

/* VEDIZAKAZ MOBILE KICKER POSITION END */


/* VEDIZAKAZ MOBILE PHOTO SEAM FIX START */

@media (max-width: 820px) {

    .vzhero-final-x__photo {
        position: relative !important;

        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;

        background-color: #f8f8fd !important;
    }


    /*
     * Закрываем нижний край фотографии
     * мягким переходом в фон страницы.
     */

    .vzhero-final-x__photo::after {
        content: "" !important;

        display: block !important;

        position: absolute !important;

        z-index: 20 !important;

        left: 0 !important;
        right: 0 !important;
        bottom: -2px !important;

        width: 100% !important;
        height: 72px !important;

        pointer-events: none !important;

        background:
            linear-gradient(
                180deg,

                rgba(248, 248, 253, 0) 0%,

                rgba(248, 248, 253, .30) 35%,

                rgba(248, 248, 253, .80) 72%,

                #f8f8fd 100%
            ) !important;
    }


    /*
     * Между фото и текстом не должно быть
     * отдельной линии/границы.
     */

    .vzhero-final-x__content {
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;

        background: #f8f8fd !important;
    }

}

/* VEDIZAKAZ MOBILE PHOTO SEAM FIX END */
