html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat";
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    cursor: pointer;
}

li::marker {
    font-size: 0.7em;
}

/* Секция header */

.header {
    display: flex;
    position: relative;
}

.header__background {
    background-image: url("/wp-content/themes/ntr-webinar/assets/img/header-bg1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.header__link {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 36px 52px 0 0;
}

.header__container {
    padding: clamp(50px, 4vw, 70px) clamp(20px, 3vw, 40px) clamp(120px, 25vw, 450px) clamp(10px, 2vw, 60px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
}

.header__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header__link h3 {
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
}

.header__title {
    margin-bottom: 52px;
}

.header__title h1 {
    margin: 0;
    padding-top: 8px;
    font-size: 100px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.header__subtitle {
    margin: 0 0 62px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #ffffff;
    gap: 12px;
}

.header__brand {
    display: flex;
    align-items: center;
}

.header__subtitle span {
    display: flex;
    align-items: center;
    font-size: clamp(25px, 5vw, 40px);
    font-weight: 700;
    line-height: 140%;
}

.header__logo {
    z-index: 4;
    object-fit: contain;
}

.header__text {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    line-height: 140%;
    flex-shrink: 0;
}

.event__date {
    margin: 0 0 52px 0;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
    line-height: 120%;
    text-transform: uppercase;
    color: #c4d2e9;
}

.registration__btn {
    max-width: 456px;
    max-height: 82px;
    min-width: 310px;
    border-radius: 4px;
    width: 100%;
    height: auto;
    display: block;
}

.registration__btn button,
.content__registration button {
    padding: clamp(16px, 4vw, 28px) clamp(20px, 10vw, 143px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 700;
    line-height: 26px;
    border: none;
    border-radius: 4px;
    background-color: #3ebb7a;
    color: #ffffff;
    transition: all 0.3s ease;
}

.header__tagline {
    font-size: clamp(30px, 8vw, 128px);
    font-weight: 800;
    line-height: 120%;
    color: #c4d2e9;
}

/* Секция контента */

.content {
    display: flex;
    justify-content: center;
}

.content__wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 110px 10px;
    max-width: 960px;
    gap: 80px;
}

.content__meta {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.content__meta-item {
    margin: 0;
    font-size: clamp(20px, 1.9vw, 24px);
    font-weight: 400;
    line-height: 140%;
}

.content__link {
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    color: #1c6bd2;
}

.content__lead h2,
h3 {
    margin: 0;
}

.content__lead {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content__lead-title,
.content__lead-sub {
    font-size: clamp(24px, 1.9vw, 32px);
    font-weight: 500;
    line-height: 130%;
}

.content__lead-note {
    font-size: clamp(20px, 1.9vw, 24px);
    line-height: 140%;
    font-weight: 400;
    color: #0b1e2e;
}

.content__context-title,
.content__discussion-title,
.content__audience-title,
.content__goal-title,
.content__discussion-title,
.content__format-title,
.content__section-title {
    margin: 0 0 20px 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 140%;
    color: #0b1e2e;
}

.context__text {
    margin: 5px 0 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

.content__emph {
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    color: #1c6bd2;
}

.audience__list,
.discussion__questions-list,
.content__format-list {
    padding-left: 20px;
}

.audience__list-item,
.discussion__questions-item,
.content__format-item {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    color: #0b1e2e;
}

.format__text,
.goal__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

.content__experts-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content__experts-list {
    padding: 0;
}

.content__experts-item {
    list-style-type: none;
    color: #0b1e2e;
}

.content__registration {
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    max-width: 456px;
    max-height: 82px;
    gap: 100px;
}

.content__registration-link h3 {
    color: #3ebb7a;
}

/* Футер */

footer {
    margin-top: 270px;
    background-color: #364958;
    color: #ffffff;
}

footer a {
    text-decoration: none;
    color: #00a3ff;
    cursor: pointer;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

footer ul li {
    list-style-type: none;
    margin-bottom: 10px;
    line-height: 170%;
}

.contact {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    margin: 40px 0 40px 0;
    gap: 10px;
}

.contact-description {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.personal-data-policy {
    padding: 0 10px;
    margin: 40px 0 40px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.modal-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
    touch-action: none;
    -webkit-overflow-scrolling: auto;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: block;
    opacity: 1;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 640px;
    width: calc(100% - 40px);
    min-width: 310px;
    max-height: 90vh;
    z-index: 10001;
}

.modal__content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.modal__title {
    font-size: 21px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.modal__close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal__close:hover {
    color: #000;
}

.modal__body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal__dialog::-webkit-scrollbar {
    width: 8px;
}

.modal__dialog::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal__dialog::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal__dialog::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.drone-description p:last-of-type {
    margin-bottom: 5px;
}

.options-list {
    display: flex;
    flex-direction: column;
    padding-left: 5px;
    gap: 12px;
}

.options-list p {
    margin: 0;
}

ul.styled-list {
    margin: 12px 0 0 0;
}

ul.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: 0 12px;
    text-align: left;
    list-style-type: none;
}

ul.styled-list li::before {
    content: "";
    display: inline-block;
    background: #00a3ff;
    width: 8.718px;
    height: 8.718px;
    flex-shrink: 0;
    border-radius: 2px;
}

.sol-input {
    padding: 10px 15px;
    max-width: 100%;
    font-size: 13px;
    font-weight: 500;
    background: #eff0f3;
    border: none;
    outline: 0;
    resize: none;
    margin-bottom: 20px;
}

.sol-contact__form p {
    margin: 0;
}

.consultation-form__names {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sol-contact__form .wpcf7-form input[type="text"],
.sol-contact__form .wpcf7-form textarea,
.sol-contact__form .wpcf7-form input[type="email"] {
    width: 100%;
}

.consultation-form__acceptance {
    display: flex;
    flex-direction: row;
    font-size: 13px;
    line-height: 16px;
    gap: 8px;
}

.consultation-form__acceptance a {
    color: #00a3ff;
}

.sol-sec-btn {
    width: 100%;
    padding: 10px 8px;
    min-width: 185px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    color: #fff;
    background-color: #00a3ff;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .modal__dialog {
        width: calc(100% - 20px);
        max-height: 85vh;
    }

    .modal__header {
        padding: 16px 20px;
    }

    .modal__body {
        padding: 20px;
    }

    .modal__title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .registration__btn {
        min-width: 280px;
        max-width: 400px;
    }

    .registration__btn button {
        padding: 18px 40px;
    }
}

@media (max-width: 679px) {
    .header__tagline {
        display: none;
    }
}

@media (max-width: 480px) {
    .header__title h1 {
        font-size: 88px;
    }

    .registration__btn {
        min-width: 250px;
        max-width: 100%;
        width: 100%;
    }

    .registration__btn button {
        padding: 16px 30px;
        min-height: 60px;
        font-size: 18px;
    }
}

@media (max-width: 425px) {
    .header__link {
        padding-right: 20px;
    }

    .header__title h1 {
        font-size: 75px;
    }
}

@media (max-width: 375px) {
    .header__title h1 {
        font-size: 65px;
    }
}

@media (max-width: 360px) {
    .registration__btn {
        min-width: 220px;
    }

    .registration__btn button {
        padding: 14px 25px;
        min-height: 56px;
        font-size: 16px;
    }
}
