/* =========================================
   Бюро переводов Ирины Кузьмичевой
   CSS Styles (Gray & Blue Theme)
   ========================================= */

:root {
    /* Colors - Gray & Blue Theme */
    --color-bg: #1a1d24;
    --color-bg-secondary: #21252f;
    --color-bg-card: #282c38;
    --color-bg-hover: #313645;
    --color-primary: #4f8cff;
    --color-primary-light: #7ab0ff;
    --color-primary-dark: #366fd9;
    --color-text: #f0f4f8;
    --color-text-muted: #a7b2c4;
    --color-border: #3a4052;

    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing & Layout */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --border-radius: 12px;
    --border-radius-sm: 8px;

    /* Effects */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(79, 140, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-lg) 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header__label {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding: 0 10px;
}

.section-header__label::before,
.section-header__label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--color-primary);
}
.section-header__label::before { right: 100%; }
.section-header__label::after { left: 100%; }

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.section-header__description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HEADER & NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 29, 36, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: var(--spacing-xs) 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
}

.logo__image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(90%) sepia(10%) saturate(200%) hue-rotate(180deg);
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.logo__subtitle {
    font-size: 0.7rem;
    color: var(--color-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 5px 0;
}

.nav__link:hover,
.nav__link.active {
    color: #fff;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .burger { display: flex; }
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-bg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: var(--transition);
    }
    .nav.open { transform: translateX(0); }
    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .nav__link { font-size: 1.5rem; }
    .burger.active .burger__line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.active .burger__line:nth-child(2) { opacity: 0; }
    .burger.active .burger__line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.4);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn--outline:hover {
    background: #fff;
    color: var(--color-bg);
}

.btn--full { width: 100%; }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1d24 0%, #1f2430 50%, #1a1d24 100%);
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero__content { flex: 1; max-width: 600px; }

.hero__greeting {
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.hero__accent { color: var(--color-primary); display: block; }

.hero__description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
    width: 100%;
}

.hero__circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.15) 0%, transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: pulse 4s infinite ease-in-out;
    border: 1px solid rgba(79, 140, 255, 0.2);
}

.hero__circle-inner {
    width: 180px;
    height: 180px;
    background: var(--color-bg-card);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(79, 140, 255, 0.15);
    border: 1px solid var(--color-border);
}

.hero__emoji { font-size: 5rem; }

/* ===== МЕСТО ПОД ФОТО В HERO ===== */
.hero__photo-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 330px;
    height: 330px;
    z-index: 10;
}

.hero__photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.2), rgba(79, 140, 255, 0.05));
    border: 3px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 40px rgba(79, 140, 255, 0.3),
                inset 0 0 20px rgba(79, 140, 255, 0.1);
    animation: pulse-photo 3s infinite ease-in-out;
}

.hero__photo-icon {
    font-size: 4rem;
    opacity: 0.6;
}

.hero__photo-text {
    color: var(--color-primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Когда вставите реальное фото */
.hero__photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Скрываем заглушку когда есть фото */
.hero__photo-frame:has(img) .hero__photo-icon,
.hero__photo-frame:has(img) .hero__photo-text {
    display: none;
}

@keyframes pulse-photo {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 40px rgba(79, 140, 255, 0.3),
                    inset 0 0 20px rgba(79, 140, 255, 0.1);
    }
    50% { 
        transform: scale(1.02); 
        box-shadow: 0 0 60px rgba(79, 140, 255, 0.5),
                    inset 0 0 30px rgba(79, 140, 255, 0.2);
    }
}

/* Адаптив для мобильных */
@media (max-width: 900px) {
    .hero__photo-placeholder {
        width: 180px;
        height: 180px;
    }
    
    .hero__photo-icon {
        font-size: 3rem;
    }
    
    .hero__photo-text {
        font-size: 0.8rem;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
}

.hero__wave svg {
    fill: var(--color-bg-secondary);
}

@media (max-width: 900px) {
    .hero__container { flex-direction: column; text-align: center; }
    .hero__content { max-width: 100%; }
    .hero__buttons { justify-content: center; }
    .hero__visual { min-height: 300px; width: 100%; order: -1; margin-bottom: 2rem; }
    .hero__circle { width: 200px; height: 200px; }
    .hero__circle-inner { width: 140px; height: 140px; }
    .hero__emoji { font-size: 3.5rem; }
}

/* ===== LANGUAGES ===== */
.languages { background: var(--color-bg-secondary); }

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.lang-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.lang-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-primary);
    transition: var(--transition);
}

.lang-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.lang-card:hover::before { height: 100%; }

.lang-card--featured {
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.1) 0%, var(--color-bg-card) 100%);
    border-color: rgba(79, 140, 255, 0.3);
}

.lang-card--featured:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(79, 140, 255, 0.2);
}

.lang-card__flag {
    font-size: 2.8rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.lang-card__content { flex: 1; }

.lang-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.lang-card__description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.lang-card__price {
    display: inline-block;
    background: rgba(79, 140, 255, 0.1);
    color: var(--color-primary-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-card__arrow {
    font-size: 1.5rem;
    color: var(--color-primary);
    opacity: 0;
    transition: var(--transition);
    margin-left: 5px;
}

.lang-card:hover .lang-card__arrow { opacity: 1; transform: translateX(5px); }

/* ===== ARTICLES ===== */
.articles { background: var(--color-bg-secondary); }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--color-primary);
}

.article-card__image {
    height: 180px;
    background: linear-gradient(135deg, #2a2e3a, #252835);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.article-card__placeholder { font-size: 4rem; opacity: 0.5; }

.article-card__content { padding: 1.5rem; }

.article-card__date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.article-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card__title a:hover { color: var(--color-primary); }

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-card__link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-card__link:hover { gap: 10px; }

/* ===== ABOUT ===== */
.about { background: var(--color-bg); }

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about__feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.about__feature:hover { border-color: var(--color-primary); transform: translateY(-3px); }

.about__feature-icon { font-size: 2rem; flex-shrink: 0; }
.about__feature-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
.about__feature-text p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.5; }

/* ===== CONTACTS ===== */
.contacts { background: var(--color-bg-secondary); }

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.contact-card:hover { border-color: var(--color-primary); transform: translateY(-5px); }

.contact-card--cta {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.1), var(--color-bg-card));
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .contact-card--cta { grid-column: span 1; }
}

.contact-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
.contact-card__link { color: var(--color-primary-light); font-size: 0.85rem; font-weight: 600; text-decoration: underline; }
.contact-card__text { color: var(--color-text-muted); margin-bottom: 1rem; font-size: 0.95rem; }

/* ===== FOOTER ===== */
.footer {
    background: #15181e;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.footer__description { color: var(--color-text-muted); margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; }

.footer__nav-title { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; font-weight: 600; }
.footer__nav-list li { margin-bottom: 0.75rem; }
.footer__nav-list a { color: var(--color-text-muted); font-size: 0.95rem; }
.footer__nav-list a:hover { color: var(--color-primary); }

.footer__contacts p { margin-bottom: 0.75rem; color: var(--color-text-muted); font-size: 0.95rem; }
.footer__contacts a { color: var(--color-text); }
.footer__contacts a:hover { color: var(--color-primary); }

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer__top { grid-template-columns: 1fr; text-align: center; }
    .footer__brand { margin-bottom: 1rem; }
    .logo { justify-content: center; }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.4);
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-5px); background: var(--color-primary-light); }

/* ===== СТРАНИЦА СТАТЕЙ (articles.html) ===== */
.page-header {
    background: linear-gradient(135deg, #1f2430 0%, #1a1d24 100%);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.page-header__description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.articles-page {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-secondary);
}

/* ===== СТРАНИЦА ДОКУМЕНТОВ (documents.html) ===== */
.documents-page {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-secondary);
}

.documents-intro {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.documents-intro p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.document-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.document-card__image {
    height: 350px;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.document-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.document-card__image img:hover {
    transform: scale(1.05);
}

.document-card__placeholder {
    font-size: 5rem;
    opacity: 0.3;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.document-card__content {
    padding: 1.5rem;
}

.document-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.document-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.documents-note {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--color-border);
}

.documents-note a {
    color: var(--color-primary-light);
    font-weight: 600;
    text-decoration: underline;
}

/* ===== БЛОК С РАСЧЁТОМ СТОИМОСТИ ===== */
.pricing-cta {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.1) 0%, var(--color-bg-card) 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
}

.pricing-cta__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.pricing-cta__text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cta__text br {
    display: block;
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .pricing-cta {
        padding: 2rem 1.5rem;
    }
    
    .pricing-cta__title {
        font-size: 1.4rem;
    }
    
    .pricing-cta__text br {
        display: none;
    }
    
    .document-card__image {
        height: 250px;
    }
}
/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--color-bg-card);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(79, 140, 255, 0.3);
    animation: slideIn 0.3s ease;
    z-index: 2001;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal__close:hover {
    color: var(--color-primary);
    background: rgba(79, 140, 255, 0.1);
}

.modal__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.modal__text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal__email {
    display: block;
    color: var(--color-primary-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-decoration: underline;
}

.modal__email:hover {
    color: var(--color-primary);
}

.modal__hint {
    background: rgba(79, 140, 255, 0.1);
    border-left: 3px solid var(--color-primary);
    padding: 1rem;
    text-align: left;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.modal__hint strong {
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.modal__button {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal__button:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal__content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .modal__title {
        font-size: 1.5rem;
    }
    
    .modal__email {
        font-size: 1rem;
        word-break: break-all;
    }
}
/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
    padding: 100px 0 20px;
    background: var(--color-bg-secondary);
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs__item:not(:last-child)::after {
    content: '›';
    color: var(--color-text-muted);
    font-size: 1.2rem;
    line-height: 1;
}

.breadcrumbs__link {
    color: var(--color-text-muted);
    transition: var(--transition);
}

.breadcrumbs__link:hover {
    color: var(--color-primary);
}

.breadcrumbs__link[aria-current="page"] {
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 90px 0 15px;
    }
    
    .breadcrumbs__list {
        font-size: 0.85rem;
    }
}
/* ===== АВТОР СТАТЬИ ===== */
.article-author {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(79, 140, 255, 0.05);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-author__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.article-author__name {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.article-author__role {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .article-author {
        padding: 1rem;
    }
}
/* ===== МЕСТОПОЛОЖЕНИЕ В HERO ===== */
.hero__location {
    color: var(--color-primary-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .hero__location {
        font-size: 1.1rem;
    }
/* ===== МЕСТОПОЛОЖЕНИЕ В HERO ===== */
.hero__location {
    color: var(--color-primary-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .hero__location {
        font-size: 1.1rem;
    }
}

/* =========================================
   COOKIE CONSENT BANNER
   В стиле сайта (серо-синяя тема)
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-secondary);
    color: var(--color-text);
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    font-family: var(--font-main);
    border-top: 1px solid var(--color-border);
    animation: slideUp 0.4s ease-out;
}

.cookie-banner[hidden] {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    flex: 1;
    min-width: 280px;
}

.cookie-banner__link {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--color-primary);
    transition: var(--transition);
}

.cookie-banner__link:hover {
    color: var(--color-primary-light);
    border-bottom-style: solid;
}

.cookie-banner__buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

/* Кнопка "Согласен" — в стиле primary */
.cookie-btn--primary {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.cookie-btn--primary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 140, 255, 0.4);
}

/* Кнопка "Отклонить" — вторичная */
.cookie-btn--secondary {
    background: transparent;
    color: var(--color-text-muted);
    border: 2px solid var(--color-border);
}

.cookie-btn--secondary:hover {
    border-color: var(--color-text-muted);
    color: var(--color-text);
    background: var(--color-bg-hover);
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner__buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner__text {
        min-width: auto;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-banner__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-banner {
        padding: 12px 16px;
    }
    
    .cookie-banner__text {
        font-size: 0.9rem;
    }

}