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

:root {
    --primary-color: #1E40AF;
    --primary-dark: #1E3A8A;
    --primary-light: #3B82F6;
    --primary-bright: #60A5FA;
    --accent-blue: #2563EB;
    --accent-cyan: #06B6D4;
    --secondary-color: #0EA5E9;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --text-muted: #9CA3AF;
    --bg-light: #F3F4F6;
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    --bg-card: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #60A5FA 100%);
    --border-color: #E5E7EB;
    --border-accent: #DBEAFE;
    --shadow-sm: 0 1px 3px rgba(30, 64, 175, 0.1);
    --shadow-md: 0 4px 12px rgba(30, 64, 175, 0.15);
    --shadow-lg: 0 10px 30px rgba(30, 64, 175, 0.2);
    --shadow-xl: 0 20px 50px rgba(30, 64, 175, 0.25);
    --shadow-blue: 0 8px 25px rgba(59, 130, 246, 0.3);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.4);
    --navbar-height: 80px;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: #ffffff;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    gap: 2rem;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-animation {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4), rgba(14, 165, 233, 0));
    filter: blur(20px);
    animation: pulseGlow 3s ease-in-out infinite;
}

.preloader-ring {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(96, 165, 250, 0.9);
    animation: spin 1.8s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.preloader-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60A5FA, #2563EB);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.7);
    animation: bounceDot 1.2s ease-in-out infinite;
}

.preloader-text {
    text-align: center;
    color: white;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1;
}

.preloader-text strong {
    font-size: 1.8rem;
    letter-spacing: 0.3em;
}

.side-banner {
    position: fixed;
    left: 20px;
    top: calc(var(--navbar-height, 80px) + 20px);
    transform: translateX(-120%);
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
    padding: 1.5rem;
    z-index: 9998;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4);
    max-width: 320px;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease, background 0.4s ease;
    opacity: 0;
    display: none;
}

.side-banner.active {
    transform: translateX(0);
    opacity: 1;
}

.side-banner.timer-mode {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.4);
}

.promo-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.promo-banner-icon {
    font-size: 2.5rem;
    text-align: center;
    animation: promoBounce 2s ease-in-out infinite;
}

@keyframes promoBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.promo-banner-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.promo-banner-title {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
}

.promo-banner-text {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.4;
}

.promo-banner-btn {
    background: white;
    color: #DC2626;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.promo-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #FEF2F2;
}

.side-banner-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 0;
    width: 28px;
    height: 28px;
    min-width: 35px;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    margin: 0;
}

.side-banner-close::before {
    content: '×';
    display: block;
    line-height: 1;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.side-banner-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.35);
}

.side-banner-close:active {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0.95);
}

.timer-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.timer-banner-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.timer-banner-icon {
    font-size: 1.25rem;
}

.timer-banner-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.timer-banner-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.timer-banner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 42px;
    padding: 0.6rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-banner-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.timer-banner-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
    font-weight: 500;
}

.timer-banner-separator {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.timer-banner-places {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
    align-self: center;
}

.timer-banner-places-left {
    font-size: 1.35rem;
    font-weight: 800;
    color: #E0F2FE;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timer-banner-places-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

body.nav-menu-open {
    overflow: hidden;
}

body.nav-menu-open::after {
    display: none;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(6px);
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: none;
}

.navbar .container {
    max-width: 100%;
    padding: 0 2rem;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background: transparent;
    position: relative;
    z-index: 1;
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon-wrapper {
    flex-shrink: 0;
}

.logo-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 10px rgba(30, 64, 175, 0.3));
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-icon {
    filter: drop-shadow(0 2px 5px rgba(30, 64, 175, 0.2));
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 6px 15px rgba(30, 64, 175, 0.5));
    transform: rotate(-5deg);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text-main {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    line-height: 1;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar.scrolled .logo-text-main {
    color: var(--text-white);
    text-shadow: none;
}

.logo-text-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.logo-text-owner {
    font-size: 0.62rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.02em;
    margin-top: 2px;
    line-height: 1.15;
    max-width: 260px;
}

.navbar.scrolled .logo-text-sub {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: none;
}

.navbar.scrolled .logo-text-owner {
    color: rgba(255, 255, 255, 0.72);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1400px) {
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.25rem;
    }
    
    .logo-text-main {
        font-size: 1.6rem;
    }
}

@media (max-width: 1200px) {
    .navbar .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .nav-cta {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
        margin-left: 1rem;
    }
    
    .logo-text-main {
        font-size: 1.5rem;
    }
    
    .logo-text-sub {
        font-size: 0.8rem;
    }

    .logo-text-owner {
        font-size: 0.56rem;
        max-width: 210px;
    }
}

@media (max-width: 1100px) {
    .nav-menu li:nth-child(6) .nav-link {
        font-size: 0.8rem;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 968px) {
    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .side-banner {
        left: 15px;
        top: calc(var(--navbar-height, 80px) + 15px);
        max-width: calc(100vw - 30px);
    }
}

@media (min-width: 969px) {
    .navbar.scrolled .nav-menu {
        background: transparent;
        box-shadow: none;
    }
}
.nav-menu li {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.01em;
    padding: 0.5rem 0.3rem;
    display: block;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}

.navbar.scrolled .nav-link::after {
    background: var(--primary-color);
}

.nav-link:hover {
    color: var(--text-white);
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-bright);
    text-shadow: none;
}

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

.nav-cta {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    box-shadow: var(--shadow-blue);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .menu-toggle span {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: none;
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--text-white);
    border: none;
    padding: 1.1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1.1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.85rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: -0.01em;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    padding: 80px 0 40px;
    overflow: hidden;
    background: #0F172A;
    margin: 0;
    margin-top: 0;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: #0F172A;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 64, 175, 0.6) 50%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.15) 0%, transparent 50%);
    z-index: 3;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, var(--primary-color) 10px, var(--primary-color) 11px);
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    animation: fadeInUp 1s ease;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 4.75rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-white);
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(59, 130, 246, 0.2);
}

.hero-title span {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: none;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    border-radius: 2px;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 4.5rem;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.01em;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    transform: translate(0, 0);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover::after {
    opacity: 1;
    transform: translate(25%, 25%);
}

.stat-item:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 8px 25px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-number {
    font-size: 3.75rem;
    font-weight: 900;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    display: block;
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--primary-dark);
}

.hero-buttons {
    display: flex;
    gap: 1.75rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    flex: 1;
    min-width: 220px;
    padding: 1.3rem 3rem;
    font-size: 1.1rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--text-white);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.next-group-timer {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    text-align: center;
    animation: fadeInUp 1s ease 1s both;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.timer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.timer-icon {
    font-size: 1.1rem;
}

.timer-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.01em;
}

.timer-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
    padding: 0.6rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.timer-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.timer-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
    font-weight: 500;
}

.timer-separator {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.timer-places {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(96, 165, 250, 0.12);
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.places-left {
    font-size: 1.35rem;
    font-weight: 800;
    color: #60A5FA;
    font-variant-numeric: tabular-nums;
}

.places-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.scroll-indicator {
    position: relative;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--bg-gradient);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 2.5rem auto 0;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

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

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #EFF6FF 0%, transparent 100%);
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h3 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.15rem;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.features-list li {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.features-list li:hover {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.about-form {
    position: relative;
}

.form-wrapper-inline {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-color);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.advantages-wrapper {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.advantages-wrapper .advantages-title {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.advantages-wrapper .advantages-grid {
    margin-top: 0;
}

.services {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.progress-road {
    padding: 4rem 0 3rem;
    position: relative;
}
.progress-road .section-title {
    color: #f7f9ff;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.progress-road .section-subtitle {
    color: rgba(232, 239, 255, 0.9);
}

.progress-road-wrapper {
    position: relative;
    padding: 2.75rem 1.25rem;
    background: linear-gradient(145deg, rgba(12, 18, 32, 0.92), rgba(10, 16, 28, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(59, 130, 246, 0.08);
    overflow: visible;
}

.progress-line {
    position: absolute;
    top: 38%;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.4), rgba(14, 165, 233, 0.35));
    transform: translateY(-50%);
    border-radius: 999px;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

.path-to-rights {
    position: fixed;
    top: 55%;
    right: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 12px 32px;
    width: 100px;
    min-height: 500px;
    border-radius: 16px;
    background: rgba(10, 16, 28, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.15);
    z-index: 50;
    backdrop-filter: blur(12px);
    pointer-events: auto;
}

.path-to-rights-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.path-to-rights-icon {
    font-size: 1.8rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
}

.path-to-rights-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(59, 130, 246, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.path-steps {
    display: flex;
    flex-direction: column;
    gap: 64px;
    position: relative;
    z-index: 1;
    padding: 0;
}

.path-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.5;
}

.path-step.active {
    opacity: 1;
    transform: scale(1.05);
}

.path-step-node {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.path-step.active .path-step-node {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
}

.path-step-number {
    font-weight: 800;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.path-step.active .path-step-number {
    color: #ffffff;
}

.path-step-label {
    font-weight: 700;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.path-step.active .path-step-label {
    color: rgba(255, 255, 255, 0.95);
}

.path-step-time {
    font-weight: 600;
    font-size: 0.65rem;
    color: rgba(59, 130, 246, 0.7);
    text-align: center;
    white-space: nowrap;
    margin-top: 2px;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.path-step.active .path-step-time {
    color: rgba(59, 130, 246, 0.95);
}

@media (max-width: 1200px) {
    .path-to-rights {
        right: 16px;
        width: 90px;
        padding: 18px 10px 28px;
        min-height: 480px;
    }
    .path-to-rights-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }
    .path-to-rights-icon {
        font-size: 1.6rem;
    }
    .path-to-rights-title {
        font-size: 0.7rem;
    }
    .path-steps {
        gap: 56px;
    }
    .path-step-label {
        font-size: 0.75rem;
    }
    .path-step-time {
        font-size: 0.6rem;
    }
}

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

.path-to-rights-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 12px 16px;
    background: rgba(10, 16, 28, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(59, 130, 246, 0.15);
    z-index: 100;
    backdrop-filter: blur(12px);
    pointer-events: auto;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 1;
}

.path-to-rights-mobile.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.path-mobile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.path-mobile-icon {
    font-size: 1.2rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
}

.path-mobile-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(59, 130, 246, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.path-mobile-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    position: relative;
}

.path-mobile-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.5;
}

.path-mobile-step.active {
    opacity: 1;
    transform: scale(1.1);
}

.path-mobile-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.path-mobile-step.active .path-mobile-node {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.path-mobile-number {
    font-weight: 800;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.path-mobile-step.active .path-mobile-number {
    color: #ffffff;
}

.path-mobile-label {
    font-weight: 700;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.path-mobile-step.active .path-mobile-label {
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 1024px) {
    .path-to-rights-mobile {
        display: flex;
    }
}

@media (max-width: 640px) {
    .path-to-rights-mobile {
        padding: 10px 12px;
    }
    .path-mobile-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    .path-mobile-icon {
        font-size: 1.1rem;
    }
    .path-mobile-title {
        font-size: 0.7rem;
    }
    .path-mobile-node {
        width: 28px;
        height: 28px;
    }
    .path-mobile-number {
        font-size: 0.8rem;
    }
    .path-mobile-label {
        font-size: 0.65rem;
    }
    .path-mobile-steps {
        gap: 4px;
    }
}

.progress-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
}

.step-node {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(59, 130, 246, 0.7));
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    margin-bottom: 0.35rem;
}

.progress-step h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0;
    color: #E5ECFF;
}

.progress-step p {
    margin: 0;
    color: rgba(229, 236, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.55;
}

.step-time {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(59, 130, 246, 0.9);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.step-tooltip {
    position: absolute;
    top: -1.25rem;
    left: 0;
    transform: translateY(-100%);
    background: rgba(10, 16, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: rgba(229, 236, 255, 0.94);
    font-size: 0.92rem;
    line-height: 1.45;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38), 0 0 24px rgba(59, 130, 246, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-width: 280px;
    z-index: 2;
}

.step-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: rgba(13, 20, 37, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
}

.progress-step:hover .step-tooltip {
    opacity: 1;
    transform: translateY(-115%);
}

@media (max-width: 1100px) {
    .progress-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.5rem;
    }
    .progress-line {
        display: none;
    }
    .progress-step {
        padding-top: 0.5rem;
    }
    .step-tooltip {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        opacity: 1;
        margin-top: 0.5rem;
    }
    .step-tooltip::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .progress-road {
        padding: 3rem 0 2rem;
    }
    .progress-road-wrapper {
        padding: 1.5rem 1rem;
    }
    .progress-steps {
        grid-template-columns: 1fr;
    }
    .step-tooltip {
        margin-top: 0.35rem;
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1199px) and (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 599px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1.25rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .service-price {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
    
    .badge {
        top: 10px;
        right: 10px;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

.service-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-color);
}

.service-card.featured {
    background: var(--bg-gradient);
    color: var(--text-white);
    border: none;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    position: relative;
}

.service-card.featured::before {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(1);
}

.service-card.featured .service-title,
.service-card.featured .service-description,
.service-card.featured .service-price {
    color: var(--text-white);
}

.service-card.featured .service-price {
    -webkit-text-fill-color: var(--text-white);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--text-white);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.advantages {
    background: var(--bg-white);
    position: relative;
}

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

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

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

.advantage-item {
    text-align: center;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 8px;
}

.advantage-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.advantage-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.55;
    font-size: 0.9375rem;
    margin: 0;
}

.documents-legal {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    position: relative;
}

.documents-section {
    margin-bottom: 4rem;
}

.documents-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.legal-info-section {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.legal-info-section-fullwidth {
    width: 100%;
    background: linear-gradient(180deg, 
        rgba(248, 250, 252, 1) 0%, 
        rgba(241, 245, 249, 0.8) 50%,
        rgba(248, 250, 252, 1) 100%);
    padding: 4rem 0;
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

.legal-info-section-fullwidth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 64, 175, 0.06) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.legal-info-section-fullwidth::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-color) 20%,
        var(--primary-color) 80%,
        transparent 100%);
    z-index: 1;
}

.legal-info-section-fullwidth .container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-info-section-title {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.legal-info-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 6px;
    background: var(--bg-gradient);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.documents {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    position: relative;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1400px) {
    .documents-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .documents-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .document-card {
        padding: 1.5rem 1.25rem;
    }
    
    .document-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .document-card h3 {
        font-size: 1.1rem;
    }
    
    .document-card p {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
}

.document-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.document-card:hover::before {
    transform: scaleX(1);
}

.document-card:hover {
    transform: translateY(-12px) rotate(2deg);
    box-shadow: var(--shadow-xl), var(--shadow-blue);
    border-color: var(--primary-color);
}

.document-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
}

.document-card:hover .document-icon {
    transform: scale(1.2) rotate(-10deg);
}

.document-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.document-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.9rem;
}

.document-card .btn-outline {
    margin-top: auto;
}

.legal-info {
    background: var(--bg-white);
    position: relative;
}

.documents-legal .legal-info-content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.legal-info-content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.legal-info-intro {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary-color);
}

.legal-info-intro p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.legal-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-accordion-item {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.legal-accordion-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.legal-accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.legal-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.6) 0%, rgba(219, 234, 254, 0.6) 100%);
    border-left: 4px solid transparent;
}

.legal-accordion-item.active .legal-accordion-header {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    border-left-color: var(--primary-color);
}

.legal-accordion-header:hover {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.18) 0%, rgba(59, 130, 246, 0.18) 100%);
}

.accordion-header-content {
    flex: 1;
}

.legal-accordion-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.3rem 0;
    letter-spacing: -0.01em;
}

.accordion-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.1);
}

.legal-accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--text-white);
}

.legal-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    padding: 0 2rem;
    opacity: 0;
}

.legal-accordion-item.active .legal-accordion-content {
    max-height: 5000px;
    padding: 2.5rem;
    opacity: 1;
}

.legal-section-description {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.legal-section-description p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

.legal-section-requirements {
    margin-bottom: 2rem;
}

.legal-section-requirements h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section-requirements h4::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 900;
}

.legal-accordion-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.legal-accordion-content p:last-child {
    margin-bottom: 0;
}

.legal-accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
}

.legal-accordion-content ul li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-accordion-content ul li:last-child,
.legal-accordion-content ul li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.legal-accordion-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.2rem;
}

.legal-accordion-content strong {
    color: var(--text-dark);
    font-weight: 700;
}

.legal-section-documents {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-accent);
}

.legal-section-documents h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section-documents h4::before {
    content: '📁';
    font-size: 1.3rem;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.5) 0%, rgba(219, 234, 254, 0.5) 100%);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.document-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 10px;
}

.document-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.document-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.document-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.document-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.legal-info-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    border-radius: 16px;
    border: 2px solid var(--border-accent);
}

.legal-info-footer p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-info-footer p:last-child {
    margin-bottom: 0;
}

.legal-info-footer strong {
    color: var(--text-dark);
    font-weight: 700;
}

.legal-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    width: 100%;
    align-items: stretch;
}

.legal-card {
    background: var(--bg-white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 18px rgba(15, 23, 42, 0.06);
    min-height: 160px;
    height: 100%;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.24);
}

.legal-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    transform: translate(0, 0);
}

.legal-card:hover::before {
    transform: scaleX(1);
}

.legal-card:hover::after {
    opacity: 1;
    transform: translate(33%, 33%);
}

.legal-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 20px 50px rgba(15, 23, 42, 0.15),
        0 8px 25px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(239, 246, 255, 0.4) 50%,
        rgba(255, 255, 255, 1) 100%);
}

.legal-card-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(239, 246, 255, 0.85) 0%, 
        rgba(219, 234, 254, 0.65) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 18px;
    transition: all 0.35s ease;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 3px 12px rgba(30, 64, 175, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.legal-card-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(8px);
}

.legal-card:hover .legal-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, 
        rgba(239, 246, 255, 1) 0%, 
        rgba(219, 234, 254, 0.9) 100%);
    border-color: var(--primary-color);
    box-shadow: 
        0 8px 30px rgba(30, 64, 175, 0.25),
        0 0 0 4px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.legal-card:hover .legal-card-icon::before {
    opacity: 0.6;
}

.legal-card-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.35rem;
}

.legal-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.35rem 0;
    letter-spacing: -0.01em;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.legal-card:hover .legal-card-title {
    color: var(--primary-dark);
}

.legal-card-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
    line-height: 1.55;
    flex: 1;
}

.legal-card-arrow {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: all 0.35s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(239, 246, 255, 0.9) 0%, 
        rgba(219, 234, 254, 0.7) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    z-index: 1;
    align-self: flex-end;
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.12);
}

.legal-card-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.legal-card:hover .legal-card-arrow {
    transform: translateX(10px) scale(1.15);
    background: var(--bg-gradient);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 
        0 6px 20px rgba(30, 64, 175, 0.4),
        0 0 0 4px rgba(59, 130, 246, 0.15);
}

.legal-card:hover .legal-card-arrow svg {
    transform: translateX(3px);
}

.document-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.document-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    background: var(--bg-white);
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    display: flex;
    flex-direction: column;
    z-index: 4001;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 4002;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.modal-header {
    padding: 2.5rem 2.5rem 2rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.5) 0%, rgba(219, 234, 254, 0.5) 100%);
}

.modal-icon {
    font-size: 4rem;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    border-radius: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.modal-header-content {
    flex: 1;
    min-width: 0;
}

.modal-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-description {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-requirements {
    margin-bottom: 2rem;
}

.modal-requirements h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.01em;
}

.modal-requirements h4::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 900;
    flex-shrink: 0;
}

.modal-requirements h5.requirement-category {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    display: block;
}

.modal-requirements h5.requirement-category:first-child {
    margin-top: 0;
}

.modal-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-requirements ul.requirements-sublist {
    margin: 0 0 1rem 0;
    padding-left: 0;
}

.modal-requirements ul li {
    padding: 1rem 1.25rem 1rem 2.5rem;
    color: var(--text-dark);
    line-height: 1.7;
    position: relative;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.modal-requirements ul.requirements-sublist li {
    padding: 0.75rem 1rem 0.75rem 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.modal-requirements ul li:hover {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.8) 0%, rgba(219, 234, 254, 0.8) 100%);
    transform: translateX(5px);
}

.modal-requirements ul li::before {
    content: '•';
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
}

.modal-documents {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-accent);
}

.modal-documents h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-documents h4::before {
    content: '📁';
    font-size: 1.5rem;
}

.modal-documents .no-documents {
    color: var(--text-light);
    font-style: italic;
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-light);
    border-radius: 12px;
}

@media (min-width: 1600px) {
    .legal-info-section-fullwidth {
        padding: 7rem 0;
    }
    
    .legal-info-section-fullwidth .container {
        max-width: 1600px;
        padding: 0 3rem;
    }
    
    .legal-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .legal-card {
        min-height: 220px;
        padding: 3rem 2.75rem;
    }
    
    .legal-info-section-title {
        font-size: 3rem;
        margin-bottom: 4.5rem;
    }
}

@media (max-width: 1599px) and (min-width: 1400px) {
    .legal-info-section-fullwidth {
        padding: 6rem 0;
    }
    
    .legal-info-section-fullwidth .container {
        max-width: 1400px;
        padding: 0 2.5rem;
    }
    
    .legal-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.25rem;
    }
    
    .legal-card {
        min-height: 210px;
        padding: 2.75rem 2.5rem;
    }
    
    .legal-info-section-title {
        font-size: 2.85rem;
        margin-bottom: 4rem;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .legal-info-section-fullwidth {
        padding: 5.5rem 0;
    }
    
    .legal-info-section-fullwidth .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    .legal-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .legal-card {
        min-height: 200px;
        padding: 2.5rem 2.25rem;
    }
    
    .legal-info-section-title {
        font-size: 2.4rem;
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 1199px) and (min-width: 968px) {
    .legal-info-section-fullwidth {
        padding: 5rem 0;
    }
    
    .legal-info-section-fullwidth .container {
        padding: 0 1.5rem;
    }
    
    .legal-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .legal-card {
        padding: 2.5rem 2.25rem;
        min-height: 190px;
    }
    
    .legal-info-section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 967px) and (min-width: 768px) {
    .legal-info-section-fullwidth {
        padding: 4rem 0;
    }
    
    .legal-info-section-fullwidth .container {
        padding: 0 1.5rem;
    }
    
    .legal-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .legal-card {
        padding: 2.25rem 2rem;
        min-height: 180px;
    }
    
    .legal-card-icon {
        width: 85px;
        height: 85px;
        font-size: 3.25rem;
    }
    
    .legal-card-title {
        font-size: 1.3rem;
    }
    
    .legal-card-subtitle {
        font-size: 1rem;
    }
    
    .legal-card-arrow {
        width: 48px;
        height: 48px;
    }
    
    .legal-info-section-title {
        font-size: 2.1rem;
        margin-bottom: 3rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .legal-info-section-fullwidth {
        padding: 3.5rem 0;
    }
    
    .legal-info-section-fullwidth .container {
        padding: 0 1rem;
    }
    
    .legal-info-section-title {
        font-size: 1.9rem;
        margin-bottom: 2.5rem;
        padding-bottom: 1.5rem;
    }
    
    .legal-info-section-title::after {
        width: 120px;
        height: 5px;
    }
    
    .legal-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .legal-card {
        padding: 2rem 1.75rem;
        min-height: 170px;
        gap: 1.5rem;
    }
    
    .legal-card-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    
    .legal-card-title {
        font-size: 1.3rem;
    }
    
    .legal-card-subtitle {
        font-size: 1rem;
    }
    
    .legal-card-arrow {
        width: 48px;
        height: 48px;
    }
    
    .legal-card-arrow svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .legal-info-section-fullwidth {
        padding: 3rem 0;
    }
    
    .legal-info-section-title {
        font-size: 1.7rem;
        margin-bottom: 2rem;
        padding-bottom: 1.25rem;
    }
    
    .legal-info-section-title::after {
        width: 100px;
        height: 4px;
    }
    
    .legal-card {
        padding: 1.75rem 1.5rem;
        min-height: 160px;
        gap: 1.25rem;
    }
    
    .legal-card-icon {
        width: 70px;
        height: 70px;
        font-size: 2.75rem;
    }
    
    .legal-card-title {
        font-size: 1.2rem;
    }
    
    .legal-card-subtitle {
        font-size: 0.95rem;
    }
    
    .legal-card-arrow {
        width: 44px;
        height: 44px;
    }
    
    .legal-card-arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 2rem 2rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .modal-icon {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
    
    .modal-requirements ul li {
        padding: 0.875rem 1rem 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .modal-requirements h5.requirement-category {
        font-size: 1rem;
        padding: 0.625rem 0.875rem;
        margin: 1.25rem 0 0.625rem 0;
    }
    
    .modal-requirements ul.requirements-sublist li {
        padding: 0.625rem 0.875rem 0.625rem 1.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .legal-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .legal-card-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    .modal-container {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem 1.25rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
}

.instructors {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    position: relative;
    padding: 3rem 0;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.instructor-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.instructor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.instructor-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.instructor-category {
    font-size: 0.8125rem;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.instructor-vehicle {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.instructor-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.instructor-stat {
    color: var(--text-dark);
}

.instructor-stat em {
    font-style: normal;
    color: var(--text-light);
    font-size: 0.75rem;
}

.instructor-rating {
    display: flex;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.instructor-description {
    color: var(--text-light);
    line-height: 1.45;
    font-size: 0.8125rem;
    margin-bottom: 0;
}

.reviews {
    background: var(--bg-white);
    position: relative;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.review-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: grid;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.1;
    font-weight: 900;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl), var(--shadow-blue);
    border-color: var(--primary-color);
}

.review-rating {
    color: #FBBF24;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
    filter: drop-shadow(0 2px 5px rgba(251, 191, 36, 0.3));
}

.review-text {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--primary-light);
}

.author-name {
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    font-size: 1.1rem;
}

.author-role {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group select {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233B82F6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 12px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231E40AF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.form-group select:hover {
    border-color: var(--primary-light);
    background-color: #F8FAFC;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group select option:disabled {
    color: #9CA3AF;
    opacity: 0.6;
    cursor: not-allowed;
}

.form-group select option {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.75rem 1rem;
}

.form-group select option:checked {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    color: var(--primary-color);
    font-weight: 600;
}

.form-group select option:hover {
    background: rgba(59, 130, 246, 0.1);
}

.form-note {
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input.valid,
.form-group textarea.valid,
.form-group select.valid {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z' fill='%2310b981'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 24px;
    padding-right: 3.8rem;
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z' fill='%23ef4444'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 24px;
    padding-right: 3.8rem;
}

.form-group input.valid:focus,
.form-group textarea.valid:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-error {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    padding-left: 0.5rem;
    animation: slideDown 0.3s ease;
    line-height: 1.4;
}

.form-error.show {
    display: block;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group select.valid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233B82F6' d='M6 9L1 4h10z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z' fill='%2310b981'/%3E%3C/svg%3E");
    background-position: right 3.8rem center, right 1.2rem center;
    background-size: 12px, 24px;
}

.form-group select.invalid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233B82F6' d='M6 9L1 4h10z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z' fill='%23ef4444'/%3E%3C/svg%3E");
    background-position: right 3.8rem center, right 1.2rem center;
    background-size: 12px, 24px;
}

.contacts {
    background: var(--bg-white);
    position: relative;
}

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

.contact-card {
    text-align: center;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 24px;
    border: 2px solid var(--border-accent);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-blue);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.contact-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-card a:hover::after {
    width: 100%;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.faq {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    position: relative;
    padding: 2rem 0;
}

.faq .section-header {
    margin-bottom: 1.5rem;
}

.faq .section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.faq .section-subtitle {
    font-size: 0.95rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-question-btn {
    background: var(--bg-white);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    font-family: inherit;
}

.faq-question-btn:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
}

.faq-question-btn:active {
    transform: translateY(0);
}

.faq-question-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    flex: 1;
}

.faq-question-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question-btn:hover .faq-question-icon {
    transform: translateX(5px);
}

.faq-modal-content {
    max-width: 600px;
    text-align: left;
    max-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .faq-modal-content {
        padding: 2rem 1.5rem;
        max-width: 95vw;
        max-height: calc(100vh - 40px);
    }
}

.faq-modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.faq-modal-answer {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.faq-modal-answer p {
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .faq-question-btn {
        padding: 1rem 1.25rem;
    }
    
    .faq-question-text {
        font-size: 0.9rem;
    }
    
    .faq-modal-content h2 {
        font-size: 1.3rem;
    }
    
    .faq-modal-answer {
        font-size: 1rem;
    }
    
    .service-modal-content {
        padding: 2rem 1.5rem;
        max-width: 95vw;
        max-height: calc(100vh - 40px);
    }
    
    .confirmation-modal-content {
        padding: 2rem 1.5rem;
        max-width: 95vw;
        max-height: calc(100vh - 40px);
    }
}

.map-container {
    margin-top: 4rem;
    box-shadow: var(--shadow-xl);
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 24px;
}

@media (max-width: 768px) {
    .map-container {
        margin-top: 3rem;
    }
    
    #map {
        height: 300px;
    }
}

.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.35fr 1.25fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-nav-services {
    display: contents;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-white);
    text-align: left;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: 500;
    font-size: 1rem;
}

.footer-section a:hover {
    color: var(--primary-bright);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-top: 0.75rem;
    text-align: left;
}

.footer-section .logo {
    margin-bottom: 1rem;
}

.footer-section-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-start;
}

.footer-section-brand {
    text-align: left;
}

.footer-services {
    margin-top: 1.6rem;
    padding-top: 1.6rem;
    border-top: none;
}

.footer-nav-services .footer-services {
    margin-top: 0;
    padding-top: 0;
}

.footer-services h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section-nav,
.footer-services,
.footer-section-social {
    text-align: left;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.7fr 1.2fr 1.2fr 1fr;
        gap: 2.4rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.75rem;
    }

    .footer-section-brand {
        grid-column: 1 / -1;
        align-self: flex-start;
    }

    .footer-section-nav {
        grid-column: 1 / 2;
        grid-row: 2;
        align-self: flex-start;
    }

    .footer-services {
        grid-column: 2 / 3;
        grid-row: 2;
        align-self: flex-start;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .footer-section-social {
        grid-column: 1 / -1;
        grid-row: 3;
        text-align: center;
        align-self: flex-start;
        margin-top: 0.25rem;
    }

    .footer-section-social .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2.2rem 0 1.3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.65rem;
    }

    .footer-section-brand {
        text-align: center;
    }

    .footer-section-brand .logo {
        justify-content: center;
    }

    .footer-section-brand p {
        text-align: center;
        font-size: 0.95rem;
    }

    .footer-nav-services {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.4rem;
    }

    .footer-section-nav,
    .footer-services {
        align-items: flex-start;
        text-align: left;
    }

    .footer-section-nav h4,
    .footer-services h4 {
        text-align: center;
        font-size: 1.02rem;
        margin-bottom: 1rem;
    }

    .footer-section-nav a,
    .footer-services a {
        font-size: 0.95rem;
    }

    .footer-services {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .footer-section-social {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-section-social h4 {
        text-align: center;
        font-size: 1.02rem;
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 1.95rem 0 1.15rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 0.98rem;
        margin-bottom: 0.9rem;
    }

    .footer-section a {
        font-size: 0.92rem;
    }

    .footer-section p {
        font-size: 0.86rem;
    }

    .footer-nav-services {
        gap: 1.25rem;
    }

    .social-links a img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.75rem 0 1rem;
    }

    .footer-content {
        gap: 1.35rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }

    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-section p {
        font-size: 0.84rem;
    }

    .social-links {
        gap: 0.85rem;
    }

    .social-links a img {
        width: 36px;
        height: 36px;
    }
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    display: block;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px 15px;
    background: radial-gradient(circle at top, rgba(96, 165, 250, 0.15), rgba(15, 23, 42, 0.85));
    backdrop-filter: blur(18px);
    animation: fadeIn 0.4s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.96);
    padding: 2.5rem;
    border-radius: 36px;
    max-width: 560px;
    width: min(92vw, 560px);
    position: relative;
    max-height: calc(100vh - 60px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.35);
    animation: modalEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        max-width: 95vw;
        max-height: calc(100vh - 40px);
        border-radius: 24px;
    }
    
    .modal {
        padding: 20px 10px;
    }
}
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-weight: 700;
    line-height: 1;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(226, 232, 240, 0.7);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.modal-close:hover {
    color: var(--text-white);
    background: var(--bg-gradient);
    transform: rotate(90deg) scale(1.05);
}

.service-modal-content {
    max-width: 640px;
    padding: 3.2rem;
}

.service-modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-modal-headings h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-dark);
}

.service-modal-price {
    font-weight: 800;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.service-modal-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-modal-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-weight: 600;
}

.service-modal-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.service-modal-actions {
    text-align: center;
}

.confirmation-modal-content {
    max-width: 460px;
    text-align: center;
    padding: 3rem;
    border-radius: 32px;
}

.confirmation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.confirmation-modal-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.confirmation-modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.application-toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2500;
    pointer-events: none;
}

.application-toast {
    min-width: 280px;
    background: rgba(15, 23, 42, 0.92);
    color: var(--text-white);
    padding: 1.2rem 1.5rem;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: toastIn 0.4s ease forwards;
    position: relative;
    overflow: hidden;
}

.application-toast::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.application-toast:hover::before {
    opacity: 1;
}

.application-toast h4 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.application-toast p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.application-toast .toast-meta {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes toastIn {
    from {
        transform: translateY(20px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes toastOut {
    to {
        transform: translateY(10px);
        opacity: 0;
    }
}

.modal-content h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.modal-content .form-group input,
.modal-content .form-group select {
    background: var(--bg-white);
    border-color: var(--border-color);
    color: var(--text-dark);
}

.modal-content .form-group input::placeholder {
    color: var(--text-muted);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalEnter {
    from {
        transform: translateY(40px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounceDot {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 768px) {
    .documents-section {
        margin-bottom: 3rem;
    }
    
    .documents-section-title,
    .legal-info-section-title {
        font-size: 1.6rem;
    }
    
    .legal-info-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    .legal-accordion-header {
        padding: 1.25rem 1.5rem;
    }
    
    .legal-accordion-header h3 {
        font-size: 1.2rem;
    }
    
    .accordion-subtitle {
        font-size: 0.85rem;
    }
    
    .legal-accordion-item.active .legal-accordion-content {
        padding: 1.5rem;
    }
    
    .legal-section-description {
        padding: 1.25rem 1.5rem;
    }
    
    .legal-accordion-content ul {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .document-item {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .document-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

@media (min-width: 1440px) {
    .hero-title {
        font-size: 5.25rem;
    }

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

    .hero-stats {
        gap: 3rem;
    }

    .stat-item {
        min-width: 220px;
        max-width: 300px;
        padding: 3rem 2.5rem;
        height: 200px;
    }

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

    .stat-label {
        font-size: 1.15rem;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-title {
        font-size: 4.5rem;
    }

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

    .hero-stats {
        gap: 2.75rem;
    }

    .stat-item {
        min-width: 200px;
        max-width: 280px;
        padding: 2.75rem 2.25rem;
        height: 190px;
    }

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

@media (min-width: 968px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3.75rem;
    }

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

    .hero-stats {
        gap: 2.25rem;
    }

    .stat-item {
        min-width: 180px;
        max-width: 240px;
        padding: 2.5rem 2rem;
        height: 170px;
    }

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

@media (max-width: 480px) {
    .footer {
        padding: 1.75rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .footer-section-brand .logo {
        margin-bottom: 0.875rem;
    }

    .footer-section-brand p {
        font-size: 0.8rem;
        margin-top: 0.875rem;
    }

    .footer-nav-services-wrapper {
        gap: 1.25rem;
    }

    .footer-section-nav h4,
    .footer-services h4 {
        font-size: 0.95rem;
        margin-bottom: 0.875rem;
    }

    .footer-section-nav ul li,
    .footer-services ul li {
        margin-bottom: 0.55rem;
    }

    .footer-section-nav a,
    .footer-services a {
        font-size: 0.875rem;
    }

    .footer-section-social h4 {
        font-size: 0.95rem;
        margin-bottom: 0.875rem;
    }

    .social-links {
        gap: 0.875rem;
    }

    .social-links a img {
        width: 38px;
        height: 38px;
        max-width: 38px;
        max-height: 38px;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.75rem;
    }

    .hero {
        padding: 50px 0 25px;
        min-height: 85vh;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }

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

    .hero-stats {
        gap: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 0.75rem;
    }

    .stat-item {
        min-width: calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
        padding: 1.5rem 1.25rem;
        height: 140px;
        flex: 0 1 calc(50% - 0.5rem);
    }

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

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-buttons {
        gap: 0.875rem;
        padding: 0 0.75rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 1.1rem 1.75rem;
        font-size: 0.95rem;
    }
}

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

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

    .stat-item {
        min-width: 100%;
        max-width: 100%;
        padding: 1.5rem 1rem;
        height: 130px;
    }

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

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 968px) {
    .navbar .container {
        padding: 0 1rem;
    }
    
    .nav-wrapper {
        padding: 0.75rem 0;
    }
    
    .logo-text-main {
        font-size: 1.3rem;
    }
    
    .logo-text-sub {
        font-size: 0.75rem;
    }

    .logo-text-owner {
        font-size: 0;
        line-height: 1;
        max-width: 130px;
        letter-spacing: 0.01em;
        text-shadow: none;
    }

    .logo-text-owner::before {
        content: attr(data-mobile-owner);
        display: block;
        font-size: 0.52rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.78);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        transform: translateX(100%);
        flex-direction: column;
        background: rgba(15, 23, 42, 1);
        text-align: left;
        justify-content: flex-start;
        align-items: stretch;
        transition: transform 0.3s ease;
        padding: 4rem 0 1rem 0;
        gap: 0;
        z-index: 2000;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto !important;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        padding: 0 1rem;
        pointer-events: auto !important;
    }
    
    .nav-menu .nav-link {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: none;
        font-size: 1rem;
        padding: 0.875rem 1rem;
        border-radius: 8px;
        transition: all 0.2s ease;
        display: block;
        font-weight: 500;
        margin-bottom: 0.25rem;
        border: none;
        background: transparent;
        text-align: left;
        width: 100%;
        cursor: pointer !important;
        position: relative;
        z-index: 2010 !important;
        pointer-events: auto !important;
        text-decoration: none;
        user-select: none;
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.3);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active,
    .nav-menu .nav-link:focus {
        background: rgba(59, 130, 246, 0.15);
        color: var(--text-white);
        transform: none;
        outline: none;
    }
    
    .nav-menu.active a,
    .nav-menu.active li {
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    .nav-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .menu-toggle {
        display: flex;
        position: fixed;
        top: 15px;
        right: 25px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.92);
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.4);
        z-index: 2100;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
        margin: 3px 0;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .menu-toggle.active {
        background: rgba(255, 255, 255, 0.15);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .service-modal-content {
        padding: 2rem;
    }

    .service-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .confirmation-modal-content {
        padding: 2rem;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 3.25rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 3.5rem;
    }

    .hero-stats {
        gap: 1.75rem;
        max-width: 100%;
    }

    .stat-item {
        min-width: 160px;
        max-width: 220px;
        padding: 2rem 1.75rem;
        height: 160px;
    }

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

    .stat-label {
        font-size: 0.95rem;
    }

    .hero-buttons {
        gap: 1.25rem;
        max-width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        min-width: 200px;
        padding: 1.2rem 2.5rem;
        font-size: 1.05rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-wrapper-inline {
        padding: 2rem 1.5rem;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .advantages-wrapper {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .advantages-wrapper .advantages-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .advantages-wrapper .advantages-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons button {
        width: 100%;
    }

    .image-wrapper {
        transform: none;
    }

    .image-wrapper:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 2rem 0 1.25rem;
    }

    .footer-content {
        gap: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section ul li {
        margin-bottom: 0.6rem;
    }

    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a img {
        width: 40px;
        height: 40px;
        max-width: 40px;
        max-height: 40px;
    }

    .footer-bottom {
        padding-top: 1.25rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 60px 0 30px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.5rem;
    }

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

    .hero-stats {
        gap: 1.25rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .stat-item {
        min-width: 140px;
        max-width: 180px;
        padding: 1.75rem 1.5rem;
        height: 150px;
        flex: 0 1 calc(50% - 0.625rem);
    }

    .stat-number {
        font-size: 2.25rem;
        margin-bottom: 0.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        min-width: 100%;
        padding: 1.15rem 2rem;
        font-size: 1rem;
    }

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

    .side-banner {
        left: 10px;
        top: calc(var(--navbar-height, 80px) + 10px);
        max-width: 240px;
        width: 240px;
        padding: 1rem;
    }

    .promo-banner-content {
        gap: 0.75rem;
    }
    
    .timer-banner-content {
        gap: 0.75rem;
    }

    .promo-banner-icon {
        font-size: 1.5rem;
    }

    .promo-banner-text-wrapper {
        gap: 0.25rem;
    }

    .promo-banner-title {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .promo-banner-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .promo-banner-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }

    .side-banner-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        font-size: 1.1rem;
    }

    .next-group-timer {
        padding: 1rem 1rem;
        margin-top: 1.5rem;
        max-width: calc(100% - 2rem);
    }

    .timer-header {
        margin-bottom: 0.875rem;
    }

    .timer-icon {
        font-size: 1rem;
    }

    .timer-title {
        font-size: 0.875rem;
    }

    .timer-countdown {
        gap: 0.35rem;
        margin-bottom: 0.875rem;
    }

    .timer-item {
        min-width: 44px;
        padding: 0.5rem 0.4rem;
    }

    .timer-value {
        font-size: 1.45rem;
    }

    .timer-label {
        font-size: 0.55rem;
        margin-top: 0.25rem;
    }

    .timer-separator {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .timer-places {
        padding: 0.55rem 0.875rem;
    }

    .places-left {
        font-size: 1.2rem;
    }

    .places-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .next-group-timer {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
        max-width: calc(100% - 1rem);
    }

    .timer-header {
        margin-bottom: 1.25rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .timer-icon {
        font-size: 1.25rem;
    }

    .timer-title {
        font-size: 1rem;
    }

    .timer-countdown {
        gap: 0.4rem;
        margin-bottom: 1.25rem;
        flex-wrap: wrap;
    }

    .timer-item {
        min-width: 50px;
        padding: 0.65rem 0.4rem;
    }

    .timer-value {
        font-size: 1.75rem;
    }

    .timer-label {
        font-size: 0.6rem;
        margin-top: 0.35rem;
    }

    .timer-separator {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .timer-places {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .places-left {
        font-size: 1.5rem;
    }

    .places-text {
        font-size: 0.85rem;
    }

    .timer-label {
        font-size: 0.7rem;
    }

    .timer-separator {
        font-size: 1.5rem;
    }

    .places-left {
        font-size: 1.5rem;
    }

    .places-text {
        font-size: 0.875rem;
    }

    .instructors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .instructor-card {
        padding: 1rem 1.25rem;
    }

    .instructor-name {
        font-size: 1rem;
    }

    .services-grid,
    .advantages-grid,
    .advantages-wrapper .advantages-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .reviews-slider {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: stretch !important;
    }
    
    .review-card {
        padding: 1.5rem !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        transform: none !important;
        position: static !important;
        margin: 0 !important;
        box-shadow: var(--shadow-md) !important;
        border: 2px solid var(--border-color) !important;
        opacity: 1 !important;
        z-index: auto !important;
    }
    
    .review-card:hover {
        transform: none !important;
        box-shadow: var(--shadow-md) !important;
    }
    
    .review-card::before {
        font-size: 60px !important;
        top: -5px !important;
        left: 10px !important;
    }
    
    .review-rating {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
        letter-spacing: 0.1em;
    }
    
    .review-text {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .review-author {
        gap: 1rem !important;
    }
    
    .author-avatar {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.1rem !important;
        border: 2px solid var(--primary-light) !important;
    }
    
    .author-name {
        font-size: 0.95rem !important;
    }
    
    .author-role {
        font-size: 0.8rem !important;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .logo-text-main {
        font-size: 1.5rem;
    }

    .logo-text-sub {
        font-size: 0.75rem;
    }
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 260px;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-btn {
    flex-shrink: 0;
    padding: 0.625rem 1.5rem;
    background: var(--primary-light);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.cookie-consent-btn:hover {
    background: var(--primary-bright);
    transform: translateY(-1px);
}

.cookie-consent-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-consent-text {
        min-width: 0;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

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

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-section-brand {
        text-align: center;
        order: 1;
    }

    .footer-section-brand .logo {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .footer-section-brand p {
        text-align: center;
        margin-top: 1rem;
        font-size: 0.9rem;
    }

    .footer-section-social {
        order: 4;
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 0.5rem;
    }

    .footer-section-social h4 {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 1.25rem;
    }

    .social-links a img {
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }

    .side-banner {
        left: 10px;
        top: calc(var(--navbar-height, 80px) + 10px);
        max-width: 260px;
        width: 260px;
        padding: 0.875rem;
    }

    .promo-banner-icon {
        font-size: 1.75rem;
    }

    .promo-banner-title {
        font-size: 0.95rem;
    }

    .promo-banner-text {
        font-size: 0.8rem;
    }

    .promo-banner-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .side-banner-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 22px;
        height: 22px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .side-banner {
        left: 8px;
        top: calc(var(--navbar-height, 80px) + 8px);
        max-width: 200px;
        width: 200px;
        padding: 0.75rem;
        border-radius: 14px;
    }
    
    .timer-banner-item {
        min-width: 35px;
        padding: 0.5rem 0.35rem;
    }
    
    .timer-banner-value {
        font-size: 1.25rem;
    }
    
    .timer-banner-label {
        font-size: 0.55rem;
    }
    
    .timer-banner-separator {
        font-size: 0.95rem;
    }
    
    .timer-banner-places-left {
        font-size: 1.15rem;
    }
    
    .timer-banner-places-text {
        font-size: 0.8rem;
    }

    .promo-banner-content {
        gap: 0.5rem;
    }

    .promo-banner-icon {
        font-size: 1.2rem;
    }

    .promo-banner-text-wrapper {
        gap: 0.2rem;
    }

    .promo-banner-title {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .promo-banner-text {
        font-size: 0.7rem;
        line-height: 1.25;
    }

    .promo-banner-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        margin-top: 0.2rem;
        border-radius: 10px;
    }

    .side-banner-close {
        top: 0.4rem;
        right: 0.4rem;
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        font-size: 0.9rem;
    }

    .next-group-timer {
        padding: 0.875rem 0.75rem;
        margin-top: 1.25rem;
        max-width: calc(100% - 1rem);
    }

    .timer-header {
        margin-bottom: 0.75rem;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .timer-icon {
        font-size: 0.95rem;
    }

    .timer-title {
        font-size: 0.8rem;
    }

    .timer-countdown {
        gap: 0.3rem;
        margin-bottom: 0.75rem;
        flex-wrap: wrap;
    }

    .timer-item {
        min-width: 38px;
        padding: 0.45rem 0.3rem;
    }

    .timer-value {
        font-size: 1.25rem;
    }

    .timer-label {
        font-size: 0.5rem;
        margin-top: 0.2rem;
    }

    .timer-separator {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .timer-places {
        padding: 0.5rem 0.75rem;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .places-left {
        font-size: 1.1rem;
    }

    .places-text {
        font-size: 0.75rem;
    }
}
