:root {
    --scratch-blue: #4D97FF;
    --scratch-orange: #FF9900;
    --scratch-light-blue: #b7d132;
    --scratch-dark: #0F8BD6;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F8FAFF;
    --border-color: #E0E7FF;
}

body {
	background: #F8FAFF;
}





/* Основные стили меню */
.main-nav {
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--scratch-orange);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

/* Логотип */
.logo {
    padding: 0.6rem 0;
}

.logo a {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo-part {
    transition: color 0.3s;
}

.logo-part:last-child {
    color: #333;
}

.logo a:hover .logo-part:first-child {
    color: #e68900;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.15rem;
    letter-spacing: 0.5px;
}

/* Навигационные ссылки */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1rem;
    text-decoration: none;
    color: #444;
    transition: all 0.2s;
    position: relative;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--scratch-orange);
    background: #fef7ec;
}

.nav-link.active {
    color: var(--scratch-orange);
    border-bottom-color: var(--scratch-orange);
    background: none;
}

.nav-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-icon, .scratch-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Dropdown меню */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.55rem;
    margin-left: 0.15rem;
    transition: transform 0.3s;
    color: #aaa;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--scratch-orange);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s;
    z-index: 1000;
    border: 1px solid #eee;
    padding: 0.4rem 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: #444;
    transition: all 0.15s;
    font-size: 0.9rem;
}

.dropdown-item .icon {
    font-size: 1rem;
    width: 1.4rem;
    text-align: center;
}

.dropdown-item:hover {
    background: #fef7ec;
    color: var(--scratch-orange);
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* CTA кнопка */
.cta-button .cta-link {
    background: var(--scratch-orange);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.cta-button .cta-link:hover {
    background: #e68900;
    box-shadow: 0 3px 10px rgba(255,153,0,0.25);
    color: #fff;
}

/* Мобильное меню */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #444;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s;
        z-index: 999;
        gap: 0;
    }

    .nav-links.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        border-bottom: none;
        margin-bottom: 0;
        padding: 0.75rem 1.5rem;
        width: 100%;
    }

    .nav-link.active {
        border-bottom: none;
        background: #fef7ec;
        border-left: 3px solid var(--scratch-orange);
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background: #f9f9f9;
        margin-top: 0;
        padding: 0;
        display: none;
        border-radius: 0;
    }

    .dropdown-content.show {
        display: block;
    }

    .dropdown-item {
        padding-left: 2.5rem;
    }

    .cta-button .cta-link {
        margin: 0.5rem 1.5rem;
        justify-content: center;
    }
}

/* Активная страница индикатор — убран точечный, используем border-bottom */




/* Hero-секция */
.hero-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-accent {
    color: var(--scratch-orange);
    background: linear-gradient(135deg, var(--scratch-orange), #FF6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Секции */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--scratch-dark);
}

.benefits-grid, .lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.benefit-card, .lesson-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.benefit-card:hover, .lesson-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.lesson-number {
    display: inline-block;
    background: var(--scratch-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.lesson-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--scratch-blue);
    font-weight: bold;
    text-decoration: none;
}

.lesson-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
}

  

/* Для родителей */
.parents-section {
    background: linear-gradient(135deg, var(--scratch-blue), var(--scratch-dark));
    color: white;
    padding: 60px 20px;
    margin: 60px 0;
}

.parents-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.parents-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.parent-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.parent-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Форма */
.cta-form {
    max-width: 500px;
    margin: 30px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--scratch-blue);
}

.form-notice {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

















/* Кнопки */
.cta-button a {
    background: linear-gradient(135deg, var(--scratch-orange), #FF6600);
    color: white !important;
    padding: 10px 25px !important;
    font-weight: bold;
}

.cta-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--scratch-blue), var(--scratch-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(77, 151, 255, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--scratch-blue);
    border: 2px solid var(--scratch-blue);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--scratch-blue);
    border: 2px solid var(--scratch-blue);
}

.btn-outline:hover {
    background: var(--scratch-blue);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-icon {
    margin-right: 10px;
    font-size: 18px;
}

.downloads-list {
    max-width: 800px;
    margin: 0 auto;
}

.download-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #f9a825;
    transition: transform 0.3s;
}

.download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.file-icon {
    font-size: 2.2rem;
    color: #f9a825;
    margin-right: 1.5rem;
    min-width: 50px;
}

.file-info {
    flex: 1;
}

.file-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.file-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.file-type, .file-size {
    padding: 4px 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
}

.file-type {
    background-color: #e3f2fd;
    color: #1976d2;
}

.download-link {
    background-color: #4CAF50;
    padding: 6px 16px;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

.download-link:hover {
    background-color: #45a049;
    text-decoration: none;
    color: white;
}


/* Стили футера */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: auto; /* Для sticky footer */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Верхняя часть */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    padding: 0 1rem;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Социальные иконки */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #FF9900;
    transform: translateY(-3px);
}

/* Заголовки колонок */
.footer-title {
    color: #FF9900;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FF9900;
}

/* Ссылки в футере */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: #FF9900;
    padding-left: 5px;
}

/* Контактная информация */
.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Форма подписки */
.subscribe-form {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.subscribe-form h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #FF9900;
}

.subscribe-form input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.subscribe-form input::placeholder {
    color: #95a5a6;
}

.subscribe-form button {
    width: 100%;
    padding: 0.75rem;
    background: #FF9900;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: #e68900;
}

.privacy-note {
    font-size: 0.8rem;
    margin-top: 0.75rem;
    opacity: 0.8;
}

.privacy-note a {
    color: #3498db;
}

/* Разделитель */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

/* Нижняя часть */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.copyright {
    flex: 1;
    min-width: 300px;
}

.copyright p {
    margin: 0.25rem 0;
    font-size: 1.05rem;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #FF9900;
}

.developer-info {
    text-align: right;
    flex: 1;
    min-width: 300px;
}

.developer-info p {
    margin: 0.25rem 0;
}

.stats {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #FF9900;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255,153,0,0.3);
}

.scroll-to-top:hover {
    background: #e68900;
    transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .developer-info,
    .copyright {
        min-width: 100%;
    }
    
    .stats {
        justify-content: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}













.container {
	max-width: 1170px;
	width: 100%;
	margin: 20px auto;
	background-color: #fff;
	border: 3px solid rgb(75,75,75);
	box-shadow: 0 0 15px 5px rgba(44,82,100,.75);
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
}
.left-side {
	flex: 1 1 77%;
	min-width: 0;
	padding: 10px 15px;
	box-sizing: border-box;
}
.right-side {
	flex: 0 0 20%;
	min-width: 0;
	padding: 10px;
	box-sizing: border-box;
}
.clear {
	clear: both;
}

     .ten{
color: rgb(252,102,0);
font-family: "Arial Black", Arial, Helvetica, sans-serif;
font-size: 2em;
text-shadow: 0 1px 0 #ccc,
			 0 2px 0 #c9c9c9,
			 0 3px 0 #bbb,
			 0 4px 0 #b9b9b9,
			 0 5px 0 #aaa,
			 0 6px 1px rgba(0,0,0,.1),
			 0 0 5px rgba(0,0,0,.1),
			 0 1px 3px rgba(0,0,0,.3),
			 0 3px 5px rgba(0,0,0,.2),
			 0 5px 10px rgba(0,0,0,.25),
			 0 10px 10px rgba(0,0,0,.2),
			 0 20px 20px rgba(0,0,0,.15);
}

 ul#navigation {
	padding: 0px 5px 0 120px;
	width: 100%;
	overflow: hidden;
}

ul#navigation li {
	display: inline-block;
	line-height: 1;
	padding: 2px 2px;
	text-decoration: none;
	font-weight: normal;
color:#000000;


background-color:#829756;

	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	 border-radius: 8px;

}

ul#navigation li a:link, ul#navigation li a:visited {
	display: inline-block;
	line-height: 1;
	padding: 5px 8px;
	text-decoration: none;
	font-weight: normal;
    
color:#000000;


background-color:#829756;

	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	 border-radius: 8px;
}

ul#navigation li a:hover {
	display: inline-block;
	line-height: 1;
	padding: 5px 8px;
	text-decoration: none;
	font-weight: bold;

color:#000000;



background-color:#829756;

	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
	 border-radius: 8px;
}


#pr {
	border: 1px solid #ddd;
	margin: 4px;
	width: 100%;
    height: 100%;
	/*style="width: 100%; height: 200%;"*/
}	


.wrp {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
}
.map-box { 
	position: absolute;
	top: 70px;
	left: 20px; 
	padding: 20px;
	background: #fff;
	border: 1px solid #ddd;
	z-index: 100;
	width: 250px;
	box-shadow: -1px -1px 24px 0px rgba(50, 50, 50, 0.5);
}
.map-box p {
	font-size: 18px;
}
#map {
	width: 100%; 
	height: 350px;
}




/*

#map {
	border: 1px solid #ddd;
	margin: 1px;
	width: 100%;
    height: 100%;
	style="width: 100%; height: 200%;"
}	
*/
      #but_load{

    background-color:#FFFFF1;
    position: relative;
    left: 1px;
    top: -1px;
    z-index: 1;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    -o-border-radius: 10px;
    -opera-border-radius: 10px;
    -ie-border-radius: 10px;
	border-radius: 10px;
     border: 1px solid #000;
     padding: 1px;
        }

/* ===== Раздел «О себе» ===== */
.about-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.about-heading {
    text-align: center;
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.about-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 0.75rem;
}

.about-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.about-location {
    display: inline-block;
    background: #f0f4ff;
    color: var(--scratch-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem !important;
    margin-top: 0.5rem !important;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.contact-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-list a {
    color: var(--scratch-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-list a:hover {
    color: var(--scratch-orange);
}

.about-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-bottom: 2rem;
}

.about-map-wrap #yandex-map {
    width: 100%;
    height: 300px;
}

/* Проекты */
.projects-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.projects-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.projects-grid img:hover {
    transform: scale(1.03);
}

/* Партнёрская ссылка */
.partner-link {
    text-align: center;
    margin: 1.5rem 0 1rem;
}

.partner-link a {
    font-size: 1rem;
    color: var(--scratch-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--scratch-dark);
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-block;
}

.partner-link a:hover {
    background: var(--scratch-dark);
    color: #fff;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Утилиты ===== */
.text-center {
    text-align: center;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.spacer {
    margin-top: 2rem;
}

.spacer-lg {
    margin-top: 3rem;
}

/* ===== Классы контента ===== */
.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.content-list {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    padding-left: 30px;
}

.code-block {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    overflow-x: auto;
    margin: 15px 0;
}

.cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}

.card-link {
    flex: 1;
    min-width: 250px;
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s;
}

.card-link:hover {
    transform: translateY(-5px);
    color: white;
    text-decoration: none;
}

.card-link h3 {
    color: white;
    margin-top: 0;
}

.card-link p {
    margin: 0;
    opacity: 0.9;
}

.card-blue {
    background: linear-gradient(135deg, #4D97FF, #0F8BD6);
}

.card-orange {
    background: linear-gradient(135deg, #FF9900, #FF6600);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== Стили меню — адаптивные размеры задаются в основном блоке выше ===== */

/* ===== Адаптивность контента ===== */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        margin: 10px;
        width: auto;
    }
    .left-side {
        flex: 1 1 100%;
    }
    .right-side {
        flex: 1 1 100%;
    }
    .hero-section {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
    }
    .hero-title {
        font-size: 32px;
    }
    /* Меню адаптивность управляется из основного блока */
}

@media (max-width: 576px) {
    .cards-row {
        flex-direction: column;
    }
    .gallery img {
        max-width: 100%;
    }
}
