@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset & base */
*, 
*::before, 
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #E5E5E5;
    background-color: #1A1A1A;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: #F5F5F5;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: #B5B5B5;
    line-height: 1.7;
}

strong {
    color: #F5F5F5;
    font-weight: 600;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #A3E14B 0%, #8BC34A 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #9B9B9B;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, #A3E14B 0%, #8BC34A 100%);
    color: #1A1A1A;
    box-shadow: 0 4px 15px rgba(163, 225, 75, 0.25);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(163, 225, 75, 0.35);
    filter: brightness(1.05);
}

.btn--secondary {
    background: #2B2B2B;
    color: #F5F5F5;
    border: 2px solid #3A3A3A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn--secondary:hover {
    border-color: #A3E14B;
    box-shadow: 0 4px 15px rgba(163, 225, 75, 0.15);
    transform: translateY(-1px);
    background: #333333;
}

.btn__icon {
    flex-shrink: 0;
}

.btn--link {
    background: transparent;
    color: #A3E14B;
    border: 1px solid #A3E14B;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn--link:hover {
    background: #A3E14B;
    color: #1A1A1A;
    transform: translateY(-1px);
}

/* Header & nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(58, 58, 58, 0.5);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo-img {
    height: 40px;
    width: auto;
    filter: brightness(1.2);
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: #E5E5E5;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #A3E14B 0%, #8BC34A 100%);
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #A3E14B;
}

.nav__link:hover::after {
    width: 100%;
}

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

.nav__burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__burger span {
    width: 25px;
    height: 3px;
    background: #E5E5E5;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Burger animation when menu is active */
.nav__burger--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger--active span:nth-child(2) {
    opacity: 0;
}

.nav__burger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Body overlay when mobile menu is open */
.menu-open {
    overflow: hidden;
}

.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Touch-friendly styles */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .project:hover,
    .advantage:hover,
    .gallery__item:hover,
    .video:hover {
        transform: none;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        min-height: 44px;
    }
    
    .nav__link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .faq__question {
        min-height: 48px;
    }
    
    /* Form touch optimizations */
    .form__input,
    .form__textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-tap-highlight-color: transparent;
    }
    
    .form__submit {
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .form__submit:hover {
        transform: none;
        filter: none;
    }
}

/* Hero section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(43, 43, 43, 0.7) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
    z-index: 2;
}

.hero__container {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #F5F5F5;
    max-width: 800px;
    padding: 0 20px;
}

.hero__content {
    animation: fadeInUp 1s ease-out;
}

.hero__title {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__title-accent {
    color: #A3E14B;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero__cta {
    display: inline-flex;
    white-space: nowrap;
    margin: 0 auto;
}

/* Advantages */
.advantages {
    padding: 6rem 0;
    background: #2B2B2B;
}

.advantages__grid {
    display: grid;
    gap: 4rem;
}

.advantage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: #333333;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #3A3A3A;
}

.advantage:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: #A3E14B;
}

.advantage--reverse {
    grid-template-columns: 1fr 1fr;
}

.advantage--reverse .advantage__content {
    order: 2;
}

.advantage__media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.advantage__image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
}

.advantage:hover .advantage__image {
    transform: scale(1.02);
}

.advantage__content {
    padding: 1rem 0;
}

.advantage__number {
    display: inline-block;
    background: linear-gradient(135deg, #A3E14B 0%, #8BC34A 100%);
    color: #1A1A1A;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.advantage__title {
    margin-bottom: 1rem;
    color: #F5F5F5;
}

.advantage__description {
    color: #B5B5B5;
}

.advantage__description p {
    margin-bottom: 1rem;
}

.advantage__description p:last-child {
    margin-bottom: 0;
}

.advantage__btn {
    margin-top: 1.5rem;
}

/* Projects */
.projects {
    padding: 6rem 0;
    background: #1A1A1A;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project {
    background: #2B2B2B;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #3A3A3A;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(163, 225, 75, 0.4);
}

.project__media {
    position: relative;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.project__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project:hover .project__image {
    transform: scale(1.02);
}

.project__price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26, 26, 26, 0.9);
    color: #F5F5F5;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.project__price-monthly {
    font-size: 0.875rem;
    color: #A3E14B;
    font-weight: 600;
}

.project__price-total {
    font-size: 1.125rem;
    font-weight: 700;
    color: #F5F5F5;
    margin-top: 0.25rem;
}

.project__content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.project__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #F5F5F5;
}

.project__area {
    background: #3A3A3A;
    color: #A3E14B;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #B5B5B5;
    font-size: 0.875rem;
}

.project__feature-icon {
    width: 16px;
    height: 16px;
    background: #A3E14B;
    border-radius: 50%;
    flex-shrink: 0;
}

.project__btn {
    margin-top: auto;
    flex-shrink: 0;
}

/* Video blog */
.videoblog {
    padding: 6rem 0;
    background: #2B2B2B;
}

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

.video {
    background: #333333;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #3A3A3A;
}

.video:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(163, 225, 75, 0.3);
}

.video__media {
    position: relative;
    height: 200px;
}

.video__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video__meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    padding: 2rem 1rem 1rem;
    color: #F5F5F5;
}

.video__category {
    display: inline-block;
    background: #A3E14B;
    color: #1A1A1A;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video__content {
    padding: 1.5rem;
}

.video__title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #F5F5F5;
    line-height: 1.4;
}

.video__description {
    color: #B5B5B5;
    font-size: 0.875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Отступ для кнопки в блоке видеоблога */
.videoblog .section-subtitle .btn--link {
    margin-top: 1rem;
}

/* Gallery */
.gallery {
    padding: 6rem 0;
    background: #1A1A1A;
}

.section-title--light {
    color: #F5F5F5;
}

.section-title--light::after {
    background: linear-gradient(90deg, #A3E14B 0%, #8BC34A 100%);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery__item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #3A3A3A;
    height: 300px;
}

.gallery__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(163, 225, 75, 0.4);
}

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery__item:hover .gallery__image {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 60%,
        rgba(26, 26, 26, 0.8) 100%
    );
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__info {
    color: #F5F5F5;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__info {
    transform: translateY(0);
}

.gallery__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #F5F5F5;
}

.gallery__description {
    font-size: 0.875rem;
    color: #A3E14B;
    margin: 0;
}

/* FAQ */
.faq {
    padding: 6rem 0;
    background: #2B2B2B;
}

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

.faq__item {
    background: #333333;
    border: 1px solid #3A3A3A;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq__item:hover {
    border-color: rgba(163, 225, 75, 0.3);
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #F5F5F5;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq__question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #A3E14B;
    transition: transform 0.3s ease;
}

.faq__item[open] .faq__question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
    padding: 0 1.5rem 1.5rem;
    color: #B5B5B5;
    line-height: 1.6;
    border-top: 1px solid #3A3A3A;
    margin-top: -1px;
}

/* Footer */
.footer {
    background: #1A1A1A;
    border-top: 1px solid #3A3A3A;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0 2rem;
    border-bottom: 1px solid #3A3A3A;
}

.footer__logo {
    grid-column: span 1;
}

.footer__info {
    color: #B5B5B5;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer__title {
    color: #F5F5F5;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.footer__contact-title {
    color: #A3E14B;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__phone {
    color: #F5F5F5;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer__phone:hover {
    color: #A3E14B;
}

.footer__email {
    color: #B5B5B5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__email:hover {
    color: #A3E14B;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: #B5B5B5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #A3E14B;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2B2B2B;
    border: 1px solid #3A3A3A;
    border-radius: 8px;
    color: #B5B5B5;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: #A3E14B;
    color: #1A1A1A;
    border-color: #A3E14B;
    transform: translateY(-2px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    color: #B5B5B5;
    font-size: 0.875rem;
}

.footer__copyright {
    color: #9B9B9B;
}

.footer__policy {
    color: #B5B5B5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__policy:hover {
    color: #A3E14B;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
}

.modal__content {
    position: relative;
    background: #2B2B2B;
    border: 1px solid #3A3A3A;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: calc(100% - 2rem);
    min-width: 280px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    margin: 0;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #B5B5B5;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal__close:hover {
    background: #3A3A3A;
    color: #F5F5F5;
}

/* Forms */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form__title {
    color: #F5F5F5;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form__description {
    color: #B5B5B5;
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: center;
}

.form__input,
.form__textarea {
    background: #333333;
    border: 2px solid #3A3A3A;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #F5F5F5;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form__input:focus,
.form__textarea:focus {
    border-color: #A3E14B;
    outline: none;
    background: #3A3A3A;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #888;
    opacity: 1;
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form__submit {
    background: linear-gradient(135deg, #A3E14B 0%, #8BC34A 100%);
    color: #1A1A1A;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form__submit:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */

/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    /* Header */
    .nav__container {
        padding: 0 2rem;
    }
    
    /* Hero */
    .hero__content {
        max-width: 600px;
        padding: 0 2rem;
    }
    
    .hero__title {
        font-size: 2.75rem;
        line-height: 1.2;
    }
    
    .hero__subtitle {
        font-size: 1.125rem;
        margin: 1.5rem 0 2rem 0;
    }
    
    /* Sections */
    .advantages, .projects, .videoblog, .gallery, .faq {
        padding: 4rem 0;
    }
    
    .advantages__grid {
        gap: 3rem;
    }
    
    .advantage {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .advantage__media {
        order: -1;
    }
    
    .advantage--reverse .advantage__media {
        order: -1;
    }
    
    .advantage__btn {
        margin-top: 1.5rem;
    }
    
    .projects__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .videos__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery__item {
        height: 280px;
    }
    
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    /* Modal */
    .modal__content {
        max-width: 500px;
        width: calc(100% - 4rem);
        margin: 0;
        padding: 2rem;
    }
    
    .form {
        gap: 1.25rem;
    }
    
    .form__title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .form__description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .form__input,
    .form__textarea {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .form__textarea {
        min-height: 110px;
    }
    
    .form__submit {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 10px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Header & Navigation */
    .header {
        padding: 0.75rem 0;
    }
    
    .nav__container {
        padding: 0 1rem;
        position: relative;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #1A1A1A;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        border-right: 1px solid #333;
    }
    
    .nav__menu--active {
        left: 0;
    }
    
    .nav__item {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav__link {
        display: block;
        padding: 1rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid #333;
    }
    
    .nav__burger {
        display: flex;
        z-index: 1001;
    }
    
    .nav__actions {
        gap: 1rem;
    }
    
    .nav__callback {
        display: none;
    }
    
    /* Hero */
    .hero__content {
        max-width: 100%;
        padding: 0 1rem;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin: 1rem 0 1.5rem 0;
    }
    
    .hero__cta {
        display: inline-flex;
        white-space: nowrap;
        margin: 0 auto;
        font-size: 0.875rem;
        padding: 1rem 1.5rem;
    }
    
    .hero__cta .btn__icon {
        width: 18px;
        height: 22px;
    }
    
    /* Sections */
    .advantages, .projects, .videoblog, .gallery, .faq {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }
    
    /* Advantages */
    .advantage {
        padding: 1.5rem;
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .advantage--reverse .advantage__content {
        order: 0;
    }
    
    .advantage__number {
        font-size: 3rem;
    }
    
    .advantage__title {
        font-size: 1.375rem;
    }
    
    .advantage__description p {
        font-size: 0.9375rem;
    }
    
    .advantage__btn {
        margin-top: 1.25rem;
    }
    
    /* Projects */
    .projects__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project__media {
        height: 220px;
    }
    
    .project__features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    /* Videos */
    .videos__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Gallery */
    .gallery__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery__item {
        height: 250px;
    }
    
    /* FAQ */
    .faq__question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq__answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Modal */
    .modal__content {
        width: calc(100% - 2rem);
        max-width: none;
        margin: 0;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .form {
        gap: 1.25rem;
    }
    
    .form__title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }
    
    .form__description {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .form__input,
    .form__textarea {
        font-size: 1rem;
        padding: 0.875rem 1rem;
        border-radius: 10px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .form__textarea {
        min-height: 100px;
    }
    
    .form__submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 10px;
        min-height: 52px;
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .btn--link {
        font-size: 0.875rem;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Hero */
    .hero__title {
        font-size: 1.875rem;
        line-height: 1.1;
    }
    
    .hero__subtitle {
        font-size: 0.9375rem;
        margin: 0.75rem 0 1.25rem 0;
    }
    
    .hero__cta {
        display: inline-flex;
        white-space: nowrap;
        margin: 0 auto;
        padding: 0.875rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    /* Navigation */
    .nav__menu {
        width: 100%;
        left: -100%;
    }
    
    .nav__menu--active {
        left: 0;
    }
    
    /* Sections */
    .advantages, .projects, .videoblog, .gallery, .faq {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.625rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    /* Advantages */
    .advantage {
        padding: 1rem;
        gap: 1rem;
    }
    
    .advantage__number {
        font-size: 2.5rem;
    }
    
    .advantage__title {
        font-size: 1.25rem;
    }
    
    .advantage__description p {
        font-size: 0.875rem;
    }
    
    .advantage__btn {
        margin-top: 1rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    /* Projects */
    .project__content {
        padding: 1rem;
    }
    
    .project__title {
        font-size: 1.125rem;
    }
    
    .project__area {
        font-size: 0.875rem;
    }
    
    .project__feature {
        font-size: 0.8125rem;
    }
    
    .project__btn {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
    
    /* Videos */
    .video__title {
        font-size: 1rem;
    }
    
    .video__description {
        font-size: 0.8125rem;
    }
    
    /* Gallery */
    .gallery__item {
        height: 220px;
    }
    
    .gallery__title {
        font-size: 1rem;
    }
    
    .gallery__description {
        font-size: 0.8125rem;
    }
    
    /* FAQ */
    .faq__question {
        font-size: 0.9375rem;
        padding: 0.875rem;
    }
    
    .faq__answer {
        padding: 0 0.875rem 0.875rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    /* Modal */
    .modal__content {
        width: calc(100% - 1.5rem);
        margin: 0;
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .form__title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .form__description {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .form__input,
    .form__textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
    
    .form__textarea {
        min-height: 100px;
    }
    
    .form__submit {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .btn__icon {
        width: 16px;
        height: 20px;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero__title {
        font-size: 1.625rem;
    }
    
    .hero__subtitle {
        font-size: 0.875rem;
    }
    
    .nav__menu {
        width: 100%;
        padding: 5rem 1.5rem 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .advantage {
        padding: 0.75rem;
    }
    
    .project__content {
        padding: 0.75rem;
    }
    
    .modal__content {
        width: calc(100% - 1rem);
        margin: 0;
        padding: 1rem;
        border-radius: 10px;
    }
    
    .form {
        gap: 1rem;
    }
    
    .form__title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .form__description {
        font-size: 0.8125rem;
        margin-bottom: 0.875rem;
        line-height: 1.4;
    }
    
    .form__input,
    .form__textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
        border-radius: 8px;
    }
    
    .form__textarea {
        min-height: 80px;
    }
    
    .form__submit {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
        border-radius: 8px;
        min-height: 48px;
    }
}

/* Mobile keyboard adaptation */
@media screen and (max-height: 600px) {
    .modal__content {
        max-height: 95vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: calc(100% - 1rem);
        margin: 0;
        padding: 1rem;
    }
    
    .form {
        gap: 0.875rem;
    }
    
    .form__textarea {
        min-height: 60px;
    }
}

/* Landscape mode for mobile devices */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        height: 100vh;
    }
    
    .hero__content {
        padding: 2rem 1rem;
    }
    
    .hero__title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero__subtitle {
        font-size: 0.9375rem;
        margin: 0.5rem 0 1rem 0;
    }
    
    .nav__menu {
        padding: 4rem 2rem 2rem 2rem;
    }
    
    .advantages, .projects, .videoblog, .gallery, .faq {
        padding: 2rem 0;
    }
    
    /* Modal adjustments for landscape */
    .modal__content {
        max-height: 90vh;
        overflow-y: auto;
        width: calc(100% - 2rem);
        margin: 0;
        padding: 1.25rem;
    }
    
    .form {
        gap: 1rem;
    }
    
    .form__title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .form__description {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }
    
    .form__input,
    .form__textarea {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }
    
    .form__textarea {
        min-height: 80px;
    }
    
    .form__submit {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        margin-top: 0.25rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2B2B2B;
}

::-webkit-scrollbar-thumb {
    background: #A3E14B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8BC34A;
}
