@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Fraunces:wght@600;700&display=swap');

:root {
  --ink: #0f172a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --sky: #e0f2fe;
  --mint: #ecfeff;
  --gray: #475569;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

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

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

.wrap {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

.primary-nav {
  display: flex;
  gap: 18px;
  color: var(--gray);
}

.primary-nav li {
  list-style: none;
}

.primary-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.primary-nav {
  font-size: 14px;
  color: var(--gray);
  opacity: 0.85;
}

@media (min-width: 900px) {
  .site-header .wrap {
    width: min(1600px, calc(100% - 32px));
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(37, 99, 235, 0.25);
}

.btn:focus,
.btn:focus-visible {
  outline: none;
}

.ghost {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  border-radius: 0;
  border: none;
  color: var(--gray);
  background: transparent;
}

.ghost:hover {
  color: var(--ink);
  text-decoration: underline;
}

.hero {
  padding: 90px 0 70px;
  background: linear-gradient(140deg, var(--mint), #ffffff 45%, var(--sky));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 4vw, 52px);
  margin: 14px 0;
}

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

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.photo.wide {
  min-height: 220px;
}

.visual-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.visual-card.alt {
  background: #f0f9ff;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.mini-bars span {
  height: 5px;
  border-radius: 999px;
  background: var(--blue);
}

.section {
  padding: 60px 0;
}

.section.light {
  background: var(--soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--gray);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.services-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

.services-intro {
  display: grid;
  gap: 16px;
  align-content: start;
}

.services-intro h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 0;
  white-space: nowrap;
}

.services-intro p {
  color: var(--gray);
  margin-bottom: 12px;
}

.services-stack {
  display: grid;
  gap: 16px;
}

.photo-strip {
  margin: 10px 0 24px;
}

.services-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.photo-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.photo-caption {
  margin-top: 12px;
  color: var(--gray);
  font-size: 14px;
}

@media (max-width: 980px) {
  .services-layout {
    grid-template-columns: 1fr;
  }
  .services-split {
    grid-template-columns: 1fr;
  }
  .services-intro h2 {
    white-space: normal;
  }
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.steps > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.steps > div:last-child {
  border-bottom: none;
}

.steps span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.proof {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.proof ul {
  padding-left: 18px;
  color: var(--gray);
}

.proof-stats {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.proof-stats div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.proof-stats span {
  color: var(--gray);
  font-size: 13px;
}

.form-placeholder {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--gray);
  text-align: center;
  background: #ffffff;
}

.form-shell {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.form-progress {
  display: grid;
  gap: 8px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--blue);
  transition: width 0.2s ease;
}

.progress-text {
  font-size: 13px;
  color: var(--gray);
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.form-card h3 {
  font-family: 'Fraunces', serif;
  margin-top: 0;
  font-size: clamp(22px, 2.4vw, 28px);
}

.form-card label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--gray);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.form-actions .btn {
  margin-left: auto;
}

.form-step {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 16px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.form-step.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.form-step.is-exiting-forward {
  opacity: 0;
  transform: translateX(-24px);
}

.form-step.is-exiting-back {
  opacity: 0;
  transform: translateX(24px);
}

.lead-funnel .form-step {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.lead-funnel .form-step.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.lead-funnel .form-step.is-exiting-forward {
  opacity: 0;
  transform: translateX(-24px);
}

.lead-funnel .form-step.is-exiting-back {
  opacity: 0;
  transform: translateX(24px);
}

.form-card.is-hidden {
  display: none;
}

.form-thankyou {
  text-align: center;
}

.form-thankyou.is-active {
  display: grid;
  gap: 12px;
}

.form-thankyou h3 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 6px;
}

.form-thankyou p {
  margin-top: 0;
  color: var(--gray);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.lead-funnel {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: start;
  padding: 26px 0 50px;
  background: #ffffff;
}

.lead-funnel-wrap {
  display: grid;
  gap: 22px;
}

.lead-funnel-stage {
  position: relative;
}

.lead-funnel-stage.is-complete .lead-funnel-card#jnr-form {
  display: none;
}

.lead-funnel-thankyou {
  display: none;
}

.lead-funnel-stage.is-complete .lead-funnel-thankyou {
  display: block;
}

.lead-funnel-header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 16px;
}

.lead-funnel-progress {
  justify-self: center;
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 520px;
}

.lead-funnel-step {
  text-align: center;
  font-weight: 700;
  color: var(--blue);
  font-size: 13px;
}

.lead-funnel-track {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lead-funnel-bar {
  height: 100%;
  background: var(--blue);
  width: 12%;
  transition: width 0.2s ease;
}

.lead-funnel-card {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 36px 40px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.lead-funnel-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.05;
  text-align: center;
  margin: 10px 0 28px;
  letter-spacing: -0.02em;
}

.lead-funnel-sub {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  margin: -6px 0 18px;
}

.lead-funnel-thankyou {
  text-align: center;
}

.lead-funnel-thankyou .btn {
  margin: 0 auto;
}

.lead-funnel-note {
  text-align: center;
  color: var(--gray);
  font-size: 14px;
  margin: -14px 0 22px;
}

.option-grid {
  display: grid;
  gap: 14px;
  justify-content: center;
  margin: 0 auto 22px;
  width: min(980px, 100%);
}

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

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

.option-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 16px 16px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

.option-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
}

.option-text {
  font-weight: 600;
  color: var(--ink);
}

.option-radio {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(71, 85, 105, 0.35);
  box-sizing: border-box;
}

.option-tile {
  display: grid;
  align-content: space-between;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 20px 16px 0;
  min-height: 150px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.04);
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.option-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

.tile-icon {
  font-size: 30px;
  text-align: center;
}

.tile-label {
  display: block;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  background: var(--blue);
  border-radius: 0 0 14px 14px;
  padding: 16px 10px;
}

.option-card.is-selected,
.option-tile.is-selected {
  border-color: rgba(37, 99, 235, 0.9);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.18);
}

.option-card.is-selected .option-radio {
  border-color: var(--blue);
  background: radial-gradient(circle at center, var(--blue) 0 55%, transparent 56% 100%);
}

.lead-funnel-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lead-funnel-actions .btn {
  min-width: 220px;
  height: 52px;
  font-size: 16px;
}

.lead-funnel-actions .btn[disabled] {
  opacity: 0.55;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.lead-funnel-actions .ghost {
  font-weight: 600;
}

.single-input {
  width: min(620px, 100%);
  margin: 0 auto 14px;
}

.name-row {
  width: min(820px, 100%);
  margin: 0 auto 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.name-row .single-input {
  width: 100%;
  margin: 0;
}

.single-input input,
.single-input textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.input-help {
  margin: 10px 0 0;
  color: var(--gray);
  font-size: 13px;
  text-align: center;
}

.lead-funnel-footer {
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  opacity: 0.85;
  margin-top: 10px;
}

.lead-funnel-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 920px) {
  .option-grid-4 {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
  .lead-funnel-header {
    grid-template-columns: 1fr;
  }
  .lead-funnel-progress {
    min-width: min(560px, 92vw);
  }
}

@media (max-width: 560px) {
  .option-grid-2 {
    grid-template-columns: 1fr;
  }
  .name-row {
    grid-template-columns: 1fr;
  }
  .lead-funnel-card {
    padding: 30px 18px 26px;
  }
}

.page-hero {
  padding: 90px 0 40px;
}

.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 48px);
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 50px 0 20px;
}

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

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav li {
  list-style: none;
}

.footer-nav a {
  color: inherit;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  padding-top: 16px;
  font-size: 13px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
  font-size: 12px;
}

@media (max-width: 820px) {
  .site-header {
    display: none;
  }

  .primary-nav {
    display: none;
  }

  .lead-funnel {
    min-height: 100vh;
    padding-top: 34px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .hero {
    padding: 70px 0 54px;
  }

  .section {
    padding: 44px 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
