/* 
* Стили для сайта "Инвестиции в ИИ для малого бизнеса"
* 2024
*/

/* === ОСНОВНЫЕ НАСТРОЙКИ === */
:root {
    --primary-color: #2563eb; /* Основной синий */
    --primary-dark: #1d4ed8;
    --primary-light: #93c5fd;
    --secondary-color: #10b981; /* Зеленый для акцентов */
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --gray-light: #e2e8f0;
    --gray-dark: #334155;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === УТИЛИТЫ === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background-color: var(--primary-color);
    border-radius: 2rem;
}

.center {
    text-align: center;
    margin-top: 4rem;
}

/* === ШАПКА === */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.logo h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

nav ul li a i {
    margin-right: 0.8rem;
}

/* === ГЛАВНАЯ СТРАНИЦА === */
/* Герой-секция */
.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 4.2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--gray-color);
}

.hero-image {
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Секция особенностей */
.features {
    padding: 8rem 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    width: 7rem;
    height: 7rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.feature-card .icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* Последние публикации */
.latest-posts {
    padding: 8rem 0;
    background-color: #f8fafc;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
}

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

.post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.post-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Интервью с экспертом */
.interview {
    padding: 8rem 0;
}

.interview-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.interview-content {
    padding: 3rem;
}

.interview-content h3 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.expert-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.interview-qa {
    margin-bottom: 2rem;
}

.question {
    font-weight: 600;
    margin-bottom: 1rem;
}

.answer {
    color: var(--gray-color);
}

/* CTA секция */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.cta h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

/* === БЛОГ === */
.page-header {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.page-header h2 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 2rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.blog-posts {
    padding: 6rem 0;
}

.post-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

.category-filter select {
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    background-color: white;
    min-width: 200px;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-content {
    padding: 3rem;
}

.post-category {
    display: inline-block;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.featured-post-content h3 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.blog-grid {
    margin-top: 5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    gap: 1rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination a.next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 2rem;
}

.pagination a:hover:not(.active) {
    background-color: var(--gray-light);
}

.newsletter {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
}

/* === О НАС === */
.about-us {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 2.5rem;
    color: var(--gray-color);
}

.values-list {
    margin-top: 2rem;
}

.values-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.values-list li i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.values-list li span {
    font-weight: 600;
    margin-right: 0.5rem;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    object-fit: cover;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    margin-top: 5rem;
}

.stat-item {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-text {
    font-size: 1.8rem;
    color: var(--gray-color);
}

.team {
    padding: 6rem 0;
    background-color: #f8fafc;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    font-size: 2.2rem;
    margin: 2rem 0 0.5rem;
}

.team-member p {
    color: var(--gray-color);
    padding: 0 2rem;
    margin-bottom: 1.5rem;
}

.team-member p:nth-of-type(1) {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.8rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #f0f9ff;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.social-links a:hover svg {
    fill: white;
}

.social-links svg {
    width: 2rem;
    height: 2rem;
    fill: var(--primary-color);
    transition: var(--transition);
}

.testimonials {
    padding: 6rem 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 5rem;
    color: var(--primary-light);
    line-height: 0;
    position: absolute;
}

.testimonial-content::before {
    left: -2rem;
    top: 2rem;
}

.testimonial-content::after {
    right: -2rem;
    bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin-right: 2rem;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
}

.testimonial-dots span {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: var(--gray-light);
    cursor: pointer;
}

.testimonial-dots span.active {
    background-color: var(--primary-color);
}

.partners {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.partner-logos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.partner-logo {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
}

/* === КОНТАКТЫ === */
.contact {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1.6rem;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
}

.checkbox-group label {
    margin: 0;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    color: white;
}

.contact-info h3 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
}

.info-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card .icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card .icon i {
    font-size: 2.4rem;
}

.info-text h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.info-text a {
    color: white;
    text-decoration: underline;
}

.info-text a:hover {
    color: var(--primary-light);
}

.social-contact {
    margin-top: 4rem;
}

.social-contact h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: white;
}

.social-icons svg {
    width: 2rem;
    height: 2rem;
    fill: white;
    transition: var(--transition);
}

.social-icons a:hover svg {
    fill: var(--primary-color);
}

.map {
    padding: 4rem 0 6rem;
}

.map h3 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    text-align: center;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 2rem 2rem;
    display: none;
}

.faq-answer p {
    color: var(--gray-color);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Модальное окно благодарности */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    max-width: 500px;
    margin: 15% auto;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.8rem;
    font-weight: 700;
    cursor: pointer;
}

.thanks-content {
    text-align: center;
}

.thanks-icon {
    margin: 0 auto 2rem;
    width: 6rem;
    height: 6rem;
}

.thanks-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.thanks-content p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

/* === ФУТЕР === */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.footer-logo {
    width: 8rem;
    border-radius: 50%;
    margin-bottom: 2rem;
}

.footer-about p {
    margin-bottom: 2rem;
    color: #a1a1aa;
}

.footer-links h3,
.footer-posts h3,
.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h3::after,
.footer-posts h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5rem;
    height: 0.2rem;
    background-color: var(--primary-color);
}

.footer-links ul li,
.footer-posts ul li {
    margin-bottom: 1.2rem;
}

.footer-links ul li a,
.footer-posts ul li a {
    color: #a1a1aa;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-posts ul li a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-contact address {
    font-style: normal;
    color: #a1a1aa;
}

.footer-contact address p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.footer-contact address p i {
    margin-right: 1rem;
}

.footer-contact address a {
    color: #a1a1aa;
    transition: var(--transition);
}

.footer-contact address a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    color: #a1a1aa;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #a1a1aa;
}

.footer-legal a:hover {
    color: white;
}

/* === COOKIE БАННЕР === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 2rem;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-cookie {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.accept:hover {
    background-color: #0d9669;
}

.btn-cookie.customize {
    background-color: white;
    color: var(--dark-color);
    border: 1px solid var(--gray-light);
}

.btn-cookie.customize:hover {
    background-color: var(--gray-light);
}

.btn-cookie.decline {
    background-color: white;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.btn-cookie.decline:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

.cookie-policy-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 1.4rem;
}

/* === ИКОНКИ === */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* === ЭФФЕКТ ПЕЧАТНОЙ МАШИНКИ === */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

#typewriter {
    overflow: hidden;
    border-right: .15em solid var(--primary-color);
    white-space: nowrap;
    letter-spacing: .1em;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

/* === МЕДИА ЗАПРОСЫ === */
@media screen and (max-width: 1024px) {
    html {
        font-size: 55%;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        text-align: center;
        margin-top: 3rem;
    }
    
    .interview-container,
    .about-content,
    .featured-post,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .post-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .subscribe-form,
    .newsletter-form {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-cards,
    .posts-grid,
    .stats,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}
