/* ==========================================================
   Agapy Home Care — Home page
   ========================================================== */

:root {
  --teal: #36a592;
  --teal-600: #2b8a7a;
  --teal-700: #1f6e62;
  --teal-50: #eaf6f3;
  --teal-100: #d4eee8;
  --ink: #0b2a2a;
  --ink-2: #123838;
  --text: #2e4241;
  --muted: #5f7372;
  --cream: #faf7f2;
  --line: #e5ece9;
  --white: #fff;
  --accent: #f2b880;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.hp {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

.hp h1,
.hp h2,
.hp h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

.hp h1,
.hp h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.02em;
}

.hp h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
}

.hp h2 em,
.hp h1 em {
  font-style: italic;
  color: var(--teal);
}

.hp h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.hp p {
  margin: 0 0 1em;
}

.hp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hp-section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.hp-section__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.hp-section__head p {
  color: var(--muted);
  margin-top: 16px;
}

/* ---------- Eyebrow ---------- */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 18px;
}

.hp-eyebrow--light {
  color: #bfeee4;
}

.hp-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}


/* ---------- Buttons ---------- */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}

.hp-btn i {
  font-size: .85em;
  transition: transform .25s var(--ease);
}

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

.hp-btn:hover .fa-arrow-right {
  transform: translateX(3px);
}

.hp-btn--sm {
  padding: 10px 20px;
  font-size: .9rem;
}

.hp-btn--primary {
  background: var(--teal);
  color: #fff !important;
}

.hp-btn--primary:hover {
  background: var(--teal-600);
}

.hp-btn--glass {
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
  border-color: rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hp-btn--glass:hover {
  background: rgba(255, 255, 255, .22);
}

.hp-btn--dark {
  background: var(--ink);
  color: #fff !important;
}

.hp-btn--dark:hover {
  background: var(--ink-2);
}

.hp-btn--white {
  background: #fff;
  color: var(--ink) !important;
}

.hp-btn--white:hover {
}

.hp-btn--outline-light {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .6);
}

.hp-btn--outline-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
}

.hp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}

.hp-link:hover {
  color: var(--teal-600);
}

.hp-link--light {
  color: #fff;
}

.hp-link--light:hover {
  color: #bfeee4;
}

/* ---------- Icon tile ---------- */
.hp-icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: 1.25rem;
  transition: background .3s, color .3s, transform .3s var(--ease);
}

/* ==========================================================
   Header
   ========================================================== */
.hp-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .3s, padding .3s;
}

.hp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hp-nav__logo {
  position: relative;
  display: block;
  width: 92px;
  flex: none;
  transition: width .3s;
}

.hp-nav__logo img {
  width: 100%;
  height: auto;
  transition: opacity .3s;
}

.hp-nav__logo .logo-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hp-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hp-nav__links a {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  transition: background .2s, color .2s;
}

.hp-nav__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.hp-nav__links a.is-active {
  background: #fff;
  color: var(--ink);
}

.hp-nav__mobile-call {
  display: none !important;
}

.hp-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
}

.hp-nav__toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease), background .3s;
}

.hp-nav__toggle span:nth-child(1) { top: 16px; }
.hp-nav__toggle span:nth-child(2) { top: 22px; }
.hp-nav__toggle span:nth-child(3) { top: 28px; }

/* Scrolled */
.hp-nav.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.hp-nav.is-scrolled .hp-nav__logo {
  width: 72px;
}

.hp-nav.is-scrolled .logo-light { opacity: 0; }
.hp-nav.is-scrolled .logo-dark { opacity: 1; }

.hp-nav.is-scrolled .hp-nav__links {
  background: transparent;
  border-color: transparent;
}

.hp-nav.is-scrolled .hp-nav__links a {
  color: var(--text);
}

.hp-nav.is-scrolled .hp-nav__links a:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

.hp-nav.is-scrolled .hp-nav__links a.is-active {
  background: var(--teal-50);
  color: var(--teal-700);
}

.hp-nav.is-scrolled .hp-nav__toggle {
  border-color: var(--line);
  background: #fff;
}

.hp-nav.is-scrolled .hp-nav__toggle span {
  background: var(--ink);
}

/* ==========================================================
   Hero
   ========================================================== */
.hp-hero {
  position: relative;
  min-height: min(100vh, 960px);
  min-height: min(100svh, 960px);
  display: flex;
  align-items: center;
  padding: 140px 0 160px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hp-hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hp-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  animation: heroFade 21s infinite;
}

.hp-hero__slide:nth-child(2) { animation-delay: 7s; }
.hp-hero__slide:nth-child(3) { animation-delay: 14s; }

@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.08); }
  5% { opacity: 1; }
  33% { opacity: 1; }
  40% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}

.hp-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 32, 32, .75);
}

.hp-hero__content {
  position: relative;
}

.hp-hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.4rem);
  line-height: 1.02;
  max-width: 13ch;
  margin-bottom: 26px;
}

.hp-hero h1 em {
  color: #8fe0cf;
}

.hp-hero__lead {
  max-width: 540px;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem);
  color: rgba(255, 255, 255, .82);
  margin-bottom: 36px !important;
}

.hp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hp-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .85);
}

.hp-hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hp-hero__trust i {
  color: #8fe0cf;
}

/* ==========================================================
   Highlights
   ========================================================== */
.hp-highlights {
  position: relative;
  z-index: 2;
  margin-top: -88px;
}

.hp-highlights__card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -12px rgba(15, 40, 60, 0.18), 0 4px 12px rgba(15, 40, 60, 0.06);
}

.hp-highlight {
  display: flex;
  gap: 18px;
  padding: 34px 32px;
}

.hp-highlight + .hp-highlight {
  border-left: 1px solid var(--line);
}

.hp-highlight h3 {
  margin-bottom: 6px;
}

.hp-highlight p {
  margin: 0;
  font-size: .94rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================
   About
   ========================================================== */
.hp-about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hp-about__media {
  position: relative;
  padding: 0 0 70px 0;
}

.hp-about__img {
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.hp-about__img--main {
  width: 84%;
  aspect-ratio: 4 / 4.6;
}

.hp-about__img--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  border: 8px solid #fff;
  border-radius: 26px;
}

.hp-about__badge {
  position: absolute;
  top: 36px;
  right: 2%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  background: #fff;
  border-radius: 18px;
  animation: float 6s ease-in-out infinite;
}

.hp-about__badge > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
}

.hp-about__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
}

.hp-about__badge span {
  font-size: .82rem;
  color: var(--muted);
}

@keyframes float {
  50% { transform: translateY(-8px); }
}

.hp-about__copy h2 {
  margin-bottom: 24px;
}

.hp-about__copy > p {
  color: var(--muted);
}

.hp-checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.hp-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  font-size: .96rem;
}

.hp-checks i {
  color: var(--teal);
}

.hp-about__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}

/* ==========================================================
   Services
   ========================================================== */
.hp-services {
  background: var(--cream);
  position: relative;
}

.hp-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}

.hp-card .hp-icon {
  margin-bottom: 22px;
}

.hp-card h3 {
  margin-bottom: 10px;
}

.hp-card p {
  font-size: .93rem;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
  margin-bottom: 22px;
}

.hp-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--teal-600);
}

.hp-card__more i {
  font-size: .8em;
  transition: transform .3s var(--ease);
}

.hp-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}

.hp-card:hover .hp-icon {
  background: var(--teal);
  color: #fff;
  transform: rotate(-6deg);
}

.hp-card:hover .hp-card__more i {
  transform: translateX(4px);
}

.hp-card--feature {
  background: var(--teal);
  border-color: transparent;
}

.hp-card--feature h3,
.hp-card--feature .hp-card__more {
  color: #fff;
}

.hp-card--feature p {
  color: rgba(255, 255, 255, .8);
}

.hp-card--feature .hp-icon,
.hp-card--feature:hover .hp-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

/* ==========================================================
   Video
   ========================================================== */
.hp-video {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  overflow: hidden;
}

.hp-video h2 {
  color: #fff;
  margin-bottom: 22px;
}

.hp-video h2 em {
  color: #8fe0cf;
}

.hp-video__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hp-video__copy p {
  margin-bottom: 28px;
}

.hp-video__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #000;
}

.hp-video__frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.hp-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  margin: -43px 0 0 -43px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--teal-600);
  font-size: 1.6rem;
  padding-left: 6px;
  cursor: pointer;
  transition: transform .3s var(--ease), opacity .3s;
}

.hp-video__play:hover {
  transform: scale(1.08);
}

.hp-video__play.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================
   Steps
   ========================================================== */
.hp-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: none;
}

.hp-steps__list li {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--teal-50);
  border: 1px solid var(--line);
}

.hp-steps__num {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 20px;
  font-weight: 400;
}

.hp-steps__list h3 {
  margin-bottom: 10px;
}

.hp-steps__list p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ==========================================================
   Hiring
   ========================================================== */
.hp-hiring {
  padding-top: 0;
}

.hp-hiring__card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: 28px;
  overflow: hidden;
  background: var(--teal-700);
  color: rgba(255, 255, 255, .82);
}

.hp-hiring__img {
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.hp-hiring__copy {
  padding: clamp(36px, 5vw, 64px);
}

.hp-hiring__copy h2 {
  color: #fff;
  margin-bottom: 20px;
}

.hp-hiring__copy h2 em {
  color: #8fe0cf;
}

.hp-perks {
  list-style: none;
  padding: 0;
  margin: 24px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hp-perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem;
  color: #fff;
}

.hp-perks i {
  color: #8fe0cf;
}

.hp-hiring__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

/* ==========================================================
   CTA band
   ========================================================== */
.hp-cta {
  background: var(--teal);
  color: rgba(255, 255, 255, .88);
  padding: 72px 0;
}

.hp-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hp-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  margin-bottom: 10px;
}

.hp-cta h2 em {
  color: var(--ink);
}

.hp-cta p {
  margin: 0;
}

.hp-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

/* ==========================================================
   Footer (shared footer.php, restyled for this page)
   ========================================================== */
.hp #footer {
  background: #071d1d;
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
  padding: 80px 24px 40px;
}

.hp #footer_top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr .9fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hp #footer_img img {
  width: 110px;
  margin-bottom: 8px;
}

.hp #footer_inner_tit {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.hp #footer_inner_body {
  line-height: 1.7;
}

.hp #footer_social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
}

.hp #footer_social > div {
  width: 100%;
  margin-bottom: 8px;
}

.hp #social_connect_icons {
  width: 40px;
  height: 40px;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  transition: background .2s, border-color .2s;
}

.hp #social_connect_icons:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* icomoon social glyphs */
@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.woff') format('woff'), url('fonts/icomoon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.hp [data-icon]:before {
  font-family: 'icomoon';
  content: attr(data-icon);
  speak: none;
  -webkit-font-smoothing: antialiased;
}

.hp #readmore {
  color: #8fe0cf;
  margin-left: 4px;
}

.hp #footer_link {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, .7);
  transition: color .2s, transform .2s;
}

.hp #footer_link:hover {
  color: #fff;
  transform: translateX(3px);
}

.hp #newsletter_form form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

.hp #newsletter_form form > div:not([id]) {
  width: 100%;
  padding: 6px 14px 0 !important;
  font-size: .85rem;
}

.hp #n_form_1 {
  flex: 1;
  min-width: 0;
}

.hp #n_field1 {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  outline: none;
}

.hp #n_field1::placeholder {
  color: rgba(255, 255, 255, .45);
}

.hp #n_field2 {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font: 600 .9rem var(--sans);
  cursor: pointer;
  transition: background .2s;
  -webkit-appearance: none;
  appearance: none;
}

.hp #n_field2:hover {
  background: var(--teal-600);
}

.hp #newsletter_info {
  margin-top: 14px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .5);
}

.hp .ABCD {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hp .generalImg {
  height: 92px;
  border-radius: var(--radius-sm);
  background-color: #fff;
  background-size: auto 62%;
  background-position: center;
  background-repeat: no-repeat;
}

/* B.png is a white logo — needs a dark tile */
.hp .generalImg:nth-child(2) {
  background-color: var(--teal-700);
}

/* ==========================================================
   Reveal animation
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hp-hero .reveal:nth-child(2) { transition-delay: .08s; }
.hp-hero .reveal:nth-child(3) { transition-delay: .16s; }
.hp-hero .reveal:nth-child(4) { transition-delay: .24s; }
.hp-hero .reveal:nth-child(5) { transition-delay: .32s; }

.hp-services__grid .reveal:nth-child(4n+2),
.hp-steps__list .reveal:nth-child(2) { transition-delay: .08s; }
.hp-services__grid .reveal:nth-child(4n+3),
.hp-steps__list .reveal:nth-child(3) { transition-delay: .16s; }
.hp-services__grid .reveal:nth-child(4n+4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hp-hero__slide:first-child {
    opacity: 1;
  }
}

/* ==========================================================
   Focus
   ========================================================== */
.hp a:focus-visible,
.hp button:focus-visible,
.hp input:focus-visible {
  outline: 3px solid #8fe0cf;
  outline-offset: 3px;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .hp-nav__call span {
    display: none;
  }

  .hp-nav__call {
    width: 46px;
    height: 46px;
    padding: 0;
  }

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

  .hp #footer_top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .hp-nav__toggle {
    display: block;
  }

  .hp-nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 100px 28px 40px;
    border-radius: 0;
    border: 0;
    background: rgba(7, 29, 29, .97) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }

  .hp-nav__links a,
  .hp-nav.is-scrolled .hp-nav__links a {
    font-family: var(--serif);
    font-size: 1.9rem;
    padding: 10px 16px;
    color: #fff;
    background: transparent;
    transform: translateY(12px);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .4s, background .2s;
  }

  .hp-nav__links a.is-active,
  .hp-nav.is-scrolled .hp-nav__links a.is-active {
    background: transparent;
    color: #8fe0cf;
  }

  .hp-nav__mobile-call {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-family: var(--sans) !important;
    font-size: 1.05rem !important;
    color: #8fe0cf !important;
  }

  .hp-nav.is-open .hp-nav__links {
    opacity: 1;
    visibility: visible;
  }

  .hp-nav.is-open .hp-nav__links a {
    transform: none;
    opacity: 1;
  }

  .hp-nav.is-open .hp-nav__links a:nth-child(2) { transition-delay: .04s; }
  .hp-nav.is-open .hp-nav__links a:nth-child(3) { transition-delay: .08s; }
  .hp-nav.is-open .hp-nav__links a:nth-child(4) { transition-delay: .12s; }
  .hp-nav.is-open .hp-nav__links a:nth-child(5) { transition-delay: .16s; }
  .hp-nav.is-open .hp-nav__links a:nth-child(6) { transition-delay: .2s; }
  .hp-nav.is-open .hp-nav__links a:nth-child(7) { transition-delay: .24s; }

  .hp-nav.is-open {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hp-nav.is-open .logo-light { opacity: 1; }
  .hp-nav.is-open .logo-dark { opacity: 0; }

  .hp-nav.is-open .hp-nav__toggle {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
  }

  .hp-nav.is-open .hp-nav__toggle span {
    background: #fff;
  }

  .hp-nav.is-open .hp-nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .hp-nav.is-open .hp-nav__toggle span:nth-child(2) { opacity: 0; }
  .hp-nav.is-open .hp-nav__toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

  .hp-highlights__card {
    grid-template-columns: 1fr;
  }

  .hp-highlight + .hp-highlight {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hp-highlight {
    padding: 24px 26px;
  }

  .hp-about__grid,
  .hp-video__grid,
  .hp-hiring__card {
    grid-template-columns: 1fr;
  }

  .hp-about__media {
    max-width: 560px;
  }

  .hp-hiring__img {
    min-height: 280px;
  }

  .hp-steps__list {
    grid-template-columns: 1fr;
  }

  .hp-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  body.hp {
    font-size: 16px;
  }

  .hp-container {
    padding: 0 18px;
  }

  .hp-nav__logo {
    width: 76px;
  }

  .hp-hero {
    padding: 120px 0 130px;
    align-items: flex-end;
  }

  .hp-hero__shade {
    background: rgba(8, 32, 32, .8);
  }

  .hp-hero__ctas .hp-btn {
    flex: 1 1 100%;
  }

  .hp-highlights {
    margin-top: -64px;
  }

  .hp-services__grid {
    grid-template-columns: 1fr;
  }

  .hp-checks {
    grid-template-columns: 1fr;
  }

  .hp-about__badge {
    top: 16px;
    right: 0;
  }

  .hp-section__head {
    margin-bottom: 40px;
  }

  .hp-video__play {
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    font-size: 1.3rem;
  }

  .hp-cta__btns,
  .hp-cta__btns .hp-btn {
    width: 100%;
  }

  .hp #footer {
    padding: 64px 18px 32px;
  }

  .hp #footer_top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hp .ABCD {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================
   Inner pages
   ========================================================== */

/* ---------- Page hero ---------- */
.hp-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 190px 0 120px;
  color: #fff;
  background-color: var(--ink);
  background-size: cover;
  background-position: center 35%;
}

.hp-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 32, 32, .75);
}

.hp-page-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);
  line-height: 1.04;
  max-width: 16ch;
  margin-bottom: 20px;
}

.hp-page-hero h1 em {
  color: #8fe0cf;
}

.hp-page-hero p {
  max-width: 560px;
  font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem);
  color: rgba(255, 255, 255, .82);
  margin: 0;
}

.hp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
}

.hp-crumbs a {
  color: rgba(255, 255, 255, .85);
  transition: color .2s;
}

.hp-crumbs a:hover {
  color: #8fe0cf;
}

.hp-crumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, .35);
}

/* ---------- Split (text + image) ---------- */
.hp-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hp-split--reverse {
  grid-template-columns: .9fr 1.1fr;
}

.hp-split h2 {
  margin-bottom: 24px;
}

.hp-split__copy > p {
  color: var(--muted);
}

.hp-split__img {
  position: relative;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 4.4;
}

.hp-split__img .hp-about__badge {
  top: auto;
  right: auto;
  left: -24px;
  bottom: 32px;
}

.hp-lead {
  font-size: 1.12rem;
  color: var(--text) !important;
}

/* ---------- Mission ---------- */
.hp-mission {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
}

.hp-mission__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hp-mission__icon {
  font-size: 2.2rem;
  color: #8fe0cf;
  margin-bottom: 24px;
}

.hp-mission blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2rem);
  line-height: 1.45;
  color: #fff;
  letter-spacing: -.01em;
}

.hp-mission blockquote em {
  color: #8fe0cf;
}

.hp-mission cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Values ---------- */
.hp-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hp-value {
  position: relative;
  display: flex;
  gap: 22px;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease);
}

.hp-value:hover {
  transform: translateY(-4px);
}

.hp-value h3 {
  margin-bottom: 8px;
}

.hp-value p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ---------- Services page ---------- */
.hp-services__grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-services__grid--3 .hp-card {
  padding: 36px 32px 32px;
}

.hp-services__grid--3 .hp-card h3 {
  font-size: 1.3rem;
}

.hp-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 48px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed var(--teal-100);
}

.hp-note p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--ink);
}

.hp-note p .hp-icon {
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
}

/* ---------- FAQ ---------- */
.hp-faq {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.hp-faq__list {
  display: grid;
  gap: 16px;
}

.hp-faq__item {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .3s;
}

.hp-faq__item[open] {
  border-color: transparent;
}

.hp-faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}

.hp-faq__item summary::-webkit-details-marker {
  display: none;
}

.hp-faq__toggle {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  font-size: .85rem;
  transition: transform .3s var(--ease), background .3s, color .3s;
}

.hp-faq__item[open] .hp-faq__toggle {
  transform: rotate(45deg);
  background: var(--teal);
  color: #fff;
}

.hp-faq__body {
  padding: 0 30px 28px;
  color: var(--muted);
}

.hp-faq__body p:last-child {
  margin-bottom: 0;
}

.hp-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hp-tags li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}

.hp-tags i {
  color: var(--teal);
  width: 18px;
  text-align: center;
}

/* Side card (FAQ / contact) */
.hp-side-card {
  position: sticky;
  top: 110px;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--teal-700);
  color: rgba(255, 255, 255, .8);
}

.hp-side-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 12px;
}

.hp-side-card .hp-btn {
  width: 100%;
  margin-top: 10px;
}

/* ---------- Resources ---------- */
.hp-resources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hp-resource {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}

.hp-resource .hp-icon {
  margin-bottom: 24px;
}

.hp-resource h3 {
  margin-bottom: 8px;
  flex: 1;
}

.hp-resource__url {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 600;
  color: var(--teal-600);
  word-break: break-all;
}

.hp-resource__url i {
  flex: none;
  font-size: .8rem;
  transition: transform .3s var(--ease);
}

.hp-resource:hover {
  transform: translateY(-6px);
  border-color: transparent;
}

.hp-resource:hover .hp-icon {
  background: var(--teal);
  color: #fff;
}

.hp-resource:hover .hp-resource__url i {
  transform: translate(3px, -3px);
}

.hp-disclaimer {
  margin-top: 40px !important;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.hp-contact {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.hp-form-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.hp-form-card h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
  margin-bottom: 8px;
}

.hp-form-card > p {
  color: var(--muted);
  margin-bottom: 28px;
}

.hp-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.hp-field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

.hp-field input,
.hp-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: #fbfcfc;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  transition: border-color .2s, background .2s;
}

.hp-field textarea {
  min-height: 160px;
  resize: vertical;
}

.hp-field input::placeholder,
.hp-field textarea::placeholder {
  color: #9aabaa;
}

.hp-field input:focus,
.hp-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal);
}

.hp-form__submit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hp-form__submit .hp-btn {
  border: 0;
  font-family: inherit;
}

.hp-form__msg {
  grid-column: 1 / -1;
}

.hp-form__msg:empty {
  display: none;
}

.hp-form__msg > div {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  background: #fdecec;
}

.hp-form__msg > div[style*="green"] {
  background: var(--teal-50);
}

.hp-contact__info {
  display: grid;
  gap: 16px;
}

.hp-info {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--cream);
}

.hp-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.hp-info p,
.hp-info a {
  margin: 0;
  display: block;
  color: var(--muted);
  font-size: .95rem;
}

.hp-info a:hover {
  color: var(--teal-600);
}

.hp-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--teal-50);
}

.hp-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Service detail ---------- */
.hp-includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.hp-include {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}

.hp-include__label {
  flex: 1;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.hp-include__go {
  color: var(--teal-600);
  font-size: .85rem;
  transition: transform .3s var(--ease);
}

.hp-include:hover {
  transform: translateY(-4px);
  border-color: transparent;
}

.hp-include--link:hover .hp-icon {
  background: var(--teal);
  color: #fff;
}

.hp-include--link:hover .hp-include__go {
  transform: translateX(4px);
}

.hp-related {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hp-related__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--teal-50);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  transition: transform .35s var(--ease);
}

.hp-related__item > .fa-arrow-right {
  margin-top: auto;
  color: var(--teal-600);
  font-size: .85rem;
  transition: transform .3s var(--ease);
}

.hp-related__item:hover {
  transform: translateY(-4px);
}

.hp-related__item:hover .hp-icon {
  background: var(--teal);
  color: #fff;
}

.hp-related__item:hover > .fa-arrow-right {
  transform: translateX(4px);
}

/* ---------- Legal / prose ---------- */
.hp-legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.hp-toc {
  position: sticky;
  top: 110px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--cream);
}

.hp-toc__title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.hp-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.hp-toc li {
  counter-increment: toc;
}

.hp-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: .88rem;
  line-height: 1.4;
  color: var(--text);
  transition: background .2s, color .2s;
}

.hp-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  padding-top: 2px;
}

.hp-toc a:hover {
  background: #fff;
  color: var(--teal-700);
}

.hp-prose {
  max-width: 760px;
  color: var(--text);
}

.hp-prose > p:first-child {
  font-size: 1.12rem;
}

.hp-prose h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  margin: 56px 0 18px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.hp-prose h3 {
  font-size: 1.12rem;
  margin: 32px 0 10px;
}

.hp-prose p {
  color: var(--muted);
}

.hp-prose a {
  color: var(--teal-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--teal-100);
  text-underline-offset: 3px;
}

.hp-prose a:hover {
  text-decoration-color: var(--teal);
}

.hp-prose ul {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
  display: grid;
  gap: 10px;
}

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

.hp-prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-50);
}

.hp-prose li strong {
  color: var(--ink);
}

.hp-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--teal-700) !important;
  font-weight: 600;
}

.hp-callout i {
  font-size: 1.1rem;
}

.hp-legal-contact {
  margin-top: 24px;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--teal-700), var(--ink));
  color: rgba(255, 255, 255, .8);
}

.hp-legal-contact h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: #fff;
}

.hp-legal-contact dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin: 0;
}

.hp-legal-contact dt {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fe0cf;
  padding-top: 3px;
}

.hp-legal-contact dd {
  margin: 0;
}

.hp-legal-contact a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .3);
}

/* ---------- Apply form ---------- */
.hp-honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.hp-field select {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: #fbfcfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b8a7a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}

.hp-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(54, 165, 146, .15);
}

fieldset.hp-field {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.hp-field legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

.hp-field__hint {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

.hp-form__section {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hp-form__section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.hp-form__section span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}

.hp-form__section h3 {
  font-size: 1.05rem;
}

.hp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-chip {
  position: relative;
  cursor: pointer;
}

.hp-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hp-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fbfcfc;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}

.hp-chip span::before {
  content: "\f00c";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: .7rem;
  width: 0;
  overflow: hidden;
  transition: width .2s;
}

.hp-chip:hover span {
  border-color: var(--teal-100);
}

.hp-chip input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.hp-chip input:checked + span::before {
  width: 12px;
}

.hp-chip input:focus-visible + span {
  outline: 3px solid #8fe0cf;
  outline-offset: 2px;
}

.hp-apply-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.hp-apply-side__img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3.4;
  background-size: cover;
  background-position: center 30%;
  box-shadow: var(--shadow);
}

.hp-apply-side .hp-side-card {
  position: static;
}

.hp-apply-side .hp-perks {
  flex-direction: column;
  align-items: flex-start;
  margin: 18px 0 0;
}

/* ---------- Inner page responsive ---------- */
@media (max-width: 1100px) {
  .hp-services__grid--3,
  .hp-resources {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-related {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .hp-related {
    grid-template-columns: 1fr 1fr;
  }

  .hp-related__item {
    padding: 20px 18px;
    font-size: .95rem;
  }
}

@media (max-width: 960px) {
  .hp-page-hero {
    padding: 150px 0 90px;
  }

  .hp-split,
  .hp-split--reverse,
  .hp-faq,
  .hp-contact {
    grid-template-columns: 1fr;
  }

  .hp-split__img {
    aspect-ratio: 16 / 11;
    order: -1;
  }

  .hp-split__img .hp-about__badge {
    left: 16px;
    bottom: 16px;
  }

  .hp-values {
    grid-template-columns: 1fr;
  }

  .hp-side-card {
    position: static;
  }

  .hp-legal {
    grid-template-columns: 1fr;
  }

  .hp-apply-side {
    position: static;
    order: -1;
  }

  .hp-apply-side__img {
    display: none;
  }

  .hp-toc {
    position: static;
  }

  .hp-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hp-toc ol {
    grid-template-columns: 1fr;
  }

  .hp-legal-contact {
    padding: 26px 22px;
  }

  .hp-legal-contact dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hp-legal-contact dd {
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  .hp-page-hero {
    padding: 130px 0 72px;
  }

  .hp-page-hero::before {
    background: rgba(8, 32, 32, .8);
  }

  .hp-services__grid--3,
  .hp-resources,
  .hp-form,
  .hp-tags {
    grid-template-columns: 1fr;
  }

  .hp-value {
    flex-direction: column;
    padding: 28px 24px;
  }

  .hp-faq__item summary {
    padding: 22px 22px;
    font-size: 1.02rem;
  }

  .hp-faq__body {
    padding: 0 22px 24px;
  }

  .hp-form__submit .hp-btn {
    width: 100%;
  }

  .hp .g-recaptcha {
    transform: scale(.92);
    transform-origin: 0 0;
  }
}
