:root {
    --blue: #4facfe;
    --blue-dark: #1a7ed4;
    --yellow: #fbc531;
    --yellow-dark: #e0a800;
    --dark: #0d2137;
    --text: #1a2b3c;
    --text-light: #5a7a96;
    --bg-light: #f4f9ff;
    --radius: 18px;
    --shadow: 0 10px 40px rgba(13, 33, 55, 0.10);
    --shadow-hover: 0 20px 50px rgba(13, 33, 55, 0.18);
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===========================
   ОБЩИЕ НАСТРОЙКИ
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--text);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', Arial, sans-serif;
}

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

/* ===========================
   ОБЛАКА
   =========================== */
.clouds-row {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 150px;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    gap: 10px;
    animation: moveClouds 150s linear infinite;
}

.clouds-row .cloud {
    width: 130px;
    height: auto;
    opacity: 0.20;
    filter: blur(1.5px);
    flex-shrink: 0;
    object-fit: contain;
}

@keyframes moveClouds {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===========================
   HEADER
   =========================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
    background: linear-gradient(90deg, rgba(79, 172, 254, 0.95), rgba(251, 197, 49, 0.95));
    backdrop-filter: blur(0px);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(13, 33, 55, 0.12);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-box img {
    height: 42px;
    transition: transform var(--transition);
}

.logo-box:hover img {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    transition: color var(--transition);
}

.header.scrolled .logo-text {
    color: var(--dark);
}

/* Навигация */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 15px;
    padding: 7px 14px;
    border-radius: 20px;
    transition: background var(--transition), color var(--transition);
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.header.scrolled .nav a {
    color: var(--text);
}

.header.scrolled .nav a:hover {
    background: rgba(79, 172, 254, 0.12);
    color: var(--blue-dark);
}

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background var(--transition);
}

.burger:hover {
    background: rgba(255, 255, 255, 0.2);
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.header.scrolled .burger span {
    background: var(--dark);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(10, 30, 70, 0.55), rgba(10, 30, 70, 0.65)),
                url('images/hero-ball.jpg') center / cover no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    margin-bottom: 18px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

.hero-accent {
    color: var(--yellow);
}

.hero-sub {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 1px;
    animation: fadeIn 1.2s 1.2s both;
}

.scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(5px); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===========================
   КНОПКИ
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: var(--blue);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(79, 172, 254, 0.55);
    background: var(--blue-dark);
}

.btn-hero {
    font-size: 18px;
    padding: 17px 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.card-btn {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
    font-size: 16px;
    padding: 13px 28px;
}

.card-btn--yellow {
    background: var(--yellow);
    color: var(--dark);
    box-shadow: 0 6px 20px rgba(251, 197, 49, 0.4);
}

.card-btn--yellow:hover {
    background: var(--yellow-dark);
    box-shadow: 0 12px 30px rgba(251, 197, 49, 0.5);
}

/* ===========================
   SECTION BADGE
   =========================== */
.section-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(79, 172, 254, 0.12);
    color: var(--blue-dark);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.badge-green {
    background: rgba(39, 174, 96, 0.12);
    color: #1a7a47;
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section.light {
    background: var(--bg-light);
}

.section h2,
.nawruz-show-section h2,
.contacts-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

/* ===========================
   АКЦЕНТ — Орёл и Решка
   =========================== */
.accent {
    background: linear-gradient(135deg, #eaf4ff 0%, #fff 60%, #fffde7 100%);
    padding: 100px 0;
}

.accent-box {
    display: flex;
    gap: 60px;
    align-items: center;
}

.accent-text {
    flex: 1;
}

.accent-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: left;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.accent-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
    color: var(--text-light);
}

.accent-btn {
    font-size: 16px;
    padding: 14px 30px;
}

.accent-video {
    flex: 1;
    text-align: center;
}

.video-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transition: transform var(--transition);
}

.video-wrapper:hover {
    transform: translateY(-6px);
}

.accent-video video {
    width: 100%;
    display: block;
}

.video-caption {
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* ===========================
   НАУРЫЗ
   =========================== */
.nawruz-show-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0faf5, #fefcf5);
    text-align: center;
}

.nawruz-show-section p {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 44px;
    color: var(--text-light);
}

.video-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.video-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    width: 340px;
    height: 195px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: transform var(--transition), background var(--transition), opacity var(--transition);
    pointer-events: none;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.28);
}

.video-card video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.video-card.is-playing .play-button {
    opacity: 0;
}

.nawruz-slogan {
    margin-top: 40px !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px !important;
    font-weight: 700;
    color: #1a7a47 !important;
    letter-spacing: -0.3px;
}

/* ===========================
   КАРТОЧКИ УСЛУГ
   =========================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-stripe {
    height: 6px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.card-stripe--blue {
    background: linear-gradient(90deg, #4facfe, #00d2ff);
}

.card-stripe--yellow {
    background: linear-gradient(90deg, #fbc531, #f7971e);
}

.card-icon {
    font-size: 42px;
    padding: 28px 32px 0;
}

.card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    padding: 12px 32px 0;
    line-height: 1.3;
}

.card-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-dark);
    padding: 12px 32px;
    font-family: 'Montserrat', sans-serif;
}

.card-currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

.card ul {
    list-style: none;
    padding: 0 32px;
    flex: 1;
}

.card ul li {
    font-size: 16px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card ul li:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--blue);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.card .btn {
    margin: 0 24px 28px;
    align-self: flex-start;
    width: calc(100% - 48px);
    justify-content: center;
    box-sizing: border-box;
}

/* ===========================
   ГАЛЕРЕЯ
   =========================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 33, 55, 0.75) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* ===========================
   ВИДЕО
   =========================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.video-box {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease, box-shadow var(--transition);
}

.video-box.active {
    transform: translateY(0);
    opacity: 1;
}

.video-box:hover {
    box-shadow: var(--shadow-hover);
}

.video-thumb img {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    transition: transform 0.5s ease;
}

.video-box:hover .video-thumb img {
    transform: scale(1.04);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: transform var(--transition), background var(--transition);
    pointer-events: none;
}

.video-box:hover .play-button {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(255, 255, 255, 0.28);
}

/* ===========================
   КОНТАКТЫ
   =========================== */
.contacts-section {
    background: linear-gradient(135deg, #e3f2fd, #fffde7);
    text-align: center;
}

.contacts-section .section-badge {
    display: block;
    text-align: center;
}

.contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 22px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform var(--transition), box-shadow var(--transition);
    color: inherit;
}

.contact-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon--green { background: #25D366; }

.contact-icon--instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-info strong {
    font-size: 18px;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
}

.contact-arrow {
    font-size: 20px;
    color: var(--blue);
    font-weight: 700;
    transition: transform var(--transition);
}

.contact-card:hover .contact-arrow {
    transform: translateX(5px);
}

/* ===========================
   ФУТЕР
   =========================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--yellow);
}

/* ===========================
   ПЛАВАЮЩИЕ КНОПКИ
   =========================== */
.floating-btn {
    position: fixed;
    right: 24px;
    bottom: 28px;
    background: #25D366;
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
    animation: pulse 2.5s infinite;
    z-index: 9999;
    transition: transform var(--transition), box-shadow var(--transition);
}

.floating-btn:hover {
    animation: none;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5); }
    50% { transform: scale(1.04); box-shadow: 0 12px 36px rgba(37, 211, 102, 0.65); }
}

#scrollTopBtn {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--dark);
    border: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: none;
    z-index: 9998;
    box-shadow: 0 4px 16px rgba(251, 197, 49, 0.55);
    transition: transform var(--transition), box-shadow var(--transition);
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(251, 197, 49, 0.7);
}

/* ===========================
   YOUTUBE FLOAT
   =========================== */
.youtube-float {
    position: fixed;
    left: 20px;
    bottom: 28px;
    width: 58px;
    height: 58px;
    z-index: 1000;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseRed 2s infinite;
    transition: transform var(--transition), box-shadow var(--transition);
}

.youtube-float img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.youtube-float:hover {
    animation: none;
    transform: scale(1.2) rotate(-8deg);
    box-shadow: 0 0 24px rgba(255, 0, 0, 0.7);
}

@keyframes pulseRed {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 0, 0, 0.5); }
    50% { transform: scale(1.12); box-shadow: 0 0 18px rgba(255, 0, 0, 0.65); }
}

/* ===========================
   АДАПТИВ — МОБАЙЛ
   =========================== */
@media (max-width: 900px) {
    .accent-box {
        flex-direction: column;
        gap: 36px;
    }

    .accent-text h2 {
        text-align: center;
    }

    .accent-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Навигация — бургер */
    .nav {
        display: none;
        flex-direction: column;
        gap: 4px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(16px);
        padding: 12px 24px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        color: var(--dark);
        font-size: 16px;
        padding: 10px 16px;
        border-radius: 12px;
    }

    .nav a:hover {
        background: rgba(79, 172, 254, 0.1);
        color: var(--blue-dark);
    }

    .burger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding-top: 90px;
        min-height: 100svh;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 17px;
    }

    /* Sections */
    .section {
        padding: 70px 0;
    }

    .section h2,
    .nawruz-show-section h2,
    .contacts-section h2 {
        font-size: 30px;
        margin-bottom: 36px;
    }

    /* Cards */
    .card h3 { font-size: 20px; }
    .card-price { font-size: 26px; }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    /* Floating btn */
    .floating-btn {
        font-size: 14px;
        padding: 12px 18px;
        right: 16px;
        bottom: 20px;
    }

    .youtube-float {
        left: 14px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    #scrollTopBtn {
        right: 16px;
        bottom: 84px;
    }

    /* Accent section */
    .accent-text h2 {
        font-size: 26px;
    }

    /* Video cards */
    .video-card {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .btn-hero { font-size: 15px; padding: 14px 28px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1600px) {
    body { font-size: 19px; }
    .section { padding: 120px 0; }
    .hero h1 { font-size: 68px; }
}

/* ===========================
   СЕКЦИЯ ОТЗЫВОВ
   =========================== */
.reviews-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #fffdf0 100%);
}

/* Статистика */
.reviews-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.reviews-avg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.reviews-avg__num {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1;
}

.reviews-avg__stars {
    display: flex;
    gap: 3px;
    font-size: 22px;
}

.reviews-avg__label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.reviews-total {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    border-left: 2px solid rgba(79, 172, 254, 0.3);
    padding-left: 32px;
}

/* Сетка карточек */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    margin-bottom: 36px;
}

.reviews-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: var(--text-light);
    font-style: italic;
}

/* Карточка отзыва */
.review-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: fadeUp 0.45s both;
    border: 1px solid rgba(79, 172, 254, 0.08);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-card--new {
    border-color: rgba(79, 172, 254, 0.35);
    background: linear-gradient(135deg, #f5fbff, #fff);
}

.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), #00d2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.review-card__meta {
    flex: 1;
}

.review-card__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
}

.review-card__date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.review-card__stars {
    font-size: 18px;
    letter-spacing: 1px;
}

.review-card__body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    flex: 1;
}

/* Пагинация */
.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.rv-page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(79, 172, 254, 0.3);
    background: #fff;
    color: var(--blue-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rv-page-btn:hover,
.rv-page-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 172, 254, 0.4);
}

/* Кнопка «Написать отзыв» */
.reviews-form-toggle {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-write-btn {
    font-size: 16px;
    padding: 14px 34px;
    background: transparent;
    color: var(--blue-dark);
    border: 2px solid var(--blue);
    box-shadow: none;
}

.reviews-write-btn:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.4);
}

/* Форма */
.reviews-form-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    opacity: 0;
}

.reviews-form-wrap.open {
    max-height: 700px;
    opacity: 1;
}

.reviews-form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 40px;
    max-width: 640px;
    margin: 0 auto;
    border: 1px solid rgba(79, 172, 254, 0.12);
}

.reviews-form-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.reviews-form-sub {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 28px;
}

/* Поля */
.rf-field {
    margin-bottom: 22px;
    position: relative;
}

.rf-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.rf-field input[type="text"],
.rf-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--bg-light);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    resize: vertical;
}

.rf-field input[type="text"]:focus,
.rf-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.12);
    background: #fff;
}

/* Звёзды в форме */
.rf-stars {
    display: flex;
    gap: 6px;
}

.rf-stars button {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: #dde3ea;
    transition: color var(--transition), transform var(--transition);
    padding: 0;
    line-height: 1;
}

.rf-stars button:hover,
.rf-stars button.active {
    color: var(--yellow);
    transform: scale(1.15);
}

/* Счётчик символов */
.rf-counter {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Кнопка отправки */
.rf-submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 17px;
    padding: 16px;
}

/* Сообщения об успехе/ошибке */
#reviewFormMsg {
    margin-bottom: 18px;
}

.rf-msg {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rf-msg--success {
    background: rgba(39, 174, 96, 0.1);
    color: #1a7a47;
    border: 1px solid rgba(39, 174, 96, 0.25);
}

.rf-msg--error {
    background: rgba(224, 92, 92, 0.1);
    color: #b33;
    border: 1px solid rgba(224, 92, 92, 0.25);
}

/* Звёзды в карточке */
.star-filled { color: var(--yellow); }
.star-empty  { color: #dde3ea; }

/* Адаптив */
@media (max-width: 768px) {
    .reviews-avg__num { font-size: 40px; }
    .reviews-total { border-left: none; padding-left: 0; border-top: 2px solid rgba(79,172,254,.2); padding-top: 16px; }
    .reviews-stats { flex-direction: column; gap: 16px; }
    .reviews-form-card { padding: 24px 18px; }
    .rf-stars button { font-size: 30px; }
}
