/* Cardiology Congress 2024 — главная страница */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-bg: #f8fafc;
    --color-card: #ffffff;
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-light: rgba(37, 99, 235, 0.08);
    --color-text: #1e293b;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --color-success-bg: #ecfdf5;
    --color-success-text: #047857;
    --color-success-border: #6ee7b7;
    --color-error-bg: #fef2f2;
    --color-error-text: #b91c1c;
    --color-error-border: #fca5a5;
    --radius-card: 16px;
    --radius-input: 12px;
    --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
    --shadow-soft: 0 4px 20px rgba(37, 99, 235, 0.08);
    --shadow-input-focus: 0 0 0 3px rgba(37, 99, 235, 0.2);
    --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 72px;
    --container: 1200px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

[id] {
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container--narrow {
    max-width: 720px;
}

/* --- Кнопки --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-input);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.btn--sm {
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(180deg, #3b82f6 0%, var(--color-primary) 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.btn--outline {
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-border);
}

.btn--outline:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.btn--white {
    color: var(--color-primary);
    background: #fff;
    flex-shrink: 0;
}

.btn--white:hover {
    background: #f0f7ff;
}

.btn--outline-white {
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.92);
    flex-shrink: 0;
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* --- Шапка --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.logo__img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo__text strong {
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 1.5rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: auto;
    margin-left: auto;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.lang-switcher {
    position: relative;
}

.lang-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    color: var(--color-text);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s;
}

.lang-switcher__toggle:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.lang-switcher__toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lang-switcher__icon {
    flex-shrink: 0;
    color: var(--color-primary);
}

.lang-switcher__code {
    min-width: 1.5rem;
    text-align: center;
}

.lang-switcher__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 120;
    min-width: 9rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.18);
}

.lang-switcher__menu[hidden] {
    display: none;
}

.lang-switcher__item {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text);
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.lang-switcher__item:hover {
    background: #f1f5f9;
}

.lang-switcher__item--active,
.lang-switcher__item[aria-current="true"] {
    background: #eff6ff;
    color: var(--color-primary);
    font-weight: 600;
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: var(--color-primary);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- Hero --- */
.hero {
    padding: 2rem 0 3rem;
}

.hero__card {
    position: relative;
    overflow: hidden;
    padding: 3rem 2.5rem;
    background: var(--color-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.hero__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(105deg, rgba(255, 255, 255, 0.97) 42%, rgba(255, 255, 255, 0.75) 58%, rgba(240, 247, 255, 0.5) 100%),
        var(
            --hero-bg-image,
            url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1400&q=80&auto=format&fit=crop")
        );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__card > * {
    position: relative;
    z-index: 1;
}

.hero__label {
    margin: 0 0 0.75rem;
    max-width: 42rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    line-height: 1.5;
}

.hero__title {
    margin: 0 0 0.625rem;
    max-width: 36rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    margin: 0 0 1.5rem;
    max-width: 40rem;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-muted);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    box-shadow: var(--shadow-soft);
}

.hero__badge-icon {
    display: flex;
    color: var(--color-primary);
}

.hero__badge strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
}

.hero__badge span {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* --- Секции --- */
.section {
    padding: 3rem 0;
}

.section--program {
    padding-bottom: 4rem;
}

.section--registration {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.04) 100%);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.section-title__icon {
    display: flex;
    color: var(--color-primary);
}

/* --- Карточки преимуществ (интерактивные) --- */
.features__interactive {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.features__triggers,
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.features__panels {
    position: relative;
    width: 100%;
}

.feature-card {
    position: relative;
    height: 100%;
    padding: 1.75rem 1.5rem;
    padding-right: 2.75rem;
    background: var(--color-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.25s ease;
}

.info-card-trigger {
    cursor: pointer;
    user-select: none;
}

.info-card-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.15);
}

.info-card-trigger.is-active {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.2);
}

.info-card-trigger:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.info-card-trigger__arrow {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: transform 0.4s ease, color 0.25s ease;
}

.info-card-trigger.is-active .info-card-trigger__arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.expanded-content-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.expanded-content-panel.is-open {
    max-height: 2000px;
    opacity: 1;
    pointer-events: auto;
}

.expanded-content-panel__inner--card {
    padding: 1.5rem;
    background: var(--color-card);
    border-radius: var(--radius-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-card);
}

.info-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-detail-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.info-detail-card {
    padding: 1.125rem 1.25rem;
    background: #f8fafc;
    border-radius: var(--radius-input);
    border: 1px solid var(--color-border);
}

.info-detail-card__title {
    margin: 0 0 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
}

.info-detail-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: #f8fafc;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    min-width: 0;
}

.speaker-card__photo {
    width: 88px;
    height: 88px;
    margin-bottom: 1rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.speaker-card__avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #e2e8f0;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.speaker-card__avatar-icon {
    color: #94a3b8;
    opacity: 0.85;
}

.speaker-card__initials {
    position: absolute;
    bottom: 4px;
    right: 4px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.speaker-card__name {
    margin: 0 0 0.35rem;
    width: 100%;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
}

.speaker-card__role {
    margin: 0 0 0.25rem;
    width: 100%;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.45;
}

.speaker-card__clinic {
    margin: 0;
    width: 100%;
    font-size: 0.75rem;
    color: var(--color-muted);
    line-height: 1.45;
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.feature-card__icon--blue {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.1);
}

.feature-card__icon--indigo {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
}

.feature-card__icon--violet {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

.feature-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
}

.feature-card__text {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.55;
}

/* --- CTA баннер --- */
.cta-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, var(--color-primary) 55%, #1d4ed8 100%);
    border-radius: var(--radius-card);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.cta-banner__title {
    margin: 0 0 0.35rem;
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
}

.cta-banner__text {
    margin: 0;
    max-width: 36rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.88);
}

.cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.certificate-form__hint {
    margin: -0.25rem 0 1rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-muted);
}

/* --- Таймлайн программы --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background: linear-gradient(180deg, var(--color-primary) 0%, #93c5fd 100%);
    border-radius: 3px;
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: 0 2.5rem 2rem;
}

.timeline__item::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    z-index: 1;
}

.timeline__item--left {
    left: 0;
    padding-right: 2.75rem;
    text-align: right;
}

.timeline__item--left::before {
    right: -7px;
}

.timeline__item--right {
    left: 50%;
    padding-left: 2.75rem;
}

.timeline__item--right::before {
    left: -7px;
}

.timeline__card {
    display: inline-block;
    max-width: 100%;
    padding: 1.125rem 1.25rem;
    text-align: left;
    background: var(--color-card);
    border-radius: var(--radius-input);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.timeline__item--left .timeline__card {
    text-align: right;
}

.timeline__time {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.timeline__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.timeline__speaker {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--color-muted);
    font-style: italic;
}

.timeline__empty {
    margin: 0;
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 1rem;
    color: var(--color-muted);
    background: var(--color-card);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-card);
}

/* --- Регистрация --- */
.registration-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.registration-header__title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.registration-header__subtitle {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-muted);
}

.registration-card {
    padding: 2rem;
    background: var(--color-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.alert-container {
    margin-bottom: 1.25rem;
}

.alert {
    padding: 1rem 1.125rem;
    border-radius: var(--radius-input);
    font-size: 0.9375rem;
    line-height: 1.5;
    border: 1px solid transparent;
    animation: alert-in 0.4s ease;
}

@keyframes alert-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert--success {
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border-color: var(--color-success-border);
    font-weight: 500;
}

.alert--error {
    background: var(--color-error-bg);
    color: var(--color-error-text);
    border-color: var(--color-error-border);
}

.form-wrapper {
    overflow: hidden;
    transition:
        opacity var(--transition),
        max-height var(--transition),
        transform var(--transition);
    max-height: 1200px;
    opacity: 1;
}

.form-wrapper--hidden {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
}

.form__group {
    margin-bottom: 1.125rem;
}

.form__group--report {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition:
        max-height var(--transition),
        opacity var(--transition),
        margin-bottom var(--transition);
}

.form__group--report.form__group--report-visible {
    max-height: 140px;
    opacity: 1;
    margin-bottom: 1.125rem;
}

.form__label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.form__hint {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--color-muted);
    line-height: 1.45;
}

.form__input[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.required {
    color: #dc2626;
}

.form__input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form__input::placeholder {
    color: #94a3b8;
}

.form__input:hover {
    border-color: #94a3b8;
}

.form__input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: var(--shadow-input-focus);
}

.form__select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form__submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3rem;
    margin-top: 0.25rem;
    padding: 0.875rem 1.25rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, #3b82f6 0%, var(--color-primary) 100%);
    border: none;
    border-radius: var(--radius-input);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    transition:
        background 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.form__submit:hover:not(:disabled) {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
}

.form__submit:active:not(:disabled) {
    transform: translateY(1px);
}

.form__submit:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.form__submit-loader {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Подвал --- */
.site-footer {
    padding: 2rem 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-footer__name {
    margin: 0 0 0.35rem;
    max-width: 28rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
}

.site-footer__contact {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
}

.site-footer__contact:hover {
    color: #e2e8f0;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--color-muted);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.site-footer__links a {
    font-size: 0.875rem;
    color: var(--color-muted);
    transition: color 0.2s ease;
}

.site-footer__links a:hover {
    color: var(--color-primary);
}

/* --- Адаптив --- */
@media (max-width: 992px) {
    .features__triggers,
    .features__grid {
        grid-template-columns: 1fr;
    }

    .info-detail-grid {
        grid-template-columns: 1fr;
    }

    .info-detail-grid--2 {
        grid-template-columns: 1fr;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline__item,
    .timeline__item--left,
    .timeline__item--right {
        width: 100%;
        left: 0;
        padding: 0 0 1.5rem 2.5rem;
        text-align: left;
    }

    .timeline__item::before,
    .timeline__item--left::before,
    .timeline__item--right::before {
        left: 5px;
        right: auto;
    }

    .timeline__item--left .timeline__card {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1.25rem 1rem;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-card);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__links {
        flex-direction: column;
        margin: 0;
        gap: 0;
    }

    .nav__link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav__actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--color-border);
    }

    .nav__actions .btn {
        width: 100%;
    }

    .lang-switcher {
        width: 100%;
    }

    .lang-switcher__toggle {
        width: 100%;
        justify-content: center;
    }

    .lang-switcher__menu {
        left: 0;
        right: 0;
    }

    .burger {
        display: flex;
    }

    .hero__card {
        padding: 2rem 1.5rem;
    }

    .hero__subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta-banner {
        padding: 1.5rem;
    }

    .registration-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 560px) {
    .speakers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero__meta {
        flex-direction: column;
    }

    .hero__badge {
        width: 100%;
    }

    .expanded-content-panel__inner--card {
        padding: 1rem;
    }

    .form__input,
    .form__submit {
        font-size: 16px;
    }
}

/* --- Техподдержка (модальное окно) --- */
.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.support-modal[hidden] {
    display: none !important;
}

.support-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.support-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.support-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem 1.75rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.support-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}

.support-modal__close:hover {
    background: #e2e8f0;
}

.support-modal__title {
    margin: 0 0 0.35rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.support-modal__subtitle {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    color: var(--color-muted);
}
