/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c9a86a;
    --secondary-color: #e2c08a;
    --dark-color: #0b1117;
    --light-color: #f6efe5;
    --text-color: #1f2933;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-body: "Manrope", sans-serif;
    --font-heading: "Space Grotesk", sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: #f3ece2;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(246, 239, 229, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(201, 168, 106, 0.22);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Главная секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0b1117 0%, #111827 55%, #2a2118 130%);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-trust span {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.35;
    background: radial-gradient(circle, rgba(201, 168, 106, 0.7), transparent 60%);
}

.hero::before {
    top: -140px;
    right: -120px;
}

.hero::after {
    bottom: -180px;
    left: -120px;
    background: radial-gradient(circle, rgba(111, 92, 63, 0.9), transparent 65%);
}

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

/* Кнопки */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(201, 168, 106, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

.hero .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.75);
}

.hero .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Секция возможностей */
.features {
    padding: 5rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(201, 168, 106, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(201, 168, 106, 0.12);
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

/* Секция Возможности */
.capabilities {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0b1117 0%, #161c24 60%, #2a2118 120%);
    color: white;
}

.capabilities .section-title,
.capabilities .section-subtitle {
    color: white;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capability-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}

.capability-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.capability-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.capability-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
    font-family: var(--font-heading);
}

.capability-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Секция Проекты */
.projects {
    padding: 5rem 0;
    background: white;
}

.project-item {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--light-color);
}

.project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-title {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
    font-family: var(--font-heading);
}

.project-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.process {
    padding: 5rem 0;
    background: var(--light-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(201, 168, 106, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 168, 106, 0.12);
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.process-step h3 {
    margin-bottom: 0.6rem;
    color: var(--dark-color);
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.process-step p {
    color: var(--text-color);
}


.equipment-info {
    background: var(--light-color);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(201, 168, 106, 0.08);
}

.equipment-info p {
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.equipment-info ul {
    list-style: none;
    padding-left: 0;
}

.equipment-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    font-size: 1rem;
}

.equipment-info li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.equipment-info strong {
    color: var(--primary-color);
}

.equipment-divider {
    height: 1px;
    background: rgba(201, 168, 106, 0.12);
    margin: 1rem 0;
}

.photo-slider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.photo-gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    flex: 1 1 auto;
    min-width: 0;
}

.gallery-item {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.gallery-item[data-label]::after {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    pointer-events: none;
    z-index: 2;
}

.gallery-img {
    flex: 0 0 240px;
    width: 240px;
    height: 200px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
    padding: 6px;
    scroll-snap-align: start;
}

.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    flex: 0 0 auto;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.slider-btn:disabled {
    opacity: 0.4;
    cursor: default;
    background: white;
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.6rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 106, 0.55);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.slider-dot:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}


/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0.8)}
    to {transform: scale(1)}
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px;
    font-size: 1.2rem;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 40px;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    border-radius: 5px;
}

.modal-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* Секция Партнеры */
.partners {
    padding: 5rem 0;
    background: var(--light-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.partner-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(201, 168, 106, 0.08);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: rgba(201, 168, 106, 0.12);
    color: var(--primary-color);
}

.partner-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.partner-card > p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.partner-description {
    font-size: 0.95rem !important;
    color: #6b7280 !important;
    line-height: 1.6;
    font-weight: 400 !important;
}

/* Секция О нас */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Контакты */
.contact {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-subtitle {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-card {
    max-width: 860px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid rgba(201, 168, 106, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

.contact-card-text h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: var(--dark-color);
    font-family: var(--font-heading);
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.95rem;
}

.contact-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.floating-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
    z-index: 1200;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.28);
}

/* Футер */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

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

.social-links a {
    color: white;
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: white;
    color: var(--dark-color);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-trust {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text .section-title {
        text-align: center;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    /* Возможности на планшетах */
    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Галереи на планшетах */
    .photo-gallery {
        gap: 0.8rem;
    }

    .gallery-img {
        flex-basis: 200px;
        width: 200px;
        height: 170px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .slider-dots {
        gap: 0.35rem;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

    /* Модальное окно на планшетах */
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .modal-nav {
        font-size: 30px;
        padding: 12px 16px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }

    /* Партнеры */
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .project-title {
        font-size: 1.6rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-actions {
        justify-content: center;
    }
    .floating-wa {
        display: inline-flex;
    }

}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-trust span {
        font-size: 0.8rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    /* Информация об оборудовании */
    .equipment-info {
        padding: 1.2rem 1rem;
    }

    .equipment-info li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }

    /* Возможности на мобильных */
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .capability-item {
        padding: 1.5rem;
    }

    .capability-item h3 {
        font-size: 1.2rem;
    }

    /* Галереи на мобильных */
    .photo-gallery {
        gap: 0.6rem;
    }

    .gallery-img {
        flex-basis: 170px;
        width: 170px;
        height: 150px;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .slider-dots {
        gap: 0.3rem;
        margin-top: 0.5rem;
    }

    .slider-dot {
        width: 6px;
        height: 6px;
    }

    /* Модальное окно на мобильных */
    .modal {
        padding-top: 20px;
    }

    .modal-content {
        max-width: 98%;
        max-height: 75vh;
    }

    .modal-nav {
        font-size: 24px;
        padding: 10px 12px;
    }

    .modal-prev {
        left: 5px;
    }

    .modal-next {
        right: 5px;
    }

    .modal-close {
        top: 5px;
        right: 10px;
        font-size: 35px;
    }

    .modal-caption {
        font-size: 1rem;
        padding: 15px 10px;
        width: 95%;
    }

    .project-title {
        font-size: 1.4rem;
    }

    .project-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.6rem;
    }

    .contact-actions .btn {
        width: 100%;
        text-align: center;
    }
    .floating-wa {
        right: 14px;
        bottom: 14px;
        padding: 0.65rem 0.9rem;
        font-size: 0.9rem;
    }

}
