/* ============================================
   ПОИСК ЛЕКАРСТВ — Общие стили
   Подключается на всех страницах сайта
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

/* --- Типографика --- */

.tail-container {
    font-family: 'Inter', system-ui, sans-serif;
}

.h1-title {
    font-family: 'Playfair Display', sans-serif;
}

/* --- Hero-фон (цвет задаётся через CSS-переменные на каждой странице) --- */

.hero-bg {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

/* --- Форма --- */

.form-input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
    border-color: var(--accent);
    outline: none;
}

/* --- Заголовок секции с декоративной линией --- */

.section-header {
    position: relative;
}

.section-header:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    border-radius: 3px;
}

/* --- Trust-карточки --- */

.trust-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
}

/* --- SEO-текстовый блок --- */

.seo-text {
    line-height: 1.8;
}

/* --- Хлебные крошки --- */

.breadcrumb a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
}

/* --- nav-ссылки с анимированным подчёркиванием --- */

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* --- Дисклеймер в hero --- */

.disclaimer {
    font-size: 0.85rem;
    line-height: 1.6;
}
