:root {
  --porcelain: #fbfaf7;
  --paper: #ffffff;
  --ink: #1e3a5f;
  --muted: #5a6b7d;
  --line: #e4dcc8;
  --line-strong: #c4b48a;
  --gold: #c9a227;
  --gold-soft: #f5edd4;
  --blue-soft: #eef5fb;
  --shadow: 0 18px 48px rgba(30, 58, 95, 0.1);
  --radius: 18px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif;
  --bg: var(--porcelain);
  --button-bg: #1e3a5f;
  --button-fg: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 220, 200, 0.85);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-mark { width: 36px; height: 36px; object-fit: contain; }
.brand-name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand-tagline {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 550;
}
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .nav { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 18%;
}
.hero-inner {
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 48px 0 80px;
}
.hero-copy {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding: 28px 22px 32px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,252,247,0.92) 100%);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
}
.ornament img { width: 34px; height: 34px; object-fit: contain; }
.ornament::before,
.ornament::after {
  content: "";
  width: min(100px, 18vw);
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
}
h1 {
  margin: 16px auto 14px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-lead {
  margin: 0 auto 22px;
  max-width: 48ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn--primary {
  background: linear-gradient(180deg, #2a4a73 0%, var(--button-bg) 100%);
  color: var(--button-fg);
  box-shadow: 0 12px 28px rgba(30, 58, 95, 0.22);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; filter: none; }

/* Form section */
.section { padding: 28px 0 72px; }
.form-section { margin-top: -36px; position: relative; z-index: 2; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 36px);
}
.form-card__head {
  margin-bottom: 22px;
  text-align: center;
}
.form-card__head h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 8px;
}
.form-card__head p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
}

.corr-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 860px) {
  .corr-fields { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}
.field textarea,
.field input[type="email"] {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fcfaf6 100%);
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  resize: vertical;
  min-height: 52px;
}
.field textarea {
  min-height: 280px;
  line-height: 1.55;
}
.field textarea:focus,
.field input:focus {
  outline: none;
  border-color: #8aa4c4;
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}
.field-hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}
.field-note {
  margin: 12px 0 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 16px;
  font-size: 13.5px;
  color: #3d4a5c;
  line-height: 1.45;
  cursor: pointer;
}
.check input { margin-top: 3px; }
.check a { color: var(--ink); }
.form-err {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdeceb;
  color: #9b3b2e;
  font-size: 14px;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-success {
  text-align: center;
  padding: 28px 12px 12px;
}
.form-success[hidden] { display: none !important; }
.corr-form[hidden] { display: none !important; }
.success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e8f5ee, #cfe8da);
  color: #2f6b4f;
  font-size: 28px;
  font-weight: 700;
}
.form-success h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.form-success p {
  margin: 0 auto 22px;
  max-width: 42ch;
  color: var(--muted);
}

/* How */
.how-section {
  padding-top: 8px;
  padding-bottom: 80px;
  background:
    radial-gradient(600px 280px at 10% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    radial-gradient(500px 260px at 100% 20%, rgba(30, 58, 95, 0.08), transparent 55%);
}
.section-title {
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 28px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 10px 28px rgba(30, 58, 95, 0.04);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: #7a6210;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  background: #f6f1e6;
}
.footer-inner {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner p { margin: 0 0 6px; }
.footer-fine { font-size: 12.5px; opacity: 0.9; }
