:root {
  --bg-page: #e5f3ff;
  --bg-hero: linear-gradient(135deg, #e0f2fe, #f9fafb);
  --bg-section: linear-gradient(135deg, #f0f9ff, #e2f3ff);
  --bg-card: linear-gradient(135deg, #ffffff, #eaf4ff);
  --text-main: #0b1120;
  --text-soft: #1e293b;
  --accent: #2563eb;
  --accent-soft: #93c5fd;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-deep: 0 22px 45px rgba(15, 23, 42, 0.5);
}

* { box-sizing: border-box; }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body{
  padding-top: var(--header-h);
}

html{
  scroll-padding-top: var(--header-h);
}

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

/* =========================
   Header / Nav
   ========================= */

:root{
  --header-h: 96px; /* adjust if needed */
}

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;

  background: linear-gradient(90deg, #eff6ff, #dbeafe);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}


.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  position: relative; /* enables absolute dropdown on mobile */
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: white;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}
.logo span {
  display: block;
  font-weight: 400;
  opacity: 0.9;
  font-size: 0.75rem;
}

/* Hamburger button – mobile only */
.nav-toggle {
  margin-left: auto;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #1f2937;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Mobile dropdown (hidden by default) */
.main-nav {
  display: none;
  flex-direction: column;
  gap: 0.55rem;

  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.55rem);

  margin: 0 1.2rem;
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
}

.site-header.nav-open .main-nav {
  display: flex;
}

/* Animate hamburger into an X when open */
.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-link {
  font-size: 0.92rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-link:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

/* Desktop layout */
@media (min-width: 768px) {
  .nav-inner { flex-wrap: nowrap; }

  .nav-toggle { display: none; }

  .main-nav {
    display: flex !important;
    position: static;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;

    flex-direction: row;
    gap: 0.5rem;
    margin-left: auto;
  }
}

/* =========================
   Layout shell
   ========================= */

.page-shell {
  max-width: 1100px;
  margin: 1.5rem auto 3.5rem;
  padding: 0 1.2rem 0.5rem;
}

.section {
  margin-bottom: 2.5rem;
  padding: 1.75rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--bg-section);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 6rem;
}

/* =========================
   Hero / Intro
   ========================= */

.hero {
  background: var(--bg-hero);
  display: grid;
  gap: 1.25rem;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d4ed8;
  font-weight: 600;
}

.hero-title {
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 0;
}

.hero-body {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52rem;
}

@media (min-width: 768px) {
  .hero { padding: 2.2rem 2rem; }
  .hero-title { font-size: 2rem; }
}

/* =========================
   What we offer
   ========================= */

.offer-header {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.offer-title { font-size: 1.2rem; font-weight: 600; }

.offer-subtitle {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 32rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 768px) {
  .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.offer-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.1rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}

.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(191, 219, 254, 0.7);
  color: #1d4ed8;
}

.offer-card h3 { margin: 0.1rem 0 0; font-size: 1.05rem; }
.offer-card p { margin: 0.3rem 0 0; font-size: 0.92rem; line-height: 1.6; }
.offer-card p + p { margin-top: 0.5rem; }

/* =========================
   Metrics
   ========================= */

.metrics-section { background: var(--bg-section); color: var(--text-main); }

.metrics-header { margin-bottom: 1.75rem; max-width: 40rem; }
.metrics-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.25rem; }
.metrics-subtitle { font-size: 0.95rem; color: var(--text-soft); }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.metric-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.1rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}

.metric-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 600;
}

.metric-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.15rem 0;
}

.metric-text { font-size: 0.9rem; color: var(--text-soft); line-height: 1.5; }

/* =========================
   Process / Forms
   ========================= */

.process-section { background: var(--bg-section); }
.process-header { margin-bottom: 1.6rem; max-width: 40rem; }
.process-title { font-size: 1.25rem; font-weight: 600; }
.process-subtitle { font-size: 0.95rem; color: var(--text-soft); }

.process-section form#ops-eval-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.process-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.1rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

.warm-lead-card { margin-top: 0.2rem; }

.process-card h3 { margin: 0; font-size: 1.05rem; }

.process-intro,
.form-intro { font-size: 0.9rem; color: var(--text-soft); }

.form-intro { margin: 0.1rem 0 0.4rem; }

.scale-helper {
  font-size: 0.8rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.75rem;
  background: rgba(219, 234, 254, 0.7);
  border: 1px dashed rgba(148, 163, 184, 0.9);
}

.form-section-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.6rem;
  color: #64748b;
}

.form-subtitle {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  margin: 0.6rem 0 0.2rem;
}

.form-group {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.form-group label { font-size: 0.86rem; font-weight: 500; }
.form-group small { font-size: 0.78rem; color: #64748b; }

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.45rem 0.5rem;
  font-size: 0.86rem;
  font-family: inherit;
  background: #ffffff;
}

.form-group textarea { min-height: 70px; resize: vertical; }

.form-group.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.45rem;
}

.form-group.form-checkbox label { font-weight: 400; font-size: 0.84rem; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #475569;
  margin-top: 0.5rem;
}

.checkbox-row input[type="checkbox"] { margin-top: 0.16rem; }

.btn-submit {
  margin-top: 0.7rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.5);
}

.ops-results {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.9);
  font-size: 0.86rem;
}

.ops-results h4 { margin: 0 0 0.4rem; font-size: 0.98rem; }
.ops-score-line { margin: 0.1rem 0; }
.ops-band-label { font-weight: 600; }

.ops-areas h5,
.ops-next-steps h5 { margin: 0.6rem 0 0.25rem; font-size: 0.9rem; }

.ops-areas ul,
.ops-next-steps ul { margin: 0.1rem 0 0.3rem; padding-left: 1.1rem; }

.ops-areas li,
.ops-next-steps li { margin-bottom: 0.18rem; }

.ops-results-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .ops-results-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contact-link {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: #0b6efd;
  background: #e3f0ff;
}
.contact-link:hover { background: #d3e6ff; }

/* Slightly tighter padding on very small phones */
@media (max-width: 480px) {
  .page-shell { padding-left: 0.75rem; padding-right: 0.75rem; }
  .section { padding-left: 1rem; padding-right: 1rem; }
}

