:root {
  --blue: #1768ac;
  --blue-dark: #0f4777;
  --blue-soft: #e8f3fb;
  --teal: #27a7a1;
  --ink: #162432;
  --muted: #0f2842;
  --line: #dbe7f0;
  --paper: #ffffff;
  --wash: #f6fbfe;
  --warm: #f6c85f;
  --shadow: 0 20px 50px rgba(23, 104, 172, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
  overflow-x: hidden;
}

main {
  flex: 1;
}

main:not(.home-main) {
  display: flex;
  flex-direction: column;
}

main:not(.home-main) > .section {
  flex: 1;
}

img {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--blue-dark);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-width: 220px;
  flex-shrink: 0;
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand-title {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.main-nav a {
  color: var(--ink);
  font-weight: 650;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.hours-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.button,
.call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(23, 104, 172, 0.18);
  cursor: pointer;
}

.site-header .call-link {
  min-width: 154px;
  white-space: nowrap;
}

.button:hover,
.call-link:hover {
  background: var(--blue-dark);
  color: #fff;
}

.button.secondary {
  background: var(--blue-soft);
  color: var(--blue-dark);
  box-shadow: none;
}

.button.secondary:hover {
  background: #d7ebf8;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 92px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle-text {
  line-height: 1;
}

.hero {
  padding: 30px 0 29px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.58) 100%),
    url("../img/salon-about.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 58px);
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: #33485c;
  font-size: 20px;
}

.hero-copy {
  max-width: 760px;
}

.hero-title {
  max-width: none;
  color: var(--ink);
  font-size: clamp(42px, 4.05vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  overflow-wrap: normal;
}

.hero-title span {
  display: inline-block;
  white-space: nowrap;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(204, 221, 235, 0.85);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(22, 36, 50, 0.07);
  backdrop-filter: blur(6px);
}

.hero-stat {
  min-width: 0;
  padding: 2px 14px;
  border-right: 1px solid var(--line);
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-stat > span {
  display: block;
}

.hero-stat strong {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--blue);
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
}

.hero-stat strong span {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}

.hero-stat-suffix {
  font-size: inherit;
  line-height: inherit;
}

.hero-stat > span {
  margin-top: 6px;
  color: #33485c;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.hero-panel {
  display: flex;
  max-width: 100%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-panel .fact-list,
.hero-panel .hero-actions {
  width: 100%;
}

.hero-panel .hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.hero-panel .button,
.hero-panel .call-link {
  min-height: 38px;
  padding: 9px 16px;
  width: 100%;
  font-size: 15px;
  white-space: nowrap;
}

.fact-list {
  display: grid;
  gap: 6px;
  margin: 0;
}

.fact-list div {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.fact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.fact-list dd {
  margin: 3px 0 0;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section {
  padding: 68px 0;
}

.home-main .section {
  padding: 34px 0;
}

.section.alt {
  background: var(--wash);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.section-head-stacked {
  display: block;
}

.section-head-stacked p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 14px;
}

.reviews-page .section-head-stacked p:not(.eyebrow) {
  max-width: none;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.master-card,
.info-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(22, 36, 50, 0.06);
}

.service-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(22, 36, 50, 0.12);
}

.service-card img,
.master-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card img {
  transition: transform 0.28s ease;
}

.service-card:hover img {
  transform: scale(1.02);
}

.home-services .service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.home-services .service-card img {
  height: 230px;
  padding: 14px;
  background: #f8fbfd;
  object-fit: contain;
}

.home-services .service-card .card-body {
  flex: 1;
}

.services-page h1,
.prices-page h1,
.masters-page h1,
.reviews-page h1,
.contacts-page h1 {
  max-width: none;
  font-size: clamp(28px, 4.2vw, 52px);
  overflow-wrap: normal;
  white-space: nowrap;
}

.services-page .service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.services-page .service-card img {
  height: 260px;
  padding: 14px;
  background: #f8fbfd;
  object-fit: contain;
}

.services-page .service-card .card-body {
  flex: 1;
}

.card-body {
  padding: 22px;
}

.card-body p,
.master-card p,
.info-card p {
  color: var(--muted);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-on-scroll.is-visible.service-card:hover {
  transform: translateY(-4px);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 750;
}

.text-block {
  max-width: 840px;
}

.text-block p {
  margin: 0 0 18px;
  color: #33485c;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.about-grid {
  align-items: center;
}

.about-image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
}

.price-tools {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.price-tools .call-link {
  margin-left: auto;
}

.price-help {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.search-field {
  width: min(520px, 100%);
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.price-search {
  display: flex;
  width: min(590px, 100%);
  gap: 8px;
  align-items: center;
}

.price-search .search-field {
  flex: 1;
  width: auto;
}

.price-search-button {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(23, 104, 172, 0.22);
  cursor: pointer;
}

.price-search-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.price-search-button:hover {
  background: var(--blue-dark);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.price-accordions {
  display: grid;
  gap: 14px;
}

.price-accordion {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.price-accordion[hidden] {
  display: none;
}

.price-accordion-toggle {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.price-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.price-title img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.price-title span {
  min-width: 0;
}

.price-accordion-toggle::after {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  content: "";
  transform: rotate(45deg);
  transition: transform .22s ease;
}

.price-accordion.is-open .price-accordion-toggle::after {
  transform: rotate(225deg);
}

.price-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.price-accordion-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .28s ease, opacity .2s ease;
}

.price-accordion.is-open .price-accordion-panel {
  opacity: 1;
}

.price-accordion-content {
  padding: 0 20px 20px;
}

.price-accordion .price-table-wrap {
  box-shadow: none;
}

.price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.price-table-two,
.price-table-notes {
  min-width: 0;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
}

.price-table td:not(:first-child),
.price-table th:not(:first-child) {
  text-align: center;
}

.price-table tbody tr:not(.group):not(.note):hover td {
  background: #f8fbfd;
}

.price-table tr.group td {
  background: #f8fbfd;
  color: var(--blue-dark);
  font-weight: 850;
  text-align: left;
}

.price-table-two td:last-child,
.price-table-two th:last-child {
  text-align: right;
}

.price-table tr.note td {
  background: #fffaf0;
  color: #5d4a16;
  text-align: left;
  font-weight: 750;
}

.price-note {
  margin-top: 18px;
  color: var(--muted);
}

.prices-page .price-intro {
  width: 100%;
  margin-top: 10px;
}

.prices-page .section-head .price-intro p {
  max-width: none;
  margin: 0;
  line-height: 1.45;
}

.prices-page .section-head .price-intro p + p {
  margin-top: 3px;
}

.prices-page .section-head {
  margin-bottom: 22px;
}

.master-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.masters-page .master-photo {
  aspect-ratio: 3 / 4;
  background: #f8fbfd;
  overflow: hidden;
}

.masters-page .master-photo img {
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
}

.empty-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 42px 24px;
  text-align: center;
}

.empty-state img {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
}

.empty-state h1 {
  margin-inline: auto;
  text-align: center;
}

.empty-state .breadcrumbs {
  justify-content: center;
}

.empty-state .section-actions {
  justify-content: center;
}

.reviews-rating-shell {
  display: block;
  margin-bottom: 18px;
}

.reviews-rating-card {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(22, 36, 50, 0.06);
}

.reviews-rating-info {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.reviews-rating-main p {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.reviews-rating-main a {
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  text-decoration: none;
}

.reviews-rating-main span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reviews-rating-score {
  display: grid;
  gap: 5px;
  justify-items: start;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.reviews-rating-score strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.reviews-rating-score span {
  color: #ffc400;
  font-size: 16px;
  letter-spacing: 1px;
}

.reviews-rating-score a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.reviews-rating-actions {
  display: grid;
  gap: 10px;
}

.reviews-rating-actions .call-link,
.reviews-rating-actions .review-source-link {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.featured-reviews {
  margin-bottom: 34px;
}

.featured-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.featured-review-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(22, 36, 50, 0.06);
}

.featured-review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 850;
}

.featured-review-top h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 18px;
}

.featured-review-top p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.review-stars {
  margin-bottom: 12px;
  color: #ffc400;
  font-size: 18px;
  letter-spacing: 1px;
}

.featured-review-text {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.62;
  white-space: pre-line;
}

.review-source-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.review-source-link:hover {
  background: #d8ecfb;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

.contacts-page h1 {
  white-space: normal;
}

.contacts-page .contact-layout aside,
.contacts-page .map-frame {
  height: 100%;
  min-height: 680px;
}

.info-card {
  padding: 24px;
}

.contacts-page .info-card h2 {
  margin-bottom: 18px;
}

.contacts-page .info-card h3 {
  margin-top: 18px;
}

.contacts-page .info-card h2 + h3 {
  margin-top: 10px;
}

.route-list {
  padding-left: 18px;
  color: var(--muted);
}

.map-frame {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue-soft);
}

.contacts-summary {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.contacts-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-map {
  min-height: 420px;
}

.site-footer {
  padding: 18px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a {
  color: #fff;
}

.mobile-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 30;
  display: none;
}

.mobile-call .call-link {
  width: 100%;
}

@media (max-width: 1020px) {
  .header-actions .hours-badge {
    display: none;
  }

  .main-nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero-grid,
  .contact-layout,
  .contacts-summary {
    grid-template-columns: 1fr;
  }

  .featured-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-rating-card {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .reviews-rating-score {
    justify-items: start;
  }

  .reviews-rating-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-page .contact-layout aside,
  .contacts-page .map-frame {
    min-height: 440px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    border-color: #b9d8ec;
    background: var(--blue-soft);
    color: var(--blue-dark);
    box-shadow: 0 8px 18px rgba(23, 104, 172, 0.12);
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 0;
  }

  .header-actions .call-link {
    display: none;
  }

  .brand-title {
    font-size: 22px;
  }

  .brand-subtitle {
    margin-top: 3px;
    font-size: 12px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .hero {
    padding: 22px 0;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-panel .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-panel .button,
  .hero-panel .call-link {
    min-height: 44px;
    padding: 12px 18px;
    font-size: inherit;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat {
    padding: 12px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .hero-stat:nth-child(2n) {
    border-right: 0;
  }

  .hero-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .hero-stat:nth-child(odd) {
    padding-left: 0;
  }

  .hero-stat:nth-child(even) {
    padding-right: 0;
  }

  .hero-title span {
    display: block;
  }

  .section {
    padding: 54px 0;
  }

  .home-main .section {
    padding: 27px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .price-table-wrap {
    overflow-x: visible;
  }

  .price-table {
    display: block;
    min-width: 0;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody {
    display: block;
  }

  .price-table tr[hidden] {
    display: none !important;
  }

  .price-table tr:not(.group):not(.note) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .price-table tr:not(.group):not(.note) td {
    padding: 4px;
    border: 0;
  }

  .price-table tr:not(.group):not(.note) td:first-child {
    grid-column: 1 / -1;
    padding: 0 4px 9px;
    color: var(--ink);
    font-weight: 800;
    text-align: left;
  }

  .price-table tr:not(.group):not(.note) td:not(:first-child)::before {
    display: block;
    min-height: 28px;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.25;
  }

  .price-table tr:not(.group):not(.note) td:nth-child(2)::before {
    content: "Под машинку";
  }

  .price-table tr:not(.group):not(.note) td:nth-child(3)::before {
    content: "Домашняя";
  }

  .price-table tr:not(.group):not(.note) td:nth-child(4)::before {
    content: "По породе";
  }

  .price-table tr.group,
  .price-table tr.note {
    display: block;
  }

  .price-table tr.group td,
  .price-table tr.note td {
    display: block;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
  }

  .price-help {
    max-width: none;
    margin-bottom: 14px;
  }

  .price-accordion-toggle {
    align-items: center;
    padding: 16px;
  }

  .price-title {
    gap: 10px;
  }

  .price-title img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .price-count {
    font-size: 12px;
  }

  .price-accordion-content {
    padding: 0 12px 14px;
  }

  .price-table-two tr:not(.group):not(.note) {
    grid-template-columns: 1fr;
  }

  .price-table-two tr:not(.group):not(.note) td:nth-child(2)::before {
    min-height: 0;
    content: "Цена";
  }

  .price-table-two tr:not(.group):not(.note) td:last-child {
    text-align: left;
  }

  .price-table-notes tr.note td {
    background: #fff;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.5;
  }

  .service-card img,
  .master-card img {
    height: 240px;
  }

  .home-services .service-card img {
    height: 250px;
  }

  .footer-inner {
    display: block;
  }

  .mobile-call {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  main:not(.home-main) .section {
    padding: 42px 0;
  }

  h1 {
    max-width: 100%;
    font-size: 29px;
    word-break: break-word;
  }

  .services-page h1,
  .prices-page h1,
  .masters-page h1,
  .reviews-page h1,
  .contacts-page h1 {
    font-size: 29px;
    white-space: normal;
  }

  .breadcrumbs {
    flex-wrap: wrap;
    gap: 2px 6px;
  }

  .hero-title {
    font-size: 34px;
    word-break: normal;
  }

  .nav-toggle {
    min-width: 82px;
    padding: 0 10px;
    gap: 7px;
    font-size: 13px;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    width: 18px;
  }

  .hero-panel {
    padding: 20px;
  }

  .hero-stats {
    margin-top: 20px;
    padding: 14px 16px;
  }

  .hero-stat strong {
    font-size: 26px;
  }

  .hero-stat > span {
    font-size: 12px;
  }

  .lead {
    font-size: 18px;
  }

  .services-page .service-card img {
    height: 220px;
  }

  .services-page .card-body,
  .masters-page .card-body {
    padding: 18px;
  }

  .empty-state {
    min-height: 0;
    padding: 32px 18px;
  }

  .empty-state img {
    width: 78px;
    height: 78px;
  }

  .featured-reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .featured-review-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 12px 28px rgba(22, 36, 50, 0.06);
  }

  .featured-review-top {
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .review-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 14px;
  }

  .featured-review-top h3 {
    font-size: 20px;
    line-height: 1.2;
  }

  .featured-review-top p {
    font-size: 14px;
  }

  .review-stars {
    margin-bottom: 12px;
    color: #ffc400;
    font-size: 16px;
  }

  .featured-review-text {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.55;
  }

  .review-source-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .reviews-rating-card {
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 12px 28px rgba(22, 36, 50, 0.06);
  }

  .reviews-rating-info,
  .reviews-rating-actions {
    grid-template-columns: 1fr;
  }

  .reviews-rating-info {
    display: grid;
    gap: 12px;
  }

  .reviews-rating-main a {
    font-size: 18px;
  }

  .reviews-rating-score strong {
    font-size: 28px;
  }

  .reviews-rating-score {
    padding-left: 0;
    border-left: 0;
  }

  .reviews-rating-actions {
    gap: 8px;
  }

  .reviews-rating-score a {
    white-space: normal;
  }

  .price-accordion-toggle .price-count {
    display: none;
  }

  .reviews-page .featured-reviews {
    margin-bottom: 24px;
  }

  .reviews-page .featured-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .reviews-page .featured-review-card,
  .reviews-page .reviews-rating-card {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .reviews-page .featured-review-top {
    display: flex;
  }

  .reviews-page .review-avatar {
    display: inline-flex;
  }

  .reviews-page .review-stars {
    display: block;
  }

  .info-card {
    padding: 20px;
  }

  .contacts-page .info-card h2 {
    margin-bottom: 14px;
  }

  .contacts-page .info-card h3 {
    margin-top: 16px;
  }

  .contacts-page .info-card h2 + h3 {
    margin-top: 8px;
  }

  .hero-actions,
  .section-actions,
  .price-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .price-search {
    width: 100%;
  }

  .price-tools .call-link {
    margin-left: 0;
  }

  .button,
  .call-link {
    width: 100%;
  }

  .footer-inner p {
    margin: 0;
    overflow-wrap: anywhere;
  }

  .footer-inner p + p {
    margin-top: 6px;
  }
}

@media (hover: none) {
  .service-card:hover,
  .reveal-on-scroll.is-visible.service-card:hover {
    transform: none;
  }

  .service-card:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card img,
  .reveal-on-scroll {
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
