:root {
  --bg: #e3e2de;
  --bg-contrast: #131313;
  --surface: #ffffff;
  --surface-strong: #ece3d8;
  --accent: #2f4d3a;
  --accent-strong: #1c3326;
  --text: #1b1b1b;
  --muted: #5b5b5b;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 20, 14, 0.15);
  --container: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #fdfbf8 0%, var(--bg) 55%, #efe6d8 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section.dark {
  background: var(--bg-contrast);
  color: #f8f5f0;
}

.section-title {
  margin-bottom: 32px;
  max-width: 680px;
}

.section-title h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 241, 234, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 20;
}

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

.logo {
  font-family: "Poppins", "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #f8f5f0;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(38, 64, 48, 0.25);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(38, 64, 48, 0.3);
}

.button.ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}

.button.small {
  padding: 10px 18px;
  font-size: 14px;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  background: var(--bg-contrast);
  color: #f8f5f0;
  padding: 40px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.footer-inner span {
  font-size: 14px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .section {
    padding: 64px 0;
  }
}
