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

:root {
    --primary-50: #f0fdf4;
    --primary-100: #dcfce7;
    --primary-200: #bbf7d0;
    --primary-400: #4ade80;
    --primary-500: #22c55e;
    --primary-600: #16a34a;
    --primary-700: #15803d;
    --primary-800: #166534;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;
    --green-900: #064e3b;
    --red-500: #ef4444;
    --whatsapp: #25D366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-primary {
    color: var(--primary-600);
}

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

.mt-12 {
    margin-top: 3rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--gray-900);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

.nav-desktop {
    display: none;
    gap: 2rem;
}

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

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

.nav-link.active {
    color: var(--primary-600);
    font-weight: 600;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--gray-100);
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

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

.lang-btn.active:hover {
    background: var(--primary-600);
}

.mobile-language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin: 0.5rem 0;
}

.mobile-language-switcher .lang-btn {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
}

.header-contact {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-700);
}

.btn-outline {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    background: var(--gray-50);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

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

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

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

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

.menu-toggle {
    display: flex;
    padding: 0.5rem;
    color: var(--gray-700);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
}

.nav-mobile.active {
    display: flex;
}

.mobile-contact {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, var(--primary-50), var(--white), var(--primary-50));
    padding-top: 80px;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item .icon {
    color: var(--primary-600);
    width: 20px;
    height: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-indicator::before {
    content: '';
    width: 4px;
    height: 12px;
    background: var(--gray-400);
    border-radius: 9999px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* Advantages Section */
.advantages {
    padding: 5rem 0;
    background: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 32rem;
    margin: 0 auto;
}

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

.advantage-card {
    background: linear-gradient(to bottom right, var(--gray-50), var(--white));
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
}

.advantage-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-100);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-600);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, var(--gray-50), var(--white));
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon-blue {
    background: linear-gradient(to bottom right, #22c55e, #16a34a);
}

.service-icon-green {
    background: linear-gradient(to bottom right, #10b981, #059669);
}

.service-icon-purple {
    background: linear-gradient(to bottom right, #a855f7, #9333ea);
}

.service-icon-orange {
    background: linear-gradient(to bottom right, #f97316, #ea580c);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.service-card:hover .service-title {
    color: var(--primary-600);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: flex;
    align-items: center;
    color: var(--primary-600);
    font-weight: 600;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.service-card:hover .service-link {
    transform: translateX(0.5rem);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: var(--primary-600);
    color: var(--white);
}

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

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

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--primary-100);
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: var(--white);
}

.form-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(to right, var(--primary-600), var(--primary-500), var(--primary-600));
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--primary-100);
    font-size: 1.125rem;
}

.form-body {
    padding: 2rem;
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-select {
    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='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-success {
    background: linear-gradient(to bottom right, #d1fae5, #a7f3d0);
    border: 2px solid var(--green-300);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--green-500);
    border-radius: 9999px;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 0.5rem;
}

.success-message {
    color: var(--green-700);
    font-size: 1.125rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(to bottom right, var(--primary-600), var(--primary-700));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--primary-100);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem;
}

.cta-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.cta-link .icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-contact .icon {
    color: var(--primary-400);
    margin-top: 0.125rem;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.footer-contact a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background: var(--whatsapp);
    color: var(--white);
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 6rem;
    right: 1rem;
    z-index: 40;
    background: var(--primary-600);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.scroll-to-top:hover {
    background: var(--primary-700);
    transform: scale(1.1);
}

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

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .language-switcher {
        display: flex;
    }
    
    .header-contact {
        display: flex;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .cta-contact {
        flex-direction: row;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .scroll-to-top {
        right: 2rem;
        bottom: 5rem;
    }
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(to bottom right, var(--primary-50), var(--white));
    margin-top: 80px;
}

.page-header-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Services Category Section */
.services-category {
    padding: 4rem 0;
    background: var(--white);
}

.services-category:nth-child(even) {
    background: var(--gray-50);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.category-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.category-icon-green {
    background: linear-gradient(to bottom right, #22c55e, #16a34a);
}

.category-icon-green-alt {
    background: linear-gradient(to bottom right, #10b981, #059669);
}

.category-icon-purple {
    background: linear-gradient(to bottom right, #a855f7, #9333ea);
}

.category-icon-orange {
    background: linear-gradient(to bottom right, #f97316, #ea580c);
}

.category-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.service-item-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.service-item-link.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-item-link:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-400);
    transform: translateY(-2px);
}

.service-check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-600);
    margin-top: 0.125rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.service-item-link:hover .service-check-icon {
    transform: scale(1.1);
}

.service-item-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.5;
    flex: 1;
    transition: color 0.3s;
}

.service-item-link:hover .service-item-title {
    color: var(--primary-600);
}

.service-arrow-icon {
    width: 16px;
    height: 16px;
    color: var(--gray-400);
    flex-shrink: 0;
    opacity: 0;
    transition: all 0.3s;
    margin-top: 0.125rem;
}

.service-item-link:hover .service-arrow-icon {
    opacity: 1;
    color: var(--primary-600);
    transform: translateX(0.25rem);
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3.75rem;
    }
    
    .category-header {
        align-items: center;
    }
    
    .services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

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

/* Service Request Form Styles */
.service-form-section {
    padding: 3rem 1rem;
    background: var(--white);
}

.service-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.service-form-header {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--white);
}

.service-form-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--white);
}

.service-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.service-form-subtitle {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-form-body {
    padding: 2rem;
}

.service-form-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
}

.service-form-success-icon {
    width: 56px;
    height: 56px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
}

.service-form-success-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.5rem;
}

.service-form-success-text {
    color: #15803d;
    font-size: 0.9375rem;
}

.service-request-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-form-section-block {
    background: var(--gray-50);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
}

.service-form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.service-form-section-title svg {
    color: var(--primary-600);
    width: 18px;
    height: 18px;
}

.service-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

.service-form-group-full {
    grid-column: 1 / -1;
}

.service-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.service-form-label svg {
    color: var(--primary-600);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.service-form-input,
.service-form-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: var(--white);
    color: var(--gray-900);
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.service-form-input:hover,
.service-form-select:hover {
    border-color: var(--primary-400);
}

.service-form-input:focus,
.service-form-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.service-form-select {
    cursor: pointer;
    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='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

.service-form-error {
    color: #dc2626;
    font-size: 0.8125rem;
    min-height: 1.125rem;
    margin-top: 0.25rem;
}

.service-form-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary-600);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.service-form-submit:hover:not(:disabled) {
    background: var(--primary-700);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-form-submit:active:not(:disabled) {
    transform: translateY(1px);
}

.service-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.service-form-submit svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 640px) {
    .service-form-section {
        padding: 3rem 1.5rem;
    }
    
    .service-form-body {
        padding: 2rem;
    }
    
    .service-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .service-form-section {
        padding: 4rem 2rem;
    }
    
    .service-form-header {
        padding: 2rem;
    }
    
    .service-form-body {
        padding: 2.5rem;
    }
    
    .service-form-section-block {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .service-form-section {
        padding: 2rem 0.75rem;
    }
    
    .service-form-header {
        padding: 1.25rem 1rem;
    }
    
    .service-form-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-form-title {
        font-size: 1.25rem;
    }
    
    .service-form-subtitle {
        font-size: 0.875rem;
    }
    
    .service-form-body {
        padding: 1.5rem;
    }
    
    .service-form-section-block {
        padding: 1rem;
    }
    
    .service-form-section-title {
        font-size: 1rem;
    }
    
    .service-form-input,
    .service-form-select {
        font-size: 16px; /* Предотвращает зум на iOS */
        padding: 0.75rem 0.875rem;
    }
    
    .service-form-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Service Detail Page Styles */
.breadcrumbs-section {
    padding: 1rem 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    margin-top: 80px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb-separator {
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--gray-900);
    font-weight: 500;
}

.service-detail-header {
    padding: 2rem 0;
    background: linear-gradient(to bottom, var(--primary-50), var(--white));
}

.service-detail-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-600);
    color: var(--white);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-detail-description {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.service-detail-content {
    padding: 3rem 0;
    background: var(--white);
}

.service-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-main {
    min-width: 0;
}

.service-detail-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.service-detail-section:last-child {
    border-bottom: none;
}

.service-detail-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-detail-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.service-detail-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-detail-text ul,
.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-detail-text ul li,
.service-detail-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
}

.service-detail-text ul li::before,
.service-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-600);
    font-weight: 700;
}

/* Стили для нумерованных списков (ol) */
.service-detail-text ol {
    list-style: none;
    counter-reset: item;
    padding: 0;
    margin: 1.5rem 0;
}

.service-detail-text ol li {
    counter-increment: item;
    padding: 0.75rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--gray-700);
    line-height: 1.8;
    border-left: 3px solid var(--primary-200);
    margin-bottom: 0.5rem;
    padding-left: 3rem;
    background: var(--gray-50);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.service-detail-text ol li:hover {
    background: var(--primary-50);
    border-left-color: var(--primary-500);
    transform: translateX(4px);
}

.service-detail-text ol li::before {
    content: counter(item);
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.service-detail-sidebar {
    min-width: 0;
}

.service-detail-form-card,
.service-detail-contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-detail-form-title,
.service-detail-contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.service-detail-form-subtitle {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.service-detail-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-detail-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-detail-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.service-detail-form-input,
.service-detail-form-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    transition: all 0.2s;
    background: var(--white);
    color: var(--gray-900);
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.service-detail-form-input:focus,
.service-detail-form-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.service-detail-form-select {
    cursor: pointer;
    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='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

.service-detail-form-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary-600);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.service-detail-form-submit:hover:not(:disabled) {
    background: var(--primary-700);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-detail-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.service-detail-form-success {
    text-align: center;
    padding: 2rem 1rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 0.75rem;
}

.service-detail-form-success svg {
    color: #22c55e;
    margin-bottom: 1rem;
}

.service-detail-form-success h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.5rem;
}

.service-detail-form-success p {
    color: #15803d;
    font-size: 0.9375rem;
}

.service-detail-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
}

.service-detail-contact-item svg {
    color: var(--primary-600);
    flex-shrink: 0;
}

.service-detail-contact-item a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s;
}

.service-detail-contact-item a:hover {
    color: var(--primary-600);
}

@media (min-width: 1024px) {
    .service-detail-wrapper {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
    
    .service-detail-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .service-detail-header {
        padding: 1.5rem 0;
    }
    
    .service-detail-title {
        font-size: 1.5rem;
    }
    
    .service-detail-description {
        font-size: 1rem;
    }
    
    .service-detail-content {
        padding: 2rem 0;
    }
    
    .service-detail-section-title {
        font-size: 1.25rem;
    }
    
    .service-detail-form-input,
    .service-detail-form-select {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
}

/* About Page Styles */
.about-content {
    padding: 3rem 0;
    background: var(--white);
}

.about-main {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.about-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-card-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-advantages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-advantage-card {
    background: linear-gradient(to bottom right, var(--primary-50), var(--white));
    border: 1px solid var(--primary-100);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.about-advantage-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-600);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
}

.about-advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.about-advantage-text {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.about-mission {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.about-mission-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.about-services {
    max-width: 900px;
    margin: 0 auto;
}

.about-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-service-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.about-service-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.about-service-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .about-advantages {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-advantages {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Eco Map Page Styles */
.eco-map-main-link {
    padding: 2rem 0;
    background: var(--white);
}

.eco-map-link-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-radius: 1rem;
    padding: 2rem;
    color: var(--white);
}

.eco-map-link-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.eco-map-link-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eco-map-link-text {
    flex: 1;
    min-width: 200px;
}

.eco-map-link-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.eco-map-link-description {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.eco-map-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary-600);
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.eco-map-link-button:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.eco-map-widgets {
    padding: 3rem 0;
    background: var(--white);
}

.eco-map-widgets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eco-map-widget-card {
    background: linear-gradient(to bottom right, #dbeafe, #eff6ff);
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.eco-map-widget-card-large {
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.eco-map-widget-card-large {
    grid-column: 1 / -1;
}

.eco-map-widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.eco-map-widget-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-100);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.eco-map-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.eco-map-widget-content {
    min-height: 200px;
}

/* Weather Widget Styles */
.weather-info {
    padding: 0.5rem 0;
}

.weather-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.weather-city {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.weather-location {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.weather-icon-large {
    color: var(--primary-600);
}

.weather-icon-img {
    width: 48px;
    height: 48px;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.weather-temp {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.weather-desc {
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 500;
}

.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.weather-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weather-detail-item svg {
    color: var(--primary-600);
    flex-shrink: 0;
}

.weather-detail-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.weather-detail-label {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.weather-detail-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.weather-sun-times {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    gap: 1rem;
}

.weather-sun-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-700);
}

.weather-sun-item svg {
    color: var(--primary-600);
    flex-shrink: 0;
}

.weather-loading,
.weather-error {
    text-align: center;
    color: var(--gray-600);
    padding: 2rem 0;
}

/* Air Quality Iframe */
.air-quality-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    height: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.air-quality-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.eco-map-links {
    padding: 3rem 0;
    background: var(--gray-50);
}

.eco-map-links-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: center;
}

.eco-map-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eco-map-link-card-small {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: block;
}

.eco-map-link-card-small:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-300);
}

.eco-map-link-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.eco-map-link-card-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.eco-map-link-card-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.eco-map-link-card-small:hover .eco-map-link-card-icon {
    transform: scale(1.1);
    background: var(--primary-200);
}

.eco-map-link-card-small:hover .eco-map-link-card-icon-blue {
    background: #bfdbfe;
}

.eco-map-link-card-small:hover .eco-map-link-card-icon-green {
    background: #bbf7d0;
}

.eco-map-link-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.eco-map-link-card-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.eco-map-link-card-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-size: 0.875rem;
    font-weight: 600;
}

.eco-map-about {
    padding: 3rem 0;
    background: var(--primary-50);
}

.eco-map-about-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.eco-map-about-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.eco-map-about-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.eco-map-about-text p {
    margin-bottom: 1rem;
}

/* Articles Page Styles */
.articles-section {
    padding: 3rem 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.article-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.article-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-date {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.article-title a:hover {
    color: var(--primary-600);
}

.article-excerpt {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-600);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.article-link:hover {
    color: var(--primary-700);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .eco-map-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .eco-map-widgets-grid {
        grid-template-columns: 1fr 2fr;
    }
    
    .eco-map-widget-card-large {
        grid-column: 2;
    }
    
    .eco-map-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .eco-map-link-content {
        flex-wrap: nowrap;
    }
}

@media (min-width: 768px) {
    .eco-map-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .eco-map-main-link {
        padding: 1.5rem 0;
    }
    
    .eco-map-link-card {
        padding: 1.5rem;
    }
    
    .eco-map-link-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .eco-map-link-button {
        width: 100%;
        justify-content: center;
    }
    
    .eco-map-widgets {
        padding: 2rem 0;
    }
    
    .eco-map-widget-card {
        padding: 1.25rem;
    }
    
    .weather-temp {
        font-size: 2.5rem;
    }
    
    .weather-details {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Contacts Page Styles */
.contacts-info-section {
    padding: 3rem 0;
    background: var(--white);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary-300);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(to bottom right, var(--primary-500), var(--primary-600));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.contact-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

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

.contact-note {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--white);
    resize: vertical;
    transition: all 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-textarea::placeholder {
    color: var(--gray-400);
}

@media (min-width: 640px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contacts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Article Detail Page Styles */
.article-detail-header {
    padding: 2rem 0;
    background: linear-gradient(to bottom, var(--primary-50), var(--white));
}

.article-detail-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-detail-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-600);
    color: var(--white);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.article-detail-date {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.article-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-detail-excerpt {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.article-detail-content {
    padding: 3rem 0;
    background: var(--white);
}

.article-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-detail-main {
    min-width: 0;
}

.article-detail-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.article-detail-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-detail-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-detail-text p {
    margin-bottom: 1rem;
}

.article-detail-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.article-detail-text ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
}

.article-detail-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-600);
    font-weight: 700;
}

/* Стили для нумерованных списков (ol) в статьях */
.article-detail-text ol {
    list-style: none;
    counter-reset: item;
    padding: 0;
    margin: 1.5rem 0;
}

.article-detail-text ol li {
    counter-increment: item;
    padding: 0.75rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--gray-700);
    line-height: 1.8;
    border-left: 3px solid var(--primary-200);
    margin-bottom: 0.5rem;
    padding-left: 3rem;
    background: var(--gray-50);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.article-detail-text ol li:hover {
    background: var(--primary-50);
    border-left-color: var(--primary-500);
    transform: translateX(4px);
}

.article-detail-text ol li::before {
    content: counter(item);
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

/* Адаптивность для нумерованных списков */
@media (max-width: 768px) {
    .service-detail-text ol li {
        padding-left: 2.5rem;
        font-size: 0.9375rem;
    }
    
    .service-detail-text ol li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8125rem;
        left: 0.5rem;
        top: 0.5rem;
    }
    
    .article-detail-text ol li {
        padding-left: 2.5rem;
        font-size: 0.9375rem;
    }
    
    .article-detail-text ol li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8125rem;
        left: 0.5rem;
        top: 0.5rem;
    }
}

.article-detail-text ul li,
.article-detail-text ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-detail-text ul li::before {
    content: '•';
    color: var(--primary-600);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.article-detail-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.article-tags-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.article-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-detail-sidebar {
    min-width: 0;
}

.article-sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.article-sidebar-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-sidebar-link {
    display: block;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.article-sidebar-link:hover {
    background: var(--primary-50);
    transform: translateX(4px);
}

.article-sidebar-link-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.article-sidebar-link-date {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

@media (min-width: 1024px) {
    .article-detail-wrapper {
        grid-template-columns: 2fr 1fr;
    }
    
    .article-detail-title {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .article-detail-header {
        padding: 1.5rem 0;
    }
    
    .article-detail-title {
        font-size: 1.75rem;
    }
    
    .article-detail-excerpt {
        font-size: 1.125rem;
    }
    
    .article-detail-text {
        font-size: 1rem;
    }
    
    .article-detail-text h2 {
        font-size: 1.5rem;
    }
    
    .article-detail-text h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .form-body {
        padding: 1.5rem;
    }
    
    select, input, textarea {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .category-header {
        gap: 0.75rem;
    }
    
    .category-icon {
        width: 56px;
        height: 56px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

/* Services Search Styles */
.services-search-section {
    background: #f9fafb;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.services-search-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.search-icon {
    color: #9ca3af;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.service-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #1f2937;
    background: transparent;
    padding: 0;
}

.service-search-input::placeholder {
    color: #9ca3af;
}

.clear-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.clear-search-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.search-results-count {
    margin-top: 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .services-search-section {
        padding: 1.5rem 0;
    }
    
    .search-input-wrapper {
        padding: 0.625rem 0.875rem;
    }
    
    .service-search-input {
        font-size: 0.9375rem;
    }
}

