/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}
body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #333;
    overflow-y: scroll;
}
/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;

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

    padding: 0 20px;

    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 100;
}

/* ЛОГО */
.logo {
    height: 90px;
    transition: 0.3s;
}
.logo:hover {
    transform: scale(1.05);
}

/* ТЕЛЕФОН */
.header-phone {
    font-family: 'Times New Roman', Times, serif;
    color: #ffd700;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.header-phone:hover {

    color: #ffa500;
}

/* ===== NAV DESKTOP ===== */
.site-nav {
    display: flex;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.site-nav a {
    color: #ffd700;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: 0.3s;
}

.site-nav a:hover::after {
    width: 100%;
}

/* ===== BURGER ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 200;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
    transition: 0.3s;
}

/* АНИМАЦИЯ БУРГЕРА */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* ===== OVERLAY (затемнение) ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 90;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .header-phone {
        display: none;
    }

    .logo {
        height: 55px;
    }

    .burger {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 75%;
        height: calc(100vh - 80px);

        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(10px);

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

        transition: 0.3s;
        z-index: 100;
    }

    .site-nav.active {
        right: 0;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .site-nav a {
        font-size: 1.4rem;
    }
}
/* Hero Section */
/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* немного снизу */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('img/background2.jpg'); /* путь относительно CSS файла */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 0 20px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(90deg, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    animation: fadeInUp 1s ease forwards, shimmer 3s infinite;
    position: relative;
}

/* Мягкое переливание */
@keyframes shimmer {
    0%, 100% {
        text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    }
    50% {
        text-shadow: 2px 2px 5px rgba(0,0,0,0.3),
                     0 0 5px rgba(255, 255, 255, 0.4),
                     0 0 10px rgba(255, 223, 0, 0.3);
    }
}

/* Эффект при наведении */
.hero h2 {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero p {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s; /* задержка */
    font-size: 1.4rem;
    color: #a1a1a1;
    margin-bottom: 30px;
}
.hero-buttons {
    display: flex;
    gap: 20px; /* расстояние между кнопками */
    justify-content: center;
    flex-wrap: wrap; /* если экран маленький — кнопки перейдут на новую строку */
}

.hero-buttons .button {
    min-width: 180px; /* можно задать одинаковую ширину для обеих кнопок */
}
/* Стрелка вниз */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: translateX(-50%) rotate(-45deg);
    animation: bounce 1.5s infinite;
}

/* Анимация "прыжка" */
@keyframes bounce {
    0% {
        transform: translate(-50%, 0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, 10px) rotate(-45deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px) rotate(-45deg);
        opacity: 0;
    }
}
/* Кнопки */
.button {
    background-color: #fff;          /* начальный фон */
    color: #000000;                  /* текст */
    border: 2px solid #b38e16;       /* обводка кнопки */
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;       /* плавный переход */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
}


/* Медный градиент при наведении */
.button:hover {
    background: linear-gradient(45deg, #b87333, #caa179); /* медный градиент */
    color: #fff; /* текст меняем на белый для контраста */
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* About Section */
.about {
    padding: 100px 20px;
    background-image: url('img/background4.jpeg'); /* светлый фон */
    background-size: cover;
    background-position: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Заголовок */
.about-title {
    font-size: 2.6rem; /* было ~2.2 */
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Золотая линия */
.gold-line {
    display: inline-block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #b8962e);
    border-radius: 2px;
}

/* Основной текст */
.about-text {
    font-size: 1.25rem; /* было ~1.1 */
    line-height: 1.9;
    color: #444;
    margin-bottom: 35px;
    font-weight: 700;
    
}

/* Маленькая сдержанная заметка */
.about-note {
    font-size: 20px; /* было 13px */
    color: #8b6d09;
    opacity: 0.7;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background-image: url('img/background1.jpg'); /* тёмный фон */
    background-size: cover;
    background-position: center;
    color: #fff;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Заголовок */
.services-title {
    font-size: 2.6rem;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Сетка */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Карточка */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    overflow: hidden; /* чтобы картинка не выходила за рамки */
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

/* Hover */
.service-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Картинка */
.service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.service-card:hover .service-img {
    transform: scale(1.05);
}
/* Текстовая часть */
.service-card h3 {
    font-size: 1.4rem;
    margin: 20px 20px 10px;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ddd;
    margin: 0 20px 20px;
}
.services-sale {
    margin-top: 40px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37;
    position: relative;
    cursor: pointer;
}

/* декоративная линия */
.services-sale::after {
    content: "";
    display: block;
    width: 220px;
    height: 2px;
    background: #d4af37;
    margin: 12px auto 0;
}

/* можно добавить лёгкий эффект */
.services-sale:hover {
    color: #ffd700;
    transform: scale(1.03);
    transition: 0.3s;
}
/* Why Section */
.why {
    padding: 100px 20px;
    background-image: url('img/background5.jpeg'); /* светлый фон */
    background-size: cover;
    background-position: center;
}

.why-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Заголовок */
.why-title {
    font-size: 2.6rem;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Сетка */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Карточка */
.why-item {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.5); /* золотая обводка */
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
}

/* Hover */
.why-item:hover {
    transform: translateY(-6px);
    border-color: #d4af37;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* Иконка */
.why-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* Заголовок */
.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Текст */
.why-item p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

/* Control Section */
.control {
    padding: 100px 20px;
    background-image: url('img/background9.jpeg'); /* тёмный фон */
    background-size: cover;
    background-position: center;
    color: #fff;
}

.control-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Заголовок */
.control-title {
    font-size: 2.4rem;
    margin-bottom: 60px;
}

/* Сетка */
.control-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточка */
.control-item {
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    overflow: hidden; /* важно для картинки */
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

/* Hover */
.control-item:hover {
    transform: translateY(-6px);
    border-color: #d4af37;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* Картинка */
.control-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* Текстовая часть */
.control-item h3 {
    font-size: 1.4rem;
    margin: 20px 20px 10px;
}

.control-item p {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.7;
    margin: 0 20px 20px;
}
/* Галерея */
.gallery {
    padding: 100px 20px;
    background-image: url('img/background6.jpeg'); /* тёмный фон */
    background-size: cover;
    background-position: center;
}

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

/* Заголовок */
.gallery-title {
    font-size: 2.6rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Карусель */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    padding: 10px;
}

.carousel-item img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.carousel-item img:hover {
    border-color: #d4af37;
}

/* Кнопки */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}
/* Catalog Section */
.catalog {
    padding: 100px 20px;
    background-image: url('img/background7.jpeg'); /* светлый фон */
    background-size: cover;
    background-position: center;
    text-align: center;
}

.catalog-container {
    max-width: 900px;
    margin: 0 auto;
}

.catalog-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
}

.catalog-text {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 40px;
}

/* Кнопка */
.catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    color: #fff;
    text-decoration: none;
    padding: 14px 30px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #d4af37;
    transition: all 0.3s ease;
}

.catalog-btn:hover {
    background: linear-gradient(90deg, #b8860b, #d4af37);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Иконка PDF */
.catalog-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}
/* Отступ перед карточками */
.catalog-items {
    margin-top: 60px;
}

/* Сетка */
.catalog-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Карточка */

.catalog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover всей карточки */
.catalog-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}

/* Эффект увеличения картинки */
.catalog-card:hover .catalog-img {
    transform: scale(1.05);
}

.catalog-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Заголовок */
.catalog-card h3 {
    margin: 15px;
    color: #fff;
    font-size: 1.2rem;
}
@media(max-width: 1000px) {
    .catalog-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .catalog-items {
        grid-template-columns: 1fr;
    }
}


/* Контакты */
.contacts {
    padding: 100px 20px;
    background-image: url('img/background2.jpg'); /* тёмный фон */
    background-size: cover;
    background-position: center;
    color: #fff;
}

.contacts-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Заголовок */
.contacts-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Контактная информация */
.contact-card {
    border: 2px solid #d4af37; /* золотая рамка */
    border-radius: 12px;
    padding: 20px 25px;
    max-width: 100%;
    background: rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between; /* равномерно распределяем элементы по ширине */
    align-items: center; /* выравнивание по вертикали */
    gap: 30px; /* расстояние между контактами */
    overflow-x: auto; /* если экран узкий — появляется горизонтальный скролл */
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    white-space: nowrap; /* предотвращаем перенос текста */
}

.contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* если хочешь золотые иконки */
.contact-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(30%) saturate(500%) hue-rotate(10deg);
}

.contact-text a {
    color: #d4af37;
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Карта */
.contact-map {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

/* Примечание */
.contact-note {
    font-size: 16px;
    color: #999;
}

/* Footer */
footer {
    margin-top: auto;
    background-color: #000;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 50px 20px;
}

/* Контейнер */
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    flex-wrap: wrap;
}

/* Блок */
.footer-block {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Ссылки */
.footer-block a {
    color: #d4af37;
    text-decoration: none;
}

.footer-block a:hover {
    text-decoration: underline;
}
/* ==========================
   Адаптив для планшетов
========================== */
@media (max-width: 1000px) {
    .services-grid,
    .why-grid,
    .control-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
    .hero h2 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.3rem;
    }

    .catalog-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================
   Адаптив для смартфонов
========================== */
@media (max-width: 768px) {
    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1.7rem;
    }
    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Сетки */
    .services-grid,
    .why-grid,
    .control-grid,
    .catalog-items {
        grid-template-columns: 1fr;
    }
    .services-sale {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    /* Контакты */
    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        overflow-x: visible; /* скролл не нужен */
    }

    /* Кнопки */
    .button,
    .catalog-btn {
        width: 100%;
        max-width: 300px;
    }

    /* Продукт/Карточки */
    .product-container {
        flex-direction: column;
        gap: 20px;
    }

    .carousel-item img {
        height: 350px;
    }

    /* Кнопки карусели */
    .carousel-btn {
        font-size: 1.8rem;
        padding: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* ==========================
   Общие улучшения для мобильных
========================== */
img {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden; /* предотвращаем горизонтальный скролл */
}
/* Partners Section */
.partners {
    flex: 1;
    padding: 100px 20px;
    background-image: url('img/background5.jpeg');
    background-size: cover;
    background-position: center;
    padding-top: 123px;
}

.partners-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.partners-title {
    font-size: 2.6rem;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Сетка 2 карточки */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Карточка */
.partner-card {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;

    display: flex;
    flex-direction: column; /* важно */
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: #d4af37;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* Логотип */
.partner-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 15px; /* центр + отступ снизу */
    display: block;      /* обязательно */
    border-radius: 15px;
}

/* Текст */
.partner-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.partner-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

/* Кнопка */
.partner-link {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #d4af37;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
    margin-top: auto; /* ключевая строка */
}

.partner-link:hover {
    background: linear-gradient(45deg, #b87333, #caa179);
    color: #fff;
}

/* Адаптив */
@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}
/* SEO блоки */
.seo-text {
    padding: 80px 20px;
    background: #111; /* тёмный фон под стиль сайта */
    color: #fff;
}

.seo-container {
    max-width: 1100px;
    margin: 0 auto;
}

.seo-block {
    margin-bottom: 50px;
}

.seo-block h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #d4af37;
}

.seo-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ccc;
}
/* Общий блок */
.works-page {
    padding: 100px 20px;
    background-image: url('img/background6.jpeg'); /* тёмный фон */
    background-size: cover;
    background-position: center;
}

/* 🎬 Вступительное видео */
.intro-video {
    margin-bottom: 50px;
}

.intro-video video {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(212,175,55,0.4);
}

/* 📱 Вертикальные видео */
.vertical-videos {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.vertical-videos video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(212,175,55,0.4);
    transition: 0.3s;
}

.vertical-videos video:hover {
    transform: scale(1.03);
    border-color: #d4af37;
}

/* 📱 Адаптив */
@media (max-width: 768px) {
    .intro-video video {
        height: 250px;
    }

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

    .vertical-videos video {
        height: 400px;
    }
}

/* ===== Форма (Bitrix24) ===== */
#form-section {
    padding-bottom: 100px;
}

#form-section h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: #000;
}

#form-section p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Содержимое страниц (карнизы, ткани) ===== */
.content-section {
    padding: 100px 20px;
    background-image: url('img/background4.jpeg');
    background-size: cover;
    background-position: center;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-title {
    font-size: 2.6rem;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    justify-content: center;
}

.content-block {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.content-block h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #000;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.content-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 1.2rem;
}

.content-list li strong {
    color: #000;
}
.content-row {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.content-text {
    flex: 1;
    min-width: 250px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content-img {
    width: 300px;
    height: auto;
    max-height: 350px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.content-block:nth-child(even) .content-row {
    flex-direction: row-reverse;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .content-section {
        padding: 50px 20px;
    }

    .content-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .content-block {
        padding: 20px;
        margin-bottom: 20px;
    }

    .content-block h3 {
        font-size: 1.3rem;
    }

    .content-block p {
        font-size: 1rem;
    }

    .content-list li {
        font-size: 1rem;
    }

    .content-row {
        flex-direction: column;
        gap: 15px;
    }

    .content-row.content-block:nth-child(even) {
        flex-direction: column;
    }

    .content-text {
        min-width: 100%;
    }

    .content-img {
        width: 100%;
        max-height: none;
        height: auto;
    }
}

