:root {
  --header-h: 96px;
  --bg: #fff9fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #cf93a3;
  --accent-600: #b16f80;
  --ring: #f3c9d3;
  --line: #f0e6ea;
  --ok: #16a34a;
  --shadow: 0 10px 30px rgba(177, 111, 128, 0.12);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-600); }
img { max-width: 100%; display: block; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* Шапка */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(255, 249, 251, 0.8);
  border-bottom: 1px solid var(--line);
}
/* відсуваємо контент вниз на висоту хедера */
body { padding-top: var(--header-h); }

/* щоб переходи по якорям (#services тощо) не ховались під хедер */
section[id] { scroll-margin-top: var(--header-h); }

/* за потреби інша висота на мобільному */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #f6dce4, #e6b9c7); box-shadow: var(--shadow); }
.brand span { letter-spacing: 0.6px; }

.menu { display: flex; gap: 18px; align-items: center; }
.menu a { font-weight: 500; color: var(--text); opacity: 0.8; }
.menu a:hover { opacity: 1; }

.cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; box-shadow: var(--shadow); border: 1px solid #d8a6b3; }
.cta:hover { background: var(--accent-600); }
.cta:focus { outline: 3px solid var(--ring); outline-offset: 2px; }

/* Хіро */
.hero { position: relative; padding: 64px 0 32px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 14px; }
.chip i { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 3px #f6dce4; }
h1 { margin: 12px 0 12px; font-size: clamp(28px, 5vw, 44px); line-height: 1.15; }
.lead { font-size: clamp(16px, 1.8vw, 18px); color: var(--muted); max-width: 56ch; }

.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow); }

/* Мої суперсили */
.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 0;
  list-style: none;
}
.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.hero-list li i {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f6dce4, #e6b9c7);
  box-shadow: 0 2px 8px rgba(177,111,128,.18);
}

.hero-photo { aspect-ratio: 4/5; display: grid; place-items: center; }

.hero-actions { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.btn-outline { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent-600); font-weight: 600; background: #fff; }
.btn-outline:hover { background: #fff5f7; }

/* Секції */
section { padding: 64px 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); font-weight: 700; font-size: 17px; }
h2 { font-size: clamp(24px, 4vw, 36px); margin: 0; }

/* Послуги */
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.price { font-size: 28px; font-weight: 700; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card .cta { justify-content: center; }

/* --- ПРО СПІВПРАЦЮ: ВСЕ НА FLEX --- */
.grid-2 { display: flex; gap: 20px; align-items: stretch; }         /* 2 картки в ряд */
.grid-2 > .card {
  display: flex;              /* <— картка теж FLEX, НЕ grid */
  flex-direction: column;
  gap: 14px;
  flex: 1 1 0;
  min-width: 0;
}
.grid-2 .card h3 { margin: 0 0 8px; }

/* список теж на flex */
.list-check { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.list-check li { list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.dot {
  width: 22px; height: 22px; border-radius: 999px; background: #fff;
  border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center;
  flex: 0 0 22px;
}
.dot::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--accent); }

/* Запити */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-weight: 500; }

/* Відгуки */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; align-self: start; height: auto; }
.stars { color: var(--ok); letter-spacing: 1px; font-weight: 700; }
blockquote { margin: 0; color: var(--text); }
.author { color: var(--muted); font-weight: 600; }

/* Контакти */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start; }
.contact .card { padding: 26px; }
.contact .row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }

/* Футер */
footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); }

/* Респонс */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .menu { display: none; }
  .hero-list { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }

  /* кнопки хіро */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions > a { width: 100%; text-align: center; }
  .hero-actions > a.cta { justify-content: center; }

  /* процес → одна під одною */
  .grid-2 { flex-direction: column; gap: 16px; }
  .grid-2 > .card { flex: none; width: 100%; }
}

@media (min-width: 1025px) {
  .hero .wrap { grid-template-columns: 0.8fr 1.2fr; }
}


#method .card strong {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Картки цін із фото */
.price-card {
  padding: 0;                /* прибрали внутрішні відступи контейнера */
  overflow: hidden;          /* щоб фото красиво обрізалось по радіусу */
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 34px rgba(177,111,128,.16); }

.price-card__img {
  display: block;
  width: 100%;
  height: 168px;             /* можна 180 */
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.price-card__body {
  padding: 18px 20px 20px;
  display: grid;
  gap: 12px;
}

.price-card h3 { margin: 0; font-weight: 700; }
.price-card .price { font-size: 28px; font-weight: 800; letter-spacing: .2px; }
.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.price-card .cta { justify-content: center; width: 100%; margin-top: 4px; }

/* трохи більше “повітря” між картками */
.pricing { gap: 20px; }

/* адаптив висоти фото */
@media (max-width: 1024px) { .price-card__img { height: 160px; } }
@media (max-width: 640px)  { .price-card__img { height: 150px; } }
