@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --brand-red: #ce0d2d;
  --brand-navy: #250c64;
  --brand-ink: #1d2240;
  --brand-white: #ffffff;
  --muted: #5a607d;
  --line: #dfe3ef;
  --surface: #f5f7fc;
  --surface-2: #eef2fa;
  --shadow: 0 14px 36px rgba(29, 34, 64, 0.12);
  --container: 1140px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--brand-ink);
  background: var(--brand-white);
}

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

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

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

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

.site-header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.site-logo {
  width: 220px;
  max-width: 48vw;
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  background: var(--surface-2);
  color: var(--brand-navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-nav {
  justify-self: end;
}

.site-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.site-nav-list a {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.18s ease;
}

.site-nav-list a:hover,
.site-nav-list a.active {
  color: var(--brand-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(206, 13, 45, 0.24);
}

.btn-secondary {
  background: var(--brand-navy);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 12, 100, 0.22);
}

.btn-outline {
  background: #fff;
  color: var(--brand-navy);
  border: 1px solid #ccd3e8;
}

.page-hero {
  position: relative;
  color: #fff;
  background-image: linear-gradient(120deg, rgba(37, 12, 100, 0.9), rgba(206, 13, 45, 0.66)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.46));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 82px 0 78px;
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 11px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.14;
}

h1 {
  margin-top: 18px;
  font-size: clamp(38px, 6.2vw, 62px);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(21px, 2.9vw, 30px);
}

.page-hero h1,
.section h2 {
  text-wrap: balance;
}

.lead {
  margin: 22px 0 0;
  max-width: 780px;
  font-size: 19px;
  line-height: 1.65;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--surface);
}

.section.tint {
  background: linear-gradient(180deg, #f7f9fe, #edf1fa);
}

.stack-md > * + * {
  margin-top: 18px;
}

.stack-lg > * + * {
  margin-top: 28px;
}

.copy {
  color: var(--muted);
  line-height: 1.78;
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 26px;
}

.stats-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
}

.stat-pill strong {
  font-size: 30px;
  display: block;
}

.stat-pill span {
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

.image-cover {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.problem-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.problem-list li + li {
  margin-top: 6px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-card h3 {
  color: var(--brand-navy);
}

.plan-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.strategy-card {
  border: 1px solid #d7def2;
  background: #f8faff;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-box {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.metric-box img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
}

.metric-box strong {
  display: block;
  color: var(--brand-navy);
  font-size: 26px;
  line-height: 1;
}

.metric-box span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  background-image: linear-gradient(120deg, rgba(37, 12, 100, 0.9), rgba(206, 13, 45, 0.8)), var(--band-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-band .copy {
  color: rgba(255, 255, 255, 0.92);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-card .card-body {
  padding-top: 18px;
}

.case-study-card {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #d6ddf1;
}

.case-study-card .card-body {
  padding: 30px;
}

.case-study-card h3 {
  color: var(--brand-navy);
}

.step-card {
  border: 1px solid #d6ddf1;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: var(--surface-2);
  color: var(--brand-navy);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.discovery-widget-shell {
  border: 1px solid #d6ddf1;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 12px;
}

.discovery-widget-shell .copy {
  margin: 0;
  text-align: center;
}

.discovery-widget-shell .cardwell-discovery-shell {
  margin: 0;
  border: 0;
  box-shadow: none;
  max-width: 100%;
  padding: 14px;
}

.form-shell {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 26px;
}

.video-embed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.video-embed {
  display: block;
  width: 100%;
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid #ccd4ea;
  background: #000;
  aspect-ratio: 16 / 9;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 13px;
  color: #3e4a73;
  font-weight: 700;
  letter-spacing: 0.01em;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ccd4ea;
  background: #fff;
  color: var(--brand-ink);
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  font-size: 15px;
}

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

input:focus,
textarea:focus {
  outline: 2px solid rgba(206, 13, 45, 0.2);
  border-color: var(--brand-red);
}

.form-status {
  margin-top: 10px;
  min-height: 22px;
  font-size: 14px;
  color: var(--muted);
}

.form-status.ok {
  color: #0a7f48;
}

.form-status.error {
  color: #b42318;
}

.result-card {
  margin-top: 16px;
  border: 1px solid #d7def2;
  border-radius: 12px;
  background: #f8faff;
  padding: 20px;
  display: none;
}

.result-card.visible {
  display: block;
}

.result-kicker {
  margin-top: 10px;
  color: #334155;
}

.result-highlight {
  margin: 12px 0 10px;
  font-size: 36px;
  line-height: 1.1;
  color: var(--brand-navy);
  font-weight: 900;
}

.result-summary {
  color: #334155;
  line-height: 1.7;
}

.result-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #d7def2;
  font-weight: 700;
}

.result-cta a {
  color: var(--brand-red);
}

.result-widget {
  margin-top: 14px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.info-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 14px;
}

.info-item h4 {
  color: var(--brand-navy);
  font-size: 15px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.discovery-wrap {
  max-width: 780px;
}

.discovery-note {
  background: #f8faff;
  border: 1px solid #d7def2;
  border-radius: var(--radius-md);
  padding: 18px;
}

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

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-card h3 {
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.site-footer {
  margin-top: 50px;
  color: #fff;
  background-color: #13143a;
  background-image: none;
  border-top: 4px solid var(--brand-red);
}

.footer-top {
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 24px;
}

.footer-top > div:first-child {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(19, 20, 58, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.footer-logo {
  width: 190px;
}

.footer-about {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.footer-top > div:first-child .footer-about {
  color: #1f2937;
}

.footer-social {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}

.footer-top > div:first-child .footer-social {
  color: #4c3dd6;
}

.footer-top > div:first-child .footer-social:hover {
  color: #352cab;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-col p,
.footer-col address {
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  margin: 0;
  line-height: 1.72;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px 0 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  background-color: #000;
}

.footer-bottom a {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-header-inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    padding-bottom: 14px;
  }

  body.menu-open .site-nav {
    display: block;
  }

  .site-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav-list a {
    padding: 6px 0;
  }

  .site-header .btn {
    display: none;
  }

  .stats-grid,
  .grid-2,
  .grid-3,
  .form-shell,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .result-highlight {
    font-size: 30px;
  }

  .cta-band {
    padding: 26px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 24px);
  }

  .page-hero .container {
    padding: 60px 0;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 50px 0;
  }

  .form-card {
    padding: 16px;
  }

  .case-study-card .card-body,
  .discovery-widget-shell .cardwell-discovery-shell {
    padding: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
