:root {
  --ink: #1c2b3a;
  --muted: #6b7785;
  --muted-light: #99a3ad;
  --line: #e6e1d6;
  --bg: #fbfaf7;
  --bg-alt: #f3f1ea;
  --white: #ffffff;
  --accent: #2f6e6e;
  --accent-light: #5c9c9c;
  --brass: #ad8a53;
  --radius: 4px;
  --shadow: 0 16px 40px rgba(28, 43, 58, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav a:hover { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-call {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-call:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 22px; height: 1.5px; background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(47, 110, 110, 0.07), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(173, 138, 83, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  z-index: -1;
}
.hero-inner {
  padding: 130px 24px 100px;
  max-width: 740px;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin-bottom: 22px;
}
.section-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 50px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p { color: var(--muted); font-size: 1.02rem; }
.about-stats {
  display: grid;
  gap: 28px;
  padding-top: 4px;
}
.stat-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: var(--ink);
  font-weight: 600;
}
.stat-label {
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--white);
  padding: 38px 34px;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}
.service-item {
  padding: 30px 24px 26px 0;
  border-right: 1px solid var(--line);
}
.service-item:last-child { border-right: none; }
.service-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.service-item p { color: var(--muted); margin: 0; font-size: 0.92rem; }
.services-note {
  color: var(--muted-light);
  font-size: 0.88rem;
  font-style: italic;
}

/* Info / weather / tax calc */
.info-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 60px;
}
.info-block {
  background: var(--white);
  padding: 34px;
}
.info-block h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.info-block p { color: var(--muted); font-size: 0.96rem; }
.weather-embed {
  width: 100%;
  aspect-ratio: 650 / 450;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 14px;
}
.info-note {
  color: var(--muted-light);
  font-size: 0.86rem;
  font-style: italic;
  margin: 0;
}
.info-note a { color: var(--accent); font-style: normal; }
.info-links {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.info-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.info-links a:hover { color: var(--accent); border-color: var(--accent); }

.tax-calc {
  border: 1px solid var(--line);
  padding: 40px;
}
.tax-calc h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.tax-calc .info-note { margin-bottom: 28px; }
.calc-row {
  display: flex;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}
.calc-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.calc-row input {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  width: 190px;
}
.calc-row input:focus { outline: none; border-color: var(--accent); }
.calc-result {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 600;
  min-height: 1.4em;
}
.calc-result .calc-detail {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 6px;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}
.contact-list strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contacts-map {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(10%) contrast(0.97);
}

/* Footer */
.site-footer {
  background: var(--white);
  color: var(--muted);
  padding: 32px 0;
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner a { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .contacts-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .contacts-map { min-height: 280px; }
  .info-grid { grid-template-columns: 1fr; }
  .tax-calc { padding: 28px; }
  .calc-row input { width: 100%; }
}
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }
  .nav.open { display: flex; }
  .btn-call { display: none; }
  .burger { display: flex; }
  .hero-inner { padding: 100px 24px 70px; }
  .services-grid { grid-template-columns: 1fr; }
}
