:root {
  --bg: #fbfaf7;
  --text: #1f2528;
  --muted: #687277;
  --line: #e4dfd6;
  --panel: #ffffff;
  --accent: #334b5b;
  --accent-dark: #223541;
  --soft: #f1eee7;
  --shadow: 0 24px 70px rgba(31, 37, 40, 0.10);
}

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

a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 223, 214, 0.75);
}
.logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
}
nav { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: flex-end; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
nav a:hover { color: var(--text); }

.section { padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem); max-width: 1180px; margin: 0 auto; }
.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.eyebrow, .section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  margin: 0 0 .9rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.4rem, 9vw, 7.3rem); line-height: .92; letter-spacing: -.07em; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 1.2rem; }
h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.subtitle { font-size: clamp(1.15rem, 2.5vw, 1.7rem); color: var(--accent); font-weight: 650; margin-bottom: 1rem; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: var(--muted); max-width: 650px; }
.actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(51, 75, 91, 0.22);
}
.button:hover { background: var(--accent-dark); }
.button-secondary { background: transparent; color: var(--accent); border: 1px solid var(--line); box-shadow: none; }
.button-secondary:hover { background: var(--soft); }
.hero-image-wrap { position: relative; }
.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 10% -6% -6% 10%;
  background: var(--soft);
  border-radius: 38px;
  z-index: -1;
}
.hero-image {
  width: 100%;
  max-width: 480px;
  display: block;
  border-radius: 34px;
  box-shadow: var(--shadow);
  margin: 0 auto;
}
.grid-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.section-body p { color: var(--muted); font-size: 1.07rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.64);
  border-radius: 24px;
}
.card p { color: var(--muted); margin-bottom: 0; }
.focus-panel {
  background: var(--accent);
  color: #fff;
  border-radius: 34px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: min(1060px, calc(100% - 2.5rem));
  box-shadow: var(--shadow);
}
.focus-panel .section-label { color: #d8e3ea; }
.focus-panel p:not(.section-label) { color: #edf3f6; font-size: 1.18rem; max-width: 850px; }
.contact-section { text-align: center; border-top: 1px solid var(--line); }
.contact-section p { color: var(--muted); }
.small-note { font-size: .9rem; margin-top: 1rem; }
footer { padding: 2rem 1.25rem 3rem; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  nav { gap: .7rem; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 3rem; }
  .hero-image { max-width: 360px; }
  .grid-section { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 16vw, 5.2rem); }
}
