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

body {
  background-color: #fef8f5;
  font-family: "Inter", sans-serif;
  color: #2e241f;
  line-height: 1.4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* шапка / логотип (в стиле "визитка") */
.hero {
  text-align: center;
  padding: 48px 0 24px 0;
  border-bottom: 2px solid #f0e0d4;
}

.studio-name {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #b45f3b;
  letter-spacing: -0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.02);
}

.tagline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #7e5a47;
  background: #fff0e8;
  display: inline-block;
  padding: 6px 20px;
  border-radius: 40px;
  margin-top: 12px;
  letter-spacing: 0.3px;
}

/* блок с услугами и спецпредложением */
.services-section {
  padding: 56px 0 40px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  color: #b45f3b;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #e9c9b5;
  margin: 12px auto 0;
  border-radius: 4px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}

.service-card {
  background: white;
  border-radius: 28px;
  padding: 28px 24px;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.2s;
  text-align: center;
  border: 1px solid #f3e5dc;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
  font-size: 2.2rem;
  color: #d48e6b;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #3e2a21;
}

.service-desc {
  font-size: 0.95rem;
  color: #6b4e3b;
  font-weight: 500;
}

.special-offer {
  background: linear-gradient(135deg, #fff1e6, #ffe6d9);
  border-radius: 32px;
  padding: 28px 24px;
  margin: 56px auto 20px;
  text-align: center;
  max-width: 700px;
  border: 1px solid #f7dbca;
}

.special-offer h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #b1552c;
  margin-bottom: 12px;
}

.special-offer p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #574233;
}

.special-offer i {
  color: #e07a3a;
  margin-right: 8px;
}

/* ГАЛЕРЕЯ ПОРТФОЛИО - 4 РАБОТЫ */
.portfolio {
  padding: 20px 0 60px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.gallery-item {
  flex: 1;
  min-width: 230px;
  max-width: 270px;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-align: center;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.2);
}

/* Здесь используются реальные изображения из предоставленного контекста:
           Вы запросили "пример 4 работ". Поскольку изображения конкретные вы прикрепили как рабочие фотографии,
           но в чате нет base64 или прямых ссылок, я показываю placeholder + текст.
           Чтобы соответствовать реальному портфолио, я создам стилизованные блоки с возможностью легко заменить на реальные фото.
           В реальном проекте нужно подставить пути к изображениям мамы.
        */
.portfolio-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f9eee7;
  transition: all 0.2s;
  /* ниже фон-заглушка с иконкой ногтей (элегантно) + градиент, чтобы показать, что тут фото */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c28b69;
  font-size: 3rem;
}

/* Кастомные фоны для демонстрации: в реальности замените на url('фото1.jpg') и т.д.
           Я сделаю декоративные узоры с иконками + надписи, но по сути клиент сможет легко поменять фон.
           Далее добавлю комментарий, как подставить реальные работы. */
.img-placeholder-1 {
  background-image: linear-gradient(125deg, #f7dfcf 0%, #fce9df 100%);
  position: relative;
  background-image: url("./photos/3.jpg");
}
.img-placeholder-1:after {
  font-size: 3.2rem;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;

}
/* для остальных — используем разные текстуры/оттенки, но клиент легко заменит */
.img-placeholder-2 {
  background-image: linear-gradient(125deg, #f7dfcf 0%, #fce9df 100%);
  position: relative;
  background-image: url("./photos/4.jpg");
}
.img-placeholder-2:after {
  font-size: 3.2rem;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.img-placeholder-3 {
  background-image: linear-gradient(125deg, #f7dfcf 0%, #fce9df 100%);
  position: relative;
  background-image: url("./photos/5.jpg");
}
.img-placeholder-3:after {
  font-size: 3.2rem;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.img-placeholder-4 {
  background-image: linear-gradient(125deg, #f7dfcf 0%, #fce9df 100%);
  position: relative;
  background-image: url("./photos/6.jpg");
}
.img-placeholder-4:after {
  font-size: 3.2rem;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.gallery-caption {
  padding: 16px 12px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: #4c3527;
  background: white;
  border-top: 1px solid #fbe9df;
}

/* контактная информация */
.contact-block {
  background: #faf1ea;
  border-radius: 48px;
  padding: 40px 32px;
  margin: 30px 0 60px;
  text-align: center;
}

.address {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 500;
  color: #3b2a21;
}

.address i {
  color: #d47f55;
  width: 32px;
  margin-right: 6px;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #2e241f;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: 8px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.phone i {
  font-size: 1.6rem;
}

.phone:hover {
  background: #b45f3b;
  transform: scale(1.02);
  color: white;
}

/* кнопка записи / ссылка */
.booking-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #7b5f4e;
}

footer {
  text-align: center;
  padding: 28px 0;
  font-size: 0.8rem;
  color: #b79681;
  border-top: 1px solid #f0dfd3;
  margin-top: 20px;
}

@media (max-width: 680px) {
  .hero {
    padding: 32px 0 16px;
  }
  .studio-name {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .service-card {
    min-width: 170px;
  }
  .phone {
    font-size: 1.1rem;
    padding: 10px 20px;
  }
  .address {
    font-size: 1rem;
  }
}


.hero {
    text-align: center;
    padding: 48px 0 24px 0;
    border-bottom: 2px solid #f0e0d4;
}

/* Логотип */
.hero-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px; /* если нужны скругления, можно убрать */
}

.studio-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #b45f3b;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.02);
}

.tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #7e5a47;
    background: #fff0e8;
    display: inline-block;
    padding: 6px 20px;
    border-radius: 40px;
    margin-top: 12px;
    letter-spacing: 0.3px;
}

/* Адаптив для мобильных */
@media (max-width: 680px) {
    .hero {
        padding: 32px 0 16px;
    }

    .hero-logo {
        max-width: 130px;
        margin-bottom: 16px;
    }

    .studio-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }
}

.btn-gallery {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: #b45f3b;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.2s;
}
.btn-gallery:hover {
    background: #8f4a2d;
    transform: scale(1.02);
}