:root {
    --primary: #1a237e;
    --title: #0b1037;
    --title-strong: #050816;
    --primary-light: #3949ab;
    --accent: #ff6f00;
    --accent-light: #ff9800;
    --dark: #0d1642;
    --light: #f5f5f5;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: "Arial Narrow", Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--title);
}

.offer-card h2,
.offer-card h3 {
    color: var(--white);
}

header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

nav {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: block;
    width: 203px;
    max-width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
}

.hero {
    margin-top: 90px;
    background: linear-gradient(rgba(13, 22, 66, 0.8), rgba(26, 35, 126, 0.8)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a237e" width="1200" height="600"/><path fill="%230d1642" d="M0 300L50 325L100 300L150 275L200 300L250 325L300 300L350 275L400 300L450 325L500 300L550 275L600 300L650 325L700 300L750 275L800 300L850 325L900 300L950 275L1000 300L1050 325L1100 300L1150 275L1200 300V600H0V300Z"/></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: #0a0a0a;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
}

.cta-button:hover,
.cta-button:focus-visible {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.6);
}

.features,
.about,
.offer,
.gallery,
.contact,
.faq,
.definitions {
    padding: 80px 0;
}

.features,
.offer,
.contact,
.definitions {
    background: var(--white);
}

.gallery,
.faq {
    background: var(--light);
}

.about {
    background: linear-gradient(to right, var(--light) 50%, var(--white) 50%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--title);
    margin-bottom: 50px;
    position: relative;
}

.section-title-contrast {
    color: var(--title-strong);
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
}

.features-grid,
.offer-grid,
.gallery-grid,
.faq-content,
.definitions-content {
    display: grid;
    gap: 30px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.offer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faq-content {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.definitions-content {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p,
.faq-item p,
.definition-item p,
.about-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-content,
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-text h2::after {
    margin: 15px 0 0;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 402px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge .years {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    color: #0a0a0a;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #0a0a0a;
}

.offer-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.offer-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: all 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.offer-card:hover::before {
    top: -30%;
    right: -30%;
}

.offer-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.offer-card p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 35, 126, 0.25);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.contact-info h3,
.faq-item h3,
.definition-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-info h3 {
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: underline;
}

.contact-item a:hover,
.contact-item a:focus-visible {
    color: var(--accent);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 600px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: 0;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.definition-item {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-main p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-main a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
    transition: color 0.3s;
}

.footer-main a:hover,
.footer-main a:focus-visible {
    color: var(--accent-light);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--accent-light);
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
}

.footer-small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

.lang-section {
    background: var(--dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
}

.lang-item:hover,
.lang-item:focus-visible {
    color: var(--accent-light);
}

.lang-item img {
    border-radius: 2px;
}

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 20px;
        flex-direction: column;
        background: var(--dark);
        padding: 16px;
        border-radius: 10px;
        min-width: 220px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.is-open {
        display: flex;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        margin-top: 88px;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about {
        background: var(--white);
    }

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

    .experience-badge {
        left: 20px;
        bottom: 20px;
    }

    .map-container,
    .map-container iframe {
        min-height: 380px;
    }
}
