:root {
    /* Цвета из референса (синие оттенки) */
    --primary-blue: #2A7DE1; /* Яркий синий */
    --dark-blue: #005eb8;    /* Темный синий бренда */
    --light-blue-bg: #F4F9FD; /* Очень светлый фон */
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    
    /* Скругления */
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: --text-dark;
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* --- Header --- */
.header {
    padding: 20px 0;
    background: var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Имитация иконки логотипа треугольником 
.logo::before {
    content: '';
    display: block;
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid var(--primary-blue);
} */

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* --- Hero Section --- */
.hero-section {
    padding: 20px 0;
}

.hero-container {
    background: linear-gradient(135deg, #5CA0F2 0%, #2A7DE1 100%);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    color: var(--white);
    position: relative;
    /*overflow: hidden;
    background-size: cover;
    background-blend-mode: multiply;*/
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600; /* Тонкий шрифт как на фото */
    line-height: 1.2;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: transform 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-primary-small {
    background-color: var(--primary-blue);
    color: var(--white);
    width: 100%;
}

.btn-primary-small-center {
    background-color: var(--primary-blue);
    color: var(--white);
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #5CA0F2 0%, #2A7DE1 100%);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-blue);
    width: 100%;
}

/* --- Categories --- */
.categories-section {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.category-card {
    background-color: var(--light-blue-bg);
    padding: 40px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 150px;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: #E6F0FA;
}

.category-card h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--dark-blue);
}

.arrow {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* --- Portfolio --- */
.portfolio-section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--light-blue-bg);
}

.section-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 40px;
    font-weight: 400;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}

.portfolio-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-blue);
    z-index: 2;
}

/* --- Prices --- */
.prices-section {
    padding: 60px 0;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.price-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.price-card.highlight {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(42, 125, 225, 0.3);
}

.price-card h3 {
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.price-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: inherit;
}

/* --- Contacts --- */
.contacts-section {
    padding: 60px 0;
    background-color: var(--light-blue-bg);
}

.contacts-wrapper {
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-weight: 700;
    margin-right: 20px;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-right a {
    margin-left: 20px;
    font-size: 0.9rem;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-window {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal-form input,
.modal-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .categories-grid, .portfolio-grid, .prices-grid {
        grid-template-columns: 1fr;
    }
    .price-card.highlight {
        transform: scale(1);
    }
    .contact-links {
        flex-direction: column;
        gap: 10px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
