/* === GARMONIYA STUPINO — Base Styles === */

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
    color: #365B6C;
    background-color: #E9F7FF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Ticker */
.ticker {
    position: relative;
    z-index: 200;
    width: 100%;
    height: 47px;
    background-color: #FF0000;
    overflow: hidden;
}

.ticker__track {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
    animation: ticker-scroll 30s linear infinite;
}

.ticker__text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    padding-right: 50px;
}

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

/* Header */
.header {
    position: absolute;
    top: 47px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
}

.header__grid {
    display: grid;
    grid-template-columns: calc(20% - 16px) calc(60% - 48px) calc(20% - 16px);
    column-gap: 40px;
    align-items: center;
}

.header__col--left {
    display: flex;
    align-items: center;
}

.header__logo {
    display: block;
}

.header__col--center {
    display: flex;
    justify-content: center;
}

.header__menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
}

.header__menu a {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #365B6C;
    text-align: center;
}

.header__col--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.header__phone {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: #365B6C;
}

.header__callback {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 13px;
    color: #365B6C;
}

/* Hero */
.hero {
    min-height: 908px;
    position: relative;
    overflow: hidden;
    padding-top: 200px;
    border-radius: 0 0 50% 50% / 0 0 150px 150px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroZoom 20s ease-out forwards;
    z-index: -1;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.04); }
}

.hero__container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
}

.hero__content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease 0.3s forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    margin-bottom: 50px;
}

.hero__text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 35px;
    color: #365B6C;
}

.hero__text p {
    margin-bottom: 5px;
}

.hero__text p:last-child {
    margin-bottom: 0;
}

.hero__form {
    position: relative;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__form-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero__input {
    width: 100%;
    max-width: 400px;
    height: 63px;
    padding: 0 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 42px;
    color: #7A7A7A;
    background: #FFFFFF;
    border: 1px solid #088ED0;
    border-radius: 99px;
    outline: none;
}

.hero__input::placeholder {
    color: #7A7A7A;
}

.hero__btn {
    width: 372px;
    height: 63px;
    margin-left: -100px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #FFFFFF;
    background: #088ED0;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.hero__btn:hover {
    background: #067ab8;
}

.hero__checkbox {
    display: flex;
    align-items: center;
    margin-top: 20px;
    cursor: pointer;
}

.hero__checkbox-input {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-right: 8px;
    background: #FFFFFF;
    border: 1px solid #767676;
    border-radius: 2.5px;
    cursor: pointer;
}

.hero__checkbox-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 42px;
    color: #7A7A7A;
}

.hero__image {
    /* Empty for now */
}

/* Section reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .hero__content,
    .hero::before,
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Promo Section */
.promo {
    padding: 80px 0;
}

.promo__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    text-align: center;
    margin-bottom: 60px;
}

/* Slider */
.slider {
    position: relative;
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}

.slider__wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.slider__track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider__slide {
    min-width: 100%;
    height: 460px;
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 40px;
    padding: 15px;
    background: #FFFFFF;
}

.slider__image {
    width: 430px;
    height: 430px;
    border-radius: 60px;
    overflow: hidden;
}

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

.slider__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.slider__heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    color: #365B6C;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.slider__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #365B6C;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 18px 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #FFFFFF;
    background: #088ED0;
    border-radius: 60px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s, background 0.3s;
}

.slider__btn:hover {
    background: #067ab8;
}

.slider__slide.is-active .slider__heading,
.slider__slide.is-active .slider__subtitle,
.slider__slide.is-active .slider__btn {
    opacity: 1;
    transform: translateY(0);
}

.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    color: #365B6C;
    transition: background 0.3s;
}

.slider__arrow:hover {
    background: #FFFFFF;
}

.slider__arrow--prev {
    left: 20px;
}

.slider__arrow--next {
    right: 20px;
}

.slider__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D9D9D9;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.slider__dot.is-active {
    background: #088ED0;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    text-align: center;
    margin-bottom: 60px;
}

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

.features__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.features__icon {
    margin-bottom: 20px;
}

.features__text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: #365B6C;
    text-align: center;
}

/* Genplan Section */
.genplan {
    min-height: 938px;
    background-image: url('../img/Backgroundmap.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
}

.genplan__container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: stretch;
    min-height: 938px;
}

.genplan__col {
    position: relative;
}

.genplan__col--left {
    width: 30%;
    z-index: 2;
    margin-right: -10%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.genplan__col--center {
    width: 60%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.genplan__col--right {
    width: 30%;
    z-index: 2;
    margin-left: -10%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.genplan__img-left {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.genplan__img-right {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 237px;
}

/* Tour Section */
.tour {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F9C826;
}

.tour__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 25px 85px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #54595F;
    background: #FFFFFF;
    border-radius: 60px;
    text-decoration: none;
    transition: transform 0.3s;
}

.tour__btn:hover {
    transform: scale(1.05);
}

.tour__btn-pulse {
    position: absolute;
    inset: 0;
    border: 1px solid #54595F;
    border-radius: 60px;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* CTA Section */
.cta {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta__container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}

.cta__form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__form-row {
    display: flex;
    align-items: center;
}

/* About Section */
.about {
    padding: 150px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 40px;
    align-items: center;
}

.about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    margin-bottom: 30px;
}

.about__text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #365B6C;
    margin-bottom: 20px;
}

.about__text:last-child {
    margin-bottom: 0;
}

.about__signature {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.about__signature-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #365B6C;
    text-align: right;
}

.about__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Houses Section */
.houses {
    padding: 80px 0;
}

.houses__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    margin-bottom: 40px;
}

/* Quiz Section */
.quiz {
    min-height: 806px;
    background-image: url('../img/qwiz.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

.quiz__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 48px;
    color: #FFFFFF;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 40px;
}

.quiz__title-accent {
    color: #BBDEFF;
}

.quiz__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 27px;
    line-height: 27px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 50px;
}

.quiz__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 55px;
    height: 58px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 58px;
    color: #FFFFFF;
    background: #088ED0;
    border-radius: 60px;
    text-decoration: none;
    transition: background 0.3s;
}

.quiz__btn:hover {
    background: #067ab8;
}

/* News Section */
.news {
    padding: 80px 0;
}

.news__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    margin-bottom: 40px;
}

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

/* Contacts Section */
.contacts {
    padding: 80px 0;
}

.contacts__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    margin-bottom: 80px;
}

.contacts__grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 49px;
}

.contacts__group {
    display: flex;
    flex-direction: column;
}

.contacts__heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 21px;
    color: #365B6C;
    margin-bottom: 16px;
}

.contacts__address {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #365B6C;
    margin-bottom: 20px;
}

.contacts__coords {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #365B6C;
}

.contacts__phone {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 21px;
    color: #365B6C;
    text-decoration: none;
}

/* Bottom Links Section */
.bottom-links {
    padding: 40px 0;
}

.bottom-links__grid {
    display: flex;
    gap: 15px;
}

.bottom-links__item {
    width: 25%;
    display: flex;
    flex-direction: column;
}

.bottom-links__photo {
    width: 100%;
    height: 364px;
    object-fit: cover;
    border-radius: 10px;
}

.bottom-links__info {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.bottom-links__name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #365B6C;
    margin-bottom: 20px;
}

.bottom-links__position {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    color: #365B6C;
    margin-bottom: 19px;
}

.bottom-links__phone {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #365B6C;
    text-decoration: none;
}

/* Payment Section */
.payment {
    padding: 80px 0;
}

.payment__grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
    align-items: center;
}

.payment__image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.payment__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    margin-bottom: 60px;
}

.payment__options {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.payment__option {
    display: flex;
    align-items: center;
    gap: 20px;
}

.payment__option-text {
    flex: 1;
}

.payment__option-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 32px;
    color: #365B6C;
    margin-bottom: 15px;
}

.payment__option-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    color: #365B6C;
}

.payment__option-icon {
    width: 90px;
    height: 91px;
    flex-shrink: 0;
}

.payment__option-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Map Section */
.map {
    padding: 80px 0;
}

.map__grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 40px;
}

.map__frame iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 637 / 1160;
    border: none;
}

.map__info {
    display: flex;
    flex-direction: column;
}

.map__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    margin-bottom: 40px;
}

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

.map__transport-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map__time {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
}

.map__desc {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #365B6C;
}

.map__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #FFFFFF;
    background: #088ED0;
    border-radius: 60px;
    text-decoration: none;
    transition: background 0.3s;
}

.map__btn:hover {
    background: #067ab8;
}

.map__contact {
    margin-top: 60px;
}

.map__contact-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 32px;
    color: #365B6C;
    margin-bottom: 40px;
}

.map__form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.map__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map__form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #7A7A7A;
}

.map__form-input,
.map__form-textarea {
    width: 100%;
    padding: 19px 17px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #7A7A7A;
    background: #FFFFFF;
    border: 1px solid #088ED0;
    border-radius: 20px;
    outline: none;
    transition: border-color 0.3s;
}

.map__form-input:focus,
.map__form-textarea:focus {
    border-color: #067ab8;
}

.map__form-textarea {
    min-height: 120px;
    resize: vertical;
}

.map__form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.map__form-checkbox-input {
    width: 18px;
    height: 18px;
    margin: 0;
    background: #FFFFFF;
    border: 1px solid #767676;
    border-radius: 2.5px;
    cursor: pointer;
}

.map__form-checkbox-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 40px;
    color: #7A7A7A;
}

.map__form-btn {
    width: 100%;
    height: 66px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #FFFFFF;
    background: #088ED0;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.map__form-btn:hover {
    background: #067ab8;
}

/* Footer */
.footer {
    height: 145px;
    background-color: #365B6C;
}

.footer .container {
    height: 100%;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    height: 100%;
}

.footer__col {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    color: #FFFFFF;
}

.footer__col--left {
    display: flex;
    align-items: center;
}

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

.footer__col--center a {
    color: #FFFFFF;
}

.footer__col--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Burger Button */
.burger {
    display: none;
    position: absolute;
    top: 67px;
    right: 20px;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #365B6C;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #E9F7FF;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-menu.is-open {
    right: 0;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-menu__list a {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #365B6C;
}

.mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu__contacts a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #365B6C;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.is-visible {
    display: block;
}

/* Responsive — Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .header__grid {
        grid-template-columns: calc(25% - 16px) calc(75% - 24px);
        column-gap: 40px;
    }
    
    .header__col--right {
        display: none;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer__col--right {
        grid-column: 1 / -1;
        align-items: center;
    }
}

/* Responsive — Mobile (up to 768px) */
@media (max-width: 768px) {
    .header__grid {
        grid-template-columns: auto 1fr;
        column-gap: 0;
    }
    
    .header__col--center {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding-bottom: 40px;
        border-radius: 0 0 50% 50% / 0 0 30px 30px;
    }

    .hero__title {
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 30px;
    }

    .promo__title {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 30px;
    }

    .features__title {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 30px;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
    }
    
    .hero__image {
        display: none;
    }
    
    .hero__form {
        width: 100%;
    }
    
    .hero__form-row {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero__input {
        max-width: 100%;
        padding: 0 20px;
        width: 100%;
    }
    
    .hero__btn {
        width: 100%;
        margin-left: 0;
    }
    
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .features__text {
        font-size: 18px;
        line-height: 22px;
    }
    
    .slider {
        width: 100%;
    }
    
    .slider__slide {
        grid-template-columns: 1fr;
        height: auto;
        padding: 20px;
        gap: 20px;
    }
    
    .slider__image {
        width: 100%;
        height: 250px;
    }
    
    .slider__heading {
        font-size: 24px;
        line-height: 30px;
    }
    
    .slider__arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider__arrow--prev {
        left: 10px;
    }
    
    .slider__arrow--next {
        right: 10px;
    }

    .genplan {
        min-height: auto;
    }

    .genplan__container {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        padding: 40px 1rem;
    }

    .genplan__col--left {
        width: 100%;
        margin-right: 0;
        align-items: center;
        justify-content: center;
    }

    .genplan__col--center {
        width: 100%;
    }

    .genplan__col--right {
        width: 100%;
        margin-left: 0;
        align-items: center;
        justify-content: center;
    }

    .genplan__img-right {
        margin-top: 40px;
    }

    .cta {
        height: auto;
        padding: 40px 0;
    }

    .cta__form-row {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .cta__form-row .hero__input {
        max-width: 100%;
        width: 100%;
    }

    .cta__form-row .hero__btn {
        width: 100%;
        margin-left: 0;
    }

    .quiz {
        min-height: auto;
        padding: 60px 0;
    }

    .quiz__title {
        font-size: 28px;
        line-height: 32px;
        white-space: normal;
    }

    .quiz__subtitle {
        font-size: 18px;
        line-height: 24px;
    }

    .contacts__grid {
        flex-direction: column;
    }

    .bottom-links {
        position: relative;
        overflow: hidden;
    }

    .bottom-links__grid {
        overflow: hidden;
        gap: 0;
    }

    .bottom-links__track {
        display: flex;
        transition: transform 0.4s ease;
        width: 100%;
    }

    .bottom-links__item {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .bottom-links__photo {
        width: 100%;
        height: 364px;
        object-fit: cover;
        display: block;
    }

    .bottom-links__nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
    }

    .bottom-links__arrow {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #088ED0;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        color: #FFFFFF;
    }

    .bottom-links__dots {
        display: flex;
        gap: 8px;
    }

    .bottom-links__dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #D9D9D9;
        border: none;
        cursor: pointer;
        transition: background 0.3s;
    }

    .bottom-links__dot.is-active {
        background: #088ED0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about__image {
        order: -1;
    }

    .about {
        padding: 60px 0;
    }

    .about__title {
        font-size: 26px;
        line-height: 30px;
    }

    .payment__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .payment__image img {
        height: 300px;
    }

    .payment__title {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 30px;
    }

    .payment__option-title {
        font-size: 22px;
        line-height: 26px;
    }

    .payment__options {
        gap: 30px;
    }

    .houses__title {
        font-size: 24px;
        line-height: 28px;
    }

    .news__title {
        font-size: 24px;
        line-height: 28px;
    }

    .news__list {
        grid-template-columns: 1fr;
    }

    .contacts__title {
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 40px;
    }

    .map__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map__frame iframe {
        aspect-ratio: 1 / 1;
        max-height: 400px;
    }

    .map__title {
        font-size: 24px;
        line-height: 28px;
    }

    .map__transport {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map__time {
        font-size: 28px;
        line-height: 32px;
    }

    .map__contact-title {
        font-size: 24px;
        line-height: 28px;
    }

    .hero__checkbox-label,
    .map__form-checkbox-label {
        font-size: 14px;
        line-height: 18px;
    }

    .footer {
        height: auto;
        padding: 30px 0;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer__col--left {
        justify-content: center;
    }
    
    .footer__col--center {
        align-items: center;
    }
    
    .footer__col--right {
        align-items: center;
    }
}

/* =========================================================
   Popup Notification
   ========================================================= */
.popup-notification {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-notification.is-visible {
    opacity: 1;
    visibility: visible;
}

.popup-notification__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.popup-notification__card {
    position: relative;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-notification.is-visible .popup-notification__card {
    transform: scale(1) translateY(0);
}

.popup-notification__close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #7A7A7A;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.popup-notification__close:hover {
    background: #f0f0f0;
    color: #365B6C;
}

.popup-notification__icon {
    margin-bottom: 24px;
}

.popup-notification__icon svg {
    display: inline-block;
}

.popup-notification__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    color: #365B6C;
    margin-bottom: 12px;
}

.popup-notification__text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #7A7A7A;
}

/* =========================================================
   News Archive Page (home.php)
   ========================================================= */
.news-page {
    padding: 160px 0 80px;
}

.news-page__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #365B6C;
    margin-bottom: 60px;
}

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

.news-card {
    display: flex;
    flex-direction: column;
}

.news-card__image-link {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: skeleton-fadeIn 0.4s ease forwards;
}

.news-card__image--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d1e8f5 0%, #b8ddf0 50%, #d1e8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card__image--placeholder::after {
    content: '';
    width: 48px;
    height: 48px;
    background: rgba(8, 142, 208, 0.15);
    border-radius: 50%;
    display: block;
}

.news-card__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #54595F;
    margin-bottom: 12px;
}

.news-card__title a {
    color: inherit;
    text-decoration: none;
}

.news-card__excerpt {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #777777;
    margin-bottom: 16px;
    flex: 1;
}

.news-card__more {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: #365B6C;
    text-decoration: underline;
}

.news-page__pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.news-page__pagination .nav-links {
    display: flex;
    gap: 10px;
}

.news-page__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #365B6C;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.news-page__pagination .page-numbers.current {
    background: #088ED0;
    color: #FFFFFF;
}

.news-page__pagination .page-numbers:hover:not(.current) {
    background: rgba(8, 142, 208, 0.1);
}

.news-page__empty {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #777777;
    text-align: center;
    padding: 60px 0;
}

/* =========================================================
   Single Post Page (single.php)
   ========================================================= */
.single-post {
    padding: 160px 0 80px;
}

.single-post__grid {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 40px;
}

/* Sidebar */
.single-post__sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.single-post__sidebar-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 21px;
    color: #365B6C;
    margin-bottom: 24px;
}

.single-post__sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.3s;
}

.sidebar-card:hover {
    opacity: 0.8;
}

.sidebar-card__image-wrap {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.sidebar-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: skeleton-fadeIn 0.4s ease forwards;
}

.sidebar-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d1e8f5 0%, #b8ddf0 50%, #d1e8f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-card__placeholder::after {
    content: '';
    width: 32px;
    height: 32px;
    background: rgba(8, 142, 208, 0.15);
    border-radius: 50%;
    display: block;
}

.sidebar-card__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: #365B6C;
}

/* Main content */
.single-post__thumbnail {
    width: 100%;
    min-height: 600px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.single-post__image {
    width: 100%;
    height: auto;
    display: block;
    animation: skeleton-fadeIn 0.4s ease forwards;
}

.single-post__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    color: #365B6C;
    margin-bottom: 16px;
}

.single-post__meta {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    color: #777777;
    margin-bottom: 30px;
}

.single-post__body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #365B6C;
}

.single-post__body p {
    margin-bottom: 20px;
}

.single-post__body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.single-post__body h2,
.single-post__body h3,
.single-post__body h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.single-post__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #088ED0;
    text-decoration: none;
    transition: opacity 0.3s;
}

.single-post__back:hover {
    opacity: 0.7;
}

/* Responsive — News Archive */
@media (max-width: 1024px) {
    .news-page__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-page {
        padding: 120px 0 60px;
    }

    .news-page__title {
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 30px;
    }

    .news-page__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-post {
        padding: 120px 0 60px;
    }

    .single-post__grid {
        grid-template-columns: 1fr;
    }

    .single-post__sidebar {
        position: static;
        order: 2;
    }

    .single-post__content {
        order: 1;
    }

    .single-post__title {
        font-size: 26px;
        line-height: 30px;
    }
}

/* =========================================================
   Skeleton & Loading Animations
   ========================================================= */
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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