:root {
    --bg: #f5f0e9;
    --surface: #ffffff;
    --surface-soft: #fff1f2;

    --primary: #f63e3d;
    --primary-hover: #df3130;
    --primary-soft: #ffd7d8;
    --primary-soft-2: #ffe7e8;
    --primary-soft-3: #fff3f3;

    --text-main: #332d29;
    --text-secondary: #726861;
    --border: #efdcdd;

    --shadow: 0 10px 30px rgba(116, 76, 80, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, #fff4f4 0%, transparent 28%),
        radial-gradient(circle at top right, #ffeaea 0%, transparent 30%),
        var(--bg);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .logo, .nav a, .btn, .eyebrow {
    font-family: "Advent Pro", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

.container {
    width: min(var(--container), 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(255, 240, 241, 0.9);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.logo {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #d93b52;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav a {
    font-size: 22px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.2s ease;
    color: #c94f64;
}

.nav a:hover {
    background: #ffd7d8;
    color: #f63e3d;
}

.site-main {
    padding-bottom: 64px;
}

.hero-section {
    padding: 48px 0 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr;
    gap: 32px;
    align-items: stretch;
}

.hero-content {
    background: linear-gradient(135deg, #ffffff 0%, #fff0f1 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 42px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 22px;
    font-weight: 700;
}

.hero-content h1 {
    font-size: clamp(50px, 7vw, 92px);
    margin: 0 0 16px;
    line-height: 0.95;
}

.hero-text {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    background: var(--primary);
    color: white;
    font-size: 22px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-soft {
    background: var(--primary-soft);
    color: var(--primary-hover);
    box-shadow: 0 8px 20px rgba(255, 215, 216, 0.85);
}

.btn-soft:hover {
    background: #ffc9cb;
}

.slider {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.slider-track {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    background: linear-gradient(to top, rgba(24, 15, 14, 0.7), rgba(24, 15, 14, 0.1));
    color: white;
}

.slide-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    background: rgba(255, 215, 216, 0.9);
    color: #7a1e1e;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.slide-overlay h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-size: 28px;
    cursor: pointer;
    z-index: 3;
}

.slider-btn-prev {
    left: 14px;
}

.slider-btn-next {
    right: 14px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.slider-dot.active {
    background: white;
}

.news-section {
    padding: 36px 0;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
}

.news-layout {
    display: grid;
    gap: 24px;
}

.news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.news-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(89, 63, 49, 0.11);
}

.news-card-image {
    display: block;
    overflow: hidden;
}

.news-card-image img {
    height: 280px;
    object-fit: cover;
}

.small-image img {
    height: 180px;
}

.news-card-body {
    padding: 20px;
}

.news-meta {
    margin: 0 0 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.news-card h3 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1;
}

.news-card-small h3 {
    font-size: 26px;
}

.news-card h3 a:hover {
    color: var(--primary);
}

.news-card p:last-child {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.about-section {
    padding: 36px 0 0;
}

.about-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 38px;
    box-shadow: var(--shadow);
}

.about-box h2 {
    margin-top: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
}

.about-box > p {
    max-width: 820px;
    font-size: 18px;
    color: var(--text-secondary);
}

.about-highlight {
    margin-top: 24px;
    background: var(--surface-soft);
    border: 1px solid #f3c8ca;
    border-radius: var(--radius-lg);
    padding: 22px;
}

.about-highlight h3 {
    margin-top: 0;
    font-size: 30px;
}

.contacts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    background: #fff1f2;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-main);
    transition: 0.2s ease;
}

.contact-link:hover {
    background: var(--primary-soft);
    color: var(--primary-hover);
}

.contact-link-real {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.contact-link-real:hover {
    background: var(--primary-hover);
    color: white;
}

.article-page {
    padding: 42px 0;
}

.article-container {
    max-width: 920px;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary-hover);
    font-weight: 600;
}

.article-box {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow);
}

.article-box h1 {
    margin-top: 0;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1;
}

.article-image {
    margin: 24px 0;
    overflow: hidden;
    border-radius: 18px;
}

.article-image img {
    max-height: 520px;
    object-fit: cover;
}

.article-content {
    font-size: 18px;
    color: var(--text-main);
}

.error-section {
    padding: 70px 0;
}

.error-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.error-box h1 {
    margin: 0;
    font-size: 96px;
    color: var(--primary);
}

.error-box h2 {
    margin: 12px 0;
    font-size: 38px;
}

.site-footer {
    margin-top: 60px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, #fbeeee 0%, #f7e3e4 100%);
}

.site-footer .container {
    padding: 22px 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .slider {
        min-height: 420px;
    }

    .news-featured,
    .news-secondary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content,
    .about-box,
    .article-box {
        padding: 26px;
    }

    .slide-overlay h2 {
        font-size: 26px;
    }

    .news-card h3 {
        font-size: 28px;
    }

    .article-box h1 {
        font-size: 42px;
    }
}

.city-feed {
    padding: 60px 0;
}

.section-heading h2 {
    font-size: 54px;
    margin-bottom: 30px;
}

/* обычные карточки */

.city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* карточка */

.card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-large img {
    height: 300px;
}

.card-body {
    padding: 18px;
}

.card-category {
    font-size: 13px;
    color: #f63e3d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card h3 {
    margin: 8px 0;
    font-size: 24px;
}

.card-small h3 {
    font-size: 18px;
}

.city-pinned {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.city-wide-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.city-middle-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.card-wide .card-image img {
    height: 240px;
    object-fit: cover;
}

.card-medium .card-image img {
    height: 190px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .city-pinned,
    .city-wide-row,
    .city-middle-row {
        grid-template-columns: 1fr;
    }
}