/* Hero секции */
.hero {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 100;
    margin-bottom: 1rem;
}

.hero p {
    /* font-size: 1.1rem;
    color: #475467;
    max-width: 40rem;
    margin-inline: auto; */
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
    margin-inline: auto;
    line-height: 1.7;
}

/* Navigation Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 200;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-dropdown-toggle:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.nav-dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.4em;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 240px;
    animation: dropdownFadeIn 0.2s ease;
}

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

.nav-dropdown-item {
    color: #101828;
    font-size: 0.95rem;
    padding: 12px 24px;
    transition: all 0.15s ease;
    border-radius: 0;
    font-weight: 400;
}

.nav-dropdown-item:hover {
    background: #f6f8fb;
    color: #101828;
}

.nav-dropdown-item:active {
    background: #eaecf0;
}

.nav-dropdown-menu .dropdown-item + .dropdown-item {
    border-top: 1px solid #f2f4f7;
}

/* Mobile responsive */
@media (max-width: 991.98px) {
    .nav-dropdown-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        margin-top: 0;
    }
    
    .nav-dropdown-toggle {
        padding: 0.75rem 1rem;
    }
    
    .nav-dropdown-item {
        padding: 10px 1.5rem;
    }
}

/* Placeholder Page */
.placeholder-card {
    border: none;
    border-radius: 1.5rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: #fff;
    box-shadow: 0 25px 60px rgba(16, 24, 40, 0.08);
}

.placeholder-icon {
    color: var(--brand-accent);
    opacity: 0.8;
}

.placeholder-icon svg {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Карточки */
.service-card,
.master-card,
.dashboard-card,
.pain-card {
    border: none;
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
    background: #fff;
    box-shadow: 0 25px 60px rgba(16, 24, 40, 0.08);
}

.dashboard-card {
    margin-bottom: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card-content {
    flex-grow: 1;
}

.service-card img,
.master-card img {
    border-radius: 1.2rem;
    margin-bottom: 1.25rem;
}

.master-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.master-avatar {
    width: 96px;
    height: 96px;
    border-radius: 1.2rem;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.badge-soft {
    background: rgba(51, 0, 255, 0.12);
    color: #3300ff;
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.service-meta {
    font-size: 0.95rem;
    color: #98a2b3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--brand-muted);
    border-radius: 999px;
    padding: .45rem 1.2rem;
    font-weight: 600;
    color: #475467;
}

/* Кнопки CTA */
.cta-button {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    font-size: 1rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 400;
    color: #101828;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #c9b50b;
    border-color: #c9b50b;
    color: #101828;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 197, 12, 0.4);
}

.cta-button:active {
    background: #b3a00a;
    border-color: #b3a00a;
    transform: translateY(0);
}

/* Темная CTA кнопка для использования на светлых/желтых фонах */
.cta-button-dark {
    background: #101828;
    border-color: #101828;
    font-size: 1rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 400;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.25);
}

.cta-button-dark:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 24, 40, 0.35);
}

.cta-button-dark:active {
    background: #0f1419;
    border-color: #0f1419;
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.25);
}

/* Badges */
.badge-status {
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Изображения */
.service-card img,
.master-avatar {
    border-radius: 1.2rem;
}

/* Таблицы */
.table-responsive {
    border-radius: 1rem;
    overflow: hidden;
}

/* Формы */
.form-control {
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
}

.form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 0.2rem rgba(51, 0, 255, 0.25);
}

/* Модальные окна */
.modal-content {
    border-radius: 2rem; /* 32px согласно STYLE_GUIDE */
}

/* Статистика */
.stat-card {
    background: linear-gradient(135deg, var(--brand-accent) 0%, #6826dc 100%);
    color: #fff;
    border-radius: 1.2rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-card.stat-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-card.stat-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.stat-card.stat-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Booking items */
.booking-item {
    border-left: 4px solid var(--brand-accent);
    padding-left: 1rem;
}

/* Рейтинг и отзывы */
.rating-display {
    display: flex;
    align-items: center;
}

.rating-stars {
    display: inline-flex;
    gap: 0.15rem;
    font-size: 1rem;
    line-height: 1;
}

.rating-stars.rating-large {
    font-size: 1.5rem;
    gap: 0.25rem;
}

.rating-stars .star {
    color: #d1d5db;
}

.rating-stars .star.filled {
    color: #fbbf24;
}

.rating-stars .star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 0.9rem;
    color: #6b7280;
}

.review-card {
    border-left: 4px solid var(--brand-muted);
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.review-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

