:root {
  --bg: #070707;
  --bg-soft: #0e0e0e;
  --panel: rgba(255,255,255,0.05);
  --panel-strong: rgba(255,255,255,0.075);
  --text: #f7f2e9;
  --muted: #cbbfae;
  --gold: #cda75b;
  --gold-strong: #f1d18b;
  --line: rgba(255,255,255,0.10);
  --line-gold: rgba(205,167,91,0.32);
  --shadow: 0 22px 70px rgba(0,0,0,0.42);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 10%, rgba(205,167,91,0.10), transparent 24%),
    radial-gradient(circle at 90% 8%, rgba(205,167,91,0.08), transparent 18%),
    radial-gradient(circle at 78% 72%, rgba(205,167,91,0.05), transparent 24%),
    linear-gradient(180deg, #050505, #090909 45%, #050505 100%);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,7,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img,
.footer-logo,
.thanks-logo {
  width: 220px;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35));
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: var(--muted);
  transition: 0.25s ease;
}
.nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.hero {
  padding: 78px 0 52px;
}
.hero-grid,
.institutional-grid,
.two-col,
.contact-wrap,
.cta-strip-inner,
.footer-grid {
  display: grid;
  gap: 34px;
}
.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.hero-copy { max-width: 760px; }
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--gold-strong);
  margin-bottom: 18px;
}
.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.96;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  letter-spacing: -0.03em;
}
h3 { font-size: 1.7rem; }
h1 span, h2 span { color: var(--gold-strong); }

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.hero-text {
  max-width: 700px;
  font-size: 1.08rem;
}
.spaced { margin-top: 18px; }

.hero-actions,
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 24px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-points span {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.hero-card,
.service-card,
.feature-card,
.timeline-item,
.contact-card,
.form-panel,
.thanks-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 34px;
  border-color: var(--line-gold);
}
.hero-card-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-strong);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-card-top strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 1.06;
  margin-bottom: 10px;
}
.metric-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.metric-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.metric-card.wide { grid-column: 1 / -1; }
.metric-card h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.institutional-band {
  padding: 26px 0 0;
}
.institutional-grid {
  grid-template-columns: 1fr 0.8fr;
  padding: 34px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.section { padding: 100px 0; }
.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.two-col {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.section-head {
  max-width: 880px;
  margin-bottom: 34px;
}

.service-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card,
.feature-card {
  padding: 30px;
}
.service-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  color: var(--gold-strong);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 22px;
}
.service-card ul {
  margin: 18px 0 0;
  padding: 0 0 0 18px;
  color: var(--text);
}
.service-card li { margin-bottom: 10px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.timeline-item {
  padding: 28px;
  position: relative;
}
.timeline-item span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--bg);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}

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

.contact-wrap {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.contact-card {
  padding: 18px 20px;
  border-radius: 22px;
}
.contact-card small {
  display: block;
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.contact-card strong {
  font-size: 1.06rem;
}

.form-panel {
  padding: 30px;
  border-color: var(--line-gold);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
label {
  color: var(--text);
  font-size: 0.95rem;
}
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
input::placeholder, textarea::placeholder { color: #ac9f8c; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(205,167,91,0.65);
  transform: translateY(-1px);
}
textarea { resize: vertical; }

.form-status {
  min-height: 22px;
  margin-top: 14px;
  color: var(--muted);
}
.form-status.error { color: #ffb4b4; }
.form-status.success { color: #b9efc1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  border: 1px solid transparent;
  font-weight: 600;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}
.btn-primary {
  color: #101010;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}
.btn-secondary,
.btn-nav {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.03);
}
.btn-block { width: 100%; }

.cta-strip {
  padding: 0 0 100px;
}
.cta-strip-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(205,167,91,0.10), rgba(255,255,255,0.03));
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 34px 0 20px;
}
.footer-grid {
  grid-template-columns: 1.2fr 0.6fr 0.7fr;
  align-items: start;
}
.footer-grid h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.footer-grid a,
.footer-grid span,
.footer-grid p {
  display: block;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 18px;
  padding-top: 18px;
  color: #ae9f89;
}

.thanks-body {
  min-height: 100vh;
}
.thanks-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.thanks-card {
  max-width: 760px;
  width: 100%;
  text-align: center;
  padding: 48px 32px;
  border-color: var(--line-gold);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.24s; }

@media (max-width: 1100px) {
  .hero-grid,
  .contact-wrap,
  .institutional-grid,
  .two-col,
  .cta-strip-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 10px;
    padding: 16px;
    background: rgba(10,10,10,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .menu-toggle { display: block; }
  .field-row,
  .metric-grid,
  .timeline,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .brand img, .footer-logo, .thanks-logo { width: 180px; }
}

@media (max-width: 640px) {
  .section { padding: 78px 0; }
  .hero { padding-top: 48px; }
  .hero-card,
  .service-card,
  .feature-card,
  .timeline-item,
  .form-panel,
  .thanks-card {
    padding: 24px;
  }
  .institutional-grid,
  .cta-strip-inner {
    padding: 24px;
  }
  .hero-actions,
  .thanks-actions {
    flex-direction: column;
  }
  .btn { width: 100%; }
}
