/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Mobile-specific optimizations */
body.is-mobile {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(231, 76, 60, 0.2);
}

body.is-mobile * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body.is-mobile input,
body.is-mobile textarea {
    -webkit-user-select: text;
    user-select: text;
}

/* Typography - Mobile First */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Mobile typography */
h1 {
    font-size: 1.75rem; /* 28px на мобильных */
}

h2 {
    font-size: 1.5rem; /* 24px на мобильных */
}

h3 {
    font-size: 1.25rem; /* 20px на мобильных */
}

/* Desktop typography */
@media (min-width: 768px) {
    h1 {
        font-size: 2.75rem; /* 44px на десктопе */
    }

    h2 {
        font-size: 2.25rem; /* 36px на десктопе */
    }

    h3 {
        font-size: 1.5rem; /* 24px на десктопе */
    }
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Section Styles - Mobile First */
.section__title {
    text-align: center;
    margin-bottom: 2rem; /* Меньший margin на мобильных */
    color: #2c3e50;
    padding: 0 1rem; /* Padding для предотвращения обрезания на мобильных */
}

@media (min-width: 768px) {
    .section__title {
        margin-bottom: 3rem;
        padding: 0;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Фоллбэк для старых браузеров */
    background: rgba(255, 255, 255, 0.98);
    background: rgba(255, 255, 255, 0.95);
    /* Современные браузеры */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo a {
    font-size: 1.25rem; /* Меньше на мобильных */
    font-weight: 700;
    color: #e74c3c;
    text-decoration: none;
}

@media (min-width: 768px) {
    .nav__logo a {
        font-size: 1.5rem;
    }
}

.nav__menu {
    display: none;
    list-style: none;
    gap: 1rem; /* Меньший gap для мобильных */
}

@media (min-width: 768px) {
    .nav__menu {
        gap: 2rem;
    }
}

.nav__menu li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__menu li a:hover {
    color: #e74c3c;
}

.nav__menu li a[target="_blank"] {
    color: #3498db;
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .nav__menu {
        display: flex;
    }
    
    .nav__toggle {
        display: none;
    }
}

/* Hero Section - Mobile First */
.hero {
    padding: 5rem 0 3rem; /* Меньший padding на мобильных */
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 30%, #ff8a65 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* Меньший gap на мобильных */
    align-items: center;
    text-align: center; /* Центрирование на мобильных */
    position: relative;
    z-index: 1;
}

.hero__title {
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.1; /* Более плотный line-height на мобильных */
}

.hero__subtitle {
    font-size: 1rem; /* Меньше на мобильных */
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center; /* Центрирование на мобильных */
    width: 100%;
}

.hero__actions-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero__actions-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: auto;
    }
}

/* Корпоративная страница: короткий информативный hero */
.hero--corporate .hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #c0392b;
    margin: 0 0 0.5rem;
}

.hero--corporate .hero__title {
    margin-bottom: 0.75rem;
    line-height: 1.18;
}

.hero--corporate .hero__lead {
    font-size: 1.0625rem;
    font-weight: 400;
    color: #5a6c7d;
    line-height: 1.5;
    margin: 0 0 0.5rem;
    max-width: 26rem;
}

.hero--corporate .hero__note {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0 0 1.25rem;
    line-height: 1.45;
}

.hero--corporate .hero__actions--corporate {
    margin-top: 0;
    width: 100%;
    max-width: 22rem;
}

@media (min-width: 768px) {
    .hero--corporate .hero__actions--corporate {
        align-items: flex-start;
    }

    .hero--corporate .hero__actions-row {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .hero--corporate .hero__lead {
        max-width: none;
    }
}

/* Desktop Hero */
@media (min-width: 768px) {
    .hero {
        padding: 8rem 0 4rem;
    }

    .hero__content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__actions {
        flex-direction: row;
        align-items: flex-start;
    }
}

.hero__badge {
    background: #e74c3c;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

.hero__image {
    text-align: center;
}

.hero__image picture {
    display: block;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .hero__content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero__actions {
        flex-direction: row;
        align-items: center;
    }
}

/* Buttons - Mobile First */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem; /* Меньший padding на мобильных */
    border: none;
    border-radius: 12px;
    font-size: 0.9rem; /* Меньший шрифт на мобильных */
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px; /* Меньшая минимальная ширина */
    width: 100%; /* Полная ширина на мобильных */
    max-width: 300px;
}

@media (min-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 200px;
        width: auto; /* Авто ширина на десктопе */
    }
}

.btn--primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn--outline {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn--outline:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.btn--full {
    width: 100%;
}

.btn__icon {
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.btn--whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    background: #1fb855;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.contacts__whatsapp {
    margin-bottom: 1.5rem;
}

.contacts__whatsapp .btn--full {
    max-width: none;
}

.contacts__whatsapp-note {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0.5rem 0 0;
    text-align: center;
}

/* Box Scheme Section */
.box-scheme {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 50%, #ce93d8 100%);
    position: relative;
}

.box-scheme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="30" height="20" fill="rgba(156,39,176,0.1)" rx="4"/><rect x="60" y="30" width="25" height="15" fill="rgba(156,39,176,0.1)" rx="3"/><circle cx="20" cy="70" r="8" fill="rgba(156,39,176,0.1)"/></svg>');
    opacity: 0.4;
}

.box-scheme__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.box-scheme__svg {
    display: flex;
    justify-content: center;
}

.box-scheme__svg svg {
    max-width: 100%;
    height: auto;
}

.box-scheme__description {
    text-align: center;
}

.box-scheme__description p {
    font-size: 1.1rem;
    color: #4a148c;
    margin: 0;
}

/* Стили для элементов схемы */
.compartment {
    cursor: pointer;
    transition: all 0.3s ease;
}

.compartment:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.compartment-label {
    font-size: 12px;
    font-weight: bold;
    fill: #333;
}

.compartment-weight {
    font-size: 10px;
    fill: #666;
}

.tooltip {
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .box-scheme__content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .box-scheme__description {
        text-align: left;
    }
}

/* Benefits Section - Mobile First */
.benefits {
    padding: 3rem 0; /* Меньший padding на мобильных */
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 50%, #a5d6a7 100%);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 Q40,10 60,20 T100,20" stroke="rgba(76,175,80,0.1)" stroke-width="2" fill="none"/><path d="M0,60 Q20,50 40,60 T80,60" stroke="rgba(76,175,80,0.1)" stroke-width="2" fill="none"/></svg>');
    opacity: 0.3;
}

.benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Меньший gap на мобильных */
}

.benefit-card {
    text-align: center;
    padding: 1.5rem; /* Меньший padding на мобильных */
    border-radius: 16px; /* Меньший radius на мобильных */
    /* Фоллбэк для старых браузеров */
    background: rgba(255,255,255,0.95);
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.9) 100%);
    /* Современные браузеры */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .benefits {
        padding: 4rem 0;
    }

    .benefits__grid {
        gap: 2rem;
    }

    .benefit-card {
        padding: 2rem;
        border-radius: 20px;
    }
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card__icon img {
    max-width: 100%;
    height: auto;
}

.icon-utensils {
    color: #e74c3c;
}

.benefit-card__title {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.benefit-card__text {
    color: #6c757d;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Box Scheme Section - Mobile First */
.box-scheme {
    padding: 3rem 0; /* Меньший padding на мобильных */
    background: #f8f9fa;
}

.box-scheme__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* Меньший gap на мобильных */
    align-items: center;
}

.box-scheme__svg {
    text-align: center;
    padding: 0 1rem; /* Дополнительный padding для мобильных */
}

.box-svg {
    max-width: 100%;
    height: auto;
    width: 100%; /* Полная ширина на мобильных */
    max-width: 350px; /* Ограничение для мобильных */
}

@media (min-width: 768px) {
    .box-scheme {
        padding: 4rem 0;
    }

    .box-scheme__content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .box-scheme__svg {
        padding: 0;
    }

    .box-svg {
        max-width: 400px;
    }
}

.compartment {
    cursor: pointer;
    transition: all 0.3s ease;
}

.compartment:hover {
    stroke-width: 3;
    filter: brightness(1.1);
}

.compartment:focus {
    outline: none;
}

.compartment:focus-visible {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

.compartment-label {
    font-size: 14px;
    font-weight: 600;
    fill: #2c3e50;
}

.compartment-weight {
    font-size: 12px;
    fill: #6c757d;
}

.tooltip {
    pointer-events: none;
}

.box-scheme__description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.box-scheme__description p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

.box-scheme__touch-hint {
    margin-top: 1rem;
    min-height: 1.5em;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
}

.box-scheme__touch-hint:empty {
    display: none;
}

.box-scheme__legend {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.box-scheme__legend-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.box-scheme__legend-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.55;
}

.box-scheme__legend-list li {
    margin-bottom: 0.5rem;
}

.box-scheme__legend-list li:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .box-scheme__legend {
        display: none;
    }
}

@media (min-width: 768px) {
    .box-scheme__content {
        grid-template-columns: 1fr 1fr;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step__number {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step__title {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.step__text {
    color: #6c757d;
    max-width: 300px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .step::after {
        content: '';
        position: absolute;
        top: 30px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: #e9ecef;
        z-index: -1;
    }
    
    .step:last-child::after {
        display: none;
    }
}

/* Menu Section */
.menu {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 30%, #ffe082 100%);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="5" fill="rgba(255,193,7,0.1)"/><circle cx="90" cy="30" r="3" fill="rgba(255,193,7,0.1)"/><circle cx="30" cy="90" r="4" fill="rgba(255,193,7,0.1)"/><circle cx="70" cy="70" r="2" fill="rgba(255,193,7,0.1)"/></svg>');
    opacity: 0.5;
}

.menu__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.menu-card {
    /* Фоллбэк для старых браузеров */
    background: rgba(255,255,255,0.98);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    /* Современные браузеры */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255,193,7,0.15);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.menu-card--premium {
    border: 2px solid #e74c3c;
}

.menu-card__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.menu-card__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.menu-card__list {
    list-style: none;
    margin-bottom: 2rem;
}

.menu-card__list li {
    padding: 0.5rem 0;
    color: #6c757d;
    border-bottom: 1px solid #f8f9fa;
}

.menu-card__list li:last-child {
    border-bottom: none;
}

.menu-card__price {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .menu__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .menu__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Menu Examples */
.menu-examples {
    margin-top: 4rem;
}

.menu-examples__title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.menu-examples__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.example-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.example-card picture {
    display: block;
}

.example-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.example-card h4 {
    padding: 1rem 1.5rem 0.5rem;
    color: #2c3e50;
}

.example-card p {
    padding: 0 1.5rem 0.5rem;
    color: #6c757d;
    margin-bottom: 0;
}

.example-price {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #e74c3c;
    text-align: center;
}

@media (min-width: 768px) {
    .menu-examples__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .menu-examples__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 30%, #42a5f5 100%);
    position: relative;
}

.reviews__note {
    max-width: 640px;
    margin: -1rem auto 2rem;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #37474f;
    position: relative;
    z-index: 1;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 60,35 85,35 65,55 75,80 50,65 25,80 35,55 15,35 40,35" fill="rgba(33,150,243,0.1)"/></svg>');
    opacity: 0.3;
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.review-card {
    /* Фоллбэк для старых браузеров */
    background: rgba(255,255,255,0.98);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    /* Современные браузеры */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(33,150,243,0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.review-card__avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__avatar-initial {
    width: 100%;
    height: 100%;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
}

.review-card__avatar-initial--blue {
    background: #3498db;
}

.review-card__avatar-initial--red {
    background: #e74c3c;
}

.review-card__avatar-initial--green {
    background: #27ae60;
}

.review-card__content {
    flex: 1;
}

.review-card__text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.review-card__author strong {
    color: #2c3e50;
    display: block;
}

.review-card__author span {
    color: #6c757d;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-item__question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-item__question:hover {
    background: #f8f9fa;
}

.faq-item__icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item--open .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item--open .faq-item__answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 24rem;
}

.faq-item__answer p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Contacts Section - Mobile First */
.contacts {
    padding: 3rem 0; /* Меньший padding на мобильных */
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 30%, #ffb74d 100%);
    position: relative;
}

.contacts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="20" height="20" fill="rgba(255,152,0,0.1)" rx="5"/><rect x="70" y="30" width="15" height="15" fill="rgba(255,152,0,0.1)" rx="3"/><rect x="30" y="70" width="25" height="25" fill="rgba(255,152,0,0.1)" rx="7"/></svg>');
    opacity: 0.4;
}

.contacts__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* Меньший gap на мобильных */
    position: relative;
    z-index: 1;
}

/* Form Styles - Mobile First */
.form {
    position: relative;
    /* Фоллбэк для старых браузеров */
    background: rgba(255,255,255,0.98);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    /* Современные браузеры */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 1.5rem; /* Меньший padding на мобильных */
    border-radius: 16px; /* Меньший radius на мобильных */
    box-shadow: 0 8px 32px rgba(255,152,0,0.15);
}

@media (min-width: 768px) {
    .contacts {
        padding: 4rem 0;
    }

    .contacts__content {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }

    .form {
        padding: 2rem;
        border-radius: 20px;
    }
}

.form__hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__inline-link {
    color: #e74c3c;
    text-decoration: underline;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.875rem; /* Меньший padding на мобильных */
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none; /* Убираем стили Safari на iOS */
    appearance: none;
}

@media (min-width: 768px) {
    .form__input,
    .form__textarea {
        padding: 1rem;
    }
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #e74c3c;
}

.form__checkbox-text {
    color: #2c3e50;
    font-weight: 500;
}

.form__status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
}

.form__status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form__status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info */
.contacts__info {
    padding: 2rem;
}

.contacts__info h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.contact-item svg {
    color: #e74c3c;
    flex-shrink: 0;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .contacts__content {
        grid-template-columns: 2fr 1fr;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
}

.footer__links a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: #5dade2;
}

.footer__copyright {
    color: #bdc3c7;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: 1fr auto 1fr;
        text-align: left;
    }
    
    .footer__copyright {
        text-align: right;
    }
}

/* Mobile Menu */
.nav__menu.mobile-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav__toggle.mobile-open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle.mobile-open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.mobile-open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn--primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn--outline {
        border: 2px solid #000;
        color: #000;
    }
}

/* Extra small screens (до 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    h1 {
        font-size: 1.5rem; /* Еще меньше на очень маленьких экранах */
        line-height: 1.2;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 4rem 0 2rem;
        min-height: auto;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-width: 140px;
    }

    .benefit-card {
        padding: 1.25rem;
    }

    .form {
        padding: 1.25rem;
    }

    .form__input,
    .form__textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Landscape orientation на мобильных */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* Print styles */
@media print {
    .header,
    .nav__toggle,
    .btn,
    .footer {
        display: none;
    }
    
    .hero {
        padding-top: 2rem;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

 
 