/* Premium minimalist design for Lanors landing */

:root {
    /* Color palette */
    --color-primary-dark: #1d3158;   /* темно‑синий */
    --color-wine: #7f1d35;          /* винный */
    --color-terracotta: #c75b3d;    /* терракотовый */
    --color-gold: #d6b56b;         /* золотистый */
    --color-bg-light: #f7f6f3;      /* светлый фон */
    --color-graphite: #222222;     /* графит */
    --color-white: #ffffff;
    --color-black: #000000;

    /* Typography */
    --font-family-sans: 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 1rem;
    --font-size-large: 2.2rem;
    --font-size-xlarge: 3rem;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

/* Global reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-graphite);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility classes */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: background 0.35s;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    height: 48px;
    width: auto;
    transition: transform 0.35s;
}

.logo:hover {
    transform: scale(1.05);
}

.register-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-wine));
    color: var(--color-white);
    border-radius: 9999px;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: transform 0.35s, box-shadow 0.35s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 560px;
}

.hero h1 {
    font-size: var(--font-size-xlarge);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-medium);
    color: var(--color-wine);
    margin-bottom: 1rem;
}

.event-info {
    font-size: 1.2rem;
    color: var(--color-graphite);
    margin-bottom: 1.5rem;
}

.hero-image {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    transition: transform 0.35s;
}

.hero-image:hover {
    transform: scale(1.02);

}

/* Buttons (general) */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    transition: background 0.35s, transform 0.35s, box-shadow 0.35s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-wine));
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 35px;
    
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    margin-top: 40px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* Lecture info */
.lecture-info {
    padding: 4rem 0;
    background: var(--color-white);
    text-align: center;
}

.lecture-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-graphite);
}

.lecture-info p {
    max-width: 720px;
    margin: 0 auto 1rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-graphite);
}

/* What will we cover cards */
.what-cover .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.what-cover .card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    text-align: center;
    font-weight: var(--font-weight-medium);
    font-size: 1.1rem;
    transition: transform 0.35s, box-shadow 0.35s;
}

.what-cover .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Speaker bio */
.speaker-bio {
    padding: 4rem 0;
    background: var(--color-bg-light);
    text-align: center;
}

.speaker-bio .bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.speaker-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: transform 0.35s;
}

.speaker-photo:hover {
    transform: scale(1.05);
}

.speaker-bio h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-graphite);
}

.speaker-bio p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-graphite);
}

/* Palettes */
.palettes {
    padding: 4rem 0;
    background: var(--color-white);
    text-align: center;
}

.palettes h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-graphite);
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.palette-grid img {
    width: 100%;
    max-width: 260px;
    border-radius: 8px;
    transition: transform 0.35s;
}

.palette-grid img:hover {
    transform: scale(1.08);
}

/* Venue gallery */
.venue {
    padding: 4rem 0;
    background: var(--color-bg-light);
    text-align: center;
}

.venue h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-graphite);
}

.venue-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.venue-gallery img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.35s;
}

.venue-gallery img:hover {
    transform: scale(1.04);
}

/* CTA */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-terracotta));
    color: var(--color-white);
    text-align: center;
}

.cta h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
    background: var(--color-graphite);
    color: var(--color-white);
    text-align: center;
    font-size: 0.9rem;
}

/* Appear animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive breakpoints */
@media (max-width: 1920px) {
    .hero { padding: 5rem 0; }
}

@media (max-width: 1440px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-image { margin-top: 2rem; }
}

@media (max-width: 1024px) {
    .hero { padding: 4rem 0; }
    .hero h1 { font-size: 2.6rem; }
    .hero h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.5rem; }
    .register-btn { padding: 0.6rem 1.2rem; }
    .what-cover .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero h2 { font-size: 1.3rem; }
    .what-cover .cards { grid-template-columns: 1fr; }
    .venue-gallery { grid-template-columns: 1fr; }
    .palette-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .hero { padding: 2rem 0; }
    .register-btn { font-size: 0.9rem; }
}
/* Галерея "Место проведения" */
.venue-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}

.venue-gallery img {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    display: block;
    object-fit: cover !important;
    object-position: center;
    border-radius: 12px;
    margin: 0 !important;
}


/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');
.footer-content {
    text-align: center;
}

.footer-logo {
    max-width: 190px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}


.site-footer h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}


.site-footer p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 14px auto;
    max-width: 600px;
}

.footer-phone a {
    color: #d46b8c;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
}
.footer-phone a:hover {
    color: white;
    transition: 0.3s;
}
.footer-phone a {
    color: #d46b8c;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.35rem;
    cursor: pointer;
}

.footer-phone a:hover {
    color: white;
    transition: 0.3s;
}
.copyright {
    margin-top: 35px;
    opacity: 0.75;
    font-size: 0.95rem;
}
/* ===== Final premium touches ===== */

/* 1. Немного увеличить фото Сергея */
.hero-image {
    max-width: 505px;
}

/* 2. Современная шапка */
.site-header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.88);
}

/* 3. Плавное появление первого экрана */
.hero-content {
    animation: heroFadeIn 0.9s ease-out both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Более живая кнопка */
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(128, 31, 68, 0.28);
}

/* 5. Кнопка Наверх */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-wine));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.4rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 999;
    transition: 0.3s;
    opacity: 0;
pointer-events: none;
}
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    transform: translateY(-4px);
}
.speaker-label{
    color:#555;
    font-size:30px;
    font-weight:500;
    line-height:1.35;
    margin:0 0 8px;
}

.speaker-name{
    color:#8b2340;
    font-size:54px;
    font-weight:700;
    line-height:1.1;
    margin:0 0 22px;
}
/* Исправление первого экрана */
.hero{
    padding:40px 0 50px;
}

.site-header{
    padding: 18px 0;
}

.speaker-label{
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #444;
    line-height: 1.4;
    margin-bottom: 12px;
}

.speaker-name{
    font-size: 38px;
    margin-bottom: 18px;
}

.hero h1{
    font-size: 56px;
    margin-bottom: 22px;
}

.hero h2{
    font-size: 34px;
    margin-bottom: 24px;
}

.event-info{
    margin-bottom: 20px;
}

.btn{
    margin-top: 10px;
}
.speaker-label{
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #444 !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
}
/* ФИНАЛЬНОЕ ВЫРАВНИВАНИЕ ГАЛЕРЕИ */
.venue-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
}

.venue-gallery > img {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    align-self: start !important;
}
/* Точная коррекция фото 3 */
.venue-gallery > img:nth-child(3) {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    display: block !important;
}
/* ФИНАЛЬНОЕ ВЫРАВНИВАНИЕ 4 ФОТО */
.venue-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    align-items: stretch !important;
}

.venue-gallery > img {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ФИНАЛЬНОЕ ВЫРАВНИВАНИЕ 4 ФОТО */
.venue-gallery > img:nth-child(4) {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
/* ОКОНЧАТЕЛЬНО: ВСЕ 4 ФОТО ОДИНАКОВОЙ ВЫСОТЫ */
.venue-gallery > img,
.venue-gallery > img:nth-child(1),
.venue-gallery > img:nth-child(2),
.venue-gallery > img:nth-child(3),
.venue-gallery > img:nth-child(4) {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: stretch !important;
}
/* ЕДИНЫЙ РАЗМЕР ВСЕХ ФОТО В БЛОКЕ "МЕСТО ПРОВЕДЕНИЯ" */
.venue-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

.venue-gallery img {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}