/* Global styles */
body {
    margin: 0;
    color: #FFFFFF; /* Белый текст по всему сайту */
    background-color: #1A1D21; /* Основной темно-серый цвет */
    background-image: 
        radial-gradient(at 10% 20%, #8DE8FE33 0%, transparent 40%), /* Голубой свет */
        radial-gradient(at 90% 80%, #F5B04133 0%, transparent 40%), /* Оранжевый свет */
        linear-gradient(180deg, #1A1D21 0%, #0F1113 100%), /* Глубокий серый градиент */
        url('network-pattern.png'); /* Тонкий паттерн труб/сетей */
    background-size: cover, cover, cover, contain; /* Настраиваем масштабирование */
    background-attachment: fixed; /* Прибиваем фон */
    font-family: sans-serif;
    min-height: 100vh;
    border: none;
    outline: none;
}

h1, h2, p {
    border: none;
    outline: none;
}

/* Top navigation */
.top-nav {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.top-nav-logo {
    display: inline-block;
}
.top-nav-logo-img {
    width: 600px;
    height: auto;
    display: block;
}
.top-nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.top-nav-links a {
    color: #d4a34d;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.15s ease-in-out;
}
.top-nav-links a.active {
    color: #f3d29a;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}
.top-nav-links a:hover {
    color: #f3d29a;
}
@media (min-width: 901px) {
    .home-page .top-nav {
        display: block;
        text-align: center;
    }
    .home-page .top-nav-links {
        display: inline-flex;
        justify-content: center;
        margin: 0 auto;
        gap: 3rem;
    }
}
@media (max-width: 900px) {
    .top-nav {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0.75rem 0.75rem;
    }
    .top-nav-logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .top-nav-logo-img {
        width: min(375px, 92vw);
        max-width: 100%;
    }
    .top-nav-links {
        width: 100%;
        justify-content: center;
        gap: clamp(0.35rem, 2vw, 0.9rem);
        flex-wrap: nowrap;
    }
    .top-nav-links a {
        font-size: clamp(0.62rem, 2.7vw, 0.85rem);
    }
}

/* Logo hero */
.logo-hero {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 40px 0;
}

.main-logo {
    width: 90%;
    max-width: 900px;
    height: auto;
    
    /* ВОТ ЭТА ШТУКА УБИРАЕТ БЕЛЫЙ КВАДРАТ */
    mix-blend-mode: lighten;
    
    /* Делаем цвета как на моем макете: сочными и яркими */
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1)) brightness(1.2) contrast(1.2);
}

/* section links */
.section-link {
    display: inline-block;
    background: rgba(31, 41, 55, 0.85);
    border: 1px solid #9ca3af;
    padding: 1.2rem 2rem;
    color: #f3f4f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    margin-top: 1.2rem;
}
.section-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.18);
    border: 1px solid #d1d5db;
}
.brand-label {
    display: inline-block;
    background: rgba(2, 25, 79, 0.6);
    padding: 0.35rem 0.8rem;
    border-radius: 0.6rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Layout and container classes */
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { margin-top: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.text-center { text-align: center; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }

/* Typography */
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.font-light { font-weight: 300; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-relaxed { line-height: 1.625; }

/* Colors */
.text-gray-100 { color: #f3f4f6; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-white { color: #ffffff; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800\/50 { background-color: rgba(31, 41, 55, 0.5); }
.bg-gray-900 { background-color: #111827; }
.bg-blue-900 { background-color: #1e3a8a; }
.text-gold { color: #d4a34d; }
body.survey-page .text-gray-100,
body.survey-page .text-gray-300,
body.survey-page .text-gray-400,
body.survey-page .text-white,
body.survey-page .footer-copy,
body.survey-page .footer-contact div,
body.survey-page .footer-contact a {
    color: #d4a34d !important;
}
@media (max-width: 767px) {
    body.survey-page .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}
.info-card {
    background: rgba(18, 30, 45, 0.80);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.08);
}
.border-gray-400 { border-color: #9ca3af; }
.border-gray-500 { border-color: #6b7280; }
.border-gray-700 { border-color: #374151; }

/* Spacing */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.p-10 { padding: 2.5rem; }
.md\:p-12 { padding: 3rem; }
.pt-4 { padding-top: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* Flexbox and Grid */
.flex { display: flex; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.md\:grid-cols-3 { grid-template-columns: 1fr; }
.md\:grid-cols-2 { grid-template-columns: 1fr; }
.inline-block { display: inline-block; }
.block { display: block; }

/* Borders */
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.rounded-lg { border-radius: 0.5rem; }

/* Sizes */
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-full { width: 100%; }

/* Interactions */
.hover\:bg-gray-600:hover { background-color: #4b5563; }
.hover\:bg-gray-800:hover { background-color: #1f2937; }
.hover\:border-gray-400:hover { border-color: #9ca3af; }
.hover\:text-gray-100:hover { color: #f3f4f6; }
.focus\:border-gray-500:focus { border-color: #6b7280; }
.focus\:outline-none:focus { outline: none; }
.transition-colors { transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, color 0.15s ease-in-out; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Custom utilities */
.space-y-6 > * + * { margin-top: 1.5rem; }
.resize-none { resize: none; }

/* Контакти */
.contact-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    align-items: flex-start;
    margin-top: -3rem;
    padding-top: 0.4rem;
}
.contact-columns::before {
    content: '';
    display: none;
}
.contact-left,
.contact-right {
    padding: 0.1rem 1rem 1rem;
    margin-top: 0;
}
.contact-left {
    margin-top: 0;
}
.contact-left h2,
.contact-right h2,
.contact-columns h2 {
    margin: 0;
    padding-top: 0;
}

@media (min-width: 1024px) {
    .contact-columns {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        margin-top: -2rem;
        width: 100%;
        max-width: 100%;
    }
    .contact-left {
        flex: 1 1 100%;
        border-right: 1px solid rgba(255,255,255,0.15);
        padding-right: 2rem;
        margin-right: 0;
        min-width: 0;
    }
    .contact-right {
        flex: 1 1 100%;
        padding-left: 2rem;
        min-width: 0;
    }
    .contact-columns::before {
        display: none;
    }
}
.contact-left p,
.contact-right label,
.contact-left span {
    color: #d1d5db;
}
.text-golden {
    color: #d0ab4f;
    text-decoration: underline 1px;
}
.text-golden-light {
    color: #ebc765;
}
.form-field {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #ffffff;
    border: 1px solid #9ca3af;
    border-radius: 0.25rem;
    color: #111827;
    font-size: 1rem;
}
.textarea-field { min-height: 120px; resize: vertical; }
.btn-submit {
    border: none;
    width: 100%;
    background: #d1a54f;
    color: #111827;
    font-weight: 700;
    padding: 0.8rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-submit:hover { background: #b5853c; }

@media (min-width: 1024px) {
    .contact-columns {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .contact-left {
        border-right: 1px solid rgba(255,255,255,0.15);
        padding-right: 2rem;
        margin-right: 1.5rem;
        padding-top: 0;
        align-self: start;
    }
    .contact-right {
        padding-left: 2rem;
        padding-top: 0;
        margin-top: 0;
        align-self: start;
    }
}

    .contact-columns::before {
        display: block;
    }
}

/* Products section */
.products-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: #d4a34d;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 50px;
    text-transform: uppercase;
    border-left: 5px solid #d4a34d;
    padding-left: 15px;
}

.product-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
}

.product-image img {
    width: 175px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: white;
}

.product-info h3 {
    color: #d4a34d;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.product-info p {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 17px;
}

@media (max-width: 850px) {
    .product-item {
        flex-direction: column;
        align-items: center;
    }
    .product-image img {
        width: 100%;
        max-width: 225px;
    }
}

/* Mobile styles */
@media (max-width: 640px) {
    .product-item {
        gap: 20px;
        margin-bottom: 40px;
        padding: 15px;
    }
    .product-image img {
        max-width: 150px;
    }
    .product-info h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .product-info p {
        font-size: 14px;
        line-height: 1.6;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 1rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    color: #d1d5db;
}
.footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo {
    font-size: 1.25rem;
    font-weight: 500;
    color: #d4a34d;
    flex: 0 1 45%;
}
.footer-logo-img {
    width: 720px;
    max-width: 100%;
    height: auto;
    display: block;
}
.footer-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #d4a34d;
    flex: 0 1 45%;
    min-width: 220px;
}
.footer-contact div,
.footer-contact a {
    color: #d4a34d;
}
.footer-contact a {
    text-decoration: none;
}
.footer-contact a:hover {
    text-decoration: underline;
}
.footer-copy {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #d4a34d;
    text-align: center;
    width: 100%;
}

@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .footer-contact {
        order: -1;
        text-align: center;
        align-items: center;
    }
    .footer-logo {
        width: 100%;
    }
    .footer-logo-img {
        width: 640px;
    }
}

/* Responsive */
@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:p-12 { padding: 3rem; }
}

@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Logo styles */
.my-logo {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.15s ease-in-out;
}
.my-logo:hover {
    opacity: 0.8;
}