/* FurnitureHouse */

:root {
  --bg: #f6f3ef;
  --bg-alt: #ede8e1;
  --surface: #ffffff;
  --text: #1c1917;
  --text-muted: #57534e;
  --accent: #8b4513;
  --accent-dark: #6b3410;
  --ink: #0f172a;
  --border: rgba(28, 25, 23, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --font: "Manrope", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 40rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.logo--compact {
  font-size: 1rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

.header__cta {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn--outline:hover {
  background: rgba(139, 69, 19, 0.08);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  background: var(--surface);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--bg-alt);
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 380px;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.hero__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.hero__stats li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  font-size: 0.9375rem;
}

.hero__stats strong {
  display: block;
  color: var(--ink);
}

.hero__visual {
  position: relative;
  min-height: 280px;
}

.hero__card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__card--1 {
  inset: 0 12% 18% 0;
  background: linear-gradient(145deg, #c4a574 0%, #8b6914 45%, #5c4a2a 100%);
}

.hero__card--2 {
  inset: 14% 0 32% 22%;
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero__card--3 {
  inset: 58% 20% 0 35%;
  background: linear-gradient(160deg, #292524 0%, #44403c 100%);
}

/* Trust */
.trust {
  padding: 0 0 3rem;
}

.trust__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust__item {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.trust__icon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.trust__item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.split__panel {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.facts {
  margin: 1rem 0;
}

.facts > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.facts dt {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.facts dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

.note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 1rem 0 0 !important;
}

/* Cards grid */
.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(139, 69, 19, 0.35);
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

.steps li {
  background: var(--surface);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.steps p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--accent-dark), #3f2e1f);
  color: #fec;
  padding: 2.5rem 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  margin: 0.5rem 0 0;
  opacity: 0.92;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

/* Contacts */
.contacts {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contacts:not(.contacts--solo) {
    grid-template-columns: 1fr 1fr;
  }
}

.contacts__lead {
  color: var(--text-muted);
}

.contacts__blk {
  margin-top: 1.25rem;
}

.contacts__blk .muted {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.contacts__card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contacts__card .small {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.requisites > div {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.requisites dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.requisites dd {
  margin: 0;
  font-size: 0.9375rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  background: var(--bg-alt);
}

.footer__inner {
  display: grid;
  gap: 1rem;
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 54rem;
}

@media (max-width: 760px) {
  .nav {
    width: 100%;
    order: 3;
  }

  .header__cta {
    margin-left: auto;
  }
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cards highlight row */
.cards--accent {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards--accent {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card--accent {
  border-color: rgba(139, 69, 19, 0.22);
  background: linear-gradient(180deg, #fffefb 0%, var(--surface) 100%);
}

/* Pricing table */
.pricing-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.85rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.pricing-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-alt);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover td {
  background: rgba(139, 69, 19, 0.04);
}

.pricing-table__price {
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

.pricing-footnote {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 48rem;
}

@media (max-width: 640px) {
  .pricing-table th:nth-child(2),
  .pricing-table td:nth-child(2) {
    display: none;
  }
}
