/* ============================================================
   Podo Theme — дизайн-система з design/Багатосторінковий сайт.dc.html
   ============================================================ */

/* ---- Шрифт Onest (variable, self-hosted) ---- */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Токени ---- */
:root {
  /* #1A825C — трохи темніший за макетний #1C8C63 заради контрасту 4.5:1 (WCAG AA) */
  --accent: #1A825C;
  --accent-dark: #166B4E;
  --leaf: #6DB33E;
  --leaf-ink: #4A7F1C; /* leaf для ТЕКСТУ на білому (контраст) */
  --ink: #12352A;
  --muted: #4C5C53;
  --muted-2: #5E6E66;
  --muted-3: #5F7367;
  --faint: #66776C;
  --border: #E7EEE9;
  --border-2: #EEF3F0;
  --ghost-border: #D8E4DD;
  --chip-bg: #EAF4EF;
  --section-bg: #F4F9F6;
  --hero-bg: linear-gradient(180deg, #FBFDFC, #F0F7F3);
  --band-bg: linear-gradient(160deg, #12352A, #0B3D2E);
  --band-muted: #BFD6CB;
  --footer-bg: #082B21;
  --footer-fg: #9FC1B3;
  --footer-dim: #5E7E70;
  --font: 'Onest', system-ui, sans-serif;
  --radius-card: 18px;
  --radius-big: 24px;
  --pill: 999px;
  --pad-x: 40px;
}

/* ---- База ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; }
h1 { font-size: 44px; line-height: 1.07; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 700; }

input, select, textarea, button { font-family: inherit; font-size: inherit; }
input::placeholder, textarea::placeholder { color: #9FB0A6; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: var(--pad-x); }

.section { padding-block: 72px; }
.section--tight { padding-block: 64px; }
.section--bg { background: var(--section-bg); }

/* ---- Типові елементи ---- */
.eyebrow {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
}

.breadcrumbs { font-size: 13px; color: var(--accent-dark); font-weight: 600; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 16px 30px;
  border: none;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--ghost-border);
  color: var(--ink);
  font-weight: 600;
}
.btn--white { background: #fff; color: #0B3D2E; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--chip-bg);
  color: var(--accent-dark);
  padding: 8px 15px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 600;
}
.chip::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px;
}

.arrow-link { font-size: 15px; font-weight: 600; color: var(--accent-dark); cursor: pointer; white-space: nowrap; }

.stars { color: var(--leaf); font-size: 16px; letter-spacing: 1px; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: var(--pill);
  white-space: nowrap;
}

/* Плейсхолдер зображення (як у макеті) */
.ph {
  background: repeating-linear-gradient(45deg, rgba(28,140,99,.10) 0 14px, rgba(28,140,99,.03) 14px 28px);
  border: 1px solid rgba(28,140,99,.18);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph > span {
  font-family: monospace;
  font-size: 13px;
  color: #61756A;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #E1E9E4;
}
.ph--45 { aspect-ratio: 4/5; }
.ph--11 { aspect-ratio: 1/1; }
.ph--43 { aspect-ratio: 4/3; border-radius: 16px; }

/* ---- Сітки ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.section-head h2 { margin-top: 12px; }
.section-head h2:first-child { margin-top: 0; }

/* ---- Шапка ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad-x);
  max-width: 1200px;
  margin-inline: auto;
}
.site-header-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border-2);
  position: relative;
}

.brand { display: flex; align-items: center; gap: 11px; color: inherit; }
.brand img {
  width: 42px; height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.brand-name { font-weight: 700; font-size: 16px; line-height: 1.15; color: var(--ink); }
.brand-tagline {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
}

.site-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-menu a {
  position: relative;
  display: block;
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.site-menu .current-menu-item > a::after,
.site-menu .current_page_item > a::after {
  content: '';
  position: absolute;
  left: 10px; right: 10px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 6px 20px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border-2);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-menu li a {
  display: block;
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border-2);
}
.mobile-menu li:last-child a { border-bottom: none; }
.mobile-menu-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* ---- Hero головної ---- */
.hero { background: var(--hero-bg); padding-block: 58px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.hero h1 { margin-top: 22px; }
.hero-sub { margin: 22px 0 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 500px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-bullets { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-bullet {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.hero-bullet::before { content: '✓'; color: var(--leaf); font-size: 17px; }

.hero-media { position: relative; }
.hero-media img.hero-photo { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; }
.rating-card {
  position: absolute;
  left: -26px; bottom: 32px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 20px;
  box-shadow: 0 24px 48px -24px rgba(11,61,46,.4);
  display: flex;
  align-items: center;
  gap: 12px;
}
.rating-card .stars { font-size: 15px; }
.rating-value { font-weight: 700; font-size: 15px; line-height: 1.2; }
.rating-count { font-size: 12px; color: var(--muted-3); line-height: 1.2; }

/* ---- Hero внутрішніх сторінок ---- */
.page-hero { background: var(--hero-bg); padding-block: 56px; }
.page-hero h1 { margin: 14px 0 12px; font-size: 38px; }
.page-hero .page-hero-sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 640px; }

/* ---- Картка послуги ---- */
.service-card { display: flex; flex-direction: column; padding: 26px; }
.service-num { font-family: monospace; font-size: 14px; font-weight: 700; color: var(--leaf-ink); }
.service-card h3 { margin: 14px 0 8px; }
.service-card p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--muted-2); flex: 1; }
.service-price { font-size: 14px; font-weight: 700; color: var(--accent-dark); }
.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-2);
}
.service-card-foot .service-price { font-size: 15px; }
.service-book-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid #DDE7E1;
  padding: 8px 14px;
  border-radius: var(--pill);
}

.service-group { padding-block: 56px; border-bottom: 1px solid var(--border-2); }
.service-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.service-group-head::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); flex: 0 0 auto; }
.service-group-head h2 { font-size: 26px; }

/* ---- Картка відгуку ---- */
.review-card { break-inside: avoid; }
.review-card .stars { margin-bottom: 12px; display: block; }
.review-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: #3A4A42; }
.review-author { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 14px; color: var(--ink); }
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--chip-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex: 0 0 auto;
}
.review-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.review-card-head .stars { margin-bottom: 0; }

.masonry { columns: 3; column-gap: 22px; }
.masonry > * { margin-bottom: 22px; }

/* ---- Картка статті ---- */
.post-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: inherit;
}
.post-card-media { aspect-ratio: 16/10; overflow: hidden; display: block; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-media.ph { border: none; border-radius: 0; }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.post-card-meta .read-time { font-size: 12px; color: var(--faint); }
.post-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.32; flex: 1; }
.post-card h3 a { color: var(--ink); }
.post-card-excerpt { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.post-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-2);
}
.post-card-date { font-size: 12px; color: var(--faint); }
.post-card-foot .arrow-link { font-size: 13px; }

/* ---- Фільтр-пігулки ---- */
.pills { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  padding: 10px 18px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: var(--muted);
  border: 1px solid #DDE7E1;
}
.pill--active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- Пагінація ---- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  padding: 10px 16px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #DDE7E1;
  color: var(--muted);
}
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- Прайс ---- */
.prices-layout {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 44px;
  align-items: start;
}
.price-groups { display: flex; flex-direction: column; gap: 36px; }
.price-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.price-group-head::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); flex: 0 0 auto; }
.price-group-head h2 { font-size: 22px; letter-spacing: -.01em; }
.price-table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 24px;
  border-bottom: 1px solid #F0F5F2;
}
.price-row:last-child { border-bottom: none; }
.price-row-name { font-size: 15px; color: #3A4A42; }
.price-row-price { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; margin-left: 20px; }

.sticky-card {
  position: sticky;
  top: 24px;
  background: var(--band-bg);
  color: #fff;
  border-radius: 22px;
  padding: 34px;
}
.sticky-card h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.sticky-card > p { margin: 0 0 24px; font-size: 15px; line-height: 1.65; color: var(--band-muted); }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.check-list li::before { content: '✓'; color: var(--leaf); }
.sticky-card .btn { display: block; text-align: center; width: 100%; }
.sticky-card-phone { margin-top: 16px; text-align: center; font-size: 14px; color: var(--footer-fg); }
.sticky-card-phone a { color: #fff; font-weight: 600; }

/* ---- Відгуки: зведення ---- */
.reviews-summary {
  display: grid;
  grid-template-columns: .8fr 2fr;
  gap: 32px;
  margin-bottom: 36px;
}
.summary-card {
  background: var(--band-bg);
  color: #fff;
  border-radius: 22px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.summary-value { font-size: 56px; font-weight: 800; line-height: 1; }
.summary-card .stars { font-size: 20px; margin: 10px 0 6px; }
.summary-label { font-size: 14px; color: var(--band-muted); }
.distribution {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.dist-row { display: flex; align-items: center; gap: 14px; }
.dist-label { width: 44px; font-size: 13px; color: var(--muted-2); }
.dist-bar { flex: 1; height: 9px; background: var(--border-2); border-radius: var(--pill); overflow: hidden; }
.dist-fill { height: 100%; background: var(--accent); }
.dist-percent { font-size: 13px; color: var(--muted-2); width: 36px; text-align: right; }

/* ---- Про кабінет ---- */
.about-hero { background: var(--hero-bg); padding-block: 64px; }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
}
.about-hero h1 { margin: 14px 0 18px; font-size: 40px; line-height: 1.06; }
.about-hero-text { margin: 0 0 16px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.about-hero img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; }

.stats-strip {
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 30px var(--pad-x); border-right: 1px solid var(--border-2); }
.stat-cell:first-child { padding-left: 0; }
.stat-cell:last-child { border-right: none; }
.stat-value { font-size: 34px; font-weight: 800; color: var(--ink); }
.stat-label { font-size: 14px; color: var(--muted-3); margin-top: 4px; }

.principle-card { background: var(--section-bg); border-radius: var(--radius-card); padding: 30px; }
.principle-num {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: #fff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.principle-card h3 { margin: 0 0 8px; font-size: 18px; }
.principle-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }

.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--chip-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}
.why-item h3 { margin: 0 0 8px; font-size: 17px; }
.why-item p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; }
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
}
.team-photo { width: 130px; flex: 0 0 130px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo.ph { border: none; border-radius: 0; }
.team-photo.ph > span { transform: rotate(-90deg); font-size: 11px; padding: 4px 8px; }
.team-body { padding: 24px; }
.team-body h3 { margin: 0 0 4px; font-size: 19px; }
.team-role { font-size: 13px; color: var(--accent-dark); font-weight: 600; margin-bottom: 12px; }
.team-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }

/* ---- Контакти ---- */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  padding-block: 52px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.ci { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--chip-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 auto;
}
.ci-label { font-size: 13px; color: var(--faint); }
.ci-value { font-weight: 700; font-size: 16px; color: var(--ink); }
.ci-value a { color: var(--ink); }

.messengers { display: flex; gap: 12px; margin-bottom: 26px; }
.messenger {
  flex: 1;
  text-align: center;
  padding: 14px;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.messenger--tg { background: var(--accent); }
.messenger--viber { background: #6E5AA8; }
.messenger--ig { border: 1px solid #DDE7E1; color: var(--ink); }

.map-box { border-radius: 18px; overflow: hidden; border: 1px solid #DCE8E1; }
.map-box iframe { display: block; width: 100%; aspect-ratio: 16/10; border: 0; }
.map-box.ph { aspect-ratio: 16/10; border-radius: 18px; }

/* ---- Форма запису ---- */
.form-card {
  background: var(--band-bg);
  color: #fff;
  border-radius: var(--radius-big);
  padding: 40px;
}
.form-card h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.form-card-sub { margin: 0 0 26px; font-size: 15px; color: var(--band-muted); line-height: 1.6; }
.booking-form { display: flex; flex-direction: column; gap: 16px; }
.booking-form label { font-size: 13px; font-weight: 600; color: #CFE1D8; display: block; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  font-size: 15px;
  color: #fff;
  outline: none;
  resize: vertical;
}
.booking-form select option { color: var(--ink); }
.booking-form button[type="submit"] {
  margin-top: 6px;
  background: #fff;
  color: #0B3D2E;
  border: none;
  padding: 17px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.booking-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.form-consent { margin: 2px 0 0; font-size: 12px; color: var(--footer-fg); text-align: center; }
.form-error { display: none; margin: 0; font-size: 14px; color: #FFB4A9; text-align: center; }
.form-error.is-visible { display: block; }

.form-success { text-align: center; padding: 50px 12px; }
.form-success-icon {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--leaf);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}
.form-success h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.form-success p { margin: 0; font-size: 15px; color: var(--band-muted); line-height: 1.6; }

/* ---- Стаття (single) ---- */
.article-hero { background: var(--hero-bg); padding-block: 48px; }
.article-hero h1 { font-size: 36px; max-width: 760px; margin: 14px 0 12px; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--faint); }
.article-body { max-width: 760px; margin-inline: auto; padding-block: 48px; }
.article-body p { font-size: 16px; line-height: 1.75; color: #2E4038; margin: 0 0 18px; }
.article-body h2 { font-size: 26px; margin: 34px 0 14px; }
.article-body h3 { font-size: 20px; margin: 28px 0 12px; }
.article-body ul, .article-body ol { padding-left: 24px; color: #2E4038; line-height: 1.75; margin: 0 0 18px; }
.article-body li { margin-bottom: 6px; }
.article-body img { border-radius: 16px; }
.article-body blockquote {
  margin: 0 0 18px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--section-bg);
  border-radius: 0 12px 12px 0;
}

/* ---- CTA-банда ---- */
.cta-band {
  background: var(--band-bg);
  color: #fff;
  border-radius: var(--radius-big);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { color: #fff; font-size: 34px; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 17px; color: var(--band-muted); max-width: 520px; line-height: 1.6; }
.cta-band-wrap { max-width: 1200px; margin-inline: auto; padding: 0 var(--pad-x) 72px; }

/* ---- Промо-блок (світлий, розсилка/відгук) ---- */
.promo-box {
  background: var(--section-bg);
  border: 1px solid #E4EEE8;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.promo-box h3 { font-size: 24px; margin-bottom: 8px; }
.promo-box p { margin: 0; font-size: 15px; color: var(--muted-2); }
.promo-box--center { display: block; text-align: center; }
.promo-box--center h3 { font-size: 26px; margin-bottom: 10px; }
.promo-box--center p { margin-bottom: 22px; }

/* ---- 404 ---- */
.error-page { text-align: center; padding-block: 110px; }
.error-page .num { font-size: 90px; font-weight: 800; color: var(--accent); line-height: 1; }
.error-page p { color: var(--muted-2); margin: 14px 0 26px; }

/* ---- Футер ---- */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); }
.site-footer-inner { max-width: 1200px; margin-inline: auto; padding: 52px var(--pad-x) 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand img {
  width: 40px; height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}
.footer-brand-name { font-weight: 700; color: #fff; font-size: 15px; }
.footer-brand-sub { font-size: 12px; }
.footer-about { margin: 0; font-size: 14px; max-width: 280px; }
.footer-title {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--footer-dim);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: var(--footer-fg); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-size: 13px; color: var(--footer-dim); }

/* ---- Адаптив (брейкпоінт з макета) ---- */
@media (max-width: 760px) {
  :root { --pad-x: 20px; }

  h1 { font-size: 32px; line-height: 1.12; }
  h2 { font-size: 25px; }
  h3 { font-size: 18px; }

  .section, .section--tight { padding-block: 40px; }

  .site-menu, .header-actions { display: none; }
  .burger { display: flex; }

  .hero { padding-block: 40px; }
  .hero-grid, .about-hero-grid, .contacts-layout,
  .grid-2, .grid-3, .grid-4,
  .prices-layout, .reviews-summary, .team-grid, .gallery-grid { grid-template-columns: 1fr; }

  .page-hero { padding-block: 36px; }
  .page-hero h1 { font-size: 30px; }
  .about-hero { padding-block: 40px; }
  .about-hero h1 { font-size: 30px; }

  .rating-card { left: 12px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border-2); padding: 20px 0; }

  .masonry { columns: 1; }

  .sticky-card { position: static; }

  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px; }
  .cta-band h2 { font-size: 25px; }
  .cta-band-wrap { padding-bottom: 40px; }

  .promo-box { flex-direction: column; align-items: flex-start; padding: 28px; }

  .form-card { padding: 28px 22px; }

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

  .service-group { padding-block: 36px; }
  .article-body { padding-block: 32px; }
}
@media (min-width: 761px) {
  .mobile-menu { display: none !important; }
}

/* ---- Попап відгуку ---- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18, 53, 42, .55); }
.modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-big);
  padding: 34px 32px 28px;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(18, 53, 42, .25);
}
.modal-card h3 { font-size: 24px; margin-bottom: 6px; }
.modal-sub { margin: 0 0 20px; font-size: 14px; color: var(--muted-2); line-height: 1.55; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--section-bg);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--chip-bg); color: var(--ink); }
body.modal-open { overflow: hidden; }

.review-form { display: flex; flex-direction: column; gap: 14px; }
.review-form label { font-size: 13px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 4px; }
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--ghost-border);
  border-radius: 12px;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.review-form button[type="submit"] { width: 100%; }
.review-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.review-form .form-error { color: #B3261E; }
.modal-consent { margin: 0; font-size: 12px; color: var(--faint); text-align: center; }

.rating-field { border: none; padding: 0; margin: 0; }
.rating-field legend { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
/* Радіо в DOM ідуть 5→1, row-reverse рендерить 1→5 — сусідній селектор підсвічує зірки лівіше обраної */
.star-rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating label { font-size: 30px; line-height: 1; color: var(--ghost-border); cursor: pointer; transition: color .15s; padding: 2px; }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--leaf); }
.star-rating input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.modal-success { text-align: center; padding: 30px 8px 20px; }
.modal-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--chip-bg);
  color: var(--accent);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-success h3 { font-size: 22px; margin-bottom: 8px; }
.modal-success p { margin: 0; font-size: 14px; color: var(--muted-2); line-height: 1.6; }

@media (max-width: 760px) {
  .modal { padding: 12px; }
  .modal-card { padding: 26px 20px 22px; }
}
