/* Чистый CSS (без @apply) поверх Tailwind CDN. */

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

/* ============ Навигация ============ */
.nav-link {
    color: #4a3b36;
    transition: color 0.15s ease;
    position: relative;
    padding: 0.5rem 0;
}
.nav-link:hover { color: #2b1f1c; }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: #e69479;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* ============ Hero gradient ============ */
.hero-gradient {
    background:
        radial-gradient(60% 50% at 80% 20%, rgba(243, 185, 167, 0.35) 0%, transparent 60%),
        radial-gradient(50% 60% at 20% 80%, rgba(205, 186, 227, 0.30) 0%, transparent 60%),
        linear-gradient(180deg, #fdfaf6 0%, #faf3eb 100%);
}

.glass {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ============ Кнопки ============ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2b1f1c;
    color: #fdfaf6;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    box-shadow: 0 8px 32px -8px rgba(159, 116, 92, 0.18);
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background: #4a3b36;
    box-shadow: 0 12px 40px -12px rgba(214, 156, 128, 0.45);
    transform: translateY(-1px);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fdfaf6;
    color: #2b1f1c;
    border: 1px solid #ead7c2;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.btn-secondary:hover { background: #faf3eb; }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a3b36;
    transition: color 0.15s ease;
}
.btn-ghost:hover { color: #2b1f1c; }

/* ============ Секции ============ */
.section {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}
@media (min-width: 1024px) {
    .section { padding-top: 6rem; padding-bottom: 6rem; padding-left: 2rem; padding-right: 2rem; }
}
.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.875rem;
    color: #2b1f1c;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #e69479;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

/* ============ Карточки ============ */
.card {
    background: #fdfaf6;
    border-radius: 1.5rem;
    border: 1px solid #f3e7d8;
    overflow: hidden;
    box-shadow: 0 8px 32px -8px rgba(159, 116, 92, 0.18);
    transition: all 0.25s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px -12px rgba(214, 156, 128, 0.45);
}

/* ============ Формы ============ */
input[type="text"], input[type="tel"], input[type="email"],
input[type="date"], input[type="time"], input[type="password"],
input[type="number"], select, textarea {
    width: 100%;
    background: #fdfaf6;
    border: 1px solid #ead7c2;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    color: #2b1f1c;
    transition: all 0.15s ease;
    font-family: inherit;
}
input[type="text"]::placeholder, textarea::placeholder { color: #a08c83; }
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #f3b9a7;
    box-shadow: 0 0 0 3px rgba(243, 185, 167, 0.4);
}
label { color: #4a3b36; font-size: 0.875rem; margin-bottom: 0.375rem; display: block; }

/* ============ Бейджи ============ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #fadcd3;
    color: #e69479;
    border: 1px solid #f3b9a7;
}
.badge-lavender { background: #e6dcf3; color: #b195d1; border-color: #cdbae3; }
.badge-nude { background: #f3dccf; color: #d8a98c; border-color: #e6c1ad; }

/* ============ Рейтинг ============ */
.rating { display: inline-flex; align-items: center; gap: 0.125rem; }
.rating-star { width: 1rem; height: 1rem; color: #f3b9a7; fill: #f3b9a7; }
.rating-star-off { width: 1rem; height: 1rem; color: #ead7c2; fill: #ead7c2; }

/* ============ Декоративные blob'ы ============ */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* ============ A11y ============ */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}