:root {
  --blue: #1e88e5;
  --blue-deep: #0d5ea9;
  --dark: #2b2b2b;
  --gray-700: #404040;
  --gray-500: #6f6f6f;
  --gray-200: #dfe8f1;
  --white: #ffffff;
  --soft: #f4f9ff;
  --soft-2: #eef6ff;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-sm: 0 14px 30px rgba(20, 44, 67, 0.09);
  --shadow-md: 0 26px 50px rgba(11, 44, 73, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family: "Public Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  color: var(--dark);
  font-family: "Barlow", "Segoe UI", sans-serif;
  line-height: 1.18;
}

p {
  margin: 0 0 1rem;
  color: var(--gray-700);
}

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

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}

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

.section-head h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.6rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.28rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
  cursor: pointer;
}

.button:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(30, 136, 229, 0.34);
}

.button-outline {
  background: transparent;
  border-color: rgba(30, 136, 229, 0.48);
  color: var(--blue);
}

.button-outline:hover {
  background: rgba(30, 136, 229, 0.08);
  color: var(--blue-deep);
}

.button-ghost {
  background: rgba(43, 43, 43, 0.04);
  border-color: rgba(43, 43, 43, 0.12);
  color: var(--dark);
}

.button-ghost:hover {
  background: rgba(43, 43, 43, 0.1);
}

.button-light {
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(9, 35, 59, 0.24);
}

.button-light:hover {
  background: #eaf3ff;
  color: #0a4f92;
}

.button-full {
  width: 100%;
}

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

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

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-family: "Barlow", "Segoe UI", sans-serif;
}

.main-nav {
  display: flex;
  gap: 1.35rem;
  color: var(--gray-700);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--blue-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  max-width: 12ch;
  margin-bottom: 1rem;
}

.hero-subtitle {
  max-width: 58ch;
  font-size: 1.07rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin: 1.3rem 0 1.9rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.highlight {
  border: 1px solid #cde1f4;
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 0.85rem 0.9rem;
}

.highlight strong {
  display: block;
  color: var(--blue-deep);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  font-family: "Barlow", "Segoe UI", sans-serif;
}

.highlight span {
  color: var(--gray-500);
  font-size: 0.86rem;
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-visual img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 23, 41, 0.72) 100%);
}

.hero-visual figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: var(--white);
  font-size: 0.92rem;
  z-index: 2;
}

.visual-chip {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(11, 47, 79, 0.72);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.chip-top {
  top: 1rem;
  left: 1rem;
}

.chip-bottom {
  top: 1rem;
  right: 1rem;
}

.lead-card {
  border: 1px solid #d0e3f6;
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.lead-card h2 {
  font-size: 1.45rem;
}

.lead-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.58rem;
}

.lead-form label {
  font-size: 0.84rem;
  font-weight: 600;
}

.lead-form input {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #c7daed;
  padding: 0 0.82rem;
  font: inherit;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.14);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(560px 280px at 7% 2%, rgba(30, 136, 229, 0.18), transparent 68%),
    radial-gradient(540px 260px at 85% 0%, rgba(30, 136, 229, 0.16), transparent 72%);
}

.pains {
  background: var(--soft);
}

.pains-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: stretch;
}

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

.card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 1.2rem;
}

.card h3 {
  font-size: 1.23rem;
  margin-bottom: 0.5rem;
}

.pains-feature {
  padding: 0;
  overflow: hidden;
}

.pains-feature img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.feature-copy {
  padding: 1.05rem 1.15rem 1.2rem;
}

.services {
  background: var(--white);
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  overflow: hidden;
}

.service-media {
  width: calc(100% + 2.4rem);
  margin: -1.2rem -1.2rem 1rem;
  height: 165px;
  object-fit: cover;
}

.service-card ul {
  margin: 0.95rem 0 0;
  padding-left: 1.05rem;
}

.service-card li {
  margin-bottom: 0.4rem;
  color: var(--gray-700);
}

.results {
  background: linear-gradient(180deg, var(--white) 0%, var(--soft-2) 100%);
}

.results-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  align-items: stretch;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat {
  border-radius: var(--radius-md);
  border: 1px solid #cfe2f6;
  background: var(--white);
  padding: 1.15rem;
}

.stat strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--blue-deep);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-family: "Barlow", "Segoe UI", sans-serif;
}

.stat span {
  color: var(--gray-500);
  font-size: 0.93rem;
}

.results-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #d2e4f5;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.results-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.results-visual figcaption {
  padding: 0.9rem 1rem;
  border-top: 1px solid #e1ebf5;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.logos {
  background: var(--white);
}

.logos-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1rem;
}

.logos-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #d3e4f5;
}

.logos-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

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

.logos-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid #dbe8f4;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #627a8f;
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.cta {
  background: linear-gradient(120deg, #0e5fa9 0%, #1e88e5 62%, #49a3f0 100%);
  color: var(--white);
}

.cta .eyebrow,
.cta h2,
.cta p {
  color: var(--white);
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.process {
  background: var(--white);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  border: 1px solid #d8e8f8;
  border-radius: var(--radius-md);
  padding: 1.18rem;
  background: var(--white);
}

.faq {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 0.78rem;
}

.faq-item {
  border: 1px solid #d9e8f8;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 1rem 1.1rem;
  font: inherit;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-deep);
  font-size: 1.1rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
  padding: 0 1.1rem;
}

.faq-answer p {
  margin: 0 0 1rem;
}

.faq-item.open .faq-answer {
  max-height: 180px;
}

.site-footer {
  padding: 54px 0 28px;
  background: #192532;
  color: #e2edf8;
}

.site-footer p,
.site-footer strong,
.site-footer a {
  color: #e2edf8;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(226, 237, 248, 0.2);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  color: #bbcad8;
  font-size: 0.9rem;
}

.footer-base a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

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

  .hero-content h1 {
    max-width: 100%;
  }

  .pains-layout,
  .results-layout,
  .logos-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 78px 0;
  }

  .site-header {
    position: static;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-highlights,
  .cards-grid,
  .services-grid,
  .stats-grid,
  .logos-grid,
  .steps,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1140px, 94vw);
  }

  .button {
    width: 100%;
  }

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
