:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #fbbf24;
    --accent-hover: #f59e0b;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn,
.logo-link,
.messenger-link,
.hero-features-list li,
.messenger-icon {
    will-change: transform;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Nav Styles */
.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-img {
    height: 80px;
    /* Reduced specific size or auto */
    max-height: 80px;
    /* Constraint */
    width: auto;
    transition: var(--transition);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.logo-text::after {
    content: '.by';
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

.header-contacts {
    text-align: right;
}

.work-time {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.phone-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.phone {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.phone:hover {
    color: var(--primary-dark);
}

.messengers-inline {
    display: flex;
    gap: 0.5rem;
}

.messenger-icon {
    width: 28px;
    height: 28px;
    display: block;
    transition: var(--transition);
    opacity: 0.8;
}

.messenger-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.messenger-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Hero Section - V4 Elegant Dark */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.85) 100%), url('../images/3.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    will-change: background-position;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 1100px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-title br {
    display: block;
}

.highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9500 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-locations {
    margin-bottom: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.location-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location-list {
    color: rgba(255, 255, 255, 0.9);
}

.hero-features-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 950px;
    perspective: 1000px;
    /* For 3D depth */
}

.hero-features-list li {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.1s ease-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    /* Hint for GPU acceleration */
    contain: layout style;
    /* Layout isolation for performance */
}

/* Mouse-tracking glow layer */
.hero-features-list li .glow-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 150px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(251, 191, 36, 0.15),
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.hero-features-list li:hover .glow-effect {
    opacity: 1;
}

/* Shine reflection effect */
.hero-features-list li::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
    z-index: 2;
}

.hero-features-list li:hover::after {
    left: 150%;
}

/* Adjusting internal content for 3D layering */
.hero-features-list li span,
.hero-features-list li::before {
    position: relative;
    z-index: 1;
    transform: translateZ(20px);
    /* Lift content slightly */
}

.hero-features-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
    color: #0a0f1a;
    border-radius: 8px;
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    border: none;
    will-change: transform;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Section Common Styles */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-bg-text {
    position: absolute;
    font-size: 15rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.bg-text-left {
    top: 50%;
    left: -5%;
    transform: translateY(-50%);
}

.bg-text-right {
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
}

.bg-text-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    height: 100%;
}

/* About Section */
.about {
    background: linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)), url('../images/our_examples/21.png');
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.about-grid {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

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

/* .about-image removed */

.geography-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.geo-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.geo-badge svg {
    width: 24px;
    height: 24px;
}

.geo-cities {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.about-services-list {
    margin-top: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.about-services-list h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-services-list h3::before {
    content: '';
    width: 4px;
    height: 1.2em;
    background: var(--accent);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-item:hover {
    background: var(--bg-white);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    color: var(--primary);
    border-radius: 12px;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-item:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-item span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Technology Section Styles */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 4px solid var(--primary);
}

.tech-card.full-width {
    grid-column: span 2;
}

.tech-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.tech-usage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-card.full-width {
        grid-column: span 1;
    }

    .tech-usage {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Process Section */
.process {
    background: var(--bg-light);
}

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

.process-step {
    padding: 2rem;
    text-align: left;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    /* Clean background or none */
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.step-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.process-step p {
    text-align: left;
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.08);
    /* Transparent blue matching the image */
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
    letter-spacing: -0.05em;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    p,
    .about-text-content p {
        font-size: 1.2rem;
        line-height: 1.7;
    }

    .process-step {
        padding: 1.5rem;
    }
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-block h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--primary);
}

.info-block ul {
    list-style: none;
}

.info-block li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    display: block;
}

.info-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.card.accent {
    border-top: 6px solid var(--primary);
}

.card.warning {
    background: #fffcf0;
    border: 1px solid #fde68a;
}

.card.warning h3,
.card.warning li::before {
    color: #b45309;
}

.card.warning li::before {
    background: #b45309;
}

.warning-text {
    margin-top: 1.5rem;
    font-weight: 700;
    color: #92400e;
}

/* Gallery Section */
.gallery {
    background: var(--bg-white);
    content-visibility: auto;
    /* Significant performance boost for long lists */
    contain-intrinsic-size: 1000px;
    /* Placeholder size for the browser */
}

.equipment-bg-deco {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-15deg);
}

.equipment-bg-deco img {
    width: 100%;
    height: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    cursor: pointer;
    background: var(--bg-light);
    will-change: transform;
    transform: translateZ(0);
    /* Force GPU layer */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contacts Section */
.contacts {
    background: var(--bg-light);
}

.contacts-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item h3 {
    margin-bottom: 1rem;
}

.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phone-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.messengers-list {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.messenger-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
    background: var(--bg-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.messenger-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.svg-icon-sm {
    width: 24px;
    height: 24px;
    display: block;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 600px;
}

.cities-list span {
    padding: 0.4rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.cities-list span:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.cities-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer - Modern Design */
.footer {
    background: linear-gradient(180deg, #0a0f1a 0%, #050810 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-logo-text .accent {
    color: var(--accent);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-nav a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-phones a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-phones a:hover {
    color: var(--accent);
}

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

.footer-messenger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.footer-messenger img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-messenger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-messenger:hover img {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transform: translateY(20px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
    transition: transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.5);
}

.back-to-top:hover svg {
    transform: translateY(-3px);
}

.footer-work-time {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-nav {
        align-items: center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {

    .about-grid,
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    section {
        padding: 60px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-img {
        height: 60px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .header-contacts {
        text-align: center;
    }

    .phone-row {
        justify-content: center;
    }

    .messengers-inline {
        justify-content: center;
    }

    .hero {
        padding: 5rem 0 3rem;
        text-align: center;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .hero-features-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: left;
    }

    .hero-features-list li {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .hero-features-list li::before {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .about-image {
        display: none;
    }

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

    .phone-number {
        font-size: 1.5rem;
    }
}

/* Hide LightGallery License Warning */
.lg-license-alert {
    display: none !important;
}