:root {
  --ink: #16233a;
  --ink-soft: #445268;
  --paper: #fbf8f1;
  --card: #ffffff;
  --line: #e4ddce;
  --accent: #1f6f5c;
  --accent-dark: #165445;
  --gold: #c98a2e;
  --gold-soft: #f3e4c8;
  --shadow: 0 18px 40px rgba(22, 35, 58, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 16px/1.65 "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  margin: 0 0 .45em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em; }

a { color: var(--accent-dark); }

img { display: block; max-width: 100%; height: auto; }

.wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font: 700 1.15rem/1 Georgia, serif;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; }
.brand-text small { color: var(--ink-soft); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .95rem;
}

.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--accent-dark); }

.site-nav .cta,
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .2s ease, transform .2s ease;
}

.site-nav .cta:hover,
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent);
}

.btn-ghost:hover { background: var(--accent); color: #fff; }

/* Shared sections */
.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .8em;
}

.section { padding: 78px 0; }

/* Hero */
.hero {
  padding: 68px 0 82px;
  background:
    radial-gradient(circle at 88% 12%, rgba(243, 228, 200, .8), transparent 42%),
    linear-gradient(160deg, #fbf8f1 0%, #f4efe3 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 52px;
}

.hero .lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 34px; }

.hero-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stats div { margin: 0; }
.stats dt { font: 700 1.9rem/1 Georgia, serif; color: var(--accent-dark); }
.stats dd { margin: 6px 0 0; color: var(--ink-soft); font-size: .92rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.about-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 2px solid var(--gold);
}

/* Cards */
.cards-section { background: #f4efe3; border-block: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-note { max-width: 32em; color: var(--ink-soft); margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: 0 2px 0 rgba(22, 35, 58, .03);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.card-num {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font: 700 .82rem/1 Georgia, serif;
  letter-spacing: .12em;
}

.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-soft); font-size: .95rem; }

.card-meta {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--accent-dark) !important;
  font-size: .82rem !important;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Lead form */
.lead-section { background: var(--ink); color: #f4efe3; }

.lead-section h2 { color: #fff; }
.lead-section .eyebrow { color: #e7b661; }
.lead-copy p { color: #c8d0dc; max-width: 30em; }
.lead-copy .lead-hint { font-size: .9rem; color: #93a1b5; }

.lead-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.lead-form {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: block;
  margin: 0 0 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 11px 13px;
  font: inherit;
  color: var(--ink);
  background: #fcfbf7;
  border: 1px solid #d6cfc0;
  border-radius: 10px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(31, 111, 92, .35);
  border-color: var(--accent);
}

.lead-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
}

.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }

.req { color: #b3412e; }

.lead-form button {
  width: 100%;
  padding: 13px 20px;
  font: 600 1rem/1 inherit;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease;
}

.lead-form button:hover { background: var(--accent-dark); }
.lead-form button:disabled { opacity: .65; cursor: wait; }

.form-status { min-height: 1.4em; margin: 14px 0 0; font-size: .9rem; color: var(--accent-dark); }
.form-status.error { color: #b3412e; }

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  padding: 24px;
}

.contact-card h3 { font-size: 1.05rem; }
.contact-card p { margin: 0 0 .4em; }
.contact-card a { text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.muted { color: var(--ink-soft); font-size: .88rem; }

/* Footer */
.site-footer {
  background: #101a2b;
  color: #aab6c8;
  padding: 24px 0;
  font-size: .9rem;
}

.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer a { color: #e7b661; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .lead-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-head { flex-direction: column; align-items: start; gap: 12px; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, 100% - 28px); }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .site-nav { width: 100%; gap: 14px; flex-wrap: wrap; padding-bottom: 6px; font-size: .9rem; }
  .site-nav .cta { margin-left: auto; padding: 9px 16px; }
  .hero { padding: 46px 0 56px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .cards { grid-template-columns: 1fr; }
  .lead-form { padding: 22px 18px; }
  .stats { gap: 24px; }
}
