:root {
  --bg: #fbf7f1;
  --bg-2: #fffaf4;
  --text: #251c18;
  --muted: #7a6f68;
  --line: rgba(67, 45, 34, .13);
  --card: rgba(255, 255, 255, .78);
  --accent: #b98b5d;
  --accent-2: #6f4532;
  --dark: #241914;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(51, 33, 22, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 139, 93, .22), transparent 34%),
    linear-gradient(135deg, var(--bg), #fff);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 14px max(16px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 139, 93, .18), transparent 32%),
    rgba(18, 14, 12, .92);
  border-bottom: 1px solid rgba(185, 139, 93, .24);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  max-width: 310px;
}

.logo img {
  display: block;
  width: min(255px, 32vw);
  height: auto;
}

.top-nav {
  justify-self: center;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
}

.top-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 244, 229, .76);
  transition: .25s ease;
}

.top-nav a:hover {
  color: #fff6e7;
  background: rgba(185,139,93,.18);
}

.header-phone {
  font-weight: 800;
  white-space: nowrap;
  color: #f2d7ad;
  letter-spacing: .01em;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 58px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 20%, rgba(111, 69, 50, .14), transparent 28%),
    linear-gradient(120deg, transparent 58%, rgba(185, 139, 93, .13));
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 34px;
  align-items: stretch;
}

.hero__content {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,250,244,.62)),
    radial-gradient(circle at 0 0, rgba(185,139,93,.2), transparent 38%);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .95;
  letter-spacing: -.07em;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 32px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(111, 69, 50, .22);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,.68);
}

.btn--dark {
  color: #fff;
  background: var(--dark);
}

.hero__panel {
  padding: 30px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(36,25,20,.92), rgba(111,69,50,.88)),
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.22), transparent 34%);
  box-shadow: var(--shadow);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 700;
}

.stat {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.stat strong {
  font-size: 58px;
  line-height: .9;
  letter-spacing: -.06em;
}

.stat span {
  padding-bottom: 6px;
  color: rgba(255,255,255,.74);
  font-weight: 700;
}

.hero__panel p {
  margin: 24px 0 0;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}

.toolbar {
  padding: 42px 0 28px;
}

.toolbar__top {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 390px);
  gap: 24px;
  align-items: end;
}

.toolbar h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.05em;
}

.search {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 34px rgba(51,33,22,.06);
  font: inherit;
  color: var(--text);
}

.search input:focus {
  border-color: rgba(185,139,93,.6);
  box-shadow: 0 0 0 4px rgba(185,139,93,.14);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  overflow: visible;
  padding: 22px 2px 8px;
}

.price-chip {
  flex: 0 1 auto;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: .22s ease;
}

.price-chip:hover,
.price-chip.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--dark);
}

.price-section {
  padding: 20px 0 76px;
}

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

.price-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 52px rgba(51, 33, 22, .07);
  backdrop-filter: blur(16px);
}

.price-card.is-hidden,
tr.is-hidden {
  display: none;
}

.price-card__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,250,244,.62));
}

.price-card__head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.price-card__head span {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(185,139,93,.13);
  font-size: 12px;
  font-weight: 800;
}

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

.price-table th,
.price-table td {
  padding: 15px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(67, 45, 34, .08);
}

.price-table th {
  color: var(--muted);
  background: rgba(255,255,255,.44);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price-table td:first-child {
  font-weight: 650;
}

.price-table td:last-child {
  width: 180px;
  color: var(--accent-2);
  font-weight: 900;
  white-space: nowrap;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  padding: 42px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  text-align: center;
  background: rgba(255,255,255,.6);
}

.cta {
  padding: 70px 0;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(185,139,93,.5), transparent 34%),
    linear-gradient(135deg, #241914, #5b3a2c);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
}

.cta p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

.cta .eyebrow {
  color: #eac9aa;
}

.footer {
  padding: 26px 0;
  background: #1c130f;
  color: rgba(255,255,255,.72);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .hero__inner,
  .toolbar__top,
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    min-height: auto;
  }

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

  .cta__actions {
    justify-content: flex-start;
  }
}

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

  .site-header {
    padding: 10px 12px;
  }

  .header-phone {
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    color: #1f1713;
    background: linear-gradient(135deg, #f5d69a, #b98b5d);
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: 42px;
  }

  .hero__content,
  .hero__panel,
  .empty-state {
    border-radius: 22px;
  }

  .price-card__head {
    padding: 18px;
  }

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

  .price-table {
    min-width: 520px;
  }

  .price-table th,
  .price-table td {
    padding: 13px 18px;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .logo img {
    width: min(210px, 52vw);
  }

  .top-nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .chips {
    gap: 8px;
    padding-top: 16px;
  }

  .price-chip {
    font-size: 13px;
    padding: 10px 13px;
  }
}
