:root {
  --blue-950: #052e5b;
  --blue-900: #06457d;
  --blue-800: #075b9f;
  --blue-700: #0a6fbd;
  --blue-600: #1282cf;
  --blue-100: #e8f4fc;
  --cyan: #00abc1;
  --orange: #f5a623;
  --ink: #16202c;
  --muted: #667586;
  --line: #dce5ee;
  --soft: #f5f8fb;
  --paper: #fff;
  --shadow: 0 18px 44px rgb(4 49 88 / 15%);
  --header-offset: 130px;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
}

body.panel-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

.site-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
  vertical-align: -0.125em;
}

.shell {
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 3px 18px rgb(3 45 85 / 11%);
}

.topbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue-700);
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", sans-serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
}

.hotline {
  display: grid;
  color: var(--blue-700);
  text-align: right;
}

.hotline-number {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
}

.hotline-number .site-icon {
  width: 19px;
  height: 19px;
}

.hotline strong {
  font-size: 20px;
  letter-spacing: 1px;
}

.site-nav {
  display: flex;
  min-height: 48px;
  align-items: stretch;
  justify-content: center;
  gap: clamp(4px, 1.4vw, 20px);
  background: var(--blue-700);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  padding: 0 11px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-nav a.active {
  border-bottom-color: #fff;
  background: rgb(255 255 255 / 13%);
}

@media (hover: hover) {
  .site-nav a:hover:not(.active) {
    color: #d9efff;
  }
}

.site-nav a:focus-visible {
  outline: 2px solid #ffd166;
  outline-offset: -4px;
}

main > section {
  scroll-margin-top: var(--header-offset);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  overflow: hidden;
  color: #fff;
  background: #082f65 url("./assets/generated/hero-training-bg.jpg") center / cover no-repeat;
}

.hero-shade,
.employment-shade,
.contact-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(5 37 88 / 79%);
}

.hero-layout {
  display: grid;
  min-height: 470px;
  align-items: stretch;
  gap: 48px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.66fr);
  padding-block: 36px;
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.hero-heading {
  width: min(var(--hero-lines-width, 100%), 100%);
  max-width: 100%;
}

.hero-kicker {
  display: block;
  width: 100%;
  padding: 0 1px 0 0;
  color: #fff;
  font-size: clamp(32px, 3.35vw, 48px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.hero h1 {
  width: 100%;
  margin: 4px 0 24px;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 1px;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
  text-shadow: 0 5px 18px rgb(0 0 0 / 22%);
}

.hero-categories {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #f2f5f9;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.6;
}

.hero-note {
  display: block;
  width: min(var(--hero-lines-width, 100%), 100%);
  max-width: 100%;
  margin: 28px 0 26px;
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--blue-950);
  background: #ffbd38;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 800;
  line-height: 1.55;
}

.hero-note-text {
  display: block;
  width: 100%;
  overflow: visible;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.hero-highlights {
  display: flex;
  width: min(var(--hero-lines-width, 100%), 100%);
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  color: #fff;
  font-size: clamp(20px, 1.65vw, 26px);
  font-weight: 600;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-highlights .site-icon {
  width: 40px;
  height: 40px;
  color: #50d2df;
}

.lead-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px 22px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 60px rgb(0 26 67 / 31%);
}

.lead-card-heading {
  margin-bottom: 12px;
  text-align: center;
}

.lead-card-heading > span {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
}

.lead-card-heading h2 {
  margin: 0;
  color: #172434;
  font-size: 22px;
}

.lead-card-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.lead-card label,
.contact-form label,
.consult-panel label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: #394655;
  font-size: 13px;
  font-weight: 700;
}

.lead-card input,
.lead-card select,
.contact-form input,
.contact-form select,
.consult-panel input,
.consult-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7e1ea;
  border-radius: 4px;
  padding: 0 13px;
  color: var(--ink);
  background: #f7f9fb;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-card input,
.lead-card select {
  min-height: 52px;
}

.lead-card label {
  gap: 8px;
  margin-top: 11px;
  font-size: 15px;
}

.lead-card input:focus,
.lead-card select:focus,
.contact-form input:focus,
.contact-form select:focus,
.consult-panel input:focus,
.consult-panel select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgb(18 130 207 / 13%);
}

.is-invalid {
  border-color: #d73535 !important;
}

.form-submit,
.contact-form button,
.consult-panel form button {
  width: 100%;
  min-height: 50px;
  margin-top: 21px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--orange);
  font-size: 17px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease;
}

.form-submit:hover,
.contact-form button:hover,
.consult-panel form button:hover {
  background: #e99811;
  transform: translateY(-1px);
}

.lead-card .form-submit {
  min-height: 52px;
  margin-top: 18px;
  background: #2d2d2d;
}

.lead-card .form-submit:hover,
.lead-card .form-submit:focus-visible {
  background: #151515;
}

.lead-card small {
  display: block;
  margin-top: 12px;
  color: #8995a2;
  font-size: 11px;
  text-align: center;
}

.section,
.business,
.employment {
  padding: 76px 0;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.section-heading > span::before,
.section-heading > span::after {
  width: 36px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section-heading h2 {
  margin: 11px 0 10px;
  color: #111d2b;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.35;
  letter-spacing: 1px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading-inverse > span,
.section-heading-inverse h2,
.section-heading-inverse p {
  color: #fff;
}

.business {
  color: #fff;
  background: #44515a;
}

.business-layout {
  display: grid;
  width: min(1220px, 100%);
  align-items: center;
  gap: 28px;
  grid-template-columns: 280px minmax(0, 1fr);
  margin-inline: auto;
}

.business-tabs {
  display: grid;
  align-content: center;
  gap: 13px;
}

.business-tabs button {
  min-height: 56px;
  border: 1px solid rgb(255 255 255 / 62%);
  border-radius: 999px;
  padding: 10px 24px;
  color: #fff;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.business-tabs button:hover,
.business-tabs button:focus-visible {
  transform: translateX(0px);
}

.business-tabs button.active {
  border-color: var(--cyan);
  background: var(--cyan);
}

.business-feature {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 2 / 1;
  margin: 0;
  border-radius: 14px;
  background: #203140;
  box-shadow: 0 20px 45px rgb(0 0 0 / 22%);
}

.business-feature > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.business-feature-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  align-items: start;
  gap: 17px;
  grid-template-columns: auto 1fr;
  padding: 20px 24px;
  background: rgb(2 28 49 / 88%);
}

.business-feature-copy > .site-icon {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
  padding: 11px;
  color: #55d0dc;
}

.business-feature-copy h3 {
  margin: 0 0 5px;
  font-size: 20px;
}

.business-feature-copy p {
  margin: 0;
  color: #e0e9f0;
  font-size: 14px;
  line-height: 1.75;
}

.section-consult {
  display: block;
  min-height: 50px;
  margin: 38px auto 0;
  border: 1px solid var(--blue-700);
  border-radius: 4px;
  padding: 11px 30px;
  color: var(--blue-700);
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.section-consult:hover,
.section-consult:focus-visible {
  color: #fff;
  background: var(--blue-700);
  transform: translateY(-2px);
}

.section-consult-light {
  border-color: rgb(255 255 255 / 74%);
  color: #fff;
  background: transparent;
}

.section-consult-light:hover,
.section-consult-light:focus-visible {
  color: var(--blue-900);
  background: #fff;
}

.services {
  background: #fff;
}

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

.service-card {
  display: grid;
  min-height: 232px;
  overflow: hidden;
  border: 1px solid #dbe2e9;
  background: #fff;
  grid-template-columns: 40% 1fr;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: #aacbe6;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 232px;
  object-fit: cover;
}

.service-card > div {
  position: relative;
  align-self: center;
  padding: 28px;
}

.service-card > div > span {
  display: block;
  margin-bottom: 13px;
  color: #cdd9e3;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.service-card h3 {
  margin: 0 0 10px;
  color: #22303e;
  font-size: 19px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.employment {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  background: #324650 url("./assets/generated/employment-drone-bg.jpg") center / cover no-repeat;
}

.employment-shade {
  background: rgb(16 39 47 / 75%);
}

.employment-content {
  position: relative;
  z-index: 1;
}

.employment-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, 1fr);
}

.employment-grid article {
  min-height: 250px;
  border-radius: 8px;
  padding: 40px 30px;
  color: var(--ink);
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 38px rgb(0 0 0 / 16%);
}

.employment-grid .site-icon {
  display: block;
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  border: 1px solid #cbd9e5;
  border-radius: 50%;
  padding: 15px;
  color: var(--blue-700);
}

.employment-grid h3 {
  margin: 0 0 10px;
  color: #263541;
  font-size: 19px;
}

.employment-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.resources {
  background: #fff;
}

.resource-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.resource-column {
  overflow: hidden;
  border: 1px solid #dfe6ec;
  background: #fff;
  box-shadow: 0 8px 22px rgb(5 68 119 / 7%);
}

.resource-column h3 {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0;
  color: #fff;
  font-size: 20px;
}

.resource-column h3 .site-icon {
  width: 25px;
  height: 25px;
}

.resource-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-column li {
  position: relative;
  padding: 13px 14px 13px 43px;
  color: #51606d;
  font-size: 16px;
}

.resource-column li:nth-child(2n) {
  background: rgb(20 114 185 / 6%);
}

.resource-column li::before {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  content: "";
  background: url("./assets/icon-draft.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.resource-blue h3 { background: #28a4d5; }
.resource-green h3 { background: #64bd61; }
.resource-orange h3 { background: #f0743b; }
.resource-purple h3 { background: #5869c3; }

.resource-actions {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 22px;
}

.resource-actions button {
  min-height: 50px;
  border: 0;
  border-radius: 5px;
  padding: 8px 12px;
  color: #fff;
  background: var(--blue-700);
  font-size: 16px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.resource-actions button:hover,
.resource-actions button:focus-visible {
  background: var(--blue-900);
  transform: translateY(-2px);
}

.policy {
  border-block: 1px solid #e3e9ef;
  background: #fff;
}

.policy-image {
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: 10px;
}

.guide {
  background: #fff;
}

.guide-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.45fr 0.72fr 0.9fr;
}

.guide-icons {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.guide-icons button {
  display: grid;
  width: 100%;
  max-width: 132px;
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 0;
  border-radius: 50%;
  padding: 13px;
  color: var(--blue-700);
  background: #f3f5f7;
  font-size: 14px;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.guide-icons button:hover,
.guide-icons button:focus-visible {
  color: #fff;
  background: var(--blue-700);
  transform: translateY(-3px);
}

.guide-icons .site-icon {
  width: 33px;
  height: 33px;
}

.guide-zones {
  display: grid;
}

.guide-zones button {
  display: flex;
  min-height: 25%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 52%);
  padding: 16px 18px;
  color: #fff;
  background: var(--blue-800);
  text-align: left;
  line-height: 1.55;
}

.guide-zones button:nth-child(2n) {
  background: var(--blue-950);
}

.guide-zones .guide-zone-compact {
  white-space: normal;
}

.guide-zones button:hover .site-icon {
  transform: translateX(4px);
}

.guide-zones .site-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.guide-promo {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 22px;
  color: #fff;
  background: rgb(3 104 172 / 96%) url("./assets/generated/drone-training-class.jpg") center / cover no-repeat;
  background-blend-mode: multiply;
  text-align: center;
}

.guide-year {
  min-width: 118px;
  border-radius: 999px;
  padding: 7px 24px;
  color: var(--blue-700);
  background: #fff;
  font-size: 22px;
  font-weight: 800;
}

.guide-promo h3 {
  margin: 20px 0 8px;
  font-size: 26px;
}

.guide-promo strong {
  color: #f3d95a;
  font-size: 15px;
}

.guide-promo p {
  margin: 12px 0 26px;
  color: #e7f4ff;
  font-size: 14px;
  line-height: 1.65;
}

.guide-promo button {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 1px solid #fff;
  border-radius: 5px;
  color: var(--blue-700);
  background: #fff;
  font-weight: 700;
}

.guide-promo button:hover,
.guide-promo button:focus-visible {
  color: #fff;
  background: transparent;
}

.faq {
  border-top: 1px solid #e0e6eb;
  background: var(--soft);
}

.faq-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 0.92fr 1.25fr;
}

.countdown-panel,
.question-panel {
  border: 1px solid #dce3ea;
  background: #fff;
}

.countdown-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 34px 30px;
  text-align: center;
}

.countdown-panel h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
}

.countdown-panel > p {
  margin: 10px 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.countdown {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 11px;
  margin-bottom: 25px;
}

.flip-number {
  display: grid;
  width: 128px;
  height: 146px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #29272a;
  font-family: Arial, sans-serif;
  font-size: 72px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 8px 22px rgb(0 0 0 / 16%);
}

.countdown b {
  padding-bottom: 4px;
  color: var(--blue-700);
  font-size: 34px;
}

.countdown-panel > button {
  width: min(390px, 100%);
  min-height: 48px;
  margin-top: 10px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--blue-700);
  font-size: 20px;
  font-weight: 700;
}

.countdown-panel > .countdown-orange {
  background: #fa9400;
}

.question-panel h3 {
  margin: 0;
  padding: 24px 26px;
  font-size: 22px;
}

.question-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: question;
}

.question-panel li {
  display: grid;
  min-height: 70px;
  align-items: center;
  gap: 15px;
  grid-template-columns: 1fr auto;
  padding: 10px 20px 10px 25px;
  counter-increment: question;
}

.question-panel li:nth-child(2n + 1) {
  background: #f5f6f7;
}

.question-panel li > span::before {
  margin-right: 8px;
  content: "NO." counter(question) ":";
  color: var(--blue-700);
  font-weight: 800;
}

.question-panel li span {
  font-size: 15px;
  line-height: 1.5;
}

.question-panel button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 8px 18px;
  color: #fff;
  background: var(--blue-700);
  white-space: nowrap;
}

.contact {
  position: relative;
  isolation: isolate;
  padding: 62px 0;
  color: #fff;
  background: #073a80 url("./assets/generated/employment-drone-bg.jpg") center / cover no-repeat;
}

.contact-shade {
  background: rgb(0 65 153 / 84%);
}

.contact-content {
  display: grid;
  align-items: center;
  gap: 46px;
  grid-template-columns: 1fr 1.25fr;
}

.contact-content > div > span {
  color: #79dce8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.contact-content h2 {
  margin: 9px 0 12px;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.35;
}

.contact-content p {
  margin: 0;
  color: #dceafb;
  line-height: 1.75;
}

.contact-form {
  display: grid;
  align-items: end;
  gap: 13px;
  grid-template-columns: repeat(3, 1fr) 1.15fr;
}

.contact-form label {
  margin: 0;
  color: #fff;
}

.contact-form button {
  min-height: 48px;
  margin: 0;
  padding: 0 16px;
  font-size: 15px;
}

.friend-links {
  --friend-accent: var(--blue-700);
  --friend-ink: var(--blue-950);
  padding: 46px 0 42px;
  background:
    radial-gradient(circle at 12% 0%, rgb(10 111 189 / 14%), transparent 34%),
    linear-gradient(180deg, #f7fbfe 0%, #eaf4fb 100%);
  border-top: 1px solid rgb(10 111 189 / 11%);
}

.friend-links .friend-links__inner {
  display: block;
  padding: 26px 28px 30px;
  background: rgb(255 255 255 / 86%);
  border: 1px solid rgb(10 111 189 / 15%);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgb(4 49 88 / 11%);
  backdrop-filter: blur(14px);
}

.friend-links__header,
.friend-links__heading {
  display: flex;
  align-items: center;
}

.friend-links__header {
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
}

.friend-links__heading {
  flex: 0 0 auto;
  gap: 13px;
}

.friend-links__eyebrow {
  padding: 6px 11px;
  color: var(--friend-accent);
  background: rgb(10 111 189 / 9%);
  border: 1px solid rgb(10 111 189 / 14%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.friend-links__header h2 {
  margin: 0;
  color: var(--friend-ink);
  font-size: clamp(23px, 2.3vw, 30px);
  line-height: 1.25;
}

.friend-links__header p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  text-align: right;
}

.friend-links__gallery {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
}

.friend-links__gallery.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.friend-scroll {
  display: flex;
  gap: 16px;
  min-width: 0;
  margin: -8px -4px -14px;
  padding: 8px 4px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.friend-scroll::-webkit-scrollbar {
  display: none;
}

.friend-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--friend-accent);
  background: #fff;
  border: 1px solid rgb(10 111 189 / 21%);
  border-radius: 50%;
  box-shadow: 0 9px 22px rgb(4 49 88 / 12%);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.friend-arrow:hover:not(:disabled) {
  color: #fff;
  background: var(--friend-accent);
  box-shadow: 0 12px 26px rgb(10 111 189 / 24%);
  transform: translateY(-2px);
}

.friend-arrow:focus-visible {
  outline: 3px solid rgb(10 111 189 / 30%);
  outline-offset: 3px;
}

.friend-arrow:disabled {
  opacity: 0.34;
  cursor: default;
  box-shadow: none;
}

.friend-arrow[hidden] {
  display: none;
}

.friend-arrow .site-icon {
  width: 25px;
  height: 25px;
}

.friend-link {
  position: relative;
  display: flex;
  flex: 1 0 238px;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid rgb(10 111 189 / 14%);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgb(4 49 88 / 9%);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.friend-link:hover {
  border-color: rgb(10 111 189 / 40%);
  box-shadow: 0 17px 34px rgb(4 49 88 / 15%);
  transform: translateY(-5px);
}

.friend-link.is-current {
  border-color: rgb(10 111 189 / 44%);
  box-shadow: 0 12px 28px rgb(10 111 189 / 16%);
  cursor: default;
}

.friend-link.is-current:hover {
  transform: none;
}

.friend-link:focus-visible {
  outline: 3px solid rgb(10 111 189 / 40%);
  outline-offset: 3px;
}

.friend-link img {
  width: 100%;
  aspect-ratio: 46 / 9;
  height: auto;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.friend-link:hover img {
  transform: scale(1.025);
}

.friend-link.is-current:hover img {
  transform: none;
}

.friend-link__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  padding: 5px 9px;
  color: #fff;
  background: rgb(5 46 91 / 84%);
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.friend-link__meta {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px 11px 15px;
  background: linear-gradient(180deg, #fff 0%, #fafdff 100%);
  border-top: 1px solid rgb(10 111 189 / 8%);
}

.friend-link__category {
  overflow: hidden;
  color: var(--friend-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-link__action {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--friend-accent);
  background: rgb(10 111 189 / 8%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.friend-links__hint {
  display: none;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.site-footer {
  padding: 26px 0;
  color: #9cb0c3;
  background: #0b2238;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 18px;
}

.footer-brand img {
  width: 36px;
  height: 28px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #cce5fb;
  text-decoration: none;
}

.floating-consult {
  position: fixed;
  right: 0px;
  bottom: 25%;
  z-index: 45;
  display: grid;
  width: 76px;
  min-height: 116px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 0;
  border-radius: 10px 0 0 10px;
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 12px 28px rgb(5 74 128 / 26%);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.floating-consult .site-icon {
  width: 29px;
  height: 29px;
}

.floating-consult:hover {
  background: var(--blue-800);
  transform: translateX(-4px);
}

.floating-consult:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.panel-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgb(0 22 44 / 54%);
}

.consult-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: min(430px, 100%);
  height: 100dvh;
  overflow-y: auto;
  padding: 68px 38px 40px;
  background: #fff;
  box-shadow: -20px 0 50px rgb(0 24 54 / 24%);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.consult-panel.open {
  transform: translateX(0);
}

.consult-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #4e5d6d;
  background: #edf2f6;
}

.consult-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-700);
  font-size: 31px;
}

.consult-panel h2 {
  margin: 20px 0 8px;
  font-size: 26px;
}

.consult-panel > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 30px;
  z-index: 100;
  max-width: min(390px, calc(100% - 32px));
  border-radius: 6px;
  padding: 14px 18px;
  color: #fff;
  background: #173b5f;
  box-shadow: 0 10px 30px rgb(0 20 45 / 25%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  background: #a73333;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none !important;
}

@media (max-width: 1080px) {
  .hero-layout {
    gap: 36px;
    grid-template-columns: 1.1fr minmax(330px, 0.8fr);
  }

  .hero-kicker {
    font-size: clamp(26px, 3.35vw, 36px);
  }

  .hero h1 {
    font-size: clamp(42px, 5vw, 56px);
  }

  .hero-categories {
    font-size: clamp(14px, 1.6vw, 18px);
  }

  .hero-note {
    margin: 22px 0 20px;
    padding: 12px 14px;
    font-size: clamp(14px, 1.4vw, 17px);
  }

  .hero-highlights {
    gap: 24px;
    font-size: 18px;
  }

  .hero-highlights .site-icon {
    width: 32px;
    height: 32px;
  }

  .business-layout {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    grid-template-columns: 38% 1fr;
  }

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

  .guide-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .guide-promo {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  :root {
    --header-offset: 90px;
  }

  .hotline {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 8px 15px 16px;
    box-shadow: 0 12px 24px rgb(0 30 60 / 18%);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    justify-content: center;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
  }
}

@media (max-width: 860px) {
  :root {
    --header-offset: 78px;
  }

  .shell {
    width: min(100% - 30px, 720px);
  }

  .site-header {
    position: sticky;
  }

  .topbar {
    min-height: 72px;
  }

  .brand {
    font-size: 25px;
  }

  .brand img {
    width: 42px;
    height: 34px;
  }

  .hotline {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 8px 15px 16px;
    box-shadow: 0 12px 24px rgb(0 30 60 / 18%);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    justify-content: center;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 52px;
  }

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

  .hero-heading {
    margin-inline: auto;
  }

  .hero-categories,
  .hero-highlights {
    margin-inline: auto;
  }

  .hero-kicker {
    border: 0;
    padding: 0;
    font-size: clamp(21px, 6.6vw, 30px);
  }

  .hero-note {
    margin-inline: auto;
  }

  .hero-highlights {
    justify-content: space-between;
  }

  .lead-card {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .business-layout {
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .employment-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

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

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-zones button {
    min-height: 74px;
  }

  .guide-promo {
    grid-column: auto;
  }

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

  .footer-layout {
    flex-direction: column;
    text-align: center;
  }

  .friend-links {
    padding: 30px 0 28px;
  }

  .friend-links .friend-links__inner {
    width: calc(100% - 20px);
    padding: 20px 14px 18px;
    border-radius: 18px;
  }

  .friend-links__header {
    display: block;
    margin-bottom: 17px;
  }

  .friend-links__heading {
    gap: 9px;
  }

  .friend-links__eyebrow {
    padding: 5px 9px;
    font-size: 10px;
  }

  .friend-links__header h2 {
    font-size: 22px;
  }

  .friend-links__header p {
    margin-top: 8px;
    font-size: 13px;
    text-align: left;
  }

  .friend-links__gallery,
  .friend-links__gallery.is-static {
    grid-template-columns: minmax(0, 1fr);
  }

  .friend-scroll {
    gap: 12px;
    margin: -6px -2px -12px;
    padding: 6px 2px 12px;
  }

  .friend-link {
    flex: 0 0 min(314px, calc(100vw - 76px));
  }

  .friend-link__meta {
    min-height: 50px;
    padding-inline: 13px 11px;
  }

  .friend-arrow {
    display: none;
  }

  .friend-links__hint {
    display: block;
  }

  .floating-consult {
    right: 10px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 64px;
    min-height: 82px;
    border-radius: 8px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .section,
  .business,
  .employment {
    padding: 58px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-heading p {
    font-size: 15px;
  }

  .hero h1 {
    margin: 3px 0 16px;
    font-size: clamp(32px, 10vw, 40px);
  }

  .hero-categories {
    font-size: 16px;
  }

  .hero-note {
    margin: 22px auto 18px;
    border-radius: 6px;
    padding: 11px 12px;
    font-size: 13px;
  }

  .hero-highlights {
    gap: 18px;
    font-size: 16px;
  }

  .hero-highlights span {
    gap: 6px;
  }

  .hero-highlights .site-icon {
    width: 28px;
    height: 28px;
  }

  .lead-card {
    padding: 28px 22px 24px;
  }

  .business-tabs {
    grid-template-columns: 1fr;
  }

  .business-feature,
  .business-feature > img {
    min-height: 420px;
  }

  .business-feature-copy {
    grid-template-columns: 1fr;
  }

  .business-feature-copy > .site-icon {
    display: none;
  }

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

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

  .employment-grid article {
    min-height: auto;
  }

  .resource-grid,
  .resource-actions,
  .guide-icons,
  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .guide-icons button {
    max-width: 112px;
    font-size: 13px;
  }

  .countdown-panel {
    padding: 28px 16px 24px;
  }

  .flip-number {
    width: 92px;
    height: 112px;
    font-size: 54px;
  }

  .countdown b {
    font-size: 26px;
  }

  .question-panel li {
    grid-template-columns: 1fr;
    padding-block: 14px;
  }

  .question-panel button {
    justify-self: start;
  }

  .section-consult {
    width: 100%;
  }

  .contact-content {
    text-align: center;
  }

  .friend-links {
    padding: 26px 0 24px;
  }

  .consult-panel {
    padding-inline: 24px;
  }
}

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

.friend-links {
  padding: 22px 0;
  background: #f5f7fa;
  border-top: 1px solid #e9edf2;
}

.friend-links .friend-links__grid {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.friend-links .friend-link {
  position: static;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  box-shadow: none;
  text-decoration: none;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.friend-links .friend-link:hover {
  border-color: #acc8dc;
  box-shadow: none;
  opacity: 0.92;
  transform: none;
}

.friend-links .friend-link:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 3px;
}

.friend-links .friend-link img,
.friend-links .friend-link:hover img {
  width: 100%;
  aspect-ratio: 46 / 9;
  height: auto;
  object-fit: cover;
  transform: none;
}

@media (max-width: 900px) {
  .friend-links .friend-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .friend-links {
    padding: 16px 0;
  }

  .friend-links .friend-links__grid {
    width: calc(100% - 20px);
    display: flex;
    gap: 10px;
    padding: 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .friend-links .friend-links__grid::-webkit-scrollbar {
    display: none;
  }

  .friend-links .friend-link {
    flex: 0 0 min(280px, calc(100vw - 52px));
    scroll-snap-align: start;
  }
}

/* Mobile layout: preserve touch targets while reducing desktop-sized whitespace. */
@media (max-width: 860px) {
  :root {
    --header-offset: 68px;
  }

  .shell {
    width: min(100% - 24px, 720px);
  }

  .section,
  .business,
  .employment {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .topbar {
    min-height: 60px;
  }

  .brand {
    gap: 7px;
    font-size: 22px;
  }

  .brand img {
    width: 36px;
    height: 29px;
  }

  .site-nav {
    top: 60px;
    max-height: calc(100dvh - 60px);
    gap: 0;
    padding: 8px 12px 12px;
  }

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

  .site-nav a {
    min-height: 44px;
    padding: 0 8px;
    font-size: 15px;
  }

  .site-nav a:last-child {
    grid-column: 1 / -1;
  }

  .hero-layout {
    gap: 24px;
    padding-block: 38px;
  }

  .hero-categories,
  .hero-highlights,
  .hero-note {
    width: 100%;
  }

  .hero-note-text {
    text-align: center;
    text-align-last: auto;
    white-space: normal;
  }

  .lead-card {
    min-height: 0;
    padding: 22px;
  }

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

  .service-card {
    min-height: 210px;
    grid-template-columns: 42% 1fr;
  }

  .service-card img {
    min-height: 210px;
  }

  .service-card > div {
    padding: 20px;
  }

  .service-card > div > span {
    font-size: 31px;
  }

  .employment-grid {
    gap: 12px;
  }

  .employment-grid article {
    display: grid;
    min-height: auto;
    align-items: center;
    gap: 4px 16px;
    grid-template-areas:
      "icon title"
      "icon copy";
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 20px;
    text-align: left;
  }

  .employment-grid .site-icon {
    grid-area: icon;
    width: 54px;
    height: 54px;
    margin: 0;
    padding: 12px;
  }

  .employment-grid h3 {
    grid-area: title;
    margin: 0;
  }

  .employment-grid p {
    grid-area: copy;
  }

  .guide-zones button {
    min-height: 64px;
  }

  .guide-promo {
    min-height: 300px;
  }

  .flip-number {
    width: 104px;
    height: 118px;
    font-size: 58px;
  }

  .footer-layout {
    gap: 10px;
  }

  .floating-consult {
    right: 8px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 56px;
    min-height: 72px;
    font-size: 12px;
  }

  .floating-consult .site-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 560px) {
  .section,
  .business,
  .employment {
    padding: 40px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading > span {
    gap: 7px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .section-heading > span::before,
  .section-heading > span::after {
    width: 24px;
  }

  .section-heading h2 {
    margin: 8px 0 6px;
    font-size: 20px;
    line-height: 1.4;
  }

  .section-heading p {
    font-size: 10px;
    line-height: 1.6;
  }

  .hero {
    min-height: 0;
    background-position: 42% center;
  }

  .hero-layout {
    gap: 20px;
    padding-block: 28px 32px;
  }

  .hero-kicker {
    font-size: clamp(19px, 6.2vw, 25px);
  }

  .hero h1 {
    margin: 3px 0 12px;
    font-size: clamp(31px, 9.5vw, 38px);
  }

  .hero-categories {
    max-width: 420px;
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-note {
    margin: 16px auto 14px;
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.55;
  }

  .hero-highlights {
    gap: 10px;
    font-size: 14px;
  }

  .hero-highlights .site-icon {
    width: 24px;
    height: 24px;
  }

  .lead-card {
    padding: 18px 16px 16px;
    border-radius: 10px;
  }

  .lead-card-heading {
    margin-bottom: 6px;
  }

  .lead-card-heading h2 {
    font-size: 20px;
  }

  .lead-card label {
    gap: 5px;
    margin-top: 8px;
    font-size: 13px;
  }

  .lead-card input,
  .lead-card select {
    min-height: 44px;
  }

  .lead-card .form-submit {
    min-height: 44px;
    margin-top: 13px;
    font-size: 15px;
  }

  .business-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .business-tabs button {
    min-height: 44px;
    padding: 7px 6px;
    font-size: 14px;
  }

  .business-feature {
    display: flex;
    min-height: 0;
    aspect-ratio: auto;
    flex-direction: column;
    border-radius: 10px;
  }

  .business-feature > img {
    height: 180px;
    min-height: 0;
    flex: 0 0 auto;
  }

  .business-feature-copy {
    position: static;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 16px 16px;
  }

  .business-feature-copy > .site-icon {
    display: none;
  }

  .business-feature-copy h3 {
    margin-bottom: 4px;
    font-size: 17px;
  }

  .business-feature-copy p {
    font-size: 13px;
    line-height: 1.6;
  }

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

  .service-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    border-radius: 7px;
  }

  .service-card img {
    height: 112px;
    min-height: 112px;
  }

  .service-card > div {
    padding: 13px 12px 14px;
  }

  .service-card > div > span {
    margin-bottom: 6px;
    font-size: 25px;
  }

  .service-card h3 {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.4;
  }

  .service-card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .employment-grid {
    gap: 10px;
  }

  .employment-grid article {
    display: grid;
    min-height: auto;
    align-items: center;
    gap: 3px 13px;
    grid-template-areas:
      "icon title"
      "icon copy";
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 16px;
    text-align: left;
  }

  .employment-grid .site-icon {
    grid-area: icon;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 10px;
  }

  .employment-grid h3 {
    grid-area: title;
    margin: 0;
    font-size: 16px;
  }

  .employment-grid p {
    grid-area: copy;
    font-size: 12px;
    line-height: 1.55;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .resource-column h3 {
    min-height: 44px;
    gap: 5px;
    font-size: 15px;
  }

  .resource-column h3 .site-icon {
    width: 19px;
    height: 19px;
  }

  .resource-column li {
    padding: 9px 7px 9px 29px;
    font-size: 12px;
  }

  .resource-column li::before {
    left: 8px;
    width: 14px;
    height: 14px;
  }

  .resource-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .resource-actions button {
    min-height: 44px;
    padding: 7px;
    font-size: 13px;
  }

  .guide-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .guide-icons button {
    max-width: none;
    min-height: 68px;
    aspect-ratio: auto;
    gap: 4px;
    border-radius: 9px;
    padding: 6px 3px;
    font-size: 12px;
    line-height: 1.25;
  }

  .guide-icons .site-icon {
    width: 25px;
    height: 25px;
  }

  .guide-zones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .guide-zones button {
    min-height: 68px;
    border: 0;
    border-radius: 7px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .guide-promo {
    min-height: 250px;
    padding: 22px 16px;
  }

  .guide-year {
    min-width: 100px;
    padding: 6px 18px;
    font-size: 18px;
  }

  .guide-promo h3 {
    margin: 12px 0 5px;
    font-size: 22px;
  }

  .guide-promo p {
    margin: 8px 0 13px;
  }

  .guide-promo button {
    min-height: 44px;
    margin-top: 6px;
  }

  .policy-image {
    border-radius: 6px;
  }

  .faq-layout {
    gap: 16px;
  }

  .countdown-panel {
    padding: 20px 12px 18px;
  }

  .countdown-panel h3 {
    font-size: 18px;
  }

  .countdown-panel > p {
    margin: 7px 0 17px;
    font-size: 13px;
  }

  .countdown {
    gap: 7px;
    margin-bottom: 14px;
  }

  .flip-number {
    width: 70px;
    height: 80px;
    border-radius: 7px;
    font-size: 40px;
  }

  .countdown b {
    font-size: 20px;
  }

  .countdown-panel > button {
    min-height: 44px;
    margin-top: 8px;
    font-size: 15px;
  }

  .question-panel h3 {
    padding: 15px 13px;
    font-size: 18px;
  }

  .question-panel li {
    min-height: 56px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 10px 8px 12px;
  }

  .question-panel li span {
    font-size: 13px;
  }

  .question-panel li > span::before {
    margin-right: 5px;
  }

  .question-panel button {
    min-height: 44px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .section-consult {
    width: 100%;
    min-height: 44px;
    margin-top: 24px;
    padding: 9px 16px;
    font-size: 15px;
  }

  .contact {
    padding: 40px 0;
  }

  .contact-content {
    gap: 22px;
    text-align: center;
  }

  .contact-content h2 {
    margin: 7px 0 8px;
    font-size: 21px;
  }

  .contact-content p {
    font-size: 14px;
    line-height: 1.65;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form label {
    gap: 5px;
    text-align: left;
  }

  .contact-form input,
  .contact-form select,
  .contact-form button {
    min-height: 44px;
  }

  .lead-card input,
  .lead-card select,
  .contact-form input,
  .contact-form select,
  .consult-panel input,
  .consult-panel select {
    font-size: 16px;
  }

  .friend-links {
    padding: 18px 0;
  }

  .site-footer {
    padding: 20px 0;
  }

  .site-footer p,
  .site-footer a {
    font-size: 13px;
  }

  .consult-panel {
    padding: 58px 18px 28px;
  }

  .toast {
    right: 12px;
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .shell {
    width: calc(100% - 20px);
  }

  .brand {
    font-size: 19px;
  }

  .brand img {
    width: 31px;
    height: 25px;
  }

  .hero h1 {
    font-size: 30px;
  }

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

  .service-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .service-card img {
    width: 108px;
    height: 100%;
    min-height: 132px;
  }

  .guide-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .question-panel button {
    padding-inline: 8px;
    font-size: 12px;
  }
}

/* Mobile header: keep the primary navigation visible as a swipeable row. */
@media (max-width: 940px) {
  .site-nav,
  .site-nav.open {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    max-height: none;
    gap: 0;
    padding: 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    justify-content: center;
    padding: 0 13px;
    border-top: 0;
    border-right: 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }
}
