﻿:root {
    --blue-900: #072a5f;
    --blue-800: #0b3b82;
    --blue-700: #115ec7;
    --blue-100: #eaf4ff;
    --cyan-100: #edfaff;
    --text: #12213a;
    --muted: #607086;
    --border: #dce8f5;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(7, 42, 95, .12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f3f9ff 0%, #fff 55%);
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.event-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #dff0ff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(241,248,255,.96) 0%, rgba(241,248,255,.88) 43%, rgba(241,248,255,.25) 68%), url("/images/infcon/main-bg.jpg") center/cover no-repeat;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 680px) 1fr;
    align-items: center;
    min-height: 720px;
    padding: 72px 0;
}

.eyebrow, .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(17, 94, 199, .12);
    color: var(--blue-700);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    margin: 22px 0 18px;
    font-size: clamp(34px, 5vw, 66px);
    line-height: 1.06;
    color: var(--blue-900);
    letter-spacing: -.04em;
}

.lead {
    font-size: 20px;
    line-height: 1.55;
    color: #314763;
    max-width: 650px;
}

.hero-facts {
    display: grid;
    gap: 14px;
    margin: 32px 0;
    max-width: 600px;
}

.fact {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(17, 94, 199, .16);
    background: rgba(255,255,255,.74);
    backdrop-filter: blur(10px);
    border-radius: 18px;
}

.icon {
    font-size: 24px;
}

.fact b {
    display: block;
    color: var(--blue-900);
}

.fact small {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

    .btn.primary {
        color: white;
        background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
        box-shadow: 0 14px 30px rgba(17, 94, 199, .28);
    }

    .btn.secondary {
        color: var(--blue-900);
        background: white;
        border: 1px solid var(--border);
    }

    .btn.light {
        background: white;
        color: var(--blue-900);
    }

.quick-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -72px;
    position: relative;
    z-index: 2;
}

.info-card, .speakers-grid article, .quote-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card {
    padding: 26px;
}

    .info-card span {
        display: grid;
        place-items: center;
        width: 52px;
        height: 52px;
        border-radius: 16px;
        background: var(--blue-100);
        font-size: 24px;
    }

    .info-card h3 {
        margin: 18px 0 8px;
        color: var(--blue-900);
    }

    .info-card p, .section p, .speakers-grid p, .slot p, .cta-section p {
        color: var(--muted);
        line-height: 1.65;
    }

.section {
    padding: 86px 0 0;
}

    .section h2 {
        margin: 16px 0 18px;
        font-size: clamp(28px, 3vw, 42px);
        color: var(--blue-900);
        letter-spacing: -.03em;
    }

.about-section {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 36px;
    align-items: center;
}

.quote-card {
    padding: 34px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--blue-800);
    background: linear-gradient(135deg, white, var(--cyan-100));
}

.topics-section {
    padding-bottom: 72px;
    background: linear-gradient(180deg, transparent, #eef7ff);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 28px;
}

    .topics-grid div {
        padding: 18px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: white;
        color: #23415f;
        font-weight: 700;
        min-height: 88px;
    }

.timeline {
    position: relative;
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.slot {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    box-shadow: 0 10px 28px rgba(7,42,95,.06);
}

    .slot time {
        color: var(--blue-700);
        font-weight: 900;
    }

    .slot h3 {
        margin-bottom: 6px;
        color: var(--blue-900);
        font-size: 18px;
    }

    .slot p {
        margin-bottom: 0;
    }

    .slot.break {
        background: linear-gradient(135deg, var(--blue-100), white);
    }

.speakers-section {
    padding-bottom: 82px;
    background: #f6fbff;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

    .speakers-grid article {
        padding: 24px;
        box-shadow: 0 10px 28px rgba(7,42,95,.08);
    }

    .speakers-grid h3 {
        color: var(--blue-900);
        margin-bottom: 8px;
    }

.cta-section {
    margin-bottom: 72px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 28px;
    color: white;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    box-shadow: var(--shadow);
}

    .cta-section h2 {
        margin-bottom: 8px;
        color: white;
    }

    .cta-section p {
        color: rgba(255,255,255,.82);
        margin-bottom: 0;
        max-width: 720px;
    }

@media (max-width: 900px) {
    .event-hero, .hero-grid {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 56px 0 110px;
    }

    .quick-cards, .topics-grid, .speakers-grid, .about-section {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        gap: 10px;
    }

    .slot {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cta-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    h1 {
        font-size: 34px;
    }

    .lead {
        font-size: 17px;
    }

    .quick-cards {
        margin-top: -54px;
    }

    .section {
        padding-top: 64px;
    }

    .info-card, .slot, .speakers-grid article, .cta-section {
        border-radius: 18px;
    }
}

.df-speaker-card {
    height: 100%;
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

    .df-speaker-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 70px rgba(15, 23, 42, 0.10);
    }

.df-speaker-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 22px;
    border-radius: 24px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

    .df-speaker-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ФИО */
.df-speaker-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 14px;
    color: #0f172a;
}

/* Должность */
.df-speaker-card > p,
.df-speaker-card > div,
.df-speaker-card > strong {
    color: #475569;
    font-size: .95rem;
    line-height: 1.55;
    text-align: center;
}

/* Тема выступления */
.df-speaker-card span {
    display: block;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    color: #0f766e;
    font-size: .95rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

/* если title содержит ul/li */
.df-speaker-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.df-speaker-card li {
    margin-bottom: 6px;
}

/* мобильная версия */
@media (max-width: 768px) {
    .df-speaker-card {
        padding: 24px;
    }

    .df-speaker-photo {
        width: 96px;
        height: 96px;
        border-radius: 20px;
    }

    .df-speaker-card h3 {
        font-size: 1.08rem;
    }
}

.df-speaker-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #0f766e;
    background: #ecfdf5;
}