:root {
  --bg: #f6f2ec;
  --bg-dark: #1c1814;
  --text: #1c1814;
  --text-muted: #5c5349;
  --accent: #c44b2a;
  --accent-soft: #e8d5cc;
  --card: #fffdf9;
  --border: rgba(28, 24, 20, 0.08);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 24px 64px rgba(28, 24, 20, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(246, 242, 236, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: none;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent);
}

.header-phone {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(196, 75, 42, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(196, 75, 42, 0.45);
}

.btn-outline {
  border: 1.5px solid var(--text);
  background: transparent;
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

/* Sections */
.section {
  padding: 5rem clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Catalog cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Advantages */
.advantages {
  background: var(--bg-dark);
  color: #f6f2ec;
  max-width: none;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
}

.advantages .steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step p {
  color: rgba(246, 242, 236, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.contact-text > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 28rem;
}

.contact-phone {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-phone:hover {
  text-decoration: underline;
}

.contact-address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.contact-hours {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-map {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}

.contact-map:hover {
  text-decoration: underline;
}

/* Decorative bricks */
.contact-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.brick-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.brick-stack span {
  display: block;
  height: 28px;
  background: linear-gradient(135deg, #c44b2a 0%, #8b3219 100%);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 12px rgba(28,24,20,0.2);
}

.brick-stack span:nth-child(1) { width: 140px; }
.brick-stack span:nth-child(2) { width: 120px; margin-left: 20px; }
.brick-stack span:nth-child(3) { width: 140px; }
.brick-stack span:nth-child(4) { width: 100px; margin-right: 30px; }
.brick-stack span:nth-child(5) { width: 130px; }

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer .logo {
  font-size: 1.1rem;
  color: var(--text);
}

.footer a:hover {
  color: var(--accent);
}
