/* TONMR production polish layer */
:root {
  --surface-1: oklch(0.17 0.018 265);
  --surface-2: oklch(0.21 0.022 265);
  --surface-3: oklch(0.25 0.026 265);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --shadow-md: 0 18px 48px oklch(0 0 0 / 0.28);
  --shadow-sm: 0 10px 28px oklch(0 0 0 / 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, oklch(0.12 0.012 265), oklch(0.15 0.014 250) 42%, oklch(0.12 0.01 260)),
    var(--background);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container,
.container-custom {
  width: min(100% - 2rem, 1240px);
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 0;
}

.layout-main-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.layout-main-column,
.layout-sidebar-column {
  min-width: 0;
}

@media (min-width: 1120px) {
  .layout-main-with-sidebar:not(.layout-main--full) {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.navbar {
  min-height: 70px;
}

.navbar .container-custom {
  min-height: 46px;
}

.navbar-logo-icon--image {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
}

.navbar-logo-icon--image img,
.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link-active {
  color: var(--primary);
}

.btn-primary,
.btn-secondary {
  min-height: 42px;
  border-radius: 8px;
  white-space: normal;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: oklch(1 0 0 / 0.06);
  color: var(--foreground);
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: oklch(0.75 0.18 160 / 0.65);
  background: oklch(1 0 0 / 0.1);
  transform: translateY(-1px);
}

.section-padding {
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}

.home-band {
  background: linear-gradient(180deg, oklch(1 0 0 / 0.025), oklch(1 0 0 / 0.01));
  border-block: 1px solid oklch(1 0 0 / 0.06);
}

.home-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 28px));
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-top: -1.25rem;
}

.home-hero__media,
.home-hero__media img,
.home-hero__shade {
  position: absolute;
  inset: 0;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
}

.home-hero__shade {
  background:
    linear-gradient(90deg, oklch(0.09 0.012 260 / 0.96), oklch(0.11 0.018 250 / 0.8) 46%, oklch(0.12 0.02 250 / 0.46)),
    linear-gradient(0deg, var(--background), transparent 45%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(2rem, 6vw, 5rem);
}

.home-hero__eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero__title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.home-hero__subtitle {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: var(--foreground-muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.home-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  width: min(100%, 780px);
  margin-top: 1.6rem;
  padding: 0.5rem;
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: 8px;
  background: oklch(0.1 0.012 260 / 0.82);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.home-search__icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--foreground-muted);
  font-size: 1.25rem;
}

.home-search__input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  color: var(--foreground);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 1rem;
}

.home-search__button {
  align-self: stretch;
}

.home-hero__actions,
.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 860px);
  margin-top: 2rem;
}

.home-stat {
  padding: 1rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 8px;
  background: oklch(1 0 0 / 0.055);
  backdrop-filter: blur(12px);
}

.home-stat strong {
  display: block;
  color: var(--foreground);
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1;
}

.home-stat span {
  display: block;
  margin-top: 0.35rem;
  color: var(--foreground-muted);
  font-size: 0.9rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 68px;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-1);
  color: var(--foreground);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: var(--surface-2);
}

.category-pill__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: oklch(0.65 0.19 250 / 0.16);
  color: var(--primary);
  flex: 0 0 auto;
}

.grid-listings,
.service-grid,
.blog-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.card-listing,
.card-service,
.blog-tile {
  min-width: 0;
  border-radius: 8px;
  background: var(--surface-1);
  box-shadow: var(--shadow-sm);
}

.card-listing-image,
.service-thumb,
.blog-tile img {
  background: var(--surface-2);
}

.card-listing-image {
  position: relative;
  aspect-ratio: 4 / 3;
}

.card-listing-title,
.service-title,
.blog-tile h3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-listing-meta,
.service-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--foreground-muted);
  font-size: 0.88rem;
}

.service-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.service-thumb img,
.blog-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.service-meta {
  justify-content: space-between;
}

.service-price {
  color: var(--primary);
  font-weight: 800;
}

.blog-tile {
  overflow: hidden;
}

.blog-tile a {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  min-height: 132px;
  color: inherit;
  text-decoration: none;
}

.blog-tile div {
  padding: 1rem;
}

.blog-tile span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-tile h3 {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
}

.empty-state--polished {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: 260px;
  padding: 2rem;
  text-align: center;
  border: 1px dashed oklch(1 0 0 / 0.18);
  border-radius: 8px;
  background: var(--surface-1);
}

.empty-state--polished > i {
  color: var(--primary);
  font-size: 2.4rem;
}

.empty-state--polished h3,
.empty-state--polished p {
  margin: 0;
}

.empty-state--polished p {
  color: var(--foreground-muted);
}

.home-cta {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.home-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, oklch(0.65 0.19 250 / 0.16), transparent 42%),
    var(--surface-1);
}

.home-cta h2,
.home-cta p {
  margin: 0;
}

.home-cta p:not(.section-kicker) {
  margin-top: 0.55rem;
  max-width: 720px;
  color: var(--foreground-muted);
}

.search-suggestions-container {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-1);
  box-shadow: var(--shadow-md);
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid oklch(1 0 0 / 0.07);
}

.suggestion-item:last-child {
  border-bottom: 0;
}

.suggestion-item:hover {
  background: var(--surface-2);
}

.suggestion-item .count {
  margin-left: auto;
  color: var(--foreground-muted);
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero__shade {
    background:
      linear-gradient(180deg, oklch(0.09 0.012 260 / 0.78), oklch(0.1 0.014 260 / 0.94) 58%, var(--background)),
      linear-gradient(0deg, var(--background), transparent 50%);
  }

  .home-search {
    grid-template-columns: 1fr;
  }

  .home-search__button {
    width: 100%;
  }

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

  .section-head,
  .home-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-tile a {
    grid-template-columns: 1fr;
  }

  .blog-tile img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .container,
  .container-custom,
  .home-hero__content {
    width: min(100% - 1rem, 1240px);
  }

  .home-hero__actions > *,
  .home-cta__actions > * {
    width: 100%;
  }

  .home-stats {
    grid-template-columns: 1fr;
  }

  .category-strip,
  .grid-listings,
  .service-grid,
  .blog-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}
