:root {
    --primary: #4A90E2;
    --primary-light: #7BB4F8;
    --secondary: #FF6B8B;
    --accent: #FFD166;
    --accent-green: #06D6A0;
    --light-bg: #F8FAFF;
    --dark-text: #2D3748;
    --light-text: #4A5568;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(74, 144, 226, 0.15);
    --radius: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: linear-gradient(135deg, #F8FAFF 0%, #F0F7FF 100%);
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--accent-green));
}

header .container {
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--white), #E3F2FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    margin: 10px 0 0;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
}

nav {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h2 {
    color: var(--primary);
    margin: 40px 0 25px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

h3 {
    margin: 25px 0 15px;
    color: var(--dark-text);
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--light-text);
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: var(--light-text);
}

ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
}



/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.project-card {
    display: block;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--dark-text);
    transition: var(--transition);
    border: 1px solid rgba(74, 144, 226, 0.1);
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent-green));
}

.project-card h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.project-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.project-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

.project-card:hover span {
    transform: translateX(5px);
    color: var(--primary);
}

/* Reviews Form */
form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
    margin: 30px 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 20px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

button {
    background: linear-gradient(135deg, var(--secondary), #FF8BA0);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 139, 0.3);
}

/* Reviews List */
.review-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 15px var(--shadow);
}

.rating {
    color: var(--accent);
    font-weight: bold;
    margin: 10px 0;
}

/* Utility Classes */
.highlight {
    background: linear-gradient(120deg, rgba(255, 215, 102, 0.2), rgba(6, 214, 160, 0.2));
    padding: 2px 6px;
    border-radius: 4px;
}

.success-message {
    background: var(--accent-green);
    color: white;
    padding: 15px 25px;
    border-radius: var(--radius);
    margin: 20px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container > * {
    animation: fadeIn 0.6s ease-out;
}

/* Адаптив */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    nav a {
        white-space: nowrap;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    form {
        padding: 20px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--secondary));
}

/* ===== СТИЛИ ДЛЯ ПРОЕКТОВ С МИНИАТЮРАМИ ===== */

/* Сетка проектов */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Карточка проекта */
.project-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

/* Изображение проекта (миниатюра) */
.project-image {
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Важно! Обрезает без растяжения */
    transition: transform 0.5s ease;
}

.project-card:hover .project-thumbnail {
    transform: scale(1.05);
}

/* Заглушка, если нет изображения */
.project-image.no-image {
    background: linear-gradient(135deg, #6a89cc, #b8e994);
}

.placeholder-image {
    font-size: 60px;
    color: rgba(255,255,255,0.7);
}

/* Контент карточки */
.project-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    margin-top: 0;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.3em;
    line-height: 1.3;
}

.project-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 0.95em;
}

.read-more {
    color: #3498db;
    font-weight: 600;
    align-self: flex-start;
    font-size: 0.95em;
    transition: color 0.3s;
}

.project-card:hover .read-more {
    color: #2980b9;
}

/* ===== ЗАВЕРШЕННЫЕ ПРОЕКТЫ ===== */
.completed-projects {
    margin-top: 20px;
}

.completed-project-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #95a5a6;
}

.completed-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover; /* Важно! Обрезает без растяжения */
    border-radius: 6px;
    margin-right: 15px;
    flex-shrink: 0;
}

.completed-project-info {
    flex-grow: 1;
}

.completed-project-info h4 {
    margin-top: 0;
    color: #2c3e50;
    margin-bottom: 8px;
}

.completed-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

/* ===== СТРАНИЦА ПРОЕКТА (БЕЗ ФОТО) ===== */
.project-detail {
    max-width: 900px;
    margin: 0 auto;
}

.project-header {
    margin-bottom: 25px;
}

.project-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.project-category {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.project-category.current {
    background: #d5f4e6;
    color: #27ae60;
}

.project-category.completed {
    background: #ffeaa7;
    color: #e17055;
}

.project-date {
    color: #7f8c8d;
    font-size: 0.9em;
}

.project-excerpt {
    font-size: 1.1em;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.project-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 30px 0;
}

.project-content-full {
    line-height: 1.7;
    color: #444;
    font-size: 1.05em;
}

.project-content-full h3 {
    color: #2c3e50;
    margin-top: 25px;
}

.project-content-full p {
    margin-bottom: 15px;
}

.project-content-full ul, 
.project-content-full ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.back-button:hover {
    background: #2980b9;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .completed-project-item {
        flex-direction: column;
    }
    
    .completed-thumbnail {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ===== УПРОЩЕННЫЕ СТИЛИ ДЛЯ КОМАНДЫ ===== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 25px 0;
}

.team-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    padding: 20px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 50%;
    border: 5px solid #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Для квадратных фото:
.team-photo {
    border-radius: 10px;
}
*/

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .member-photo {
    transform: scale(1.05);
}

.no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #74b9ff, #a29bfe);
    border-radius: inherit;
}

.placeholder-icon {
    font-size: 60px;
    color: rgba(255,255,255,0.8);
}

.team-info {
    flex-grow: 1;
}

.team-info h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.3em;
    line-height: 1.3;
}

.team-position {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.4;
}

.team-contacts {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.contact-item a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1em;
    display: inline-block;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s;
}

.contact-item a:hover {
    background: #3498db;
    color: white;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-photo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-photo {
        width: 160px;
        height: 160px;
    }
    
    .team-card {
        padding: 15px;
    }
}

/* ===== СТИЛИ ДЛЯ КЛУБОВ С ИЗОБРАЖЕНИЯМИ ===== */
.clubs-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
}

.club-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    animation: fadeIn 0.6s ease-out;
    min-height: 280px;
}

.club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.club-image {
    flex: 0 0 300px;
    overflow: hidden;
    position: relative;
}

.club-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.club-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.club-card h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.6rem;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(74, 144, 226, 0.1);
}

.club-card p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 15px;
}

.club-details {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-top: auto;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.club-details p {
    margin-bottom: 10px;
    color: var(--dark-text);
}

.club-details strong {
    color: var(--primary);
    min-width: 140px;
    display: inline-block;
}

.clubs-summary {
    text-align: center;
    font-style: italic;
    color: var(--light-text);
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(120deg, rgba(101, 198, 253, 0.1), rgba(90, 255, 211, 0.1));
    border-radius: var(--radius);
}

/* Альтернативный вариант с изображением слева и справа */
.club-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Заглушка для изображений, если они не загрузились */
.club-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.club-image::after {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.club-image:hover::before {
    opacity: 0.2;
}

.club-image:hover::after {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 992px) {
    .club-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .club-card:nth-child(even) {
        flex-direction: column;
    }
    
    .club-image {
        flex: 0 0 250px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .club-card {
        padding: 0;
    }
    
    .club-content {
        padding: 20px;
    }
    
    .club-image {
        flex: 0 0 200px;
    }
    
    .club-details {
        padding: 15px;
    }
    
    .club-details strong {
        min-width: 120px;
        display: inline-block;
    }
}
/* ===== СТИЛИ ДЛЯ НОВЫХ СТРАНИЦ ===== */

/* Адаптивность */
@media (max-width: 768px) {
    .page-content {
        padding: 10px 0;
    }
    
    .page-intro {
        padding: 15px;
        font-size: 1rem;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .contact-prompt {
        padding: 20px;
    }
    
    .highlight-phone {
        font-size: 1.3rem;
    }
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ УСЛУГ ===== */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(74, 144, 226, 0.1);
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
    border-color: rgba(74, 144, 226, 0.3);
}

.service-card h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-details {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--accent);
}

.service-details p {
    margin-bottom: 10px;
    color: var(--dark-text);
}

.service-details strong {
    color: var(--primary);
}

.service-link {
    text-align: right;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(74, 144, 226, 0.1);
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-more:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

.no-services {
    text-align: center;
    padding: 50px 30px;
    background: var(--light-bg);
    border-radius: var(--radius);
    border: 2px dashed rgba(74, 144, 226, 0.3);
}

.no-services p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.services-summary {
    background: linear-gradient(120deg, rgba(101, 198, 253, 0.1), rgba(90, 255, 211, 0.1));
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    font-style: italic;
    color: var(--dark-text);
    margin-top: 40px;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ ДЕТАЛЬНОЙ ИНФОРМАЦИИ УСЛУГИ ===== */
.service-detail-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

.back-link {
    margin-bottom: 30px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--light-bg);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: var(--transition);
}

.back-link a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(-5px);
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 5px 30px var(--shadow);
    border-top: 5px solid var(--primary);
}

.service-detail-card h2 {
    color: #4a90e2;
    margin-top: 0;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(74, 144, 226, 0.1);
}

.service-detail-card h2::after {
    display: none;
}

.service-meta {
    margin: 25px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.service-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
}

.service-full-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-text);
}

.service-full-description p {
    margin-bottom: 20px;
}

.service-contact-info {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(255, 107, 139, 0.05));
    padding: 30px;
    border-radius: var(--radius);
    margin: 40px 0;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.service-contact-info h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 20px;
}

.service-contact-info ul {
    padding-left: 0;
}

.service-contact-info li {
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.service-contact-info li::before {
    content: '📍';
    color: var(--secondary);
    left: 0;
    font-size: 1rem;
}

.service-navigation {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(74, 144, 226, 0.1);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

/* ===== СТИЛИ ДЛЯ КАРТОЧЕК УСЛУГ КАК У КЛУБОВ ===== */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
}

.service-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    animation: fadeIn 0.6s ease-out;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.service-image {
    flex: 0 0 350px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Заглушка для изображений */
.service-image.no-image {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.7);
}

.service-content {
    flex: 1;
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.7rem;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(74, 144, 226, 0.2);
}

.service-card p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.service-details {
    background: var(--light-bg);
    padding: 22px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(74, 144, 226, 0.15);
}

.service-details p {
    margin-bottom: 12px;
    color: var(--dark-text);
}

.service-details strong {
    color: var(--primary);
    min-width: 150px;
    display: inline-block;
}

.service-link {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(74, 144, 226, 0.1);
    text-align: right;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.btn-more:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.no-services {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(255, 215, 102, 0.05));
    border-radius: var(--radius);
    border: 2px dashed var(--primary-light);
}

.no-services p {
    color: var(--light-text);
    font-size: 1.2rem;
}

.services-summary {
    background: linear-gradient(120deg, rgba(101, 198, 253, 0.1), rgba(90, 255, 211, 0.1));
    border-radius: var(--radius);
    text-align: center;
    font-style: italic;
    color: var(--dark-text);
    margin-top: 40px;
}

/* Альтернативный вариант с изображением слева и справа */
.service-card:nth-child(even) {
    flex-direction: row-reverse;
}


.service-card:hover::before {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 1100px) {
    .service-image {
        flex: 0 0 300px;
    }
}

@media (max-width: 992px) {
    .service-card,
    .service-card:nth-child(even) {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-image {
        flex: 0 0 300px;
        width: 100%;
    }
    
    .service-content {
        padding: 30px;
    }
    
    .service-card h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .services-container {
        gap: 30px;
        margin: 30px 0;
    }
    
    .service-image {
        flex: 0 0 250px;
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-details strong {
        min-width: 120px;
        display: block;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .service-image {
        flex: 0 0 200px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .btn-more {
        padding: 12px 24px;
        width: 100%;
        justify-content: center;
    }
}

.container:first-of-type:not(header .container) {
    padding-top: 5px;
}

/* Убираем отступы только у изображений, оставляя у контента */
.service-card {
    padding: 0 !important;
}

.service-image {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 350px !important;
}

.service-content {
    padding: 30px !important;
    margin: 0 !important;
}

/* Стили для админ-панели (единые для всех разделов) */
.admin-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
    margin: 30px 0;
}

.admin-section h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--light-text);
    font-size: 0.85rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.admin-table th {
    background: var(--primary);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #E2E8F0;
}

.admin-table tr:hover {
    background: var(--light-bg);
}

.admin-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary-light);
}

.no-photo {
    color: var(--light-text);
    font-style: italic;
}

.actions a {
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-edit {
    color: var(--primary);
    background: rgba(74, 144, 226, 0.1);
}

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

.btn-delete {
    color: var(--secondary);
    background: rgba(255, 107, 139, 0.1);
    margin-left: 10px;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

.btn-cancel {
    color: var(--light-text);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    background: #f0f0f0;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.back-to-admin {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-admin:hover {
    transform: translateX(-5px);
}

.current-image {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.current-image p {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.no-items {
    text-align: center;
    padding: 40px;
    background: var(--light-bg);
    border-radius: var(--radius);
    color: var(--light-text);
    font-style: italic;
}

.success-message {
    background: var(--accent-green);
    color: white;
    padding: 15px 25px;
    border-radius: var(--radius);
    margin: 20px 0;
    animation: fadeIn 0.5s ease;
}

/* ===== СТИЛИ ДЛЯ НАГРАД ===== */

/* Заголовок страницы наград */
.page-header {
    margin-bottom: 30px;
}

.page-header h2 {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.page-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.page-description {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Сетка наград (используем существующие классы из проектов) */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Карточка награды */
.award-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(74, 144, 226, 0.1);
    cursor: pointer;
    animation: fadeIn 0.6s ease-out;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

/* Контейнер для изображения */
.award-image-wrapper {
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.award-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-green));
    z-index: 1;
}

/* Изображение */
.award-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.award-card:hover .award-image {
    transform: scale(1.08);
}

/* Контент карточки */
.award-content {
    padding: 20px;
}

.award-content h3 {
    color: var(--primary);
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.award-date {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 139, 0.1);
    border-radius: 20px;
}

.award-content p {
    color: var(--light-text);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Модальное окно (улучшенное) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border: 3px solid var(--white);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1001;
}

.close:hover {
    color: var(--secondary);
    cursor: pointer;
    transform: rotate(90deg);
}

#modalCaption {
    margin: 20px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 10px 0;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.no-awards {
    text-align: center;
    padding: 60px;
    background: var(--light-bg);
    border-radius: var(--radius);
    color: var(--light-text);
    margin: 40px 0;
    font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .page-header h2 {
        font-size: 1.8rem;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .award-image-wrapper {
        height: 200px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .page-header h2 {
        font-size: 1.5rem;
    }
    
    .award-content {
        padding: 15px;
    }
    
    .award-content h3 {
        font-size: 1.2rem;
    }
}

/* Глобальный стиль для всех кнопок btn-more - по умолчанию не растягиваются */
.btn-more {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    width: auto !important;
    max-width: fit-content;
    white-space: nowrap;
}

/* Отмена принудительной ширины 100% на мобильных */
@media (max-width: 480px) {
    .btn-more {
        width: auto !important;
        min-width: 160px;
        justify-content: center;
        white-space: nowrap;
    }
}

/* Для платных услуг, если нужно чтобы кнопка была по ширине контента */
.service-card .btn-more {
    display: inline-flex;
    width: auto !important;
}

/* Для проектов */
.project-card .btn-more {
    display: inline-flex;
    width: auto !important;
}

