
.nav__link--active {
	cursor: default;
}

.company__text--inc h2 {
    margin-top: 30px;
}

.company__text--inc ul, .company__text--inc ol {
	margin-top: 15px;
}

/* CLS Fix: предотвращаем сдвиг контента от калькулятора */
.calc {
    min-height: 400px;
}

/* CLS Fix: карта не сдвигает контент при загрузке */
.map {
    min-height: 300px;
    background: #f0f0f0;
}

/* CLS Fix: блок контактов */
.contacts__wrap {
    contain: layout style;
}

/* Мобильный nav в шапке */
.mobile-nav {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: #fff;
    justify-content: end;
    flex-wrap: wrap;
}
.mobile-nav__tel,
.mobile-nav__callback {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #EDEFF3;
    text-decoration: none;
    font-size: 14px;
    color: #22242A;
    font-family: "Inter-medium";
    transition: all 0.2s linear;
}
.mobile-nav__tel svg,
.mobile-nav__callback svg {
    flex-shrink: 0;
    stroke: #1671F9;
}
.mobile-nav__tel:hover,
.mobile-nav__callback:hover {
    background-color: #1671F9;
    color: #fff;
}
.mobile-nav__tel:hover svg,
.mobile-nav__callback:hover svg {
    stroke: #fff;
}
.mobile-nav__whatsapp,
.mobile-nav__telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #EDEFF3;
    text-decoration: none;
    transition: all 0.2s linear;
}
.mobile-nav__whatsapp svg {
    stroke: #25D366;
}
.mobile-nav__whatsapp:hover {
    background-color: #25D366;
}
.mobile-nav__whatsapp:hover svg {
    stroke: #fff;
}
.mobile-nav__telegram svg {
    stroke: #0088cc;
}
.mobile-nav__telegram:hover {
    background-color: #0088cc;
}
.mobile-nav__telegram:hover svg {
    stroke: #fff;
}
@media (max-width: 768px) {
    .mobile-nav {
        position: static;
        display: flex;
        justify-content: center;
        margin-left: 35px;
        padding-top: 5px;
    }
    .nav {
        top: 20px;
    }
    
}
@media (max-width: 575px) {
    .mobile-nav {
        position: static;
        margin-left: 21px;
        margin-top: 60px;
        margin-bottom: 5px;
    }
    .mobile-nav__callback{
        display: none;
    }
    
}
@media (max-width: 367px) {
    .mobile-nav .main-navigation__work {
       display: none;
    }
    
}

@media (min-width: 1400px) {
    .mobile-nav {
        display: none;
    }
}

/* ===========================
   HERO BLOCK
   =========================== */
.hero {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}
.hero__content {
    flex: 1;
}
.hero__title {
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
    font-family: "Inter-semibold";
    font-size: 32px;
    line-height: 1.3;
    color: #1D2229;
}
.hero__desc {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #6B7280;
    font-family: "Inter-medium";
}
.hero__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}
.hero__price span {
    font-size: 14px;
    color: #6B7280;
    font-family: "Inter-medium";
}
.hero__price strong {
    font-family: "Inter-semibold";
    font-size: 32px;
    color: #1671F9;
}
.hero__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.hero__actions .but {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: "Inter-semibold";
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s linear;
}
.hero__actions .but__icon {
    flex-shrink: 0;
}
.hero__actions .but.t1 {
    background-color: #1671F9;
    color: #ffffff;
    border: none;
}
.hero__actions .but.t1:hover {
    background-color: #3E8BFF;
}

.hero__actions .but.t2 {
    background-color: #fdfdfd;
    color: #3E8BFF;
    border: 1px solid #3E8BFF;
}
.hero__actions .but.t2:hover {
    background-color: #3E8BFF;
    color: #F8FAFD;
}
.hero__actions .callback {
    background-color: #ffffff;
    color: #1D2229;
    border: 1px solid #EDEFF3;
}
.hero__actions .callback:hover {
    border-color: #1671F9;
    color: #1671F9;
}
.hero__note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hero__note-item {
    display: inline-block;
    padding: 6px 14px;
    background-color: #F8FAFD;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 13px;
    color: #484c51;
    font-family: "Inter-medium";
}
.hero__img-wrap {
    position: relative;
    flex: 0 0 40%;
    max-width: 250px;
}
.hero__img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}
.hero__label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: #20C763;
    border-radius: 10px;
    font-family: "Inter-semibold";
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(32, 199, 99, 0.35);
}
.hero__label-icon {
    flex-shrink: 0;
}
@media (max-width: 991px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero__actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero__actions .but {
        flex: 1 1 auto;
        min-width: 200px;
    }
    .hero__note {
        justify-content: center;
    }
    .hero__img-wrap {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .hero__img-wrap{
        width: 50%;
    }
}
@media (max-width: 576px) {
    .hero__img-wrap{
        width: 90%;
    }
    .hero{
        gap: 15px;
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero__actions .but {
        width: 100%;
        padding: 14px 20px;
        font-size: 13px;
    }
    .hero__label {
        bottom: 12px;
        left: 12px;
        right: 12px;
        font-size: 12px;
        padding: 8px 14px;
        justify-content: center;
    }
}
@media (min-width: 576px) {
    .hero__title {
        font-size: 36px;
    }
}
@media (min-width: 992px) {
    .hero__title {
        font-size: 40px;
    }
}
@media (min-width: 1400px) {
    .hero__title {
        font-size: 44px;
    }
}
/* ================================================================
   PRICE TABLE — по образу стеклопакетов в калькуляторе
   ================================================================ */
.price-table {
    margin-bottom: 40px;
}
.price-table__title {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-family: "Inter-semibold";
    font-size: 28px;
    line-height: 1.4;
    color: #1D2229;
}
.price-table__wrap {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.price-table__wrap::-webkit-scrollbar {
    display: none;
}
.price-table__table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #EDEFF3;
    border-radius: 12px;
    overflow: hidden;
}
.price-table__table th,
.price-table__table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #EDEFF3;
    font-size: 14px;
}
.price-table__table th {
    background-color: #F0F7FF;
    font-family: "Inter-semibold";
    color: #1D2229;
    font-size: 13px;
}
.price-table__table td {
    color: #4B5563;
    font-family: "Inter-medium";
}
.price-table__table tr:last-child td {
    border-bottom: none;
}
.price-table__table tr:hover td {
    background-color: #F8FAFC;
}
@media (min-width: 576px) {
    .price-table__title {
        font-size: 32px;
        margin-bottom: 25px;
    }
}
@media (min-width: 992px) {
    .price-table__title {
        font-size: 36px;
    }
}

/* ================================================================
   WHATS INCLUDED — по образу .more_params-wrap
   ================================================================ */
.whats-included {
    margin: 40px auto;
}
.whats-included__title {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-family: "Inter-semibold";
    font-size: 28px;
    line-height: 1.4;
    color: #1D2229;
}
.whats-included__list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 20px;
}
.whats-included__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background-color: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #EDEFF3;
    font-size: 15px;
    font-family: "Inter-medium";
    color: #1D2229;
}
.whats-included__item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-color: #22C55E;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}
@media (max-width: 991px) {
    .whats-included__list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .whats-included__list {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 10px;
    }
    .whats-included__item{
        font-size: 14px;
        padding: 8px 18px;
    }
    .whats-included__title {
        font-size: 24px;
    }
}
@media (min-width: 576px) {
    .whats-included__title {
        font-size: 32px;
    }
}
@media (min-width: 992px) {
    .whats-included__title {
        font-size: 36px;
    }
}

/* ================================================================
   EXTRAS — по образу .more_params-wrap (адаптация)
   ================================================================ */
.extras {
    margin-bottom: 40px;
}
.extras__inner {
    background: linear-gradient(135deg, #F0F6FF 0%, #E8F1FD 50%, #F5F8FF 100%);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}
.extras__inner::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(22, 113, 249, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.extras__inner::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(22, 113, 249, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.extras__header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}
.extras__badge {
    display: inline-block;
    padding: 5px 16px;
    background-color: #1671F9;
    color: #ffffff;
    font-family: "Inter-semibold";
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
}
.extras__title {
    padding: 0;
    margin: 0 0 8px;
    font-family: "Inter-semibold";
    font-size: 28px;
    line-height: 1.3;
    color: #1D2229;
}
.extras__subtitle {
    margin: 0;
    font-family: "Inter";
    font-size: 15px;
    color: #6B7280;
    line-height: 1.5;
}
.extras__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}
.extras__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px 28px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid transparent;
    border-radius: 18px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}
.extras__item:hover {
    background-color: #ffffff;
    border-color: #1671F9;
    box-shadow: 0 4px 6px rgba(22, 113, 249, 0.06), 0 12px 28px rgba(22, 113, 249, 0.1);
    transform: translateY(-6px);
}
.extras__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    background: #ebf3ff;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.extras__item:hover .extras__icon {
    background: #ebf3ff;
    transform: scale(1.08);
}
.extras__name {
    display: block;
    font-family: "Inter-semibold";
    font-size: 15px;
    color: #1D2229;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 12px;
}
.extras__price {
    display: inline-block;
    padding: 5px 14px;
    font-family: "Inter-semibold";
    font-size: 14px;
    color: #1671F9;
    background-color: #ebf3ff;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.35s ease;
}
.extras__item:hover .extras__price {
    background-color: rgba(22, 113, 249, 0.12);
}
@media (max-width: 991px) {
    .extras__list {
        grid-template-columns: repeat(3, 1fr);
    }
    .extras__inner {
        padding: 40px 28px;
    }
}
@media (max-width: 575px) {
    .extras__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .extras__inner {
        padding: 32px 16px;
        border-radius: 18px;
    }
    .extras__title {
        font-size: 22px;
    }
    .extras__subtitle {
        font-size: 13px;
    }
    .extras__badge {
        font-size: 11px;
        padding: 4px 12px;
    }
    .extras__name {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .extras__item {
        padding: 24px 12px 20px;
        border-radius: 14px;
    }
    .extras__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 14px;
        border-radius: 13px;
    }
    .extras__icon svg {
        width: 28px;
        height: 28px;
    }
    .extras__price {
        font-size: 13px;
        padding: 4px 10px;
    }
}
@media (min-width: 576px) {
    .extras__title {
        font-size: 32px;
    }
}
@media (min-width: 992px) {
    .extras__title {
        font-size: 36px;
    }
}
@media (max-width: 400px) {
    .extras__list {
        grid-template-columns: 1fr;
    }
    .extras__name {
        margin-bottom: 0;
    }
}

/* ================================================================
   STAGES — по образу guarantee
   ================================================================ */
.stages {
    margin-bottom: 40px;
}
.stages__title {
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
    font-family: "Inter-semibold";
    font-size: 28px;
    line-height: 1.4;
    color: #1D2229;
}
.stages__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.stages__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    border: 1px solid #EDEFF3;
    border-radius: 12px;
}
.stages__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border: 2px solid #1671F9;
    color: #1671F9;
    border-radius: 50%;
    font-family: "Inter-semibold";
    font-size: 16px;
}
.stages__info h3 {
    padding: 0;
    margin: 0;
    margin-bottom: 6px;
    font-family: "Inter-semibold";
    font-size: 16px;
    color: #1D2229;
}
.stages__info p {
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    font-family: "Inter-medium";
}
@media (max-width: 991px) {
    .stages__list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    
    .stages__title {
        font-size: 24px;
    }
    .stages__info h3{
        font-size: 15px;
    }
    .stages__info p{
        font-size: 14px;
    }
    .stages__item{
        padding: 12px
    }
}
@media (min-width: 576px) {
    .stages__title {
        font-size: 32px;
    }
}
@media (min-width: 992px) {
    .stages__title {
        font-size: 36px;
    }
}

@media (max-width: 400px) {
    .stages__list {
        grid-template-columns: 1fr;
    }
    
    .stages__info p{
        font-size: 13px;
    }
}

/* ================================================================
   FAQ — по образу guarantee__item
   ================================================================ */
.faq {
    margin-bottom: 40px;
}
.faq__title {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-family: "Inter-semibold";
    font-size: 28px;
    line-height: 1.4;
    color: #1D2229;
}
.faq__list {
    display: grid;
    gap: 10px;
}
.faq__item {
    border: 1px solid #EDEFF3;
    border-radius: 12px;
    overflow: hidden;
}
.faq__question {
    padding: 16px 50px 16px 18px;
    margin: 0;
    font-family: "Inter-semibold";
    font-size: 15px;
    line-height: 1.4;
    color: #1D2229;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.2s ease;
}
.faq__question:hover {
    background-color: #F8FAFC;
}
.faq__question::-webkit-details-marker {
    display: none;
}
.faq__question::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.2s ease;
}
.faq__item[open] .faq__question::after {
    transform: translateY(-50%) rotate(180deg);
}
.faq__answer {
    padding: 0 18px 18px;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    font-family: "Inter-medium";
}
.faq__answer p {
    padding: 0;
    margin: 0;
}
@media (min-width: 576px) {
    .faq__title {
        font-size: 32px;
    }
    .faq__question {
        font-size: 16px;
    }
}
@media (min-width: 992px) {
    .faq__title {
        font-size: 36px;
    }
}

/* ================================================================
   RELATED SERVICES — по образу .services__slide
   ================================================================ */
.related-services {
    margin-bottom: 40px;
}
.related-services__title {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-family: "Inter-semibold";
    font-size: 28px;
    line-height: 1.4;
    color: #1D2229;
}
.related-services__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.related-services__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border: 1px solid #EDEFF3;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s linear;
}
.related-services__item:hover {
    border-color: #1671F9;
    box-shadow: 0px 10px 30px -10px rgba(40, 61, 90, 0.2);
}
.related-services__name {
    font-family: "Inter-semibold";
    font-size: 14px;
    color: #1D2229;
}
.related-services__price {
    font-family: "Inter-semibold";
    font-size: 13px;
    color: #1671F9;
}
@media (max-width: 991px) {
    .related-services__list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .related-services__list {
        grid-template-columns: 1fr;
    }
    .related-services__title {
        font-size: 24px;
    }
}
@media (min-width: 576px) {
    .related-services__title {
        font-size: 32px;
    }
}
@media (min-width: 992px) {
    .related-services__title {
        font-size: 36px;
    }
}

/* ================================================================
   COMPARISON TABLE — по образу .price-table__table
   ================================================================ */
.comparison {
    margin-bottom: 40px;
}
.comparison__title {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-family: "Inter-semibold";
    font-size: 28px;
    line-height: 1.4;
    color: #1D2229;
}
.comparison__wrap {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.comparison__wrap::-webkit-scrollbar {
    display: none;
}
.comparison__table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #EDEFF3;
    border-radius: 12px;
    overflow: hidden;
}
.comparison__table th,
.comparison__table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #EDEFF3;
    font-size: 13px;
}
.comparison__table th {
    color: #ffffff;
    font-family: "Inter-semibold";
    font-size: 13px;
}
.comparison__table td {
    color: #4B5563;
    font-family: "Inter-medium";
}
.comparison__table tr:last-child td {
    border-bottom: none;
}
.comparison__table tr:hover td {
    background-color: #F8FAFC;
}
.comparison__table thead tr:first-child {
    background: linear-gradient(89deg, #283D5A 15.68%, #395682 91.15%);
}

.comparison__table td:first-child {
    font-family: "Inter-semibold";
    color: #1D2229;
}
@media (min-width: 576px) {
    .comparison__title {
        font-size: 32px;
    }
    .comparison__table th,
    .comparison__table td {
        padding: 14px 20px;
        font-size: 14px;
    }
}
@media (min-width: 992px) {
    .comparison__title {
        font-size: 36px;
    }
}

/* ================================================================
   GUARANTEE TYPES — по образу .guarantee
   ================================================================ */
.guarantee-types {
    margin-bottom: 40px;
}
.guarantee-types__title {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-family: "Inter-semibold";
    font-size: 28px;
    line-height: 1.4;
    color: #1D2229;
}
.guarantee-types__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.guarantee-types__item {
    padding: 24px 20px;
    border: 1px solid #EDEFF3;
    border-radius: 12px;
}

.guarantee-types__item h3 {
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    font-family: "Inter-semibold";
    font-size: 16px;
    color: #1D2229;
}
.guarantee-types__item p {
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    font-family: "Inter-medium";
}
@media (max-width: 991px) {
    .guarantee-types__list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .guarantee-types__list {
        grid-template-columns: 1fr;
    }
    .guarantee-types__title {
        font-size: 24px;
    }
}
@media (min-width: 576px) {
    .guarantee-types__title {
        font-size: 32px;
    }
}
@media (min-width: 992px) {
    .guarantee-types__title {
        font-size: 36px;
    }
}

/* ================================================================
   CALCULATOR (новый) — по образу существующего калькулятора
   ================================================================ */
.calculator__steps {
    margin-bottom: 20px;
}
.calculator__nav {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #EDEFF3;
}
.calculator__nav .but {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: "Inter-medium";
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s linear;
}
.calculator__nav .calc-prev {
    background-color: #ffffff;
    color: #1D2229;
    border: 2px solid #EDEFF3;
}
.calculator__nav .calc-prev:hover {
    border-color: #1671F9;
    color: #1671F9;
}
.calculator__nav .calc-next {
    background-color: #1671F9;
    color: #ffffff;
    border: none;
}
.calculator__nav .calc-next:hover {
    background-color: #3E8BFF;
}
.calculator__result {
    padding: 30px;
    background-color: #F0F7FF;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
}
.calculator__result h3 {
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    font-family: "Inter-semibold";
    font-size: 18px;
    color: #1D2229;
}
.calculator__price {
    font-family: "Inter-semibold";
    font-size: 32px;
    color: #1671F9;
    margin-bottom: 10px;
}
.calculator__result p {
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #6B7280;
    font-family: "Inter-medium";
}
.calculator__result .but {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    margin-top: 15px;
    background-color: #1671F9;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: "Inter-medium";
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s linear;
    text-decoration: none;
}
.calculator__result .but:hover {
    background-color: #3E8BFF;
}

/* ================================================================
   NAVIGATION — кнопка «Рассчитать стоимость»
   ================================================================ */
.main-navigation__calc-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background-color: #1671F9;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Inter-semibold";
    font-size: 13px;
    transition: 0.3s linear;
}
.main-navigation__calc-link:hover {
    background-color: #3E8BFF;
}
.main-navigation__calc-link .main-navigation__callback-text span {
    color: #ffffff;
    font-family: "Inter-semibold";
}

/* ================================================================
   AUTO-HOVER ANIMATION — карточки в слайдере типовых размеров
   ================================================================ */
.serial_types .product__card {
    border: 1px solid #edeff3;
    border-radius: 16px;
    background-color: #ffffff;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.serial_types .product__card:hover,
.serial_types .product__card.is-auto-hovered {
    box-shadow: 0px 30px 30px -12px rgba(29, 34, 41, 0.07);
    border-color: transparent;
}
.serial_types .product__card .card__text-wrap p {
    transition: color 0.4s ease;
}
.serial_types .product__card:hover .card__text-wrap p,
.serial_types .product__card.is-auto-hovered .card__text-wrap p {
    color: #1D2229;
}
.serial_types .product__card .card__text-wrap h3 {
    transition: color 0.4s ease;
}
.serial_types .product__card:hover .card__text-wrap h3,
.serial_types .product__card.is-auto-hovered .card__text-wrap h3 {
    color: #1671F9;
}
.serial_types .product__card .card__img-wrap {
    transition: transform 0.4s ease;
}
.serial_types .product__card:hover .card__img-wrap,
.serial_types .product__card.is-auto-hovered .card__img-wrap {
    transform: scale(1.02);
}

/* ================================================================
   SLIDERS — увеличенные карточки
   ================================================================ */
.catalog--windows .product__slide,
.catalog--balconies .product__slide {
    width: auto;
    overflow: hidden;
}
.catalog--windows .product__card,
.catalog--balconies .product__card {
    overflow: hidden;
}
.catalog--windows .card__img-wrap,
.catalog--balconies .card__img-wrap {
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafd;
    padding: 10px;
    box-sizing: border-box;
}
.catalog--windows .card__img-wrap object,
.catalog--balconies .card__img-wrap object {
    position: static;
    width: 100%;
    height: 100%;
    border-radius: 16px 16px 0 0;
}
.catalog--windows .card__img-wrap img,
.catalog--balconies .card__img-wrap img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.catalog--balconies .card__img-wrap {
    height: 280px;
}

/* Кнопки навигации — показать в serial_types */
.serial_types .product__slider .swiper-button-prev,
.serial_types .product__slider .swiper-button-next {
    display: flex;
}
.serial_types .product__slider .swiper-button-prev:hover,
.serial_types .product__slider .swiper-button-next:hover {
    background-color: #1671F9;
    border: 1px solid #1671F9;
}
.serial_types .product__slider .swiper-button-prev:hover svg,
.serial_types .product__slider .swiper-button-next:hover svg {
    fill: #fff;
}

/* Заглушка последнего слайда */
.slider-spacer-slide {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-back-btn {
    display: none;
    background: #fff;
    border: 1px solid #EDEFF3;
    border-radius: 10px;
    width: 54px;
    height: 54px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}
.slider-back-btn:hover {
    background-color: #1671F9;
    border-color: #1671F9;
}
.slider-back-btn:hover svg {
    fill: #fff;
}

@media (max-width: 899px) {
    .serial_types .product__slider .swiper-button-prev,
    .serial_types .product__slider .swiper-button-next {
        display: none;
    }
    .slider-back-btn {
        display: flex;
    }
}

/* Свайп через object на мобилке */
@media (max-width: 899px) {
    .serial_types .card__img-wrap object {
        pointer-events: none;
    }
}

@media (max-width: 575px) {
    .catalog--windows .product__slide,
    .catalog--balconies .product__slide {
        width: calc(100vw - 30px);
        max-width: 100%;
    }
    .catalog--windows .card__img-wrap {
        height: 360px;
    }
    .catalog--balconies .card__img-wrap {
        height: 360px;
    }
}

@media (min-width: 576px) and (max-width: 899px) {
    
    .catalog--windows .card__img-wrap {
        height: 360px;
    }
    .catalog--balconies .card__img-wrap {
        height: 280px;
    }
}

/* ================================================================
   AUTO-HOVER ANIMATION — универсальные правила для product__card
   (двери, балконы и другие секции без .serial_types)
   ================================================================ */
.product__card {
    border: 1px solid #edeff3;
    border-radius: 16px;
    background-color: #ffffff;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.product__card:hover,
.product__card.is-auto-hovered {
    box-shadow: 0px 30px 30px -12px rgba(29, 34, 41, 0.07);
    border-color: transparent;
}
.product__card .card__text-wrap p {
    transition: color 0.4s ease;
}
.product__card:hover .card__text-wrap p,
.product__card.is-auto-hovered .card__text-wrap p {
    color: #1D2229;
}
.product__card .card__text-wrap h3,
.product__card .card__text-wrap .title_link {
    transition: color 0.4s ease;
}
.product__card:hover .card__text-wrap h3,
.product__card.is-auto-hovered .card__text-wrap h3,
.product__card:hover .card__text-wrap .title_link,
.product__card.is-auto-hovered .card__text-wrap .title_link {
    color: #1671F9;
}
.product__card .card__img-wrap {
    transition: transform 0.4s ease;
}
.product__card:hover .card__img-wrap,
.product__card.is-auto-hovered .card__img-wrap {
    transform: scale(1.02);
}

/* ================================================================
   AUTO-HOVER ANIMATION — карточки .card (goods__slider)
   ================================================================ */
.card {
    transition: box-shadow 0.4s ease;
}
.card.is-auto-hovered {
    box-shadow: 0px 30px 30px -12px rgba(29, 34, 41, 0.07);
}
.card.is-auto-hovered .card__text-wrap p {
    color: #1D2229;
}
.card.is-auto-hovered .card__text-wrap h3 {
    color: #1671F9;
}
.card .card__img-wrap {
    transition: transform 0.4s ease;
}
.card.is-auto-hovered .card__img-wrap {
    transform: scale(1.02);
}
