:root {
    --primary-red: #a61033;
    --footer-red: #a5102e;
    --text-cream: #fef7e7;
    --bg-cream: #fbf6e3;
    --text-dark: #010101;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-cream);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: fadeInUp 1s ease, pulse 2s ease-in-out infinite;
}

.preloader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    animation: fadeInUp 1s ease 0.2s both;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(166, 16, 51, 0.2);
    border-radius: 3px;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.4s both;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 0%;
    height: 100%;
    background: var(--primary-red);
    animation: loading 2s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loading {
    to {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Navigation */
.nav-container {
    width: 100%;
    padding: 0 5%;
    max-width: 1484px;
    margin: 0 auto;
}

.nav-wrapper {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 1rem 2.5rem;
    box-shadow: 0 5px 30px rgba(166, 16, 51, 0.15);
    border: 2px solid rgba(166, 16, 51, 0.1);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
}

.navbar.scrolled .nav-wrapper {
    border-radius: 40px;
    padding: 0.7rem 2rem;
}

.navbar-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    width: 45px;
    height: 45px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.5px;
}

.navbar.scrolled .brand-text {
    font-size: 1.5rem;
}

.navbar-collapse {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-nav {
    gap: 0.3rem;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.3rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-red) !important;
    background: rgba(166, 16, 51, 0.1);
    transform: translateY(-2px);
}

.nav-contacts {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-phone {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 2px solid var(--primary-red);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-phone i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

.nav-phone:hover {
    background: var(--primary-red);
    color: var(--text-cream) !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(166, 16, 51, 0.3);
}

.nav-phone:hover i {
    color: var(--text-cream);
}

.btn-order {
    background: linear-gradient(135deg, var(--primary-red), var(--footer-red));
    color: var(--text-cream) !important;
    font-weight: 700;
    padding: 0.9rem 2rem !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(166, 16, 51, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(166, 16, 51, 0.4);
    color: var(--text-cream) !important;
}

.nav-phone-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--text-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: 2;
}

.nav-phone-icon i {
    font-size: 1.1rem;
}

.nav-phone-icon:hover {
    background: var(--footer-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(166, 16, 51, 0.3);
    color: var(--text-cream);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(166, 16, 51, 0.85) 0%, rgba(165, 16, 46, 0.75) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero-bg.jpg') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(254, 247, 231, 0.2);
    color: var(--text-cream);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 247, 231, 0.3);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-cream);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
    font-size: 5rem;
    color: var(--text-cream);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(254, 247, 231, 0.9);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--text-cream);
    color: var(--primary-red);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--primary-red);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--text-cream);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--text-cream);
    transition: all 0.4s ease;
    font-size: 1rem;
}

.btn-secondary-custom:hover {
    background: var(--text-cream);
    color: var(--primary-red);
}

.hero-stats {
    margin-top: 4rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-cream);
    margin-bottom: 0.3rem;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(254, 247, 231, 0.8);
}

html {
    scroll-padding-top: 120px;
}

section[id] {
    scroll-margin-top: 120px;
}

/* Section Styling */
section {
    padding: 6rem 0;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--primary-red);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
}

/* Features Section */
.features-section {
    background: var(--bg-cream);
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(166, 16, 51, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--footer-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-cream);
}

.feature-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Карточка-ссылка (СМИ на about.php) */
a.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

/* Products Section */
.products-section {
    background: #fff;
}

.product-card {
    background: var(--bg-cream);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(166, 16, 51, 0.15);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: var(--text-cream);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 2rem;
}

.product-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.product-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
}

.product-price span {
    font-size: 1rem;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.btn-add {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--text-cream);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-add:hover {
    background: var(--footer-red);
    transform: rotate(90deg) scale(1.1);
}

a.btn-add {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== Лупа и лайтбокс (для карточек) ===== */
.gallery-zoom {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover .gallery-zoom {
    opacity: 1;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 1, 1, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-cream);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-cream);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    text-align: center;
}

/* About Section */
.about-section {
    background: var(--bg-cream);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(166, 16, 51, 0.2);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-red);
    color: var(--text-cream);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-badge .number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.about-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(166, 16, 51, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li i {
    color: var(--primary-red);
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    background: rgba(166, 16, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials-section {
    background: #fff;
}

.testimonial-card {
    background: var(--bg-cream);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(166, 16, 51, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--primary-red);
    opacity: 0.15;
    position: absolute;
    top: 1rem;
    right: 2rem;
    line-height: 1;
}

/* .testimonial-stars {
    color: var(--primary-red);
    margin-bottom: 1rem;
} */

.testimonial-stars {
    color: var(--primary-red);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-cream);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.testimonial-author-title {
    font-size: 0.85rem;
    color: #999;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--footer-red) 100%);
    color: var(--text-cream);
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(254, 247, 231, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(254, 247, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 1.1rem;
}

/* ===== Кнопка отправки заявки ===== */
.btn-submit {
    background: var(--text-cream);
    color: var(--primary-red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--primary-red);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 247, 231, 0.2);
}

.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: #fff;
    border-color: var(--text-cream);
    box-shadow: none;
}

/* ===== Стилизованные поля формы заявки ===== */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(254, 247, 231, 0.3);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control::placeholder {
    color: #999;
    font-weight: 400;
}

.contact-form .form-control:hover {
    background: #fff;
    border-color: rgba(254, 247, 231, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.contact-form .form-control:focus {
    background: #fff;
    border-color: var(--text-cream);
    box-shadow: 0 0 0 3px rgba(254, 247, 231, 0.25);
    outline: none;
    transform: translateY(-1px);
}

/* ===== Кастомный select ===== */
.custom-select {
    position: relative;
}

.custom-select-trigger {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(254, 247, 231, 0.3);
    border-radius: 12px;
    padding: 0.9rem 3rem 0.9rem 1.2rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #999;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-trigger.has-value {
    color: var(--text-dark);
}

.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fef7e7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.custom-select-trigger:hover {
    background: #fff;
    border-color: rgba(254, 247, 231, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.custom-select.open .custom-select-trigger {
    background: #fff;
    border-color: var(--text-cream);
    box-shadow: 0 0 0 3px rgba(254, 247, 231, 0.25);
}

.custom-select.open .custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 100;
    overflow: hidden;
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-select-option:hover {
    background: rgba(166, 16, 51, 0.08);
    color: var(--primary-red);
    padding-left: 1.5rem;
}

.custom-select-option.selected {
    background: var(--primary-red);
    color: var(--text-cream);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--footer-red);
    padding: 4rem 0 2rem;
    color: var(--text-cream);
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(254, 247, 231, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(254, 247, 231, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-cream);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-cream);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--text-cream);
    color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(254, 247, 231, 0.2);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(254, 247, 231, 0.5);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--text-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 4px 15px rgba(166, 16, 51, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--footer-red);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-title span {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .nav-wrapper {
        border-radius: 60px;
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }

    .navbar.scrolled .nav-wrapper {
        border-radius: 40px;
        padding: 0.7rem 1.5rem;
    }

    .navbar-brand {
        flex: 1;
    }

    .navbar-logo {
        width: 50px;
        height: 50px;
    }

    .brand-text {
        font-size: 1.5rem;
    }

    .navbar-toggler {
        flex-shrink: 0;
        border: none;
        color: var(--primary-red);
        font-size: 1.5rem;
        padding: 0.3rem 0.5rem;
        background: transparent;
        order: 3;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    .navbar-collapse {
        order: 4;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 2px solid rgba(166, 16, 51, 0.1);
        flex: none;
        justify-content: flex-start;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-link {
        width: 100%;
        padding: 0.8rem 1rem !important;
        text-align: center;
    }

    .navbar-collapse .btn-order {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem !important;
        margin-top: 0.8rem;
    }

    .hero {
        padding-top: 120px;
    }

    html {
        scroll-padding-top: 100px;
    }

    section[id] {
        scroll-margin-top: 100px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title span {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .nav-wrapper {
        border-radius: 60px;
        padding: 1rem 1.2rem;
    }

    .navbar-logo {
        width: 45px;
        height: 45px;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .nav-phone-icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-title span {
        font-size: 2.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .nav-wrapper {
        border-radius: 40px;
        padding: 0.8rem 1rem;
    }

    .navbar-logo {
        width: 40px;
        height: 40px;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .navbar-toggler {
        font-size: 1.3rem;
    }

    .nav-phone-icon {
        width: 40px;
        height: 40px;
    }

    .preloader-logo-img {
        width: 80px;
        height: 80px;
    }

    .preloader-logo {
        font-size: 2rem;
    }

    .preloader-bar {
        width: 150px;
    }

    .hero {
        padding-top: 110px;
    }

    html {
        scroll-padding-top: 90px;
    }

    section[id] {
        scroll-margin-top: 90px;
    }
}

@media (min-width: 1920px) {
    .nav-container {
        max-width: 1920px;
        padding: 0 5%;
    }
}

/* ===== PAGE HERO (для внутренних страниц) ===== */
.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 45vh;
    padding: 130px 0 80px 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(130, 10, 40, 0.95) 0%, rgba(100, 5, 25, 0.95) 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero-bg.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-hero-breadcrumbs {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
}

.page-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.breadcrumbs-badge {
    /* background: rgba(254, 247, 231, 0.15); */
    color: var(--text-cream);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border: 1px solid rgba(254, 247, 231, 0.3); */
    margin: 0;
}

.breadcrumbs-badge .breadcrumb-item a {
    color: var(--text-cream);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumbs-badge .breadcrumb-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.breadcrumbs-badge .breadcrumb-item.active {
    color: rgba(254, 247, 231, 0.7);
}

.breadcrumbs-badge .breadcrumb-item+.breadcrumb-item::before {
    content: '/';
    padding-right: 0.5rem;
    color: rgba(254, 247, 231, 0.5);
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-cream);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.page-hero-description {
    font-size: 1.2rem;
    color: rgba(254, 247, 231, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .page-hero {
        min-height: 45vh;
        padding: 120px 0 60px 0;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
        padding: 115px 0 50px 0;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        min-height: 38vh;
        padding: 105px 0 40px 0;
    }

    .page-hero-title {
        font-size: 1.7rem;
    }
}

/* Планшеты и небольшие ноутбуки: компактная шапка */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .nav-wrapper {
        padding: 1rem 1.5rem;
    }

    .nav-link {
        padding: 0.7rem 0.9rem !important;
        font-size: 0.9rem;
    }

    .btn-order {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem;
    }

    .nav-phone-icon {
        order: 0;
        margin-right: 1rem;
    }
}

/* Переходная зона: текст и пилюля уже есть, но отступы плотнее */
@media (min-width: 1400px) and (max-width: 1483.98px) {
    .nav-wrapper {
        padding: 1rem 2rem;
    }

    .nav-link {
        padding: 0.7rem 1rem !important;
    }
}