:root {
  --bg: #f6f3ee;
  --bg-soft: #f1ebdf;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #ffffff;
  --text: #1e2430;
  --text-soft: #5a6271;
  --accent: #c2a66e;
  --accent-deep: #a98a4b;
  --accent-cool: #4c7d86;
  --accent-cool-soft: rgba(76, 125, 134, 0.14);
  --line: rgba(30, 36, 48, 0.12);
  --line-accent: rgba(194, 166, 110, 0.4);
  --shadow-soft: 0 18px 38px rgba(30, 36, 48, 0.12);
  --shadow-strong: 0 28px 54px rgba(30, 36, 48, 0.2);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 12%, rgba(194, 166, 110, 0.1), transparent 40%),
              radial-gradient(circle at 88% 7%, rgba(255, 255, 255, 0.75), transparent 34%),
              var(--bg);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 36, 48, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 36, 48, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
}

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: linear-gradient(180deg, transparent 0%, rgba(232, 223, 207, 0.36) 100%);
}

.section-tight {
  padding: 80px 0;
}

.kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

.display-xl,
.display-lg,
.display-md {
  margin: 0;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0;
  line-height: 0.96;
}

.display-xl {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.display-lg {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
}

.display-md {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

.lead {
  margin: 0;
  font-size: clamp(1.02rem, 2.2vw, 1.3rem);
  line-height: 1.65;
  color: var(--text-soft);
}

.muted {
  color: var(--text-soft);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: block;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(194, 166, 110, 0.22);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-body {
  padding: 1.4rem 1.4rem 1.5rem;
}

.card-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
}

.card-text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.glass {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.glass-soft {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.92rem 1.5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  box-shadow: 0 16px 34px rgba(169, 138, 75, 0.38);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(169, 138, 75, 0.45);
}

.btn-ghost {
  border: 1px solid var(--line-accent);
  background: rgba(255, 255, 255, 0.72);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.95);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid var(--line-accent);
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.78);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
}

.stat-card p {
  margin: 0;
}

.stat-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.stat-card .value {
  margin-top: 0.3rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.page-hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}

.page-hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  transform: scale(1.03);
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(255,255,255,0.92), rgba(246,243,238,0.78));
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}

.cta-band {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3.2rem);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.65), rgba(255,255,255,0.35));
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .section {
    padding: 84px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(1240px, calc(100% - 1.25rem));
  }
}
