:root {
  --bg: #0d1c3b;
  --bg-dark: #091429;
  --panel: rgba(8, 20, 41, 0.72);
  --gold: #a2855b;
  --gold-hover: #856b46;
  --white: #ffffff;
  --body: #f5f1e8;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
  color: var(--white);
}

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

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

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(255,255,255,0.05), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0 48px;
}

.hero-card {
  width: min(980px, 100%);
  text-align: center;
  padding: 24px 24px 48px;
}

.hero-logo {
  max-width: 760px;
  width: 100%;
  margin: 0 auto 28px;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 70px;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow);
  border: 0;
  cursor: pointer;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  border: 2px solid var(--gold);
}

.section {
  padding: 72px 0 92px;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.image-stack .feature-image {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
  object-fit: cover;
  min-height: 580px;
  max-height: 700px;
}

.stats-card {
  position: absolute;
  left: 44px;
  bottom: -28px;
  background: var(--gold);
  color: var(--white);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 30px;
  min-width: min(490px, calc(100% - 88px));
}

.stats-card strong {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-card span {
  color: #f8f4eb;
  font-size: 1.02rem;
}

.eyebrow {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.sub-title {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  margin: 48px 0 18px;
}

.body-copy {
  color: var(--body);
  font-size: 1.22rem;
  line-height: 1.62;
  margin: 0;
}

.copy-block + .copy-block {
  margin-top: 26px;
}

.page-topbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 0;
  display: flex;
  justify-content: flex-start;
}

.page-logo-small {
  width: 150px;
}

.form-page,
.clients-page {
  padding: 24px 0 80px;
}

.page-title {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.08;
  margin: 30px 0 8px;
}

.page-subtitle {
  color: var(--body);
  font-size: 1.35rem;
  margin: 0 0 32px;
}

.embed-shell {
  background: rgba(15, 34, 72, 0.7);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 540px;
}

.embed-shell > div[data-fillout-id] {
  min-height: 500px;
}

.back-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 30px;
}

.clients-logo {
  max-width: 520px;
  margin: 0 auto;
}

.clients-actions {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

.btn.small {
  min-width: 320px;
  min-height: 66px;
}

.footer-space {
  height: 24px;
}

@media (max-width: 980px) {
  .info-grid,
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .stats-card {
    position: relative;
    left: 0;
    bottom: 0;
    min-width: 100%;
    margin-top: 18px;
    border-radius: 22px;
  }

  .clients-actions {
    align-items: center;
  }

  .page-title { font-size: 3rem; }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .container,
  .page-topbar { width: min(var(--max), calc(100% - 26px)); }

  .btn,
  .btn.small {
    min-width: 100%;
    width: 100%;
    font-size: 0.96rem;
  }

  .hero-card {
    padding-left: 8px;
    padding-right: 8px;
  }

  .body-copy { font-size: 1.05rem; }
  .page-subtitle { font-size: 1.08rem; }

  .image-stack .feature-image {
    min-height: 420px;
  }
}
