:root {
  --bg: #fffaf8;
  --surface: #ffffff;
  --surface-soft: #fff1ec;
  --text: #2d2120;
  --muted: #7a6662;
  --accent: #d35e50;
  --accent-dark: #af493d;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(80, 35, 30, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 40px 0;
}

.section--soft {
  background: var(--surface-soft);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

p {
  margin: 0 0 12px;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 860px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255, 250, 248, 0.85);
  border-bottom: 1px solid #f0dfd8;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn--small {
  padding: 10px 18px;
}

.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
}

.btn--phone img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}



/* ===== HERO DRIBBBLE STYLE ===== */

.hero {
  background: linear-gradient(120deg, #f4f4f4 40%, #fffaf8 100%);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  align-items: center;
}

/* ==== КАРТИНКА ==== */
.hero__image {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__image img {
  max-height: 90vh;
  width: auto;
  object-fit: contain;
  transform: translateY(10px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
}

/* мягкое свечение */
.hero__image::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(211, 94, 80, 0.25), transparent 70%);
  bottom: 60px;
  z-index: -1;
  filter: blur(40px);
}


/* ==== ТЕКСТ ==== */
.hero__content {
  padding-top: 80px;
  padding-bottom: 40px;
  max-width: 520px;
}

.hero__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero__label span {
  color: var(--muted);
}

.hero__title {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
}

.hero__subtitle {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.5;
}
/* БЛОК С ТЕКСТОМ */
.hero__overlay-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  max-width: 80%;

  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,240,235,0.9));
  backdrop-filter: blur(10px);

  padding: 14px 18px;
  border-radius: 14px;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ТЕКСТ */
.hero__overlay-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #2d2120;
}

/* ==== КАРТОЧКИ ==== */
.hero__stats {
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 10px 20px;

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(211, 94, 80, 0.25);
  border-radius: 18px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ИКОНКА В КАРТОЧКЕ */
.card__icon {
  width: 42px;
  height: 42px;

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

  background: linear-gradient(135deg, #d35e50, #ff8a7a);
  border-radius: 12px;

  flex-shrink: 0;
}

/* САМА КАРТИНКА ВНУТРИ */
.card__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;

  /* делаем белой */
  filter: brightness(0) invert(1);
}


.card strong {
  font-size: 18px;
  display: block;
}

.card span {
  font-size: 14px;
  color: var(--muted);
}
.hero__mission-banner {
  padding: 14px 18px;
  margin-top: 12px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,240,235,0.9));
  backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero__mission-banner p {
  margin: 0;
  color: var(--muted);
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: auto;
}

#approach {
    position: relative;
}

.philosophy__content {
  display: flex;
  margin: 20px;
  align-items: center;
}

.philosophy__quote {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  width: 40%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.philosophy__quote ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.philosophy__photo {
  overflow: hidden;
  min-height: 320px;
  margin-left: auto;
  display: flex;
  align-items: flex-end;
}

.philosophy__photo img {
  max-height: 30vh;
  width: auto;
  object-fit: cover;
  display: block;
}

.about__grid,
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.panel blockquote {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  padding: 20px;
  border-left: none;
}

.panel blockquote::before {
  content: "«";
  font-size: 2.5rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: -8px;
}

.panel blockquote::after {
  content: "»";
  font-size: 2.5rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  text-align: right;
  margin-top: -8px;
}

.panel blockquote::before {
  content: "«";
  font-size: 3rem;
  color: var(--accent);
  display: block;
  text-align: left;
  line-height: 1;
  margin-bottom: -10px;
}

.panel blockquote::after {
  content: "»";
  font-size: 3rem;
  color: var(--accent);
  display: block;
  line-height: 1;
  text-align: right;
  margin-top: -10px;
}

.panel img {
  width: 100%;
  max-width: 280px;
  display: block;
  margin: 0 auto;
}

#services .panel .btn {
  float: right;
  margin-top: 18px;
}

.services {
  margin-top: 18px;
}

.services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.services li {
  padding: 8px 12px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.price-list {
  margin-top: 18px;
}

.price-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed #e8d3cc;
  padding: 10px 0;
}

.price-list li strong {
  white-space: nowrap;
}

.services__categories {
  margin-top: 18px;
}

.services-list {
  display: grid;
  gap: 12px;
}

.service-item {
  border: 1.5px solid #efb8ae;
  border-radius: 14px;
  padding: 14px 18px;
  background: #fffdfc;
  position: relative;
}

.service-item h4 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.service-item p {
  margin: 8px 0 0;
  max-width: 88%;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.45;
}

.hint {
  color: var(--muted);
  margin: 10px 0 0;
}

.reviews__grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.reviews__grid::-webkit-scrollbar {
  height: 8px;
}

.reviews__grid::-webkit-scrollbar-thumb {
  background: #e0c2b7;
  border-radius: 999px;
}

.reviews__grid .review-card {
  flex: 0 0 min(340px, 88vw);
  scroll-snap-align: start;
}

.review-card {
  padding: 14px;
}

.review-card img {
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  display: block;
  object-fit: cover;
  margin-bottom: 12px;
}

.review-card p {
  margin: 0;
  color: var(--muted);
}

/* До/После секция */
.before-after__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.before-after__item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.before-after__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.before-after__item:hover img {
  transform: scale(1.03);
}

.footer {
  padding: 70px 0;
  background: #2e2020;
  color: #fff7f4;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

.gallery__main {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.gallery__preview {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.gallery__caption {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
}

.gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.gallery__thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery__thumbs::-webkit-scrollbar-thumb {
  background: #e0c2b7;
  border-radius: 999px;
}

.gallery__thumb {
  flex: 0 0 80px;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}

.gallery__thumb:hover,
.gallery__thumb.active {
  opacity: 1;
}

.gallery__thumb.active {
  box-shadow: 0 0 0 3px var(--accent);
}

.gallery__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

@media (min-width: 769px) {
  .gallery {
    grid-template-columns: 1fr 200px;
  }

  .gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .gallery__thumb {
    flex: none;
  }
}
.footer__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff1ec;
  border: 1px solid #f1d8cf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(20, 8, 6, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: #ffdcd0;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.05);
}

.footer p {
  color: #e6cfc8;
}

/* Адаптив для мобильных */
@media (max-width: 520px) {
  .before-after__grid {
    grid-template-columns: 1fr;
  }
}

/* по умолчанию — desktop */
.hero--mobile {
  display: none;
}

/* мобилка */
@media (max-width: 768px) {

  .hero--desktop {
    display: none;
  }

  .hero--mobile {
    display: block;
  }

  .hero__stats {
    width: 100%;
  }

  .card {
    width: 100%;
  }

  .card__icon {
    width: 34px;
    height: 34px;
  }

  .card__icon img {
    width: 18px;
    height: 18px;
  }

  .card strong {
    font-size: 14px;
  }

  .card span {
    font-size: 12px;
  }

  /* центрируем верхний текст */
  .hero__label--mobile {
    text-align: center;
    margin: 10px 0 10px;
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  .philosophy__content {
    margin: 20px;
    gap: 10px;
    display: flex;
    align-items: center;
  }
  
  /* делаем layout как тебе нужно */
  .hero--mobile .hero__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero__content--mobile {
    text-align: left; /* справа, но текст выравниваем нормально */
    padding-left: 10px;
  }

  .hero--mobile .hero__image img {
    max-height: 50vh;
    width: auto;
  }

  .hero--mobile .hero__title {
    font-size: 22px;
    color: var(--text);

  }

  .hero--mobile .hero__subtitle {
    font-size: 13px;
  }

  .hero__mission-banner {
    text-align: center;
    padding: 14px 18px;
    margin: 12px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,240,235,0.9));
    backdrop-filter: blur(10px);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  /* центрируем кнопку на мобильном */
  .hero--mobile .btn {
    display: block;
    margin: 20px 20px;
    text-align: center;
  }

  .hero__mission-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
  }

  #approach {
    display: block;
  }

  .approach__bg {
    display: none;
  }

  .philosophy__quote {
    width: 66.666%;
    margin-left: 0;
    border-left: none;
    padding: 12px;
    border-top: 4px solid var(--accent);
    background: rgba(255, 255, 255, 0.92);
  }

  .philosophy blockquote {
    font-size: 12px;
    color: var(--muted);
  }
}
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .before-after__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid,
  .footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  #approach {
    display: block;
  }

  .approach__bg {
    display: none;
  }

  .philosophy__quote {
    width: 66.666%;
    margin-left: 0;
    border-left: none;
    padding: 12px;
    border-top: 4px solid var(--accent);
    background: rgba(255, 255, 255, 0.92);
  }


  .philosophy blockquote {
    font-size: 1rem;
    color: var(--muted);
  }

  .reviews__grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .reviews__grid .review-card {
    flex: 0 0 88vw;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .footer__actions {
    flex-wrap: wrap;
  }
}
