:root {
  --navy: #0a1628;
  --navy-soft: #10233d;
  --primary: #1346a0;
  --mid-blue: #2463cc;
  --accent: #3a8ef6;
  --sky: #7dc4ff;
  --ice: #eff8ff;
  --silver: #a8b8d0;
  --ink: #121826;
  --muted: #5c6c83;
  --line: #d9e6f5;
  --white: #ffffff;
  --green: #30c48d;
  --shadow: 0 24px 70px rgba(10, 22, 40, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 10px 14px 10px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 22, 40, 0.62);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, margin 180ms ease;
}

.site-header.is-scrolled {
  margin-top: 10px;
  background: rgba(10, 22, 40, 0.92);
  border-color: rgba(125, 196, 255, 0.22);
}

.home-page .site-header,
.utility-page .site-header {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.home-page .site-header.is-scrolled,
.utility-page .site-header.is-scrolled {
  background: rgba(10, 22, 40, 0.96);
  border-color: rgba(125, 196, 255, 0.28);
}

.utility-page .site-header {
  background: rgba(10, 22, 40, 0.72);
  border-color: rgba(125, 196, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(165px, 19vw, 240px);
  height: clamp(30px, 3.3vw, 40px);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand-logo--header {
  width: clamp(195px, 22vw, 280px);
  height: clamp(36px, 4vw, 48px);
}

.brand-logo--footer {
  width: clamp(230px, 25vw, 330px);
  height: clamp(42px, 4.8vw, 60px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.nav .nav-cta {
  margin-left: 6px;
  color: var(--navy);
  background: var(--white);
}

.nav .nav-cta:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/finance-dashboard-office.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.96) 0%, rgba(10, 22, 40, 0.78) 46%, rgba(10, 22, 40, 0.26) 100%),
    linear-gradient(0deg, rgba(10, 22, 40, 0.82) 0%, rgba(10, 22, 40, 0.08) 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 48px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro h2,
.method h2,
.technology h2,
.links-hub h2,
.faq h2,
.segments h2,
.dashboard-section h2,
.why h2,
.cta h2 {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(2.25rem, 4.6vw, 4.35rem);
  text-wrap: balance;
}

.hero-copy {
  max-width: 690px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px auto 0;
}

.hero-note {
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(58, 142, 246, 0.3);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  max-width: 710px;
  margin: 48px auto 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.16);
}

.hero-metrics div {
  padding: 18px 18px 16px;
  background: rgba(10, 22, 40, 0.44);
}

.hero-metrics dt {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

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

.section-light {
  background: linear-gradient(180deg, #f7fbff 0%, var(--ice) 100%);
}

.section-navy {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 99, 204, 0.26) 0%, rgba(10, 22, 40, 0) 42%),
    var(--navy);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.intro h2,
.method h2,
.technology h2,
.links-hub h2,
.faq h2,
.segments h2,
.dashboard-section h2,
.why h2,
.cta h2,
.section-heading h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.proposal-layout,
.technology-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 64px;
  align-items: start;
}

.proposal-copy {
  display: grid;
  gap: 14px;
}

.proposal-copy p {
  margin: 0;
}

.proposal-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.proposal-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.proposal-panel span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proposal-panel p {
  margin: 0;
  color: var(--muted);
}

.subsection-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-row span {
  padding: 10px 12px;
  color: var(--navy);
  background: rgba(19, 70, 160, 0.08);
  border: 1px solid rgba(19, 70, 160, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.section-heading p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-4px);
  background: #fbfdff;
  box-shadow: var(--shadow);
}

.service-number {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card h3,
.timeline h3,
.why-list h3 {
  margin: 18px 0 10px;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.service-card p,
.technology-copy,
.technology-card p,
.timeline p,
.why-list p,
.dashboard-section p,
.method p,
.faq-item p,
.cta p {
  margin: 0;
  color: var(--muted);
}

.technology-copy + .technology-copy {
  margin-top: 14px;
}

.technology h2 {
  margin-bottom: 14px;
}

.method h2 {
  margin-bottom: 14px;
}

.cta h2 {
  margin-bottom: 16px;
}

.technology-grid,
.segment-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

.technology-card,
.segment-card,
.faq-item {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.technology-card h3,
.segment-card h3,
.faq-item h3,
.footer-links h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

.segment-card p {
  margin: 0;
  color: var(--muted);
}

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

.section-navy p,
.section-navy .timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.method-layout,
.dashboard-layout,
.cta-layout,
.links-hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.links-hub-layout p {
  margin: 0;
  color: var(--muted);
}

.links-hub-layout {
  grid-template-columns: 1fr;
}

.links-hub h2 {
  margin-bottom: 20px;
}

.links-hub-copy {
  display: grid;
  justify-items: end;
  text-align: right;
  max-width: 620px;
  margin-left: auto;
}

.links-hub-copy .button {
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--sky);
  font-weight: 800;
  border-bottom: 1px solid rgba(125, 196, 255, 0.55);
}

.timeline {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.timeline article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-panel {
  min-height: 430px;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(150deg, #0f2747, #0a1628 72%);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
}

.panel-top span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.panel-title p {
  margin: 0 0 12px;
  color: var(--silver);
  font-weight: 800;
}

.panel-title strong {
  display: block;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.panel-title small {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  height: 140px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.chart-bars i {
  display: block;
  background: linear-gradient(180deg, var(--sky), var(--mid-blue));
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.status-row span {
  padding: 9px 11px;
  color: var(--navy);
  background: var(--ice);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 12px;
  background: var(--green);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.results-grid article {
  min-height: 190px;
  padding: 28px;
  background: var(--white);
}

.results-grid strong {
  display: block;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.95;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.results-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.why-list article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.74);
}

.why-list h3 {
  margin-top: 0;
}

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

.testimonial-grid figure {
  margin: 0;
  min-height: 260px;
  padding: 28px;
  color: var(--white);
  background: var(--navy);
}

.testimonial-grid blockquote {
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-grid figcaption {
  margin-top: 26px;
  color: var(--sky);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.contact-line {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.contact-form {
  display: grid;
  width: 100%;
  gap: 14px;
  margin-top: 10px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  width: 100%;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.contact-form .button {
  width: 100%;
}

.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  color: #ffe082;
  background: rgba(255, 224, 130, 0.12);
  border: 1px solid rgba(255, 224, 130, 0.34);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #ffb4b4;
  background: rgba(255, 180, 180, 0.12);
  border-color: rgba(255, 180, 180, 0.32);
}

.footer {
  color: var(--white);
  background: #07101f;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 42px;
  padding: 30px 0;
}

.footer-brand p {
  max-width: 470px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 24px;
}

.footer-links h3 {
  color: var(--white);
}

.footer-links > div {
  min-width: 0;
}

.footer-links a,
.footer-links span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  overflow-wrap: anywhere;
}

.footer-contact a:first-of-type {
  white-space: nowrap;
  overflow-wrap: normal;
}

.whatsapp-float {
  position: fixed !important;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 60px !important;
  height: 60px !important;
  padding: 0;
  color: var(--white) !important;
  background: #25d366 !important;
  border: 0;
  border-radius: 999px;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  background: #1fb85a;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

.whatsapp-float svg {
  display: block;
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .site-header {
    left: 12px;
    right: 12px;
    width: auto;
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    background: rgba(10, 22, 40, 0.96);
    border: 1px solid rgba(125, 196, 255, 0.2);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a,
  .nav .nav-cta {
    margin: 0;
    padding: 13px 12px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 22, 40, 0.97) 0%, rgba(10, 22, 40, 0.8) 72%, rgba(10, 22, 40, 0.42) 100%),
      linear-gradient(0deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.18) 55%);
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding: 140px 0 32px;
  }

  .hero-metrics {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-metrics,
  .service-grid,
  .results-grid,
  .testimonial-grid,
  .proposal-panels,
  .technology-grid,
  .segment-grid,
  .faq-grid,
  .two-columns,
  .proposal-layout,
  .technology-layout,
  .method-layout,
  .dashboard-layout,
  .cta-layout,
  .footer-layout,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
    padding: 72px 0;
  }

  .two-columns,
  .proposal-layout,
  .technology-layout,
  .method-layout,
  .dashboard-layout,
  .cta-layout,
  .links-hub-layout {
    gap: 34px;
  }

  .service-card,
  .results-grid article,
  .testimonial-grid figure {
    min-height: auto;
  }

  .dashboard-panel {
    min-height: 360px;
  }

  .footer-links {
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 156px;
    height: 30px;
  }

  .brand-logo--header {
    width: 176px;
    height: 34px;
  }

  .brand-logo--footer {
    width: 196px;
    height: 38px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 2rem;
    line-height: 1.05;
  }

  .hero-copy,
  .hero-actions,
  .hero-metrics {
    max-width: 340px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics div {
    padding: 15px;
  }

  .hero-metrics dt {
    font-size: 1.7rem;
  }

  .intro h2,
  .method h2,
.technology h2,
.links-hub h2,
.faq h2,
.segments h2,
  .dashboard-section h2,
  .why h2,
  .cta h2,
  .section-heading h2 {
    font-size: 1.9rem;
  }

  .technology-card,
  .segment-card,
  .faq-item,
  .proposal-panel,
  .contact-card {
    padding: 24px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
}
