/* VHHA Solutions stylesheet
*/
:root {
  --navy: #212c5c;
  --logo-navy: #00107c;
  --sky: #39c0fa;
  --charcoal: #222222;
  --pale: #f3f7fb;
  --white: #ffffff;
  --container: 1140px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --type-h1: 72px;
  --type-h2: 44px;
  --type-h3: 26px;
  --type-h4: 20px;
  --type-body-large: 18px;
  --type-body: 16px;
  --type-small: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--white); color: var(--charcoal); font-family: var(--font); font-size: var(--type-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1 { font-size: var(--type-h1); line-height: 1.08; font-weight: 700; letter-spacing: -.04em; }
h2 { font-size: var(--type-h2); line-height: 1.16; font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: var(--type-h3); line-height: 1.35; font-weight: 600; letter-spacing: -.018em; }
h4 { font-size: var(--type-h4); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.body-large { font-size: var(--type-body-large); }
.body-normal { font-size: var(--type-body); }
.body-small { font-size: var(--type-small); }

img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 1000; padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: relative; isolation: isolate; z-index: 50; background: var(--white); box-shadow: 0 1px 0 rgba(33,44,92,.07); }
.site-header__inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 160px; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px, 2.05vw, 29px); }
.primary-nav > a:not(.button) { position: relative; display: inline-block; font-size: var(--type-small); line-height: 1.3; font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--navy); transition: color .2s; }
.primary-nav > a:not(.button)::after { content: ""; position: absolute; bottom: -8px; left: 0; width: 100%; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav > a:not(.button):hover { color: var(--logo-navy); }
.primary-nav > a:not(.button):hover::after, .primary-nav > a:not(.button):focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; width: fit-content; min-height: 52px; padding: 13px 30px; border: 1.5px solid transparent; border-radius: 100px; text-align: center; line-height: 1.2; text-decoration: none; font-weight: 600; font-size: var(--type-small); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10,25,60,.14); }
.button__arrow { width: 19px; height: 19px; flex: 0 0 auto; }
.button--outline { background: transparent; color: var(--logo-navy); border-color: var(--logo-navy); }
.button--outline:hover { background: var(--logo-navy); color: #fff; }
.button--header { padding: 10px 20px; min-height: 43px; font-size: var(--type-small); font-weight: 600; white-space: nowrap; }
.button--white { color: var(--navy); background: var(--white); }
.button--white:hover { background: #f0f9ff; }
.button--sky { background: var(--sky); color: var(--navy); }
.button--sky:hover { background: #8addfd; }
.button--navy { background: var(--navy); color: var(--white); }
.button--navy:hover { background: var(--logo-navy); }

/* Hero */
.hero { position: relative; min-height: 560px; overflow: hidden; color: #fff; background: linear-gradient(103deg, #435f89 1%, #3884b6 52%, #c6e1f1 100%); }
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; padding-top: 88px; padding-bottom: 153px; min-height: 560px; }
.hero__copy { max-width: 820px; }
.hero h1 { margin: 0 0 23px; font-size: var(--type-h1); line-height: 1.08; font-weight: 700; letter-spacing: -.04em; }
.hero p { max-width: 730px; margin: 0 0 32px; font-size: var(--type-body-large); line-height: 1.6; font-weight: 400; text-wrap: balance; }
.hero__wave { position: absolute; width: 100%; height: 148px; left: 0; bottom: -1px; z-index: 3; }
.hero__scroll { position: absolute; z-index: 4; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: var(--navy); border-radius: 100%; transition: transform .2s; }
.hero__scroll:hover { transform: translate(-50%, 5px); }
.hero__scroll svg { width: 28px; height: 28px; }

/* Introduction */
.section { padding-block: 97px; }
.section--intro { padding-top: 112px; padding-bottom: 105px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(55px, 7.5vw, 120px); }
.split--intro { grid-template-columns: minmax(330px, .92fr) minmax(0, 1.08fr); }
.photo-wrap { width: 100%; position: relative; display: flex; align-items: center; justify-content: center; }
.round-photo { position: relative; z-index: 2; width: 360px; height: 360px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.photo-wrap::before { position: absolute; z-index: 1; content: ""; width: 386px; height: 386px; max-width: calc(100% + 22px); aspect-ratio: 1; border: 1px solid #d0e5f5; border-radius: 50%; }
.intro-copy p { margin: 0 0 17px; }
.intro-copy__lead { color: var(--navy); font-size: var(--type-body-large); line-height: 1.55; font-weight: 500; letter-spacing: -.018em; }
.intro-copy .intro-copy__prompt { margin-top: 20px; margin-bottom: 0; font-weight: 600; color: var(--navy); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 62px; }
.feature-card { min-height: 183px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px 22px 23px; background: #fff; border: 1px solid #e2edf6; border-top: 3px solid var(--sky); border-radius: 16px; box-shadow: 0 12px 31px rgba(33,44,92,.05); transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(33,44,92,.1); }
.feature-card__icon { color: #25a9e5; }
.feature-card__icon svg { width: 45px; height: 45px; }
.feature-card h4 { margin: 0; color: var(--navy); font-size: var(--type-h4); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }

/* Endorsed partners */
.section--partner { background: var(--pale); padding-block: 104px; }
.split--partner { grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 84px; }
.partner-copy h2, .corporate h2, .contact h2 { margin: 0; font-weight: 700; line-height: 1.16; letter-spacing: -.03em; }
.partner-copy h2 { max-width: 600px; color: var(--navy); font-size: var(--type-h2); }
.partner-copy h3 { margin: 24px 0 19px; color: #3b79aa; font-size: var(--type-h3); line-height: 1.35; font-weight: 600; letter-spacing: -.018em; }
.partner-copy p { margin: 0 0 18px; max-width: 650px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; line-height: 1.53; }
.check-list li:last-child { margin-bottom: 0; }
.check-list--navy li { font-weight: 400; color: #283354; }
.check-list--navy li::before { content: "•"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;  font-weight: 700; color: var(--logo-navy); }

/* Corporate banner */
.corporate { position: relative; isolation: isolate; color: #fff; background: #1a2853; }
.corporate::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: url("assets/vhha-corporate-meeting.webp"); background-repeat: no-repeat; background-size: cover; background-position: 50% 42%; }
.corporate::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(33,44,92,.70); }
.corporate__content { min-height: 400px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(48px, 7vw, 100px); align-items: center;  padding-block: 40px; }
.corporate h2 { max-width: 600px; color: #fff; font-size: var(--type-h2); }
.corporate h3 { margin: 23px 0 18px; font-size: var(--type-h3); font-weight: 600; line-height: 1.35; letter-spacing: -.018em; }
.corporate__story p { margin: 0; font-size: var(--type-body); line-height: 1.7; color: #f9fbff; }
.corporate__action { padding: 31px 33px; border: 1px solid rgba(255,255,255,.21); border-radius: 18px; background: rgba(13,23,52,.26); backdrop-filter: blur(4px); }
.check-list--light { margin-bottom: 26px; }
.check-list--light li { font-size: var(--type-body); color: #fff; padding-left: 30px; margin-bottom: 17px; font-weight: 400; }
.check-list--light li::before { content: "•"; position: absolute; top: 0; left: 1px; font-size: 20px; line-height: 1.25; color: #94e7ff; font-weight: 700; }

/* Contact & footer */
.contact { padding-block: 100px 105px; }
.contact__inner { display: flex; align-items: center; flex-direction: column; text-align: center; }
.contact h2 { font-size: var(--type-h2); color: var(--navy); }
.contact__email { display: inline-block; margin: 21px 0 30px; color: var(--logo-navy); font-weight: 600; font-size: 20px; text-decoration-thickness: 1px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.contact__email:hover { text-decoration: none; }
.site-footer { background: var(--navy); color: #fff; }
.site-footer__inner { min-height: 92px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px 24px; padding-block: 24px; font-size: var(--type-small); }
.site-footer__inner img{width: 160px;}
.site-footer__identity { font-weight: 600; font-size: var(--type-body); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Animated scroll arrow */
.hero__scroll {
  margin-bottom: 20px;
  animation: scrollBounce 2s ease-in-out infinite;
  will-change: transform;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 12px);
  }
}

.hero__scroll:hover {
  animation-play-state: paused;
  transform: translate(-50%, 5px);
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll {
    animation: none;
  }
}

@media (max-width: 1070px) {
  .site-header__inner { gap: 18px; }
  .primary-nav { gap: 15px; }
  .primary-nav > a:not(.button) { font-size: var(--type-small); }
  .button--header { padding-inline: 14px; }
  .split--partner { gap: 45px; }
}
@media (max-width: 920px) {
  .site-header__inner { min-height: 86px; }
  .brand img { width: 130px; }
  .menu-toggle { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex: 0 0 auto; width: 44px; height: 44px; padding: 10px; border: 1px solid #d5e2ed; border-radius: 12px; background: #fff; cursor: pointer; }
  .menu-toggle__bar { display: block; width: 21px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .22s ease, opacity .22s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 17px max(32px, calc((100vw - 1140px)/2)) 25px; background: #fff; box-shadow: 0 13px 25px rgba(20,32,73,.1); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.button) { padding: 14px 0; font-size: var(--type-small); border-bottom: 1px solid #edf1f6; }
  .primary-nav > a:not(.button)::after { display: none; }
  .primary-nav .button { margin-top: 20px; width: 100%; }
  .split--intro { gap: 45px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .round-photo { width: min(100%, 330px); height: auto; }
  .photo-wrap::before { width: min(calc(100% + 18px), 350px); height: auto; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--partner { grid-template-columns: minmax(0, 1.1fr) minmax(260px,.9fr); }
  .corporate__content { grid-template-columns: 1fr; gap: 32px; }
  .corporate__story { max-width: 750px; }
  .corporate__action { max-width: 720px; }
}
@media (max-width: 660px) {
  :root {
    --type-h1: 44px;
    --type-h2: 34px;
    --type-h3: 22px;
    --type-h4: 19px;
  }
  html { scroll-padding-top: 85px; }
  .container { width: min(calc(100% - 40px), var(--container)); }
  .brand img { width: 120px; }
  .primary-nav { padding-inline: 20px; }
  .hero { min-height: 550px; }
  .hero__inner { min-height: 550px; align-items: center; padding-top: 38px; padding-bottom: 125px; }
  .hero p { margin-bottom: 27px; }
  .hero__wave { height: 96px; }
  .hero__scroll { bottom: 7px; }
  .section { padding-block: 62px; }
  .section--intro { padding-top: 72px; }
  .split { grid-template-columns: 1fr; gap: 43px; }
  .photo-wrap { order: -1; }
  .photo-wrap::before { width: 280px; }
  .round-photo { width: 260px; }
  .feature-grid { margin-top: 38px; grid-template-columns: 1fr; gap: 14px; }
  .feature-card { min-height: 110px; flex-direction: row; justify-content: flex-start; align-items: center; padding: 19px 21px; }
  .feature-card__icon svg { width: 42px; height: 42px; }
  .split--partner { grid-template-columns: 1fr; gap: 42px; }
  .partner-copy h3 { margin-top: 18px; }
  .corporate__action { padding: 25px 22px; }
  .contact { padding-block: 72px; }
  .button { width: 100%; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 13px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .corporate__action { padding: 21px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Benefits Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
}

/* Benefit Card */
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  min-height: 215px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e0eaf3;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(33, 44, 92, 0.045);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Decorative accent */
.feature-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  width: 44px;
  height: 3px;
  background: var(--sky, #39c0fa);
  border-radius: 3px 3px 0 0;
}

/* Icon background */
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  color: #1788c2;
  background: #eaf7ff;
  border: 1px solid #d7efff;
  border-radius: 17px;
}

.feature-card__icon svg {
  width: 38px;
  height: 38px;
}

/* Card heading */
.feature-card h4 {
  margin: 0;
  color: var(--navy, #212c5c);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* Hover */
.feature-card:hover {
  transform: translateY(-5px);
  border-color: #b9daef;
  box-shadow: 0 16px 35px rgba(33, 44, 92, 0.09);
}

/* Tablet */
@media (max-width: 920px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    flex-direction: column;
    min-height: 190px;
  }
}

/* Mobile */
@media (max-width: 660px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
  }

  .feature-card {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    min-height: 110px;
    padding: 20px;
  }

  .feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .feature-card__icon svg {
    width: 32px;
    height: 32px;
  }

  .feature-card h4 {
    font-size: 19px;
  }

  .feature-card::before {
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 3px;
    height: auto;
    border-radius: 0 3px 3px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }

  .feature-card:hover {
    transform: none;
  }
}
