/* ======================= ГЛОБАЛЬНЫЕ СТИЛИ ======================= */

@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e5839a;
  --primary-dark: #b6052e;
  --secondary-color: #4d4e47;
  --light-color: #f9f9f9;
  --dark-color: #2c2d2f;
  --text-color: #333;
  --text-light: #88897b;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --bg-color: #ffffff;
  --header-bg: #f8f9fa;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  
}

@font-face {
  font-family: Helvetica, sans-serif;
  src: url(../fonts/Helvetica.ttf);
  font-weight: 400;
}

@font-face {
  font-family: "Linz";
  src: url(../fonts/CATLinz_1.8.ttf);
}

@font-face {
  font-family: Helvetica-Bold, sans-serif;
  src: url(../fonts/helvetica-bold.woff2);
  font-weight: 700;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 12px;
}
body::-webkit-scrollbar-track {
  background: #F6EFF2;
}
body::-webkit-scrollbar-thumb {
  background-color: #edb4cc;
  border-radius: 20px;
  border: 2px solid #F6EFF2;
}

ul li {
  padding: 10px 0;
}

a {
  text-decoration: none;
  transition: color 0.7s;
}
a:hover {
  color: #eaeaea;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant', serif;
  font-weight: 600;
  line-height: 1.2;
}

/* ======================= ШАПКА САЙТА ======================= */
header {
  display: block;
  padding: 60px 10px;
  background-color: #191919;
  text-align: center;
}

header a {
  font-family: sans-serif;
  font-size: 24px;
  line-height: 24px;
  padding: 8px 13px 7px;
  color: #4d5256;
}
header a.active {
  font-weight: bold;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: #4d5256;
  color: #191919;
}

/* ======================= ГЛАВНЫЙ БАННЕР ======================= */
.top {
  min-height: calc(60vh - 81px);
  background-image: url(../img/a.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  position: relative;
}

.container {
  font-family: 'Cormorant', serif;
  background-color: #252523c0;
  text-align: center;
  max-width: 700px;
  max-height: 400px;
  padding: 20px 10px;
  overflow: hidden;
  margin: 0 auto;
}

.title {
  color: #eaeae1;
  padding: 15px 0 30px;
  font-size: 40px;
  font-weight: 400;
}

.psubtitle {
  color: #e1e1dd;
  font-size: 30px;
  padding-bottom: 30px;
}

.buy__text {
  color: #eaeae1;
  padding: 15px 0;
  font-size: 18px;
}

.buy-btn {
  width: 250px;
  height: 60px;
  margin: 0 auto;
  cursor: pointer;
  border: none;
  background-color: rgba(250, 0, 58, 0.889);
  display: flex;
}

.buy-btn__text {
  font-size: 20px;
  color: #f6f4f5;
  padding: 18px 65px;
  text-transform: uppercase;
}

/* ======================= СЕКЦИЯ ПРИЗЫВА К ДЕЙСТВИЮ ======================= */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  text-align: center;
}

.container_cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.cta__title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta__text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

/* ======================= СЕКЦИЯ ОБО МНЕ ======================= */
.about_me {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.story {
  flex: 1;
  padding: 10px;
  font-size: 20px;
  line-height: 1.4;
}

.Story_photo {
  flex: 1;
  padding: 5px;
  max-width: 400px;
  color: #4d4e47;
  text-align: center;
}

.Story_photo img {
  width: 350px;
  border-radius: 30px;
}

/* ======================= картинки услуг ======================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.item {
  text-align: center;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin: 0 10px;
}

.wrapper {
  margin: 0 auto;
  text-align: center;
  font-style: italic;
  position: relative;
}

.card-img {
  height: 240px;
  width: 100%;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}

.card_title {
  padding: 15px 10px;
  font-size: 25px;
}

.card_prais {
  font-size: 20px;
  color: var(--primary-color);

}

.card_sub {
  padding: 15px;
  text-align: left;
  line-height: 1.5;
}



/* ======================= ОТЗЫВЫ КЛИЕНТОВ ======================= */
.customer_reviews_container {
  margin: 20px auto 0;
  max-width: 1200px;
}

.customer_reviews {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  font-size: 0;
  list-style: none;
  margin-bottom: 30px;
  overflow-x: auto;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 35px;
}

.customer_reviews_color {
  background-color: rgb(246, 244, 244);
  height: 300px;
}

.customer_reviews_item {
  width: 300px;
  box-shadow: rgba(0, 0, 0, 0.35) 0 3px 6px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  margin-bottom: 10px;
}

.customer_reviews_img {
  max-width: 250px;
  max-height: 250px;
  margin-top: 20px;
  border-radius: 10px 100px / 120px;
}

.customer_reviews_card_title {
  padding: 15px 0;
  font-size: 25px;
}

.customer_reviews_card_prais {
  font-size: 15px;
  padding: 40px 15px 20px;
  text-align: left;
  line-height: 1.5;
}

.customer_reviews::-webkit-scrollbar {
  width: 12px;
}
.customer_reviews::-webkit-scrollbar-track {
  background: #F6EFF2;
}
.customer_reviews::-webkit-scrollbar-thumb {
  background-color: #edb4cc;
  border-radius: 20px;
  border: 2px solid #F6EFF2;
}

/* ======================= КОНТАКТЫ ======================= */
.contacts_reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px 60px;
  margin-bottom: 50px;
  justify-items: center;
}

.contacts_reviews_item {
  width: 350px;
  border: thick double #B25F8D;
  text-align: center;
  border-radius: 40px;
}

.contacts_reviews_wrapper {
  margin: 0 auto;
  text-align: center;
  font-style: italic;
}

.contacts_reviews_img {
  display: block;
  height: 166px;
  width: 166px;
  margin: -24px auto 0;
  padding: 45px;
  border-radius: 50%;
  background: radial-gradient(circle at 100px 100px,#d81074, rgba(87, 81, 78, 0.93));
}

.contacts_reviews_card_prais {
  text-align: center;
  padding: 40px 0;
  font-size: 20px;
}

/* ======================= ФУТЕР ======================= */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.bloc_footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer__logo {
  font-family: 'Cormorant', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  margin-top: -14px;
  color: var(--primary-color);
}

.footer h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* ======================= ВСПОМОГАТЕЛЬНЫЕ ЭЛЕМЕНТЫ ======================= */
.text_logo {
  font-family: "Linz";
  margin-right: 150px;
  text-align: center;
  text-transform: uppercase;
  font-size: 35px;
  background: linear-gradient(356deg, #3b0812 0%, rgba(250, 0, 217, 0.93)100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 10px 100px / 120px;
  border: solid rgba(250, 0, 58, 0.889);
  width: 280px;
}

.top__text {
  letter-spacing: 4px;
  margin: 50px auto;
  text-align: center;
  padding: 10px 0 15px;
  text-transform: uppercase;
  font-size: 25px;
  background: linear-gradient(108deg, #d81035 0%, rgba(250, 0, 217, 0.93)100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 50px;
  border: solid rgba(250, 0, 58, 0.889);
  width: 150px;
}

.fetures__text {
  font-family: 'Cormorant', serif;
  font-size: 2.5rem;
  margin: 50px 0;
  position: relative;
  display: inline-block;
  background: linear-gradient(108deg, #d81035 0%, rgba(250, 0, 217, 0.93) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 50%;
  transform: translate(-50%);
}

.fetures__text::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #e5839a;
}

/* ======================= КНОПКА "НАВЕРХ" ======================= */
.btn-up {
  background-color: #e5839a;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-in-out;
  width: 60px;
  height: 50px;
  margin: 0 auto 20px;
  position: relative;
  top: 40px;
}

.btn-up::before {
  content: "";
  width: 40px;
  height: 40px;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.btn-up_hiding {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #b6052e;
  }
}

/* ======================= ЧАТ-БОТ ======================= */


.messenger-wrapper {
  position: fixed;
  right: 17px;
  bottom: 25px;
  z-index: 50; 
  width: 50px;
  height: 50px;
}

.messeage_messages {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 60; 
  font-size: 24px;
}

.messeage_messages:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

/* Абсолютное позиционирование относительно обертки */
.messeage_window {
  width: 280px;
  background: var(--bg-color);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(100%) scale(0.9);
  transform-origin: bottom center;
  opacity: 0;
  transition: var(--transition);
  z-index: 55; /* Между оберткой и кнопкой */
  position: absolute;
  bottom: 65px; /* Выше кнопки */
  right: 0;
  pointer-events: none;
}

.messeage_window.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Остальные стили остаются без изменений */
.messeage_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: var(--header-bg);
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
  color: var(--text-color);
  font-size: 16px;
}

.messeage_close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: #6c757d;
  font-size: 16px;
}

.messeage_icons {
  display: flex;
  justify-content: space-around;
  padding: 20px 10px;
  background-color: white;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.messeage_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition);
  color: white;
  font-size: 22px;
}

.messeage_phone { background-color: #c3438d; }
.messeage_vk { background-color: #4c6ef5; }
.messeage_telegram { background-color: #0088cc; }

.messeage_max { 
    width: 47px;
    margin-bottom: -5px;
}

.icon-item span {
  font-size: 12px;
  color: var(--text-color);
  font-weight: 500;
}

/* ======================= СОЦИАЛЬНЫЕ ИКОНКИ ======================= */


.social a {
    font-size: 10px;
    text-align: center;
    width: auto;
    height: 30;
    float: left;
    background: #323131;
    /*border: 1px solid #3a3838;*/
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 0 50px rgba(0,0,0,0.1);
    border-radius: 15px;
   /* margin: 0 10px 10px 0;*/
   /* padding: 6px;*/
   color:  #585950;;
    
}

.icon_i{
    color: var(--primary-color);
    padding-right: 10px;
    }

.fa-brands{

    font-size: 1.4rem;
}


.youtube a:hover {background: #c4302b; color: #fff;}
.twitter a:hover {background: #00acee; color: #fff;}
.instagram a:hover {background: #3f729b; color: #fff;}
.facebook a:hover {background: #3b5998; color: #fff;}
.vk a:hover { color: #fff;}
.odnoklassniki a:hover {background: #f93; color: #fff;}
.telegram a:hover { color: #fff;}
.whatsapp a:hover { color:#fff;}


.fa-paintbrush_style{
    font-size: 40px;
}

.contacts a {
  padding-left: 15px;
    font-size: 80px;
    text-align: center;
   color:#ffffff;
    
}

.contacts a:hover {
    color: #E1E1E1;

}


/* ======================= ВЕРХНЯЯ ПАНЕЛЬ ======================= */
.cover {
  display: flex;
  background-color: #2c2d2f;
  align-items: center;
  flex-wrap: wrap;
}

.cover_item_0 {
  flex-grow: 1;
}

.cover_item {
  padding: 10px;
  color: #88897b;
}

.cover_item_1 {
  padding: 15px;
  margin-top: 3px;
}

.cover_item_left {
  margin-left: 40px;
}

.tel {
  color: #88897b;
}
.telegram{
  margin-right: 20px;
}

.vk_1 {
  margin-right: 12px;
}

.cover_item_3 {
  margin: 0 30px;
}


.footer__social {
  max-width: 126px;
}

 /* Новые стили для контактной страницы */
        .contact-hero {
            background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/contact-bg.webp');
            background-size: cover;
            background-position: center;
            padding: 100px 0;
            text-align: center;
            color: white;
        }
        
        .contact-hero h1 {
            font-family: 'Cormorant', serif;
            font-size: 3rem;
            margin-bottom: 20px;
            letter-spacing: 2px;
        }
        
        .contact-container {
            max-width: 1200px;
            margin: 50px auto;
            padding: 0 20px;
        }
        
        .contact-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .contact-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            padding: 30px;
            text-align: center;
            transition: transform 0.3s ease;
        }
        
        .contact-card:hover {
            transform: translateY(-10px);
        }
        
        .contact-icon {
            width: 80px;
            height: 80px;
            background: #f8e1e7;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 30px;
            color: #e5839a;
        }
        
        .contact-card h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #4d4e47;
        }
        
        .contact-card p {
            font-size: 1.2rem;
            color: #88897b;
            line-height: 1.6;
        }
        
        .contact-card a {
            color: #e5839a;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .contact-card a:hover {
            color: #b6052e;
        }
        
        .map-container {
            height: 500px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 50px;
        }
        
        .work-hours {
            background: #f8f3f5;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .work-hours h2 {
            font-size: 2rem;
            margin-bottom: 25px;
            color: #4d4e47;
            position: relative;
            padding-bottom: 15px;
        }
        
        .work-hours h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: #e5839a;
        }
        
        .hours-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            text-align: left;
            max-width: 400px;
            margin: 0 auto;
        }
        
        .map-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 500px;
    margin: 40px 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


        @media (max-width: 768px) {
            .contact-hero {
                padding: 70px 0;
            }
            
            .contact-hero h1 {
                font-size: 2.2rem;
            }
            
            .map-container {
                height: 350px;
            }
            
            .hours-grid {
                grid-template-columns: 1fr;
            }
        }




/* ======================= АДАПТИВНОСТЬ ======================= */
@media (max-width: 768px) {
  .contact-item {
    margin: 0 10px 10px;
  }
  
  .about__content {
    flex-direction: column;
  }
  
  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta__buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 530px) {
  .cover_item_left {
    margin-left: 2px;
  }
}


.custom-svg {
            width: 20px;        /* базовый размер */
            height: 20px;
            transition: all 0.3s ease;
        }
        
        /* Вариант 1: Оригинальные цвета (черный и белый) */
        .svg-original .fil0 {
            fill:#5c5d57;
        }

        .svg-original .fi11 {
            fill: #323335;  
        }

        .custom-svg:hover .fil0 {
    fill: rgb(237, 236, 234);
   
}


      .svg-original .fil2 {
            fill: #e5839a;  
        }

        .custom-svg .fil3 {
    fill: #cd4c6a;;
   
}

.svg-original .fi14 {
    
            fill: #6c6d62;
        }

        .svg-original .fil5 {
             fill:#453e3e;
        }


 .custom-svg:hover .fi14 {
    fill: rgb(237, 236, 234);
   
}

