/*
 * style.css
 * Этот файл содержит CSS-стили для вашего сайта, включая исправления для SimpleLightbox.
 * Все изменения, связанные с лайтбоксом, помещены в отдельный блок в конце файла для удобства.
 *
 * ОПТИМИЗАЦИЯ CSS (без изменения дизайна) + новые классы для исправлений HTML:
 * 1. Удалён первый блок .btn-submit (строки 166-176) — дублировался вторым (строки 695-708),
 *    который полнее (содержит font-size, width, align-self). Оставлен второй, полный блок.
 * 2. .btn-secondary объединён с .btn-primary — они были идентичны.
 * 3. .portfolio-section: убран дублирующий padding: 80px 0 (уже задан в групповом селекторе).
 * 4. .portfolio-grid: убраны дублирующие display:grid, gap, margin-top, margin-bottom
 *    (уже заданы в групповом блоке .features-grid, .services-grid и т.д.).
 * 5. .process-steps: убраны дублирующие display:grid и gap (по той же причине).
 * 6. @media (max-width: 768px): убраны .hero-section h1 { font-size: 3em } и
 *    .hero-section p { font-size: 1.2em } — идентичны правилам из @media (max-width: 992px).
 * 7. @media (max-width: 480px): убран первый блок .hero-section p { font-size: 0.95em },
 *    т.к. ниже он сразу перекрывается .hero-section p { font-size: 1em }.
 * 8. Удалён font-display: swap с body — это свойство работает только внутри @font-face.
 * 9. Удалён пустой .hero-section::before — не имеет визуального эффекта.
 * 10. Удалён избыточный max-width: 100% у .hero-main-image (при width: 100% он не нужен).
 * 11. Удалены избыточные text-align: center в .hero-section .container, .hero-section p,
 *     .hero-section h1 — они наследуются от родительских правил.
 * 12. Исправлена опечатка: двойная точка с запятой в .feature-item { background-color: #fff;; }
 */

/* -------------------- ГЛОБАЛЬНЫЕ СТИЛИ И СБРОСЫ (НАЧАЛО ФАЙЛА) -------------------- */
/*
 * Сброс стандартных отступов браузера для избежания
 * нежелательных отступов по периметру страницы.
 */
html, body {
    margin: 0;
    padding: 0;
}

/* Базовый сброс отступов и установка box-sizing для всех элементов */
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

/* Общие стили для тела документа */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

/* Ваш контейнер для основного содержимого */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3 {
    color: #10281e;
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Raleway', sans-serif;
}

h1 {
    font-size: 3.5em;
    font-weight: 200;
    line-height: 1.2;
}

h2 {
    font-size: 2.8em;
    font-weight: 200;
    margin-top: 60px;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 15px;
}

p {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.4em;
    color: #555;
}

a {
    color: #d4a75e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c0914e;
    text-decoration: underline;
}

.logo {
    height: 60px;
}

/* МЕНЮ навигации */
.main-nav {
    display: flex;
    justify-content: right;
    gap: 10px;
    flex-wrap: wrap;
    transition: transform 0.3s ease-in-out;
}

.main-nav a {
    color: #1b4331;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: #1b4331;
    color: #fff;
}

/* Изначально бургер скрыт на десктопе */
.burger-menu-toggle {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 40px;
    border-radius: 50px;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    margin: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
}

/* ОПТИМИЗАЦИЯ: .btn-primary и .btn-secondary были идентичны — объединены */
.btn-primary,
.btn-secondary {
    background: linear-gradient(45deg, #1b4332, #173a2b);
    color: #fff;
    border: none;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: linear-gradient(45deg, #21523d, #21523d);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ОПТИМИЗАЦИЯ: первый блок .btn-submit удалён — он дублировался блоком в секции Contact
   (тот полнее: содержит font-size, width, align-self). Полный блок ниже. */

/* Sections Styling */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffc300, #f8be01);
    padding-top: 0;
    padding-bottom: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    position: relative;
}

/* ОПТИМИЗАЦИЯ: .hero-section::before удалён — пустой псевдоэлемент без визуального эффекта */

.hero-main-image {
    width: 100%;
    /* ОПТИМИЗАЦИЯ: max-width: 100% удалён — избыточно при width: 100% */
    height: auto;
    display: block;
    margin-bottom: 40px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    /* ОПТИМИЗАЦИЯ: text-align: center удалён — наследуется от .hero-section */
}

.hero-section h1 {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: black;
    margin-top: 0;
    /* ОПТИМИЗАЦИЯ: text-align: center удалён — наследуется от h1,h2,h3 */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #1b4332;
    /* ОПТИМИЗАЦИЯ: text-align: center удалён — наследуется от глобального p */
}

.hero-actions {
    margin-top: 40px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
}

/* General Section Styling */
.why-outsource-section,
.services-section,
.portfolio-section,
.process-section,
.pricing-section,
.contact-section {
    background-color: #f8f8f8;
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

/* Features Grid */
.features-grid,
.services-grid,
.portfolio-grid,
.process-steps,
.pricing-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    text-align: center;
}

.feature-item {
    background-color: #fff; /* ОПТИМИЗАЦИЯ: исправлена опечатка (была двойная ;;) */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-item .icon {
    font-size: 3em;
    color: #fcc000;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.6em;
    margin-top: 15px;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
    color: #1b4332;
}

.feature-item p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 0;
}

/* Services Grid */
.services-section {
    background-color: #f0f0f0;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: center;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3.5em;
    color: #fcc000;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.7em;
    margin-bottom: 15px;
    font-family: 'Raleway', sans-serif;
}

.service-item p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 0;
}

/* Portfolio Grid */
.portfolio-section {
    background-color: #f0f0f0;
    /* ОПТИМИЗАЦИЯ: padding: 80px 0 удалён — уже задан в групповом селекторе выше */
}

.portfolio-grid {
    /* ОПТИМИЗАЦИЯ: display:grid, gap, margin-top, margin-bottom удалены —
       уже заданы в групповом блоке .features-grid, .services-grid и т.д. */
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* КЛАСС-ОБЕРТКА ДЛЯ СООТНОШЕНИЯ СТОРОН */
.portfolio-item .image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* По умолчанию квадрат (1:1) */
    overflow: hidden;
}

/* Специальный класс для вертикальных кейсов (Infographics/Before-After) */
.portfolio-item.item-4x5 .image-wrapper {
    padding-bottom: 125%; /* Переопределяет стандарт 1:1 на вертикальный 4:5 */
}

.portfolio-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(28, 67, 49, 1);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1em;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.portfolio-item:hover .portfolio-caption {
    transform: translateY(0);
}

/* Process Steps */
.process-section {
    background-color: #f8f8f8ff;
}

.process-steps {
    /* ОПТИМИЗАЦИЯ: display:grid и gap удалены — уже заданы в групповом блоке выше */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    text-align: center;
}

.step-item {
    background-color: #f8f8f8;
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.step-icon {
    font-size: 3.5em;
    color: #fcc000;
    margin-bottom: 20px;
}

.step-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-family: 'Raleway', sans-serif;
    flex-shrink: 0;
}

.step-item p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Pricing Grid */
.pricing-section {
    background-color: #f0f0f0;
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: stretch;
}

.price-plan {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.price-plan.featured {
    background: linear-gradient(135deg, #ffc300, #f8be01);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.price-plan.featured h3,
.price-plan.featured .price,
.price-plan.featured .price span,
.price-plan.featured ul li {
    color: #fff;
}

.price-plan.featured .icon-check,
.price-plan.featured .icon-times {
    color: #fff;
}

.price-plan.featured .btn-primary {
    background-color: #fff;
    color: #d4a75e;
}

.price-plan.featured .btn-primary:hover {
    background-color: #f0f0f0;
}

.price-plan h3 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #fcc000;
    font-family: 'Raleway', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.price-plan .price {
    font-size: 3.2em;
    font-weight: 700;
    color: #1b4332;
    margin-bottom: 25px;
}

.price-plan .price span {
    font-size: 0.5em;
    font-weight: 400;
    color: #777;
}

.price-plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-plan ul li {
    margin-bottom: 12px;
    font-size: 1.2em;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-plan ul li i {
    margin-right: 12px;
    font-size: 1.3em;
}

/* Icons for list items */
.icon-check {
    color: #7cb342;
}

.icon-times {
    color: #e57373;
}

.pricing-section .note {
    font-size: 1em;
    color: #777;
    margin-top: 40px;
    line-height: 1.8;
}

.pricing-section .note .highlight {
    font-size: 1.2em;
    font-weight: 700;
    color: #b84242;
}

/* FAQ Section */
.faq-section {
    background-color: #f0f0f0;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    text-align: left;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-item h3 .fas {
    color: #fcc000;
}

.faq-item p {
    text-align: left;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(45deg, #2c3e50, #1a1a1a);
    color: #fff;
    padding: 80px 0;
}

.contact-section h2,
.contact-section p {
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 650px;
    margin: 0 auto 40px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.2em;
    font-family: 'Inter', sans-serif;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #d4a75e;
    box-shadow: 0 0 0 3px rgba(212, 167, 94, 0.2);
    outline: none;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ОПТИМИЗАЦИЯ: первый блок .btn-submit (был выше, строки 166-176) удалён.
   Оставлен этот, полный блок с font-size, width и align-self. */
.btn-submit {
    background: linear-gradient(45deg, #1a4230, #1a4230);
    color: #fff;
    font-size: 1em;
    border: none;
    width: auto;
    align-self: center;
}

.btn-submit:hover {
    background: linear-gradient(45deg, #21523d, #21523d);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
}

.contact-info p {
    margin-bottom: 15px;
    color: #fff;
}

.contact-info a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.contact-info a .fab {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ecf0f1;
    padding: 35px 0;
    text-align: center;
    font-size: 0.95em;
}

footer p {
    margin-bottom: 15px;
    color: #ecf0f1;
}

footer nav a {
    color: #ecf0f1;
    margin: 0 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: #d4a75e;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3em;
    }
    .hero-section p {
        font-size: 1.2em;
    }

    h1 {
        font-size: 3em;
        font-weight: 500;
    }
    h2 {
        font-size: 2.2em;
        font-weight: 700;
    }
    h3 {
        font-size: 1.5em;
    }
    .hero-section {
        padding-bottom: 80px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .faq-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* ОПТИМИЗАЦИЯ: .hero-section h1 { font-size: 3em } удалён — идентичен правилу из 992px.
       ОПТИМИЗАЦИЯ: .hero-section p { font-size: 1.2em } удалён — идентичен правилу из 992px.
       Остаётся только то, что реально отличается от 992px: */
    .hero-section h1 {
        margin-bottom: 15px;
    }
    .hero-section p {
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px auto;
        white-space: normal;
    }
    .hero-actions .btn:last-child {
        margin-bottom: 0;
    }

    /* --- СТИЛИ ДЛЯ БУРГЕР-МЕНЮ --- */

    /* 1. БУРГЕР-КНОПКА: Показываем бургер на узких экранах */
    .burger-menu-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1000;
        width: 30px;
        height: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .burger-menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background: #1b4331;
        transition: all 0.3s ease;
    }

    .burger-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }
    .burger-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* 2. МОБИЛЬНОЕ МЕНЮ (.main-nav): Изначально скрыто */
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffc300;
        z-index: 999;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        padding-top: 60px;
        gap: 0;
    }

    /* 3. КЛАСС АКТИВАЦИИ МЕНЮ */
    .main-nav.active {
        display: flex;
    }

    /* 4. Стили ссылок в мобильном меню */
    .main-nav a {
        color: #1b4332;
        padding: 8px 0;
        font-size: 28px;
        text-decoration: none;
    }
    .main-nav a:hover {
        background-color: transparent;
        color: #ffffff;
    }

    h1 {
        font-size: 2.5em;
        text-align: center;
        font-weight: 700;
    }
    h2 {
        font-size: 2em;
        font-weight: 700;
    }
    section {
        padding: 50px 0;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 20px;
        box-sizing: border-box;
        white-space: normal;
    }

    .features-grid,
    .services-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Main hero image adjustment for smaller screens */
    .hero-main-image {
        height: auto;
        max-height: 40vh;
        object-fit: contain;
    }

    /* Отступы для основных контейнеров секций */
    .why-outsource-section .container,
    .services-section .container,
    .portfolio-section .container,
    .process-section .container,
    .pricing-section .container,
    .contact-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .price-plan {
        padding: 25px 20px;
    }
    .price-plan h3 {
        font-size: 1.6em;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8em;
    }
    /* ОПТИМИЗАЦИЯ: первый .hero-section p { font-size: 0.95em } удалён —
       сразу перекрывался следующим правилом .hero-section p { font-size: 1em } */
    .hero-section p {
        font-size: 1em;
    }

    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.6em;
    }
    p {
        font-size: 0.95em;
    }
    .price-plan h3 {
        font-size: 1.8em;
    }
    .price-plan .price {
        font-size: 2.5em;
    }
    .contact-form {
        padding: 25px;
    }
    footer nav a {
        margin: 0 10px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .price-plan {
        width: 95%;
        max-width: 350px;
        margin: 0 auto 20px auto;
    }
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #152e23;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    flex-wrap: wrap;
}

.cookie-consent-content p {
    margin: 0;
    flex-grow: 1;
    padding-right: 20px;
    font-size: 1em;
    color: #fff;
}

.cookie-consent-content p a {
    color: #feb914;
    text-decoration: underline;
}

.cookie-consent-content p a:hover {
    color: #e6c200;
}

.btn-accept-cookies {
    background-color: #feb914;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.btn-accept-cookies:hover {
    background-color: #e6c200;
    color: #000;
}

/* Media Queries for Cookie Consent */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    .cookie-consent-content p {
        padding-right: 0;
        margin-bottom: 15px;
    }
    .btn-accept-cookies {
        width: auto;
        margin: 0 auto;
        max-width: 200px;
    }
}

/* --- Стили для липкой шапки (sticky header) --- */
.main-header {
    background-color: rgba(248, 190, 1, 0.9);
    padding: 5px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 12px rgba(10,10,10,0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Предотвращение прокрутки страницы при открытом меню */
body.no-scroll {
    overflow: hidden;
}

/* ============================================================
   НОВЫЕ КЛАССЫ — вынесены из inline-стилей HTML
   ============================================================ */

/* Hero: заменяет <br><br> перед h1 */
.hero-section .container {
    padding-top: 40px;
}

/* «Проблема — Решение»: абзац с решением (заменяет style="margin-top:15px; font-weight:700") */
.feature-solution {
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.2em;
    color: #555;
}

/* Pricing: списки характеристик пакетов (заменяет inline ul/li стили) */
.price-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    text-align: left;
}

.price-plan-features li {
    margin-bottom: 8px;
    font-size: 1.2em;
    color: #666;
    display: flex;
    align-items: center;
}

.price-plan-features li i {
    margin-right: 10px;
}

/* Цвет иконок и текста для featured плана */
.price-plan.featured .price-plan-features li {
    color: #fff;
}

.price-plan.featured .price-plan-features li i {
    color: #fff;
}

/* Pricing: маленькая сноска (заменяет inline style="max-width:800px; margin:0 auto; line-height:1.4") */
.note-small {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    font-size: 0.9em;
    color: #777;
    margin-top: 15px;
}

/* Footer: ссылка на photograph.in.ua (заменяет inline style="color: inherit; text-decoration: underline") */
footer .footer-link {
    color: inherit;
    text-decoration: underline;
}

/* Адаптив для .price-plan-features на мобильных */
@media (max-width: 768px) {
    .price-plan-features {
        width: 100%;
        align-items: flex-start;
        padding: 0 10px;
    }
}

/* Универсальный модификатор для сетки в 2 колонки */
.grid-2-cols {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Исправление центровки: иконка над заголовком */
.process-section .step-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 20px;
}

.process-section .feature-item {
    text-align: center;
}

/* Адаптив: на мобильных устройствах всегда в одну колонку */
@media (max-width: 768px) {
    .grid-2-cols {
        grid-template-columns: 1fr !important;
    }
}

/* Блок отзывов — обновленный под крупные аватары */
.review-meta {
    display: flex;
    flex-direction: column; /* Все в колонку */
    align-items: center;    /* Центрируем аватар и звезды */
    margin-bottom: 25px;
    gap: 15px;
}

.review-avatar {
    width: 140px;           /* Увеличили в 2.3 раза */
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #1b4332; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Добавил легкую тень для объема */
}

.review-stars {
    display: flex;
    gap: 5px;
    font-size: 16px;        /* Чуть увеличили звезды */
}

.icon-gold {
    color: #ffc300;;
}

/* Центрируем текстовую часть карточки */
.feature-item {
    text-align: center;     /* Текст тоже по центру для симметрии с аватаром */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item h3 {
    margin-bottom: 5px;
    font-size: 1.3em;
}

.feature-item small {
    color: #1b4332;         /* Сделал синим, чтобы лучше читалось */
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.feature-item p {
    font-style: italic;
    line-height: 1.6;
    max-width: 90%;         /* Чтобы текст не расплывался слишком широко */
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .review-avatar {
        width: 100px;       /* На маленьких телефонах чуть уменьшаем */
        height: 100px;
    }
}