*{
    box-sizing:border-box;
    font-family:Inter,system-ui,Arial,sans-serif;
}
body{
    margin:0;
    background:#F6F4F0;
    color:#222;
}
.container{
    max-width:1000px;
    margin:24px auto;
    padding:0 16px;
}

/* HEADER */
.site-header{
    display:flex;
    align-items:center;
    gap:16px;
    padding:18px;
    background:#F6F4F0;
    border-bottom:1px solid #ddd;
    color:#7A1F1F;
}
.site-header h1{
    margin:0;
    font-size:32px;
}
.salontap{
    color:#AC0000;
    font-family:'League Spartan', sans-serif;
}
.logo{
    color:#7A1F1F;
    text-decoration:none;
}

/* HEADER NAV */
.header-nav{
    display:flex;
    align-items:center;
    gap:40px;
}
.nav-link{
    font-family:'Playfair Display', serif;
    color:#475B2A;
    text-decoration:none;
    font-size:16px;
    transition:color 0.2s;
}
.nav-link:hover{
    color:#3c3c3c;
}

/* Описание сервиса */
.service-description p{
    font-family:'Playfair Display', serif;
    color:#475B2A;
    font-size:18px;
    text-align:center;
    margin-bottom:24px;
}

/* Заголовок «Салоны» */
.section-title{
    font-family:'Playfair Display', serif;
    color:#475B2A;
    font-size:36px;
    font-weight:700;
    margin-bottom:24px;
    text-align:center;
}

#category-filter {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 20px;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 24px;
  justify-content: center;
}

.category-buttons button {
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid #A8C1A1;
  background: #fff;
  color: #475b2a;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
}

.category-buttons button:hover {
  transform: translateY(-2px);
  background: #475b2a;
  color: #fff;
}

.category-buttons button.active {
  background: #475b2a;
  color: #fff;
}

.svc-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-categories span {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 16px;
  cursor: pointer;
  font-size: 14px;
  background: white;
  transition: .2s;
}

.svc-categories span.active {
  background: #475b2a;
  color: white;
  border-color: #475b2a;
}


.search-box {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 20px;
}

#search-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 16px;
  outline: none;
}

#search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 14px;
  border: 1px solid #ddd;
  border-top: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  z-index: 10;
  overflow: hidden;
}

.search-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 15px;
}

.search-item:hover {
  background: #f7f7f7;
}

.search-empty {
  padding: 12px 16px;
  color: #777;
}

#search-input {
  margin-bottom: 16px;
}

.no-results {
  padding: 15px;
  text-align: center;
  font-size: 16px;
  opacity: 0.8;
}



/* SALON LIST */
.salon-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(250px,1fr));
    gap:20px;
    margin-top:20px;
}
.salon-card{
    background:#fff;
    border-radius:16px;
    padding:16px;
    box-shadow:0 8px 20px rgba(30,30,60,0.08);
    display:flex;
    flex-direction:column;
    gap:12px;
    transition:transform 0.3s,box-shadow 0.3s;
}
.salon-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 28px rgba(30,30,60,0.15);
}
.salon-card img{
    width:100%;
    height:200px;         /* большая фиксированная высота для эстетики */
    object-fit:cover;      /* красиво обрезает изображение */
    border-radius:16px;
    transition:transform 0.3s;
}
.salon-card img:hover{
    transform:scale(1.03);
}
.salon-card h3{
    margin:0;
    font-size:18px;
    color:#3c3c3c;
}

/* Обрезка длинного описания на главной странице */
.salon-card p {
    margin: 0;
    color: #475b2a;
    font-size: 14px;
    line-height: 1.4;

    /* Для Chrome, Safari, Edge */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    /* Новый стандарт (поддержка Firefox и будущих браузеров) */
    display: box;
    box-orient: vertical;
    line-clamp: 3;

    /* Общие свойства */
    overflow: hidden;
    text-overflow: ellipsis;

    /* fallback для Firefox/других браузеров */
    max-height: calc(1.4em * 3);
}


.card-actions{
    display:flex;
    gap:8px;
    align-items:center;
}

/* BUTTONS */
.btn{
    padding:12px 22px;
    border-radius:14px;
    border:1px solid #A8C1A1;
    cursor:pointer;
    background:linear-gradient(90deg,#475b2a,#6a7c53);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    transition:all 0.3s;
}
.btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,0.15);
}
.btn.primary{
    background:linear-gradient(90deg,#475b2a,#6a7c53);
    color:#fff;
    border:1px solid #A8C1A1;
    margin: 10px;
}
.btn.ghost{
    background:transparent;
    border:1px solid #A8C1A1;
    color:#3c3c3c;
}

/* SALON PAGE */
.salon-page{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:32px;
    width:100%;
}

/* GALERY */
.salon-meta{
    display:flex;
    flex-direction:column;
    gap:24px;
    align-items:center;
    width:100%;
}
.gallery{
    width:100%;
    max-width:300px;
    display:flex;
    justify-content:center;
}
.gallery img{
    width:100%;
    height:auto;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 12px 32px rgba(30,30,60,0.15);
    transition:transform 0.3s,box-shadow 0.3s;
}
.gallery img:hover{
    transform:scale(1.02);
    box-shadow:0 16px 40px rgba(30,30,60,0.25);
}

/* SALON INFO */
.salon-info{
    text-align:center;
    max-width:850px;
    font-family:'Playfair Display', serif;
    color:#475b2a;
    line-height:1.6;
}
.salon-info p{
    font-size:18px;
    margin-bottom:24px;
}

/* MASTERS */
.masters{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    margin-top:16px;
}
.master{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    padding:16px;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 24px rgba(30,30,60,0.1);
    transition:transform 0.3s,box-shadow 0.3s;
}
.master:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 28px rgba(30,30,60,0.15);
}
.master img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
}
.master .meta{
    font-size:16px;
    color:#475b2a;
    text-align:center;
}

/* BOOK BUTTON */
#book-btn{
    padding:14px 26px;
    font-size:18px;
    border-radius:16px;
    border:1px solid #A8C1A1;
    background:linear-gradient(90deg,#475b2a,#6a7c53);
    color:#fff;
    cursor:pointer;
    box-shadow:0 6px 16px rgba(0,0,0,0.12);
    transition:all 0.3s;
}
#book-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(0,0,0,0.18);
}

/* MODAL */
.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    z-index:40;
}
.modal.hidden{
    display:none;
}
.modal-content{
    width:720px;
    max-width:95%;
    background:#fff;
    padding:24px;
    border-radius:20px;
    position:relative;
    box-shadow:0 16px 36px rgba(0,0,0,0.15);
}
.modal-close{
    position:absolute;
    right:16px;
    top:12px;
    border:0;
    background:transparent;
    font-size:24px;
    cursor:pointer;
}

/* ADMIN */
.admin .card{
    background:#fff;
    padding:20px;
    border-radius:16px;
    margin-bottom:16px;
    box-shadow:0 8px 20px rgba(10,10,30,0.05);
}
label{
    display:block;
    margin-top:8px;
}
input,textarea,select{
    width:100%;
    padding:12px;
    border-radius:12px;
    border:1px solid #ddd;
    margin-top:6px;
}

.auth-card {
  max-width: 380px;
  margin: 20px auto;
  padding: 20px;
}

.auth-card h2 {
  margin-bottom: 10px;
}

.auth-card input {
  margin-bottom: 10px;
  width: 100%;
}

.auth-card p {
  margin-top: 10px;
  text-align: center;
}

.auth-card a {
  color: var(--gg-accent);
  cursor: pointer;
}


/* CALENDAR */
.calendar{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:6px;
    padding:8px;
    background:#fff;
    border-radius:10px;
}
.calendar .day{
    padding:8px;
    border-radius:6px;
    text-align:center;
    background:#f4f6f8;
    color:#777;
}
.calendar .day.available{
    background:#e6f7ea;
    color:#0b8a4e;
    font-weight:600;
    cursor:pointer;
}
.calendar .day.selected{
    outline:3px solid rgba(11,138,78,0.12);
}

.day-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
    padding: 10px;
    text-align: center;
    cursor: pointer;

    width: 70px;

    box-shadow: 0 4px 12px rgba(30,30,60,0.06);
    transition: all .25s ease;
}
.day-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30,30,60,0.12);
    border-color: #A8C1A1;
}
.day-card.selected {
    background: #ffe5e5;
    border-color: #ff6a6a;
    box-shadow: 0 10px 22px rgba(255,100,100,0.25);
}

.day-num {
    font-size: 18px;
    font-weight: 600;
    color: #7A1F1F;
}

.day-week {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 3px;
}



/* TIME SLOTS */
.time-slots{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:8px;
}
.time-btn{
    padding:8px 10px;
    border-radius:8px;
    border:1px solid #ddd;
    background:#fff;
    cursor:pointer;
}
.time-btn.taken{
    opacity:0.35;
    text-decoration:line-through;
    cursor:not-allowed;
}

.hint{
    color:#666;
    font-size:14px;
    margin-top:12px;
}
small{
    color:#666;
}

/* SERVICES SECTION — улучшенная стилизация */
#services-list-user{
    display:flex;
    flex-direction:column;
    gap:20px;
    width:100%;
    max-width:850px;
    margin:20px auto;
}
#services-list-user .service-item{
    background:#fff;
    padding:20px;
    border-radius:18px;
    box-shadow:0 8px 20px rgba(30,30,60,0.08);
    display:flex;
    flex-direction:column;
    gap:10px;
    transition:transform 0.3s,box-shadow 0.3s;
}
#services-list-user .service-item:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 28px rgba(30,30,60,0.15);
}
#services-list-user .service-item h3{
    margin:0;
    font-size:20px;
    font-family:'Playfair Display', serif;
    color:#475B2A;
}
#services-list-user .service-item p{
    margin:0;
    font-size:15px;
    color:#3c3c3c;
    line-height:1.5;
}
#services-list-user .service-item .service-price{
    font-size:18px;
    font-weight:600;
    color:#7A1F1F;
    margin-top:6px;
}
#services-list-user .service-item button{
    align-self:flex-start;
    padding:10px 18px;
    border-radius:14px;
    border:1px solid #A8C1A1;
    background:linear-gradient(90deg,#475b2a,#6a7c53);
    color:#fff;
    cursor:pointer;
    font-weight:600;
    transition:all 0.3s;
}
#services-list-user .service-item button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,0.15);
}

/* MOBILE OPTIMIZATION */
@media (max-width:768px){
    .salon-list{
        grid-template-columns:1fr;
        gap:16px;
    }
    .section-title{
        font-size:28px;
    }
    .service-description p{
        font-size:16px;
    }
    .btn{
        padding:10px 18px;
        font-size:16px;
    }
    .salon-meta{
        flex-direction:column;
        align-items:center;
    }
    .masters{
        flex-direction:column;
        gap:16px;
    }
    .gallery{
        max-width:100%;
    }
    #services-list-user{
        gap:16px;
    }
}


#map {
  height: 350px;
  margin: 15px auto;
  border-radius: 12px;
  position: relative;
  z-index: 0;
  margin-top: 10px;
}

.no-results {
  z-index: 10;
  position: relative;
}



/* ─────────────────────────────── */
/* СЛОТЫ ВРЕМЕНИ — карточки        */
/* ─────────────────────────────── */

.slot-card {
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 14px;

    font-size: 15px;
    font-weight: 500;
    color: #475b2a;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    user-select: none;

    box-shadow: 0 4px 12px rgba(30, 30, 60, 0.06);
    transition: all 0.25s ease;
}

.slot-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(30,30,60,0.12);
    border-color: #A8C1A1;
}

/* выбранный слот */
.slot-card.selected {
    background: linear-gradient(90deg,#475b2a,#6a7c53);
    color: #fff;
    border-color: #475b2a;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* занятый слот */
.slot-card.taken {
    background: #eee;
    border-color: #ddd;
    color: #999;
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.55;
    box-shadow: none;
}

.service-masters-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px; /* расстояние между мастерами */
  margin-top: 8px;
}

.master-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 16px;        /* ВНУТРЕННИЕ отступы */
  background: #f6f7f3;
  border-radius: 14px;
}

.master-name {
  font-size: 15px;
  font-weight: 500;
}

/* чтобы кнопка не прилипала */
.master-row .btn {
  margin-left: 16px;
}
.category-row {
  display: grid;
  grid-template-columns: 28px 1fr; /* чекбокс + контент */
  gap: 16px;

  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  margin-bottom: 14px;

  background: #fff;
  cursor: pointer;
  align-items: start;
}

/* чекбокс — всегда слева и сверху */
.category-row input[type="checkbox"] {
  margin-top: 4px;
  transform: scale(1.1);
}

/* текст */
.category-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.category-title {
  font-weight: 600;
  font-size: 15px;
  color: #111827;
}

.category-items {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}


.master-card.active{
  border:2px solid #5b6f3a;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
}


#masters{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-top:18px;
}

.master-card{
  width:140px;
  height:160px;
  background:#fff;
  border-radius:22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all .25s ease;
  border:2px solid transparent;
}

.master-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.master-card.active{
  border:2px solid #5c6f3b;
  background:#eef2ea;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.master-avatar{
  width:68px;
  height:68px;
  border-radius:50%;
  overflow:hidden;
  margin-bottom:12px;
}

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

.master-name{
  font-weight:600;
  font-size:16px;
  color:#2f3b20;
}


.service-pill{
  padding:10px 16px;
  border-radius:18px;
  background:#f2f4ef;
  border:1px solid #e3e6de;
  cursor:pointer;
  margin:6px;
  transition:.2s;
}

.service-pill.active{
  background:#5c6f3b;
  color:white;
  border-color:#5c6f3b;

}


.slot-card{
  background:#fff;
  border-radius:14px;
  padding:16px;
  margin-bottom:12px;
  border:1px solid #e8e8e8;
  cursor:pointer;
  transition:all .18s ease;
  gap: 10%;
}

.modal-content{
  max-height:90vh;
  overflow-y:auto;
  padding:30px;
}

#confirm-book-flow{

  bottom:0;
  background:#fff;
  margin:15px 0;
}



/* чтобы модалка нормально скроллилась и кнопки не уезжали */
.modal-content{
  max-height: 90vh;
  overflow: auto;
  position: relative;
  padding: 28px;
  padding-bottom: 90px; /* место под кнопку */
}

/* крестик всегда виден */
.modal-close, #booking-flow-close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* красивая кнопка */
#confirm-book, #confirm-book-flow{
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: #4b5f2a;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

.booking-inputs{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.booking-inputs input{
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #e2e2e2;
  font-size:15px;
  outline:none;
}

.booking-inputs input:focus{
  border-color:#5b7f3a;
}




/* ===== GLOBAL WIDTH ===== */
.container{
  max-width:1200px;
}

/* ===== HEADER REAL FIX ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(246,244,240,.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(0,0,0,.05);
}

.header-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

/* ===== HERO SPACING ===== */
.service-description{
  text-align:center;
  margin:60px 0 30px;
  font-size:20px;
}

/* ===== ABOUT ===== */
.about-card{
  background:#fff;
  border-radius:34px;
  padding:70px;
  box-shadow:0 40px 80px rgba(0,0,0,.05);
}

.about-features{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  margin-top:40px;
}

.about-feature{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:20px;
  background:#fafaf8;
  border-radius:20px;
}

.about-icon{
  width:48px;
  height:48px;
  background:#eef2ea;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.about-icon svg{
  width:24px;
  height:24px;
}

/* ===== CONTACTS ===== */
.contacts-card{
  background:#fff;
  border-radius:34px;
  padding:60px;
  box-shadow:0 40px 80px rgba(0,0,0,.05);
}

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

.contact-item{
  padding:20px;
  background:#fafaf8;
  border-radius:20px;
  text-decoration:none;
  color:#222;
  transition:.25s;
}

.contact-item:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}


/* HEADER LAYOUT */
.header-inner{
    max-width:1200px;
    margin:0 auto;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.nav-search{
    flex:1;
    display:flex;
    justify-content:center;
}

.nav-search input{
    width:380px;
    padding:14px 20px;
    border-radius:20px;
    border:1px solid #ddd;
    background:white;
}

/* красивый header */
.site-header{
    position:sticky;
    top:0;
    z-index:100;
    background:#F6F4F0;
}

/* BUTTON Рядом сейчас */
#nearNowBtn{
    display:block;
    margin:20px auto;
    padding:12px 24px;
    border-radius:16px;
    border:0;
    background:linear-gradient(90deg,#475b2a,#6a7c53);
    color:white;
    font-weight:600;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(0,0,0,.12);
}

/* FOOTER FIX */
.footer-inner{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    padding:40px 20px;
}


.contact-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  background:#f2f3ef;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
}

.contact-icon svg{
  width:26px;
  height:26px;
  stroke:#475b2a;
  fill:none;
  stroke-width:1.8;
}


.contact-icon.instagram svg{ stroke:#E4405F; }
.contact-icon.telegram svg{ stroke:#2AABEE; }
.contact-icon.phone svg{ stroke:#5b6f3a; }
.contact-icon.person svg{ stroke:#7A1F1F; }


:root{
  --bg:#F7F6F3;
  --card:#ffffff;
  --accent:#7A1F1F;
  --accent-soft:#EFE7E7;
  --text:#1f2933;
  --muted:#6b7280;
  --radius:22px;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,Arial,sans-serif;
}


.site-header{
  background:#fff;
  border-bottom:1px solid #eee;
  box-shadow:0 8px 24px rgba(0,0,0,.04);
}


#nearNowBtn{
  display:block;
  margin:25px auto 35px;
  padding:14px 26px;
  border-radius:16px;
  border:none;
  font-size:16px;
  font-weight:600;
  color:white;
  background:linear-gradient(90deg,#5c6f3b,#7d8f55);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
  cursor:pointer;
  transition:.25s;
}

#nearNowBtn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(0,0,0,.18);
}

.site-footer{
  margin-top:70px;
  background:#ffffff;
  border-top:1px solid #eceae6;
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:50px 20px;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:60px;
}

/* Бренд */
.footer-logo{
  font-size:24px;
  font-weight:700;
  margin-bottom:12px;
}

.footer-desc{
  color:#6b7280;
  line-height:1.6;
  font-size:15px;
}

/* Заголовки колонок */
.footer-links::before{
  content:"Навигация";
  display:block;
  font-weight:600;
  margin-bottom:14px;
  color:#111;
}

.footer-social::before{
  content:"Связь";
  display:block;
  font-weight:600;
  margin-bottom:14px;
  color:#111;
}


.footer-links a,
.footer-social a{
    display:block;
    text-decoration:none;
    color:#6b7280;     /* спокойный серый */
    font-size:15px;
    margin-bottom:10px;
    transition:all .2s ease;
}

.footer-links a:hover,
.footer-social a:hover{
    color:#7A1F1F;     /* брендовый бордовый */
    transform:translateX(4px);
}

.site-footer{
  margin-top:80px;
  background:#ffffff;
  border-top:1px solid #e5e7eb;
}

.footer-inner{
  max-width:1100px;
  margin:auto;
  padding:50px 20px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:40px;
}

.footer-logo{
  font-size:24px;
  font-weight:700;
  color:#b81414;
}

.footer-desc{
  color:#6b7280;
  margin-top:10px;
}

.footer-links a,
.footer-social a{
  display:block;
  text-decoration:none;
  color:#6b7280;
  margin-bottom:10px;
  font-size:15px;
}

.footer-links a:hover,
.footer-social a:hover{
  color:#111827;
}
.about-feature{
  background:#ffffff;
  border-radius:18px;
  padding:18px 22px;
  display:flex;
  gap:14px;
  align-items:center;
  border:1px solid #f1f1f1;
  transition:.2s;
}

.about-feature:hover{
  border-color:#e11d48;
  box-shadow:0 6px 18px rgba(225,29,72,.08);
}

.about-icon{
  width:46px;
  height:46px;
  border-radius:14px;
  background:linear-gradient(135deg,#fff5f6,#ffe4e6);
  color:#e11d48;
  display:flex;
  align-items:center;
  justify-content:center;
}

.contact-item{
  background:#ffffff;
  border-radius:18px;
  padding:20px;
  display:flex;
  gap:14px;
  align-items:center;
  border:1px solid #f1f1f1;
  transition:.2s;
}

.contact-item:hover{
  border-color:#e11d48;
  box-shadow:0 6px 18px rgba(225,29,72,.08);
}

.contact-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(135deg,#fff5f6,#ffe4e6);
  color:#e11d48;
  display:flex;
  align-items:center;
  justify-content:center;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .container{
    padding:16px;
  }

  /* header */
  .site-header{
    padding:12px 16px;
    flex-wrap:wrap;
    gap:10px;
  }

  .site-header nav{
    width:100%;
    display:flex;
    justify-content:space-between;
    margin-top:8px;
  }

  /* hero titles */
  h1{
    font-size:24px;
    line-height:1.3;
  }

  h2{
    font-size:20px;
  }

  /* cards grid */
  .features-grid,
  .cards-grid,
  .services-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  /* salon cards */
  .salon-card{
    padding:14px;
  }

  .salon-card img{
    height:160px;
    object-fit:cover;
  }

  /* buttons */
  .btn{
    width:100%;
    text-align:center;
    padding:12px;
  }

  /* contact section */
  .contact-grid{
    grid-template-columns:1fr;
  }

  /* map */
  #map{
    height:280px;
  }

}





@media (max-width:768px){

  .contacts-grid{
    grid-template-columns:1fr !important;
    gap:14px;
  }

   .logo{
    white-space:nowrap;   /* логотип не переносится */
    font-size:26px;
  }

}


.site-header{
  position:relative;
  z-index:100;
}

/* ===== MOBILE BURGER FINAL ===== */


.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid #e6e6e6;
  background:#ffffff;
  cursor:pointer;
  position:relative;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  transition:all .25s ease;
}

/* линии */
.burger::before,
.burger::after,
.burger span{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  height:2px;
  background:#333;
  border-radius:2px;
  transition:.25s;
}

.burger::before{ top:14px; }
.burger span{ top:21px; }
.burger::after{ top:28px; }

/* hover */
.burger:hover{
  box-shadow:0 10px 22px rgba(0,0,0,.10);
}

/* active (крестик) */
.header-inner.open .burger::before{
  transform:rotate(45deg);
  top:21px;
}

.header-inner.open .burger::after{
  transform:rotate(-45deg);
  top:21px;
}

.header-inner.open .burger span{
  opacity:0;
}

/* desktop — всё как обычно */
@media (min-width:769px){
  .header-nav{ display:flex; }
  .nav-search{ display:block; }
}

/* mobile */
@media (max-width:768px){

  .burger{
    display:block;
  }

  .header-nav,
  .nav-search{
    display:none !important;
    width:100%;
  }

  .header-inner.open .header-nav{
    display:flex !important;
    flex-direction:column;
    align-items:center;
    gap:18px;
    margin-top:12px;
    background:#fff;
    padding:18px 0;
    border-radius:20px;
    box-shadow:0 12px 28px rgba(0,0,0,.08);
  }

  .header-inner.open .nav-search{
    display:block !important;
    margin-top:12px;
  }

}
/* ===== REAL MOBILE HEADER SWITCH ===== */
@media (max-width:768px){

  .header-inner{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }

  /* строка logo + burger */
  .logo{
    align-self:flex-start;
  }

  .burger{
    position:absolute;
    right:16px;
    top:16px;
    display:block;
  }

  /* скрыто */
  .header-nav,
  .nav-search{
    display:none;
    width:100%;
  }

  /* открыто */
  .header-inner.open .nav-search{
    display:block;
    margin-top:16px;
  }

  .header-inner.open .header-nav{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
    margin-top:12px;
    background:#fff;
    padding:20px 0;
    border-radius:20px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
  }

}


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

/* desktop */
.contacts-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

/* tablet */
@media (max-width:1100px){
  .contacts-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* mobile */
@media (max-width:600px){
  .contacts-grid{
    grid-template-columns:1fr;
  }
}
