/* 
* Video Studio Geo USA - Основные стили
* Современный, профессиональный дизайн для видеостудии
*/

/* Базовые стили и сброс */
:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --accent-color: #457b9d;
    --background-color: #f1faee;
    --text-color: #1d3557;
    --light-text: #f1faee;
    --gray-light: #f8f9fa;
    --gray: #dee2e6;
    --gray-dark: #6c757d;
    --gray-darker: #495057;
    --success-color: #2a9d8f;
    --warning-color: #e9c46a;
    --danger-color: #e76f51;
    
    --border-radius: 6px;
    --border-radius-lg: 10px;
    --border-radius-xl: 16px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s ease;
    
    --container-width: 1200px;
    --header-height: 80px;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

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

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

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

body.font-decreased {
    font-size: 0.9rem;
}

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

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #d32f3b;
    color: var(--light-text);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: #162a45;
    color: var(--light-text);
}

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

.btn-tertiary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Шапка сайта */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

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

.logo {
    height: 50px;
    width: auto;
}

.font-size-btn {
    margin-left: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.font-size-btn:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    font-family: var(--font-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Герой-секция */
.hero {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 8rem 0;
    position: relative;
    background-image: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Секция услуг */
.features {
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    background-color: var(--accent-color);
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* Последние посты */
.latest-posts {
    background-color: var(--gray-light);
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

.read-more {
    font-weight: 500;
    position: relative;
    padding-right: 1.5rem;
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.read-more:hover::after {
    right: -5px;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Отзывы */
.testimonials {
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--gray);
    position: absolute;
    left: -1rem;
    top: -2rem;
    line-height: 1;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--gray-dark);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* CTA секция */
.cta {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.cta .btn-primary:hover {
    background-color: var(--gray-light);
}

/* Футер */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 120px;
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--gray);
}

.footer-contact h3,
.footer-links h3,
.footer-social h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact p svg {
    margin-right: 0.75rem;
    margin-top: 0.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Страница блога */
.page-header {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.blog-content {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.blog-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.blog-post .post-image {
    height: 100%;
}

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

.blog-post .post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.post-date, .post-category, .post-author {
    display: flex;
    align-items: center;
}

.blog-post h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.categories ul {
    list-style: none;
}

.categories ul li {
    margin-bottom: 0.75rem;
}

.categories ul li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.categories ul li a:hover {
    color: var(--primary-color);
}

.popular-posts .popular-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.popular-posts .popular-post:last-child {
    margin-bottom: 0;
}

.popular-posts .popular-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.popular-posts .popular-post h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.popular-posts .popular-post h4 a {
    color: var(--text-color);
}

.popular-posts .popular-post h4 a:hover {
    color: var(--primary-color);
}

.newsletter p {
    margin-bottom: 1.5rem;
}

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

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
}

/* Страница одиночного поста */
.single-post {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.single-post .container {
    max-width: 900px;
}

.post-header {
    margin-bottom: 3rem;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-featured-image {
    margin-top: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.post-content p, .post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 0.5rem;
}

.post-content a {
    color: var(--primary-color);
    font-weight: 500;
}

.post-content a:hover {
    text-decoration: underline;
}

.post-content img {
    display: block;
    max-width: 100%;
    margin: 2rem auto;
    border-radius: var(--border-radius);
}

.post-footer {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.post-tags span {
    font-weight: 500;
    color: var(--gray-darker);
}

.post-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--gray-darker);
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-share span {
    font-weight: 500;
    color: var(--gray-darker);
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-light);
    color: var(--gray-darker);
    transition: var(--transition);
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-navigation-prev, .post-navigation-next {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.post-navigation-next {
    text-align: right;
}

.post-navigation span {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.post-navigation a {
    font-weight: 500;
    color: var(--text-color);
}

.post-navigation a:hover {
    color: var(--primary-color);
}

.related-posts {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.related-posts h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-post {
    display: flex;
    flex-direction: column;
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
}

.related-post h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-post .post-date {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

/* Страница о нас */
.about-intro {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.about-content h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.values {
    background-color: var(--gray-light);
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

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

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.value-icon {
    background-color: var(--primary-color);
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

.team {
    background-color: white;
}

.team h2 {
    text-align: center;
    margin-bottom: 1rem;
}

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

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

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

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

.team-member h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.25rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member p {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    color: var(--accent-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--accent-color);
    color: white;
}

.equipment {
    background-color: var(--gray-light);
}

.equipment h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.equipment-category {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.equipment-category h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.equipment-category ul {
    list-style-type: none;
}

.equipment-category ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.equipment-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.clients {
    background-color: white;
}

.clients h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-logo {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow-lg);
}

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

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

/* Страница контактов */
.contact-content {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

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

.contact-info {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1.5rem;
}

.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

.info-text p a {
    color: var(--gray-dark);
    transition: var(--transition);
}

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

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

.social-contact h3 {
    margin-bottom: 1.5rem;
}

.contact-form-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
    margin-bottom: 1rem;
}

.contact-form-container p {
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

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

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

.form-group.full-width {
    grid-column: span 2;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.form-submit {
    grid-column: span 2;
    margin-top: 1rem;
}

.map-section {
    padding: 5rem 0;
    background-color: white;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.faq-section {
    background-color: var(--gray-light);
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    background: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-modal:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.thank-you-message h3 {
    margin-bottom: 1rem;
}

.thank-you-message p {
    margin-bottom: 2rem;
}

/* Плашка для куки */
.cookie-notice {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-notice.active {
    bottom: 0;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-policy-link {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Адаптивный дизайн */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .blog-content .container {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    header {
        height: auto;
        padding: 1rem 0;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .blog-post .post-image {
        height: 200px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .post-navigation-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: auto;
    }
    
    .form-submit {
        grid-column: auto;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .post-footer {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .team-grid, .values-grid, .features-grid, .clients-grid, .equipment-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Кнопка уменьшения шрифта */
.font-size-btn {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.font-size-btn:hover {
    background-color: var(--accent-color);
    color: white;
}
