/* ========================================
   VKUSVILL MICRO EXACT COPY
   Точная копия дизайна VkusVill
   ======================================== */

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

:root {
    /* Точные цвета VkusVill */
    --vv-green: #5cb85c;
    --vv-green-hover: #4cae4c;
    --vv-bg: #d4f4dd;
    --vv-light-bg: #f5f5f5;
    --vv-white: #ffffff;
    --vv-text: #333333;
    --vv-text-light: #666666;
    --vv-border: #e0e0e0;
    
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--vv-white);
    color: var(--vv-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 0;
    margin: 0;
}

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

.vv-container-full {
    width: 100%;
    padding: 0 20px;
}

/* ========================================
   TOP BANNER (Frame 3)
   ======================================== */

.vv-top-banner {
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    position: relative;
}

.vv-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Логотип поверх баннера */
.vv-logo-overlay {
    position: absolute;
    top: 25px;
    left: 90px;
    z-index: 100;
    transition: transform 0.3s ease;
}

.vv-logo-overlay:hover {
    transform: scale(1.05);
}

.vv-logo-overlay img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

/* О компании поверх баннера (десктоп) */
.vv-about-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    max-width: 600px;
    z-index: 50;
    color: var(--vv-text);
}

/* О компании под баннером (мобильная версия) */
.vv-about-mobile {
    display: none;
    padding: 40px 0;
    background: white;
}

.vv-about-mobile .vv-about-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--vv-text);
    text-align: left;
}

.vv-about-mobile .vv-about-content p {
    font-size: 14px;
    color: var(--vv-text);
    line-height: 1.7;
    margin-bottom: 14px;
    text-align: left;
}

.vv-about-mobile .vv-about-content p strong {
    color: var(--vv-text);
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.vv-about-overlay .vv-about-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--vv-text);
    text-align: left;
}

.vv-about-overlay .vv-about-content p {
    font-size: 16px;
    color: var(--vv-text);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

.vv-about-overlay .vv-about-content p strong {
    color: var(--vv-text);
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

/* Кнопка раскрытия текста */
.vv-expand-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--vv-green);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    color: var(--vv-green);
}

.vv-expand-btn:hover {
    background: var(--vv-green);
    color: white;
    transform: scale(1.1);
}

.vv-expand-btn.active {
    transform: rotate(180deg);
}

.vv-expand-btn.active:hover {
    transform: rotate(180deg) scale(1.1);
}

/* Скрываемый текст */
.vv-expandable-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, margin-top 0.4s ease-out;
    margin-top: 0;
}

.vv-expandable-text.expanded {
    max-height: 500px;
    margin-top: 16px;
}

/* ========================================
   NAVIGATION - Фиксированная внизу экрана (остров)
   ======================================== */

.vv-nav-fixed-bottom {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/* Остров с навигацией */
.vv-nav-island {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 12px 24px;
    border: none;
    backdrop-filter: blur(20px);
}

.vv-nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.vv-nav-menu a {
    color: var(--vv-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 18px;
    border-radius: 25px;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
}

.vv-nav-menu a.active {
    background: var(--vv-green);
    color: white;
    border-color: var(--vv-green);
}

.vv-nav-menu a:hover {
    color: var(--vv-green);
    background: rgba(92, 184, 92, 0.1);
    border-color: rgba(92, 184, 92, 0.3);
    transform: translateY(-2px);
}

.vv-nav-menu a.active:hover {
    background: var(--vv-green-hover);
    color: white;
    border-color: var(--vv-green-hover);
    transform: translateY(-2px);
}

/* ========================================
   BUTTONS
   ======================================== */

.vv-btn-green {
    background: var(--vv-green);
    color: white;
    border: none;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 184, 92, 0.3);
}

.vv-btn-green:hover {
    background: var(--vv-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 184, 92, 0.4);
}


/* ========================================
   УСТАНОВИТЬ ПРИЛОЖЕНИЕ
   ======================================== */

.vv-app-download {
    padding: 80px 0;
    background: white;
}

.vv-app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vv-app-left {
    max-width: 500px;
}

.vv-app-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--vv-text);
    line-height: 1.2;
}

.vv-app-stores {
    display: flex;
    flex-direction: column;
}

.vv-app-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.vv-store-button {
    background: #000;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.vv-store-button:hover {
    background: #333;
    transform: translateX(5px);
}

.vv-store-text {
    font-size: 16px;
    font-weight: 600;
}

.vv-store-arrow {
    font-size: 20px;
    font-weight: bold;
}

.vv-store-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vv-icon-link {
    display: block;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.vv-icon-link:hover {
    transform: scale(1.1);
}

.vv-icon-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vv-app-phones {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}

.vv-phone-screen {
    width: 280px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vv-phone-screen:hover {
    transform: translateY(-15px) scale(1.15);
}

.vv-phone-screen img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

/* ========================================
   ПОЧЕМУ ВЫБИРАЮТ НАС
   ======================================== */

.vv-why-us {
    padding: 80px 0;
    background: var(--vv-light-bg);
}

.vv-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 48px;
    align-items: stretch;
}

.vv-why-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.vv-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.vv-why-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.vv-why-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vv-why-icon-large {
    width: 96px;
    height: 96px;
}

.vv-icon-extra-large {
    width: 115px !important;
    height: 115px !important;
}

.vv-why-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--vv-text);
}

.vv-why-card p {
    font-size: 16px;
    color: var(--vv-text-light);
    line-height: 1.7;
    flex-grow: 1;
}

/* ========================================
   ЧТО ВНУТРИ - Горизонтальный скролл
   ======================================== */

.vv-products {
    padding: 60px 0;
    background: white;
}

.vv-section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: var(--vv-text);
}

.vv-carousel-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.vv-carousel {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

/* Бесконечная анимация карусели - без остановки */
.vv-carousel-infinite {
    animation: scroll 40s linear infinite;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.vv-product-card {
    min-width: 140px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.vv-product-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: none;
}

.vv-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   ЛОЯЛЬНОСТЬ - 2 большие карточки
   ======================================== */

.vv-loyalty {
    padding: 60px 0;
    background: var(--vv-light-bg);
}

.vv-loyalty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vv-loyalty-big-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.vv-loyalty-big-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(92, 184, 92, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vv-loyalty-big-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.vv-loyalty-big-card:hover::before {
    opacity: 1;
}

.vv-loyalty-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--vv-text);
}

.vv-loyalty-description {
    font-size: 16px;
    color: var(--vv-text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.vv-loyalty-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.vv-heart-icon svg,
.vv-chart-icon svg {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.vv-loyalty-big-card:hover .vv-heart-icon svg,
.vv-loyalty-big-card:hover .vv-chart-icon svg {
    transform: scale(1.1) rotate(5deg);
}

/* ========================================
   ДРУГИЕ АКЦИИ - Маленькие карточки
   ======================================== */

.vv-other-loyalty {
    padding: 0 0 60px 0;
    background: var(--vv-light-bg);
}

.vv-small-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vv-small-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.vv-small-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.vv-small-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.vv-small-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--vv-text);
}

.vv-small-card p {
    font-size: 14px;
    color: var(--vv-text-light);
    line-height: 1.6;
}

/* ========================================
   ПРЕИМУЩЕСТВА
   ======================================== */

.vv-benefits {
    padding: 60px 0;
    background: white;
}

.vv-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.vv-benefit-item {
    background: var(--vv-light-bg);
    padding: 36px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.vv-benefit-item:hover {
    background: var(--vv-bg);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(92, 184, 92, 0.15);
}

.vv-benefit-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
}

.vv-benefit-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--vv-text);
}

.vv-benefit-item p {
    font-size: 15px;
    color: var(--vv-text-light);
    line-height: 1.7;
}

/* ========================================
   ВИДЫ МИКРОМАРКЕТОВ
   ======================================== */

.vv-types {
    padding: 60px 0;
    background: var(--vv-light-bg);
}

.vv-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.vv-type-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.vv-type-card.featured {
    border: 3px solid var(--vv-green);
}

.vv-type-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--vv-green);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.vv-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.vv-type-visual {
    margin-bottom: 30px;
}

.vv-type-fridge {
    width: 120px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(180deg, #e9ecef, #dee2e6);
    border-radius: 12px;
    border: 3px solid #ced4da;
    padding: 10px;
    display: flex;
    gap: 5px;
}

.vv-type-fridge.small {
    width: 80px;
}

.vv-type-fridge.medium {
    width: 140px;
}

.vv-type-fridge.large {
    width: 180px;
}

.vv-fridge-door {
    flex: 1;
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
    border-radius: 6px;
    border: 2px solid #dee2e6;
}

.vv-type-card h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--vv-text);
}

.vv-type-specs {
    list-style: none;
    text-align: left;
    padding: 0;
}

.vv-type-specs li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--vv-text-light);
    border-bottom: 1px solid var(--vv-border);
}

.vv-type-specs li:last-child {
    border-bottom: none;
}

.vv-type-specs strong {
    color: var(--vv-text);
    font-weight: 700;
}

/* ========================================
   КОНТАКТНАЯ ФОРМА
   ======================================== */

.vv-contact {
    padding: 80px 0;
    background: var(--vv-bg);
}

.vv-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vv-contact-info h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--vv-text);
}

.vv-contact-info p {
    font-size: 18px;
    color: var(--vv-text-light);
    line-height: 1.7;
}

.vv-contact-form {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.vv-form input {
    width: 100%;
    padding: 18px;
    margin-bottom: 16px;
    border: 2px solid var(--vv-border);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.vv-form input:focus {
    outline: none;
    border-color: var(--vv-green);
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.1);
}

.vv-form button {
    width: 100%;
    margin-top: 8px;
}

.vv-form-privacy {
    text-align: center;
    font-size: 12px;
    color: var(--vv-text-light);
    margin-top: 16px;
    line-height: 1.5;
}

/* ========================================
   FOOTER
   ======================================== */

/* ========================================
   ХОЧУ МИКРОМАРКЕТ В ОФИСЕ
   ======================================== */

.vv-office-request {
    padding: 80px 0;
    background: var(--vv-light-bg);
}

.vv-request-form-wrapper {
    max-width: 500px;
    margin: 48px auto 0;
}

.vv-request-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.vv-form-group {
    margin-bottom: 24px;
}

.vv-form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.vv-form-group input:focus {
    outline: none;
    border-color: var(--vv-green);
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.1);
}

.vv-form-group input::placeholder {
    color: #999;
}

.vv-btn-submit {
    width: 100%;
    padding: 18px 32px;
    background: var(--vv-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.vv-btn-submit:hover {
    background: #4a9e4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 184, 92, 0.3);
}

.vv-btn-submit:active {
    transform: translateY(0);
}

.vv-form-message {
    text-align: center;
    font-size: 14px;
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}

.vv-form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vv-form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.vv-footer {
    background: #000000;
    color: #ffffff;
    padding: 60px 0 30px;
}

.vv-footer-content {
    display: grid;
    grid-template-columns: 250px 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.vv-footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vv-footer-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.vv-footer-section {
    display: flex;
    flex-direction: column;
}

.vv-footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    position: relative;
    padding-bottom: 12px;
}

.vv-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--vv-green);
    border-radius: 2px;
}

.vv-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vv-footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vv-footer-contact-label {
    font-size: 12px;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.vv-footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.vv-footer-link svg {
    flex-shrink: 0;
    color: var(--vv-green);
    transition: all 0.3s ease;
}

.vv-footer-link:hover {
    color: var(--vv-green);
    transform: translateX(5px);
}

.vv-footer-link:hover svg {
    color: var(--vv-green);
    transform: scale(1.1);
}

.vv-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vv-footer-nav-btn {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.vv-footer-nav-btn:hover {
    background: var(--vv-green);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.3);
    border-color: var(--vv-green);
}

.vv-footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
    font-size: 14px;
}

/* Реквизиты в футере */
.vv-footer-requisites {
    margin-bottom: 20px;
}

.vv-footer-company-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.vv-footer-requisite-item {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 6px;
}

.vv-footer-requisite-item strong {
    color: #ffffff;
    font-weight: 600;
}

.vv-footer-documents {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.vv-footer-doc-link {
    color: var(--vv-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.vv-footer-doc-link:hover {
    color: #ffffff;
    padding-left: 8px;
}

/* ========================================
   RESPONSIVE - Bootstrap-подобная адаптивность
   ======================================== */

/* Большие планшеты и маленькие десктопы (768px - 992px) */
@media (max-width: 992px) {
    .vv-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .vv-app-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .vv-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vv-why-card {
        padding: 32px;
        min-height: 260px;
    }
    
    .vv-why-icon {
        width: 60px;
        height: 60px;
    }
    
    .vv-why-card h3 {
        font-size: 20px;
    }
    
    .vv-why-card p {
        font-size: 15px;
    }
}

/* Планшеты и средние экраны (640px - 968px) */
@media (max-width: 968px) {
    .vv-nav-menu {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .vv-nav-menu a {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .vv-nav-island {
        padding: 10px 16px;
        max-width: 90%;
    }
    
    .vv-nav-fixed-bottom {
        bottom: 15px;
    }
    
    .vv-logo-overlay {
        left: 50px;
        top: 20px;
    }
    
    .vv-logo-overlay img {
        height: 40px;
    }
    
    .vv-about-overlay {
        max-width: 450px;
        left: 3%;
    }
    
    .vv-about-overlay .vv-about-title {
        font-size: 32px;
    }
    
    .vv-about-overlay .vv-about-content p {
        font-size: 14px;
    }
    
    .vv-about-overlay .vv-about-content p strong {
        font-size: 18px;
    }
    
    .vv-expand-btn {
        width: 32px;
        height: 32px;
    }
    
    .vv-app-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vv-app-title {
        font-size: 32px;
    }
    
    .vv-phone-screen {
        width: 200px;
    }
    
    .vv-phone-screen:hover {
        transform: translateY(-12px) scale(1.12);
    }
    
    .vv-request-form {
        padding: 30px;
    }
    
    .vv-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .vv-footer-logo-section {
        grid-column: 1 / -1;
    }
    
    .vv-footer-logo {
        max-height: 150px;
    }
    
    .vv-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .vv-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vv-section-title {
        font-size: 32px;
    }

    .vv-loyalty-grid,
    .vv-benefits-grid,
    .vv-types-grid {
        grid-template-columns: 1fr;
    }

    .vv-small-cards {
        grid-template-columns: 1fr;
    }
    
    .vv-product-card {
        min-width: 110px;
        height: 110px;
    }
    
    /* Отступ снизу для фиксированной навигации */
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 640px) {
    .vv-nav-menu {
        gap: 4px;
    }
    
    .vv-nav-menu a {
        font-size: 10px;
        padding: 6px 10px;
    }
    
    .vv-nav-island {
        padding: 8px 12px;
        border-radius: 40px;
    }
    
    .vv-nav-fixed-bottom {
        bottom: 10px;
        padding: 0 10px;
    }
    
    .vv-logo-overlay {
        left: 20px;
        top: 10px;
    }
    
    .vv-logo-overlay img {
        height: 30px;
    }
    
    /* Скрываем десктопную версию на мобильных */
    .vv-about-desktop {
        display: none !important;
    }
    
    /* Показываем мобильную версию */
    .vv-about-mobile {
        display: block !important;
    }
    
    .vv-about-mobile .vv-about-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .vv-about-mobile .vv-about-content p {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.6;
    }
    
    .vv-about-mobile .vv-about-content p strong {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .vv-expand-btn {
        width: 24px;
        height: 24px;
        margin-top: 8px;
    }
    
    .vv-expand-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .vv-expandable-text.expanded {
        max-height: 600px;
        margin-top: 10px;
    }
    
    .vv-app-title {
        font-size: 26px;
    }
    
    .vv-phone-screen {
        width: 160px;
    }
    
    .vv-phone-screen:hover {
        transform: translateY(-10px) scale(1.1);
    }
    
    .vv-office-request {
        padding: 60px 0;
    }
    
    .vv-request-form {
        padding: 24px 20px;
    }
    
    .vv-request-form-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .vv-footer {
        padding: 50px 0 25px;
    }
    
    .vv-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vv-footer-logo-section {
        order: -1;
        margin-bottom: 20px;
    }
    
    .vv-footer-logo {
        max-height: 120px;
    }
    
    .vv-footer-title {
        font-size: 18px;
    }
    
    .vv-footer-link {
        font-size: 14px;
    }
    
    .vv-footer-nav-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .vv-app-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vv-store-button {
        padding: 14px 28px;
    }
    
    .vv-store-text {
        font-size: 15px;
    }
    
    /* Оптимизация карточек "Почему выбирают нас" для мобильных */
    .vv-why-card {
        padding: 24px 20px;
        min-height: 240px;
    }
    
    .vv-why-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .vv-why-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .vv-why-card p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .vv-section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* Дополнительные настройки для очень маленьких экранов */
@media (max-width: 480px) {
    .vv-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .vv-why-card {
        padding: 20px 16px;
        min-height: 220px;
    }
    
    .vv-why-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .vv-why-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .vv-why-card p {
        font-size: 11px;
        line-height: 1.4;
    }

    .vv-product-card {
        min-width: 90px;
        height: 90px;
    }

    .vv-loyalty-title {
        font-size: 28px;
    }

    .vv-contact-form {
        padding: 32px;
    }
    
    /* Увеличенный отступ для мобильных */
    body {
        padding-bottom: 90px;
    }
    
    .vv-section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
}

/* ========================================
   АНИМАЦИИ
   ======================================== */

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out;
}
