/* ================================================================
   TerraFloor — hero.css
   ================================================================ */

   .hero {
    width: 100%;
    
   padding: 36px clamp(20px, 3vw, 104px);
    position: relative;
   
   
}

.hero__wrap {
    width: 100%;
    max-width: 1712px;
    height: 737px;
    border-radius: 60px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    
    justify-content: center;
    margin: 0 auto;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate; /* добавлено */
}

.hero__wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    box-shadow: inset 0 0 0 19px rgba(249, 249, 249, 0.36);
    pointer-events: none;
    z-index: 10;
}


.hero__content {
    display: flex;
    flex-direction: column;
    gap: 39px;
    width: 52%;
    padding-left: 4.375vw;
    margin: 109px 0 0;
    
}

.hero__suptitle {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--color-brown);
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
}
.hero__suptitle-line {
    display: block;
    width: 19px;
    height: 0;
    border-top: 2px solid var(--color-brown);
    flex-shrink: 0;
}

.hero__text-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.hero__title {
    color: var(--color-black);
    font-size: 54px;
    line-height: 105%;
    font-weight: 600;
    margin: 0;
        max-width: 715px;
}
.hero__desc {
    color: var(--color-gray);
    font-size: 17px;
    line-height: 27px;
    font-weight: 400;
    margin: 0;
}

.hero__features {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.hero__feature {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 248px;
}
.hero__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    background: var(--color-white);
    border-radius: 20.5px;
    flex-shrink: 0;
    padding: 8px;
}
.hero__feature-icon img { width: 24px; height: 24px; object-fit: contain; }

.hero__feature-text {
    color: var(--color-black);
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
}

.hero__btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hero__btn {
    height: 55px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    line-height: 17px;
    flex-shrink: 0;
}
.hero__btn img { width: 33px; height: 33px; object-fit: contain; }

.hero__btn--dark  { background: var(--color-black); color: var(--color-white); }
.hero__btn--brown { background: var(--color-brown); color: var(--color-white); }

.hero__btn--dark:hover  { background: var(--color-brown); }
.hero__btn--brown:hover { background:  var(--color-black);  }



.hero__image {
   
    width: 48%;
   height:100%;
 
  
}
.hero__image img {
    width: 100%;
    height: 100%;
   
}

.hero__overlay {
    position: absolute;
    right: 4.375vw;
    bottom: 147px;
    width: 483px;
    display: flex;
    flex-direction: column;
    gap: 23px;
    align-items: flex-end;
}

.hero__tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 380px;
}
.hero__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 104px;
    background: rgba(255, 255, 255, 0.83);
    backdrop-filter: blur(11.5px);
    -webkit-backdrop-filter: blur(11.5px);
    color: var(--color-black);
    font-size: 18px;
    font-weight: 400;
    white-space: nowrap;
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 15px;
    align-self: stretch;
    padding: 26px 24px 26px 29px;
    border-radius: 148px;
    background: rgba(255, 245, 233, 0.84);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
}
.hero__badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--color-brown);
    border-radius: 50px;
    flex-shrink: 0;
    padding: 13px;
}
.hero__badge-icon img { width: 44px; height: 44px; object-fit: contain; }

.hero__badge-text {
    display: flex;
    flex-direction: column;
    
}
.hero__badge-title {
    color: var(--color-black);
    font-size: 21px;
    line-height: 27px;
    font-weight: 600;
    margin: 0;
    width: 352px;
}
.hero__badge-desc {
    color: var(--color-gray);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    margin: 0;
    max-width: 326px;
}


.hero__feature-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.hero__feature-title {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
}
.hero__feature-subtitle {
    color: var(--color-gray);
    font-size: 13px;
    line-height: 17px;
    font-weight: 400;
}



.hero-mob { display: none;}

.hero__image--mob {
   
    display:none;
}

/* ================================================================
   Адаптив
   ================================================================ */

@media (max-width: 1440px) {
  .hero__title   { font-size: 48px; }
   .hero__content {

    margin: 80px 0 0;
        max-width: 715px;
}
}



@media (max-width: 1200px) {
   .hero__desc--desktop {
display: none;
}
    .hero__title   { font-size: 42px; }

.hero-mob {
     display: flex; 
     gap: 18px;
    margin: 30px 0 40px;
    flex-direction: column;

     padding: 0 clamp(20px, 3vw, 104px);
    }
.hero__wrap {
     flex-direction: column;
    height: auto;
    border-radius: 0px;
}

   .hero__content {

    margin: 80px 0 ;
        max-width: 100%;
        width: 100%;
        padding: 0 clamp(20px, 3vw, 104px);
}

.hero__image--mob {
    width: 100%;
height: 400px;
padding: 0 clamp(20px, 3vw, 104px);
display: block;
  
}
.hero__image img {
   
    display:none;
}

.hero__image--mob img {
   display:block;
      width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
}

.hero-mob { display: flex;}

.hero__features {
    display: none;
  
}



.hero__btns--desktop { display: none; }


.hero {   
   padding: 36px 0;   
}


.hero__wrap::after {
    content: none;

}

.hero__overlay {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
   padding: 0 clamp(20px, 3vw, 104px);
   height: 380px;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: -390px;
}

.hero__tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 380px;
    align-self: flex-end;
    margin-right: 10px;
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 15px;
    align-self: start;
    padding: 26px 24px 26px 29px;
    border-radius: 148px;
   margin-left: 10px;
}



}



@media (max-width: 480px) {

.hero {
    padding: 0;
}

.hero__suptitle {
 
    max-width: 277px;
}
.hero__content {
    margin: 32px 0 20px;
    gap: 18px;
 
}
 .hero__title   { font-size: 30px; }

.hero__tag {
    padding: 1px 8px;  
    font-size: 12px;
    
}
.hero__tags {
 width: 80%;
    
}
.hero__badge-desc {
display: none;
}
.hero__badge-title {
    font-size: 13px;
    line-height: 14px;
    width: 100%;
}
.hero__badge {
    align-items: center;
    gap: 6px;
    align-self: start;
    padding: 0 13px 0 0;
    max-width: 51%;
}

   .hero__badge-icon img {
    width: 28px;
    height: 28px;
}
   .hero__badge-icon {
    width: auto;
    height: auto;
    padding: 6px;
}

.hero__image--mob {
    height: 232px;   
}
.hero__overlay {
   height: 212px;
    margin-top: -222px;
}

.hero__desc {
    font-size: 14px;
    line-height: 20px;    
}
.btn {
    white-space: wrap;
}


.hero__btns {
    gap: 8px;
    
}


.hero__btn img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
   
}
.hero__btn {
    flex: 1 0 0;
    height: 55px;
    padding: 0 70px;
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    width: calc(50% - 4px);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    gap: 8px;
    text-align: left;
}


.hero__wrap {
    position: relative;
}

.hero__wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 40%);
    z-index: 0;
    border-radius: inherit;
}

/* Всё содержимое должно быть выше псевдоэлемента */
.hero__wrap > * {
    position: relative;
    z-index: 1;
}

}









