/* Подключение шрифтов */

/* Marselis Pro */
@font-face {
    font-family: 'Marselis Pro';
    src: url('fonts/MarselisPro-Bold.woff2') format('woff2');
    font-weight: bold; /* или 700 */
    font-style: normal;
    font-display: swap;
}

/* URW DIN */
@font-face {
    font-family: 'URW DIN';
    src: url('fonts/URWDIN-Regular.woff2') format('woff2');
    font-weight: normal; /* или 400 */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'URW DIN';
    src: url('fonts/URWDIN-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'URW DIN';
    src: url('fonts/URWDIN-Bold.woff2') format('woff2');
    font-weight: bold; /* или 700 */
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'URW DIN', 'Arial', sans-serif;
    color: #231f20;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 260px;
    background-image: url(Img/bg.png);
}


/* Header */
.header {
    position: absolute; /* Изменено с fixed на absolute */
    top: 0;
    left: 0;
    right: 0;
    z-index: 10; /* Уменьшен z-index, так как он больше не поверх всего */
    padding: 30px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 209px;
}

.logo {
    display: flex;
    width: 140px;
    height: 40px;

}


.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #231f20;
    font-family: 'Marselis Pro', serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: -0.112px;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav-item:hover {
    opacity: 0.7;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #01ABE6;
}

.btn-buy {
    background: #01abe6;
    color: white;
    border: 4px solid #c7e3f7;
    border-radius: 800px;
    padding: 0 32px; /* Убрали вертикальные отступы, оставили горизонтальные */
    font-family: 'URW DIN', sans-serif;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s;
    white-space: nowrap;
    height: 50px;

    /* Добавленные свойства для центрирования */
    display: flex;
    align-items: center;    /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
    box-sizing: border-box;  /* Чтобы padding и border включались в высоту */
}

.btn-buy:hover {
    transform: scale(1.05);
}

.lang-switch {
    width: 56px;
    height: 32px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 53.333px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    font-family: 'URW DIN', sans-serif;
    font-weight: bold;
    font-size: 12px;
    color: #231f20;
    cursor: pointer;
    gap: 5px;
}
.lang-switch img {
    width: 20px;
}

/* Hero Section */
.hero {
    position: relative; /* Добавлено это свойство */
    height: 970px;
    background: linear-gradient(to left, #dceef4, #ffffff);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('Img/hero-bg.png') center/cover no-repeat;
    opacity: 1;
    height: 980px; /* <-- ДОБАВЛЕНО. Подберите нужное значение */
}

.hero-content {
position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-start; /* Выравниваем по верху */
    justify-content: space-between;
    gap: 20px; 
    padding-top: 150px; /* <-- ДОБАВЛЕНО. Подберите нужное значение */
    box-sizing: border-box; /* Добавляем для корректного расчета высоты с padding */
}

/* Стили для левой колонки с анимацией */
.hype-animation {
    flex: 1; /* Занимает доступное пространство */
    height: 800px; /* <-- ЗАДАЙТЕ ВЫСОТУ ВАШЕЙ HYPE-АНИМАЦИИ */
    transform: translateX(-50px); /* <-- ДОБАВЛЕНО */
}
.hype-animation, .hype-animation iframe {
  -webkit-tap-highlight-color: transparent;
}

/* Дополнительно убираем обводку, которая может появиться,
  если iframe получит фокус после касания.
*/
.hype-animation iframe:focus {
  outline: none;
}
/* Стили для правой колонки с продуктом */
.product-image {
    flex: 1; /* Занимает доступное пространство */
    text-align: center; /* Центрируем картинку, если она меньше контейнера */
}

.hero-product {
    max-width: 100%; /* Картинка не будет вылезать за пределы своей колонки */
    height: auto;
    object-fit: contain;
}

.legal-footer {
    position: fixed; /* Закрепляем блок относительно окна браузера */
    bottom: 0;
    left: 0;
    width: 100%; /* Ширина 100% от экрана */
    padding: 20px 0; /* Добавим немного отступов сверху и снизу */
    background: rgba(255, 255, 255, 0.3); /* Полупрозрачный фон */
    backdrop-filter: blur(6px); /* Размытие фона */
    z-index: 9999; /* Максимальный z-index, чтобы быть поверх всего */

    /* Центрируем SVG внутри */
    display: flex;
    justify-content: center;
    align-items: center;
}
.legal-footer img {
    width: 96%; /* Ширина 96% от родительского блока */
    max-width: 1200px; /* Ограничим максимальную ширину на больших экранах */
    height: auto; /* Высота подстраивается автоматически */
}

/* Section Title */
.section-title {
    position: relative;
    height: 160px;
    background: white;
    box-shadow: 0px 4px 12px 0px rgba(115, 153, 192, 0.25);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 60px;
}

.section-title-left {
    background-image: url('Img/Chevron.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 30px 100px 45px;
    text-align: center;
    margin-left: 300px;
}

.section-title-left::after {
    display: none;
}

.section-title h2 {
    font-weight: bold;
    font-size:36px;
    color: white;
    text-transform: uppercase;
    text-shadow: rgba(255, 255, 255, 0.5) 0px 0px 12px, rgba(255, 255, 255, 0.25) 0px 0px 24px;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.section-title-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.section-title-right img {
    width: 140px;
    height: 100px;
}

.section-title-right::after {
    content: '';
    display: block;
    height: 4px;
    width: 600px;
    background: linear-gradient(to left, #01abe6, rgba(1, 171, 230, 0));
}

.logo-small {
    display: none;
}

.section-info {
    background: linear-gradient(to left, #ffffff, #dceef4);
    position: relative;

}

.info-diagram {
    max-width: 1308px;
    margin: 0px auto 0px; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 20px; 
}

.info-animation {
    width: 300px;
    height: 300px;
    margin-bottom: -100px; 
    z-index: 2; 
    transform: scale(0.7);
}

.info-columns-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px; 
    width: 100%;
}

.info-column {
    flex: 1; 
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;

}

.info-plate {
    background-image: url('Img/info_plate.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px; 
}

.info-plate p {
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    color: #231f20;
}

.info-note {
    max-width: 1164px;
    margin: 60px auto 0;
    background: white;
    border: 2px solid #6b7a84;
    border-radius: 24px;
    padding: 30px 63px;
    box-shadow: 0px 0px 22.947px 0px #81ccf1,
                123.558px 0px 111.314px 0px inset rgba(134, 192, 224, 0.15);
}

.info-note p {
    font-size: 24px;
    line-height: 1.3;
    text-align: center;
    color: #231f20;
}


.section-symptoms {
    background: linear-gradient(to left, #ffffff, #dceef4 50%, #ffffff);

}

.symptom-item {
    display: flex;
    align-items: center;
}

.symptom-item.reverse {
    flex-direction: row-reverse;
}

.symptom-photo {
    width: 509px;
    height: 572.643px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0; 
    z-index: 2; 
    border-radius: 10px; 
}

.symptom-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.symptom-text {
    flex: 1;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
    position: relative;
    z-index: 1; 
    margin-left: -100px; 
    padding: 40px 40px 40px 140px; 
}

.symptom-item.reverse .symptom-text {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white );
    margin-left: 0; 
    margin-right: -100px; 
    padding: 40px 140px 40px 40px; 
    text-align: right;
}

.symptom-text h3 {
    font-weight: bold;
    font-size: 36px;
    line-height: 1.3;
    color: #01abe6;
}

.section-immunity {
    background: linear-gradient(to left, #dceef4, #ffffff 50%, #dceef4);
}

.immunity-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.immunity-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.immunity-block {
    padding: 20px;
}

.immunity-block.blue h3 {
    color: #01abe6;
    font-family: 'URW DIN', sans-serif;
    font-weight: bold;
    font-size: 31px;
    margin-bottom: 20px;
}

.immunity-block.red h3 {
    color: #ee3124;
    font-family: 'URW DIN', sans-serif;
    font-weight: bold;
    font-size: 31px;
    margin-bottom: 20px;
}

.immunity-block p {
    font-size: 25px;
    line-height: 1.3;
    color: #231f20;
}

.blue p {
    color: #01abe6;
}

.red p {
    color: #ee3124;
}

.immunity-list {
    padding: 20px;
}

.immunity-list h4 {
    color: #6b7a84;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}

.immunity-list ul {
    list-style: none;
    padding: 0;
}

.immunity-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 20px;
    color: #6b7a84;
}

.immunity-list li::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #01ABE6;
    flex-shrink: 0;
    margin-top: 5px;
}

.immunity-image {
    width: 580px;
    height: 769.5px;
}

.immunity-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Usage Section */
.section-usage {
    background: linear-gradient(to left, #ffffff, #dceef4);
}

.usage-content {
    display: flex;
    gap: 100px;
    align-items: center;
}

.usage-photo {
    width: 623px;
    height: 700.897px;
    overflow: hidden;
}

.usage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usage-text {
    flex: 1;
}

.usage-block {
    margin-bottom: 40px;
}

.usage-block h3 {
    font-family: 'URW DIN', sans-serif;
    font-weight: bold;
    font-size: 49px;
    color: #01abe6;
    margin-bottom: 30px;
}

.usage-block h4 {
    font-family: 'URW DIN', sans-serif;
    font-weight: bold;
    font-size: 31px;
    color: #01abe6;
    margin-bottom: 30px;
}

.usage-block ul {
    list-style: none;
    padding: 0;
}

.usage-block li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 25px;
    color: #231f20;
}

.usage-block li::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #231F20;
    flex-shrink: 0;
    margin-top: 8px;
}

.usage-icon {
    text-align: start;
    margin-bottom: 50px;
}

.usage-icon svg {
    width: 288px;
    height: 150px;
}

.btn_instr{
    background: #01abe6;
    color: white;
    border: 4px solid #c7e3f7;
    border-radius: 800px;
    padding: 0 32px; /* Убрали вертикальные отступы, оставили горизонтальные */
    font-family: 'URW DIN', sans-serif;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s;
    white-space: nowrap;
    height: 50px;
    padding: 0 30px;
    width: 60%;

    /* Добавленные свойства для центрирования */
    display: flex;
    align-items: center;    /* Центрирование по вертикали */
    justify-content: center; /* Центрирование по горизонтали */
    box-sizing: border-box;  /* Чтобы padding и border включались в высоту */
    margin-bottom: 60px;
    text-decoration: none;
}

.btn_instr:hover {
    transform: scale(1.05);
}


/* === НАЧАЛО ИЗМЕНЕНИЙ В СЕКЦИИ BUY === */

.section-buy {
    background-image: url('Img/Particles.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.buy-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-bottom: 50px;
}

.buy-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.buy-column-left {
    align-items: center; /* Центрируем кнопки и иконки */
}

.buy-column-right {
    align-items: center; /* Центрируем картинку и текст */
}

.pharmacy-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 415px;
    margin: 0 auto 0px;
}

.pharmacy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

}

.pharmacy-btn:hover {
    transform: scale(1.05);
}

.pharmacy-btn img {
    max-height: 70%;
    max-width: 70%;
    object-fit: contain;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.social-icon-img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s;
}

.social-icon-img:hover {
    transform: scale(1.1);
}

.buy-footer-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.footer-text {
    text-align: center;
    font-size: 20px;
    color: #6b7a84;
    margin: 0;
}

/* Удаляем старый класс для картинки в футере */
.footer-product {
    display: none;
}
/* === КОНЕЦ ИЗМЕНЕНИЙ В СЕКЦИИ BUY === */


/* Video Section */
.section-video {
    background: linear-gradient(to left, #dceef4, #ffffff 50%, #dceef4);
    padding-bottom: 120px;
}

.video-wrapper {
    position: relative;
    max-width: 1284px;
}

.video-preview {
    width: 100%;
    height: 720px;
    object-fit: cover;
    opacity: 1;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 211px;
    height: 211px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1600px) {
    .container {
        padding: 0 100px;
    }

    
    .header-content {
        gap: 100px;
    }
    
    .hero-product {
        width: 600px;
        height: auto;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 50px;
    }

    
    .section-title h2 {
        font-size: 38px;
    }
    
    .section-title-left {
        padding: 25px 80px 40px;
        margin-left: 50px;
    }
    
    .nav {
        flex-wrap: wrap;
    }
    
    .nav-item {
        font-size: 14px;
    }
    
    .info-diagram {
        width: 100%;
    }
    
    .symptom-item {
        gap: 0;
    }
    
    .symptom-photo {
        width: 400px; 
        height: 450px;
    }
    
    .symptom-text {
        text-align: left !important;
    }

    .symptom-item.reverse .symptom-text {
        text-align: right !important;
    }
    
    .immunity-content {
        flex-direction: column;
    }
    
    .immunity-image {
        width: 100%;
        height: auto;
    }
    
    .usage-content {
        flex-direction: column;
    }
    
    .usage-photo {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        padding: 20px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
           justify-content: center;
    }
    
    .nav {
        justify-content: center;
    }
    .hero-content {
        padding-top: 0px;
        align-items: center;
        margin-top: -100px;
        gap: 0px;
    }

    .hype-animation {
        transform: scale(0.7);
        height: 740px;
    }
    
    .hero {
        height: auto;
        padding: 150px 0 50px;
    }
    
    .hero-product {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-title {
        height: auto;
        gap: 30px;
        margin-left: 0;
    }

    .section-title-left {
        width: 50%;
        padding: 25px 20px 40px;
        margin-left: 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title-right::after {
        width: 250px;
    }
    
    .info-columns-wrapper {
        flex-direction: column; 
    }

    .info-animation {
        width: 300px;
        height: 300px;
        margin-bottom: -80px;
        transform: scale(0.5);
    }
    
    .symptom-item, .symptom-item.reverse {
        flex-direction: column !important;
        margin-bottom: 50px;
    }

    .symptom-photo {
        width: 65%;
        height: auto;
        box-shadow: none;
    }

    .symptom-text, .symptom-item.reverse .symptom-text {
        margin: -50px 20px 0 20px; 
        padding: 70px 20px 20px 20px; 
        text-align: center !important;
    }

    .symptom-text h3 {
        font-size: 24px;
    }
    
    .immunity-block h3 {
        font-size: 24px;
    }
    
    .immunity-block p {
        font-size: 18px;
    }
    
    .usage-block h3 {
        font-size: 32px;
    }
    
    .usage-block h4 {
        font-size: 24px;
    }
    
    .usage-photo {
        width: 400px;
        height: 400px;
    }
        .usage-icon {
    text-align: center;
    transform: scale(0.8);
    margin-bottom: 50px;
}
    .usage-block h3 {
        font-size: 40px;
    }

    .usage-block h4 {
        font-size: 30px;
    }

    .usage-block li {
    font-size: 24px;
    }
    .usage-block li::before {
    width: 12px;
    height: 12px;

    }
    
    .buy-content-wrapper {
        flex-direction: column;
    }

    .buy-column-right {
        order: 0; /* Ставим правую колонку (с картинкой) первой */
    }

    .section-buy {
    background-image: url('Img/Particles_mob.png');

}

    .video-preview {
        height: 400px;
    }
    .section-video {
    padding-bottom: 160px;
}
}

@media (max-width: 600px) {

.hype-animation {

    transform: scale(0.6);

}

.info-plate p{
    font-size: 12px;
}
 }

@media (max-width: 480px) {
.nav {
    flex-direction: column;
}

.hype-animation {
    position: absolute;
    z-index: -1;
    top: -400px;
    left: -140px;
    transform: scale(0.5);
}

.hero-content {
    padding-top: 0px;
    align-items: center;
    margin-top: 100px;
}
.product-image {
    flex: 1;
    text-align: center;
    margin-top: 100px;
}
    .section-title {
        justify-content: center; /* Центрируем содержимое */
        padding: 0 20px; /* Добавим немного отступов по бокам */
        flex-direction: column;
        padding-bottom: 20px;
    }

    .section-title h2 {
        font-size: 18px;
    }

    .section-title-right {
        display: none; /* Скрываем правый блок */
    }
    
    .section-title-left {
       width: 100%; /* Занимает всю ширину */
       margin-left: 0; /* Убираем отступ */
       padding: 25px 0px 40px;
    }
    .info-note p {
        font-size: 14px;
    }
    .info-note {
           padding: 15px 20px;
    }
    .info-plate {
        padding: 15px 15px;
        min-height: 100px;
    }
    .info-columns-wrapper {
        margin-bottom: 40px;
        gap: 0px;
    }
    .info-column {
        margin-bottom: 0px;
    }
        .symptom-photo {
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    .symptom-text h3 {
        font-size: 18px;
    }

    .immunity-block.red h3{
        font-size: 18px;
    }

    .immunity-block.blue h3{
        font-size: 18px;
    }
    
    .immunity-block p {
        font-size: 14px;
    }

    .immunity-list h4 {
        font-size: 16px;
    }

    .immunity-list li {
        font-size: 14px;
    }

    .usage-content {
        gap: 20px;
    }

    .usage-icon {
    text-align: center;
    transform: scale(0.7);
    margin-bottom: 50px;
}
    .usage-block h3 {
        font-size: 24px;
    }

    .usage-block h4 {
        font-size: 16px;
    }

    .usage-block li {
    font-size: 14px;
    }
    .usage-block li::before {
    width: 5px;
    height: 5px;

    }

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

}
}

iframe:focus, iframe:active {
  outline: none !important;
  border: none !important;
}
