

/* Start:/local/templates/prem-house_2026/css/style.css?1771395252102166*/
:root {
    /* --- Colors --- */
    --color-orange: #F58F32;
    --color-red: #F04F2F;
    --color-dark: #242D33;
    --color-white: #FFFFFF;
    --color-gray: #A5ABB0;
    --color-light-gray: #F2F4F5;
    
    /* --- Gradients --- */
    --bg-gradient: linear-gradient(90deg, var(--color-red) 0%, var(--color-orange) 100%);
    --bg-gradient-hover: linear-gradient(90deg, #d4452a 0%, #e68d26 100%);
    
    /* --- Typography --- */
    --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
    
    /* --- Spacing & Container --- */
    --container-width: 1240px;
    --container-padding: 20px;
    --transition: all 0.3s ease;
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-dark);
    line-height: 1.4;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Buttons & Interaction
   ========================================= */
button,
a,
.btn,
.slider-btn,
.play-btn,
.nav__link,
.header__social-link,
.social-link,
.widget-card,
.project-card,
.catalog-card,
.realization-card,
.house-card,
.tech-card,
.work-card,
.style-card,
.reputation-card,
.arch-item,
.logo {
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-white);
    background: var(--bg-gradient);
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    box-shadow: 0 4px 15px rgba(240, 79, 47, 0.4);
    transform: translateY(-1px);
}

.btn--icon {
    gap: 10px;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 6px;
}
@keyframes phone-shake {
    0% { transform: rotate(0); }
    15% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    45% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    75% { transform: rotate(2deg); }
    85% { transform: rotate(-2deg); }
    100% { transform: rotate(0); }
}

.btn:hover img[src*="phone.svg"] {
    animation: phone-shake 0.5s ease-in-out;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    background-color: rgba(36, 45, 51, 0.4);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header__top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
}

.header__contacts-group {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: 10px;
}

.header__contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
}

.header__contact-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.header__contact-item svg path {
    transition: fill 0.3s;
}

.email-contact a:hover svg path{
    fill: var(--color-orange);
}

.email-contact a:hover {
    color: var(--color-orange);
}

.header__socials {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-right: auto;

}

.header__social-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: var(--transition);
}

.header__social-link:hover {
    background: var(--bg-gradient);
}

.header__main-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.header__phone {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.header__phone:hover {
    color: var(--color-orange);
}

.header__bottom {
    padding: 10px 0;
}

.nav__list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nav__list > li {
    position: relative;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
}

.nav__link:hover {
    color: var(--color-orange);
}

.nav__arrow {
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__item--has-child.submenu-open .nav__arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav__link:hover .nav__arrow {
    opacity: 1;
}

/* =========================================
   DESKTOP SUBMENUS
   ========================================= */
.nav__item {
    position: relative;
}

.nav__item--has-child {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 260px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 100;
    transform: translateX(-50%) translateY(8px);
}

.submenu--wide {
    min-width: 300px;
}

.nav__item--has-child.submenu-open > .submenu,
.nav__item--has-child:hover > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__item--has-child.submenu-open > .nav__link--has-child::after {
    transform: rotate(180deg);
}

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

.submenu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.submenu__link:hover {
    color: var(--color-orange);
    background: rgba(245, 143, 50, 0.05);
}

.submenu__item--has-child {
    position: relative;
}

.submenu__arrow {
    opacity: 0.5;
    margin-left: auto;
    transition: opacity 0.2s ease;
}

.submenu__item--has-child.submenu-open > .submenu__link--has-child .submenu__arrow,
.submenu__item--has-child:hover > .submenu__link--has-child .submenu__arrow {
    opacity: 1;
}

.submenu--second {
    top: 0;
    left: 100%;
    transform: translateX(12px);
    min-width: 260px;
}

.submenu__item--has-child.submenu-open > .submenu--second,
.submenu__item--has-child:hover > .submenu--second {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.submenu__link svg {
    width: 8px;
    height: 12px;
    color: #ccc;
    transition: color 0.2s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.submenu__link:hover svg {
    color: var(--color-orange);
}

/* =========================================
   MOBILE SUBMENUS
   ========================================= */
.mobile-menu__link--has-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu__link--has-child::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 6px;
    background: url('/local/templates/prem-house_2026/css/local/templates/prem-house_2026/assets/icons/arrow_down.svg') no-repeat center / contain;
    transition: transform 0.3s ease;
    filter: brightness(0);
}

.mobile-menu__item--has-child.submenu-open > .mobile-menu__link--has-child::after {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.mobile-menu__item--has-child.submenu-open > .mobile-submenu {
    max-height: 500px;
    padding: 10px 0 10px 15px;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease;
}

.mobile-submenu li:last-child a {
    border-bottom: none;
}

.mobile-submenu li a:hover {
    color: var(--color-orange);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 240px 0 120px;
    color: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;    
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 100%;
    display: flex;
    transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    z-index: 0;
    transform: translateX(0%);
}

.hero__bg-link {
    width: 20%;
    height: 100%;
    display: block;
    position: relative;
}

.hero__slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

.hero__bg-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero__bg-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.hero::after {
    display: none;
}

.hero__container {
    position: relative;
    z-index: 2;
    min-height: 50vh;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: auto;
    pointer-events: none;
}

.hero__container > * {
    pointer-events: auto;
}

.hero__content {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 30px;
    row-gap: 20px;
}

.hero__content .btn {
    justify-self: end;
}

.hero__title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    max-width: 620px;
}

.hero__widgets {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 0;
    right: 0;
}

.widget-card {
    background: var(--color-white);
    color: var(--color-dark);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 75px;
    font-size: 7px;
    font-weight: 700;
    line-height: 1.3;
    gap: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.widget-card img {
    width: 28px;
    height: 28px;
}

.widget-card:hover { 
    transform: scale(1.05);
    box-shadow: 0 12px 45px rgba(0,0,0,0.25);
}

.hero__carousel {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    justify-items: end;
    align-items: center;
    gap: 15px;
}

.hero__carousel-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.hero__carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__carousel-dot {
    width: 15px;
    height: 25px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scaleX(1.1);
}

.hero__carousel-dot.active {
    background: var(--bg-gradient);
    width: 20px;
    height: 25px;
    border-color: var(--color-orange);
    transform: scaleX(1.15);
}

.hero__carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--color-orange);
    flex-shrink: 0;
}

.hero__carousel-btn:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    box-shadow: 0 4px 15px rgba(240, 79, 47, 0.4);
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

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

.stats__item {
    background: var(--bg-gradient);
    border-radius: 15px;
    padding: 25px 30px;
    color: var(--color-white);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.stats__number {
    font-size: 48px;
    font-weight: 900;
    line-height: 0.8;
}

.stats__text {
    font-size: 13px;
    line-height: 1.3;
    padding-top: 5px;
}

/* =========================================
   PROJECTS SLIDER
   ========================================= */
.projects {
    padding: 30px 0 30px;
} 

.projects__slider-wrapper {
    position: relative;
    padding: 0 60px;
}
 
.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FF9B31;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-btn--prev {
    left: -5px;
}

.slider-btn--next {
    right: -5px;
}

.slider-btn:hover {
    background: var(--color-red);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.projects-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.projects-slider .swiper-slide,
.individual-slider .swiper-slide,
.videoblog-slider .swiper-slide {
    width: 380px; 
    height: auto;
}

.reputation-slider .swiper-slide {
    width: 300px;
}

@media (max-width: 1240px) {
    .projects-slider .swiper-slide,
    .individual-slider .swiper-slide,
    .videoblog-slider .swiper-slide {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .projects-slider .swiper-slide,
    .individual-slider .swiper-slide,
    .videoblog-slider .swiper-slide,
    .reputation-slider .swiper-slide {
        width: 260px;
    }
}

.project-card {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border 0.3s ease;
    border: 3px solid transparent;
}

.project-card--active {
    border-color: var(--color-orange) !important;
    transform: scale(1.05);
}

.project-card:hover {
    transform: scale(1.02);
}

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

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1250px) {
    .container { max-width: 100%; padding: 0 40px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__widgets { right: 40px; }
    .hero__carousel { right: 40px; }
}

@media (max-width: 1600px) and (min-width: 1251px) {
    .hero__title {
        font-size: 25px;
        max-width: 1200px;
    }
}

@media (max-width: 991px) {
    .header__socials { display: none; }
    .header__contacts-group { display: none; }
    .nav__list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
    .hero__container { 
        flex-direction: column; 
        align-items: flex-start;
        width: 100%;
        min-height: auto;
        margin-top: auto;
    }
    .hero__content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .hero__content .btn {
        align-self: flex-start;
    }
    .hero { padding-top: 180px; padding-bottom: 60px; }
    .hero__widgets { 
        position: static;
        flex-direction: row; 
        margin-top: 30px;
        top: 10vh;
        width: 100%;
        justify-content: flex-start;
    }
    .hero__carousel {
        position: static;
        justify-items: start;
        margin-top: 30px;
    }
}

@media (min-width: 1300px) {
    .hero__widgets { right: 0; }
    .hero__carousel { right: 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero__title { font-size: 24px; }
    .hero__content { gap: 15px; }
    .hero__container { padding-bottom: 40px; }
    .stats__grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    .slider-btn--prev { left: -10px; }
    .slider-btn--next { right: -10px; }
    
    .hero__carousel-dot { 
        width: 15px;
        height: 25px;
     }
    .hero__carousel-dot.active { 
        width: 20px;
        height: 25px;
     }
    .hero__carousel-btn { width: 36px; height: 36px; }
    
    .widget-card { width: 70px; font-size: 7px; padding: 8px; }
    .widget-card img { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 20px }
    .hero__widgets { gap: 10px; }
    .widget-card { width: 60px; font-size: 7px; padding: 8px; }
    .widget-card img { width: 22px; height: 22px; }
    .hero__carousel-dots { gap: 6px; }
    .hero__carousel-dot { 
        width: 15px;
        height: 25px;
     }
    .hero__carousel-dot.active { 
        width: 20px;
    height: 25px;
     }
}

/* =========================================
   POPULAR PROJECTS
   ========================================= */
.popular-projects {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bg-gradient);
}

.catalog-grid {
    margin-bottom: 50px;
}

.catalog-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.catalog-card__image {
    position: relative;
}

.catalog-card__image img {
    width: 100%;
    display: block;
}

.catalog-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.catalog-card__badge--completed { background-color: #7DB921; }
.catalog-card__badge--process { background-color: #ff4e00; }
.catalog-card__badge--done { background-color: #8bc34a; }

.catalog-card__watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    pointer-events: none;
    letter-spacing: 2px;
}

.catalog-card__content {
    padding: 20px;
}

.catalog-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.catalog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-card__info {
    font-size: 16px;
    color: #F58F32;
    font-weight: 500;
}

.popular-projects__footer {
    display: flex;
    justify-content: center;
}

.btn--catalog {
   background: var(--bg-gradient);
   padding: 8px 18px;
   font-size: 14px;
   border-radius: 6px;
}

/* =========================================
   UNIFIED SWIPER/GRID: Desktop = grid, Mobile = swiper
   ========================================= */

/* Desktop only: override swiper to behave as grid */
@media (min-width: 651px) {
    .catalog-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        transform: none !important;
    }
    .swiper {   
        overflow: visible !important;
    }

    .built-houses-swiper .swiper-wrapper,
    .in-work-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        transform: none !important;
    }

    .brick-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        transform: none !important;
    }

    .catalog-swiper .swiper-slide,
    .built-houses-swiper .swiper-slide,
    .in-work-swiper .swiper-slide,
    .brick-swiper .swiper-slide {
        width: auto !important;
    }

    /* Hide pagination on desktop */
    .catalog-swiper .swiper-pagination,
    .built-houses-swiper .swiper-pagination,
    .in-work-swiper .swiper-pagination,
    .brick-swiper .swiper-pagination {
        display: none !important;
    }
}

@media (min-width: 651px) and (max-width: 1000px) {
    .catalog-swiper .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: swiper takes full control, no grid overrides */
@media (max-width: 650px) {
    .catalog-swiper,
    .built-houses-swiper,
    .in-work-swiper,
    .brick-swiper {
        overflow: hidden;
    }

    .section-title {
        font-size: 22px;
    }
}

/* =========================================
   UNIFIED MOBILE SWIPER PAGINATION
   ========================================= */
.catalog-swiper > .swiper-pagination,
.built-houses-swiper > .swiper-pagination,
.in-work-swiper > .swiper-pagination,
.brick-swiper > .swiper-pagination {
    position: relative;
    margin-top: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    bottom: auto;
}

.catalog-swiper > .swiper-pagination .swiper-pagination-bullet,
.built-houses-swiper > .swiper-pagination .swiper-pagination-bullet,
.in-work-swiper > .swiper-pagination .swiper-pagination-bullet,
.brick-swiper > .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

.catalog-swiper > .swiper-pagination .swiper-pagination-bullet-active,
.built-houses-swiper > .swiper-pagination .swiper-pagination-bullet-active,
.in-work-swiper > .swiper-pagination .swiper-pagination-bullet-active,
.brick-swiper > .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--color-orange);
    transform: scale(1.2);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/local/templates/prem-house_2026/assets/icons/background.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.about__container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0;
    padding-right: 0;
}

.about__content {
    flex: 1;
    max-width: 600px;
}

.about__list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
}

.about__list li {
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.about__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--bg-gradient);
    border-radius: 50%;
}

.about__description {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

.about__description p {
    margin-bottom: 12px;
}

.btn--about {
    padding: 16px 40px;
    border-radius: 12px;
}

.about__person {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    height: 550px;
}

.about__person-info {
    position: absolute;
    top: 5%;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.about__person-name {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--color-dark);
    line-height: 1.1;
    white-space: nowrap;
}

.about__person-rank {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.about__person-image {
    position: relative;
    z-index: 1;
    height: 100%;
}

.about__person-image img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 1600px) {
    .about__person-info {
        top: 8%;
        left: 0;
    }
    .about__person-name {
        font-size: 32px;
    }
    .about__person-rank {
        font-size: 15px;
    }
}

@media (min-width: 1024px) and (max-width: 1599px) {
    .about__person-info {
        left: 0;
    }
    .about__person-image img {
        width: auto;
        height: auto;
    }
    .about__person {
        height: auto;
    }
}

@media (max-width: 1024px) {
    .about__container {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .about__content {
        max-width: 100%;
        order: 2;
        padding: 0 var(--container-padding);
    }
    .about__list {
        margin-left: 20px;
        text-align: left;
    }
    .about__person {
        order: 1;
        height: 100%;
        justify-content: center;
        margin-left: 0;
    }
    .about__person-image {
        width: 100%;
        height: auto;
    }
    .about__person-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .about__person-info {
        top: 10%;
        left: 5%;
    }
    .about__person-name {
        font-size: 28px;
    }
    .about__person-rank {
        font-size: 14px;
        text-align: left;
    }
}
@media (max-width: 670px) {
    .about__person-info {
        top: 8%;
        left: 5%;
    }
    .about__person-name {
        font-size: 22px;
    }
    .about__person-rank {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .about__person-name {
        font-size: 16px;
    }
    .about__person-rank {
        font-size: 7px;
    }
}


/* =========================================
   REALIZATION SECTION
   ========================================= */
.realization {
    padding: 80px 0;
    background-color: white
}

.realization::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-image: url('/local/templates/prem-house_2026/css/local/templates/prem-house_2026/assets/icons/background.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.realization-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.brick-card,
.tech-card,
.reputation-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.realization-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.realization-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.realization-card__image-box {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eee;
}

/* Before/After Comparison Slider */
.comparison-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    --pos: 50%;
}

.comparison-slider__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
}

.comparison-slider__image--before {
    width: 100%;
    z-index: 10;
    clip-path: polygon(0 0, calc(var(--pos) + 5%) 0, calc(var(--pos) - 5%) 100%, 0 100%);
}

.comparison-slider__image--before img {
    width: 100%;
}

.comparison-slider__handle {
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: var(--pos);
    width: 2px;
    background: var(--color-orange);
    z-index: 20;
    pointer-events: none;
    transform: translateX(-50%) rotate(9deg);
}

.comparison-slider__handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-9deg);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255);
    border: 3px solid var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.comparison-slider__range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 30;
    margin: 0;
}

.comparison-slider__image--after {
    z-index: 5;
}

.comparison-slider__image--after {
    z-index: 5;
}

.realization-card__content {
    padding: 20px;
}

.realization-card__title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-dark);
    height: 42px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.realization-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.realization-card__info {
    font-size: 16px;
    color: #F58F32;
    font-weight: 500;
}

.btn--realization {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 4px;
}

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

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

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

/* =========================================
   INDIVIDUAL PROJECT SECTION
   ========================================= */
.individual {
    padding: 80px 0;
    position: relative;
    background: #fff;
}

.individual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/local/templates/prem-house_2026/assets/icons/background.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.individual .container {
    position: relative;
    z-index: 1;
}

.individual__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.individual__content {
    flex: 1;
    max-width: 550px;
}

.individual__text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

.individual__text p {
    margin-bottom: 15px;
}

.text-accent {
    color: var(--color-red);
    font-weight: 600;
}

.individual__image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.individual__image img {
    max-width: 600px;
    width: 100%;
}

.btn--individual {
    padding: 18px 60px;
    border-radius: 12px;
}

/* Slider Style */
.individual__slider-container {
    position: relative;
    margin-bottom: 60px;
}

.individual__slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.ind-card {
    display: block;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.ind-card__image {
    aspect-ratio: 16/10;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 8px;
}

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

.ind-card__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ind-card__location {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}

.ind-card__link {
    font-size: 13px;
    color: var(--color-orange);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.ind-card__link img {
    width: 12px;
    height: 12px;
}

/* Price Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.price-table thead {
    background: var(--bg-gradient);
}

.price-table thead th {
    color: #fff;
    text-align: left;
    padding: 9px 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.price-table tbody td {
    padding: 15px 25px;
    font-size: 14px;
    color: var(--color-dark);
    border-bottom: 1px solid #f0f0f0;
}

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

.price-table tbody tr td:nth-child(2) {
    font-weight: 600;
}

.price-table tbody tr td:last-child {
    font-weight: 700;
}

@media (max-width: 991px) {
    .individual__top {
        flex-direction: column;
        text-align: center;
    }
    .individual__content {
        max-width: 100%;
    }
    .individual__image {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .price-table thead th, .price-table tbody td {
        padding: 12px 15px;
        font-size: 10px;
    }
}

/* =========================================
   EXCURSION SECTION
   ========================================= */
.excursion {
    padding: 0;
    margin-top: 100px;
    background-color: transparent;
    position: relative;
    overflow: visible;
}

.excursion__container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 100%;
    margin: 0;
    padding-right: 0;
}

.excursion__content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.excursion__subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
}

.excursion__form-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--color-dark);
}

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

.excursion__input-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.excursion__input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    background: #f1f1f1;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
}

.excursion__input:focus {
    border-bottom-color: var(--color-orange);
}

@media (max-width: 600px) {
    .excursion__input-group {
        flex-direction: column;
        gap: 10px;
    }
}

.excursion__input::placeholder {
    color: #A5ABB0;
}

.excursion__submit-group {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.btn--excursion {
    min-width: 200px;
    padding: 16px 40px;
    border-radius: 10px;
}

.excursion__policy {
    font-size: 11px;
    line-height: 1.4;
    color: #888;
    max-width: 250px;
}

.excursion__policy a {
    text-decoration: underline;
}

.excursion__policy a:hover {
    color: var(--color-orange);
}

.excursion__image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.excursion__image img {
    max-width: 700px;
    width: 100%; 
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .excursion__container {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .excursion__content {
        max-width: 100%;
        padding: 0 var(--container-padding);
    }
    .excursion__image {
        margin-top: 40px;
        width: 100%;
    }
    .excursion__image img {
        transform: none;
        width: 100%;
    }
    .excursion__form {
        justify-content: center;
    }
    .excursion__submit-group {
        flex-direction: column;
        max-width: 300px;
        margin: 10px auto 0;
    }
    .excursion__policy {
        max-width: 100%;
    }
}

@media (min-width: 1250px) {
    .excursion__container {
        padding: 80px 0 0 calc((100vw + 40px - var(--container-width)) / 2) !important;
    }
    .about__container {
        padding: 80px 0 0 calc((100vw + 40px - var(--container-width)) / 2) !important;
    }
}

@media (min-width: 1960px) {
    .excursion__container {
        padding: 80px 0 0 160px !important;
    }
    .about__container {
        padding: 80px 0 0 160px !important;
    }
}


/* =========================================
   HOUSE TYPES SECTION
   ========================================= */
.house-types {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.house-types::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-image: url('/local/templates/prem-house_2026/css/local/templates/prem-house_2026/assets/icons/background.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.house-types__container {
    position: relative;
    z-index: 1;
}

.house-types__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.house-card {
    display: block;
    background: #FFFFFF;
    border: 1px solid #F0F0F0;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.house-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.1);
}

.house-card__image {
    height: 240px;
    overflow: hidden;
}

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

.house-card__content {
    padding: 25px;
}

.house-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 25px;
}

.house-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.house-card__price {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-orange);
}

.btn--small {
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 6px;
}

@media (max-width: 991px) {
    .house-types__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .house-types__grid {
        grid-template-columns: 1fr;
    }
    .house-card__image {
        height: 200px;
    }
}

/* =========================================
   TECHNOLOGIES SECTION
   ========================================= */
.technologies {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.tech__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card__image-wrapper {
    position: relative;
    height: 300px;
}

.tech-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #73B411;
    color: #fff;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.tech-card__content {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-card__title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-dark);
}

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

@media (max-width: 650px) {
    .tech__grid {
        grid-template-columns: 1fr;
    }
    .tech-card__image-wrapper {
        height: 250px;
    }
}

/* =========================================
   CALC SECTION
   ========================================= */
.calc {
    padding: 100px 0;
    background-color: #f2f4f5;
    position: relative;
    overflow: hidden;
}

.calc::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 2px 2px, #f0f0f0 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

.calc__container {
    position: relative;
    z-index: 1;
}

.calc__card {
    background: #fff;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.05);
    position: relative;
}

/* Gradient Border Effect */
.calc__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--bg-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.calc__content {
    flex: 1.2;
}

.calc__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.calc__subtitle {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.calc__text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.calc__cta {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-dark);
    margin-bottom: 40px;
}

.btn--calc {
    min-width: 220px;
    height: 60px;
    font-size: 18px;
}

.calc__image {
    flex: 1;
}

.calc__image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

@media (max-width: 1100px) {
    .calc__title { font-size: 38px; }
    .calc__subtitle { font-size: 26px; }
    .calc__card { padding: 40px; gap: 30px; }
}

@media (max-width: 991px) {
    .calc__card {
        flex-direction: column;
        text-align: center;
    }
    .calc__content { width: 100%; }
    .calc__image { width: 100%; max-width: 600px; margin-top: 30px; }
    .calc__text, .calc__cta { max-width: 600px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
    .calc { padding: 60px 0; }
    .calc__card { padding: 30px 20px; }
    .calc__title { font-size: 28px; }
    .calc__subtitle { font-size: 20px; }
}

/* =========================================
   VIDEOBLOG SECTION
   ========================================= */
.videoblog {
    padding: 100px 0;
    background-color: #f2f4f5;
}

.videoblog__top {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.videoblog__content {
    flex: 1;
}

.videoblog__text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

.videoblog__text span {
    color: var(--color-orange);
}

.videoblog__socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(240, 79, 47, 0.3);
}

.social-link img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.videoblog__main-video {
    flex: 1.5;
    margin: auto 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-width: 100%;
}

.videoblog__main-video img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: #FF0000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.play-btn::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #E60000;
}

.videoblog__slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.videoblog-slider {
    overflow: hidden;
}

.video-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
}

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

.video-card .play-btn {
    width: 48px;
    height: 34px;
    border-radius: 8px;
}

.video-card .play-btn::before {
    border-width: 6px 0 6px 10px;
}

@media (max-width: 1024px) {
    .videoblog__top {
        flex-direction: column;
    }
    .videoblog__main-video {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .videoblog { padding: 60px 0; }
    .videoblog__main-video { height: 250px; }
    .videoblog__socials { flex-wrap: wrap; }
    .videoblog__slider-wrapper { padding: 0 40px; }
}

/* =========================================
   IN WORK SECTION
   ========================================= */
.in-work {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.in-work::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-image: url('/local/templates/prem-house_2026/css/local/templates/prem-house_2026/assets/icons/background.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.in-work__grid {
    position: relative;
    z-index: 1;
}

.work-card {
    display: block;
    background: #fff;
    border: 1px solid #F0F0F0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.05);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.1);
}

.work-card__image {
    height: 250px;
    overflow: hidden;
}

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

.work-card__content {
    padding: 25px;
}

.work-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.work-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.work-card__stats {
    font-size: 16px;
    color: var(--color-orange);
    font-weight: 500;
}

.section-center {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.btn--center {
    padding: 10px 40px;
    font-size: 18px;
}

@media (max-width: 650px) {
    .work-card__image {
        height: 200px;
    }
}

/* =========================================
   ARCHITECTURE SECTION
   ========================================= */
.architecture {
    padding: 100px 0;
}

.architecture__container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.architecture__visual {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.architecture__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 2;
}

.badge-text {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.architecture__btn-pos {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 2;
}

.architecture__list {
    flex: 1;
    display: flex;
    margin: auto 0;
    flex-direction: column;
    gap: 15px;
}

.arch-item {
    background: #fff;
    border-radius: 12px;
    padding: 22px 30px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    border: 1.5px solid #FAD7B0;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arch-item--active {
    background: var(--bg-gradient);
    color: #fff;
}

.arch-item:not(.arch-item--active):hover {
    border-color: var(--color-orange);
    background: #fffaf5;
    transform: translateX(5px);
}

.arch-item__name {
    flex: 1;
}

.arch-item__price {
    white-space: nowrap;
    margin-left: 20px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .architecture__container {
        flex-direction: column;
    }
    .architecture__visual {
        width: 100%;
        height: 400px;
    }
    .architecture__list {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .architecture__badge {
        top: 15px;
        right: 15px;
        padding: 10px 15px;
    }
    .badge-text {
        font-size: 18px;
    }
    .arch-item {
        padding: 18px 20px;
        font-size: 15px;
    }
}

/* =========================================
   CONSULTATION SECTION
   ========================================= */
.consultation {
    padding: 100px 0;
    background-color: #f2f4f5;
    position: relative;
}

.consultation__container {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.consultation__content {
    flex: 1.2;
}

.consultation__subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
}

.consultation__form-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.consultation__form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.consultation__input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    background: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
}

.consultation__submit-group {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.consultation__person {
    flex: 1;
    position: relative;
    text-align: right;
}

.consultation__person img {
    width: 300px;
    height: auto;
    margin-left: auto;
    border-radius: 20px;
}

.consultation__person-info {
    position: absolute;
    top: 10px;
    right: 320px;
    text-align: left;
    white-space: nowrap;
    z-index: 2;
}

.consultation__name {
    font-size: 20px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.consultation__post {
    font-size: 15px;
    font-weight: 300;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.consultation__image {
    max-width: 550px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

@media (max-width: 1260px) {
    .consultation__person-info {
        position: static;
        text-align: right;
        margin-bottom: 20px;
    }
}

@media (max-width: 1100px) {
    .consultation__image {
        max-width: 400px;
    }
}

@media (max-width: 991px) {
    .consultation__container {
        flex-direction: column;
        text-align: center;
    }
    .consultation__content {
        order: 2;
    }
    .consultation__person {
        order: 1;
        text-align: center;
    }
    .consultation__person-info {
        text-align: center;
    }
    .consultation__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .consultation__form {
        justify-content: center;
    }
    .consultation__submit-group {
        flex-direction: column;
    }
}

/* =========================================
   HOUSE STYLES SECTION
   ========================================= */
.house-styles {
    padding: 120px 0;
    position: relative;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.house-styles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background-image: url('/local/templates/prem-house_2026/css/local/templates/prem-house_2026/assets/icons/background.svg');
    background-repeat: no-repeat;
    background-size: 2200px;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.house-styles .section-title {
    margin-bottom: 60px;
}

.house-styles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.style-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.style-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.style-card__image {
    position: relative;
    height: 250px;
}

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

.style-card__content {
    padding: 25px;
    background-color: #FFFFFF;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.style-card__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.style-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.style-card__stars {
    display: flex;
    gap: 4px;
}

.style-card__stars img {
    width: 24px;
    height: 24px;
    fill: var(--color-orange);
}

.style-btn {
    background: var(--bg-gradient);
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.style-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(245, 151, 43, 0.3);
}

@media (max-width: 1024px) {
    .house-styles__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .house-styles__grid {
        grid-template-columns: 1fr;
    }
    .style-card__image {
        height: 200px;
    }
}

/* =========================================
   REPUTATION SECTION
   ========================================= */
.reputation {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.reputation__slider-wrapper {
    position: relative;
    padding: 0 60px;
    margin-top: 50px;
}

.reputation-slider {
    overflow: hidden;
}

.reputation-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    position: relative;
    transition: var(--transition);
    z-index: 1;
}

/* Gradient border for reputation cards */
.reputation-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 1px;
    background: var(--bg-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
}

.reputation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.reputation-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: #FFB800;
}

.reputation-card__logo {
    max-width: 140px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 20px;
}

.reputation-card__link {
    font-size: 11px;
    color: #A5ABB0;
    text-decoration: underline;
    text-transform: lowercase;
}

@media (max-width: 600px) {
    .reputation { padding: 60px 0; }
    .reputation__slider-wrapper { padding: 0 40px; }
}

/* --- Gallery Section --- */
.gallery {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.gallery__header {
    margin-bottom: 40px;
}

.gallery__title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
}

.gallery__title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-orange);
}

.gallery__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.gallery__filter {
    padding: 6px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #444;
}

.gallery__filter:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.gallery__filter.active {
    background: var(--bg-gradient);
    border-color: var(--color-orange);
    color: #fff;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery__item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    animation: fadeIn 0.5s ease;
}

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

.gallery__item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 24px;
    font-weight: 300;
    text-transform: lowercase;
    pointer-events: none;
    letter-spacing: 1px;
}

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

@media (min-width: 1600px) {
    .gallery__filter {
        font-size: 20px;
    }
}

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

@media (max-width: 650px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    .gallery__title {
        font-size: 24px;
    }
    .gallery__filters {
        justify-content: center;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    cursor: default;
}

.lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox__close:hover {
    color: #F04F2F;
}

/* --- Questions Section --- */
.questions {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.questions::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-image: url('/local/templates/prem-house_2026/css/local/templates/prem-house_2026/assets/icons/background.svg');
    background-repeat: no-repeat;
    background-size: 2200px;
    background-position: center;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.questions__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.questions__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    grid-column: 1 / span 2;
    z-index: 1;
}

.questions__title {
    grid-column: 1 / -1;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.questions__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 250px;
    height: 2px;
    background: var(--bg-gradient);
}

.questions__subtitle {
    grid-column: 1 / -1;
    font-size: 14px;
    color: #444;
    margin-bottom: 40px;
}

.questions__form-left {
    display: flex;
    z-index: 1;
    flex-direction: column;
    gap: 20px;
}

.questions__form-mid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.questions__textarea {
    width: 100%;
    height: 300px;
    background: #F2F4F5;
    border: none;
    border-radius: 8px;
    padding: 20px;
    font-family: inherit;
    resize: none;
    z-index: 1;
}

.questions__input {
    width: 100%;
    background: #F2F4F5;
    border: none;
    border-radius: 8px;
    padding: 20px;
    z-index: 1;
    font-family: inherit;
}

.questions__file {
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.questions__file.dragging {
    border-color: var(--color-orange);
    background: rgba(230, 141, 38, 0.05);
}

.questions__file-main {
    pointer-events: none;
}

.questions__file-text {
    font-size: 13px;
    color: #666;
    z-index: 1;
    margin-top: 5px;
    pointer-events: none;
}

.questions__file-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: left;
    animation: fadeIn 0.3s ease;
}

.file-preview-icon {
    width: 32px;
    height: 32px;
    background: var(--color-orange);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    flex-shrink: 0;
}

.file-preview-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.file-preview-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-size {
    font-size: 11px;
    color: #999;
}

.questions__agreement {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

.questions__agreement a {
    text-decoration: underline;
}

.questions__agreement a:hover {
    color: var(--color-orange);
}

.questions__submit {
    height: 60px;
    width: 100%;
    font-size: 18px;
}

.questions__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Stylized Logo Icon */
.logo-graphic {
    width: 350px;
    height: 400px;
    margin: auto 0;
    position: relative;
}

.logo-graphic__part--1 { left: 0; top: 50px; opacity: 0.8; }
.logo-graphic__part--2 { left: 85px; top: 0; }
.logo-graphic__part--3 { left: 170px; top: 50px; opacity: 0.8; }

/* --- Footer --- */
.footer {
    padding: 100px 0 40px;
    background: #fff;
    color: #242D33;
    border-top: 1px solid #eee;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 120px;
    margin-bottom: 80px;
}

.footer__col-contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 400px;
}

.footer__phone-row {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
}

.footer__phone {
    font-size: 24px;
    font-weight: 800;
    transition: var(--transition);
}

.footer__phone:hover {
    color: var(--color-orange);
}

.footer__address, .footer__email {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer__email:hover {
    color: var(--color-orange);
}

.footer__email svg path {
    transition: fill 0.3s;
}
.footer__email:hover svg path {
    fill: var(--color-orange);
}

.footer__email img {
    width: 16px;
    height: auto;
}

.footer__rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.footer__rating-info {
    font-size: 12px;
    font-weight: 700;
}

.stars {
    display: inline-flex;
    gap: 2px;
    margin-left: 5px;
}

.star-icon {
    width: 12px;
    height: 12px;
}

.footer__qr {
    width: 60px;
    height: 60px;
}

.footer__socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-gradient);
    transition: all 0.3s;
}

.footer__social-link img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.footer__social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(240, 79, 47, 0.3);
}

.footer__social-link:hover img {
    opacity: 1;
}

.footer__phone-row .btn img {
    width: 14px;
    margin-right: 8px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 12px;
    color: #444;
    transition: color 0.3s;
}

.footer__link:hover {
    color: var(--color-orange);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 11px;
    color: #999;
}

.footer__bottom a:hover {
    text-decoration: underline;
    color: var(--color-orange);
}

@media (max-width: 1024px) {
    .questions__grid {
        grid-template-columns: 1fr 1fr;
    }
    .questions__visual {
        display: none;
    }
    .questions__form {
        grid-column: 1 / -1;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .questions__grid, .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer__col-contacts {
        text-align: center;
        min-width: auto;
        align-items: center;
    }
    .footer__phone-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* =========================================
   COMPANY INFO SECTION
   ========================================= */
.company-info {
    padding: 100px 0;
    background-color: white;
}

.company-info::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-image: url('/local/templates/prem-house_2026/css/local/templates/prem-house_2026/assets/icons/background.svg');
    background-repeat: no-repeat;
    background-size: 2200px;
    background-position: center;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

.company-info__grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.company-info__content {
    flex: 1.2;
}

.company-info__title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.company-info__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 200px;
    z-index: -1;
    height: 2px;
    background: var(--bg-gradient);
}

.company-info__text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}

.company-info__text .highlight {
    color: var(--color-orange);
    font-weight: 600;
}

.company-info__image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.company-info__btn {
    margin-top: 20px;
    padding: 18px 45px;
}

@media (max-width: 1024px) {
    .company-info__grid {
        flex-direction: column;
        text-align: center;
    }
    .company-info__title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .company-info__image {
        width: 100%;
        height: 350px;
    }
}

/* =========================================
   MOBILE MENU & ADAPTIVE HEADER
   ========================================= */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: #fff;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    color: var(--color-dark);
    overflow-x: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__content {
    padding: 30px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu__close {
    align-self: flex-end;
    font-size: 40px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.mobile-menu__nav .nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 15px;
    margin: 0 0 40px 0;
    padding: 0;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu__nav .nav__list > li {
    width: 100%;
    text-align: left;
}

.mobile-menu__nav .nav__link {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mobile-menu__nav .nav__link .nav__arrow,
.mobile-menu__nav .submenu__link .submenu__arrow {
    flex-shrink: 0;
}

.mobile-menu__nav .nav__item {
    position: static;
}

.mobile-menu__nav .nav__item.submenu-open > .nav__link .nav__arrow {
    transform: rotate(180deg);
}

.mobile-menu__nav .submenu,
.mobile-menu__nav .submenu.submenu--wide,
.mobile-menu__nav .submenu.submenu--second {
    position: static;
    left: auto;
    top: auto;
    right: auto;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    z-index: auto;
}

.mobile-menu__nav .nav__item--has-child.submenu-open > .submenu,
.mobile-menu__nav .nav__item.submenu-open > .submenu {
    max-height: 2000px;
    opacity: 1;
    padding-top: 10px;
    transform: none;
    visibility: visible;
}

.mobile-menu__nav .submenu__item--has-child.submenu-open > .submenu,
.mobile-menu__nav .submenu__item--has-child.submenu-open > .submenu--second,
.mobile-menu__nav .submenu__item.submenu-open > .submenu {
    max-height: 1000px;
    opacity: 1;
    padding-top: 5px;
    transform: none;
    visibility: visible;
}

.mobile-menu__nav .submenu__list {
    padding: 0 0 0 15px;
    margin: 0;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu__nav .submenu__item--has-child {
    position: static;
}

.mobile-menu__nav .submenu__link {
    font-size: 14px;
    padding: 8px 0;
    font-weight: 500;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    background: transparent;
}

.mobile-menu__nav .submenu__item.submenu-open > .submenu__link .submenu__arrow {
    transform: rotate(90deg);
}

.mobile-menu__nav .submenu .submenu__list {
    padding: 0 0 0 10px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu__footer {
    padding-top: 30px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.mobile-menu__phone {
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.mobile-menu__email {
    display: block;
    color: #666;
    margin-bottom: 10px;
    transition: var(--transition);
}

.mobile-menu__email:hover {
    color: var(--color-orange);
}

.mobile-menu__region {
    font-size: 14px;
    color: #999;
    margin-bottom: 25px;
}

.mobile-menu__socials {
    display: flex;
    gap: 15px;
}

.mobile-menu__socials img {
    width: 50px;
    height: 50px;
    fill: black;
    background: var(--bg-gradient);
    padding: 10px;
    border-radius: 10px;
}

body.no-scroll {
    overflow: hidden;
}

/* Media Queries for Header */
@media (max-width: 1300px) {
    .header__socials {
        display: none;
    }
}

@media (max-width: 1150px) {
    .header__contacts-group {
        display: none;
    }
}

@media (max-width: 991px) {
    .header__bottom {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .header__top-inner {
         padding-right: 20px;
       justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .header__phone {
        display: none; 
    }
    
    .header__main-info {
        gap: 10px;
        margin-right: 15px;
    }
    
    .mobile-menu {
        max-width: 100%;
    }
}

/* Mobile adaptation for Questions form order */
@media (max-width: 650px) {
    .questions__form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .questions__form-left,
    .questions__form-mid {
        display: contents;
    }
    
    .questions__textarea {
        order: 1;
    }
    
    .questions__input:nth-of-type(1) {
        order: 2;
    }
    
    .questions__input:nth-of-type(2) {
        order: 3;
    }
    
    .questions__input:nth-of-type(3) {
        order: 4;
    }
    
    .questions__file {
        order: 5;
    }
    
    .questions__submit {
        order: 6;
        width: 100%;
        margin-top: 0; 
    }
    
    .questions__agreement {
        order: 7;
        text-align: center;
        margin-top: -15px;
        font-size: 11px;
    }
}

@media (max-width: 460px) {
    .header__main-info .btn--sm {        
        display: none;
    }
}

/* =========================================
   CALCULATOR MODAL
   ========================================= */
.modal-calc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-calc.active {
    display: flex;
    opacity: 1;
}

.modal-calc__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-calc__container {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 800px;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1010;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-calc__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
}

.modal-calc__close:hover {
    color: var(--color-orange);
}

.modal-calc__title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.modal-calc__subtitle {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-dark);
}

/* Progress Bar */
.modal-calc__progress-bar {
    position: relative;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.modal-calc__progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #eee;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.modal-calc__progress-fill {
    height: 100%;
    background: var(--bg-gradient);
    width: 0%;
    transition: width 0.8s cubic-bezier(0.65, -0.35, 0.35, 1.35);
    border-radius: 2px;
}

.modal-calc__dots {
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.modal-calc__step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
    position: relative;
}

.modal-calc__step-dot::after {
    content: '';
    width: 14px;
    height: 14px;
    background: #eee;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #ccc;
    transition: all 0.5s cubic-bezier(0.65, -0.35, 0.35, 1.35);
}

.modal-calc__step-dot.active::after {
    background: var(--color-orange);
    box-shadow: 0 0 0 1px var(--color-orange);
}

.modal-calc__step-dot span {
    position: absolute;
    top: -25px;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.modal-calc__step-dot.active span {
    color: var(--color-orange);
    font-weight: 600;
}

/* Steps */
.modal-calc__step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.modal-calc__step.active {
    display: block;
}

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

/* Grid Materials */
.modal-calc__grid-materials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.calc-radio-card {
    cursor: pointer;
    position: relative;
    display: block;
}

.calc-radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.calc-radio-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: var(--transition);
}

.calc-radio-card__img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
}

.calc-radio-card__content img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #eee;
    transition: var(--transition);
}

.calc-radio-card__content span {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    transition: var(--transition);
}

.calc-radio-card__check {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #ddd;
    z-index: 2;
    transition: var(--transition);
}

.calc-radio-card input:checked + .calc-radio-card__content img {
    border-color: var(--color-orange);
    box-shadow: 0 5px 15px rgba(245, 151, 43, 0.2);
}

.calc-radio-card input:checked + .calc-radio-card__content span {
    color: var(--color-dark);
}

.calc-radio-card input:checked + .calc-radio-card__content .calc-radio-card__check {
    border-color: var(--color-orange);
    background: var(--color-orange);
}

.calc-radio-card input:checked + .calc-radio-card__content .calc-radio-card__check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* Grid Area - styled as list with toggles */
.modal-calc__grid-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.calc-radio-btn {
    cursor: pointer;
    display: block;
    position: relative;
}

.calc-radio-btn input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.calc-radio-btn__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: var(--transition);
    font-weight: 500;
    color: #333;
}

.calc-radio-btn__check {
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.calc-radio-btn__check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--color-orange);
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.calc-radio-btn input:checked + .calc-radio-btn__box {
    border-color: var(--color-orange);
    background: #fff;
    box-shadow: 0 4px 15px rgba(230, 141, 38, 0.1);
}

.calc-radio-btn input:checked + .calc-radio-btn__box .calc-radio-btn__check {
    border-color: var(--color-orange);
    background: #fff;
}

.calc-radio-btn input:checked + .calc-radio-btn__box .calc-radio-btn__check::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Input Group */
.modal-calc__input-group {
    max-width: 400px;
    margin: 0 auto 40px;
}

.modal-calc__input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.modal-calc__input:focus {
    border-color: var(--color-orange);
}

/* Controls */
.modal-calc__controls {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.modal-calc__controls button {
    padding: 15px 60px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn--outline-dark {
    border: 1px solid #e68d26;
    color: #666;
    background: transparent;
}

.btn--outline-dark:hover {
    color: #333;
    transform: translateY(-1px);
}

.btn--outline-dark:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-calc__grid-materials {
        grid-template-columns: 1fr 1fr;
    }
    .modal-calc__grid-area {
        grid-template-columns: 1fr;
    }
    .modal-calc__container {
        padding: 30px 20px;
    }
    .modal-calc__title {
        font-size: 20px;
    }
    .modal-calc__step-dot span {
        display: none;
    }
    .modal-calc__controls {
        flex-direction: column-reverse;
        gap: 12px;
    }
    .modal-calc__controls button {
        width: 100%;
        padding: 15px 0;
    }
}

/* =========================================
   BRICK MATERIALS SECTION
   ========================================= */
/* Brick grid is now handled by .brick-swiper .swiper-wrapper grid rules */

.brick-col__title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.brick-col__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brick-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.brick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.brick-card__img {
    position: relative;
}

.brick-card__img img {
    width: 100%;
    display: block;
}

.brick-card__content {
    padding: 20px;
}

.brick-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.brick-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brick-card__price {
    font-size: 16px;
    color: var(--color-orange);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .brick-swiper .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   LARGE SCREENS SUPPORT (1440px, 1600px, 1920px+)
   ========================================= */
@media (min-width: 1600px) {
    :root {
        --container-width: 1440px;
    }

    .hero__title {
        font-size: 30px;
        max-width: 1200px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (min-width: 1960px) {
    :root {
        --container-width: 1640px;
    }

    .section-title {
        font-size: 42px;
    }

    section, 
    .projects, 
    .about, 
    .built-houses, 
    .brick-materials, 
    .in-work, 
    .realization, 
    .videoblog, 
    .architecture, 
    .consultation, 
    .reputation, 
    .house-styles {
        padding: 80px 0 !important;
    }
}

@media (min-width: 1960px) {
    .container { max-width: 100%; padding: 0 160px; }
    .header__top-inner {
        height: 75px;
    }
    .header__top-inner .logo img {
        height: 65px;
    }
    .hero__content {
        margin-top: 100px;
    }
    .hero__content .hero__title { 
        font-size: 36px; 
        max-width: 1500px;
    }
    .hero__content button {
        font-size: 25px;
    }
    .hero__project-info {
        bottom: 10px;
    }
    .hero__project-info p {
        font-size: 24px;
    }
    .hero__project-link {
        font-size: 28px;
    }
    /* .header__top-inner .logo {
        margin-left: 35px;
    } */
     .header__contact-item a {
        font-size: 18px;
     }
    .hero__feature-item {
        font-size: 27px;
     }

     .header__main-info button {
        font-size: 18px;
     }
    .email-contact a {
        font-size: 18px;
    }
    .hero__widgets {
        right: 160px;
    }
    .nav__list li a{
        font-size: 20px;
    }
    .header__phone {
        font-size: 24px;
        margin-right: 50px;
    }
    .header__social-link {
        width: 40px;
        height: 40px;
    }
    .header__social-link img {
        width: 26px;
        height: 26px;
    }
    .hero__carousel {
        right: 160px;
    }
    .projects {
        padding: 20px 0 !important;
    }
    .popular-projects {
        padding: 40px 0 !important;
    }
    .popular-projects .container h2 {
        margin-bottom: 40px !important;
    }
    .popular-projects__footer a {
        font-size: 24px;
    }

    .catalog-card__image {
        width: 100%;
    }
    .catalog-card__title {
        font-size: 28px;
    }
    .catalog-card__info {
        font-size: 28px;
        margin-top: 20px;
    }
    .catalog-card__footer span {
        font-size: 24px;
    }
    .about {
        padding: 0 !important;
    }
    .about__container {
        margin-top: 80px;
    }
    .about__content {
        max-width: 800px; 
    }
    .section-title {
        margin-bottom: 20px;
    } 
    .about__list li {
        font-size: 20px;
        margin-bottom: 20px;
    }  
    .about__description { 
        font-size: 24px; 
        margin-top: 30px;
        line-height: 1.6;  
    }
    .about__content a {
        font-size: 24px;
    }
    .about__person-info {
        top: 8%;
        left: 6%;
    }
    .about__person-name {
        font-size: 44px;
    }
    .about__person-rank {
        font-size: 22px;
    }
    .about__person {
        max-width: 930px;
        margin-left: auto;
    }
    .about__person-image {
        max-width: 910px;
        max-height: 700px;
    }

    .work-card__image {
        height:280px;
        width: 100%;
    }
    .work-card__title {
        font-size: 28px;
    }
    .work-card__info {
        font-size: 28px;
        margin-top: 20px;
    }
    .work-card__bottom span {
        font-size: 24px;
    }
    .built-houses .section-center a{
        font-size: 25px;
    }
    .excursion {
        margin-top: 20px;
        padding-bottom: 60px;
    }
    .excursion__container {
        padding-top: 75px;
    }
    .section-title {
        margin-bottom: 60px;
    }
    .excursion__subtitle {
        font-size: 18px;
    }
    .excursion__form-title {
        font-size: 30px;
        margin-bottom: 80px;
    }
    .excursion__input-group {
        margin-bottom: 60px;
    }
    .excursion__submit-group button{
        font-size: 22px;
        padding: 20px 80px;
        margin-right: 50px;
    }

    .excursion__submit-group p {
        font-size: 13px;
    }
    .excursion__image img{
        max-width: 900px;
        height: 700px;
    }

    .brick-materials {
        padding-top: 40px !important;
    }

    .brick-card__img {
    }
    .brick-col__title {
        font-size: 38px;
    }
    .brick-card__content {
        padding: 15px 30px;
    }
    .brick-card__title {
        margin-top: 0;
        font-size: 30px;
    }
    .brick-card__price {
        font-size: 28px;
    }
    .brick-card__footer span {
        font-size: 20px;
    }
    .brick-col__items {
        gap: 45px;
    }
    .calc__card {
        padding: 85px 85px;
        align-items: start;
        gap: 0px;
    }
    .calc__content {
        flex: 1;
    }
    .calc__title {
        font-size: 66px;
        margin-bottom: 45px; 
    }
    .calc__subtitle {
        font-size: 50px;
        margin-right: 100px;
        margin-bottom: 20px; 
    }
    .calc__text {
        font-size: 20px;
        margin-right: 100px;
        margin-bottom: 20px;
    }
    .calc__cta {
        font-size: 18px;
        margin-right: 100px;
    }

    .in-work div h2 {
        margin-bottom: 35px;
    }
    .work-card__content {
        padding: 15px 30px;
    }

    .realization div h2 {
        margin-bottom: 35px;
    }
    .realization-card__image-box {
        aspect-ratio: 16/8;
    }
    .realization-card__title {
        font-size: 24px;
    }
    .realization-card__footer div {
        font-size: 24px;
    }
    .realization-card__footer a {
        font-size: 20px;
    }
    .realization__footer a {
        font-size: 20px;
    }

    .videoblog__top {
        margin-bottom: 0;
    }
    
    .videoblog__main-video {
        flex: 1.2;
        height: 500px;
    }
    .videoblog__text {
        font-size: 15px;
    }
    .videoblog__socials {
        gap: 35px;
        margin-top: 90px;
    }
    .videoblog__socials .social-link {
        width: 80px;
        height: 80px;
    }
    .videoblog__socials .social-link img {
        width: 40px;
        height: 40px;
    }

    .architecture {
        padding: 100px 0 !important;
    }
    .architecture__visual {
        height: 600px;
        max-width: 800px;
    }
    .architecture__visual img {
        width: 800px;
        height: 600px;
    }
    .architecture__badge div{
        font-size: 42px;
    }
    .architecture__list {
        margin: auto 35px;
    }
    .architecture__list div {
        padding: 25px 25px;
    }
    .architecture__list div span {
        font-size: 28px;
    }

    .consultation__container {
        gap: 0
    }
    .consultation__subtitle {
        margin-bottom: 60px;
    }

    .consultation__form-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .consultation__submit-group {
        margin-top: 20px;
    }

    .consultation__submit-group button {
        font-size: 22px;
        padding: 20px 80px;
        margin-right: 50px;
    }
    .consultation__submit-group p {
        font-size: 13px;
    }
    .consultation__person img {
        width: 400px;
    }
    .consultation__person-info {
        top: 0;
        left: 0%;
    }
    .consultation__name {
        font-size: 36px;
    }
    .consultation__post {
        font-size: 22px;
    }

    .company-info__title {
        font-size: 42px;
        margin-right: 160px;
        margin-bottom: 100px;
    }
    .company-info__text {
        font-size: 18px;
    }

    .company-info__content a {
        font-size: 24px;
        margin-top: 60px;
    }
    .company-info__image {
        height: 650px;
        min-width: 900px;
    }

    .built-houses {
        margin-top: 0;
        padding: 60px 0 !important;
    }
    
    .stats {
        padding: 20px 0 !important;
        margin-bottom: 40px;
    }
    .stats__item {
        padding: 25px 40px;
    }
    .stats__number {
        font-size: 70px;
    }
    .stats__text {
        font-size: 21px;
    }
    .stats__grid { grid-template-columns: repeat(4, 1fr); }
    .hero__project-info { right: 60px; }
}

/* =========================================
   CALLBACK / CONSULTATION MODAL
   ========================================= */
.modal-callback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-callback.active {
    display: flex;
    opacity: 1;
}

.modal-callback__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}

.modal-callback__container {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 480px;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 3010;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-callback__close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}

.modal-callback__close:hover {
    color: var(--color-orange);
}

.modal-callback__title {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.modal-callback__subtitle {
    font-size: 14px;
    text-align: center;
    color: #777;
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-callback__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-callback__input {
    width: 100%;
    padding: 16px 20px;
    background: #f2f4f5;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    outline: none;
}

.modal-callback__input:focus {
    border-color: var(--color-orange);
}

.modal-callback__input::placeholder {
    color: #A5ABB0;
}

.modal-callback__textarea {
    min-height: 80px;
    resize: vertical;
}

.modal-callback__submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 5px;
}

.modal-callback__policy {
    font-size: 11px;
    color: #999;
    text-align: center;
    line-height: 1.4;
}

.modal-callback__policy a {
    text-decoration: underline;
}

.modal-callback__policy a:hover {
    color: var(--color-orange);
}

@media (max-width: 520px) {
    .modal-callback__container {
        margin: 15px;
        padding: 35px 25px;
    }
    .modal-callback__title {
        font-size: 22px;
    }
}

/* =========================================
   THANK YOU MODAL
   ========================================= */
.modal-thanks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-thanks.active {
    display: flex;
    opacity: 1;
}

.modal-thanks__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}

.modal-thanks__container {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 3110;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

.modal-thanks__close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}

.modal-thanks__close:hover {
    color: var(--color-orange);
}

.modal-thanks__icon {
    margin-bottom: 25px;
}

.modal-thanks__icon svg {
    display: inline-block;
}

.modal-thanks__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.modal-thanks__text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-thanks__btn {
    min-width: 200px;
    padding: 14px 40px;
}

@media (max-width: 520px) {
    .modal-thanks__container {
        margin: 15px;
        padding: 40px 25px;
    }
}

/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2500;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner__content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cookie-banner__text {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    flex: 1;
}

.cookie-banner__text a {
    color: var(--color-orange);
    text-decoration: underline;
}

.cookie-banner__text a:hover {
    color: var(--color-red);
}

.cookie-banner__accept {
    flex-shrink: 0;
    padding: 12px 30px;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    .cookie-banner__accept {
        width: 100%;
    }
}

/* =========================================
   GALLERY MOBILE CATEGORY SWIPERS
   ========================================= */
.gallery__mobile {
    display: none;
}

.gallery__desktop {
    display: block;
}

@media (max-width: 768px) {
    .gallery__desktop {
        display: none;
    }

    .gallery__mobile {
        display: block;
    }

    .gallery__mobile .gallery__title {
        font-size: 26px;
        font-weight: 800;
        margin-bottom: 30px;
    }

    .gallery-cat {
        margin-bottom: 35px;
    }

    .gallery-cat__header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 12px;
    }

    .gallery-cat__title {
        font-size: 22px;
        font-weight: 700;
        color: var(--color-dark);
    }

    .gallery-cat__link {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        font-weight: 500;
        color: var(--color-dark);
        white-space: nowrap;
        transition: color 0.3s ease;
    }

    .gallery-cat__link:hover {
        color: var(--color-orange);
    }

    .gallery-cat__link svg {
        flex-shrink: 0;
    }

    .gallery-cat__swiper {
        border-radius: 12px;
        overflow: hidden;
    }

    .gallery-cat__swiper .swiper-slide img {
        width: 100%;
        display: block;
        border-radius: 12px;
        cursor: pointer;
    }

    .gallery-cat__swiper .swiper-pagination {
        position: relative;
        margin-top: 14px;
        display: flex;
        justify-content: center;
        gap: 6px;
    }

    .gallery-cat__swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #ddd;
        border-radius: 50%;
        opacity: 1;
        transition: all 0.3s ease;
    }

    .gallery-cat__swiper .swiper-pagination-bullet-active {
        background: var(--color-orange);
        transform: scale(1.2);
    }
}
/* End */


/* Start:/local/templates/prem-house_2026/styles.css?1770716614116*/
#bx-panel {
    z-index: 1995 !important;
}

section.gallery .gallery__grid {
	max-height:533px;
	overflow:hidden;
}
/* End */
/* /local/templates/prem-house_2026/css/style.css?1771395252102166 */
/* /local/templates/prem-house_2026/styles.css?1770716614116 */
