:root {
  --blue: #2447b8;
  --blue-deep: #1a328c;
  --green: #3fa250;
  --green-deep: #1f6d3a;
  --gold: #e5bc3c;
  --ink: #111827;
  --muted: #697386;
  --line: #e6eaf0;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --shadow: 0 18px 45px rgba(18, 31, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

i[data-lucide] {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 2.25;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 8vw, 120px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(230, 234, 240, 0.85);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 7px;
  box-shadow: 0 14px 28px rgba(12, 23, 62, 0.18);
  transition: width 0.25s ease, height 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled .brand img {
  width: 58px;
  height: 58px;
  box-shadow: none;
}

.brand strong {
  display: block;
  color: white;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.brand small {
  display: block;
  color: #9cffaa;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header.is-scrolled .brand strong {
  color: var(--blue);
}

.site-header.is-scrolled .brand small {
  color: var(--green-deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.main-nav a {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 17px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.site-header.is-scrolled .main-nav a {
  color: #303847;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible {
  background: #edf8ef;
  color: var(--green-deep);
}

.main-nav .nav-cta {
  margin-left: 10px;
  background: #4fb55e;
  color: white;
  box-shadow: 0 9px 18px rgba(63, 162, 80, 0.28);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: #358e45;
  color: white;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: white;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 80% 76%, rgba(51, 132, 83, 0.66), transparent 32%),
    radial-gradient(circle at 64% 38%, rgba(94, 128, 210, 0.2), transparent 23%),
    linear-gradient(117deg, #273f9f 0%, #2846aa 45%, #244e87 68%, #245f3b 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(31, 109, 58, 0.36), transparent);
  content: "";
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='white' stroke-width='2.8' stroke-linecap='round' opacity='0.62'%3E%3Cpath d='M20 14v12'/%3E%3Cpath d='M14 20h12'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center top;
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 98%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  width: min(1280px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(132px, 13vw, 184px) 0 112px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  gap: 10px;
  border: 1px solid rgba(229, 188, 60, 0.72);
  color: #ffe46f;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.eyebrow span {
  color: #ffdf49;
  font-size: 1.12rem;
  line-height: 1;
}

.hero h1 {
  max-width: 780px;
  margin: 30px 0 24px;
  font-size: clamp(3.25rem, 6.25vw, 5.55rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 18px 38px rgba(8, 20, 65, 0.22);
}

.hero h1 span {
  display: block;
  color: #ffdf49;
}

.hero-text {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.65vw, 1.36rem);
  line-height: 1.52;
}

.hero-note {
  margin: 28px 0 0;
  color: #9cffaa;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 14px 24px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: #59c569;
  color: white;
  box-shadow: 0 16px 28px rgba(28, 108, 46, 0.24);
}

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

.button.light {
  border-color: rgba(255, 255, 255, 0.38);
}

.hero-logo-panel {
  justify-self: center;
  width: min(410px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: clamp(26px, 4.6vw, 42px);
  background:
    radial-gradient(circle at 22% 84%, rgba(255, 255, 255, 0.18), transparent 24%),
    rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 86px rgba(4, 15, 46, 0.27);
  backdrop-filter: blur(10px);
}

.hero-logo-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: clamp(24px, 4vw, 38px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  display: grid;
  justify-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-cue strong {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(105deg, #327d45 0%, #2447b8 100%);
  color: white;
  text-align: center;
}

.stats div {
  padding: clamp(26px, 5vw, 56px) 20px;
}

.stats span {
  display: block;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
}

.stats p {
  margin: 10px 0 0;
  color: #d6f2d9;
  font-weight: 700;
}

.section {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(44px, 6vw, 70px);
  text-align: center;
}

.section-kicker {
  margin-bottom: 16px;
  padding: 8px 18px;
  background: #eef4ff;
  color: var(--blue);
}

.section-heading h2,
.branch h2,
.about h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.section-heading p,
.branch p,
.about p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.07);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(17, 24, 39, 0.12);
}

.service-card:focus-visible {
  outline: 3px solid rgba(36, 71, 184, 0.18);
  outline-offset: 4px;
}

.service-icon {
  display: grid;
  height: 98px;
  place-items: center;
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
}

.service-icon.blue {
  background: linear-gradient(135deg, #5791f3, #2447d5);
}

.service-icon.green {
  background: linear-gradient(135deg, #6acc76, #2d8542);
}

.service-icon.gold {
  background: linear-gradient(135deg, #e7bf3d, #996019);
}

.service-icon.teal {
  background: linear-gradient(135deg, #62c8b5, #267a68);
}

.service-card h3 {
  margin: 28px 28px 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-card p {
  min-height: 106px;
  margin: 0 28px;
  color: var(--muted);
}

.service-card > a {
  display: inline-flex;
  margin: 24px 28px 30px;
  color: var(--green);
  font-weight: 800;
}

.branch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(84px, 9vw, 128px) clamp(20px, 8vw, 120px);
  background: white;
}

.branch-copy {
  max-width: 720px;
}

.branch h2 span {
  display: block;
  color: var(--green);
}

.branch-copy > p {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.7;
}

.branch-copy strong {
  color: #4b5563;
}

.green-kicker {
  background: #ebf8ee;
  color: var(--green-deep);
}

.gold-kicker {
  background: #fff8de;
  color: #9b6b13;
}

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

.check-list li {
  position: relative;
  padding-left: 44px;
  color: #4b5563;
  font-size: 1.02rem;
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: -0.02em;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 999px;
  border: 2px solid #5ac46c;
  background: white;
  color: var(--green);
  content: "✓";
  font-size: 1rem;
  font-weight: 800;
}

.large-button {
  min-width: min(100%, 300px);
  min-height: 62px;
  font-size: 1.04rem;
}

.branch-panel {
  text-align: center;
  border-radius: 8px;
  padding: clamp(30px, 5vw, 54px);
  background: linear-gradient(135deg, #eef5ff 0%, #f1fbf1 100%);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.payout-badge {
  display: inline-flex;
  min-width: 170px;
  min-height: 94px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #60c872, #2e7f3e);
  color: white;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 18px 28px rgba(63, 162, 80, 0.28);
}

.branch-panel strong {
  display: block;
  margin-top: 26px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.branch-panel p {
  max-width: 440px;
  margin: 10px auto 34px;
  color: #8a94a6;
}

.partner-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(36, 71, 184, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.partner-features div {
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 20px;
  border-right: 1px solid rgba(36, 71, 184, 0.1);
  border-bottom: 1px solid rgba(36, 71, 184, 0.1);
}

.partner-features div:nth-child(2n) {
  border-right: 0;
}

.partner-features div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.partner-features span {
  color: var(--blue);
  font-size: 1.8rem;
  line-height: 1;
}

.partner-features b {
  color: #3f4654;
  font-size: 0.94rem;
}

.about {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.98fr);
  gap: clamp(30px, 7vw, 86px);
  padding: clamp(78px, 9vw, 118px) clamp(20px, 8vw, 120px);
  color: white;
  background: linear-gradient(135deg, #253fa8 0%, #243a9a 100%);
}

.about-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.78) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 2px, transparent 2px);
  background-position: 18px 18px, 18px 18px;
  background-size: 40px 40px;
}

.about-copy,
.value-stack {
  position: relative;
}

.about .eyebrow {
  background: rgba(255, 255, 255, 0.12);
}

.about h2 {
  max-width: 840px;
}

.about h2 span {
  color: #ffdf49;
}

.about p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-pills span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 22px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.director-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 780px;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
}

.director-strip > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fde047;
  font-size: 1.3rem;
}

.director-strip p {
  margin: 0;
  color: #bfdbfe;
  font-size: 0.98rem;
}

.director-strip strong {
  color: white;
}

.director-strip a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: fit-content;
  margin-left: auto;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: #22c55e;
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
}

.director-strip a i {
  width: 1rem;
  height: 1rem;
}

.value-stack {
  display: grid;
  gap: 22px;
}

.value-stack article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 30px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(8, 20, 65, 0.12);
}

.value-stack span {
  color: #ffdf49;
  font-size: 2rem;
  line-height: 1;
}

.value-stack h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.value-stack p {
  margin: 0;
  font-size: 1rem;
}

.testimonials {
  padding: clamp(78px, 9vw, 118px) clamp(20px, 8vw, 120px);
  background: #f7f8fa;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonial-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 4vw, 38px);
  background: white;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
}

.stars {
  color: #f5c936;
  font-size: 1.18rem;
  letter-spacing: 0.12em;
}

.testimonial-grid article > p {
  min-height: 114px;
  margin: 24px 0 28px;
  color: #5f6877;
  font-size: 1.02rem;
  font-style: italic;
}

.person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.person span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #5d93f2, #56bf70);
  color: white;
  font-weight: 800;
}

.person strong {
  display: grid;
  gap: 1px;
}

.person small {
  color: #a0a8b6;
  font-size: 0.9rem;
  font-weight: 600;
}

.apply-section {
  width: 100%;
  padding: clamp(78px, 9vw, 128px) clamp(20px, 8vw, 120px);
  background: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  max-width: 1280px;
  margin: 0 auto;
}

.contact-copy h2 {
  max-width: 620px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.contact-copy > p {
  max-width: 660px;
  margin-top: 30px;
  color: #697386;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.contact-methods {
  display: grid;
  gap: 28px;
  margin-top: 54px;
}

.contact-methods div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-methods span {
  display: grid;
  width: 64px;
  min-width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 1.35rem;
}

.contact-methods p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.contact-methods small {
  color: #a0a8b6;
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-methods strong {
  color: #202738;
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: none;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: #fbfcfe;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #596276;
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--ink);
  font: inherit;
  background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(36, 71, 184, 0.14);
}

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

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
}

.form-message.is-success {
  padding: 12px 14px;
  background: #edf8ef;
  color: var(--green-deep);
}

.form-message.is-error {
  padding: 12px 14px;
  background: #fff1f2;
  color: #b42318;
}

.contact-form button {
  justify-self: start;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.full-button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 64px;
  font-size: 1.05rem;
}

.final-cta {
  padding: clamp(62px, 8vw, 92px) 20px;
  text-align: center;
  color: white;
  background: linear-gradient(105deg, #49a258 0%, #2b4fce 100%);
}

.final-cta-inner {
  max-width: 980px;
  margin: 0 auto;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.final-cta p {
  margin: 22px 0 38px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.button.cta-light {
  min-width: min(100%, 390px);
  min-height: 66px;
  background: white;
  color: #2f7f3c;
  box-shadow: 0 18px 30px rgba(20, 32, 72, 0.16);
}

.site-footer {
  padding: clamp(54px, 7vw, 78px) clamp(20px, 8vw, 120px) 34px;
  color: #9ca3af;
  background: #111827;
  font-size: 0.96rem;
}

.site-footer p {
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: clamp(40px, 9vw, 120px);
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand {
  max-width: 520px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 26px;
}

.footer-logo-row img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  object-fit: contain;
  background: white;
  padding: 0;
}

.footer-logo-row strong {
  display: block;
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.footer-logo-row small {
  display: block;
  color: #86efac;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand > p {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: white;
  transform: translateY(-2px);
}

.social-link.linkedin:hover,
.social-link.linkedin:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
}

.social-link.facebook:hover,
.social-link.facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}

.social-link.instagram:hover,
.social-link.instagram:focus-visible {
  background: #e1306c;
  border-color: #e1306c;
}

.social-link.x-twitter:hover,
.social-link.x-twitter:focus-visible {
  background: #000;
  border-color: #000;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 1.1rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: clamp(42px, 6vw, 62px) auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}

.footer-bottom strong {
  color: #57c46a;
}

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

  .hero-inner,
  .branch,
  .about,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .testimonial-grid article > p {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .main-nav .nav-cta {
    margin: 0;
    color: #303847;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 78px;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 4.2rem);
  }

  .hero-logo-panel {
    width: min(430px, calc(100% - 42px));
    margin-top: 12px;
  }

  .scroll-cue {
    position: relative;
    left: auto;
    bottom: auto;
    width: fit-content;
    margin: -44px auto 24px;
    transform: none;
  }

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

  .contact-form,
  .partner-features {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .partner-features div,
  .partner-features div:nth-child(2n),
  .partner-features div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(36, 71, 184, 0.1);
  }

  .partner-features div:last-child {
    border-bottom: 0;
  }

  .contact-methods {
    margin-top: 36px;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand small {
    font-size: 0.68rem;
  }

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

  .eyebrow {
    padding-inline: 18px;
    font-size: 0.68rem;
  }

  .service-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .service-card p {
    min-height: 0;
  }

  .branch,
  .about,
  .testimonials,
  .apply-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .value-stack article {
    grid-template-columns: 1fr;
  }

  .director-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .director-strip a {
    margin-left: 0;
  }

  .contact-methods strong {
    font-size: 1rem;
  }
}

/* Source-match pass based on the supplied Bolt/Vite page */
:root {
  --source-blue-900: #1e3a8a;
  --source-blue-800: #1e40af;
  --source-blue-700: #1d4ed8;
  --source-green-700: #15803d;
  --source-green-600: #16a34a;
  --source-green-500: #22c55e;
  --source-yellow-300: #fde047;
  --source-yellow-400: #facc15;
  --source-yellow-500: #eab308;
  --source-gray-50: #f9fafb;
  --source-gray-100: #f3f4f6;
  --source-gray-200: #e5e7eb;
  --source-gray-400: #9ca3af;
  --source-gray-500: #6b7280;
  --source-gray-600: #4b5563;
  --source-gray-700: #374151;
  --source-gray-800: #1f2937;
  --source-gray-900: #111827;
}

body {
  background: white;
  color: var(--source-gray-900);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

html {
  scroll-padding-top: 80px;
}

.site-header {
  height: 80px;
  top: 1rem;
  left: 50%;
  right: auto;
  width: min(1180px, calc(100% - 2rem));
  padding: 0 1rem 0 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 0.08);
  border-bottom: 0;
  box-shadow: 0 18px 40px rgb(15 23 42 / 0.08);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.site-header.is-scrolled {
  height: 80px;
  top: 1rem;
  left: 50%;
  right: auto;
  width: min(1180px, calc(100% - 2rem));
  padding: 0 1rem 0 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-bottom: 0;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgb(15 23 42 / 0.12);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.brand {
  gap: 0.75rem;
  min-width: auto;
}

.brand img,
.site-header.is-scrolled .brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  padding: 0;
  box-shadow: none;
}

.brand strong {
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.brand small {
  color: #86efac;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1em;
}

.site-header.is-scrolled .brand strong {
  color: #1e40af;
}

.site-header.is-scrolled .brand small {
  color: #15803d;
}

.main-nav {
  gap: 0.25rem;
  font-weight: 600;
}

.main-nav a {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgb(255 255 255 / 0.15);
  color: white;
}

.main-nav a:first-child {
  background: rgb(255 255 255 / 0.12);
  color: white;
}

.site-header.is-scrolled .main-nav a:first-child {
  background: #f0fdf4;
  color: #15803d;
}

.site-header.is-scrolled .main-nav a {
  color: var(--source-gray-700);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible {
  background: #f0fdf4;
  color: #15803d;
}

.main-nav .nav-cta {
  margin-left: 1rem;
  padding: 0.625rem 1.25rem;
  background: #16a34a;
  color: white;
  font-weight: 700;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: #15803d;
  color: white;
}

.site-header.is-scrolled .main-nav .nav-cta {
  color: white;
}

.nav-toggle {
  border: 1px solid rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.1);
  color: white;
}

.nav-toggle span {
  background: white;
}

.site-header.is-scrolled .nav-toggle {
  border: 0;
  background: white;
  color: var(--source-gray-700);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--source-gray-700);
}

.hero {
  display: flex;
  min-height: 100vh;
  align-items: center;
  background: linear-gradient(to bottom right, #1e3a8a, #1e40af, #14532d);
}

.hero::after {
  height: 8rem;
  background: linear-gradient(to top, rgb(234 179 8 / 0.2), transparent);
}

.hero-pattern {
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  mask-image: none;
}

.hero-inner {
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(4rem, 8vw, 7rem);
  width: min(1180px, calc(100% - clamp(4rem, 12vw, 10rem)));
  padding: 9.5rem 0 7rem;
}

.hero h1 {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  color: white;
  font-size: clamp(3rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
}

.hero h1 span {
  background: linear-gradient(to right, #fde047, #eab308);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-color: rgb(250 204 21 / 0.4);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  background: rgb(250 204 21 / 0.2);
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: none;
}

.eyebrow i {
  color: #fde047;
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.hero-text {
  max-width: 36rem;
  margin-bottom: 1rem;
  color: #dbeafe;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.625;
}

.hero-note {
  margin: 0 0 2.5rem;
  color: #86efac;
  font-size: 1rem;
  font-weight: 600;
}

.hero-actions {
  gap: 1rem;
  margin: 0;
}

.button {
  min-height: auto;
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 700;
}

.button.primary {
  background: #22c55e;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #4ade80;
  box-shadow: 0 20px 25px -5px rgb(34 197 94 / 0.4);
}

.button.secondary {
  border-color: rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(4px);
}

.hero-logo-panel {
  position: relative;
  justify-self: end;
  width: auto;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  backdrop-filter: blur(4px);
}

.hero-logo-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, rgb(250 204 21 / 0.3), rgb(74 222 128 / 0.3));
  content: "";
  filter: blur(40px);
  transform: scale(1.1);
}

.hero-logo-panel img {
  width: 16rem;
  height: 16rem;
  border-radius: 1rem;
  padding: 0;
}

.hero-journey-panel {
  position: relative;
  justify-self: end;
  width: min(100%, 25rem);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 1.5rem;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.18), rgb(255 255 255 / 0.08)),
    rgb(15 23 42 / 0.08);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  backdrop-filter: blur(12px);
  animation: journeyPanelIn 0.85s ease 0.18s both;
  transition: box-shadow 0.24s ease, transform 0.24s ease;
}

.hero-journey-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, rgb(250 204 21 / 0.28), rgb(74 222 128 / 0.32));
  content: "";
  filter: blur(40px);
  transform: scale(1.08);
  animation: journeyGlow 4.6s ease-in-out infinite;
}

.hero-journey-panel:hover {
  box-shadow: 0 32px 58px -18px rgb(0 0 0 / 0.32);
  transform: translateY(-4px);
}

.journey-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.journey-panel-header > span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  place-items: center;
  border-radius: 1rem;
  background: #22c55e;
  color: white;
  box-shadow: 0 16px 26px rgb(34 197 94 / 0.22);
  animation: journeyIconPulse 3.8s ease-in-out infinite;
}

.journey-panel-header i {
  width: 1.25rem;
  height: 1.25rem;
}

.journey-panel-header p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.journey-panel-header small {
  color: #fde047;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-panel-header strong {
  color: white;
  font-size: clamp(0.92rem, 1.6vw, 1.04rem);
  line-height: 1.25;
}

.journey-steps {
  display: grid;
  gap: 0.55rem;
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.55rem 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.75rem;
  min-height: 4rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 1rem;
  padding: 0.62rem 0.75rem;
  background: rgb(255 255 255 / 0.92);
  color: #1f2937;
  box-shadow: 0 12px 22px rgb(15 23 42 / 0.08);
  opacity: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  animation: journeyStepIn 0.58s ease both;
}

.journey-step:nth-child(1) {
  animation-delay: 0.42s;
}

.journey-step:nth-child(2) {
  animation-delay: 0.52s;
}

.journey-step:nth-child(3) {
  animation-delay: 0.62s;
}

.journey-step:nth-child(4) {
  animation-delay: 0.72s;
}

.journey-step > span {
  position: relative;
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 0.85rem;
  background: #eff6ff;
  color: #1d4ed8;
  overflow: hidden;
}

.journey-step > span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / 0.55), transparent 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%) skewX(-18deg);
}

.journey-step:nth-child(2) > span {
  background: #f0fdf4;
  color: #15803d;
}

.journey-step:nth-child(3) > span {
  background: #fffbeb;
  color: #b45309;
}

.journey-step:nth-child(4) > span {
  background: #ecfdf5;
  color: #16a34a;
}

.journey-step i {
  width: 1.18rem;
  height: 1.18rem;
}

.journey-step strong,
.journey-step small {
  grid-column: 2;
}

.journey-step strong {
  align-self: end;
  margin: 0 0 0.12rem;
  font-size: 0.88rem;
  line-height: 1.2;
}

.journey-step small {
  align-self: start;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
}

.journey-step:hover {
  border-color: rgb(34 197 94 / 0.35);
  box-shadow: 0 18px 28px rgb(15 23 42 / 0.13);
  transform: translateY(-3px);
}

.journey-step:hover > span::after {
  animation: iconSweep 0.7s ease;
}

.journey-step:hover i {
  animation: cardIconMove 0.58s ease;
}

.journey-panel-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.journey-panel-footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  color: #dcfce7;
  font-size: 0.7rem;
  font-weight: 800;
}

.journey-panel-footer i {
  width: 18px;
  height: 18px;
  color: #fde047;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  margin: 0;
  color: rgb(255 255 255 / 0.6);
  letter-spacing: 0.1em;
  transform: translateX(-50%);
  animation: none;
}

.scroll-cue strong {
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 4rem max(1rem, calc((100vw - 1280px) / 2 + 2rem));
  background: linear-gradient(to right, #15803d, #1e40af);
}

.stats div {
  padding: 0;
}

.stats div::before {
  content: none;
}

.stats i {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto 0.75rem;
  color: #fde047;
}

.stats span {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
}

.stats p {
  color: #bbf7d0;
  font-size: 0.875rem;
  font-weight: 500;
}

.section,
.branch,
.about,
.testimonials,
.apply-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section {
  width: 100%;
  padding-left: max(1rem, calc((100vw - 1280px) / 2 + 2rem));
  padding-right: max(1rem, calc((100vw - 1280px) / 2 + 2rem));
  background: #f9fafb;
}

.section-heading {
  margin-bottom: 4rem;
}

.section-kicker {
  margin-bottom: 1rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-heading h2,
.branch h2,
.about h2,
.contact-copy h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
}

.section-heading p,
.branch p,
.contact-copy > p {
  color: #6b7280;
  font-size: 1.125rem;
}

.service-grid {
  gap: 1.5rem;
}

.service-card {
  border-color: #f3f4f6;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.service-icon {
  height: auto;
  padding: 1.25rem;
  font-size: 2rem;
}

.service-icon i {
  width: 2rem;
  height: 2rem;
  color: white;
}

.service-card h3 {
  margin: 1.25rem 1.25rem 0.5rem;
  font-size: 1rem;
}

.service-card p {
  min-height: 88px;
  margin: 0 1.25rem;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.625;
}

.service-card > a {
  margin: 1rem 1.25rem 1.25rem;
  color: #16a34a;
  font-size: 0.875rem;
  font-weight: 600;
}

.partner-features i,
.value-stack i,
.contact-methods i {
  width: 1.35rem;
  height: 1.35rem;
}

.branch {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  padding-left: max(1rem, calc((100vw - 1280px) / 2 + 2rem));
  padding-right: max(1rem, calc((100vw - 1280px) / 2 + 2rem));
  background: white;
}

.green-kicker {
  margin-bottom: 1.5rem;
  background: #f0fdf4;
  color: #15803d;
}

.branch-copy > p {
  margin: 1.5rem 0 2rem;
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.625;
}

.check-list {
  gap: 1rem;
  margin: 0 0 2.5rem;
}

.check-list li {
  padding-left: 2rem;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.625;
}

.check-list li::before {
  top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border: 0;
  color: #22c55e;
  content: "✓";
  font-size: 1.15rem;
}

.branch-panel {
  position: relative;
  border-radius: 1.5rem;
  padding: 2.5rem;
  background: linear-gradient(to bottom right, #eff6ff, #f0fdf4);
  box-shadow: none;
}

.payout-badge {
  min-width: 0;
  min-height: 0;
  border-radius: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom right, #22c55e, #15803d);
  font-size: 3rem;
  font-weight: 900;
}

.branch-panel strong {
  margin-top: 1rem;
  color: #374151;
  font-size: 1.25rem;
}

.branch-panel p {
  margin-bottom: 2rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.partner-features {
  gap: 1rem;
  border: 0;
  background: transparent;
}

.partner-features div {
  min-height: auto;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  padding: 1rem;
  background: white;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.about {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
  background: #1e3a8a;
}

.about-pattern {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about .eyebrow {
  margin-bottom: 1.5rem;
  border-color: rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.1);
}

.about p {
  color: #bfdbfe;
  font-size: 1rem;
  line-height: 1.625;
}

.trust-pills span,
.value-stack article {
  border-color: rgb(255 255 255 / 0.1);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.1);
}

.value-stack {
  gap: 1.5rem;
}

.testimonials {
  background: #f9fafb;
}

.testimonial-grid article {
  border-color: #f3f4f6;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.apply-section {
  background: white;
}

.contact-form {
  gap: 1rem;
  border-color: #f3f4f6;
  border-radius: 1.5rem;
  padding: 2rem;
  background: #f9fafb;
  box-shadow: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-color: #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.final-cta {
  padding: 4rem 1rem;
  background: linear-gradient(to right, #16a34a, #1d4ed8);
}

.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}

.final-cta p {
  margin-bottom: 2rem;
  color: #dcfce7;
  font-size: 1.125rem;
}

.button.cta-light {
  min-height: auto;
  min-width: auto;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  color: #15803d;
  font-size: 1.125rem;
  font-weight: 800;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.site-footer {
  padding: 3rem max(1rem, calc((100vw - 1280px) / 2 + 2rem));
  background: #111827;
}

.footer-grid {
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo-row img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  padding: 0;
}

.footer-logo-row strong {
  font-size: 1.25rem;
}

.footer-links h3 {
  font-size: 0.875rem;
}

.footer-links a,
.footer-brand > p {
  font-size: 0.875rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-bottom {
  margin-top: 0;
  padding-top: 1.5rem;
  border-color: #1f2937;
  font-size: 0.75rem;
}

@media (min-width: 1024px) {
  .hero-copy {
    text-align: left;
  }
}

@media (max-width: 1050px) {
  .hero-inner,
  .branch,
  .about,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-panel {
    justify-self: center;
  }

  .hero-journey-panel {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-header.is-scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    padding: 0 1rem;
  }

  .main-nav.is-open {
    top: 80px;
    left: 0;
    right: 0;
    border-radius: 0;
  }

  .hero-inner {
    width: min(100% - 2rem, 720px);
    padding-top: 7rem;
  }

  .hero-logo-panel img {
    width: 14rem;
    height: 14rem;
  }

  .hero-journey-panel {
    width: min(100%, 25rem);
  }

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

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

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

.loan-page .main-nav a:first-child {
  background: rgb(255 255 255 / 0.12);
  color: white;
}

.loan-page .site-header.is-scrolled .main-nav a:first-child {
  background: transparent;
  color: var(--source-gray-700);
}

.loan-page .main-nav a:first-child:hover,
.loan-page .main-nav a:first-child:focus-visible {
  background: rgb(255 255 255 / 0.15);
  color: white;
}

.loan-page .site-header.is-scrolled .main-nav a:first-child:hover,
.loan-page .site-header.is-scrolled .main-nav a:first-child:focus-visible {
  background: #f0fdf4;
  color: #15803d;
}

.loan-page main {
  display: flex;
  flex-direction: column;
}

.home-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
}

.loan-hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  justify-self: end;
  width: min(100%, 26rem);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  backdrop-filter: blur(4px);
}

.loan-hero-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, rgb(250 204 21 / 0.28), rgb(74 222 128 / 0.28));
  content: "";
  filter: blur(40px);
  transform: scale(1.08);
}

.loan-hero-panel > img {
  width: 7rem;
  height: 7rem;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  object-fit: contain;
  background: white;
}

.loan-hero-panel div {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 1rem;
  padding: 1rem;
  background: rgb(255 255 255 / 0.1);
}

.loan-hero-panel span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgb(250 204 21 / 0.18);
  color: #fde047;
}

.loan-hero-panel i {
  width: 1.35rem;
  height: 1.35rem;
}

.loan-hero-panel p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.director-profile-panel {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 28rem);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  backdrop-filter: blur(4px);
}

.director-profile-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, rgb(250 204 21 / 0.26), rgb(74 222 128 / 0.24));
  content: "";
  filter: blur(40px);
  transform: scale(1.08);
}

.director-avatar {
  display: grid;
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem;
  place-items: center;
  border-radius: 1.25rem;
  background: white;
  color: #1e40af;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.director-profile-panel h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.18;
}

.director-profile-panel > p {
  margin: 0.5rem 0 1.5rem;
  color: #bbf7d0;
  font-weight: 800;
}

.director-metrics {
  display: grid;
  gap: 0.85rem;
}

.director-metrics div {
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 1rem;
  padding: 1rem;
  background: rgb(255 255 255 / 0.1);
}

.director-metrics strong {
  display: block;
  color: #fde047;
  font-size: 1.25rem;
}

.director-metrics span {
  display: block;
  margin-top: 0.25rem;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 700;
}

.director-message .payout-badge {
  width: 5.5rem;
  height: 5.5rem;
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}

.director-message .payout-badge i {
  width: 2.35rem;
  height: 2.35rem;
}

.loan-overview {
  align-items: start;
}

.loan-document-panel .payout-badge {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto;
  padding: 0;
}

.loan-document-panel .payout-badge i {
  width: 2.4rem;
  height: 2.4rem;
}

.home-apply {
  position: relative;
  overflow: hidden;
  order: -1;
  padding-top: calc(80px + 4.25rem);
  background:
    radial-gradient(circle at 86% 0%, rgba(34, 197, 94, 0.24), transparent 26rem),
    linear-gradient(180deg, #1e3a8a 0, #1e40af 8.5rem, #f9fafb 8.5rem, #f9fafb 100%);
}

.home-apply::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8.5rem;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  content: "";
  pointer-events: none;
}

.home-apply > * {
  position: relative;
  z-index: 1;
}

.home-apply .contact-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
}

.home-apply .home-loan-form {
  order: 1;
}

.home-apply .contact-copy {
  order: 2;
  position: sticky;
  top: 128px;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgb(239 246 255 / 0.92), rgb(240 253 244 / 0.92)),
    white;
  box-shadow: 0 20px 40px rgb(15 23 42 / 0.08);
}

.home-apply .contact-copy .section-kicker {
  background: white;
}

.home-apply .contact-copy h2 {
  color: #1f2937;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.home-apply .contact-copy > p {
  margin-top: 1.25rem;
  color: #4b5563;
  font-size: 1rem;
}

.home-apply .contact-methods {
  margin-top: 2rem;
}

.home-loan-form {
  align-self: start;
  background: white;
}

.home-loan-form .form-group {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  background: #f9fafb;
}

.home-loan-form .form-group legend {
  padding: 0 0.45rem;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 800;
}

.home-loan-form .form-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #4b5563;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

.home-loan-form .form-help {
  margin: 0;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}

.home-loan-form .file-upload-grid {
  display: grid;
  gap: 0.85rem;
}

.home-loan-form .selectable-upload-grid {
  gap: 0.75rem;
}

.home-loan-form .selectable-upload {
  display: grid;
  gap: 0.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 0.85rem;
  background: white;
}

.home-loan-form .form-group .document-choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.home-loan-form .document-choice input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  accent-color: #16a34a;
}

.home-loan-form .document-choice span {
  color: #374151;
  font-weight: 800;
}

.home-loan-form .form-group .file-upload-field {
  display: grid;
  gap: 0.55rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  padding: 0.85rem;
  background: white;
}

.home-loan-form .form-group .selectable-upload .file-upload-field {
  border-style: dashed;
  background: #f9fafb;
}

.home-loan-form .file-upload-field.is-hidden {
  display: none;
}

.home-loan-form .file-upload-field span {
  color: #374151;
  font-weight: 800;
}

.home-loan-form input[type="file"] {
  padding: 0.65rem;
  color: #4b5563;
  font-size: 0.82rem;
  background: #f9fafb;
}

.home-loan-form input[type="file"]::file-selector-button {
  margin-right: 0.85rem;
  border: 0;
  border-radius: 0.6rem;
  padding: 0.55rem 0.8rem;
  background: #16a34a;
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .home-hero .hero-inner {
    grid-template-columns: 1fr;
  }

  .home-apply .contact-layout {
    grid-template-columns: 1fr;
  }

  .home-apply .contact-copy {
    position: static;
  }

  .loan-hero-panel {
    justify-self: center;
  }

  .director-profile-panel {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .loan-page .main-nav a:first-child,
  .loan-page .site-header.is-scrolled .main-nav a:first-child {
    background: transparent;
    color: var(--source-gray-700);
  }

  .loan-page .main-nav a:first-child:hover,
  .loan-page .main-nav a:first-child:focus-visible,
  .loan-page .site-header.is-scrolled .main-nav a:first-child:hover,
  .loan-page .site-header.is-scrolled .main-nav a:first-child:focus-visible {
    background: #f0fdf4;
    color: #15803d;
  }
}

@media (max-width: 560px) {
  .loan-hero-panel,
  .home-loan-form .form-group {
    border-radius: 1rem;
  }

  .loan-hero-panel {
    padding: 1.25rem;
  }

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

@media (max-width: 820px) {
  .main-nav,
  .site-header.is-scrolled .main-nav {
    top: 80px;
    left: 0;
    right: 0;
    z-index: 50;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 18px 40px rgb(15 23 42 / 0.14);
  }

  .main-nav a,
  .main-nav a:first-child,
  .main-nav .nav-cta,
  .site-header.is-scrolled .main-nav a,
  .site-header.is-scrolled .main-nav a:first-child,
  .site-header.is-scrolled .main-nav .nav-cta {
    color: var(--source-gray-700);
    text-align: center;
  }

  .main-nav a:first-child,
  .site-header.is-scrolled .main-nav a:first-child {
    background: transparent;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a:first-child:hover,
  .main-nav a:first-child:focus-visible,
  .site-header.is-scrolled .main-nav a:hover,
  .site-header.is-scrolled .main-nav a:focus-visible {
    background: #f0fdf4;
    color: #15803d;
  }

  .main-nav .nav-cta,
  .site-header.is-scrolled .main-nav .nav-cta {
    background: #16a34a;
    color: #ffffff;
  }

  .main-nav .nav-cta:hover,
  .main-nav .nav-cta:focus-visible,
  .site-header.is-scrolled .main-nav .nav-cta:hover,
  .site-header.is-scrolled .main-nav .nav-cta:focus-visible {
    background: #15803d;
    color: #ffffff;
  }
}

.seo-support,
.seo-faq {
  background: #ffffff;
}

.seo-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.seo-grid article,
.faq-grid article {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.06);
}

.seo-grid h3,
.faq-grid h3 {
  margin: 0 0 0.65rem;
  color: #1e40af;
  font-size: 1.05rem;
  line-height: 1.35;
}

.seo-grid p,
.faq-grid p {
  margin: 0;
  color: #4b5563;
}

@media (max-width: 820px) {
  .seo-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-heading {
  width: min(1280px, 100%);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.testimonial-heading .section-heading {
  margin: 0;
  text-align: center;
}

.testimonial-controls {
  position: absolute;
  inset: 50% -1.5rem auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.testimonial-controls button {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #ffffff;
  color: #1e40af;
  box-shadow: 0 10px 22px rgb(15 23 42 / 0.08);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.testimonial-controls button:hover,
.testimonial-controls button:focus-visible {
  background: #1e40af;
  color: #ffffff;
  transform: translateY(-1px);
}

.testimonial-controls i {
  width: 1.25rem;
  height: 1.25rem;
}

.testimonial-carousel {
  position: relative;
  width: min(1280px, calc(100% - 4rem));
  margin: 0 auto;
}

.testimonial-grid,
.testimonials .testimonial-grid {
  display: flex;
  grid-template-columns: none;
  gap: 1.5rem;
  max-width: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.25rem 0.25rem 1rem;
}

.testimonial-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-grid article,
.testimonials .testimonial-grid article {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
}

@media (max-width: 1050px) {
  .testimonial-grid article,
  .testimonials .testimonial-grid article {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 820px) {
  .testimonial-carousel {
    width: min(100%, calc(100% - 2rem));
  }

  .testimonial-controls {
    inset-inline: -0.5rem;
  }

  .testimonial-grid article,
  .testimonials .testimonial-grid article {
    flex-basis: calc(100% - 0.25rem);
  }
}

/* Subtle motion enhancements */
@keyframes heroPatternDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 60px 60px;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes softGlow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1.06);
  }

  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 12px 24px rgb(34 197 94 / 0.2);
  }

  50% {
    box-shadow: 0 20px 34px rgb(34 197 94 / 0.34);
  }
}

@keyframes journeyPanelIn {
  from {
    opacity: 0;
    scale: 0.97;
    translate: 0 22px;
  }

  to {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes journeyGlow {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1.06);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes journeyStepIn {
  from {
    opacity: 0;
    translate: 14px 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes journeyIconPulse {
  0%,
  100% {
    box-shadow: 0 16px 26px rgb(34 197 94 / 0.22);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 18px 32px rgb(34 197 94 / 0.36);
    transform: scale(1.04);
  }
}

@keyframes cardIconMove {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  50% {
    transform: translateY(-7px) scale(1.08) rotate(-4deg);
  }
}

@keyframes iconSweep {
  from {
    transform: translateX(-120%) skewX(-18deg);
  }

  to {
    transform: translateX(260%) skewX(-18deg);
  }
}

.hero-pattern,
.about-pattern {
  animation: heroPatternDrift 32s linear infinite;
}

.hero-copy .eyebrow,
.hero h1,
.hero-text,
.hero-note {
  opacity: 0;
  animation: fadeSlideUp 0.75s ease forwards;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero-text {
  animation-delay: 0.16s;
}

.hero-note {
  animation-delay: 0.24s;
}

.hero-logo-panel img {
  animation: logoFloat 5.5s ease-in-out infinite;
}

.hero-logo-panel::before {
  animation: softGlow 4.8s ease-in-out infinite;
}

.payout-badge {
  animation: badgePulse 3.8s ease-in-out infinite;
}

.service-card,
.partner-features div,
.testimonial-grid article {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.service-card:hover,
.service-card:focus-visible,
.partner-features div:hover,
.testimonial-grid article:hover {
  border-color: rgb(34 197 94 / 0.25);
  box-shadow: 0 20px 34px -18px rgb(15 23 42 / 0.28);
  transform: translateY(-4px);
}

.service-icon,
.partner-features span,
.contact-methods span,
.director-strip > span {
  position: relative;
  overflow: hidden;
}

.service-icon::after,
.partner-features span::after,
.contact-methods span::after,
.director-strip > span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / 0.32), transparent 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%) skewX(-18deg);
}

.service-card:hover .service-icon::after,
.service-card:focus-visible .service-icon::after,
.partner-features div:hover span::after,
.contact-methods div:hover span::after,
.director-strip:hover > span::after {
  animation: iconSweep 0.7s ease;
}

.service-card:hover .service-icon i,
.service-card:focus-visible .service-icon i,
.partner-features div:hover i,
.contact-methods div:hover i,
.director-strip:hover i {
  animation: cardIconMove 0.58s ease;
}

.button:hover,
.button:focus-visible,
.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  box-shadow: 0 18px 26px -14px rgb(15 23 42 / 0.34);
  transform: translateY(-2px);
}

.site-header.is-scrolled .main-nav .nav-cta,
.site-header.is-scrolled .main-nav .nav-cta:hover,
.site-header.is-scrolled .main-nav .nav-cta:focus-visible {
  background: #16a34a;
  color: #ffffff;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible,
.site-header.is-scrolled .main-nav .nav-cta:hover,
.site-header.is-scrolled .main-nav .nav-cta:focus-visible {
  background: #15803d;
  color: #ffffff;
}

.button:active,
.main-nav .nav-cta:active {
  transform: translateY(0);
}

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