/* ============================================
   ГЛОБАЛЬНЫЕ СТИЛИ
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: #fff;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main {
    width: 100%;
}

/* ============================================
   КОНТЕНТНЫЕ СЕКЦИИ
   ============================================ */
.content-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 60px 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 300;
    color: #1a6fb5;
    color: #155991;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 15px;
    border: 1px solid;
    border-image: linear-gradient(90deg, #b4bfcf /*#8da0b7*/, #ffffff00) 100% 1;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}
@media (max-width: 992px) {
    .section-title {
        margin-bottom: 20px;
    }
}

/* ============================================
   ДВУХКОЛОНОЧНЫЙ МАКЕТ
   ============================================ */
.two-col {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.two-col.reverse {
    flex-direction: row-reverse;
}

.two-col.tablet-reverse {
    @media (max-width: 1024px) {
        display: flex;
        flex-direction: column-reverse !important;
    }
}

.col-text {
    flex: 1;
}

.col-text p {
    /* font-family: 'Courier New', monospace; */
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.col-text .lead-text {
    /* font-family: 'Courier New', monospace; */
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.col-image {
    flex: 1;
    width: 100%;
    min-height: 350px;
    background: #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    overflow: hidden;
}

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

.col-image.col-image-large {
    flex: 4;
}

/* ============================================
   СПИСКИ С КВАДРАТНЫМИ МАРКЕРАМИ
   ============================================ */
.square-list {
    list-style: none;
    padding: 0;
}

.square-list li {
    /* font-family: 'Courier New', monospace; */
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    padding-left: 20px;
    position: relative;
    margin-bottom: 12px;
}

.square-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #1a6fb5;
    font-size: 12px;
    top: 2px;
}




#rooms {
    background: #e0eefd;
}

.rooms {
    display: flex;
    flex-direction: column;
    gap: 50px;
}


/* ============================================
   НАЦПРОЕКТ (логотип внизу)
   ============================================ */
.national-project {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0;
    margin: 3em 0;
    border-top: 1px solid #eee;
    background: #607d8b;
    background: linear-gradient(130deg, #011329, #1162a752, #0c356a, #112842, #1162a79c), linear-gradient(30deg, #1162a7, #06367c, #2274ba, #000000);
}

.national-project-text {
    /* font-family: 'Courier New', monospace; */
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2em;
    color: #fff;
    flex: 1;
    @media (max-width: 1024px) {
        font-size: 20px;
    }
}

.national-project-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    max-width: 100%;
}

.np-title {
    font-size: 28px;
    font-weight: 300;
    color: #7ec8e3;
    letter-spacing: 1px;
}

.np-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #7ec8e3;
    padding: 8px 10px;
    line-height: 1.3;
    text-align: center;
}

/* ============================================
   ТРЁХКОЛОНОЧНЫЙ МАКЕТ (карточки)
   ============================================ */
.three-col {
    display: flex;
    gap: 30px;
}

.col-card {
    flex: 1;
}

.col-card .img-placeholder {
    min-height: 280px;
    margin-bottom: 20px;
}

.img-placeholder-square {
    aspect-ratio: 4/3;
    height: auto !important;
    min-height: auto !important;
}

.card-title {
    font-size: 28px;
    font-weight: 300;
    color: #1a6fb5;
    color: #155991;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.col-card .square-list li {
    margin-bottom: 10px;
}

/* ============================================
   ЗАГЛУШКИ ИЗОБРАЖЕНИЙ
   ============================================ */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: #d0d0d0;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* ============================================
   КОНТЕНТНЫЕ БЛОКИ (max-width 1180px)
   ============================================ */
.stage-section,
.gallery-section,
.bottom-gallery-section,
.footer-content {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 1024px) {
    .page-nav,
    .content-section {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .two-col,
    .two-col.reverse {
        flex-direction: column !important;
        gap: 30px;
    }

    .two-col.reverse {
        flex-direction: column-reverse !important;
    }
    
    .three-col {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 36px;

    }
    
    .national-project {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-nav,
    .content-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .card-title {
        font-size: 22px;
    }
    
    .np-title {
        font-size: 20px;
    }
}


/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 1024px) {
    .stage-section {
        flex-direction: column !important;
        padding: 40px 30px;
        gap: 30px;
    }
    
    .stage-title {
        font-size: 28px;
    }
    
    .gallery-section,
    .bottom-gallery-section,
    .footer-content {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    
    .gallery-row,
    .bottom-gallery-row {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .footer p {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* ============================================
   ЗАГОЛОВОК ПО ЦЕНТРУ
   ============================================ */
.section-title-center {
    text-align: center;
}

/* ============================================
   УСЛУГИ
   ============================================ */
.services-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.services-col {
    flex: 1;
}

.services-subtitle {
    font-size: 32px;
    font-weight: 300;
    color: #1a6fb5;
    color: #155991;
    text-align: center;
    text-align: left;
    margin-top: 1em;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.services-image {
    margin-top: 30px;
    min-height: 300px;
    background: #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    overflow: hidden;
}

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

/* ============================================
   СЕТКА ДОКУМЕНТОВ
   ============================================ */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.docs-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.doc-item {
    text-align: center;
}

.doc-image {
    background: #d0d0d0;
    border-radius: 4px;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.doc-caption {
    /* font-family: 'Courier New', monospace; */
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* ============================================
   CTA БЛОК (Хочу в кампус!)
   ============================================ */
.cta-block {
    text-align: center;
    margin-top: 60px;
    padding: 40px 0;
}

.cta-text {
    /* font-family: 'Courier New', monospace; */
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #1a6fb5;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 40px 60px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #145a94;
    transform: translateY(-2px);
}

/* ============================================
   ВРЕМЯ ЗАЕЗДА/ВЫЕЗДА
   ============================================ */
.checkin-info {
    margin-bottom: 40px;
}

.checkin-info p {
    /* font-family: 'Courier New', monospace; */
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

/* ============================================
   ТЕКСТ УСЛОВИЙ
   ============================================ */
.terms-text p {
    /* font-family: 'Courier New', monospace; */
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.terms-text strong {
    font-weight: 700;
    color: #222;
}

/* ============================================
   ЗАГЛУШКА
   ============================================ */
.placeholder-text {
    /* font-family: 'Courier New', monospace; */
    font-size: 15px;
    color: #999;
    text-align: center;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .docs-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .docs-grid,
    .docs-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .services-subtitle {
        font-size: 24px;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 16px 40px;
    }
}




/* ============================================
   ЭТАПЫ СТРОИТЕЛЬСТВА
   ============================================ */
.stage-section {
    padding: 60px 0 0;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.stage-section.reverse {
    flex-direction: row-reverse;
}

.stage-image {
    flex: 1;
    min-height: 350px;
    background: #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .stage-image.stage-image-1 {
        flex: 1.75;
    }
    .stage-image.stage-image-2 {
        flex: 1.75;
    }
    .stage-image.stage-image-3 {
        flex: 1.75;
    }
}

@media (max-width: 768px) {
    .stage-image.stage-image-1, 
    .stage-image.stage-image-2, 
    .stage-image.stage-image-3 {
        min-height: auto;
    }
}

.stage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    @media (max-width: 768px) {
        object-fit: contain;
    }
}

.stage-image .img-placeholder {
    @media (max-width: 768px) {
        min-height: auto;
    }
}

.stage-text {
    flex: 1;
    padding-top: 10px;
}

.stage-title {
    font-size: 36px;
    font-weight: 300;
    color: #1a6fb5;
    margin-bottom: 30px;
    letter-spacing: 1px;
    line-height: 1;
}

.stage-description {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.stage-description p {
    margin-bottom: 20px;
}




/* ============================================
   ГАЛЕРЕЯ ФОТО
   ============================================ */
.gallery-section {
    padding: 40px 0px 60px;
}

.gallery-date {
    text-align: center;
    font-size: 28px;
    color: #555;
    margin-bottom: 30px;
    @media (max-width: 768px) {
        font-size: 20px;
    }

}

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

.gallery-item {
    flex: 1;
    max-width: 380px;
    height: 320px;
    background: #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    
}

@media (max-width: 768px) {
    .gallery-item {
       max-width: 100%;
    }
}

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

/* ============================================
   НИЖНЯЯ ГАЛЕРЕЯ
   ============================================ */
.bottom-gallery-section {
    padding: 20px 0 80px;
}

.bottom-gallery-title {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
}

.bottom-gallery-row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.bottom-gallery-item {
    flex: 1;
    max-width: 500px;
    height: 350px;
    background: #d0d0d0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    @media (max-width: 768px) {
        max-width: 100%;
    }
}

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

.bottom-gallery-item .img-placeholder {
    min-height: auto;
}