/*
Theme Name: HE Offer
Description: Lightweight WordPress theme for HE Offer study abroad consulting.
Author: HE Offer
Version: 1.0.0
Text Domain: heoffer
*/

:root {
  --ink: #172033;
  --muted: #667085;
  --line: #d9e1ea;
  --bg: #f5f8fb;
  --panel: #ffffff;
  --teal: #0f9f9a;
  --navy: #162b4d;
  --gold: #c58a2a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15,32,55,.2);
}
.skip-link:focus {
  transform: translateY(0);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(15,159,154,.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  flex: 0 0 auto;
}
.brand picture {
  display: inline-flex;
  flex: 0 0 auto;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}
.brand strong { color: var(--teal); }
.brand em {
  display: block;
  margin-left: 0;
  margin-top: 3px;
  color: var(--navy);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 18px; font-size: 15px; color: #344054; }
.nav > a,
.nav-item > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}
.nav a:hover { color: var(--teal); }
.nav > a.is-active,
.nav-item.is-active > a {
  color: var(--teal);
}
.nav > a.is-active::before,
.nav-item.is-active > a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.header-cta.is-active {
  box-shadow: 0 0 0 4px rgba(15,159,154,.16);
}
.nav-toggle-input,
.nav-toggle {
  display: none;
}
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}
.nav-item > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 190px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(15,32,55,.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.dropdown-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 2px 4px;
  min-width: 360px;
}
.dropdown-tall {
  min-width: 210px;
}
.dropdown-label {
  display: block;
  grid-column: 1 / -1;
  margin: 4px 4px 2px;
  padding: 7px 8px 5px;
  border-bottom: 1px solid rgba(217,225,234,.75);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}
.dropdown a:hover {
  background: var(--bg);
  color: var(--teal);
}
.dropdown .dropdown-cta {
  grid-column: 1 / -1;
  margin-top: 6px;
  border: 1px solid rgba(15,159,154,.28);
  background: #eaf8f6;
  color: var(--navy);
  text-align: center;
  font-weight: 900;
}
.dropdown .dropdown-cta:hover {
  border-color: rgba(15,159,154,.48);
  background: #dff5f1;
  color: var(--navy);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { min-width: 110px; }

.button,
.form > button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.form > button {
  width: 100%;
  min-height: 56px;
  padding: 0 26px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}
.button::after,
.header-cta::after,
.form > button::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 10px;
  background: image-set(
    url("/wp-content/themes/heoffer/assets/images/heoffer-button-mark.webp") type("image/webp"),
    url("/wp-content/themes/heoffer/assets/images/heoffer-button-mark.png") type("image/png")
  ) center/contain no-repeat;
  border-radius: 3px;
}
.button.secondary { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.button.secondary::after { filter: none; }

.hero {
  min-height: clamp(520px,68vh,680px);
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(320px,.75fr);
  gap: clamp(32px,5vw,76px);
  align-items: center;
  padding: clamp(38px,5.5vw,72px) clamp(20px,5vw,72px);
  background:
    linear-gradient(90deg, rgba(9,26,49,.95) 0%, rgba(13,40,67,.82) 43%, rgba(13,40,67,.34) 72%, rgba(13,40,67,.12) 100%),
    image-set(
      url("/wp-content/themes/heoffer/assets/images/heoffer-hero-banner.webp") type("image/webp"),
      url("/wp-content/themes/heoffer/assets/images/heoffer-hero-banner.jpg") type("image/jpeg")
    ) center right/cover;
  color: #fff;
}
.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px,3vw,44px);
  line-height: 1.12;
  white-space: nowrap;
}
.lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.8;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.proof { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 42px; max-width: 680px; }
.proof span { padding: 16px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.09); border-radius: 8px; color: rgba(255,255,255,.86); }
.proof strong { display: block; color: #fff; font-size: 28px; }
.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
  margin-top: 18px;
}
.hero-assurance span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 700;
}
.home-assurance {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  padding: 18px clamp(20px,5vw,72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.home-assurance div {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 20px;
  border: 1px solid rgba(15,159,154,.2);
  border-radius: 8px;
  background: #f3fbfa;
}
.home-assurance strong {
  color: var(--navy);
  font-size: 19px;
}
.home-assurance span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.hero-panel { display: grid; gap: 18px; }
.panel-card,
.panel-grid div,
.card-grid article,
.destinations div,
.trust div,
.steps li,
.form,
.post-card {
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.panel-card { padding: 30px; }
.panel-card p { margin: 0 0 10px; color: var(--teal); font-weight: 800; }
.panel-card h2 { margin: 0; color: var(--navy); font-size: 30px; line-height: 1.35; }
.panel-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.panel-grid div { padding: 20px; color: var(--navy); font-weight: 800; }
.panel-grid span { display: block; margin-bottom: 8px; color: var(--gold); }

.section { padding: clamp(64px,8vw,108px) clamp(20px,5vw,72px); background: #fff; }
.band { background: var(--bg); }
.section-head { max-width: 820px; margin-bottom: 36px; }
.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px,3vw,38px);
  line-height: 1.22;
}
.contact h2,
.subhero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px,3.6vw,44px);
  line-height: 1.18;
}
.section-head p,
.contact p,
.subhero p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(300px,.65fr);
  gap: 32px;
  align-items: stretch;
}
.feature-layout .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.section-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.section-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.destination-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,.62fr);
  gap: 34px;
  align-items: center;
}
.destination-layout .section-head { margin-bottom: 30px; }
.destination-layout .destinations { grid-template-columns: repeat(2,minmax(0,1fr)); }
.destination-layout .destinations div:first-child { grid-column: span 2; }
.card-grid article,
.post-card { padding: 28px; border: 1px solid var(--line); }
.card-grid h3,
.steps h3,
.post-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 20px; }
.card-grid p,
.steps p,
.post-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.resource-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15,159,154,.36);
  box-shadow: 0 24px 54px rgba(15,32,55,.12);
}
.resource-card a {
  display: grid;
  min-height: 100%;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.resource-card span {
  margin-top: 4px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}
.destinations,
.quick-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.library-home-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 980px;
  margin: -4px auto 20px;
  padding: 16px 18px;
  border: 1px solid rgba(15,159,154,.22);
  border-radius: 8px;
  background: #eaf8f6;
  color: var(--navy);
}
.library-home-summary strong {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 22px;
}
.library-home-summary span {
  color: var(--muted);
  line-height: 1.65;
}
.trust { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.destinations div,
.trust div,
.quick-links a { padding: 24px; border: 1px solid var(--line); }
.destinations strong,
.trust strong { display: block; margin-bottom: 10px; color: var(--navy); font-size: 19px; }
.destinations span,
.trust span { color: var(--muted); line-height: 1.7; }
.stage-routing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stage-routing article {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.stage-routing article:first-child {
  border-color: rgba(15,159,154,.32);
  background: #f3fbfa;
}
.stage-routing article > span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff4df;
  color: #8a5700;
  font-size: 13px;
  font-weight: 900;
}
.stage-routing h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}
.stage-routing p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.stage-routing ul {
  display: grid;
  gap: 9px;
  margin: 2px 0 6px;
  padding: 0;
  list-style: none;
}
.stage-routing li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}
.stage-routing li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.stage-routing .button {
  align-self: end;
  margin-top: 4px;
  width: 100%;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pain-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.pain-grid article:nth-child(2),
.pain-grid article:nth-child(5) {
  border-color: rgba(197,138,42,.28);
  background: #fffaf0;
}
.pain-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf8f6;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}
.pain-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}
.pain-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.quick-links a {
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.quick-links a:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.steps li { padding: 26px; border: 1px solid var(--line); }
.steps span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; }
.prep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.prep-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.prep-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 21px;
}
.prep-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.response-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.response-flow div {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(15,159,154,.22);
  border-radius: 8px;
  background: #f3fbfa;
}
.response-flow strong {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}
.response-flow span {
  color: var(--navy);
  font-size: 21px;
  font-weight: 900;
}
.response-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.compare-grid > div {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.compare-grid h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 24px;
}
.compare-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}
.team-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.team-avatar {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eaf8f6;
  color: var(--teal);
  font-size: 22px;
  font-weight: 900;
}
.team-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.3;
}
.team-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.testimonial-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15,32,55,.07);
}
.testimonial-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-content: center;
  border-radius: 8px;
  background: #eaf8f6;
  color: var(--teal);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.testimonial-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.78;
}
.testimonial-card strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}
.testimonial-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}
.testimonial-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(15,159,154,.22);
  border-radius: 8px;
  background: #f3fbfa;
}
.testimonial-summary strong {
  color: var(--navy);
}
.testimonial-summary span {
  color: var(--muted);
  line-height: 1.6;
}
.team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.team-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff4df;
  color: #8a5700;
  font-size: 13px;
  font-weight: 800;
}
.team-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(15,159,154,.24);
  border-radius: 8px;
  background: #f3fbfa;
  color: var(--muted);
  line-height: 1.75;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(320px,.7fr);
  gap: 44px;
  align-items: start;
  padding: clamp(64px,8vw,108px) clamp(20px,5vw,72px);
  background: var(--navy);
  color: #fff;
}
.contact h1,
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.78); }
.home-final-cta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(46px,6vw,72px) clamp(20px,5vw,72px);
  background: var(--navy);
  color: #fff;
}
.home-final-cta h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(26px,3vw,38px);
  line-height: 1.2;
}
.home-final-cta p:not(.kicker) {
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.8;
}
.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  min-width: 320px;
}
.home-final-actions .button.secondary {
  border-color: rgba(255,255,255,.28);
}
.form {
  display: grid;
  gap: 16px;
  padding: clamp(22px,3vw,32px);
  border: 1px solid rgba(15,32,55,.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15,32,55,.12);
}
.form label { display: grid; gap: 8px; color: var(--navy); font-weight: 700; }
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
}
.required-mark {
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff4df;
  color: #9a5f00;
  font-size: 12px;
  font-weight: 800;
}
.form-assurance {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(15,159,154,.25);
  border-radius: 8px;
  background: #eaf8f6;
  color: var(--navy);
}
.form-assurance strong {
  font-size: 17px;
}
.form-assurance span,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}
.official-contact-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(15,159,154,.22);
  border-radius: 8px;
  background: #f3fbf8;
}
.official-contact-mini strong {
  color: var(--navy);
}
.official-contact-mini span {
  color: #285f5b;
  font-size: .95rem;
  line-height: 1.45;
}
.form-context {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--navy);
}
.form-context strong {
  font-size: 16px;
}
.form-context span {
  color: var(--muted);
  line-height: 1.65;
}
.form-response-note {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid rgba(197,138,42,.28);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--navy);
}
.form-response-note strong {
  font-size: 16px;
}
.form-response-note span {
  color: var(--muted);
  line-height: 1.65;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 15px;
  color: var(--ink);
  background: #fff;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.5;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.form select {
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 15px) 22px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}
.form select option {
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.6;
}
.form select.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-button {
  display: block;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 42px 13px 15px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.custom-select-button::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-65%) rotate(45deg);
}
.custom-select.has-value .custom-select-button {
  border-color: rgba(15,159,154,.55);
  background: #eaf8f6;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(15,159,154,.08);
}
.custom-select.has-value .custom-select-button::after {
  border-color: var(--teal);
}
.custom-select-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,32,55,.16);
  padding: 6px;
}
.custom-select.is-open .custom-select-menu { display: grid; gap: 2px; }
.custom-select-option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
  padding: 10px 14px;
  cursor: pointer;
}
.custom-select-option:hover,
.custom-select-option:focus,
.custom-select-option.is-selected {
  outline: none;
  background: rgba(15,159,154,.1);
  color: var(--navy);
}
.custom-select-option.is-selected {
  background: var(--teal);
  color: #fff;
}
.form input:focus,
.form select:focus,
.form textarea:focus,
.custom-select-button:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15,159,154,.13);
}
.form textarea { resize: vertical; }
.form input[readonly] {
  border-color: rgba(15,159,154,.35);
  background: #eaf8f6;
  color: var(--navy);
  font-weight: 800;
}
.form-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.form-checklist span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bg);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  padding: 0 10px;
}
.form-checklist span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}
.form-boundary {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid #f0d7a8;
  border-radius: 8px;
  background: #fffaf0;
}
.form-boundary strong {
  color: var(--navy);
  font-size: 16px;
}
.form-boundary span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.form-note {
  margin: -4px 0 0;
  font-size: 13px;
}
.hp-field { display: none !important; }

.subhero {
  padding: clamp(42px,5vw,72px) clamp(20px,5vw,72px);
  background: linear-gradient(110deg, var(--navy), #0f6869);
  color: #fff;
}
.subhero h1 { color: #fff; }
.subhero p:not(.kicker) { max-width: 760px; color: rgba(255,255,255,.84); }
.archive-description {
  max-width: 760px;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.75;
}
.archive-description p {
  margin: 14px 0 0;
  color: inherit;
}
.content { max-width: 980px; margin: 0 auto; line-height: 1.85; color: var(--ink); }
.content h2, .content h3 { color: var(--navy); }
.single-cta {
  margin-top: 42px;
  padding: 30px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.single-cta h2 {
  margin-top: 0;
}
.consult-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.consult-prompts span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf8f6;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}
.post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.post-card .meta { color: var(--gold); font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.post-card-tax {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.post-card-tax span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eaf8f6;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
}
.post-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.post-card-link:hover {
  color: var(--navy);
}
.empty { color: var(--muted); }
.case-empty {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(15,159,154,.22);
  border-radius: 8px;
  background: #f3fbfa;
}
.case-empty strong {
  color: var(--navy);
  font-size: 20px;
}
.case-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.case-empty .actions {
  margin-top: 6px;
}
.resource-section-grid {
  display: grid;
  gap: 34px;
}
.resource-section {
  display: grid;
  gap: 18px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.resource-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.resource-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}
.resource-section-head h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 26px;
}
.resource-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.resource-section-head a {
  color: var(--teal);
  font-weight: 800;
  white-space: nowrap;
}
.compact-post-grid .post-card {
  padding: 22px;
}
.compact-post-grid .post-card h3 {
  font-size: 20px;
}
.university-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.university-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.university-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 22px;
}
.university-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}
.university-badges span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf8f6;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.university-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}
.university-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.university-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(15,159,154,.28);
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}
.university-actions a:last-child {
  background: #eaf8f6;
  color: var(--navy);
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.pagination a,
.pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.pagination a:hover,
.pagination .is-current {
  border-color: var(--teal);
  background: #eaf8f6;
  color: var(--navy);
}
.pagination-gap {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--muted) !important;
}
.university-meta {
  display: grid;
  gap: 8px;
}
.university-meta span,
.uni-detail-grid div {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
}
.university-meta strong,
.uni-detail-grid strong {
  color: var(--gold);
  font-size: 13px;
}
.uni-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 1120px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs a {
  color: var(--teal);
  font-weight: 800;
}
.breadcrumbs span {
  color: #a5afbd;
}
.breadcrumbs strong {
  color: var(--navy);
  font-weight: 800;
}
.uni-detail-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.uni-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 34px;
}
.uni-insight-grid section {
  padding: 22px;
  border: 1px solid rgba(15,159,154,.22);
  border-radius: 8px;
  background: #f1faf8;
}
.uni-insight-grid h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}
.uni-insight-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.uni-application-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 34px;
  padding: 18px;
  border: 1px solid rgba(197,138,42,.28);
  border-radius: 8px;
  background: #fffaf0;
}
.uni-application-path div {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.uni-application-path strong {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 14px;
}
.uni-application-path span {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}
.uni-application-path p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.cta-actions .button {
  margin: 0;
}
.related-universities {
  margin-top: 36px;
}
.related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.related-head h2 { margin: 0; }
.related-head a {
  color: var(--teal);
  font-weight: 800;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.related-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15,32,55,.06);
}
.related-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
.related-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.library-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 20px 22px;
  border: 1px solid rgba(15,159,154,.22);
  border-radius: 8px;
  background: #eef9f7;
}
.library-notice strong {
  display: block;
  color: var(--navy);
  font-size: 19px;
  margin-bottom: 6px;
}
.library-notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.library-notice .button {
  flex: 0 0 auto;
}
.section-actions { margin-top: 24px; }
.home-assurance + .section {
  padding-top: clamp(54px,6vw,82px);
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}
.filter-pill.clear-filter {
  border-style: dashed;
  color: var(--muted);
  background: #fff;
}
.filter-pill.clear-filter:hover {
  color: var(--teal);
  border-color: var(--teal);
}
.filter-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.filter-pill.is-active {
  border-color: var(--teal);
  background: #eaf8f6;
  color: var(--navy);
}
.pill-count {
  min-width: 24px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.filter-pill.is-active .pill-count {
  background: #fff;
  color: var(--teal);
}
.library-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin: -4px 0 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15,32,55,.06);
}
.library-search label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}
.library-search input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 13px;
  font: inherit;
  font-size: 16px;
}
.library-search-tools {
  display: flex;
  align-items: end;
}
.library-search button,
.library-search a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
}
.library-search button {
  border: 0;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
}
.library-search a {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--bg);
}
.library-search a.is-active {
  border-color: rgba(15,159,154,.45);
  background: #eaf8f6;
  color: var(--navy);
}
.result-summary {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}
.result-summary strong {
  color: var(--teal);
  font-size: 22px;
}
.faq-group-list,
.faq-list { display: grid; gap: 14px; }
.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,32,55,.06);
}
.pricing-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
}
.pricing-table caption {
  padding: 18px 20px 4px;
  color: var(--navy);
  font-weight: 900;
  text-align: left;
}
.pricing-table th,
.pricing-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}
.pricing-table th {
  background: #f4faf8;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}
.pricing-table tr:last-child td {
  border-bottom: 0;
}
.pricing-table td:first-child {
  color: var(--navy);
  font-weight: 850;
}
.pricing-table .price-free,
.pricing-table .price-paid,
.pricing-table .price-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}
.pricing-table .price-free {
  background: #e6f7f5;
  color: var(--teal);
}
.pricing-table .price-paid {
  background: #fff4db;
  color: #936214;
}
.pricing-table .price-note {
  background: #f1f5f9;
  color: var(--muted);
}
.pricing-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.process-list div {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(15,159,154,.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,32,55,.06);
}
.process-list span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f7f5;
  color: var(--teal);
  font-weight: 900;
  font-size: 14px;
}
.process-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}
.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.pain-solution-strip {
  display: grid;
  gap: 18px;
}
.pain-solution-strip h2 {
  margin-bottom: 0;
}
.pain-solution-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.pain-solution-grid article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(15,159,154,.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15,32,55,.06);
}
.pain-solution-grid article:nth-child(2),
.pain-solution-grid article:nth-child(4) {
  border-color: rgba(197,138,42,.3);
  background: #fffaf0;
}
.pain-solution-grid article strong {
  color: var(--navy);
  font-size: 19px;
}
.pain-solution-grid article span {
  color: var(--muted);
  line-height: 1.75;
}
.pain-solution-grid a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(15,159,154,.24);
  border-radius: 8px;
  background: #effaf8;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}
.pain-solution-grid a:hover {
  border-color: rgba(15,159,154,.5);
  background: #dff5f1;
}
.pain-solution-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.pain-solution-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,32,55,.06);
}
.pain-solution-list strong {
  color: var(--navy);
  font-size: 18px;
}
.pain-solution-list span {
  color: var(--muted);
  line-height: 1.75;
}
.reassurance-panel {
  display: grid;
  gap: 18px;
}
.reassurance-panel h2 {
  margin-bottom: 0;
}
.reassurance-grid,
.consult-path-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.reassurance-grid article,
.consult-path-grid article {
  display: grid;
  gap: 9px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,32,55,.06);
}
.reassurance-grid strong,
.consult-path-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}
.reassurance-grid span,
.consult-path-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.consult-path-grid article > span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eaf8f6;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}
.home-consult-path {
  margin-top: 22px;
}
.home-consult-path article:nth-child(3) {
  border-color: rgba(197,138,42,.28);
  background: #fffaf0;
}
.home-consult-path article:nth-child(4) {
  border-color: rgba(15,159,154,.24);
  background: #f3fbfa;
}
.boundary-grid,
.trust-proof-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.boundary-grid article,
.trust-proof-grid div {
  display: grid;
  gap: 9px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,32,55,.06);
}
.boundary-grid strong,
.trust-proof-grid strong {
  color: var(--navy);
  font-size: 18px;
}
.boundary-grid span,
.trust-proof-grid span {
  color: var(--muted);
  line-height: 1.72;
}
.case-read-guide {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.case-read-guide > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,32,55,.06);
}
.case-read-guide h3 {
  margin: 0 0 12px;
  color: var(--navy);
}
.case-read-guide ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}
.case-disclaimer {
  padding: 18px 20px;
  border: 1px solid rgba(194,144,54,.32);
  border-radius: 8px;
  background: #fffaf0;
  color: #5f4611;
  line-height: 1.75;
}
.case-detail .case-disclaimer {
  margin-bottom: 28px;
}
.case-detail h2 {
  margin-top: 30px;
}
.case-detail ul {
  padding-left: 20px;
}
.case-detail li {
  margin: 8px 0;
}
.related-cases {
  margin-top: 42px;
}
.thank-you-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15,32,55,.08);
}
.thank-you-panel h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}
.thank-you-panel p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.78;
}
.thank-you-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin: 28px 0 18px;
}
.thank-you-steps div,
.thank-you-tip {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
}
.thank-you-steps strong,
.thank-you-tip strong {
  color: var(--navy);
  font-size: 17px;
}
.thank-you-steps span,
.thank-you-tip span {
  color: var(--muted);
  line-height: 1.72;
}
.destination-decision {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.destination-decision article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,32,55,.06);
}
.destination-decision strong {
  color: var(--navy);
  font-size: 18px;
}
.destination-decision span {
  color: var(--muted);
  line-height: 1.72;
}
.faq-group {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}
.faq-group h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 26px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
}
.faq-item div {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px,.9fr) minmax(0,1.8fr);
  gap: 34px;
  align-items: start;
  padding: 34px clamp(20px,5vw,72px);
  background: #0d1728;
  color: rgba(255,255,255,.78);
}
.site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  font-size: 20px;
}
.footer-brand span {
  display: block;
  max-width: 360px;
  line-height: 1.75;
}
.site-footer span,
.site-footer a {
  color: rgba(255,255,255,.78);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.footer-nav section {
  display: grid;
  align-content: start;
  gap: 9px;
}
.footer-nav h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
}
.footer-nav a,
.footer-nav span {
  font-size: 14px;
  line-height: 1.55;
}
.footer-nav a:hover {
  color: #fff;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-methods-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.contact-methods div {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,32,55,.08);
}
.contact-methods strong {
  color: var(--navy);
  font-size: 20px;
}
.contact-methods span {
  color: var(--muted);
  line-height: 1.7;
}
.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
}
.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(15,32,55,.18);
}
.sticky-cta a:nth-child(2) {
  background: #21a366;
}
.sticky-cta a:nth-child(3) {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}

body > .trp-language-switcher-container,
.trp-floating-switcher {
  display: none !important;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 12px;
  }
  .nav-toggle {
    display: inline-grid;
    place-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    border-radius: 99px;
    background: var(--navy);
    transition: transform .16s ease, opacity .16s ease;
  }
  .nav-toggle-input:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle-input:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle-input:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav {
    grid-column: 1 / -1;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15,32,55,.14);
  }
  .nav-toggle-input:checked ~ .nav {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .nav > a,
  .nav-item > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 6px;
    font-weight: 800;
  }
  .nav > a:hover,
  .nav-item > a:hover {
    background: var(--bg);
  }
  .nav-item {
    display: grid;
    min-height: 0;
  }
  .nav-item > a::after {
    display: none;
  }
  .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .dropdown-wide {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .dropdown::before {
    display: none;
  }
  .dropdown a {
    padding: 8px 10px;
    white-space: normal;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
  }
  .dropdown-label {
    margin: 8px 0 2px;
    padding: 7px 10px 5px;
  }
  .dropdown .dropdown-cta {
    margin: 6px 10px 4px;
  }
  .hero, .contact, .home-final-cta { grid-template-columns: 1fr; }
  .card-grid, .destinations, .trust, .quick-links, .steps, .post-grid, .compare-grid, .stage-routing, .prep-grid, .response-flow, .pain-grid, .pain-solution-grid, .pain-solution-list, .home-assurance, .team-grid, .testimonial-grid, .reassurance-grid, .consult-path-grid, .boundary-grid, .trust-proof-grid, .case-read-guide, .destination-decision, .thank-you-steps, .process-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-methods { grid-template-columns: 1fr; }
  .contact-methods-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-layout, .destination-layout { grid-template-columns: 1fr; }
  .university-grid, .uni-detail-grid, .uni-insight-grid, .uni-application-path, .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .library-search { grid-template-columns: 1fr; align-items: stretch; }
  .resource-section-head { display: grid; align-items: start; }
  .library-notice { display: grid; align-items: start; }
  .library-home-summary { display: grid; align-items: start; }
  .home-final-actions { justify-content: flex-start; min-width: 0; }
}
@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 10px;
    padding: 16px 18px;
    overflow: hidden;
  }
  .brand { min-width: 0; font-size: 18px; }
  .brand em { font-size: 11px; line-height: 1.1; }
  .brand img { width: 36px; height: 36px; }
  .header-actions { min-width: 0; }
  .header-cta { display: none; }
  .nav-toggle-input:checked ~ .nav {
    grid-template-columns: 1fr;
  }
  .lang { min-width: 0; max-width: 58px; }
  .lang .trp-shortcode-switcher__wrapper,
  .lang .trp-language-switcher {
    width: auto !important;
    min-width: 0 !important;
    max-width: 58px !important;
  }
  .lang .trp-language-item {
    min-height: 42px !important;
    padding: 0 7px !important;
    overflow: hidden;
  }
  .lang .trp-language-item-name { display: none !important; }
  .lang .trp-shortcode-arrow { width: 16px !important; height: 16px !important; }
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0,1fr);
    overflow: hidden;
    padding: 40px 18px;
    background:
      linear-gradient(90deg, rgba(9,26,49,.96), rgba(9,26,49,.82)),
      image-set(
        url("/wp-content/themes/heoffer/assets/images/heoffer-hero-banner.webp") type("image/webp"),
        url("/wp-content/themes/heoffer/assets/images/heoffer-hero-banner.jpg") type("image/jpeg")
      ) center right/cover;
  }
  .hero > div,
  .hero h1,
  .lede,
  .panel-card h2,
  .home-assurance,
  .home-assurance div {
    min-width: 0;
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(31px,8.8vw,36px);
    line-height: 1.16;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .lede {
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }
  .actions .button { flex: 1 1 148px; padding: 0 14px; }
  .panel-card { padding: 24px; }
  .panel-card h2 { font-size: 24px; overflow-wrap: anywhere; }
  .home-assurance { padding: 18px; }
  .home-assurance div { min-height: auto; }
  .subhero { padding: 38px 18px; }
  .proof, .card-grid, .destinations, .trust, .quick-links, .steps, .panel-grid, .post-grid, .compare-grid, .stage-routing, .prep-grid, .response-flow, .pain-grid, .pain-solution-grid, .pain-solution-list, .home-assurance, .team-grid, .testimonial-grid, .reassurance-grid, .consult-path-grid, .boundary-grid, .trust-proof-grid, .case-read-guide, .destination-decision, .thank-you-steps, .process-list { grid-template-columns: 1fr; }
  .hero-assurance span { width: 100%; }
  .feature-layout .card-grid,
  .destination-layout .destinations { grid-template-columns: 1fr; }
  .destination-layout .destinations div:first-child { grid-column: auto; }
  .section-visual img { min-height: 260px; }
  .university-grid, .uni-detail-grid, .uni-insight-grid, .uni-application-path, .related-grid { grid-template-columns: 1fr; }
  .related-head { display: grid; }
  .site-footer,
  .footer-nav { grid-template-columns: 1fr; }
  .contact-methods-four { grid-template-columns: 1fr; }
  .pricing-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .pricing-table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
  }
  .pricing-table caption {
    padding: 0 0 12px;
  }
  .pricing-table thead {
    display: none;
  }
  .pricing-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15,32,55,.06);
    overflow: hidden;
  }
  .pricing-table td {
    display: grid;
    grid-template-columns: minmax(92px,.36fr) minmax(0,1fr);
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(217,225,234,.78);
  }
  .pricing-table td:last-child {
    border-bottom: 0;
  }
  .pricing-table td::before {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
  }
  .pricing-table td:nth-child(1)::before { content: "服务项目"; }
  .pricing-table td:nth-child(2)::before { content: "费用"; }
  .pricing-table td:nth-child(3)::before { content: "适合情况"; }
  .pricing-table td:nth-child(4)::before { content: "边界说明"; }
  .sticky-cta {
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
  }
  .sticky-cta a {
    border-radius: 0;
    min-height: 50px;
    min-width: 0;
    padding: 0 8px;
    box-shadow: none;
  }
  .form-checklist { grid-template-columns: 1fr; }
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
