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

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
    --secondary: #EC4899;
    --accent: #10B981;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-hero: linear-gradient(135deg, #667EEA 0%, #764BA2 50%, #F093FB 100%);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

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

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    position: relative;
}

/* Кнопка гамбургер-меню */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.nav-links a .nav-icon {
    flex-shrink: 0;
}

.nav-links a.nav-cta {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Dropdown menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.nav-dropdown-toggle svg.arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.nav-dropdown.active .nav-dropdown-toggle svg.arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.nav-dropdown-menu a .nav-icon {
    flex-shrink: 0;
    margin-right: 0;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.nav-links a.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.user-greeting {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 0 12px;
}

.nav-links a.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
}

.nav-links a.nav-profile,
.nav-links a.nav-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.nav-links a.nav-profile:hover,
.nav-links a.nav-logout:hover {
    color: var(--primary);
}

.nav-links a.nav-profile svg,
.nav-links a.nav-logout svg {
    flex-shrink: 0;
}

.nav-icon {
    margin-right: 6px;
    vertical-align: middle;
}

.footer-brand-white {
    color: white;
}

.nav-links a.nav-logout:hover {
    color: #ef4444;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    /*overflow: hidden;*/
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.9;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    filter: blur(24px) saturate(110%);
    animation: drift 26s ease-in-out infinite;
    mix-blend-mode: screen;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient( circle at 30% 30%, rgba(99,102,241,0.45), rgba(99,102,241,0.15) 60%, transparent 70% );
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient( circle at 65% 35%, rgba(16,185,129,0.45), rgba(16,185,129,0.15) 60%, transparent 70% );
    bottom: -50px;
    right: -50px;
    animation-delay: 6s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient( circle at 50% 50%, rgba(14,165,233,0.45), rgba(14,165,233,0.15) 60%, transparent 70% );
    top: 50%;
    right: 10%;
    animation-delay: 12s;
}

/* Vet-themed floating icons */
.floating-shapes .shape-icon {
    position: absolute;
    width: 140px;
    height: 140px;
    color: #ffffff;
    opacity: 0.16;
    filter: drop-shadow(0 12px 34px rgba(0,0,0,0.18));
    animation: floatIcon 22s ease-in-out infinite alternate;
    transform-origin: 50% 50%;
}
.floating-shapes .icon-paw { top: 8%; left: 12%; transform: rotate(-10deg); animation-delay: 2s; }
.floating-shapes .icon-cross { bottom: 12%; right: 15%; transform: rotate(8deg); animation-delay: 6s; color: #A5B4FC; }
.floating-shapes .icon-stethoscope { top: 18%; right: 22%; transform: rotate(-6deg); animation-delay: 10s; color: #93C5FD; }
.floating-shapes .icon-bone { bottom: 18%; left: 18%; transform: rotate(15deg); animation-delay: 14s; color: #6EE7B7; }
.floating-shapes .icon-syringe { top: 28%; left: 28%; transform: rotate(-20deg); animation-delay: 4s; color: #FCA5A5; }
.floating-shapes .icon-microscope { bottom: 22%; right: 28%; transform: rotate(12deg); animation-delay: 8s; color: #FDE68A; }
.floating-shapes .icon-pill { top: 12%; right: 32%; transform: rotate(-8deg); animation-delay: 12s; color: #A7F3D0; }
.floating-shapes .icon-heart-paw { bottom: 10%; left: 32%; transform: rotate(6deg); animation-delay: 16s; color: #FCA5A5; }
.floating-shapes .icon-heartbeat { top: 26%; left: 8%; width: 200px; height: 70px; color: #F87171; opacity: 0.18; animation: floatIcon 18s ease-in-out infinite; }
.floating-shapes .icon-carrier { bottom: 26%; left: 8%; transform: rotate(-8deg); color: #A5B4FC; animation-delay: 7s; }
.floating-shapes .icon-vial { top: 10%; right: 12%; transform: rotate(8deg); color: #60A5FA; animation-delay: 4s; }
.floating-shapes .icon-cat { bottom: 8%; right: 8%; transform: rotate(-4deg); color: #34D399; animation-delay: 20s; }

/* Outline style for icons for a lighter feel */
.floating-shapes .shape-icon path,
.floating-shapes .shape-icon circle,
.floating-shapes .shape-icon ellipse {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .floating-shapes .shape-icon { width: 110px; height: 110px; }
    .floating-shapes .icon-heartbeat { width: 160px; height: 56px; }
}
@media (max-width: 640px) {
    .floating-shapes .shape-icon { width: 82px; height: 82px; opacity: 0.12; }
    .floating-shapes .icon-microscope,
    .floating-shapes .icon-pill { display: none; }
    .floating-shapes .icon-heartbeat { display: none; }
}

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

@keyframes drift {
    0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate3d(24px, -18px, 0) scale(1.06) rotate(5deg); }
    50%  { transform: translate3d(-16px, 12px, 0) scale(0.98) rotate(-4deg); }
    75%  { transform: translate3d(18px, 10px, 0) scale(1.04) rotate(3deg); }
    100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
}

@keyframes floatIcon {
    0%   { transform: translate3d(0,0,0) rotate(var(--icon-rot, 0deg)); }
    50%  { transform: translate3d(10px,-12px,0) rotate(calc(var(--icon-rot, 0deg) + 6deg)); }
    100% { transform: translate3d(-6px,8px,0) rotate(calc(var(--icon-rot, 0deg) - 4deg)); }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .shape,
    .floating-shapes .shape-icon {
        animation: none !important;
    }
    .shape { opacity: 0.18; }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 48px;
    opacity: 0.95;
    font-weight: 400;
}

/* Search Box */
.search-container {
    margin-bottom: 64px;
}

.search-box,
form.search-box {
    display: flex;
    gap: 12px;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    margin: 0 auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}

.search-icon {
    color: var(--text-light);
    flex-shrink: 0;
}

.search-field input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 0;
    color: var(--text-primary);
    font-family: inherit;
}

.search-field input::placeholder {
    color: var(--text-light);
}

.search-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.search-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.search-button:active {
    transform: scale(0.98);
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    position: relative;
}

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

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

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

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-light);
}

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-image {
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray);
}

.service-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: 800;
    transition: transform 0.3s ease;
}

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

.service-1::before { content: '🏥'; }
.service-2::before { content: '💉'; }
.service-3::before { content: '⚕️'; }
.service-4::before { content: '🦷'; }
.service-5::before { content: '🔬'; }
.service-6::before { content: '⚔️'; }

.service-content {
    padding: 32px;
}

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

.service-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.service-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.service-duration {
    font-size: 14px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 8px;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.cta-button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 18px 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 16px 0;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 100;
    margin-top: 65px; /* Отступ сверху для фиксированной навигации */
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #4F46E5;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #4338CA;
}

.breadcrumbs span {
    color: #9ca3af;
    margin: 0 4px;
}

.breadcrumbs .breadcrumbs-current {
    color: #1f2937;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 80px 0 32px;
    width: 100%;
}

.footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-content > .footer-section:first-child {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    gap: 12px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        align-items: start;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Показываем кнопку гамбургер */
    .nav-toggle {
        display: flex;
    }
    
    /* Скрываем меню по умолчанию на мобильных */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        z-index: 1000;
    }
    
    /* Раскрываем меню при активном состоянии */
    .nav-links.active {
        max-height: 500px;
        padding: 0px 0;
    }
    
    /* Стили для ссылок в мобильном меню */
    .nav-links > a {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 12px 24px;
        width: 100%;
        border-bottom: 1px solid var(--border);
        text-align: left;
    }
    
    .nav-links > a .nav-icon {
        flex-shrink: 0;
    }
    
    .nav-links > a:last-child {
        border-bottom: none;
    }
    
    /* Показываем "Клиники" как отдельный пункт меню */
    .nav-links > a[href="/clinics/"] {
        display: flex !important;
    }
    
    /* Выпадающее меню в мобильной версии */
    .nav-links > .nav-dropdown {
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links > .nav-dropdown:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 24px;
        font-size: 15px;
        font-weight: 500;
        white-space: nowrap;
        align-items: center;
        box-sizing: border-box;
        color: var(--text-secondary);
        transition: color 0.2s ease;
    }
    
    .nav-dropdown-toggle:hover {
        color: var(--primary);
    }
    
    .nav-dropdown-toggle .nav-icon {
        margin-right: 6px;
        flex-shrink: 0;
    }
    
    .nav-dropdown-toggle svg.arrow {
        margin-left: auto;
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--border);
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--bg-light);
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        max-height: 200px;
        padding: 8px 0;
    }
    
    .nav-dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 48px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-dropdown-menu a .nav-icon {
        flex-shrink: 0;
        margin-right: 0;
    }
    
    .nav-dropdown-menu a:last-child {
        border-bottom: none;
    }
    
    /* Стили для ссылок профиля и выхода */
    .nav-links a.nav-profile,
    .nav-links a.nav-logout {
        display: flex !important;
        justify-content: flex-start;
        padding: 12px 24px;
    }
    
    .nav-links a.nav-profile .nav-icon,
    .nav-links a.nav-logout .nav-icon {
        margin-right: 8px;
    }
    
    /* Скрываем текст в выпадающем меню на очень маленьких экранах */
    @media (max-width: 480px) {
        .container {
            padding: 0 16px;
        }
        
        .nav-dropdown-toggle {
            padding: 16px 24px;
            font-size: 14px;
            min-height: 48px;
        }
        
        .nav-dropdown-toggle .nav-icon {
            margin-right: 8px;
        }
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .search-box {
        flex-direction: column;
        padding: 16px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .search-field {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .search-field input {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .search-button {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .search-button span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
    }
    
    .search-button svg {
        flex-shrink: 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        align-items: start;
    }
    
    .footer-section {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding-top: 0px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .features,
    .services,
    .cta-section {
        padding: 60px 0;
    }
    
    .quick-stats {
        gap: 20px;
    }
}

/* Clinics Page Styles */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

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

.page-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* Filters Section */
.filters-section {
    padding: 20px 0 12px;
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 73px;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.filters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.main-search {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-input-wrapper .search-icon {
    color: var(--text-light);
    flex-shrink: 0;
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
}

.search-input-wrapper input::placeholder {
    color: var(--text-light);
}

.clear-search {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    margin-left: 8px;
}

.clear-search:not([style*="display: none"]) {
    display: flex;
}

.clear-search:hover {
    color: var(--text-primary);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 6px 14px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.filter-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.advanced-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
}

.filter-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-select {
    padding: 6px 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: white;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-select:hover {
    border-color: var(--primary-light);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.filter-reset {
    padding: 6px 14px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    height: fit-content;
}

.filter-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.results-info span {
    font-size: 13px;
    color: var(--text-secondary);
}

.results-info strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Clinics Grid */
.clinics-section {
    padding: 30px 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

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

.clinic-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.clinic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.clinic-card-header {
    position: relative;
    min-height: 200px;
}

.clinic-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.clinic-image-link:hover {
    opacity: 0.9;
}

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

.clinic-image {
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray);
    position: relative;
    transition: transform 0.3s ease;
}

.clinic-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    transition: transform 0.3s ease;
}

.clinic-card:hover .clinic-placeholder {
    transform: scale(1.1);
}

.clinic-img-1 { background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%); }
.clinic-img-2 { background: linear-gradient(135deg, #F093FB 0%, #F5576C 100%); }
.clinic-img-3 { background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%); }
.clinic-img-4 { background: linear-gradient(135deg, #43E97B 0%, #38F9D7 100%); }
.clinic-img-5 { background: linear-gradient(135deg, #FA709A 0%, #FEE140 100%); }
.clinic-img-6 { background: linear-gradient(135deg, #30CFD0 0%, #330867 100%); }

.clinic-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.clinic-photos-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(31, 41, 55, 0.85);
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.clinic-photos-badge svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.clinic-photos-badge span {
    line-height: 1;
}

.clinic-edit-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4F46E5;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.clinic-edit-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #4338CA;
}

.clinic-status {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
    white-space: nowrap;
}

.clinic-status.open {
    color: #10b981;
    background: rgba(220, 252, 231, 0.95);
}

.clinic-status.open-24h {
    color: #059669;
    background: rgba(209, 250, 229, 0.95);
}

.clinic-status.closed {
    color: #6b7280;
    background: rgba(243, 244, 246, 0.95);
}

.clinic-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.clinic-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.clinic-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #D1D5DB;
    font-size: 18px;
    line-height: 1;
}

.star.filled {
    color: #FBBF24;
}

.star.half {
    background: linear-gradient(90deg, #FBBF24 50%, #D1D5DB 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
}

.reviews-count {
    color: var(--text-light);
    font-size: 14px;
}

.reviews-count-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-left: 8px;
}

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

.reviews-count-link svg {
    flex-shrink: 0;
}

.reviews-count.no-reviews {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.7;
    margin-left: 8px;
}

.clinic-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.info-item svg {
    flex-shrink: 0;
    color: var(--text-light);
}

.clinic-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.clinic-card-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    gap: 16px;
}

.clinic-footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.clinic-info-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.clinic-info-badge svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.clinic-info-badge span {
    line-height: 1.4;
}

.clinic-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.clinic-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.clinic-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.clinic-btn.primary {
    background: var(--secondary);
}

.clinic-btn.primary:hover {
    background: #DB2777;
}

/* List View */
.clinics-grid.list-view .clinic-card {
    flex-direction: row;
    max-width: 100%;
}

.clinics-grid.list-view .clinic-image {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.clinics-grid.list-view .clinic-card-body {
    flex: 1;
}

.clinics-grid.list-view .clinic-card-footer {
    border-top: none;
    border-left: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    min-width: 150px;
}

.clinics-grid.list-view .clinic-card-footer .clinic-btn {
    width: 100%;
    margin-top: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination-btn,
.pagination-page {
    padding: 10px 16px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.pagination-btn:hover:not(:disabled),
.pagination-page:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-page.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive for Clinics Page */
@media (max-width: 1024px) {
    .filters-section {
        top: 73px;
    }
    
    .clinics-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 40px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .filters-section {
        position: relative;
        top: 0;
    }
    
    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .advanced-filters {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .clinics-grid.list-view .clinic-card {
        flex-direction: column;
    }
    
    .clinics-grid.list-view .clinic-image {
        width: 100%;
    }
    
    .clinics-grid.list-view .clinic-card-footer {
        border-left: none;
        border-top: 1px solid var(--border);
        flex-direction: row;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .results-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/* Quick Links Section */
.quick-links {
    padding: 80px 0;
    background: var(--bg-light);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto;
}

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

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

.quick-link-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
    color: var(--text-primary);
}

.quick-link-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.quick-link-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.quick-link-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Top Clinics Section */
.top-clinics {
    padding: 80px 0;
    background: white;
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.clinic-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: inline-grid;
    border: 1px solid var(--border);
}

.clinic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: var(--text-primary);
}

.clinic-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray);
}

.clinic-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.clinic-card:hover .clinic-card-image img {
    transform: scale(1.05);
}

.clinic-card-content {
    padding: 20px;
}

.clinic-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}

.clinic-card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.clinic-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rating-stars {
    color: #FBBF24;
    font-size: 16px;
}

.rating-value {
    font-weight: 600;
    color: var(--text-primary);
}

.rating-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.clinic-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.section-footer {
    text-align: center;
    margin-top: 32px;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

@media (max-width: 768px) {
    .quick-links {
        padding: 60px 0;
    }
    
    .quick-links-grid {
        gap: 16px;
    }
    
    .quick-link-card {
        padding: 24px 16px;
    }
    
    .quick-link-icon {
        width: 56px;
        height: 56px;
    }
    
    .top-clinics {
        padding: 60px 0;
    }
    
    .clinics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Адаптивные стили для новых SEO-блоков на главной странице */
@media (max-width: 1024px) {
    .popular-districts-section,
    .popular-metro-section,
    .popular-services-section,
    .how-to-choose-section,
    .faq-section {
        padding: 60px 0 !important;
    }
    
    .districts-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 16px !important;
    }
    
    .metro-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 12px !important;
    }
    
    .tips-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .section-title {
        font-size: 28px !important;
    }
    
    .section-subtitle {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .popular-districts-section,
    .popular-metro-section,
    .popular-services-section,
    .how-to-choose-section,
    .faq-section {
        padding: 40px 0 !important;
    }
    
    .districts-grid,
    .services-grid,
    .metro-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .district-card,
    .service-card,
    .metro-card {
        padding: 20px !important;
    }
    
    .tip-card {
        padding: 24px !important;
    }
    
    .faq-item {
        padding: 20px !important;
    }
    
    .section-title {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }
    
    .section-subtitle {
        font-size: 14px !important;
    }
    
    .quick-filters {
        gap: 8px !important;
        margin-top: 16px !important;
    }
    
    .quick-filter-btn {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
    
    .quick-filter-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* Увеличенные иконки для "Экстренная помощь" и "Для собак" на мобильных */
    .quick-filter-btn[href="/emergency/"] svg,
    .quick-filter-btn[href="/sobaki/"] svg {
        width: 22px !important;
        height: 22px !important;
    }
    
    /* Адаптивные стили для премиум баннеров */
    .premium-banners-slider,
    .premium-banners-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .premium-banners-section {
        padding: 20px 0 !important;
    }
    
    .premium-banners-section .container {
        padding: 0 16px !important;
    }
}

@media (max-width: 480px) {
    .popular-districts-section,
    .popular-metro-section,
    .popular-services-section,
    .how-to-choose-section,
    .faq-section {
        padding: 32px 0 !important;
    }
    
    .section-header {
        margin-bottom: 32px !important;
    }
    
    .section-title {
        font-size: 22px !important;
    }
    
    .section-subtitle {
        font-size: 13px !important;
    }
    
    .district-card h3,
    .service-card h3 {
        font-size: 18px !important;
    }
    
    .tip-card h3 {
        font-size: 20px !important;
    }
    
    .faq-item h3 {
        font-size: 18px !important;
    }
    
    .quick-filters {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        justify-content: stretch;
    }
    
    .quick-filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Увеличенные иконки для "Экстренная помощь" и "Для собак" на очень маленьких экранах */
    .quick-filter-btn[href="/emergency/"] svg,
    .quick-filter-btn[href="/sobaki/"] svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Модальное окно для поиска на мобильных устройствах */
.mobile-search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999999;
    flex-direction: column;
    overflow: hidden;
}

.mobile-search-modal > div:first-child {
    padding: 12px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.mobile-search-field {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.mobile-search-field input {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#mobileSearchButton {
    padding: 10px 12px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

#mobileSearchButton span {
    display: none;
}

@media (min-width: 360px) {
    #mobileSearchButton span {
        display: inline;
    }
}

#closeMobileSearch {
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 8px !important;
    flex-shrink: 0 !important;
}

.mobile-search-autocomplete {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: white;
    -webkit-overflow-scrolling: touch;
}

.mobile-search-autocomplete .autocomplete-item {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mobile-search-autocomplete .autocomplete-item:active {
    background-color: #f3f4f6;
}

@media (min-width: 769px) {
    .mobile-search-modal {
        display: none !important;
    }
}

<style>
.content-grid {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.grid-section {
    margin-bottom: 3rem;
    background: #fff;
}

.grid-section h2 {
    color: #2c5530;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.grid-subsection {
    margin: 2rem 0;
}

.grid-subsection h3 {
    color: #4a5568;
    margin-bottom: 1rem;
}

/* Card Styles */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    transition: transform 0.2s;
}

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

.info-card h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Timeline Styles */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.timeline-marker {
    background: #4CAF50;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-content strong {
    color: #2d3748;
    font-size: 1.1rem;
}

/* Checklist Styles */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.check-icon {
    color: #4CAF50;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Warning Card */
.warning-card {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.warning-card h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.warning-card ul {
    margin: 0;
    padding-left: 1.5rem;
}

.warning-card li {
    margin-bottom: 0.5rem;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.effect-card {
    padding: 1.5rem;
    border-radius: 8px;
    height: 100%;
}

.effect-card.normal {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.effect-card.warning {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.effect-card h4 {
    margin-bottom: 1rem;
    color: #155724;
}

.effect-card.warning h4 {
    color: #721c24;
}

/* Price Section */
.factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.factor {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.factor h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #4CAF50;
}

.service {
    font-weight: bold;
    color: #2d3748;
}

.price {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Conclusion */
.conclusion {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    border: 2px solid #4CAF50;
}

.key-takeaways {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.key-takeaways h4 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.final-cta {
    text-align: center;
    font-size: 1.2rem;
    color: #2c5530;
    padding: 1rem;
    background: #d4edda;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .factors {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        /* flex-direction: column; */
        align-items: flex-start;
        text-align: left;
    }
}
</style>/* Модальное окно геолокации */
.geolocation-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(4px) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.geolocation-modal[style*="display: flex"],
.geolocation-modal[style*="display:flex"] {
    display: flex !important;
}

.geolocation-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: geolocationModalFadeIn 0.3s ease;
}

@keyframes geolocationModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.geolocation-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.geolocation-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.geolocation-close-button {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.geolocation-close-button:hover {
    background: #f3f4f6;
    color: #374151;
}

.geolocation-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.geolocation-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.geolocation-screen {
    padding: 32px;
}

.geolocation-screen h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

.geolocation-description {
    margin: 0 0 24px 0;
    color: #6b7280;
    font-size: 14px;
}

/* Методы определения местоположения */
.geolocation-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.geolocation-method-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.geolocation-method-btn:hover {
    border-color: #10B981;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.geolocation-method-btn svg {
    flex-shrink: 0;
    color: #10B981;
}

.geolocation-method-btn div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.geolocation-method-btn strong {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.geolocation-method-btn span {
    font-size: 13px;
    color: #6b7280;
}

/* Индикатор загрузки */
.geolocation-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 16px;
}

.geolocation-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #10B981;
    border-radius: 50%;
    animation: geolocationSpinner 0.8s linear infinite;
}

@keyframes geolocationSpinner {
    to {
        transform: rotate(360deg);
    }
}

.geolocation-loading-message {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Ручной ввод */
.geolocation-manual-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.geolocation-input-group {
    position: relative;
}

.geolocation-input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.geolocation-input,
.geolocation-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.geolocation-input:focus,
.geolocation-select:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Автодополнение */
.geolocation-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.geolocation-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: #374151;
}

.geolocation-autocomplete-item:hover {
    background: #f3f4f6;
}

.geolocation-autocomplete-item:first-child {
    border-top: 1px solid #e5e7eb;
}

/* Стили для автодополнения адресов */
.address-autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.address-autocomplete-loader {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.address-autocomplete-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #10B981;
    border-radius: 50%;
    animation: geolocationSpinner 0.8s linear infinite;
}

.address-autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: -2px;
}

.address-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.address-autocomplete-item:last-child {
    border-bottom: none;
}

.address-autocomplete-item:hover,
.address-autocomplete-item.highlighted {
    background: #f0fdf4;
    color: #059669;
}

.address-autocomplete-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.address-autocomplete-text {
    flex: 1;
    min-width: 0;
}

.address-autocomplete-text mark {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
    padding: 0 2px;
    border-radius: 2px;
}

.address-autocomplete-source {
    font-size: 11px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.address-autocomplete-no-results,
.address-autocomplete-error {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.address-autocomplete-error {
    color: #dc2626;
}

.address-autocomplete-map-btn {
    margin-top: 12px;
    padding: 10px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.address-autocomplete-map-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.address-autocomplete-map-btn svg {
    flex-shrink: 0;
}

/* Адаптивность для автодополнения */
@media (max-width: 768px) {
    .address-autocomplete-suggestions {
        max-height: 250px;
    }
    
    .address-autocomplete-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .address-autocomplete-suggestions {
        max-height: 200px;
    }
    
    .address-autocomplete-item {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .address-autocomplete-icon {
        font-size: 16px;
        width: 20px;
    }
    
    .address-autocomplete-source {
        display: none;
    }
}

/* Стили для кнопки "Рядом со мной" в header */
@media (max-width: 1200px) {
    .geolocation-button-text {
        display: none !important;
    }
    
    .geolocation-button-text-short {
        display: inline !important;
    }
}

@media (max-width: 768px) {
    .geolocation-button-header {
        padding: 6px 10px !important;
        font-size: 12px !important;
        margin-right: 8px !important;
        gap: 4px !important;
    }
    
    .geolocation-button-header svg {
        width: 14px !important;
        height: 14px !important;
    }
}

@media (max-width: 480px) {
    .geolocation-button-header {
        padding: 6px 10px !important;
        margin-right: 8px !important;
        font-size: 12px !important;
    }
}

/* Кнопка применения */
.geolocation-apply-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.geolocation-apply-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.geolocation-apply-btn:active {
    transform: translateY(0);
}

.geolocation-map-picker-btn {
    width: 100%;
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.geolocation-map-picker-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.geolocation-map-picker-btn-active {
    background: #ecfdf5;
    border-color: #10B981;
    color: #059669;
}

.geolocation-map-picker-btn-active:hover {
    background: #d1fae5;
    border-color: #059669;
}

.geolocation-map-picker-btn svg {
    flex-shrink: 0;
}

#geolocation-map-container {
    width: 100%;
    height: 400px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin: 16px 0;
}

#geolocation-map-coordinates {
    padding: 12px;
    background: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #374151;
}

#geolocation-map-coordinates strong {
    color: #111827;
}

.geolocation-screen h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

/* Экран выбора на карте */
.geolocation-map-picker-screen {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 90vh;
}

.geolocation-map-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.geolocation-map-picker-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.geolocation-map-cancel-btn {
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geolocation-map-cancel-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* Выравнивание кнопок в подвале карты */
.geolocation-map-picker-footer .geolocation-apply-btn {
    width: auto;
    min-width: 120px;
    height: 44px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geolocation-map-search-container {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.geolocation-map-search-input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.geolocation-map-search-input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.geolocation-map-search-btn {
    padding: 10px 16px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.geolocation-map-search-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.geolocation-map-search-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.geolocation-map-search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.geolocation-map-container-fullscreen {
    flex: 1;
    width: 100%;
    min-height: 400px;
    border: none;
    border-radius: 0;
    margin: 0;
}

.geolocation-map-picker-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.geolocation-spinner {
    animation: geolocation-spin 1s linear infinite;
}

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

@media (max-width: 768px) {
    .geolocation-map-picker-header {
        padding: 16px;
    }
    
    .geolocation-map-picker-header h4 {
        font-size: 16px;
    }
    
    .geolocation-map-search-container {
        padding: 12px 16px;
    }
    
    .geolocation-map-picker-footer {
        flex-direction: row;
        padding: 12px 16px;
        justify-content: space-between;
    }
    
    .geolocation-map-coordinates {
        width: 100%;
    }
    
    .geolocation-map-container-fullscreen {
        min-height: 300px;
    }
}

/* Сообщение об ошибке */
.geolocation-error {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
}

/* Уведомление о местоположении */
.geolocation-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    animation: geolocationNotificationSlideIn 0.3s ease;
    max-width: 350px;
}

@keyframes geolocationNotificationSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.geolocation-notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 12px;
}

.geolocation-notification-content span {
    font-size: 14px;
    color: #374151;
    flex: 1;
}

.geolocation-notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.geolocation-notification-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Адаптивность */
