/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8faff;
    color: #1a1a2e;
    line-height: 1.6;
}

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

/* ========== REBRAND BANNER ========== */
.rebrand-banner {
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #f97316);
    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite;
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.rebrand-banner.active {
    display: block;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.rebrand-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.rebrand-banner span {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rebrand-banner i {
    font-size: 18px;
}

.rebrand-banner strong {
    font-weight: 700;
}

.banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .rebrand-banner {
        font-size: 12px;
        padding: 8px 0;
    }
    .rebrand-banner span {
        gap: 6px;
    }
}

/* ========== HEADER ========== */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 14px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.97);
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #4f46e5;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.logo:hover {
    transform: scale(1.02);
    text-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.logo i {
    font-size: 38px;
    color: #4f46e5;
}

nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 18px;
    border-radius: 40px;
    transition: all 0.25s ease;
    cursor: pointer;
}

nav a:hover,
nav a.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
}

.nav-cta {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff !important;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
}

.nav-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    align-self: flex-end;
    margin-bottom: -6px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 4px;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 860px) {
    .nav-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    .logo {
        font-size: 34px;
        order: 1;
    }
    .logo i {
        font-size: 30px;
    }
    .hamburger {
        display: flex;
        order: 2;
    }
    nav {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        order: 3;
        padding: 12px 0 4px;
        gap: 6px;
    }
    nav.open {
        display: flex;
    }
    nav a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    .nav-cta {
        width: 100%;
        text-align: center;
    }
}

/* ========== HERO ========== */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #eef2ff 0%, #f8faff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 20px;
    color: #4b5563;
    max-width: 500px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    padding: 16px 40px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(79, 70, 229, 0.30);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(79, 70, 229, 0.50);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #1a1a2e;
    padding: 16px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.hero-stats div {
    text-align: left;
}

.hero-stats .number {
    font-size: 32px;
    font-weight: 800;
    color: #4f46e5;
}

.hero-stats .label {
    font-size: 14px;
    color: #6b7280;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-code-block {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 420px;
}

.hero-code-block .line {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #a5b4fc;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-code-block .line .keyword { color: #f472b6; }
.hero-code-block .line .string { color: #6ee7b7; }
.hero-code-block .line .comment { color: #6b7280; }
.hero-code-block .line .function { color: #fcd34d; }

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content p {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 38px;
    }
    .hero-code-block {
        max-width: 100%;
    }
}

/* ========== QUOTE ========== */
.quote-block {
    background: #1a1a2e;
    color: #fff;
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #f97316, #14b8a6, #7c3aed);
    background-size: 300% 100%;
    animation: lineMove 3s ease infinite;
}

@keyframes lineMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.quote-block blockquote {
    font-size: 26px;
    font-weight: 400;
    font-style: italic;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.5;
}

.quote-block blockquote::before {
    content: '\201C';
    font-size: 56px;
    color: #4f46e5;
    display: block;
    margin-bottom: -16px;
}

.quote-block cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    color: #9ca3af;
    font-size: 16px;
}

/* ========== REBRAND SECTION ========== */
.rebrand-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

.rebrand-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.rebrand-wrapper {
    display: flex;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rebrand-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.rebrand-content h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.rebrand-content h2 span {
    color: #6b7280;
    font-weight: 400;
    text-decoration: line-through;
}

.rebrand-content h2 strong {
    color: #4f46e5;
}

.rebrand-content > p {
    font-size: 18px;
    color: #4b5563;
    max-width: 700px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.rebrand-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 16px 0 20px;
}

.rebrand-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.rebrand-feature:hover {
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
}

.rebrand-feature i {
    color: #4f46e5;
    font-size: 18px;
}

.rebrand-feature span {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
}

.rebrand-outro {
    font-size: 17px;
    color: #374151;
    border-top: 2px solid #eef2f6;
    padding-top: 16px;
    margin-top: 4px;
}

.rebrand-outro strong {
    color: #4f46e5;
}

@media (max-width: 860px) {
    .rebrand-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .rebrand-features {
        grid-template-columns: 1fr;
    }
    .rebrand-feature {
        justify-content: center;
    }
    .rebrand-content h2 {
        font-size: 28px;
    }
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ========== WHY US ========== */
.why-us {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-card:hover::before {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.10);
    border-color: #4f46e5;
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #4f46e5;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    transform: scale(1.05);
}

.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.why-card p {
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 860px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== COURSES ========== */
.courses {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: start;
}

.course-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px 20px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    align-self: start;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.course-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #f97316);
    background-size: 200% 100%;
    animation: lineMove 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover::after {
    opacity: 1;
}

.course-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.08);
}

.course-card .course-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    margin-bottom: 12px;
}

.course-card .course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-card .course-title {
    font-size: 18px;
    font-weight: 700;
}

.course-card .course-age {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 4px 14px;
    border-radius: 40px;
    white-space: nowrap;
}

.course-card .course-toggle {
    font-size: 22px;
    color: #9ca3af;
    transition: transform 0.3s ease;
    margin-top: 4px;
    cursor: pointer;
}

.course-card.open .course-toggle {
    transform: rotate(180deg);
    color: #4f46e5;
}

.course-topics {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-top: 0;
}

.course-card.open .course-topics {
    max-height: 600px;
    padding-top: 16px;
}

.course-topics ol {
    list-style: none;
    counter-reset: topic;
    padding: 0;
}

.course-topics li {
    counter-increment: topic;
    padding: 6px 0 6px 36px;
    position: relative;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.course-topics li::before {
    content: counter(topic);
    position: absolute;
    left: 0;
    top: 6px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    color: #4f46e5;
    font-weight: 700;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-topics li:last-child {
    border-bottom: none;
}

.course-description {
    font-size: 14px;
    color: #4b5563;
    margin: 8px 0 4px;
    line-height: 1.5;
}

/* ========== SCHEDULE ========== */
.schedule {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.schedule-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.schedule-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule-image {
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.schedule-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.15);
    border-color: #4f46e5;
}

.schedule-image img {
    width: 100%;
    display: block;
}

.schedule-image-small {
    max-height: 200px;
}

.schedule-image-small img {
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule-info .price-big {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a2e;
}

.schedule-info .price-big span {
    font-size: 22px;
    font-weight: 400;
    color: #6b7280;
}

.schedule-info .price-detail {
    font-size: 16px;
    color: #4b5563;
}

.schedule-info .price-detail strong {
    color: #1a1a2e;
}

.discount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 8px 0 20px;
}

.discount-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid #4f46e5;
    transition: all 0.3s ease;
}

.discount-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.discount-trial { border-left-color: #f97316; background: linear-gradient(135deg, #fff7ed, #fff); }
.discount-ten { border-left-color: #4f46e5; background: linear-gradient(135deg, #eef2ff, #fff); }
.discount-family { border-left-color: #8b5cf6; background: linear-gradient(135deg, #f3e8ff, #fff); }

.discount-card i {
    font-size: 28px;
    color: #4f46e5;
}
.discount-trial i { color: #f97316; }
.discount-ten i { color: #4f46e5; }
.discount-family i { color: #8b5cf6; }

.discount-text {
    display: flex;
    flex-direction: column;
}

.discount-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.discount-value {
    font-size: 18px;
    font-weight: 800;
    color: #4f46e5;
}
.discount-trial .discount-value { color: #f97316; }
.discount-ten .discount-value { color: #4f46e5; }
.discount-family .discount-value { color: #8b5cf6; }

.schedule-info .btn-primary {
    align-self: flex-start;
    margin-top: 4px;
}

@media (max-width: 860px) {
    .schedule-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .schedule-images {
        gap: 16px;
    }
    .discount-grid {
        grid-template-columns: 1fr;
    }
    .schedule-info .btn-primary {
        align-self: stretch;
        text-align: center;
    }
    .schedule-image-small {
        max-height: 150px;
    }
}

/* ========== DECORATIVE IMAGE ========== */
.decorative-image {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.decorative-placeholder {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(79, 70, 229, 0.25), 0 4px 20px rgba(124, 58, 237, 0.15);
}

.decorative-placeholder img {
    width: 100%;
    display: block;
}

/* ========== INDIVIDUAL ========== */
.individual {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.individual-wrapper {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 12px;
    align-items: center;
}

.individual-info .price-big {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.individual-info .price-big span {
    font-size: 18px;
    font-weight: 400;
    color: #6b7280;
}

.individual-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 20px;
}

.individual-features li {
    padding: 6px 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.individual-features li i {
    color: #4f46e5;
    font-size: 18px;
}

.individual-image {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 20px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #4f46e5;
}

@media (max-width: 860px) {
    .individual-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .individual-features li {
        justify-content: center;
    }
}

/* ========== REVIEWS & GALLERY ========== */
.reviews,
.gallery {
    padding: 80px 0;
}

.reviews {
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.gallery {
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 40px 30px;
    box-sizing: border-box;
}

.review-slide {
    background: #fff;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-text {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.6;
    margin-bottom: 16px;
}

.review-author {
    font-size: 16px;
    color: #6b7280;
    font-weight: 400;
}

/* ===== GALLERY — ФИКСИРОВАННАЯ ВЫСОТА ===== */
.gallery-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 800px;          /* ← фиксированная высота */
    background: #e5e7eb;
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-slide img:hover {
    transform: scale(1.02);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #1a1a2e;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 0 8px;
}

.slider-dots span {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots span.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: scale(1.2);
}

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
    line-height: 1;
}

.lightbox-close:hover {
    color: #f97316;
}

/* ========== CTA FORM ========== */
.cta-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2a5e 100%);
    color: #fff;
}

.cta-form-section .section-title { color: #fff; }
.cta-form-section .section-subtitle { color: #c4b5fd; }

.form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    padding: 40px 44px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
    color: #c4b5fd;
}

.form-group input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus {
    border-color: #818cf8;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.form-wrapper .btn-primary {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    font-size: 17px;
    padding: 16px;
    box-shadow: 0 8px 28px rgba(129, 140, 248, 0.30);
}

.form-wrapper .btn-primary:hover {
    background: linear-gradient(135deg, #6d78f0, #4f46e5);
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.form-success i {
    font-size: 52px;
    color: #6ee7b7;
    margin-bottom: 12px;
}

.form-success h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-success p {
    color: #c4b5fd;
}

/* ========== CONTACTS ========== */
.contacts {
    padding: 80px 0;
    background: #fff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contacts-left h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contacts-left p {
    color: #6b7280;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-size: 15px;
}

.contact-item i {
    width: 28px;
    color: #4f46e5;
    font-size: 18px;
}

.contact-item a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #4f46e5;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #1a1a2e;
    font-size: 28px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border-color: #4f46e5;
    transform: translateY(-3px);
}

.map-placeholder {
    background: #e5e7eb;
    border-radius: 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 15px;
    border: 2px dashed #d1d5db;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    border-color: #4f46e5;
    background: #eef2ff;
}

.map-placeholder a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 860px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== FOOTER ========== */
footer {
    background: #1a1a2e;
    padding: 32px 0;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

footer a {
    color: #9ca3af;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 480px) {
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}