@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-geist: "Geist";
  --navy: #18283d;
  --navy-soft: #233852;
  --ivory: #f5f1e8;
  --paper: #ebece8;
  --white: #fffdf8;
  --cobalt: #4168df;
  --steel: #7b94aa;
  --line-dark: rgba(245, 241, 232, 0.18);
  --line-light: rgba(16, 31, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-geist), Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--cobalt);
  color: white;
}

.hero-stage {
  min-height: 260px;
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.site-header,
.hero,
.services-wrap,
.site-footer {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.brand-logo-frame {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 4px;
  background: var(--ivory);
}

.brand-logo {
  display: block;
  width: 22px;
  height: auto;
}

.phone-link,
.site-footer a {
  transition: color 180ms ease;
}

.phone-link:hover,
.site-footer a:hover {
  color: var(--cobalt);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

.language-switch a {
  border: 0;
  width: 40px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: rgba(245, 241, 232, 0.6);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.language-switch a[aria-current="page"] {
  background: var(--ivory);
  color: var(--navy);
}

.phone-link {
  font-size: 14px;
  color: rgba(245, 241, 232, 0.8);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 34px 0 92px;
}

.route-prompt {
  margin: 0;
  color: rgba(245, 241, 232, 0.78);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 560;
}

.services-wrap {
  margin-top: -70px;
  position: relative;
  z-index: 3;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-card {
  min-height: 190px;
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-top-width: 4px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  box-shadow: 0 14px 38px rgba(24, 40, 61, 0.07);
  cursor: pointer;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 52px rgba(24, 40, 61, 0.11);
}

.service-card:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

.accounting-card {
  border-top-color: var(--steel);
}

.visa-card {
  border-top-color: var(--cobalt);
}

.card-footer {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.card-copy {
  margin: 2px 0 auto;
}

.card-copy h2 {
  margin: 0;
  font-size: clamp(36px, 3.3vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 590;
  max-width: 500px;
}

.card-footer {
  padding-top: 0;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  flex: 0 0 auto;
  width: 220px;
  height: 44px;
  min-height: 44px;
  padding: 4px 5px 4px 14px;
  border: 1px solid rgba(123, 148, 170, 0.3);
  border-radius: 8px;
  background: rgba(123, 148, 170, 0.11);
  color: var(--navy);
  font-weight: 650;
  font-size: 14px;
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

.visa-card .card-action {
  border-color: rgba(65, 104, 223, 0.24);
  background: rgba(65, 104, 223, 0.09);
  color: #3156c6;
}

.accounting-card:hover .card-action {
  color: #526f88;
  border-color: rgba(123, 148, 170, 0.5);
  background: rgba(123, 148, 170, 0.17);
  transform: translateX(2px);
}

.visa-card:hover .card-action {
  color: #3156c6;
  border-color: rgba(65, 104, 223, 0.4);
  background: rgba(65, 104, 223, 0.15);
  transform: translateX(2px);
}

.card-credential {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 3px;
  color: rgba(24, 40, 61, 0.46);
  font-size: 9px;
  font-weight: 560;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

.license-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.aat-license-logo {
  width: 92px;
  transform: scale(1.06);
  transform-origin: right bottom;
}

.iaa-license-logo {
  width: 52px;
  mix-blend-mode: multiply;
}

.arrow {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(16, 31, 51, 0.25);
  transition: transform 200ms ease;
}

.arrow::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.arrow::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 9px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}

.visa-card .arrow {
  border-color: rgba(16, 31, 51, 0.25);
}

.card-action .arrow {
  flex: 0 0 auto;
  border: 0;
  background: var(--steel);
  color: white;
}

.visa-card .card-action .arrow {
  background: var(--cobalt);
}

.service-card:hover .arrow {
  transform: translate(2px, -2px);
}

.bridge-statement {
  padding: 42px 0 34px;
  text-align: center;
}

.bridge-statement h1 {
  margin: 0 auto;
  max-width: 820px;
  color: var(--navy);
  font-size: clamp(34px, 3.25vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 570;
}

.bridge-statement h1 span {
  display: block;
}

.bridge-statement h1 .accent-line {
  color: var(--cobalt);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line-light);
}

.footer-contact,
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
}

.footer-contact a,
.footer-meta p {
  margin: 0;
  color: rgba(16, 31, 51, 0.62);
}

.footer-label {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-meta {
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 960px) {
  .site-header,
  .hero,
  .services-wrap,
  .site-footer {
    width: min(100% - 40px, 760px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .phone-link {
    display: none;
  }

  .hero-stage {
    min-height: 240px;
  }

  .hero {
    padding: 30px 0 82px;
  }

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

  .service-card {
    min-height: 190px;
  }

  .bridge-statement {
    padding: 38px 0 32px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .services-wrap,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 64px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-logo-frame {
    width: 34px;
    height: 38px;
  }

  .brand-logo {
    width: 20px;
  }

  .language-switch a {
    width: 36px;
    height: 30px;
  }

  .hero {
    padding: 27px 0 72px;
  }

  .hero-stage {
    min-height: 220px;
  }

  .route-prompt {
    font-size: 17px;
  }

  .services-wrap {
    margin-top: -58px;
  }

  .service-card {
    min-height: 180px;
    padding: 19px 20px 18px;
  }

  .card-copy {
    margin-top: 2px;
  }

  .card-copy h2 {
    font-size: 34px;
  }

  .card-footer {
    align-items: flex-end;
  }

  .card-action {
    width: 200px;
    height: 44px;
    min-height: 44px;
    padding: 4px 5px 4px 13px;
    font-size: 13px;
  }

  .card-footer {
    min-height: 58px;
  }

  .card-credential {
    font-size: 8.5px;
  }

  .aat-license-logo {
    width: 78px;
  }

  .iaa-license-logo {
    width: 45px;
  }

  .bridge-statement {
    padding: 32px 0 28px;
  }

  .bridge-statement h1 {
    max-width: 330px;
    font-size: clamp(28px, 7.4vw, 31px);
    line-height: 1.02;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .service-card {
    min-height: 245px;
  }

  .card-footer {
    min-height: 112px;
  }

  .card-action {
    width: 100%;
    align-self: flex-start;
  }

  .card-credential {
    top: 54px;
    bottom: auto;
  }
}

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