:root {
  --navy: #123047;
  --navy-2: #0b2235;
  --teal: #1f9d8a;
  --teal-dark: #157a6b;
  --gold: #f2b84b;
  --cream: #f7f3ea;
  --white: #ffffff;
  --gray: #64748b;
  --gray-2: #e2e8f0;
  --shadow: 0 24px 60px rgba(18, 48, 71, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--navy-2);
  background: var(--white);
  line-height: 1.6;
}

img, svg {
  max-width: 100%;
}

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

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

.section {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(31, 157, 138, 0.28);
}

.brand-text {
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  color: var(--navy);
}

.nav-menu a:not(.btn) {
  position: relative;
  font-size: 0.94rem;
}

.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.nav-menu a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--navy);
  transition: 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.96rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(31, 157, 138, 0.28);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--gray-2);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbfb 0%, #eef7f5 50%, #fff9ed 100%);
  padding-top: 104px;
}

.hero-bg {
  position: absolute;
  right: -160px;
  top: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(31, 157, 138, 0.12);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.055em;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.hero-copy {
  max-width: 680px;
  color: var(--gray);
  font-size: 1.16rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

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

.trust-row span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 26px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(31, 157, 138, 0.12);
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.metric-row div {
  padding: 20px;
  border-radius: 20px;
  background: var(--cream);
}

.metric-row p, .progress-label, .report-list {
  color: var(--gray);
  font-size: 0.9rem;
}

.metric-row strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
  margin-top: 6px;
}

.progress-block {
  margin-bottom: 24px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
}

.progress {
  height: 12px;
  border-radius: 999px;
  background: #e9f3f1;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.report-list {
  display: grid;
  gap: 12px;
}

.report-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}

.report-list span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

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

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

.text-stack {
  display: grid;
  gap: 18px;
  color: var(--gray);
  font-size: 1.05rem;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p:last-child {
  color: var(--gray);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 38px rgba(18, 48, 71, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: rgba(31, 157, 138, 0.12);
  color: var(--teal-dark);
  font-weight: 900;
}

.service-card p, .timeline-item p, .lead-content p, .consult-card p, .site-footer p {
  color: var(--gray);
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fbfb);
  border: 1px solid var(--gray-2);
}

.timeline-item span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.lead-magnet {
  background: linear-gradient(135deg, var(--navy), #17435f);
  color: var(--white);
}

.lead-magnet h2, .lead-magnet h3, .lead-magnet .eyebrow {
  color: var(--white);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 56px;
  align-items: center;
}

.lead-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 900;
}

.lead-form, .consult-form {
  background: var(--white);
  color: var(--navy);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.lead-form p {
  color: var(--gray);
  margin-bottom: 22px;
}

label {
  display: block;
  margin: 14px 0 7px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--gray-2);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  color: var(--navy);
  background: #fbfdff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 157, 138, 0.12);
}

.form-message {
  min-height: 24px;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-message.error {
  color: #c2410c;
}

.form-message.light {
  color: var(--white);
}

.consultation {
  background: var(--cream);
}

.consult-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
  padding: 46px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: var(--shadow);
}

.consult-card h2, .consult-card .eyebrow {
  color: var(--white);
}

.consult-card p {
  color: rgba(255, 255, 255, 0.82);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.site-footer {
  background: var(--navy-2);
  color: var(--white);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 42px;
  padding-bottom: 38px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 18px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.site-footer a:not(.brand) {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 10px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .hero-grid, .split-grid, .lead-grid, .consult-card {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .navbar {
    min-height: 68px;
  }

  .nav-menu {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .brand-text {
    font-size: 0.96rem;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-actions, .trust-row {
    flex-direction: column;
  }

  .hero-actions .btn, .trust-row span {
    width: 100%;
  }

  .hero-card, .lead-form, .consult-form, .consult-card {
    padding: 22px;
    border-radius: 22px;
  }

  .metric-row, .service-grid, .form-row, .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 28px;
  }
}
