/* Пастельно-теплая цветовая палитра */
:root {
    --primary-color: #D4A574; /* Теплый золотистый */
    --secondary-color: #E8D5C4; /* Нежный бежевый */
    --accent-color: #B08968; /* Темнее золотистый */
    --background-light: #F5F1EB; /* Очень светлый бежевый */
    --background-white: #FEFCF9; /* Теплый белый */
    --text-dark: #5D4037; /* Теплый коричневый */
    --text-medium: #8D6E63; /* Средний коричневый */
    --text-light: #A1887F; /* Светлый коричневый */
    --border-color: #EFEBE9; /* Светлая граница */
    --shadow-light: rgba(139, 90, 60, 0.1);
    --shadow-medium: rgba(139, 90, 60, 0.15);
    --gradient-warm: linear-gradient(135deg, #F5F1EB 0%, #E8D5C4 100%);
    --gradient-primary: linear-gradient(135deg, #D4A574 0%, #B08968 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Заголовки секций */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(254, 252, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.booking-btn {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 3px 10px var(--shadow-light);
}

.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.booking-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23D4A574" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
    z-index: 2;
}

.hero-logo {
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-medium);
    border: 3px solid rgba(212, 165, 116, 0.2);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-white);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><defs><pattern id="aboutPattern" width="80" height="80" patternUnits="userSpaceOnUse"><path d="M40,5 Q45,15 40,25 Q35,15 40,5" fill="%23D4A574" opacity="0.04"/></pattern></defs><rect width="80" height="80" fill="url(%23aboutPattern)"/></svg>');
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.about-text {
    background: var(--background-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow-light);
    border: 1px solid rgba(212, 165, 116, 0.15);
    position: relative;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.about-text .content-editable {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.about-text .content-editable p {
    margin-bottom: 1.5rem;
}

.about-text .content-editable p:last-child {
    margin-bottom: 0;
}

.credentials {
    margin-top: 30px;
    padding: 35px;
    background: var(--background-white);
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow-light);
    border: 1px solid rgba(212, 165, 116, 0.15);
    position: relative;
    transition: all 0.3s ease;
}

.credentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.credentials:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--shadow-medium);
}

.credentials h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.credentials h3::before {
    content: '';
    font-size: 1.2rem;
}

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

.credentials li {
    position: relative;
    padding: 12px 0 12px 35px;
    margin-bottom: 8px;
    color: var(--text-medium);
    background: var(--background-light);
    border-radius: 10px;
    padding-left: 40px;
    padding-right: 15px;
    transition: all 0.3s ease;
}

.credentials li:hover {
    background: rgba(212, 165, 116, 0.1);
    transform: translateX(5px);
}

.credentials li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.about-image {
    text-align: center;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0.1;
    z-index: 1;
}

.profile-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 25px;
    box-shadow: 0 20px 50px var(--shadow-medium);
    border: 4px solid var(--background-white);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.profile-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px var(--shadow-medium);
}

.about-stats {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: var(--background-white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-light);
    border: 1px solid rgba(212, 165, 116, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--background-light);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="%23D4A574" opacity="0.08"/></pattern></defs><rect width="60" height="60" fill="url(%23hexPattern)"/></svg>');
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--background-white);
    padding: 35px 25px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 35px;
    height: 35px;
    background: rgba(212, 165, 116, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: rgba(212, 165, 116, 0.3);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0.2;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(212, 165, 116, 0.4);
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
    transition: transform 0.3s ease;
}

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

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 18px;
    position: relative;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-card .content-editable p {
    margin-bottom: 0;
}

/* Booking Section */
.booking {
    padding: 100px 0;
    background: var(--background-white);
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 2rem;
}

.booking-info {
    background: var(--background-light);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow-light);
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.booking-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}



.booking-info ul {
    list-style: none;
    margin-bottom: 1.5rem;
    background: var(--background-white);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.booking-info li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: var(--text-medium);
    line-height: 1.5;
}

.booking-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    top: 2px;
}

.contact-options {
    margin-top: 1.5rem;
    background: var(--background-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.15);
}

.contact-options h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow-light);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.contact-btn.telegram {
    background: linear-gradient(135deg, #E8D5C4, #D4A574);
    color: var(--text-dark);
    border-color: rgba(212, 165, 116, 0.3);
}

.contact-btn.telegram:hover {
    background: linear-gradient(135deg, #D4A574, #B08968);
    color: white;
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #F5F1EB, #E8D5C4);
    color: var(--text-dark);
    border-color: rgba(176, 137, 104, 0.3);
}

.contact-btn.whatsapp:hover {
    background: linear-gradient(135deg, #D4A574, #B08968);
    color: white;
}

.contact-btn.telegram-channel {
    background: linear-gradient(135deg, #E8D5C4, #F5F1EB);
    color: var(--text-dark);
    border-color: rgba(212, 165, 116, 0.3);
}

.contact-btn.telegram-channel:hover {
    background: linear-gradient(135deg, #B08968, #8D6E63);
    color: white;
}

.contact-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: scale(1.05);
}

.calendar-section {
    background: var(--background-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px var(--shadow-light);
}

/* Calendar */
.calendar-container h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.calendar-container {
    margin-bottom: 25px;
}

.calendar-info {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.calendar-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.legend-available,
.legend-selected {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}

.legend-available {
    background: #f5f1eb;
    border: 2px solid #e8d5c4;
}

.legend-selected {
    background: var(--primary-color);
}

.legend-blocked {
    background: #f0ede9;
    border: 2px solid #d9d1cc;
}

.legend-booked {
    background: #ede9e5;
    border: 2px solid #d5ccc5;
}

.selected-info {
    background: var(--background-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.2);
    margin-top: 20px;
}

.selected-info h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.selected-info h5 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
}

.selected-date {
    background: var(--secondary-color);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.available-times {
    margin-bottom: 1.5rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

/* Доступные слоты - теплый золотистый */
.time-slot {
    background: #f5f1eb;
    border: 2px solid #e8d5c4;
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* Выбранный слот */
.time-slot.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(212, 165, 116, 0.4);
}

/* Заблокированные слоты - серо-бежевый */
.time-slot.blocked {
    background: #f0ede9;
    border: 2px solid #d9d1cc;
    color: #a39690;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Забронированные слоты - приглушенный бежевый */
.time-slot.booked {
    background: #ede9e5;
    border: 2px solid #d5ccc5;
    color: #998073;
    cursor: not-allowed;
    opacity: 0.7;
}



.booking-action {
    margin-top: 20px;
    text-align: center;
}

.booking-btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    min-width: 250px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.booking-btn:disabled {
    background: var(--background-light);
    color: var(--text-light);
    border: 2px solid var(--border-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.booking-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

#calendar {
    background: var(--background-white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.calendar-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-header {
    text-align: center;
    padding: 10px 5px;
    font-weight: 600;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.calendar-day {
    text-align: center;
    padding: 12px 5px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.calendar-day:hover {
    background: var(--secondary-color);
}

/* Доступные дни - теплый золотистый */
.calendar-day.available {
    background: #f5f1eb;
    border: 2px solid #e8d5c4;
    color: var(--text-dark);
    font-weight: 500;
}

.calendar-day.available:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Выбранный день - яркий золотистый */
.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.4);
}

/* Заблокированные дни - приглушенный серо-розовый */
.calendar-day.blocked {
    background: #f0ede9;
    border: 2px solid #d9d1cc;
    color: #a39690;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Полностью забронированные дни - приглушенный бежевый */
.calendar-day.fully-booked {
    background: #ede9e5;
    border: 2px solid #d5ccc5;
    color: #998073;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Неактивные дни */
.calendar-day.disabled {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.4;
}

.calendar-day.other-month {
    color: var(--text-light);
    opacity: 0.3;
}

.day-status {
    display: block;
    font-size: 0.7rem;
    margin-top: 2px;
    font-weight: bold;
}



/* Booking Form */
.booking-form h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    background: var(--background-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-light);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactPattern" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,25 m-2,0 a2,2 0 1,0 4,0 a2,2 0 1,0 -4,0" fill="%23D4A574" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23contactPattern)"/></svg>');
    pointer-events: none;
}

.contact-content {
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 35px 30px;
    background: var(--background-white);
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: rgba(212, 165, 116, 0.2);
}

.contact-item .icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 6px 15px rgba(212, 165, 116, 0.3);
}

.contact-item:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(212, 165, 116, 0.4);
}

.contact-item i {
    color: white;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item .contact-text {
    flex: 1;
}

.contact-item p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    transition: color 0.3s ease;
}

.contact-item:hover p {
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #4a342a 100%);
    color: var(--background-light);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="footerPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="%23D4A574" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23footerPattern)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-about {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.9;
    border: 2px solid rgba(212, 165, 116, 0.3);
}

.footer-logo span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.footer-description {
    color: #B5A498;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-contact {
    color: #B5A498;
    font-size: 0.9rem;
}

.footer-contact p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 15px;
}

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

.footer-nav h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.footer-links a {
    color: #B5A498;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-right: 15px;
}

.footer-links a::after {
    content: '←';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 20px;
}

.footer-links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}



.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #998175;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--gradient-primary);
}

/* Content Editable */
.content-editable {
    position: relative;
    transition: all 0.3s ease;
}

.content-editable.editing {
    background: rgba(212, 165, 116, 0.1);
    border: 2px dashed var(--primary-color);
    border-radius: 5px;
    padding: 10px;
}

.content-editable.editing::after {
    content: 'Редактируется...';
    position: absolute;
    top: -25px;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

/* Admin Panel */
.admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: all 0.3s ease;
    z-index: 1000;
}

.admin-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.admin-panel.active {
    display: flex;
}

.admin-content {
    background: var(--background-white);
    width: 95%;
    max-width: 1000px;
    max-height: 90%;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.admin-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: color 0.3s ease;
}

.admin-close:hover {
    color: var(--primary-color);
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    color: var(--text-medium);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.admin-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-tab-content h4 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.calendar-management-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.admin-calendar-section {
    background: var(--background-light);
    padding: 25px;
    border-radius: 15px;
}

.admin-calendar {
    background: var(--background-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.admin-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-calendar-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.admin-calendar-nav:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.admin-calendar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.admin-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.admin-calendar-day-header {
    text-align: center;
    padding: 8px 4px;
    font-weight: 600;
    color: var(--text-medium);
    font-size: 0.85rem;
}

.admin-calendar-day {
    text-align: center;
    padding: 10px 4px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-weight: 500;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-calendar-day:hover {
    background: var(--secondary-color);
}

.admin-calendar-day.available {
    background: #f5f1eb;
    border: 1px solid #e8d5c4;
}

.admin-calendar-day.available:hover {
    background: var(--primary-color);
    color: white;
}

.admin-calendar-day.blocked {
    background: #f0ede9;
    border: 1px solid #d9d1cc;
    color: #a39690;
}

.admin-calendar-day.selected {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.4);
}

.admin-calendar-day.other-month {
    color: var(--text-light);
    opacity: 0.3;
}

.calendar-controls-section {
    background: var(--background-light);
    padding: 25px;
    border-radius: 15px;
    height: fit-content;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.quick-actions .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
    text-align: left;
}

.selected-date-controls {
    background: var(--background-white);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 3px 10px var(--shadow-light);
}

.selected-date-controls h6 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1rem;
}

.date-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.date-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.85rem;
}

.time-management h6 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.admin-time-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: var(--background-light);
    border-radius: 6px;
}

.admin-time-slot {
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.admin-time-slot.available {
    background: #f5f1eb;
    color: var(--text-dark);
}

.admin-time-slot.blocked {
    background: #f0ede9;
    color: #a39690;
}

.admin-time-slot.booked {
    background: #ede9e5;
    color: #998073;
}

.btn-small {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}

.booked-label {
    font-size: 0.75rem;
    color: var(--text-medium);
    font-style: italic;
}

.btn-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.btn-success:hover {
    background: #c3e6cb;
}

.btn-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-danger:hover {
    background: #f5c6cb;
}

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

.calendar-controls {
    display: grid;
    gap: 30px;
}

.time-slots-config,
.blocked-dates {
    background: var(--background-light);
    padding: 20px;
    border-radius: 15px;
}

.time-slots-config h5,
.blocked-dates h5 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* News Section */
.news {
    padding: 80px 0;
    background: var(--background-light);
}

.news-content {
    margin-top: 50px;
}

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

.news-placeholder {
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(139, 90, 60, 0.1);
    border: 2px dashed var(--border-color);
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.news-placeholder p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-placeholder small {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(139, 90, 60, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 90, 60, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item:not(.video-item):not(:has(.news-image)) .news-content-text {
    padding-top: 40px;
}

/* Для браузеров без поддержки :has() */
.news-item.no-image .news-content-text {
    padding-top: 40px;
}

.news-content-text {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-type {
    background: var(--accent-light);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-preview-content {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    margin-bottom: 15px;
    margin-top: 5px;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.news-full-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    margin: 0;
}

.news-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.7) 60%,
        rgba(255, 255, 255, 0.9) 85%,
        rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
    transition: all 0.3s ease;
}

.news-item:hover .news-fade-overlay {
    background: linear-gradient(
        to bottom,
        rgba(248, 249, 250, 0) 0%,
        rgba(248, 249, 250, 0.1) 10%,
        rgba(248, 249, 250, 0.4) 30%,
        rgba(248, 249, 250, 0.7) 60%,
        rgba(248, 249, 250, 0.9) 85%,
        rgba(248, 249, 250, 1) 100%
    );
}

.news-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.news-btn {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.news-btn-primary:hover {
    background: #b8860b;
    transform: translateY(-2px);
}

.news-btn-secondary {
    background: var(--background-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.news-btn-secondary:hover {
    background: var(--border-color);
}

/* Video News Styles */
.video-item {
    position: relative;
}

.video-item .news-image {
    height: 200px;
}

.video-preview {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.video-thumbnail {
    transition: transform 0.3s ease;
}

.video-placeholder {
    height: 200px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-light);
}

.video-placeholder:hover {
    background: var(--accent-light);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-item:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-type {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white !important;
}

.video-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.video-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-method-card {
    background: var(--background-white);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow-light);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-method-card:hover::before {
    transform: scaleX(1);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: rgba(212, 165, 116, 0.2);
}

.method-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    background: var(--accent-light);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.method-icon.telegram {
    background: var(--accent-light);
    color: var(--accent-color);
}

.method-icon.whatsapp {
    background: var(--accent-light);
    color: var(--accent-color);
}

.contact-method-card:hover .method-icon {
    transform: scale(1.1);
}

.method-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-method-card:hover .method-content h4 {
    color: var(--text-dark);
}

.phone-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-method-card:hover .phone-number {
    color: #b8860b;
}

.contact-link {
    margin-bottom: 5px;
}

.contact-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link a:hover {
    color: #b8860b;
    text-decoration: underline;
}

.method-content small {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-method-card:hover .method-content small {
    color: var(--text-medium);
}

/* News Management */
.news-management {
    margin-top: 20px;
}

.news-actions {
    margin-bottom: 30px;
}

.news-management-grid {
    display: grid;
    gap: 20px;
}

.news-management-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(139, 90, 60, 0.1);
    border: 1px solid var(--border-color);
}

.news-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.news-item-header h5 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
    flex: 1;
}

.news-type-badge {
    background: var(--accent-light);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 15px;
}

.news-item-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.news-item-meta {
    margin-bottom: 15px;
}

.news-item-meta small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.news-item-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 12px;
    font-size: 0.85rem;
}

.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #c0392b;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
    box-sizing: border-box;
    background: white;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

/* Booking Modal */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--background-light);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(139, 90, 60, 0.3);
    width: 90%;
    max-width: 500px;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-header .close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
    max-height: calc(80vh - 70px);
    overflow-y: auto;
}

.booking-details {
    background: var(--accent-light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
}

.booking-details p {
    margin: 5px 0;
    font-size: 1rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-secondary {
    background: var(--background-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 96%;
        margin: 6% auto;
        max-height: 92vh;
        display: flex;
        flex-direction: column;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 16px;
        max-height: none;
        overflow: auto;
        flex: 1 1 auto;
    }
    
    .form-actions {
        position: sticky;
        bottom: 0;
        background: var(--background-light);
        padding: 12px 16px;
        margin: 0;
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-placeholder {
        padding: 40px 20px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-method-card {
        padding: 25px 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--background-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px var(--shadow-light);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-about {
        max-width: none;
    }
    
    .footer-nav {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-links a {
        padding-right: 15px;
    }
    
    .footer-links a::after {
        content: '→';
        right: 0;
        transform: translateX(5px);
    }
    
    .footer-links a:hover::after {
        transform: translateX(0);
    }
    
    .footer-nav h4::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-method-card {
        padding: 30px 25px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-buttons {
        align-items: center;
    }
    
    .booking-info {
        padding: 20px;
    }
    
    .booking-info ul {
        padding: 12px;
    }
    
    .contact-options {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .booking-form-container {
        padding: 20px;
    }
    
    .admin-content {
        padding: 20px;
        width: 95%;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Анимации загрузки */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Плавная прокрутка для Safari */
@supports (-webkit-appearance: none) {
    html {
        scroll-behavior: auto;
    }
}

/* Скрыть полосы прокрутки в Webkit */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Красивая сетка для блока "Обо мне" */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Базовые стили для всех карточек */
.about-intro-card,
.about-photo-card,
.about-method-card,
.about-philosophy-card,
.about-results-card,
.about-experience-card,
.about-belief-card,
.about-education-card,
.about-invitation-card {
    background: var(--background-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-intro-card:hover,
.about-photo-card:hover,
.about-method-card:hover,
.about-philosophy-card:hover,
.about-results-card:hover,
.about-experience-card:hover,
.about-belief-card:hover,
.about-education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

/* Главная карточка представления */
.about-intro-card {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--background-white), var(--background-light));
    border-left: 5px solid var(--primary-color);
}

.intro-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px; /* Еще больше уменьшено до 12px */
    border-radius: 10px; /* Немного уменьшен радиус */
    margin-bottom: 10px; /* Еще больше уменьшено до 10px */
    text-align: center;
}

/* Специфичный стиль только для главной intro карточки */
#main-intro-card {
    padding: 15px !important;
}

/* Контейнер для горизонтального расположения вложенных карточек */
#main-intro-card .experience-belief-container {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* Стили для вложенных карточек внутри главной intro карточки */
#main-intro-card .about-experience-card,
#main-intro-card .about-belief-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 0;
}

#main-intro-card .experience-icon,
#main-intro-card .belief-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

#main-intro-card .about-experience-card h4,
#main-intro-card .about-belief-card h4 {
    margin: 10px 0 10px 0;
    font-size: 1.1rem;
}

#main-intro-card .about-experience-card p,
#main-intro-card .about-belief-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Мобильная адаптация для вложенных карточек */
@media (max-width: 768px) {
    #main-intro-card .experience-belief-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Секция образования */
.education-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(255, 255, 255, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.education-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.education-card {
    background: var(--background-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-medium);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--shadow-dark);
}

.education-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.education-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.education-content {
    padding: 30px;
}

.credentials-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credentials-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1.5;
    transition: background-color 0.2s ease;
}

.credentials-list li:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding-left: 10px;
    margin: 0 -10px;
}

.credentials-list li:last-child {
    border-bottom: none;
}

.credential-icon {
    margin-right: 15px;
    font-size: 1.3rem;
    min-width: 30px;
    text-align: center;
}

/* Мобильная адаптация для секции образования */
@media (max-width: 768px) {
    .education-section {
        padding: 40px 0;
    }

    .education-card-wrapper {
        min-height: 250px;
    }

    .education-header {
        padding: 20px 25px;
    }

    .education-header h3 {
        font-size: 1.5rem;
    }

    .education-icon {
        font-size: 2.5rem;
    }

    .education-content {
        padding: 25px 20px;
    }

    .credentials-list li {
        font-size: 0.95rem;
        padding: 10px 0;
    }
}

.intro-highlight h3 {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.intro-highlight p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Карточка с фото */
.about-photo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--background-white), var(--background-light));
    padding: 0;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(139, 90, 60, 0.2);
    transition: all 0.3s ease;
    margin: 0;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(139, 90, 60, 0.3);
}

.about-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Карточки с иконками */
.method-icon,
.philosophy-icon,
.results-icon,
.experience-icon,
.belief-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.about-method-card h4,
.about-philosophy-card h4,
.about-results-card h4,
.about-experience-card h4,
.about-belief-card h4,
.about-education-card h4 {
    color: var(--primary-color);
    margin: 15px 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.about-method-card,
.about-philosophy-card,
.about-results-card,
.about-experience-card,
.about-belief-card {
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

/* Карточка образования */
.about-education-card {
    grid-column: span 2;
    border-top: 4px solid var(--secondary-color);
}

.about-education-card ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-education-card li {
    background: var(--background-light);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.about-education-card li:hover {
    background: var(--background-white);
    transform: translateX(5px);
}

.about-education-card li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* Приглашение к работе - полная ширина */
.about-invitation-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    text-align: center;
    padding: 40px;
    margin-top: 20px;
}

.about-invitation-card h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.invitation-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Адаптивная сетка */
@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .about-intro-card {
        grid-column: span 1;
    }
    
    .about-education-card {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-intro-card,
    .about-education-card,
    .about-invitation-card {
        grid-column: 1;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .about-photo-card {
        min-height: 300px;
    }
    
    .profile-photo {
        width: 100%;
        height: 100%;
        min-height: 300px;
    }
    
    .method-icon,
    .philosophy-icon,
    .results-icon,
    .experience-icon,
    .belief-icon {
        font-size: 2.5rem;
    }
    
    .about-invitation-card {
        padding: 30px 20px;
    }
    
    .about-education-card ul {
        grid-template-columns: 1fr;
    }
}
