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

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    font-family: "Helvetica Neue", "Helvetica", Arial, "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
    color: #1a2a4f;
    line-height: 1.5;
    background-color: #f5f6fb;
}

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


/* ============================================================
   2. TYPOGRAPHY & UTILITIES
   ============================================================ */
.section-title {
    font-size: 44px !important;
    font-weight: 700 !important;
    margin-bottom: 40px;
    text-align: center !important;
}

.section-subtitle {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 400;
}

.text-center {
    font-size: 20px;
}


/* ============================================================
   3. HEADER & NAVIGATION
   ============================================================ */
.header {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    flex-shrink: 0;
    margin-right: 30px;
}

.logo img {
    display: block;
    max-height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
}

.nav-links a {
    margin-right: 10px;
    text-decoration: none;
    color: #1a2a4f;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #b59d5c;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #1a2a4f;
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #1a2a4f;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 40px;
    background: #f8f9fc;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-phone i {
    color: #b59d5c;
    font-size: 14px;
}

.header-phone:hover {
    background: #b59d5c;
    color: white;
}

.header-phone:hover i {
    color: white;
}

.header-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0088cc;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-telegram i {
    font-size: 20px;
}

.header-telegram:hover {
    background: #0077b3;
    transform: scale(1.1);
}

.header-max {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0%;
    background: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.header-max img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.header-max:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #b59d5c;
    color: white;
    display: inline-block;
    padding: 16px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #9e8749;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #b59d5c;
    color: #b59d5c;
}

.btn-outline:hover {
    background-color: #b59d5c;
    color: white;
}

.btn-main {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
    padding: 24px 0 40px;
    background: #f5f6fb;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-date {
    padding: 8px 14px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-left h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a2a4f;
}

.hero-left h1 span {
    color: #b59d5c;
}

.hero-text {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-university {
    margin-bottom: 10px;
    font-size: 18px;
}

.hero-badges {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    font-weight: 600;
}

.hero-badges i {
    color: #7c5cff;
    margin-right: -15px;
}

.hero-note {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

.hero-photos {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.hero-photos img {
    width: 220px;
    border-radius: 12px;
    transform: rotate(-4deg);
}

.hero-photos img:last-child {
    transform: rotate(4deg);
}

.hero-right {
    position: relative;
    border-radius: 10px;
    overflow: visible;
}

.hero-image-stack {
    display: grid;
    gap: 16px;
    width: calc(100% - 24px);
    margin: 0 auto;
}

.hero-image-stack img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.hero-image-bottom {
    position: relative;
}


.hero-info {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    display: flex;
    gap: 14px;
}

@media (min-width: 769px) {
    .hero-grid {
        align-items: stretch;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-left .btn-main {
        margin-top: auto;
    }

    .hero-right {
        margin-top: 24px;
        padding-bottom: 18px;
    }

    .hero-image-stack {
        height: 90%;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .hero-image-bottom {
        min-height: min(38vw, 460px);
        overflow: hidden;
        border-radius: 12px;
    }

    .hero-image-bottom > img {
        position: absolute;
        inset: 0;
        height: 100%;
    }
}

.info-card {
    flex: 1;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
}

.info-card i {
    font-size: 22px;
    margin-bottom: 6px;
}

/* ============================================================
   6. FACTS (цифры)
   ============================================================ */

.facts-section-disp {
    background-color: #fcfcfc;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.fact-card {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #1a2a4f;
}

.fact-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.fact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

.fact-content {
    position: absolute;
    bottom: 30px;
    left: 10px;
    color: #fff;
    z-index: 3;
}

.fact-number {
    display: block;
    font-size: clamp(60px, 6vw, 100px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    font-family: "Helvetica Neue", "Helvetica", Arial, "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
}

.fact-text {
    font-size: clamp(14px, 1.3vw, 20px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   7. ABOUT (Почему этот лагерь особенный?)
   ============================================================ */
.about-section {
    position: relative;
    background-image: url('img/Group 1.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 50px 0 10px;
    width: 100%;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-section .section-text {
    color: #ffffff;
    font-size: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.6;
    padding: 0 20px;
}

.about-section .section-text.highlight {
    margin-bottom: 60px;
}

.about-section span {
    color: #b59d5c;
    font-weight: 700;
    display: inline-block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.feature-card {
    text-align: left;
    padding: 25px;
    border-radius: 16px;
}

.feature-header {
    position: relative;
    margin-bottom: 25px;
}

.feature-number {
    position: absolute;
    top: -25px;
    left: 0;
    font-size: 24px;
    font-weight: 600;
    color: #b59d5c;
    letter-spacing: 1px;
    background: transparent;
    padding: 0;
    opacity: 0.9;
    line-height: 1;
}

.feature-line {
    width: 100%;
    max-width: 350px;
    height: 2px;
    background-color: #b59d5c;
    margin: 35px 0 20px 0;
}

.feature-card h3 {
    font-size: 21px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 20px;
}

/* ============================================================
   8. CAMPUS SECTIONS (кампус, преимущества, проживание)
   ============================================================ */
.campus-section {
    padding: 20px 0;
    background: #f3f4f8;
}

.campus-wrapper {
    background: #ffffff;
    padding: 20px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.campus-wrapper::before {
    content: none;
}

.campus-wrapper > * {
    position: relative;
    z-index: 2;
}

.campus-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 10px;
}

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

.campus-card {
    border-radius: 16px;
    overflow: hidden;
}

.campus-card img {
    border-radius: 15px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.campus-card h3 {
    font-size: 24px;
    margin: 15px;
    text-align: left;
    line-height: 1.25;
}

.campus-card p {
    font-size: 21px;
    margin: 0 15px 18px;
    color: #1a2a4f;
    text-align: left;
}

.campus-split-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.campus-card-split {
    display: flex;
    width: 100%;
    height: 180px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #1a2a4f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-text-side {
    flex: 1;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 5;
    background-color: #1a2a4f;
}

.program-details-section .card-text-side {
    flex: 1.25;
}

.program-details-section .card-image-side {
    flex: 0.75;
}

.price-and-savings {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.price-main {
    min-width: 0;
}

.savings-card {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 12px 16px;
    border: 1px solid rgba(181, 157, 92, 0.65);
    border-radius: 14px;
    color: #fff;
}

.savings-card > i {
    color: #b59d5c;
    font-size: 30px;
}

.savings-label,
.savings-amount {
    display: block;
}

.savings-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.savings-amount {
    margin-top: 2px;
    color: #b59d5c;
    font-size: 26px;
    line-height: 1.15;
}

.card-text-side h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    margin-left: 10px;
}

.card-text-side p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.card-image-side {
    flex: 1;
    position: relative;
    overflow: visible;
}

.card-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image-side::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40px;
    width: calc(15% + 40px);
    height: 100%;
    background: linear-gradient(to right, #1a2a4f 0%, #1a2a4f 40%, rgba(26, 42, 79, 0) 100%);
    z-index: 2;
}

.campus-info {
    background: #f5f6fb;
}

.info-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 30px;
}

.info-block.reverse {
    grid-template-columns: 1fr 1fr;
}

.info-block.reverse .info-images {
    order: 2;
}

.info-block.reverse .info-text {
    order: 1;
}

.info-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-gallery-dots {
    display: none;
}

.info-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

.info-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #24345d;
}

.info-text h4 {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #24345d;
}

.info-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #334;
}

.campus-info .info-list li {
    font-size: 20px;
    line-height: 1.55;
}

.location-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.location-title h3 {
  margin: 0;
  font-weight: 700;
}

.location-pin {
  font-size: 25px;
  line-height: 1.4;
  flex: none;
}

.location-name {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.75;
}
/* ============================================================
   9. BFSU / JGC SECTIONS
   ============================================================ */
.bfsu-section {
    position: relative;
    background-image: url('img/img11.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 60px 0;
}

.bfsu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.bfsu-section .container {
    position: relative;
    z-index: 2;
}

.bfsu-section .section-title,
.bfsu-section .section-subtitle {
    color: #ffffff !important;
}

.bfsu-section .section-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .bfsu-section .section-title,
    .bfsu-section .section-subtitle,
    #excursions > .container > p.text-center {
        text-align: left !important;
    }
}

.jgc-section {
    position: relative;
    background-image: url('img/58.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 40px 0;
}

.jgc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.jgc-section .container {
    position: relative;
    z-index: 2;
}

.jgc-section .section-title,
.jgc-section .section-subtitle {
    color: #ffffff !important;
}

.jgc-section .section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ============================================================
   10. PROGRAM & FEATURES
   ============================================================ */
.program-section {
    background: #f5f6fb;
}

.program-features-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.feature-item {
    flex: 1;
    background: #f4f7fa;
    padding: 20px 25px;
    border-radius: 50px;
    border: 1px solid #e0e6ed;
    text-align: center;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #b59d5c;
}

.feature-item strong {
    display: block;
    color: #1a2a4f;
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wide-program-grid {
    display: flex;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.program-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.program-card-wide {
    position: relative;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(26, 42, 79, 0.1);
}

.program-card-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-overlay-wide {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(26, 42, 79, 0.8) 0%, rgba(26, 42, 79, 0.1) 50%, transparent 100%);
    color: white;
}

.card-overlay-wide h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-overlay-wide p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 80%;
    line-height: 1.4;
}

/* ============================================================
   11. EXCURSIONS
   ============================================================ */
.excursions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.excursions-slider {
    position: relative;
    padding: 0 44px;
}

#excursions .excursions-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#excursions .excursions-grid::-webkit-scrollbar {
    display: none;
}

#excursions .excursion-card {
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .excursions-slider {
        padding: 0;
    }

    #excursions .excursions-grid {
        grid-template-columns: none !important;
        grid-auto-columns: 74%;
        gap: 12px;
        margin: 24px 0;
    }
}

.excursion-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.excursion-image {
    height: 220px;
    overflow: hidden;
}

.excursion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.excursion-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
    color: #1a2a4f;
}

.excursion-card p {
    padding: 0 20px 20px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.5;
    flex: 1;
}

/* ============================================================
   12. SCHEDULE
   ============================================================ */
.schedule-wrapper {
    overflow-x: auto;
    margin: 40px 0 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 14px;
    min-width: 800px;
}

.schedule-table th {
    background: #1a2a4f;
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.schedule-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    line-height: 1.5;
    color: #1a2a4f;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background-color: #f8f9fc;
}

.schedule-table td strong {
    color: #b59d5c;
}

.schedule-note {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-top: 20px;
    font-style: italic;
}

#showMoreBtn {
    border-radius: 30px;
    transition: all 0.3s ease;
    padding: 12px 40px;
    font-size: 16px;
    border: 2px solid #b59d5c;
    background: transparent;
    color: #b59d5c;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    width: fit-content;
}

#showMoreBtn:hover {
    background: #b59d5c;
    color: white;
}

#showMoreBtn i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

/* ============================================================
   13. ACCOMMODATION (проживание)
   ============================================================ */
.accommodation-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.city-block {
    flex: 1;
}

.city-title {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #1a2a4f;
    margin-bottom: 20px;
}

.photo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.photo-carousel-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
}

.photo-carousel-track .photo-item {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
}

.photo-carousel-track .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-carousel-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 8px 0;
}

.photo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e2e8f0;
    border: 1px solid #b59d5c;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-dot.active {
    background-color: #b59d5c;
    transform: scale(1.2);
}

.accommodation-info {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.accommodation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accommodation-list li {
    font-size: 18px;
    line-height: 1.6;
}

/* ============================================================
   14. PRICING & DETAILS
   ============================================================ */
.program-details-section {
    background: #f5f6fb;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.details-included-card {
    background: #f4f6f9;
    border-radius: 30px;
    padding: 40px 40px 10px;
}

.details-right-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.details-excluded-card {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    padding: 15px 30px;
    width: 100%;
    box-sizing: border-box;
}

.card-main-title {
    font-size: 24px;
    color: #1a2a4f;
    margin-bottom: 10px;
    font-weight: 800;
}

.group-title {
    font-size: 16px;
    color: #1a2a4f;
    margin-bottom: 15px;
    font-weight: 700;
}

.details-group {
    margin-bottom: 30px;
}

.details-group:last-child {
    margin-bottom: 0;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 18px;
    line-height: 1.4;
}

.custom-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #1a2a4f;
    font-size: 20px;
    line-height: 1;
}

.details-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

.old-p {
    font-size: 18px;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.new-p {
    font-size: 42px;
    font-weight: 800;
    color: #b59d5c;
    line-height: 1;
}

.price-badge {
    display: inline-block;
    background: #ff2d2d;
    color: white;
    padding: 7px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 40px;
}

.price-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================================
   15. REVIEWS (отзывы)
   ============================================================ */
.reviews-carousel {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 50px;
}

.reviews-carousel .carousel-wrapper {
    overflow: hidden;
    border-radius: 30px;
    background: white;
    transition: height 0.4s ease-in-out;
}

#reviewsCarousel {
    display: flex;
    align-items: flex-start;
}

.review-card {
    display: flex;
    min-height: auto;
    background: white;
}

.review-image {
    flex: 0 0 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    height: auto;
}

.review-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background-color: #f5f5f5;
    max-height: 500px;
}

.review-content {
    flex: 0 0 50%;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    height: auto;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: #1a2a4f;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    font-size: 18px;
    font-weight: 700;
    color: #b59d5c;
    margin-bottom: 5px;
}

.review-role {
    font-size: 14px;
    color: #64748b;
}

/* ============================================================
   16. MEMORIES (видео)
   ============================================================ */
.memories-section .section-subtitle {
    color: #64748b;
    margin-bottom: 50px;
    font-size: 24px;
}

.memories-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.memories-carousel .carousel-wrapper {
    overflow: hidden;
    border-radius: 24px;
    background: transparent;
}

.memories-carousel .carousel-items {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.memories-carousel .carousel-slide {
    flex: 0 0 100%;
    padding: 20px;
    box-sizing: border-box;
}

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

.memory-video-item {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease;
}

.memory-video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.memory-video-item video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    background: #000;
}

/* ============================================================
   17. PROJECTS & TEAM
   ============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.project-item {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #1a2a4f;
}

.project-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.project-number {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: #1a2a4f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #fff;
    z-index: 3;
}

.project-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.team-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.team-card-image {
    flex-shrink: 0;
    margin-right: 30px;
    width: 200px;
    height: auto;
}

.team-card-image .image-placeholder {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 4px;
    overflow: hidden;
}

.team-card-image .image-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
}

.team-card-content {
    flex-grow: 1;
}

.team-role {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.team-name {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* ============================================================
   18. PARTNERS / COLLABORATION
   ============================================================ */
.collab-compact-section {
    background-color: #f5f6fb;
}

.ca-mini-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-size: 20px;
    color: #1a2a4f;
    font-weight: 500;
    width: 100%;
}

.ca-mini-list .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #b59d5c;
    border-radius: 50%;
    margin: 0 10px;
    vertical-align: middle;
}

.collab-main-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.collab-wrapper-mini {
    max-width: 800px;
    margin: 0 auto;
}

.collab-cards-mini {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.mini-card {
    flex: 1;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
}

.mini-card.border-gold {
    border: 2px solid #b59d5c;
}

.mini-card.border-blue {
    border: 2px solid #1a2a4f;
}

.mini-card.border-blue span {
    color: #b59d5c;
}

.mini-label {
    font-size: 20px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.mini-value {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.mini-value span {
    color: #b59d5c;
}

.bonus-line {
    display: flex;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 25px;
    gap: 10px;
}

.line-item {
    font-size: 18px;
    color: #1a2a4f;
}

.collab-image-mini {
    margin-bottom: 80px;
    flex: 0 0 auto;
    max-width: 30%;
}

.collab-image-mini img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ============================================================
   19. TELEGRAM / QR
   ============================================================ */
.telegram-review-section {
    width: 100%;
    overflow: hidden;
}

.telegram-review-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.photo-grid-quad {
    margin-left: 20px;
    flex: 0 0 550px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.quad-photo-item {
    border-radius: 15px;
    overflow: hidden;
    height: 230px;
}

.quad-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none !important;
    transform: none !important;
}

.telegram-info-block {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin-left: 0;
}

.text-center-desktop {
    text-align: center;
    width: 100%;
}

.qr-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.qr-item {
    width: 100%;
    min-width: 0;
}

.scan-label {
    font-size: 30px;
    font-weight: 700;
    color: #1a2a4f;
    margin-bottom: 5px;
}

.qr-container-simple {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1;
    margin: 0 auto 20px;
}

.qr-img-fixed {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-subtext {
    font-size: 22px;
    color: #444;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .qr-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px;
    }

    .scan-label {
        font-size: clamp(10px, 2.5vw, 18px);
    }

    .qr-container-simple {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
}

/* ============================================================
   20. ABOUT COMPANY
   ============================================================ */
.about-company-new {
    background-color: #f5f6fb;
}

.about-header {
    border-left: 4px solid #b59d5c;
    padding-left: 20px;
    margin-bottom: 50px;
}

.about-title {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.about-title span {
    display: block;
    color: #b59d5c;
    font-size: 24px;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.stat-card {
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
}

.stat-card:first-child {
    padding-top: 0;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1a2a4f;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.4;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 15px;
}

.gallery-main {
    height: 100%;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.gallery-side {
    height: 100%;
    overflow: hidden;
}

.gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* ============================================================
   21. FAQ
   ============================================================ */
.faq-section {
    background-color: #f5f6fb;
    padding: 15px 0;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    cursor: pointer;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #1a2a4f;
    padding: 10px 0;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 24px;
    color: #b59d5c;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    color: #1a2a4f;
}

.faq-answer {
    padding: 10px 0 20px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.faq-answer ul {
    margin: 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    font-size: 18px;
}

.faq-item:hover .faq-question {
    color: #b59d5c;
}

/* ============================================================
   22. FOOTER
   ============================================================ */
.footer {
    background-color: #1a2a4f;
    color: #ffffff;
    padding: 60px 0 30px;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-title {
    color: #b59d5c;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo img {
    height: 55px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.footer-col.brand-col .footer-logo img {
    display: block;
    margin-bottom: -25px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b59d5c;
    background-color: rgba(181, 157, 92, 0.12);
    border: 1px solid rgba(181, 157, 92, 0.35);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background-color: #b59d5c;
    border-color: #b59d5c;
    color: #1a2144;
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(181, 157, 92, 0.35);
}

.max-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: filter 0.25s ease;
}

.social-icon.max .max-icon-img {
    filter: invert(70%) sepia(20%) saturate(500%) hue-rotate(360deg) brightness(90%);
}

.social-icon.max:hover .max-icon-img {
    filter: brightness(0) invert(1);
}

.social-icon.max:hover {
    background-color: #0077FF;
    border-color: #0077FF;
}

.social-icon.whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}

.social-icon.telegram:hover {
    background-color: #229ED9;
    border-color: #229ED9;
    color: #fff;
}

.social-icon.vk:hover {
    background-color: #0077FF;
    border-color: #0077FF;
    color: #fff;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #b59d5c;
}

.footer-contact-info .contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-item i {
    color: #b59d5c;
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
}

.footer-qr-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.footer-qr-wrapper img {
    width: 60%;
    height: 60%;
    margin-bottom: 15px;
    border-radius: 8px;
}

.footer-qr-wrapper p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.footer-channel-button {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    background: #b8a05d;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.footer-channel-button:hover,
.footer-channel-button:focus-visible {
    background: #a38b4e;
    color: #fff;
}

/* ============================================================
   23. CAROUSELS & SLIDERS (общие стили)
   ============================================================ */
.media-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0px auto;
    padding: 0px 30px;
}

.carousel-wrapper {
    overflow: hidden;
    background: transparent;
    border-radius: 24px;
}

.carousel-items {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

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

.media-grid-item {
    border-radius: 10px;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

.media-grid-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.media-grid-item img,
.media-grid-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.campus-gallery-section {
    padding-top: 48px;
}

@media (min-width: 769px) {
    .city-gallery-section .media-grid-item,
    .campus-gallery-section .media-grid-item {
        aspect-ratio: 0.9;
    }

    .city-gallery-section .media-grid-item img,
    .campus-gallery-section .media-grid-item img {
        height: 100%;
    }
}

@media (max-width: 768px) {
    .campus-gallery-section {
        padding-top: 36px;
    }

}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    border: 2px solid #b59d5c;
    color: #b59d5c;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-nav-btn:hover {
    background: #b59d5c;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(181,157,92,0.4);
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

#excursions .excursions-slider .carousel-nav-btn {
    top: 150px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e2e8f0;
    border: 2px solid #b59d5c;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #b59d5c;
    box-shadow: 0 0 10px rgba(181,157,92,0.5);
}

.carousel-dot:hover {
    background-color: #b59d5c;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    margin: 0px 0;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    45% { transform: translateX(calc(-50% - 10px)); }
    50% { transform: translateX(calc(-50% - 10px)); }
    95% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.carousel-item {
    flex: 0 0 250px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

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

/* ============================================================
   24. GRID HELPERS
   ============================================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

/* ============================================================
   28. CAMPUS-СПЕЦИФИКА (дополнительно)
   ============================================================ */
.bg-light {
    margin-bottom: 80px;
}



.steps-section {
    padding-top: 0;
    width: 100%;
    overflow: hidden;
}

.steps-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.steps-banner img {
    border-radius: 20px;
    max-width: 1240px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #b59d5c;
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2a4f;
    margin-bottom: 8px;
}

.step-content p {
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .photo-grid-quad {
        flex: 0 0 450px;
    }
    .quad-photo-item {
        height: 200px;
    }
    .qr-container-simple {
        width: 240px;
        height: 240px;
    }
    .qr-subtext {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .about-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    .features-grid {
        gap: 30px;
    }
    .feature-card {
        padding: 20px;
    }
    .feature-number {
        font-size: 24px;
        
    }
    .feature-line {
        margin: 30px 0 15px 0;
    }
    .feature-card h3 {
        font-size: 22px;
    }
    .memories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .memory-video-item video {
        height: 280px;
    }
    .steps-banner {
        height: 250px;
    }
    .steps-container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .program-features-flex {
        flex-wrap: wrap;
    }
    .feature-item {
        flex: 1 1 45%;
        font-size: 18px;
    }
    .telegram-review-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .photo-grid-quad {
        flex: 0 0 auto;
        width: 100%;
        max-width: 600px;
        margin-left: 0;
    }
    .telegram-info-block {
        margin-left: 0;
        width: 100%;
        max-width: none;
    }
    .quad-photo-item {
        height: 180px;
    }
    .scan-label {
        font-size: 26px;
    }
    .accommodation-wrapper {
        flex-direction: column;
    }
    .collab-main-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .collab-image-mini {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .card-overlay-wide p {
        color: #ffffff;
        max-width: 100% !important;
    }

    .container {
        padding: 0 15px;
    }
    .section-title {
        font-size: 28px !important;
        margin-bottom: 30px !important;
    }
    

    .header .container {
        height: 70px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
        z-index: 1000;
    }
    .nav-links.active {
        display: flex;
    }
    .header-contact {
        margin-left: auto;
        margin-right: 15px;
    }
    .header-phone {
        padding: 10px;
        border-radius: 50%;
    }
    .header-phone span {
        display: none;
    }
    .menu-toggle {
        display: block !important;
    }

    .hero {
        padding: 30px 0;
    }
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0 !important;
    }
    .hero-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        order: 1 !important;
        width: 100% !important;
    }
    .hero-left h1 {
        font-size: 42px !important;
        line-height: 1.1 !important;
    }
    .hero-text,
    .hero-university {
        font-size: 18px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-badges {
        justify-content: center !important;
    }
    .hero-left .btn-main {
        order: 3 !important;
        margin: 30px auto 0 auto !important;
        display: inline-block !important;
        width: auto !important;
        min-width: 250px !important;
    }
    .hero-right {
        display: block !important;
        order: 2 !important;
        width: 100% !important;
        margin-top: 25px !important;
    }
    .hero-right .hero-bg {
        display: none !important;
    }
    .hero-info {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 12px !important;
        padding: 0 !important;
        transform: none !important;
    }
    .hero-info .info-card {
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
        background: #ffffff !important;
        padding: 16px 20px !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        width: 100% !important;
        border: none !important;
    }
    .hero-info .info-card i {
        color: #b59d5c !important;
        font-size: 20px !important;
        margin-right: 15px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0;
        width: 25px;
        text-align: center;
    }
    .hero-info .info-card p {
        margin: 0 !important;
        font-size: 17px !important;
        line-height: 1.3 !important;
        color: #1a2a4f !important;
    }

    .about-section {
        padding: 40px 0 !important;
    }
    .about-section .section-title {
        margin-bottom: 20px !important;
        font-size: 24px !important;
    }
    .about-section .section-text {
        margin-left: -20px;
        margin-bottom: 15px !important;
        font-size: 20px !important;
        line-height: 1.4 !important;
        text-align: left;
    }
    .features-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1px !important;
        margin-top: 1px !important;
        margin-left: -20px;
    }
    .feature-card {
        padding: 0 0 0 20px !important;
        border-radius: 15px !important;
    }
    .feature-card h3 {
        font-size: 18px !important;
        margin: 10px 0 5px 0 !important;
    }
    .feature-card p {
        font-size: 18px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    .feature-header {
        margin-bottom: 10px !important;
    }
    .feature-number {
        font-size: 20px !important;
    }

    .info-block,
    .info-block.reverse {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .info-block .info-text,
    .info-block.reverse .info-text {
        order: 1 !important;
        text-align: center;
    }
    .campus-info .info-text {
        display: contents;
    }
    .campus-info .info-text h2 {
        order: 1;
        width: 100%;
        margin-bottom: 0;
    }
    .info-block .info-images,
    .info-block.reverse .info-images {
        order: 2 !important;
        display: flex !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .campus-info .info-images::-webkit-scrollbar {
        display: none;
    }
    .campus-info .info-images img {
        flex: 0 0 calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2) !important;
        height: clamp(170px, 50vw, 225px) !important;
        object-fit: cover !important;
        border-radius: 15px !important;
        scroll-snap-align: start;
    }
    .campus-info .info-gallery-dots {
        order: 3;
        display: flex;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }
    .campus-info .info-gallery-dots .photo-dot {
        padding: 0;
    }
    .campus-info .info-list {
        order: 4;
        width: 100%;
    }
    .info-text h2 {
        font-size: 32px !important;
    }

    .facts-section {
        display: block !important;
    }
    .facts-section-disp {
        display: none !important;
    }
    .facts-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px;
    }
    .fact-card {
        height: 200px;
    }
    .fact-number {
        font-size: 60px;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .carousel-nav-btn {
        display: none !important;
    }

    .program-section .wide-program-grid {
        display: block;
        width: 100%;
        margin-bottom: 32px;
    }

    .program-section .program-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }
    .program-section .program-card-wide {
        width: 100% !important;
        height: 200px !important;
        border-radius: 16px !important;
    }
    .program-section .program-card-wide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .program-section .card-overlay-wide {
        padding: 12px !important;
    }
    .program-section .card-overlay-wide h3 {
        font-size: 17px !important;
        margin-bottom: 5px !important;
    }
    .program-section .card-overlay-wide p {
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .excursions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .accommodation-section > .container > h2.section-title {
        display: none !important;
    }
    .photo-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 10px 0 20px 0 !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .photo-grid::-webkit-scrollbar {
        display: none !important;
    }
    .photo-item {
        flex: 0 0 calc(50% - 6px) !important;
        min-width: calc(50% - 6px) !important;
        scroll-snap-align: start !important;
    }
    .photo-item img {
        object-fit: cover !important;
        border-radius: 12px !important;
    }
    .city-title {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }
    .accommodation-info p {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
    .photo-carousel-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        scrollbar-width: none;
    }
    .photo-carousel-track::-webkit-scrollbar {
        display: none;
    }
    .photo-carousel-track .photo-item {
        flex: 0 0 calc(100% - 20px);
        scroll-snap-align: start;
    }
    .photo-carousel-dots {
        display: flex;
    }

    .program-details-section .card-image-side {
        display: none !important;
    }
    .program-details-section .campus-card-split {
        height: auto !important;
        flex-direction: column;
    }
    .program-details-section .card-text-side {
        text-align: center;
        padding: 30px 20px;
    }
    .price-and-savings {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .savings-card {
        justify-content: center;
        text-align: left;
    }
    .price-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .new-p {
        font-size: 38px;
    }
    .price-badge {
        margin-left: 0;
        padding: 10px 20px;
        height: auto;
        font-size: 14px;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
    .details-photos {
        display: none;
    }
    .details-excluded-card {
        padding: 25px 20px;
    }
    .campus-split-column {
        gap: 20px;
        margin-top: 20px;
    }
    .campus-card-split {
        flex-direction: column;
        height: auto;
    }
    .card-image-side {
        height: 200px;
    }
    .card-image-side::after {
        display: none;
    }
    .card-text-side {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .card-text-side p {
        font-size: 18px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px 0;
    }
    .card-overlay-wide h3 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #ffffff;
    }

    .wide-program-grid {
        display: flex;
        gap: 8px;
        margin-top: 20px;
        margin-bottom: 60px;
    }

    .fact-text {
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .review-card {
        flex-direction: column;
    }
    .review-image {
        flex: 0 0 auto;
        width: 100%;
    }
    .review-image img {
        max-height: 350px;
    }
    .review-content {
        flex: 0 0 auto;
        padding: 30px 25px;
        text-align: center;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .team-card-image {
        width: 100%;
        max-width: 250px;
        margin: 0 auto 20px;
    }
    .team-role,
    .team-name {
        text-align: center !important;
        width: 100%;
    }
    .team-bio {
        text-align: left !important;
        padding: 0 10px;
        line-height: 1.5;
        font-size: 18px;
    }

    .projects-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .projects-grid::-webkit-scrollbar {
        display: none;
    }
    .projects-grid .project-item {
        flex: 0 0 74%;
        height: 360px;
        scroll-snap-align: start;
    }
    .projects-grid .project-content {
        top: 95px;
        bottom: auto;
    }

    .telegram-review-wrapper {
        flex-direction: column;
    }
    .photo-grid-quad {
        display: none;
    }
    .telegram-info-block {
        margin-left: 0;
        width: 100%;
    }
    .qr-container-simple {
        width: 200px;
        height: 200px;
    }

    .collab-main-container {
        flex-direction: column;
        margin-left: 0;
        gap: 20px;
    }
    .collab-image-mini {
        display: none;
    }
    .ca-mini-list {
        gap: 10px;
    }
    .ca-mini-list .dot {
        display: none;
    }
    .collab-cards-mini {
        flex-direction: column;
    }
    .bonus-line {
        flex-direction: column;
        text-align: center;
    }

    .project-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-gallery {
        display: none;
    }
    .about-title {
        font-size: 38px !important;
        line-height: 1.2 !important;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 30px !important;
        padding-left: 15px;
    }
    .footer-col {
        align-items: flex-start !important;
    }
    
    .hide-on-mobile {
        display: none !important;
    }

    .footer-title{
        display: none;
    }

    .footer-qr-wrapper img{
        display: none;
    }

    .footer-social-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    .btn-capsule {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        background-color: #ffffff;
        color: #1a2a4f !important;
        padding: 10px 20px;
        border-radius: 50px;
        text-decoration: none;
        font-family: sans-serif;
        font-size: 18px;
        font-weight: 550;
        width: fit-content;
        min-width: 180px;
        transition: transform 0.2s ease, background-color 0.2s ease;
    }
    .btn-capsule i {
        font-size: 20px;
        margin-right: 12px;
        color: #1a2a4f;
    }
    .btn-capsule:hover {
        background-color: #f0f0f0;
        transform: translateY(-2px);
    }
    .footer-logo img {
        margin: 0 0 -25px 0 !important;
    }
    .footer-description {
        margin: 0 !important;
        font-size: 18px;
    }

    .media-carousel {
        margin: 0px -30px !important;
    }
    .carousel-slide {
        padding: 0px !important;
    }
    .media-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0px !important;
        width: 100% !important;
    }
    .media-grid-item {
        width: 100% !important;
        height: 180px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }
    .media-grid-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .grid-2, .grid-3, .grid-4, .features-grid, .campus-grid, .excursions-grid, .stats-grid, .reports-grid, .program-row {
        gap: 20px;
        grid-template-columns: 1fr !important;
    }
    .campus-card {
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .campus-card img {
        width: 100% !important;
        height: 270px !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
    }
    .campus-card h3 {
        width: 100%;
        box-sizing: border-box;
        padding: 0 12px;
        margin: 12px 0 8px;
        font-size: 22px;
    }

    .project-content {
        left: 15px;
        right: 15px;
        
    }
   
    #features .card-image-side {
        display: none !important;
    }
    .details-photos, .photo-grid-quad, .collab-image-mini, .about-gallery {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .header-contact {
        margin-left: 5px;
    }
    .header-telegram {
        width: 38px;
        height: 38px;
    }
    .memories-grid {
        grid-template-columns: 1fr;
    }
    .memory-video-item video {
        height: 200px;
    }
    .memories-carousel {
        padding: 0 35px;
    }
    .steps-banner {
        height: 140px;
        margin-bottom: 25px;
    }
    .step-item {
        padding: 15px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .step-content h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    .step-content p {
        font-size: 18px;
    }
    .photo-grid-quad {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 15px;
    }
    .quad-photo-item {
        height: 200px;
    }
    .qr-container-simple {
        width: 180px;
        height: 180px;
    }
    
    .scan-label {
        font-size: 22px;
    }
    .program-features-flex {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 450px) {
    .hero-photos {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .hero-photos img {
        width: calc(50% - 5px) !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    .steps-banner {
        height: 100px;
    }
}

@media (max-width: 400px) {
    .steps-banner {
        height: 100px;
    }
    .step-item {
        padding: 12px;
    }
    .photo-grid-quad {
        max-width: 250px;
    }
    .quad-photo-item {
        height: 170px;
    }
    .qr-container-simple {
        width: 150px;
        height: 150px;
    }
    
}

/* ============================================================
   26. SPECIAL: списки на мобильных
   ============================================================ */
.mobile-list {
    display: none;
}

@media (max-width: 768px) {
    .web-text {
        display: none !important;
    }
    .mobile-list {
        display: block !important;
        list-style-type: disc !important;
        padding-left: 20px !important;
        text-align: left !important;
    }
    .mobile-list li {
        display: list-item !important;
        text-align: left !important;
        margin-bottom: 12px !important;
        font-size: 18px !important;
    }
    .info-list {
        list-style-type: disc !important;
        padding-left: 20px !important;
        text-align: left !important;
    }
    .info-list li {
        display: list-item !important;
        text-align: left !important;
        margin-bottom: 12px !important;
        font-size: 20px !important;
    }
    .accommodation-list {
        list-style-type: disc !important;
        padding-left: 20px !important;
        margin-top: 20px !important;
    }
    .accommodation-list li {
        display: list-item !important;
        text-align: left !important;
        font-size: 18px !important;
    }
    .info-block.reverse {
        flex-direction: column !important;
    }
    .campus-title {
        font-size:  clamp(2px, 6vw, 24px) !important;
        margin-bottom: 30px !important;
    }


    
    .schedule-table {
        min-width: 100%;
        font-size: 12px;
    }
    .schedule-wrapper {
        overflow-x: scroll;
    }
    
    
}

/* ============================================================
   27. ANIMATIONS & APPEAR
   ============================================================ */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.appear {
    opacity: 1;
    transform: translateY(0);
}




@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

:root {
  --ink: #242927;
  --muted: #68716a;
  --red: #bb503d;
  --red-deep: #953d2e;
}

.hero-left {
  padding: 46px 0 18px;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}

.hero-date {
  display: inline-block;
  padding-left: 0;
  padding-right: 0;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-date::before {
  content: none;
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 1px;
  background: currentColor;
}



.hero-left h1 span {
  display: block;
  color: var(--red);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.hero-text {
  margin: 0 0 18px;
  color: #515b55;
  line-height: 1.75;
  font-family: Georgia, serif;
}

.hero-text strong,
.hero-university strong {
  color: var(--ink);
}

.hero-university {
  max-width: 520px;
  margin: 0 0 14px;
  padding-left: 37px;
  color: var(--muted);
  line-height: 1.6;
}



.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 26px 0 18px;
  color: #515b55;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.75;
}

.hero-badges i {
  color: var(--red);
}

.hero-note {
  margin: 5px 0 22px;
  color: #858c83;
  font-size: 10px;
}



.btn-main:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-left {
    padding: 35px 0 10px;
    text-align: left;
  }

  .hero-date {
    margin-bottom: 20px;
    font-size: 10px;
  }

  

  .hero-text,
  .hero-university {
    font-size: 14px;
  }

  .hero-badges {
    justify-content: flex-start;
    font-size: 11px;
  }

  .hero-photos img {
    width: 105px;
    height: 75px;
  }

  .btn-main {
    margin-bottom: 22px;
  }
}


#schedule {
  display: none;
}

/* Shared heading style across the main page sections. */
main > section .section-title {
  font-size: clamp(30px, 3.2vw, 42px) !important;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-align: center !important;
}

@media (max-width: 768px) {
  main > section .section-title {
    font-size: clamp(28px, 6vw, 32px) !important;
  }
}

/* Responsive layout for the three QR codes in the camp review section. */
.telegram-review-section .qr-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(6px, 1.5vw, 18px);
  width: 100%;
  align-items: start;
}

.telegram-review-section .qr-item {
  min-width: 0;
}



.telegram-review-section .qr-container-simple {
  width: min(100%, 200px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
}

.telegram-review-section .qr-img-fixed {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* The source images have different built-in whitespace around the codes. */
.telegram-review-section .qr-item:first-child .qr-img-fixed {
  transform: translateY(4%);
}

.telegram-review-section .qr-item:nth-child(2) .qr-img-fixed {
  transform: translateY(-1.5%);
}

.telegram-review-section .qr-item:last-child .qr-img-fixed {
  transform: scale(0.95);
}

.telegram-review-section .qr-subtext {
  max-width: 100%;
  margin: 18px auto 15px;
  text-align: center;
}

.telegram-review-section .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.telegram-review-section .btn .fa-telegram {
  flex: 0 0 auto;
}

.telegram-review-section .qr-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(80%, 180px);
  max-width: 100%;
  margin: 20px auto 0;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .telegram-review-section .scan-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5em;
    margin: 0 0 8px;
    line-height: 1.25;
    text-align: center;
  }

  .telegram-review-section .qr-link {
    margin-top: 16px;
    padding: 9px 7px;
    font-size: clamp(11px, 2.8vw, 13px);
    gap: 4px;
  }
}

@media (max-width: 768px) {
  .hero-left .location-title {
    align-self: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    text-align: left;
  }

  .hero-left .location-name {
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(17px, 4vw, 20px);
    line-height: 1.5;
  }

  .hero-left .hero-university {
    align-self: flex-start;
    width: 100%;
    margin: 4px 0 0 !important;
    padding-left: 37px;
    text-align: left;
  }

  .hero-left .hero-date {
    font-size: clamp(14px, 3.5vw, 17px);
    letter-spacing: 0.06em;
  }

  .hero-left .hero-badges {
    font-size: 17px;
    line-height: 1.4;
    gap: 8px;
  }

  .hero-left .hero-badges i {
    margin-right: 0;
  }

  #team .team-card-image {
    width: min(100%, 250px);
    max-width: 250px;
    margin: 0 auto 20px;
  }

  #team .team-card-image .image-placeholder {
    width: 100%;
    max-width: none !important;
    margin: 0 auto;
  }

  #team .team-card-image .image-placeholder span,
  #team .team-card-image .image-placeholder img {
    display: block;
    width: 100%;
  }

  #team .team-card-image .image-placeholder img {
    height: auto !important;
  }
}

/* Keep the moving photo strip at the same pace when Safari renders fewer frames. */
.time-driven-section {
  content-visibility: visible;
  will-change: auto;
}

.carousel-track.time-driven {
  animation: none;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .time-driven-section .carousel-track {
    animation: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 14px 0 32px;
  }

  .hero .hero-left {
    align-items: stretch !important;
    padding: 18px 0 8px;
    text-align: left !important;
  }

  .hero-left .hero-date {
    position: relative;
    align-self: flex-start;
    margin: 0 0 18px;
    padding: 0;
    font-size: clamp(15px, 3.2vw, 16px);
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-align: left;
  }

  .hero-left .hero-date::before {
    content: none;
  }

  .hero-left h1 {
    width: 100%;
    margin: 0 0 22px;
    font-size: clamp(42px, 7.2vw, 48px) !important;
    line-height: 1.48 !important;
    letter-spacing: -0.055em;
    text-align: left;
  }

  .hero-left .hero-text {
    width: 100%;
    margin: 0 0 22px !important;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(17px, 4vw, 20px) !important;
    line-height: 1.5;
    text-align: left;
  }

  .hero-left .location-title {
    gap: 10px;
    margin: 0;
  }

  .hero-left .hero-university {
    max-width: none;
    margin: 5px 0 0 !important;
    padding-left: 35px;
    font-size: 15px !important;
    line-height: 1.4;
  }

  .hero-left .hero-badges {
    align-self: flex-start;
    justify-content: flex-start !important;
    width: fit-content;
    margin: 20px 0 !important;
    padding: 9px 13px;
    border-radius: 999px;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(17px, 4vw, 20px);
    font-weight: 400;
    line-height: 1.5;
  }

  .hero-left .hero-note {
    align-self: flex-start;
    margin: -4px 0 22px;
    font-size: 11px;
    line-height: 1.4;
    text-align: left;
  }

  .hero-left .hero-photos {
    width: 100%;
    gap: 10px;
    margin: 0 0 22px;
  }

  .hero-left .hero-photos img {
    width: calc(50% - 5px) !important;
    height: auto !important;
    aspect-ratio: 1.2;
    object-fit: cover !important;
    transform: none !important;
    border-radius: 12px;
  }

  .hero-image-stack > img,
  .hero-image-bottom > img {
    display: none;
  }

  .hero-right {
    margin-top: 8px !important;
  }

  .hero-info {
    margin-top: 0 !important;
  }

}

.partner-extra-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(32px, 7vw, 110px);
    padding: 16px 24px 32px;
    background: #f5f6fb;
}

.partner-extra-logos img {
    display: block;
    width: min(38%, 240px);
    height: 70px;
    object-fit: contain;
}

@media (max-width: 520px) {
    .partner-extra-logos { gap: 20px; padding: 10px 12px 24px; }
    .partner-extra-logos img { width: calc(50% - 10px); height: 52px; }
}
.partner-gratitude-section { padding: 90px 0 105px; background: #f5f6fb; }
.partner-gratitude-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); align-items: center; gap: clamp(40px, 5vw, 90px); }
.partner-gratitude-copy, .partner-gratitude-gallery { min-width: 0; }
.partner-gratitude-kicker { margin: 0 0 20px; color: #c14f40; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.partner-gratitude-copy .section-title { text-align: left; }
#partner-gratitude-title { max-width: 100%; overflow-wrap: anywhere; }
.partner-gratitude-intro { max-width: 600px; margin: 24px 0 0; color: #55617b; font-size: 18px; line-height: 1.7; }
.partner-gratitude-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; width: 100%; max-width: 100%; }
.partner-gratitude-gallery a { display: block; overflow: hidden; background: white; border-radius: 16px; box-shadow: 0 20px 50px rgba(26, 42, 79, .1); }
.partner-gratitude-gallery img { display: block; width: 100%; height: auto; }
.partner-gratitude-gallery a:focus-visible { outline: 3px solid #c14f40; outline-offset: 5px; }
@media (max-width: 1180px) { .partner-gratitude-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } .partner-gratitude-gallery { max-width: 620px; } }
@media (max-width: 600px) { .partner-gratitude-section { padding: 65px 0 80px; } #partner-gratitude-title { font-size: clamp(26px, 6vw, 36px) !important; line-height: 1.2; } .partner-gratitude-intro { font-size: 16px; } .partner-gratitude-gallery { grid-template-columns: minmax(0, 1fr); max-width: 440px; } }

/* Program facts slider */
.facts-section .facts-grid {
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 22px;
}
.facts-section .facts-grid::-webkit-scrollbar { display: none; }
.facts-section .fact-card { grid-column: auto !important; scroll-snap-align: start; height: 320px; }
.facts-slider-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 40px; }
.facts-slider-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #cbd3e5; border-radius: 50%; background: white; color: #1a2a4f; font-size: 26px; line-height: 1; transition: background .2s, color .2s, border-color .2s; }
.facts-slider-arrow:not(:disabled):hover { background: #1a2a4f; border-color: #1a2a4f; color: white; }
.facts-slider-arrow:focus-visible { outline: 3px solid #5076c0; outline-offset: 3px; }
.facts-slider-arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 1100px) { .facts-section .facts-grid { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) {
    .facts-section .facts-grid { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
    .facts-section .fact-card { height: 235px; border-radius: 16px; }
    .facts-section .fact-content { right: 8px; bottom: 15px; left: 9px; }
    .facts-section .fact-number { font-size: clamp(44px, 12vw, 58px); }
    .facts-section .fact-text { font-size: clamp(12px, 3vw, 14px); line-height: 1.3; letter-spacing: 0; }
}
