/*
 * Info Pages Styles
 * Стили для информационных страниц: О нас, Контакты, Отзывы, Политика возврата
 */

/* ============================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ============================================ */

.info-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    background-color: #fbfbfd;
}

.info-page-content {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ============================================
   ЗАГОЛОВОК СТРАНИЦЫ
   ============================================ */

.info-page-header {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-page-title {
    font-size: 48px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    margin: 0;
}

/* ============================================
   ОСНОВНОЙ КОНТЕНТ
   ============================================ */

.info-page-body {
    font-size: 17px;
    line-height: 1.8;
    color: #1d1d1f;
}

.info-page-body h2 {
    font-size: 36px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.5px;
}

.info-page-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 40px 0 20px 0;
}

.info-page-body p {
    padding-top: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: #6e6e73;
}

.info-page-body ul,
.info-page-body ol {
    margin: 20px 0;
    padding-left: 24px;
}

.info-page-body li {
    margin-bottom: 12px;
    color: #6e6e73;
    line-height: 1.6;
}

.info-page-body a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-page-body a:hover {
    color: #ffffff;
}

/* ============================================
   СТАТИСТИКА (О НАС)
   ============================================ */

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 60px 0;
    padding: 48px;
    background-color: #f5f5f7;
    border-radius: 18px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 15px;
    color: #6e6e73;
    font-weight: 500;
}

/* ============================================
   ПОЧЕМУ МЫ (О НАС)
   ============================================ */

.why-us-section {
    margin-top: 60px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.why-us-item {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-us-item h3 {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px 0;
}

.why-us-item p {
    font-size: 16px;
    color: #6e6e73;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   КОНТАКТЫ
   ============================================ */

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 40px 0;
}

.contact-block {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-block h3 {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px 0;
}

.contact-block p {
    font-size: 16px;
    color: #6e6e73;
    margin: 0;
    line-height: 1.6;
}

.contact-block a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.contact-block a:hover {
    color: #0055b3;
}

/* Форма обратной связи */
.contact-form-section {
    margin-top: 60px;
    padding: 48px;
    background-color: #f5f5f7;
    border-radius: 18px;
}

.contact-form-section h2 {
    text-align: center;
    margin-top: 0;
}

/* ============================================
   ОТЗЫВЫ
   ============================================ */
/* ===== Горизонтальный скролл отзывов ===== */

.reviews-scroll-section {
    margin: 60px 0;
}

.reviews-title {
    font-size: 32px;
    margin-bottom: 24px;
}

.reviews-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.reviews-scroll::-webkit-scrollbar {
    height: 6px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 3px;
}

.review-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: #fff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.review-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}
.reviews-text{
    padding-bottom: 1rem;
}

/* ===== Кнопки ===== */
.reviews-scroll-wrap {
    position: relative; /* для абсолютного позиционирования кнопок */
}

.reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 60px;
    height: 100%;
    background: rgba(0,0,0,0.1); /* прозрачная кнопка */
    border: none;
    cursor: pointer;
    font-size: 40px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s ease;
    pointer-events: auto;
}

.reviews-arrow:hover {
    background: rgba(0,0,0,0.15);
}

.reviews-arrow--left {
    left: 0;
    border-radius: 20px 0 0 20px;
}

.reviews-arrow--right {
    right: 0;
    border-radius: 0 20px 20px 0;
}

.reviews-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.reviews-btn {
    text-align: center;
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background .2s ease;
}

.reviews-btn:hover {
    background: #0151a7;
}

/* ===== Адаптив ===== */

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 220px;
    }
}


/* Mobile */
@media (max-width: 768px) {
    .reviews-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .mosaic-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .reviews-title {
        font-size: 32px;
    }
}

.reviews-section {
    margin: 40px 0;
}

.review-item {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-author {
    font-size: 19px;
    font-weight: 600;
    color: #1d1d1f;
}

.review-rating {
    font-size: 16px;
    color: #FFB800;
}

.review-text {
    margin-bottom: 12px;
}

.review-text p {
    font-size: 16px;
    color: #1d1d1f;
    line-height: 1.6;
    margin: 0;
}

.review-date {
    font-size: 14px;
    color: #86868b;
    font-style: italic;
}

/* CTA для отзывов */
.leave-review-cta {
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, #0066cc 0%, #0055b3 100%);
    border-radius: 18px;
    margin-top: 60px;
}

.leave-review-cta h3 {
    font-size: 28px;
    font-weight: 600;
    color: white;
    margin: 0 0 16px 0;
}

.leave-review-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #0066cc !important;
    padding: 16px 48px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ПОЛИТИКА ВОЗВРАТА
   ============================================ */

.policy-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 40px 0;
}

.policy-block {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 32px;
}

.policy-block h3 {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 20px 0;
}

.policy-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-block li {
    font-size: 16px;
    color: #6e6e73;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.policy-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: 600;
    font-size: 18px;
}

/* Процесс возврата */
.return-process {
    margin-top: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.step {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px 0;
}

.step p {
    font-size: 15px;
    color: #6e6e73;
    margin: 0;
    line-height: 1.5;
}

.reviews-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.reviews-gallery {
    display: flex;
    gap: 24px;
    overflow-x: auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .policy-blocks {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews-arrow{
        height: 20%;
        width: 20%;
    }
    .info-page {
        padding: 0 20px;
    }

    .info-page-content {
        padding: 32px 24px;
    }

    .info-page-title {
        font-size: 32px;
    }

    .info-page-body h2 {
        font-size: 28px;
        margin: 0;
    }

    .info-page-body h3 {
        font-size: 21px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 24px;
    }

    .stat-number {
        font-size: 40px;
    }

    .why-us-grid {
        gap: 20px;
    }

    .why-us-item {
        padding: 24px;
    }

    .contacts-grid {
        gap: 20px;
    }

    .contact-block {
        padding: 24px;
    }

    .contact-form-section {
        padding: 32px 24px;
    }

    .review-item {
        padding: 24px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .leave-review-cta {
        padding: 32px 24px;
    }

    .leave-review-cta h3 {
        font-size: 24px;
    }

    .policy-blocks {
        gap: 20px;
    }

    .policy-block {
        padding: 24px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .info-page-content {
        padding: 24px 16px;
    }

    .info-page-title {
        font-size: 28px;
    }

    .info-page-body {
        font-size: 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 15px;
    }
}