
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: white;
            color: #333;
            line-height: 1.6;
        }
        
        /* Header and Navigation */
        header {
            background-color: white;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
		    padding-bottom: 20px;
            height: auto; /* лучше без фиксированной высоты */
        }
        
        .logo {
            font-size: 24px;
            font-weight: 700;
            color: #2a5c82;
        }
        
        .logo-main {
            font-size: 27px;
            line-height: 1.1;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            font-size: 17px;
            transition: color 0.3s;
            padding: 8px 0;
            position: relative;
        }
        
        nav ul li a:hover {
            color: #2a5c82;
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #2a5c82;
            transition: width 0.3s;
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            font-size: 28px;
            cursor: pointer;
            color: #2a5c82;
        }
        
        /* Hero Banner */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('images/family-banner.jpg');
            background-size: cover;
            background-position: center 60%;
            padding: 130px 0;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 48px;
            color: #ffffff;
            margin-bottom: 30px;
        }
        
        .hero p {
            font-size: 20px;
            color: #f2f2f2;
            max-width: 800px;
            margin: 0 auto 20px;
        }
        
        /* Main Content */
        .content-section {
            padding: 30px 0;
        }
        
        .section-title {
            text-align: center;
            font-size: 36px;
            color: #2a5c82;
            margin-bottom: 50px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: #4CAF50;
        }
        
        .info-box {
            background-color: #f9f9f9;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 0px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .info-box h3 {
            color: #2a5c82;
            margin-bottom: 20px;
            font-size: 24px;
        }
        
        .info-box p {
            margin-bottom: 15px;
        }
        
        .highlight {
            background-color: #e8f4fc;
            border-left: 4px solid #2a5c82;
            padding: 20px;
            margin: 25px 0;
        }
        
        .warning-box {
            background-color: #ffeaea;
            border-left: 4px solid #d32f2f;
            padding: 20px;
            margin: 25px 0;
            color: #d32f2f;
            font-weight: 600;
        }
        
        .schedule-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        
        .schedule-table th, .schedule-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        .schedule-table th {
            background-color: #f2f2f2;
            color: #2a5c82;
        }
        
        .schedule-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        @media (max-width: 1100px) {
            .schedule-container {
                grid-template-columns: 1fr;
            }
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-item {
            background-color: #f9f9f9;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }
        
        .service-item:hover {
            transform: translateY(-5px);
        }
        
        .service-item h4 {
            color: #2a5c82;
            margin-bottom: 15px;
            font-size: 20px;
        }
        
        .service-item ul {
            padding-left: 20px;
        }
        
        .service-item li {
            margin-bottom: 8px;
        }
        
        .contact-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .contact-item {
            text-align: center;
            padding: 25px;
            background-color: #f9f9f9;
            border-radius: 10px;
        }
        
        .contact-icon {
            font-size: 40px;
            color: #2a5c82;
            margin-bottom: 20px;
        }
        
        .contact-item h4 {
            color: #2a5c82;
            margin-bottom: 15px;
        }
        
        /* Price Table */
        .price-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        
        .price-table th, .price-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        .price-table th {
            background-color: #f2f2f2;
            color: #2a5c82;
        }
        
        .price-table td:last-child {
            font-weight: 600;
            color: #2a5c82;
        }
        
        /* Location Box */
        .location-box {
            background-color: #e8f4fc;
            border-radius: 10px;
            padding: 20px;
            margin-top: 30px;
            text-align: center;
        }
        
        .location-box h3 {
            color: #2a5c82;
            margin-bottom: 15px;
            font-size: 28px;
        }
        
        .location-box p {
            margin-bottom: 10px;
            font-size: 20px;
        }
        
        .location-address {
            font-size: 24px;
            font-weight: 600;
            color: #2a5c82;
            margin: 15px 0;
            line-height: 1.4;
        }
        
        .staff-list {
            margin-top: 30px;
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
        }
        
        .staff-item {
            text-align: center;
        }
        
        .staff-item h4 {
            color: #2a5c82;
            margin-bottom: 10px;
            font-size: 24px;
        }
        
        .staff-item p {
            font-size: 20px;
            font-weight: 500;
        }
        
        /* Map */
        .map-container {
            margin-top: 40px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .map-container iframe {
            width: 100%;
            height: 400px;
            border: 0;
        }
        
        /* Footer */
        footer {
            background-color: #2a5c82;
            color: white;
            padding: 50px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-section h3 {
            font-size: 20px;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: #4CAF50;
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section ul li {
            margin-bottom: 12px;
        }
        
        .footer-section ul li a {
            color: #ddd;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-section ul li a:hover {
            color: #4CAF50;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
            color: #ccc;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            nav ul {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
				 margin-right: 12px;
            }
            
            .hero h1 {
                font-size: 36px;
            }
            
            .hero p {
                font-size: 18px;
            }
            
            .logo-main {
                font-size: 24px;
            }
            
            .header-container {
                height: 80px;
                padding: 15px 0;
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                padding: 70px 0;
            }
            
            .content-section {
                padding: 50px 0;
            }
            
            .section-title {
                font-size: 30px;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .schedule-container {
                grid-template-columns: 1fr;
            }
            
            .staff-list {
                flex-direction: column;
                gap: 25px;
            }
            
            .location-box {
                padding: 25px;
            }
            
            .location-box h3 {
                font-size: 24px;
            }
            
            .staff-item h4 {
                font-size: 20px;
            }
            
            .staff-item p {
                font-size: 18px;
            }
        }
        
        @media (max-width: 576px) {
            .hero h1 {
                font-size: 28px;
            }
            
            .info-box {
                padding: 20px;
            }
            
            .schedule-table th, .schedule-table td {
                padding: 10px;
                font-size: 14px;
            }
            
            .price-table th, .price-table td {
                padding: 10px;
                font-size: 14px;
            }
            
            .location-address {
                font-size: 20px;
            }
        }


/* ===== MENU FONT SIZE ===== */
#nav-menu li a {
  font-size: 15px;
  position: relative;
  display: inline-block;   /* чтобы линия была по ширине текста */
}

/* underline через псевдоэлемент */
#nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #2b7a78;
  transition: width 0.25s ease;
}

/* hover и active показывают линию */
#nav-menu li a:hover::after,
#nav-menu li a.active::after {
  width: 100%;
}

/* Active menu item */
#nav-menu li a.active {
  font-weight: 600;
}

/* ===== Mobile menu font size ===== */
#nav-menu.mobile li a {
  font-size: 15px;
}

/* ===== FIX: Mobile menu (uses classes added by script.js) ===== */
#nav-menu.desktop {
  display: flex;
  position: static;
  background: transparent;
  padding: 0;
}

#nav-menu.mobile {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 10px 20px;
}

#nav-menu.mobile.open {
  display: flex;
}

/* ===== Mobile menu spacing (smaller) ===== */
#nav-menu.mobile li {
  margin-bottom: 6px;   /* было 12px — теперь компактнее */
}

#nav-menu.mobile li:last-child {
  margin-bottom: 0;
}

/* кликабельная область, но без растягивания underline */
#nav-menu.mobile li a {
  padding: 6px 0;       /* было 10px — меньше */
}
