:root {
  --navy-950: #071427;
  --navy-900: #0b1f36;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --panel: #ffffff;
  --card: #ffffff;
  --line: #e4e9f2;
  --ink: #101a2b;
  --text: #101a2b;
  --muted: #5b6b84;
  --primary: #2f6feb;
  --primary-strong: #1f56c4;
  --gold: #2f6feb;
  --gold-soft: rgba(47, 111, 235, 0.12);
  --shadow: 0 24px 60px rgba(16, 26, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.top-bar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.top-bar-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 40px;
}

.top-bar a {
  transition: color 0.2s ease;
}

.top-bar a:hover,
.top-bar a:focus-visible {
  color: #fff;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #7ea6ff);
  z-index: 100;
  transition: width 0.1s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(16, 26, 43, 0.08);
}

.site-header.is-scrolled .nav-wrap {
  min-height: 64px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
  transition: min-height 0.3s ease;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 12px;
  background: var(--navy-900);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.site-header .logo,
.site-header .main-nav {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 111, 235, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-strong);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.site-header .btn-secondary {
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) brightness(0.55);
  animation: kenburns 20s ease-in-out infinite alternate;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(7, 20, 39, 0.88) 0%,
    rgba(7, 20, 39, 0.72) 34%,
    rgba(7, 20, 39, 0.42) 62%,
    rgba(7, 20, 39, 0.74) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  padding: 170px 0 110px;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 30px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 999px;
  background: #fff;
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}

@keyframes scroll-cue-move {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(47, 111, 235, 0.3);
  border-radius: 999px;
  background: rgba(47, 111, 235, 0.12);
  color: #7ea6ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
}

.section-heading .eyebrow {
  color: var(--primary);
  background: var(--gold-soft);
  border-color: rgba(47, 111, 235, 0.22);
}

.hero-content h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.hero-content h1 {
  max-width: 620px;
  font-size: clamp(2.9rem, 5vw, 5.1rem);
  color: #fff;
}

.hero-content p,
.about-copy p,
.contact-copy p,
.service-card p,
.value-card p,
.advice-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.hero-content p {
  max-width: 590px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.hero-trust li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-trust strong {
  font-size: 1.7rem;
  color: #fff;
}

.hero-trust span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.hero-panel {
  justify-self: end;
  width: min(420px, 100%);
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(7, 20, 39, 0.35);
}

.panel-top,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.chip.success {
  background: rgba(47, 111, 235, 0.12);
  color: var(--primary-strong);
}

.mini-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.panel-chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  height: 220px;
  margin: 28px 0 20px;
  padding: 18px 10px 4px;
  border-radius: 18px;
  background: var(--bg-soft);
}

.panel-chart span {
  display: block;
  height: var(--h);
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 22px rgba(47, 111, 235, 0.22);
}

.panel-footer small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
}

.panel-footer strong {
  font-size: 1.2rem;
  color: var(--ink);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.green {
  background: var(--primary-strong);
  box-shadow: 0 0 15px rgba(31, 86, 196, 0.6);
}

.dot.gold {
  background: var(--gold);
  box-shadow: 0 0 15px rgba(47, 111, 235, 0.6);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.section-heading {
  max-width: 620px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--ink);
}

.about-copy {
  display: grid;
  gap: 18px;
}

.value-grid,
.services-grid,
.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.value-card,
.service-card,
.advice-card,
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover,
.service-card:hover,
.advice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(16, 26, 43, 0.16);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--primary);
  font-weight: 700;
}

.value-card h3,
.service-card h3,
.advice-card h3 {
  margin: 18px 0 12px;
  font-size: 1.5rem;
  color: var(--ink);
}

.center {
  margin-inline: auto;
  text-align: center;
}

.advice {
  background: var(--bg-soft);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--primary);
  font-weight: 700;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  min-height: 100%;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--gold-soft);
  font-size: 2rem;
}

.process {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--ink);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(47, 111, 235, 0.35);
  border-color: transparent;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 80px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: #fff;
}

.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.38s; }

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-28px, 28px, 0); }
}

@keyframes scan {
  0% { transform: translateY(-32%) rotate(8deg); opacity: 0.4; }
  100% { transform: translateY(12%) rotate(8deg); opacity: 0.9; }
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.process-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(16, 26, 43, 0.16);
}

.process-card h3 {
  margin: 18px 0 12px;
  font-size: 1.2rem;
  color: var(--ink);
}

/* Testimonials */
.testimonials {
  background: var(--bg);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(16, 26, 43, 0.16);
}

.testimonial-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person strong {
  display: block;
  font-size: 0.98rem;
}

.testimonial-person small {
  color: var(--muted);
  font-size: 0.85rem;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

/* FAQ accordion */
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover,
.faq-item.is-open {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(16, 26, 43, 0.16);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.faq-answer > * {
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  opacity: 1;
  transition: opacity 0.3s ease 0.1s;
}

/* Contact form extras */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-form input:invalid,
.contact-form textarea:invalid {
  box-shadow: none;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #f38b8b;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--primary-strong);
}

.form-status.error {
  color: #d64545;
}

.g-recaptcha {
  transform-origin: left top;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.mobile-nav a {
  padding: 12px 6px;
  color: var(--muted);
  border-radius: 10px;
}

.mobile-nav a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.mobile-nav.is-open {
  display: flex;
}

.main-nav a.is-active {
  color: var(--ink);
  position: relative;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 2px;
  background: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* Back to top button */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  cursor: pointer;
  z-index: 60;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(47, 111, 235, 0.4);
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .services-grid,
  .value-grid,
  .process-grid,
  .testimonial-grid,
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .contact-grid,
  .two-column,
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 88px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .hero-inner {
    padding: 0;
  }

  .scroll-cue {
    display: none;
  }

  .hero-actions,
  .hero-trust,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .value-grid,
  .advice-grid,
  .process-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: sticky;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .floating-note {
    display: none;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
