:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-soft: #f0ede6;
  --surface-muted: #e8e2d7;
  --text: #1f2329;
  --muted: #5b616b;
  --heading: #11161c;
  --accent: #a8843b;
  --accent-dark: #806525;
  --line: #ddd5c8;
  --footer-bg: #403525;
  --footer-text: #efe8db;
  --container: min(1160px, calc(100% - 48px));
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  color: var(--heading);
  margin: 0 0 14px;
  line-height: 1.2;
}

h1, h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: var(--container); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 238, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.header-logo {
  max-height: 48px;
}

.brand-mark {
  display: block;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--heading);
}
.brand-sub {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  color: #3a4049;
  font-size: 0.95rem;
}
.nav a:hover,
.nav a.active {
  color: var(--heading);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: #f7f2e8;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--heading);
  font-size: 1.45rem;
}

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(rgba(22, 24, 27, 0.5), rgba(22, 24, 27, 0.5)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  max-width: 760px;
  padding: 110px 0 96px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.8vw, 4.8rem);
  color: #fff;
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 88px 0; }
.section.alt { background: var(--surface-soft); }

.kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

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

.section h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.muted { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.media {
  min-height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.item {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.item h3 { font-size: 1.35rem; margin-bottom: 10px; }

.stats {
  background: var(--surface-muted);
  border-top: 1px solid #d3c8b6;
  border-bottom: 1px solid #d3c8b6;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 38px 0;
}
.stat-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.6rem;
  color: var(--heading);
}

.cta-band {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0;
}
.cta-band h2,
.cta-band p { color: var(--footer-text); }

.page-hero {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  padding: 80px 0 64px;
}

.page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); }
.breadcrumbs { color: #6f747c; font-size: 0.92rem; margin-bottom: 10px; }

.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: block; font-weight: 600; margin-bottom: 6px; color: #2d3239; }
input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #ccc3b5;
  border-radius: 2px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--accent); border-color: var(--accent); }
.notice { padding: 12px 14px; margin-bottom: 14px; border-radius: 2px; font-weight: 600; }
.notice.success { background: #e9f5ec; border: 1px solid #b2d7bd; color: #1f5b31; }
.notice.error { background: #fcecea; border: 1px solid #e5b6b1; color: #7a2f26; }

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 80px;
}
.footer-brand-link {
  display: inline-flex;
}

.footer-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.footer-logo {
  max-height: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  padding: 52px 0 36px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.footer-links h4 { margin-bottom: 8px; color: #fff; font-size: 1rem; font-family: Inter, sans-serif; }
.footer-links a,
.footer-links span { color: #e4d9c9; display: block; margin: 4px 0; font-size: 0.95rem; overflow-wrap: anywhere; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 16px 0 22px;
  font-size: 0.9rem;
  color: #ddcfb8;
}

@media (max-width: 980px) {
  .split,
  .grid-3,
  .grid-2,
  .stats-grid,
  .footer-grid,
  .section-head,
  .form-grid { grid-template-columns: 1fr; }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #f7f4ef;
  }
  .nav.open { display: flex; }
  .mobile-toggle { display: block; }

  .header-logo { max-height: 42px; }
  .footer-logo { max-height: 48px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero-inner { padding: 86px 0 80px; }
  .section { padding: 70px 0; }
  .header-logo { max-height: 36px; }
}
