/* 
 * Dance Club Geo USA
 * Основные стили для сайта
 */

/* ----- Базовые стили и переменные ----- */
:root {
    --primary-color: #d9534f; /* Грузинский красный */
    --secondary-color: #2e4c8a; /* Темно-синий (от американского флага) */
    --accent-color: #ffd700; /* Золотой акцент */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --font-heading: 'Georgia', serif;
    --font-body: 'Arial', sans-serif;
    --border-radius: 5px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ----- Сброс стилей ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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

ul, ol {
    list-style-position: inside;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ----- Кнопки ----- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #c7403c;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #263d70;
    color: white;
}

.center-btn {
    text-align: center;
    margin: 2rem 0;
}

/* ----- Шапка сайта ----- */
header {
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin-right: 1.5rem;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    font-weight: bold;
    position: relative;
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

nav ul li a i {
    margin-right: 0.5rem;
}

/* ----- Подвал сайта ----- */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 1rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-contact p i {
    margin-right: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ----- Главная страница ----- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    padding-right: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-light);
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.timeline h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 10px;
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
}

.timeline-content {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.statistics {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-light);
}

.statistics h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.recent-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.post-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-preview {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.post-preview:hover {
    transform: translateY(-5px);
}

.post-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-preview h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.3rem;
}

.post-preview p {
    padding: 0 1rem 1rem;
    color: var(--text-light);
}

.post-preview .btn-secondary {
    margin: 0 1rem 1rem;
}

/* ----- Страница блога ----- */
.blog-header {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--bg-light);
    margin-bottom: 2rem;
}

.blog-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.blog-posts {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-post {
    display: flex;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image {
    flex: 0 0 40%;
}

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

.post-content {
    flex: 1;
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-date, .post-author {
    margin-right: 1.5rem;
}

.post-excerpt {
    margin-bottom: 1.5rem;
}

/* ----- Страница отдельного поста ----- */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
}

.post-content {
    margin-bottom: 2rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags span {
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    margin-right: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-light);
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
}

.post-share span {
    margin-right: 0.75rem;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.share-link.facebook {
    background-color: #3b5998;
    color: white;
}

.share-link.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-link.linkedin {
    background-color: #0077b5;
    color: white;
}

.share-link.email {
    background-color: #f5f5f5;
    color: var(--text-color);
}

.share-link:hover {
    transform: translateY(-3px);
    color: white;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.nav-previous, .nav-next {
    flex: 0 0 48%;
}

.nav-next {
    text-align: right;
}

.nav-previous span, .nav-next span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.nav-previous.empty, .nav-next.empty {
    opacity: 0.5;
}

.related-posts {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border-color);
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 1rem;
    font-size: 1.1rem;
}

/* ----- Страница О нас ----- */
.about-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header-content {
    padding-right: 2rem;
}

.about-header-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-header-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-story, .about-mission, .about-team, .about-classes,
.about-achievements, .about-gallery, .about-testimonials, .about-cta {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-story h3, .about-mission h3, .about-team h3, .about-classes h3,
.about-achievements h3, .about-gallery h3, .about-testimonials h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-story-images img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.mission-content ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.mission-content li {
    margin-bottom: 0.5rem;
}

.mission-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    padding: 1rem 1rem 0.25rem;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.team-member p {
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: bold;
}

.classes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.class-category {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.class-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.class-category ul {
    list-style: none;
}

.class-category ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.class-category ul li:last-child {
    border-bottom: none;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-item {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
}

.achievement-icon {
    flex: 0 0 60px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.achievement-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cta-container {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.cta-container h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-container p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ----- Страница Контакты ----- */
.contact-header {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--bg-light);
    margin-bottom: 2rem;
}

.contact-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card a {
    font-weight: bold;
}

.contact-hours {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-card .social-icons {
    justify-content: center;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-top: 1rem;
}

.map-container iframe {
    border: none;
    display: block;
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center;
}

.contact-form-section h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-form-section p {
    margin-bottom: 2rem;
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    max-width: 500px;
    width: 90%;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg-light);
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* ----- Кастомные элементы постов ----- */
.dance-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.dance-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.dance-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dance-item p {
    margin-bottom: 0.75rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th, .comparison-table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.comparison-table th {
    background-color: var(--secondary-color);
    color: white;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

.tip-box {
    background-color: rgba(255, 215, 0, 0.2);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.tip-box h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.fusion-styles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.fusion-style {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.fusion-style h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.fusion-style p {
    margin-bottom: 0;
}

/* ----- Уведомление о cookies ----- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: white;
    z-index: 1000;
    display: none;
    padding: 1rem;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.customize {
    background-color: var(--info-color);
    color: white;
}

.btn-cookie.decline {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.cookie-policy-link {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ----- Иконки ----- */
@font-face {
    font-family: 'icon-font';
    src: url('fonts/icon-font.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icon-font' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-home:before { content: "\e900"; }
.icon-blog:before { content: "\e901"; }
.icon-about:before { content: "\e902"; }
.icon-contact:before { content: "\e903"; }
.icon-calendar:before { content: "\e904"; }
.icon-user:before { content: "\e905"; }
.icon-folder:before { content: "\e906"; }
.icon-tag:before { content: "\e907"; }
.icon-location:before { content: "\e908"; }
.icon-phone:before { content: "\e909"; }
.icon-email:before { content: "\e90a"; }
.icon-social:before { content: "\e90b"; }
.icon-check:before { content: "\e90c"; }
.icon-dance:before { content: "\e90d"; }
.icon-classes:before { content: "\e90e"; }
.icon-performance:before { content: "\e90f"; }
.icon-trophy:before { content: "\e910"; }
.icon-medal:before { content: "\e911"; }
.icon-star:before { content: "\e912"; }
.icon-certificate:before { content: "\e913"; }

/* ----- Адаптивность ----- */
@media (max-width: 1200px) {
    .hero, .features, .timeline, .statistics, .recent-posts,
    .about-header, .about-story, .about-mission, .about-team, .about-classes,
    .about-achievements, .about-gallery, .about-testimonials, .about-cta {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .about-header {
        grid-template-columns: 1fr;
    }
    
    .about-header-content {
        padding-right: 0;
        text-align: center;
        order: 2;
    }
    
    .about-header-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .about-story-content {
        grid-template-columns: 1fr;
    }
    
    .mission-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info-container {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .post-image {
        flex: none;
    }
    
    .post-image img {
        height: 300px;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 45px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 12px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .post-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cta-container {
        padding: 2rem 1rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-date, .post-author {
        margin-right: 0;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-icon {
        margin-bottom: 1rem;
    }
}
