/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --accent: #f59e0b;
    --danger: #ef4444;
    --dark: #1f2937;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--danger) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 128px;
    height: 128px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-url {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.logo-url:hover {
    transform: scale(1.05);
}

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

.logo-url:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary);
    transition: all 0.3s ease;
}

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

.nav-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
    min-width: max-content;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--gray-50);
    padding: 100px 0 20px;
    font-size: 14px;
}

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

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs span {
    color: var(--gray-600);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .accent {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    margin-top: 32px;
}

.hero-form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

/* Slideshow */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    font-size: 12px;
    padding: 8px 12px;
    white-space: nowrap;
    z-index: 5;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

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

/* Common Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    background: var(--gray-100);
    padding: 8px;
    border-radius: 16px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

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

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.service-image {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 24px;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.service-description {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--gray-50);
}

.pricing-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.table-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    font-weight: 600;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background: var(--gray-50);
}

.table-row:last-child {
    border-bottom: none;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: white;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.review-card {
    background: var(--gray-50);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

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

.review-text {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.review-info h4 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.review-rating {
    color: var(--accent);
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    background: var(--gray-50);
    padding: 20px;
    margin: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: white;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: var(--gray-700);
}

/* Contacts Section */
.contacts {
    padding: 100px 0;
    background: var(--gray-50);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 30px;
    color: var(--dark);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.contact-details h4 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--gray-600);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section .phone-numbers {
    white-space: nowrap;
}

.footer-section a:hover {
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-400);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--gray-400);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--gray-600);
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.modal-footer-text {
    text-align: center;
    margin-top: 20px;
    color: var(--gray-600);
}

.modal-phone-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.modal-phone-link:hover {
    text-decoration: underline;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Icon Classes */
.icon-shield::before { content: "🛡️"; }
.icon-clock::before { content: "⏰"; }
.icon-star::before { content: "⭐"; }
.icon-users::before { content: "👥"; }
.icon-award::before { content: "🏆"; }
.icon-phone::before { content: "📞"; }
.icon-location::before { content: "📍"; }
.icon-mail::before { content: "✉️"; }
.icon-time::before { content: "🕒"; }

/* SEO Hidden Content */
.seo-keywords {
    display: none;
}

/* Form Styling for Modal */
.modal .form-input {
    color: var(--dark);
    background: white;
    border: 2px solid var(--gray-300);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-contacts {
        flex-direction: column;
        gap: 16px;
        align-items: flex-end;
        min-width: 200px;
    }

    .phone-link {
        font-size: 14px;
        font-weight: 600;
        padding: 8px 0;
        min-height: 32px;
        display: flex;
        align-items: center;
    }

    .btn {
        padding: 14px 20px;
        font-size: 14px;
        min-height: 48px;
        border-radius: 16px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 120px 20px 60px;
    }

    .hero-slideshow {
        order: -1;
        height: 350px;
    }

    .hero-form {
        margin-top: 40px;
        padding: 32px 24px;
    }

    .form-input {
        padding: 18px 16px;
        font-size: 16px;
        min-height: 56px;
        border-radius: 16px;
    }

    .hero-form .btn {
        padding: 18px 24px;
        font-size: 16px;
        min-height: 56px;
        border-radius: 16px;
    }

    .features-grid,
    .services-grid,
    .reviews-slider {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 20px;
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .section-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 18px;
        line-height: 1.5;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 24px;
    }

    .hero-description {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 32px;
    }

    .floating-btn {
        width: 68px;
        height: 68px;
        font-size: 28px;
        bottom: 24px;
        right: 24px;
    }

    .nav-container {
        height: 72px;
        padding: 0 20px;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .logo-url {
        font-size: 16px;
    }

    .feature-card,
    .service-card,
    .review-card {
        padding: 32px 24px;
    }

    .contact-info {
        padding: 32px 24px;
    }

    .modal-content {
        margin: 10% auto;
        padding: 32px 24px;
        border-radius: 24px;
        width: 95%;
        max-width: 420px;
    }

    .modal-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .modal .form-input {
        padding: 18px 16px;
        font-size: 16px;
        min-height: 56px;
        border-radius: 16px;
    }

    .modal .btn {
        padding: 18px 24px;
        font-size: 16px;
        min-height: 56px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
        height: 68px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-container {
        padding: 100px 16px 40px;
    }

    .feature-card,
    .service-card,
    .review-card,
    .contact-info {
        padding: 28px 20px;
    }

    .nav-contacts {
        gap: 12px;
        min-width: 180px;
    }

    .phone-link {
        font-size: 13px;
        min-height: 28px;
    }

    .btn {
        padding: 16px 20px;
        font-size: 14px;
        min-height: 52px;
        border-radius: 14px;
    }

    .hero-form .btn,
    .modal .btn {
        padding: 18px 20px;
        font-size: 15px;
        min-height: 54px;
        border-radius: 14px;
    }

    .form-input,
    .modal .form-input {
        padding: 16px 14px;
        font-size: 15px;
        min-height: 52px;
        border-radius: 14px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .floating-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .modal-content {
        margin: 5% auto;
        padding: 28px 20px;
        width: 96%;
        max-width: 380px;
    }

    .hero-form {
        padding: 28px 20px;
    }

    .hero-slideshow {
        height: 280px;
    }

    .logo img {
        width: 44px;
        height: 44px;
    }

    .logo-url {
        font-size: 14px;
    }

    .table-header,
    .table-row {
        padding: 20px 16px;
        font-size: 15px;
        gap: 12px;
    }

    .services-tabs {
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-accent {
        border: 2px solid currentColor;
    }
    
    .feature-card,
    .service-card,
    .review-card {
        border: 1px solid var(--gray-400);
    }
}

/* Print styles */
@media print {
    .header,
    .floating-btn,
    .back-to-top,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .hero {
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
        page-break-after: avoid;
    }
}