/* ─── NextRole360 v1 — Visual Design ported from v2 ─── */

/* ── Custom Properties ── */
:root {
  --navy:        #0B1629;
  --navy-light:  #162236;
  --navy-mid:    #1e3556;
  --green:       #2563EB;
  --green-dark:  #1d4ed8;
  --green-glow:  rgba(37,99,235,0.12);
  --blue:        #60A5FA;
  --blue-dark:   #3B82F6;
  --white:       #ffffff;
  --surface:     #EFF6FF;
  --surface-2:   #f8fafc;
  --border:      #e2e8f0;
  --border-dark: #334155;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --gold:        #c09828;
  --font-display:'Plus Jakarta Sans', sans-serif;
  --font-body:   'Inter', sans-serif;
  --container:   1200px;
  --section-py:  88px;
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full:9999px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 18px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 36px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --shadow-xl: 0 16px 56px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.08);
  --shadow-green: 0 8px 32px rgba(37,99,235,.28);
  --t:      all 0.22s ease;
  --t-slow: all 0.38s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem,5vw,3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem,3.5vw,2.5rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem,2.5vw,1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
p  { font-size: 1.0625rem; line-height: 1.75; color: var(--text-muted); }

.lead {
  font-size: clamp(1rem,2vw,1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-glow);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.eyebrow-pill .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: var(--section-py); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--dark .eyebrow { color: var(--blue); }
.section--surface  { background: var(--surface); }
.section--surface-2{ background: var(--surface-2); }
.grid-3  { display: grid; gap: 24px; grid-template-columns: repeat(3,1fr); }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .lead { margin-inline: auto; }
.section-header h2  { margin-top: 8px; }
.section-header .lead { margin-top: 16px; }
.mt-xl { margin-top: 56px; }

/* ── NAVBAR (v2 white/glass style) ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--t-slow);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon-wrap { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 42px; width: auto; display: block; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  align-self: center;
}
.logo-nextrole { color: #102C6D; }
.logo-360      { color: #1075F8; }

/* In footer, override to white */
.footer .logo-nextrole { color: rgba(255,255,255,0.90); }
.footer .logo-360      { color: #60A5FA; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  transition: color 0.22s ease;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; }
.btn.nav-cta {
  color: #fff;
  background: linear-gradient(160deg,#2f6ef5 0%,#1d4ed8 100%);
  border-color: transparent;
  letter-spacing: .025em;
  box-shadow: 0 2px 8px rgba(37,99,235,.30), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn.nav-cta:hover {
  background: linear-gradient(160deg,#2563eb 0%,#1e40af 100%);
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(37,99,235,.42), inset 0 1px 0 rgba(255,255,255,.14);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--t-slow);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease, padding 0.38s ease;
}
.nav-mobile.open { display: block; max-height: 560px; padding: 16px 24px 24px; }
.nav-mobile a {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav-mobile a:hover { background: var(--surface); color: var(--navy); }
.nav-mobile .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--r-full);
  padding: 13px 28px;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn-sm { font-size: 0.8125rem; padding: 9px 18px; }
.btn-lg { font-size: 1.0625rem; padding: 17px 36px; }
.btn-xl { font-size: 1.125rem; padding: 19px 44px; }

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-secondary:hover { background: var(--green-glow); transform: translateY(-1px); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover { background: var(--surface); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ── HERO (v2 two-column layout) ── */
.hero {
  background: var(--navy);
  padding-top: 118px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(37,99,235,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(37,99,235,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 52px;
  align-items: center;
  position: relative;
}
.hero-text {
  max-width: 590px;
}
.hero-text h1 {
  color: var(--white);
  font-size: clamp(2.45rem, 5vw, 4.05rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 18px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.72rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--green);
  margin-bottom: 8px;
}
.hero-subtag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.86);
  margin-bottom: 20px;
}
.hero-subtag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(96,165,250,0.12);
}
.hero-text .lead {
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-top: 0;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
}
.hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* ── Hero Visual (right column) ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 8px rgba(37,99,235,0.06),
    0 0 0 1px rgba(37,99,235,0.18),
    0 32px 80px rgba(0,0,0,0.55),
    0 0 80px rgba(37,99,235,0.18);
  z-index: 2;
}
.hv-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hv-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(11,22,41,0.55) 100%);
  pointer-events: none;
}
.hv-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
}
.hv-ring--outer {
  width: 520px; height: 520px;
  border: 1px solid rgba(37,99,235,0.1);
  animation: hv-ring-pulse 6s ease-in-out infinite;
}
.hv-ring--inner {
  width: 430px; height: 430px;
  border: 1px solid rgba(37,99,235,0.17);
  animation: hv-ring-pulse 6s ease-in-out infinite 2s;
}
@keyframes hv-ring-pulse {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 1; }
}
.hv-badge {
  position: absolute;
  background: rgba(11,22,41,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 4;
}
.hv-badge-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(37,99,235,0.18);
  border: 1px solid rgba(37,99,235,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.hv-badge-body { display: flex; flex-direction: column; gap: 2px; }
.hv-badge-val  { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--white); line-height: 1; }
.hv-badge-lbl  { font-size: 0.67rem; color: rgba(255,255,255,0.5); white-space: nowrap; line-height: 1; }
.hv-badge--tl  { top: 16%; left: -18px; animation: hv-float 4.5s ease-in-out infinite; }
.hv-badge--br  { bottom: 18%; right: -18px; animation: hv-float 4.5s ease-in-out infinite 2.2s; }
@keyframes hv-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── Page Hero (inner pages) ── */
.hero-page {
  background: var(--navy);
  padding-top: 120px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.hero-page::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(37,99,235,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-page .eyebrow { display: block; margin-bottom: 16px; }
.hero-page h1 { color: var(--white); max-width: 720px; }
.hero-page .lead { color: rgba(255,255,255,0.6); margin-top: 18px; max-width: 580px; }

/* Diagram / Steps image section */
.diagram-section {
  background: var(--surface);
  padding: var(--section-py) 0;
  overflow: hidden;
}
.steps-img-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.35) transparent;
}
.steps-img-wrap {
  width: 100%;
  max-width: 1200px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  line-height: 0;
  margin: 0 auto;
  background: var(--white);
}
.steps-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}
@media (max-width: 720px) {
  .steps-img-wrap {
    min-width: 760px;
    border-radius: var(--r-lg);
  }
}

.framework-timeline {
  position: relative;
  margin-top: 42px;
  display: grid;
  gap: 28px;
}
.framework-line {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(37,99,235,0.28), rgba(96,165,250,0.4), rgba(37,99,235,0.28), transparent);
  pointer-events: none;
}
.framework-group {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 58px;
  align-items: stretch;
}
.framework-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}
.framework-step-mini {
  position: relative;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(37,99,235,0.13);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.24s ease, border-color 0.24s ease, transform 0.24s ease, background 0.24s ease;
  animation: framework-slide-in 0.55s ease both;
}
.framework-step-mini:nth-child(2) { animation-delay: 0.06s; }
.framework-step-mini:nth-child(3) { animation-delay: 0.12s; }
.framework-step-mini::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0.26);
  transform-origin: left;
  transition: transform 0.24s ease;
}
.framework-step-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.28);
  background: var(--white);
}
.framework-step-mini:hover::before {
  transform: scaleX(1);
}
.framework-step-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
}
.framework-step-head > span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11,22,41,0.16);
  flex-shrink: 0;
}
.framework-step-head h4 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.framework-step-head p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.framework-step-more {
  border-top: 1px solid transparent;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-left: 49px;
  transition: max-height 0.34s ease, opacity 0.22s ease, margin-top 0.24s ease;
}
.framework-step-mini:hover .framework-step-more,
.framework-step-mini:focus-within .framework-step-more {
  max-height: 210px;
  opacity: 1;
  margin-top: 14px;
  padding-top: 12px;
  border-top-color: var(--border);
}
.framework-step-more strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.framework-step-more ul {
  display: grid;
  gap: 6px;
}
.framework-step-more li {
  position: relative;
  padding-left: 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text);
}
.framework-step-more li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.framework-image-placeholder {
  position: relative;
  min-height: 372px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(37,99,235,0.16);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,246,255,0.72));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.framework-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.38), transparent 36%, rgba(37,99,235,0.06));
  pointer-events: none;
  z-index: 1;
}
.framework-image-placeholder:hover {
  transform: translateY(-5px);
  border-color: rgba(37,99,235,0.28);
  box-shadow: var(--shadow-lg);
}
.framework-image-placeholder--alt {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92));
}
.framework-image-card img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 344px;
  object-fit: contain;
  border-radius: calc(var(--r-xl) - 10px);
  transition: transform 0.45s ease;
}
.framework-image-card:hover img {
  transform: scale(1.025);
}
@keyframes framework-slide-in {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}
.framework-group--bottom .framework-step-mini {
  animation-name: framework-slide-in-right;
}
@keyframes framework-slide-in-right {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .framework-step-mini {
    animation: none;
  }
}
/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--t-slow);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,0.3); }
.service-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.service-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: var(--green);
}
.service-card.featured .service-icon { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: var(--blue); }
.service-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-full);
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.badge-std   { background: var(--green-glow); color: var(--green); }
.badge-pro   { background: rgba(37,99,235,0.12); color: var(--blue); }
.badge-elite { background: rgba(192,152,40,0.12); color: var(--gold); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card.featured h3 { color: var(--white); }
.service-card > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.service-card.featured > p { color: rgba(255,255,255,0.55); }
.outcomes-label {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-muted); margin-bottom: 12px;
}
.service-card.featured .outcomes-label { color: rgba(255,255,255,0.4); }
.outcome-list { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.outcome-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--text);
}
.service-card.featured .outcome-list li { color: rgba(255,255,255,0.8); }
.outcome-list li svg { flex-shrink: 0; margin-top: 2px; }
.service-card .btn { margin-top: 28px; }

.service-details {
  position: relative;
  margin-top: 12px;
  padding: 36px;
  border: 1px solid rgba(37,99,235,0.14);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(239,246,255,0.78) 0%, rgba(255,255,255,0.96) 42%, rgba(248,250,252,0.95) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.service-details::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(37,99,235,0.08), transparent),
    radial-gradient(ellipse 60% 38% at 12% 0%, rgba(96,165,250,0.18), transparent 64%);
  pointer-events: none;
}
.service-details-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 34px;
}
.service-details-head h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.service-details-head p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.service-steps-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-steps-grid::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  top: 29px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,0.08), rgba(37,99,235,0.28), rgba(192,152,40,0.22));
  z-index: -1;
}
.service-step-card {
  position: relative;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: var(--r-lg);
  padding: 24px;
  min-height: 314px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  animation: service-card-in 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.service-step-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0.28);
  transform-origin: left;
  opacity: 0.9;
  transition: transform 0.28s ease;
}
.service-step-card::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(37,99,235,0.08);
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.service-step-card:nth-child(2) { animation-delay: 0.06s; }
.service-step-card:nth-child(3) { animation-delay: 0.12s; }
.service-step-card:nth-child(4) { animation-delay: 0.18s; }
.service-step-card:nth-child(5) { animation-delay: 0.24s; }
.service-step-card:nth-child(6) { animation-delay: 0.3s; }
.service-step-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37,99,235,0.34);
  background: var(--white);
}
.service-step-card--featured:hover {
  background: var(--navy);
  border-color: var(--navy);
}
.service-step-card--featured:hover .service-step-top h4 {
  color: var(--white);
}
.service-step-card--featured:hover li {
  color: rgba(255,255,255,0.72);
}
.service-step-card:hover::before {
  transform: scaleX(1);
}
.service-step-card:hover::after {
  transform: scale(1.18);
  opacity: 0.9;
}
.service-step-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-xl);
}
.service-step-card--featured::before {
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(1);
}
.service-step-card--featured::after {
  background: rgba(96,165,250,0.16);
}
.service-step-card--closing {
  border-color: rgba(192,152,40,0.38);
}
.service-step-card--closing::before {
  background: linear-gradient(90deg, var(--gold), #facc15);
}
.service-step-card--closing::after {
  background: rgba(192,152,40,0.11);
}
.service-step-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.service-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(37,99,235,0.28);
  animation: step-pulse 3.2s ease-in-out infinite;
}
.service-step-card--featured .service-step-num {
  background: var(--blue);
  box-shadow: 0 10px 30px rgba(96,165,250,0.32);
}
.service-step-card--closing .service-step-num {
  background: var(--gold);
  box-shadow: 0 10px 26px rgba(192,152,40,0.28);
}
.service-step-top h4 {
  color: var(--navy);
  font-size: 1.03rem;
  font-weight: 800;
}
.service-step-card--featured .service-step-top h4 {
  color: var(--white);
}
.service-step-card ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-step-card li {
  position: relative;
  padding-left: 17px;
  font-size: 0.84rem;
  line-height: 1.56;
  color: var(--text-muted);
}
.service-step-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.09);
}
.service-step-card--featured li {
  color: rgba(255,255,255,0.7);
}
.service-step-card--featured li::before {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.14);
}
.service-step-card--closing li::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(192,152,40,0.13);
}
@keyframes service-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes step-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .service-step-card,
  .service-step-num {
    animation: none;
  }
}

/* ── Pricing cards ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--t-slow);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-glow), var(--shadow-md); }
.pricing-card.elite-card { border-color: var(--gold); }
.pricing-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--white);
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 16px; border-radius: var(--r-full); white-space: nowrap;
}
.pricing-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pricing-card p.tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 22px; }
.price-wrap { margin-bottom: 24px; }
.price-main { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-period { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.price-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; font-style: italic; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text); }
.price-features li svg { flex-shrink: 0; margin-top: 2px; }
.price-features li.muted { color: var(--text-muted); }
.pricing-note {
  background: var(--green-glow); border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--r-lg); padding: 20px 24px; margin-top: 48px;
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.65;
}
.pricing-note strong { color: var(--navy); font-family: var(--font-display); }

/* ── Comparison table ── */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
.compare-table th {
  padding: 16px 20px; font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; border-bottom: 2px solid var(--border);
}
.compare-table th:first-child { text-align: left; color: var(--text-muted); }
.compare-table th:nth-child(2) { color: var(--green); text-align: center; }
.compare-table th:nth-child(3) { color: var(--navy); text-align: center; }
.compare-table th:nth-child(4) { color: var(--gold); text-align: center; }
.compare-table td { padding: 13px 20px; font-size: 0.875rem; border-bottom: 1px solid var(--border); }
.compare-table td:first-child { color: var(--text); }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.check   { color: #16a34a; font-size: 1rem; }
.dash    { color: #cbd5e1; }
.partial { font-size: 0.78rem; color: var(--text-muted); }

/* Pricing model */
.pricing-model-section {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
  overflow: hidden;
}
.pricing-model-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(37,99,235,0.08) 0%, transparent 66%);
  pointer-events: none;
}
.pricing-model-section > .container {
  position: relative;
  z-index: 1;
}
.pricing-model-section .section-header {
  margin-bottom: 42px;
}
.investment-block {
  max-width: 1080px;
  margin: 0 auto;
}
.invest-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.invest-summary-card {
  position: relative;
  min-height: 250px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(37,99,235,0.14);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.invest-summary-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0.9;
}
.invest-summary-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  right: -64px;
  top: -64px;
  border-radius: 50%;
  background: rgba(37,99,235,0.07);
  transition: transform 0.24s ease;
}
.invest-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37,99,235,0.28);
}
.invest-summary-card:hover::after {
  transform: scale(1.18);
}
.invest-summary-card--primary {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.invest-summary-card--primary::after {
  background: rgba(96,165,250,0.13);
}
.invest-summary-card--credit::before {
  background: linear-gradient(90deg, var(--gold), #facc15);
}
.invest-kicker {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.invest-summary-card--primary .invest-kicker {
  color: var(--blue);
}
.invest-summary-card--credit .invest-kicker {
  color: var(--gold);
  margin-top: 16px;
}
.invest-summary-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--navy);
}
.invest-summary-card--credit strong {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.invest-summary-card--primary strong {
  color: var(--white);
}
.invest-summary-card p {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--text-muted);
}
.invest-summary-card--primary p {
  color: rgba(255,255,255,0.64);
}
.invest-credit-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192,152,40,0.12);
  border: 1px solid rgba(192,152,40,0.24);
  color: var(--gold);
  flex-shrink: 0;
}
.invest-example {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.invest-example-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.invest-example-head h3 {
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.01em;
}
.invest-total-pill {
  flex-shrink: 0;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid rgba(37,99,235,0.16);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 14px;
}
.invest-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.invest-flow-step {
  min-height: 132px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
}
.invest-flow-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.invest-flow-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 5px;
}
.invest-flow-step p {
  font-size: 0.8rem;
  line-height: 1.52;
  color: var(--text-muted);
}
.invest-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.invest-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
}
.invest-table th {
  background: var(--surface);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.invest-table th:last-child,
.invest-table td:last-child {
  text-align: right;
}
.invest-table td {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.invest-table tr:last-child td {
  border-bottom: none;
}
.invest-table td:last-child {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
}
.invest-credit-row td {
  background: rgba(22,163,74,0.06);
  color: #166534;
}
.invest-credit-row td:last-child {
  color: #16a34a;
}
.invest-total-row td {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
}
.invest-total-row td:last-child {
  color: var(--blue);
  font-size: 1.12rem;
}
/* Additional pricing content */
.invest-extended {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  margin-top: 26px;
}
.success-option-panel,
.boutique-panel,
.promise-strip {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid rgba(37,99,235,0.14);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.success-option-panel {
  min-height: 100%;
  padding: 30px 28px;
  background: var(--navy);
  color: var(--white);
}
.success-option-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(96,165,250,0.24), transparent 62%);
  pointer-events: none;
}
.success-option-panel .invest-kicker,
.success-option-panel h3,
.success-option-panel p {
  position: relative;
  z-index: 1;
}
.success-option-panel .invest-kicker { color: var(--blue); }
.success-option-panel h3 {
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: 14px;
}
.success-option-panel p {
  color: rgba(255,255,255,0.68);
  font-size: 0.93rem;
  line-height: 1.68;
}
.success-option-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.success-option-mark {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  border-radius: var(--r-full);
  border: 1px solid rgba(96,165,250,0.32);
  background: rgba(96,165,250,0.12);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 7px 11px;
}
.boutique-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  background: rgba(255,255,255,0.82);
}
.boutique-panel-head {
  padding: 30px 26px;
  background: linear-gradient(160deg, rgba(239,246,255,0.95), rgba(255,255,255,0.84));
  border-right: 1px solid var(--border);
}
.boutique-panel-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.25rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--green);
  margin: 16px 0 12px;
}
.boutique-panel-head p,
.boutique-panel-body p {
  font-size: 0.92rem;
  line-height: 1.62;
}
.boutique-panel-body { padding: 30px 28px; }
.boutique-panel-body h3 {
  color: var(--navy);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  margin-bottom: 10px;
}
.boutique-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.boutique-list span {
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid rgba(37,99,235,0.14);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 8px 11px;
}
.boutique-waitlist {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.promise-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(255,255,255,0.92));
}
.promise-strip span {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.promise-strip p {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 700;
  line-height: 1.55;
}
/* CTA section */
.cta-section {
  background: var(--navy);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.025em; }
.cta-section p  { color: rgba(255,255,255,0.55); font-size: 1.05rem; line-height: 1.7; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER (v2 style) ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 32px;
}
.footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 280px; }
.footer-brand .social-links { display: flex; gap: 10px; margin-top: 20px; }
.footer-brand .social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--t);
}
.footer-brand .social-link:hover { border-color: var(--green); color: var(--green); background: var(--green-glow); }
.footer-col h5 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: var(--t); }
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { font-size: 0.8125rem; color: rgba(255,255,255,0.35); transition: var(--t); }
.footer-bottom a:hover { color: var(--green); }

/* ── Form / Contact ── */
.contact-page { background: var(--navy); padding: 130px 0 96px; position: relative; }
.contact-page::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(37,99,235,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.contact-wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 64px; align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.1rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.contact-info p  { color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 32px; }
.contact-detail  { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 16px; }
.contact-detail svg { color: var(--blue); flex-shrink: 0; }
.contact-detail a   { color: var(--blue); }
.contact-detail a:hover { text-decoration: underline; }
.form-card { background: var(--white); border-radius: 20px; padding: 44px 40px; box-shadow: var(--shadow-xl); }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.form-group label .req { color: var(--green); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px; font-size: 0.9rem; color: var(--text);
  background: var(--white); transition: border-color 0.18s, box-shadow 0.18s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.form-group textarea { resize: vertical; min-height: 110px; }
.file-upload-wrap {
  border: 1.5px dashed var(--border); border-radius: var(--r-md);
  padding: 22px; text-align: center; cursor: pointer;
  transition: border-color 0.18s, background 0.18s; position: relative;
}
.file-upload-wrap:hover { border-color: var(--green); background: var(--green-glow); }
.file-upload-wrap input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; border: none; }
.file-upload-icon { color: var(--green); margin-bottom: 8px; }
.file-upload-text { font-size: 0.85rem; color: var(--text-muted); }
.file-upload-text strong { color: var(--green); }
.file-upload-hint { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }
.file-name-display { font-size: 0.8rem; color: #16a34a; margin-top: 8px; font-weight: 600; display: none; }
.form-submit { width: 100%; padding: 15px; font-size: 1rem; border-radius: var(--r-full); margin-top: 6px; }
.form-footer-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; }
.form-status {
  display: none;
  border-radius: var(--r-md);
  padding: 11px 13px;
  margin-top: 14px;
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
}
.form-status.is-pending,
.form-status.is-success,
.form-status.is-error {
  display: block;
}
.form-status.is-pending {
  background: rgba(37,99,235,0.08);
  color: var(--green);
  border: 1px solid rgba(37,99,235,0.18);
}
.form-status.is-success {
  background: rgba(22,163,74,0.08);
  color: #166534;
  border: 1px solid rgba(22,163,74,0.18);
}
.form-status.is-error {
  background: rgba(220,38,38,0.08);
  color: #b91c1c;
  border: 1px solid rgba(220,38,38,0.18);
}
.form-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

/* ── Check icons ── */
.ci      { width: 16px; height: 16px; color: #16a34a; flex-shrink: 0; margin-top: 2px; }
.ci-blue { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ── Contact page step indicator ── */
.step-indicator { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(37,99,235,0.12); border: 1.5px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: var(--blue);
}
.step-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-left: 8px; font-family: var(--font-display); font-weight: 600; }
.step-sep   { flex: 1; height: 1px; background: rgba(255,255,255,0.08); margin: 0 12px; max-width: 48px; }
.inquiry-strip {
  background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--r-lg); padding: 22px 28px; margin-top: 36px;
  display: flex; align-items: center; gap: 16px;
}
.inquiry-strip-icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  background: rgba(37,99,235,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.inquiry-strip h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.inquiry-strip p   { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.inquiry-strip a   { color: var(--blue); font-weight: 600; }
.inquiry-strip a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .framework-line {
    left: 24px;
  }
  .framework-group {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 50px;
  }
  .framework-group--bottom .framework-image-placeholder {
    order: 2;
  }
  .framework-group--bottom .framework-stack {
    order: 1;
  }
  .framework-image-placeholder {
    min-height: 260px;
  }
}
@media (max-width: 720px) {
  .framework-timeline {
    margin-top: 30px;
    gap: 22px;
  }
  .framework-line {
    display: none;
  }
  .framework-group {
    padding-left: 0;
  }
  .framework-step-mini {
    padding: 16px;
  }
  .framework-step-more {
    padding-left: 0;
  }
  .framework-image-placeholder {
    min-height: 230px;
    padding: 24px 20px;
  }
}
@media (max-width: 1024px) {
  .invest-summary,
  .invest-extended,
  .boutique-panel {
    grid-template-columns: 1fr;
  }
  .invest-summary-card {
    min-height: auto;
  }
  .boutique-panel-head {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 720px) {
  .pricing-model-section .section-header {
    margin-bottom: 30px;
  }
  .invest-summary,
  .invest-flow {
    grid-template-columns: 1fr;
  }
  .invest-summary-card,
  .invest-example,
  .success-option-panel,
  .boutique-panel-head,
  .boutique-panel-body {
    padding: 24px 20px;
  }
  .success-option-mark {
    position: static;
    display: inline-flex;
    margin-bottom: 14px;
  }
  .promise-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }
  .invest-example-head {
    flex-direction: column;
    gap: 14px;
  }
  .invest-flow-step {
    min-height: auto;
  }
  .invest-total-pill {
    white-space: normal;
    line-height: 1.35;
  }
  .invest-table th,
  .invest-table td {
    padding: 13px 15px;
  }
}
@media (max-width: 1024px) {
  .service-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-steps-grid::before {
    display: none;
  }
}
@media (max-width: 720px) {
  .service-details {
    margin-top: 0;
    padding: 24px 18px;
  }
  .service-details-head {
    margin-bottom: 24px;
  }
  .service-steps-grid {
    grid-template-columns: 1fr;
  }
  .service-step-card {
    min-height: auto;
    padding: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE FIXES — Complete responsive additions
   Covers: navbar, section spacing, hero, footer, contact page, CTA
══════════════════════════════════════════════════════════════════ */

/* ── Navbar: show hamburger, hide desktop links & CTA ── */
@media (max-width: 720px) {
  .nav-inner  { gap: 12px; }
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-toggle { display: flex; }

  /* Override display:none with max-height slide animation */
  .nav-mobile {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
    border-top: none;
    transition: max-height 0.38s ease, padding 0.38s ease;
  }
  .nav-mobile.open {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    padding-bottom: 24px;
  }
}

/* ── Global section spacing reduction on mobile ── */
@media (max-width: 720px) {
  :root { --section-py: 56px; }
  .section-header { margin-bottom: 36px; }
  .mt-xl { margin-top: 36px; }
}

/* ── Hero: single-column stack ── */
@media (max-width: 720px) {
  .hero {
    padding-top: 84px;
    padding-bottom: 48px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-text { max-width: 100%; }

  /* Stack CTA buttons full-width */
  .hero-ctas {
    flex-direction: column;
    gap: 10px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Scale hero visual down and center it */
  .hero-visual {
    width: 100%;
    max-width: 260px;
    margin-inline: auto;
  }
  .hv-frame   { max-width: 100%; }

  /* Scale rings down proportionally */
  .hv-ring--outer { width: 320px; height: 320px; }
  .hv-ring--inner { width: 255px; height: 255px; }

  /* Bring floating badges inward — no negative offsets on small screens */
  .hv-badge--tl { left: 0; top: 12%; }
  .hv-badge--br { right: 0; bottom: 12%; }

  /* Compact badge size for tight space */
  .hv-badge       { padding: 8px 10px; gap: 8px; border-radius: 10px; }
  .hv-badge-val   { font-size: 0.82rem; }
  .hv-badge-lbl   { font-size: 0.6rem; }
  .hv-badge-icon  { width: 26px; height: 26px; border-radius: 6px; }
}

/* Very small screens: hide decorative rings entirely */
@media (max-width: 400px) {
  .hv-ring--outer,
  .hv-ring--inner { display: none; }
  .hero-visual    { max-width: 220px; }
}

/* ── CTA section buttons ── */
@media (max-width: 720px) {
  .cta-section { padding: 64px 0; }
  .cta-btns {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .cta-btns .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Footer: 2-col on mobile, 1-col on small ── */
@media (max-width: 720px) {
  .footer { padding-top: 48px; padding-bottom: 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 28px;
    margin-bottom: 20px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ── Contact page: stack info + form vertically ── */
@media (max-width: 720px) {
  .contact-page { padding: 96px 0 56px; }
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-card { padding: 28px 18px; }
  .form-row  { grid-template-columns: 1fr; gap: 0; }
  .inquiry-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
  }
}

/* ── Diagram section: polished infographic + mobile scroll experience ── */

/* Section header spacing */
.diagram-section-header {
  margin-bottom: 40px;
}

/* Outer wrapper — allows the right-edge fade overlay */
.steps-img-outer {
  position: relative;
}

/* Right-edge fade: hidden on desktop, visible on mobile to signal scrollability */
.steps-img-outer::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 8px; /* leave room for scrollbar */
  width: 64px;
  background: linear-gradient(to right, transparent, var(--surface));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  z-index: 2;
}

/* Swipe hint — hidden on desktop */
.steps-scroll-hint {
  display: none;
}

@media (max-width: 720px) {
  /* Header sits directly above the image */
  .diagram-section-header { margin-bottom: 28px; }

  /* Show right-edge fade so users know to swipe */
  .steps-img-outer::after { opacity: 1; }

  /* Style the scrollbar to be visible and on-brand */
  .steps-img-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(37,99,235,0.45) rgba(37,99,235,0.08);
    padding-bottom: 10px;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
  }
  .steps-img-scroll::-webkit-scrollbar { height: 5px; }
  .steps-img-scroll::-webkit-scrollbar-track { background: rgba(37,99,235,0.08); border-radius: 99px; }
  .steps-img-scroll::-webkit-scrollbar-thumb { background: rgba(37,99,235,0.45); border-radius: 99px; }

  /* Show swipe hint text below the image */
  .steps-scroll-hint {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 12px;
    letter-spacing: 0.04em;
    opacity: 0.7;
  }

  /* Hide the decorative side images in the framework cards — keeps cards lean */
  .framework-image-placeholder { display: none; }

  /* Tighten framework card gaps */
  .framework-group { gap: 14px; }
  .framework-timeline { gap: 14px; }

  /* Step number badges slightly smaller */
  .framework-step-head > span {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }
}

/* ── Container padding bump on very small screens ── */
@media (max-width: 360px) {
  .container { padding-inline: 16px; }
}
