:root {
  --cream: #f7f1ed;
  --cream-2: #efe4dc;
  --blush: #e6cfc1;
  --sand: #cfae91;
  --gold: #a48867;
  --ink: #364443;
  --ink-soft: rgba(54, 68, 67, 0.76);
  --white-soft: rgba(255, 255, 255, 0.72);
  --border: rgba(164, 136, 103, 0.28);
  --shadow: 0 24px 70px rgba(54, 68, 67, 0.13);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

body::selection { background: var(--blush); color: var(--ink); }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 12%, rgba(230, 207, 193, 0.9), transparent 34%),
    radial-gradient(circle at 84% 8%, rgba(207, 174, 145, 0.38), transparent 30%),
    linear-gradient(135deg, #f8f3ef 0%, #f2e8df 48%, #f8f3ef 100%);
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: min(300px, 58vw);
  height: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.section-pad {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 64px;
}

.hero-copy {
  padding: 46px 0;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 7.2rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
}

h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 720px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--ink);
  margin: 26px 0 16px;
}

.hero-copy p:not(.eyebrow):not(.lead) {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffaf6;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(54, 68, 67, 0.18);
}

.button-small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  border-color: var(--border);
}

.hero-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(230, 207, 193, 0.38));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  border: 1px solid rgba(164, 136, 103, 0.28);
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--gold);
  font-size: 1.55rem;
  margin-bottom: 24px;
}

.hero-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.hero-card p {
  color: var(--ink-soft);
  margin: 22px 0 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 74px;
}

.values article {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white-soft);
  box-shadow: 0 12px 40px rgba(54, 68, 67, 0.06);
}

.values p { color: var(--ink-soft); margin-bottom: 0; }

.note {
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--ink);
  color: #fff7f0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  box-shadow: var(--shadow);
}

.note h2 { color: #fff7f0; }
.note p:last-child { margin: 4px 0 0; color: rgba(255, 247, 240, 0.78); }
.note .eyebrow { color: var(--sand); }

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 42px;
  align-items: start;
  padding-top: 86px;
  padding-bottom: 58px;
}

.contact-intro {
  position: sticky;
  top: 24px;
}

.contact-intro p:not(.eyebrow) { color: var(--ink-soft); }

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 720;
  font-size: 0.94rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(54, 68, 67, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea { resize: vertical; min-height: 150px; }

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(164, 136, 103, 0.14);
  background: #fff;
}

.contact-form > label { margin-top: 18px; }

.robot-row {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.robot-check input { max-width: 180px; }

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 560;
  color: var(--ink-soft);
}

.privacy-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 5px;
  accent-color: var(--ink);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  margin-top: 24px;
  width: 100%;
}

.form-note {
  margin: 16px 0 0;
  color: rgba(54, 68, 67, 0.62);
  font-size: 0.9rem;
}

.form-alert {
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-weight: 700;
}

.form-alert-success {
  background: rgba(54, 68, 67, 0.09);
  border: 1px solid rgba(54, 68, 67, 0.22);
}

.form-alert-error {
  background: rgba(164, 136, 103, 0.14);
  border: 1px solid rgba(164, 136, 103, 0.34);
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(54, 68, 67, 0.65);
  border-top: 1px solid var(--border);
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--ink); text-decoration: none; font-weight: 700; }

@media (max-width: 900px) {
  .hero, .contact, .note { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .contact-intro { position: static; }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    flex-direction: column;
    align-items: flex-start;
  }
  .header-actions { width: 100%; justify-content: space-between; }
  .section-pad, .site-footer { width: min(100% - 28px, 1180px); }
  .form-grid { grid-template-columns: 1fr; }
  .hero-buttons .button { width: 100%; }
  h1 { font-size: clamp(2.65rem, 15vw, 4.4rem); }
  .site-footer { flex-direction: column; }
}
