:root {
    --text-main: #1f2328;
    --text-muted: #64748b;
    --accent-teal: #2DA3A4;
    --accent-teal-dark: #1b7374;
    --accent-red: #ff4757;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);

    /* Обновленные переменные для новых шрифтов */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-text: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Lenis Smooth Scroll Base */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    font-family: var(--font-text);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ЗАГОЛОВКИ */
.section-title, .service-title, .contact-title, .header-logo-text, .footer-brand {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================ PROMO & HEADER ============================ */
.promo-banner {
    background: linear-gradient(90deg, #ff4757, #ff6b81, #ff4757);
    background-size: 200% auto;
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    animation: gradientGlow 4s linear infinite;
    text-transform: uppercase;
}

@keyframes gradientGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.header-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-teal-dark);
}

.header-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.header-nav a { transition: color 0.2s ease; }
.header-nav a:hover { color: var(--accent-teal); }

.header-lang { display: flex; align-items: center; }

.lang-btn {
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    margin: 0 4px;
    transition: all 0.2s ease;
    font-weight: 600;
}
.lang-btn:hover { background: #f8fafc; }
.lang-btn--active {
    background: #fff;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 1px rgba(45,163,164,0.3), 0 4px 10px rgba(45,163,164,0.1);
    color: var(--accent-teal-dark);
}

/* ============================ HERO & LOGO GLOW ============================ */
.top-hero {
    text-align: center;
    padding: 60px 20px 40px;
    margin-bottom: 30px;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 auto 30px;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(45,163,164,0.2) 0%, transparent 60%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(10px);
}

.hero-logo {
    width: 100%;
    max-width: 800px;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 50px rgba(0,0,0,0.15), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.hero-logo img { width: 100%; height: auto; display: block; }

.hero-sub {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-contact { display: flex; justify-content: center; gap: 32px; font-size: 16px; }
.hero-contact a { color: var(--accent-teal-dark); font-weight: 700; transition: color 0.2s ease;}
.hero-contact a:hover { color: var(--accent-teal); }

/* ============================ SECTIONS ============================ */
.section {
    margin-top: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.section-title {
    font-size: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    color: #0f172a;
}

.dot { width: 8px; height: 8px; background: var(--accent-teal); border-radius: 50%; box-shadow: 0 0 10px rgba(45, 163, 164, 0.6); }
.section-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

/* ============================ BENTO GRID (SERVICES) ============================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card.wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
}

.bento-card:hover {
    transform: translateY(-6px);
    background: #fff;
    border-color: var(--accent-teal);
    box-shadow: 0 14px 28px rgba(45, 163, 164, 0.08);
}

.bento-card:hover .icon-wrap svg { color: var(--accent-teal); }

.icon-wrap {
    width: 48px; height: 48px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: 0.3s ease;
}

.icon-wrap svg { width: 24px; height: 24px; color: #475569; transition: 0.3s ease; }

.service-title { font-size: 18px; color: #0f172a; margin-bottom: 6px; }
.service-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; }



/* ============================ GALLERY & LIGHTBOX ============================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { height: 240px; }
.gallery-item--featured { height: 240px; }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; cursor: pointer; transition: 0.3s ease; }
.gallery-item img:hover, .gallery-item video:hover { transform: scale(1.03); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }

#lightbox { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; z-index: 1000; }
#lightbox-content img, #lightbox-content video { max-width: 90vw; max-height: 85vh; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
#lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; transition: 0.2s; }
#lightbox-close:hover { transform: scale(1.1); }
#lightbox-prev, #lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 52px;
    line-height: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }
#lightbox-prev:hover, #lightbox-next:hover { background: rgba(255,255,255,0.25); }

/* ============================ CONTACT ============================ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 24px; }
.contact-title { font-size: 20px; margin-bottom: 8px; color: #0f172a; }
.contact-line { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-muted); margin-bottom: 6px; }
.contact-line strong { color: #0f172a; font-weight: 600; }
.contact-line a { font-weight: 500; color: #0f172a; transition: 0.2s; }
.contact-line a:hover { color: var(--accent-teal); }
.icon-sm svg { width: 22px; height: 22px; }

/* ============================ FOOTER ============================ */
.main-footer { margin-top: 60px; padding: 40px 0; background: #0f172a; color: #f8fafc; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-left { display: flex; flex-direction: column; gap: 12px; }
.footer-brand { font-size: 20px; letter-spacing: 1px; color: #fff; }
.footer-nav { display: flex; gap: 20px; font-size: 13px; color: #94a3b8; font-weight: 600; text-transform: uppercase; }
.footer-nav a:hover { color: #fff; }
.footer-made-by { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #94a3b8; }
.stronlab-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #1e293b; border: 1px solid #334155; border-radius: 999px; color: #60a5fa; font-weight: 600; transition: all 0.2s ease; }
.stronlab-badge:hover { background: #334155; border-color: #60a5fa; color: #93c5fd; transform: translateY(-2px); }

/* ============================ MEDIA QUERIES ============================ */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.wide { grid-column: span 2; }
}
@media (max-width: 600px) {
    .header-nav { display: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-left { align-items: center; }
    .footer-made-by { flex-direction: column; }
}

/* ============================ PROMO CLOSE ============================ */
.promo-banner { position: relative; }
.promo-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}
.promo-close:hover { color: #fff; }

/* ============================ HAMBURGER ============================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.hamburger:hover { background: rgba(0,0,0,0.05); }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
    .hamburger { display: flex; }
}

/* ============================ MOBILE NAV ============================ */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}
.mobile-nav.open { pointer-events: all; }

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    transition: background 0.3s ease;
}
.mobile-nav.open .mobile-nav-backdrop {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100%;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 4px;
    overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { right: 0; }

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: 0.2s;
}
.mobile-nav-close:hover { border-color: var(--accent-teal); color: var(--accent-teal); }

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    border-radius: 12px;
    transition: 0.2s;
}
.mobile-nav-link:hover { background: rgba(45,163,164,0.08); color: var(--accent-teal); }

.mobile-nav-divider { height: 1px; background: #e2e8f0; margin: 8px 0; }

.mobile-nav-contact {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
}
.mobile-nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    background: #f1f5f9;
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 15px;
    text-align: center;
}
.mobile-nav-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    background: #2AABEE;
    border-radius: 12px;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

/* ============================ TRUST STRIP ============================ */
.trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 14px 20px;
    margin: 20px auto 28px;
    max-width: 720px; /* <--- УВЕЛИЧИЛИ ШИРИНУ */
    flex-wrap: wrap;
    gap: 0;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 20px;
    gap: 3px;
}
.trust-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-teal-dark);
    line-height: 1;
}
.trust-label {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.trust-divider {
    width: 1px;
    height: 30px;
    background: rgba(0,0,0,0.1);
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .trust-item { padding: 6px 10px; }
    .trust-num { font-size: 18px; }
    .trust-divider { height: 24px; }
}

/* ============================ HERO CTA BUTTONS ============================ */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
}
.btn-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-cta--phone {
    background: var(--accent-teal);
    color: #fff;
    box-shadow: 0 8px 24px rgba(45,163,164,0.3);
}
.btn-cta--phone:hover {
    background: var(--accent-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(45,163,164,0.4);
    color: #fff;
}
.btn-cta--tg {
    background: #2AABEE;
    color: #fff;
    box-shadow: 0 8px 24px rgba(42,171,238,0.3);
}
.btn-cta--tg:hover {
    background: #1e96d6;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(42,171,238,0.4);
    color: #fff;
}

/* ============================ FLOATING TELEGRAM ============================ */
.telegram-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2AABEE;
    color: #fff;
    padding: 14px 22px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 30px rgba(42,171,238,0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.telegram-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(42,171,238,0.55);
    color: #fff;
}
.telegram-float svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 600px) {
    .telegram-float span { display: none; }
    .telegram-float { padding: 16px; border-radius: 50%; bottom: 20px; right: 16px; }
}

/* ============================ GALLERY IMPROVEMENTS ============================ */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.gallery-item--featured { grid-column: span 2; }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}
.gallery-overlay svg {
    width: 42px;
    height: 42px;
    color: #fff;
    opacity: 0;
    transform: scale(0.75);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.gallery-item:hover .gallery-overlay { background: rgba(15, 23, 42, 0.45); }
.gallery-item:hover .gallery-overlay svg { opacity: 1; transform: scale(1); }
.gallery-item img:hover, .gallery-item video:hover { transform: none; box-shadow: none; }

/* ============================ SCROLL SPY ============================ */
.header-nav a.nav-active { color: var(--accent-teal); }

/* ============================ ICON WRAP TEAL DEFAULT ============================ */
.icon-wrap {
    background: rgba(45, 163, 164, 0.07);
    border: 1px solid rgba(45, 163, 164, 0.14);
}
.icon-wrap svg { color: var(--accent-teal-dark); }

/* ============================ GOOGLE MAPS ============================ */
.map-wrapper {
    margin-top: 28px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 30px rgba(15,23,42,0.06);
    height: 280px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================ FOOTER PHONE + SOCIAL ============================ */
.footer-phone-link {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.footer-phone-link:hover { color: var(--accent-teal); }

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    color: #94a3b8;
    transition: all 0.2s ease;
}
.footer-social-link:hover {
    background: #334155;
    color: #fff;
    border-color: #475569;
    transform: translateY(-2px);
}
.footer-social-link svg { width: 18px; height: 18px; }