/* ==================================================
   БАЗОВЫЕ НАСТРОЙКИ
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #111;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}


/* ==================================================
   ОБЩИЙ КОНТЕЙНЕР
================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}


/* ==================================================
   ШАПКА
================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 70px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 40px;

    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid #eee;
}


/* PORTAL + ЛОГОТИП */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #111;
    text-decoration: none;

    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}


/* ТЕЛЕФОН */

.phone a {
    color: #111;
    text-decoration: none;
    font-size: 18px;
    white-space: nowrap;
}


/* ==================================================
   КНОПКИ
================================================== */

.button {
    display: inline-block;

    background: #111;
    color: #fff;

    text-decoration: none;

    padding: 18px 36px;

    border-radius: 50px;

    font-family: 'Inter', sans-serif;
    font-size: 18px;

    transition: .3s;
}

.button:hover {
    opacity: .8;
}


/* ==================================================
   ЗАГОЛОВКИ
================================================== */

h1,
h2,
.price,
.logo,
.trial-price,
.benefits-grid strong {
    font-family: 'Montserrat', sans-serif;
}

h2 {
    font-size: 42px;
    margin: 0 0 50px;
    letter-spacing: -1px;
}


/* ==================================================
   СЕКЦИИ
================================================== */

section {
    padding: 100px 0;
}


/* ==================================================
   ПЕРВЫЙ ЭКРАН
================================================== */

.hero {
    min-height: 90vh;

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

    gap: 60px;

    align-items: center;
}

.hero-text {
    min-width: 0;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: -2px;

    margin: 0 0 30px;
}

.hero p {
    font-size: 24px;
    color: #666;

    max-width: 450px;

    line-height: 1.4;
}

.price {
    font-size: 44px;
    font-weight: 700;

    margin: 35px 0;
}


/* ==================================================
   ГЛАВНОЕ ВЕРТИКАЛЬНОЕ ВИДЕО
================================================== */

.main-video {
    width: 430px;
    height: 760px;

    border-radius: 30px;
    overflow: hidden;

    background: #ddd;

    justify-self: end;
}

.main-video iframe {
    width: 100%;
    height: 100%;

    border: 0;
}

/* ==================================================
   КОНТЕНТ ДЛЯ ПРОДАЖ
================================================== */

.strategy{

    padding-top:70px;
    padding-bottom:70px;

}

.strategy-header{

    max-width:760px;
    margin-bottom:45px;

}

.section-label{

    display:inline-block;

    margin-bottom:18px;

    font-size:13px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;

    color:#777;

}

.strategy h2{

    margin:0 0 20px;

    font-size:46px;
    line-height:1.05;
    letter-spacing:-1.5px;

}

.strategy-lead{

    margin:0;

    font-size:22px;
    line-height:1.5;
    color:#666;

}

.strategy-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;

    margin-bottom:40px;

}

.strategy-card{

    border:1px solid #e7e7e7;
    border-radius:20px;

    padding:26px;

}

.strategy-card strong{

    display:block;

    margin-bottom:12px;

    font-family:'Montserrat',sans-serif;
    font-size:20px;
    font-weight:600;

}

.strategy-card p{

    margin:0;

    font-size:16px;
    line-height:1.6;
    color:#666;

}

.strategy-quote{

    border-left:3px solid #111;

    padding-left:28px;

    max-width:760px;

}

.strategy-quote p{

    margin:0 0 16px;

    font-size:18px;
    line-height:1.65;
    color:#666;

}

.strategy-quote h3{

    margin:0;

    font-family:'Montserrat',sans-serif;

    font-size:30px;
    line-height:1.2;
    letter-spacing:-1px;
    font-weight:600;

}

/* ==================================================
   МОБИЛЬНАЯ ВЕРСИЯ
================================================== */

@media(max-width:900px){

    .strategy{

        padding-top:50px;
        padding-bottom:50px;

    }

    .strategy h2{

        font-size:34px;

    }

    .strategy-lead{

        font-size:18px;

    }

    .strategy-grid{

        grid-template-columns:1fr;
        gap:14px;

    }

    .strategy-card{

        padding:22px;

    }

    .strategy-quote{

        padding-left:18px;

    }

    .strategy-quote h3{

        font-size:24px;

    }

}

/* ==================================================
   ЧТО ВЫ ПОЛУЧИТЕ
   Компактный список характеристик
================================================== */

.benefits {

    padding-top: 70px;
    padding-bottom: 55px;

}


/* ==================================================
   ЗАГОЛОВОК
================================================== */

.benefits h2 {

    margin-bottom: 30px;

}


/* ==================================================
   СПИСОК
================================================== */

.benefits-grid {

    display: grid;

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

    border-top: 1px solid #ddd;

}


/* ==================================================
   ЭЛЕМЕНТ
================================================== */

.benefits-grid div {

    min-height: 85px;

    padding: 18px 25px 18px 0;

    border-bottom: 1px solid #ddd;

    display: flex;

    align-items: center;

    gap: 18px;

    font-size: 16px;

    line-height: 1.3;

}


/* Вертикальные разделители между колонками */

.benefits-grid div:not(:nth-child(3n + 1)) {

    padding-left: 25px;

    border-left: 1px solid #ddd;

}


/* ==================================================
   ЦИФРА
================================================== */

.benefits-grid strong {

    flex-shrink: 0;

    min-width: 55px;

    margin: 0;

    font-family: 'Montserrat', sans-serif;

    font-size: 34px;

    font-weight: 600;

    line-height: 1;

    letter-spacing: -1.5px;

}


/* ==================================================
   МОБИЛЬНАЯ ВЕРСИЯ
================================================== */

@media (max-width: 900px) {

    .benefits {

        padding-top: 50px;

        padding-bottom: 35px;

    }


    .benefits h2 {

        margin-bottom: 20px;

    }


    .benefits-grid {

        display: grid;

        grid-template-columns: 1fr;

    }


    .benefits-grid div {

        min-height: 62px;

        padding: 12px 0;

        border-left: none !important;

        border-bottom: 1px solid #ddd;

        gap: 14px;

        font-size: 15px;

    }


    .benefits-grid div:not(:nth-child(3n + 1)) {

        padding-left: 0;

    }


    .benefits-grid strong {

        min-width: 48px;

        font-size: 28px;

    }

}

/* ==================================================
   КАРУСЕЛЬ ПОРТФОЛИО
================================================== */

.portfolio {
    padding-top: 40px;
    padding-bottom: 60px;
}


/*
   ВАЖНО:
   В index.html внутри portfolio у тебя есть
   дополнительный .container.
   Поэтому здесь не задаём ему дополнительные
   размеры — используем текущую структуру.
*/

.portfolio h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    align-items: flex-start;
}

.swiper-slide {
    width: auto;
}

.reel-video {
    width: 260px;
    height: 460px;

    background: #ddd;

    border-radius: 25px;

    overflow: hidden;
}

.reel-video iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* СТРЕЛКИ */

.swiper-button-next,
.swiper-button-prev {
    color: #111;
}


/* ==================================================
   ГОРИЗОНТАЛЬНЫЕ ВИДЕО
================================================== */

.horizontal-portfolio {
    padding-top: 40px;
    padding-bottom: 40px;
}

.horizontal-description {
    font-size: 20px;
    color: #666;

    margin-top: -30px;
    margin-bottom: 40px;
}

.horizontal-videos {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.horizontal-video {
    aspect-ratio: 16 / 9;

    background: #ddd;

    border-radius: 20px;

    overflow: hidden;
}

.horizontal-video iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* ==================================================
   ПАКЕТ
================================================== */

.package {
    background: #111;
    color: #fff;

    border-radius: 40px;

    padding: 60px;
}

.package h2 {
    color: #fff;
}

.package ul {
    list-style: none;

    padding: 0;

    font-size: 24px;
    line-height: 1.8;
}


/* ==================================================
   ПРОБНЫЙ ФОРМАТ
================================================== */

.trial {
    margin-top: 40px;

    padding: 35px 40px;

    border: 1px solid #ddd;

    border-radius: 25px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;
}

.trial-info h2 {
    margin: 0 0 12px;

    font-size: 32px;
}

.trial-info p {
    margin: 0 0 8px;

    font-size: 22px;
    font-weight: 600;
}

.trial-info span {
    color: #666;

    font-size: 16px;
}

.trial-right {
    display: flex;

    align-items: center;

    gap: 30px;

    flex-shrink: 0;
}

.trial-price {
    font-size: 32px;
    font-weight: 700;

    white-space: nowrap;
}


/* ==================================================
   ФОРМА
================================================== */

.contact {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-content {
    max-width: 650px;
}

.contact h2 {
    margin-bottom: 35px;
}

#contact-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.form-field label {
    font-size: 15px;
    color: #666;
}

.form-field input {
    width: 100%;

    padding: 17px 18px;

    border: 1px solid #ccc;
    border-radius: 12px;

    background: #fff;
    color: #111;

    font-family: 'Inter', sans-serif;
    font-size: 17px;

    outline: none;
}

.form-field input:focus {
    border-color: #111;
}


/* СОГЛАСИЕ */

.consent {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 5px;

    font-size: 14px;
    line-height: 1.5;

    color: #666;

    cursor: pointer;
}

.consent input {
    width: 18px;
    height: 18px;

    margin: 2px 0 0;

    flex-shrink: 0;
}

.consent a {
    color: #111;
    text-decoration: underline;
}


/* КНОПКА ФОРМЫ */

.form-button {
    border: 0;

    cursor: pointer;

    font-family: 'Montserrat', sans-serif;
    font-size: 17px;

    margin-top: 5px;
}

.form-button:disabled {
    opacity: .6;
    cursor: wait;
}


/* ==================================================
   СООБЩЕНИЕ ПОСЛЕ ОТПРАВКИ
================================================== */

.form-success {
    margin-top: 25px;

    padding: 25px;

    border: 1px solid #ddd;

    border-radius: 16px;

    font-size: 16px;
    line-height: 1.5;
}

.form-success strong {
    display: block;

    font-family: 'Montserrat', sans-serif;

    font-size: 20px;

    margin-bottom: 10px;
}

.form-success p {
    margin: 0;

    color: #666;
}


/* ==================================================
   ФУТЕР
================================================== */

.footer {
    margin-top: 90px;

    padding: 55px 0;

    border-top: 1px solid #e7e7e7;

    display: grid;

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

    gap: 40px;

    align-items: start;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;

    font-size: 24px;
    font-weight: 700;

    margin-bottom: 15px;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;

    font-size: 15px;
    font-weight: 600;

    margin-bottom: 18px;

    text-transform: uppercase;

    letter-spacing: .05em;

    color: #777;
}

.footer-text {
    font-size: 15px;

    line-height: 1.6;

    color: #666;

    max-width: 260px;
}

.footer-phone {
    display: inline-block;

    font-family: 'Montserrat', sans-serif;

    font-size: 20px;
    font-weight: 600;

    color: #111;

    text-decoration: none;

    margin-bottom: 18px;

    white-space: nowrap;

    letter-spacing: -.02em;
}

.footer-phone:hover {
    opacity: .6;
}

.footer-links {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;
}

.footer-links a,
.footer-right a {
    color: #111;

    text-decoration: none;

    font-size: 15px;

    transition: .2s;
}

.footer-links a:hover,
.footer-right a:hover {
    opacity: .6;
}


/* ==================================================
   НИЖНЯЯ СТРОКА ФУТЕРА
================================================== */

.footer-bottom {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    padding: 22px 0 40px;

    border-top: 1px solid #f0f0f0;
}

.copyright {
    font-size: 14px;
    color: #888;
}

.footer-note {
    max-width: 420px;

    text-align: right;

    font-size: 12px;

    line-height: 1.45;

    color: #9a9a9a;
}


/* ==================================================
   СТРАНИЦА ПОЛИТИКИ
================================================== */

.privacy-page {
    max-width: 900px;

    margin: 0 auto;

    padding: 40px 30px 70px;
}

.privacy-header {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 100px;
}

.privacy-logo {
    font-family: 'Montserrat', sans-serif;

    font-size: 22px;
    font-weight: 700;

    letter-spacing: -.5px;
}

.privacy-back {
    font-size: 14px;

    color: inherit;

    text-decoration: none;
}

.privacy-back:hover {
    text-decoration: underline;
}

.privacy-title {
    margin-bottom: 60px;
}

.privacy-title h1 {
    max-width: 800px;

    margin: 0 0 18px;

    font-family: 'Montserrat', sans-serif;

    font-size: clamp(38px, 6vw, 64px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -2px;
}

.privacy-date {
    font-size: 14px;

    opacity: .55;
}

.privacy-content {
    max-width: 720px;
}

.privacy-content h2 {
    margin: 50px 0 18px;

    font-family: 'Montserrat', sans-serif;

    font-size: 21px;

    font-weight: 600;

    line-height: 1.25;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin: 0 0 18px;

    font-family: 'Inter', sans-serif;

    font-size: 16px;

    line-height: 1.7;
}

.privacy-content ul {
    margin: 0 0 20px;

    padding-left: 22px;
}

.privacy-content li {
    margin-bottom: 9px;

    font-family: 'Inter', sans-serif;

    font-size: 16px;

    line-height: 1.6;
}

.privacy-footer {
    max-width: 720px;

    margin-top: 90px;

    padding-top: 25px;

    border-top: 1px solid rgba(0, 0, 0, .15);
}

.privacy-footer a {
    font-family: 'Inter', sans-serif;

    font-size: 14px;

    color: inherit;

    text-decoration: none;
}

.privacy-footer a:hover {
    text-decoration: underline;
}


/* ==================================================
   МОБИЛЬНАЯ ВЕРСИЯ
================================================== */

@media (max-width: 900px) {

    /* ----------------------------------------------
       ОБЩИЙ КОНТЕЙНЕР
    ---------------------------------------------- */

    .container {
        padding: 20px;
    }


    /* ----------------------------------------------
       СЕКЦИИ
    ---------------------------------------------- */

    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    h2 {
        font-size: 34px;
        margin-bottom: 25px;
    }


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

    .header {
        height: 65px;

        padding: 0 20px;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        width: 30px;
        height: 30px;
    }

    .phone a {
        font-size: 15px;
    }


    /* ----------------------------------------------
       HERO
    ---------------------------------------------- */

    .hero {
        grid-template-columns: 1fr;

        min-height: auto;

        gap: 40px;
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 20px;
    }

    .price {
        font-size: 36px;

        margin: 30px 0;
    }


    /* ----------------------------------------------
       ГЛАВНОЕ ВИДЕО
    ---------------------------------------------- */

    .main-video {
        width: 100%;
        height: auto;

        aspect-ratio: 9 / 16;

        justify-self: stretch;
    }


    /* ----------------------------------------------
       BENEFITS
    ---------------------------------------------- */

    .benefits {
        padding-bottom: 25px;
    }

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


    /* ----------------------------------------------
       PORTFOLIO
    ---------------------------------------------- */

    .portfolio {
        padding-top: 25px;
        padding-bottom: 50px;
    }

    .portfolio h2 {
        margin-top: 0;
        margin-bottom: 25px;
    }

    /*
       2 вертикальных ролика на мобильном.
       Именно здесь задаём размер.
    */

    .portfolio .reel-video {
        width: 160px;
        height: 284px;
    }

    .portfolio .swiper-slide {
        width: 160px;
    }


    /* ----------------------------------------------
       HORIZONTAL
    ---------------------------------------------- */

    .horizontal-portfolio {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .horizontal-videos {
        grid-template-columns: 1fr;
    }

    .horizontal-description {
        margin-top: -10px;
        margin-bottom: 25px;

        font-size: 17px;
    }


    /* ----------------------------------------------
       PACKAGE
    ---------------------------------------------- */

    .package {
        padding: 35px;

        border-radius: 30px;
    }

    .package ul {
        font-size: 19px;
    }


    /* ----------------------------------------------
       TRIAL
    ---------------------------------------------- */

    .trial {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px;

        margin-top: 25px;
    }

    .trial-right {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .trial-price {
        font-size: 28px;

        white-space: nowrap;
    }


    /* ----------------------------------------------
       CONTACT
    ---------------------------------------------- */

    .contact {
        padding-top: 50px;
        padding-bottom: 50px;
    }


    /* ----------------------------------------------
       FOOTER
    ---------------------------------------------- */

    .footer {
        grid-template-columns: 1fr 1fr;

        gap: 32px 24px;

        text-align: left;
    }

    .footer-left {
        grid-column: 1 / -1;
    }

    .footer-text {
        max-width: 100%;
    }

    .footer-links {
        gap: 18px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .footer-note {
        text-align: left;

        max-width: 100%;
    }

}


/* ==================================================
   МОБИЛЬНАЯ СТРАНИЦА ПОЛИТИКИ
================================================== */

@media (max-width: 600px) {

    .privacy-page {
        padding: 25px 20px 50px;
    }

    .privacy-header {
        margin-bottom: 65px;
    }

    .privacy-logo {
        font-size: 20px;
    }

    .privacy-title {
        margin-bottom: 45px;
    }

    .privacy-title h1 {
        font-size: 38px;

        letter-spacing: -1.2px;
    }

    .privacy-content h2 {
        margin-top: 40px;

        font-size: 19px;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 15px;

        line-height: 1.65;
    }

    .privacy-footer {
        margin-top: 65px;
    }

}
/* ==================================================
   КОМПАКТНЫЙ ПЕРВЫЙ ЭКРАН — DESKTOP
================================================== */

@media (min-width: 901px) {

    .hero {
        min-height: 75vh;
        grid-template-columns: 1fr 380px;
        gap: 50px;
    }

    .hero h1 {
        font-size: 52px;
        line-height: 1.05;
        letter-spacing: -1.8px;
        margin-bottom: 22px;
    }

    .hero p {
        font-size: 20px;
        max-width: 400px;
    }

    .price {
        font-size: 36px;
        margin: 25px 0;
    }

    .main-video {
        width: 380px;
        height: 675px;
        border-radius: 26px;
    }

}