:root {
  --ink: #3e4442;
  --ink-2: #2f3533;
  --red: #e07a45;
  --blue: #8a847c;
  --orange: #e07a45;
  --paper: #f6f3ee;
  --white: #fffcf8;
  --muted: #6d736f;
  --line: rgba(62, 68, 66, 0.12);
  --max: 1180px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --sans: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 248, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand-line {
  height: 3px;
  background: var(--orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  position: relative;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.btn:hover { background: #c86432; }

.btn-blue { background: var(--ink-2); }
.btn-blue:hover { background: #242826; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(62, 68, 66, 0.28);
}

.btn-ghost:hover { background: var(--ink-2); color: var(--white); }

.btn-dark {
  background: var(--ink-2);
  color: var(--white);
}

.btn-dark:hover { background: var(--orange); }

.nav .btn { padding: 10px 14px; }
.nav .btn:hover { color: var(--white); }

.menu-toggle {
  display: none;
  border: 1px solid rgba(62, 68, 66, 0.28);
  background: transparent;
  color: var(--ink);
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: flex-end;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 243, 238, 0.94) 0%, rgba(246, 243, 238, 0.82) 42%, rgba(246, 243, 238, 0.28) 72%, rgba(246, 243, 238, 0.05) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 88px 0 72px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dots { display: inline-flex; gap: 6px; }
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}
.dots i:nth-child(1) { background: #f0c2a4; }
.dots i:nth-child(2) { background: var(--orange); }
.dots i:nth-child(3) { background: #8a847c; }

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2.7rem, 6.2vw, 5.3rem);
  line-height: 0.94;
  margin: 0 0 18px;
  max-width: 12ch;
}

.hero .lead {
  max-width: 36rem;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-phone {
  margin: 22px 0 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-phone a { border-bottom: 2px solid var(--orange); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
}

.pillar {
  position: relative;
  min-height: 320px;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.pillar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.pillar:hover img { transform: scale(1.06); }

.pillar span {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(47, 53, 51, 0.72));
}

.pillar strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.section { padding: 76px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2,
.page-hero h1,
.block-title {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

.section-head h2,
.block-title { font-size: clamp(2rem, 4vw, 3rem); }

.section-head a { font-weight: 700; color: var(--red); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--white);
  border-top: 4px solid var(--red);
  padding: 22px 20px 20px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(12, 14, 18, 0.05);
  transition: transform 0.2s ease;
}

.card:nth-child(3n + 2) { border-top-color: #c4b8aa; }
.card:nth-child(3n) { border-top-color: #8a847c; }
.card:hover { transform: translateY(-4px); }

.card h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.card p { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }

.card .more {
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.card:nth-child(3n + 2) .more { color: #8a6a52; }
.card:nth-child(3n) .more { color: var(--ink-2); }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.flow article {
  background: var(--white);
  padding: 18px 16px 20px;
  border-bottom: 4px solid var(--red);
}

.flow article:nth-child(2) { border-bottom-color: #c4b8aa; }
.flow article:nth-child(3) { border-bottom-color: #8a847c; }
.flow article:nth-child(4) { border-bottom-color: var(--ink-2); }

.flow strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.panel {
  background: #fff7f2;
  color: var(--ink);
  padding: 32px 28px;
  border-top: 4px solid var(--orange);
}

.panel h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  font-size: 1.8rem;
}

.panel ol { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.panel li + li { margin-top: 12px; }

.cta {
  background: #f3e6dc;
  color: var(--ink);
}

.cta .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
}

.cta h2 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.03em;
}

.cta p { margin: 0; }
.cta .btn { background: var(--orange); color: var(--white); }
.cta .btn:hover { background: #c86432; color: var(--white); }

.page-hero {
  position: relative;
  color: var(--ink);
  background: var(--paper) center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 243, 238, 0.94), rgba(246, 243, 238, 0.55));
}

.page-hero .wrap { position: relative; padding: 72px 0 40px; }

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 16ch;
}

.page-hero p { max-width: 38rem; color: var(--muted); }

.service-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
}

.service-block h2 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  font-size: 1.55rem;
}

.service-block p { margin: 0; color: var(--muted); }

.form { display: grid; gap: 14px; }
.form label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }

.form input,
.form select,
.form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border: 1px solid #d7d2c8;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.form textarea { min-height: 150px; resize: vertical; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 48px 0 72px;
  align-items: start;
}

.phone-xl {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.03em;
  margin: 8px 0 12px;
  color: var(--red);
}

.legal {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.address {
  margin: 0 0 14px;
  line-height: 1.45;
}

.site-footer .address {
  margin-top: 10px;
  color: var(--muted);
}

.note { color: var(--muted); }

.site-footer {
  background: #efeae3;
  color: var(--muted);
  padding: 40px 0 28px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr;
  gap: 28px;
}

.site-footer strong {
  display: block;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.site-footer a:hover { color: var(--orange); }

.footer-phone {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

@media (max-width: 1180px) {
  .pillars, .grid-12, .flow, .split, .footer-grid, .contact-grid, .service-block {
    grid-template-columns: 1fr 1fr;
  }
  .service-block { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--orange);
    box-shadow: 0 12px 30px rgba(62, 68, 66, 0.08);
    padding: 16px 20px 22px;
    align-items: flex-start;
  }
  .menu-toggle { display: inline-flex; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .pillars, .grid-12, .flow, .split, .footer-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 78vh; }
  .logo img { height: 40px; }
}
