@charset "UTF-8";

:root {
  --navy: #152b49;
  --deep: #10213a;
  --ink: #24364d;
  --muted: #68778a;
  --gold: #b78d43;
  --gold-light: #e4c987;
  --green: #14614d;
  --paper: #f8f7f3;
  --line: #e5e8ec;
  --white: #fff;
  --shadow: 0 18px 45px #152b4918;
  --font: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.75;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  transform: translateY(-150%);
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--gold);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Utility bar & Header */
.utility-bar {
  background: var(--deep);
  color: #e8edf4;
  font-size: 12px;
}

.utility-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.utility-inner a {
  text-decoration: none;
}

.utility-inner strong {
  color: #f3d995;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  isolation: isolate;
  background: #fffffff5;
  border-bottom: 1px solid #152b4914;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-emblem {
  position: relative;
  display: grid;
  width: 58px;
  height: 70px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 12px #152b4926;
}

.brand-emblem img { width: 100%; height: 100%; object-fit: contain; }

.brand-monogram {
  display: block;
  margin-top: 14px;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.brand-seal-label {
  display: block;
  margin-top: -3px;
  color: var(--gold);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 18px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.primary-navigation {
  position: relative;
  z-index: 51;
  display: flex;
  align-items: center;
  margin-left: clamp(18px, 4vw, 56px);
  gap: clamp(14px, 2vw, 24px);
  pointer-events: auto;
}

.primary-navigation a {
  position: relative;
  z-index: 52;
  pointer-events: auto;
  cursor: pointer;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid #d7dee7;
  border-radius: 4px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid #d7dee7;
  border-radius: 4px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  border-color: var(--navy);
  background: #f3f6f9;
}

.nav-cta span {
  color: var(--gold);
}

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.nav-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #f3f6f9;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-user-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.nav-logout {
  padding: 7px 12px;
  border: 1px solid #e4c9c6;
  border-radius: 4px;
  color: #8f3e39;
  background: #fdf6f5;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logout:hover {
  border-color: #a14f4a;
  background: #faecea;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 76px;
  background: linear-gradient(112deg, #fbfaf7, #f8f7f3 48%, #f1f3f2);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
}

.eyebrow-mark {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 20px 0 18px;
  color: var(--navy);
  font-size: clamp(39px, 5vw, 62px);
  line-height: 1.28;
}

.hero h1 span {
  color: var(--green);
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: #5e6b7b;
  font-size: 18px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 19px;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}

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

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 20px #152b4929;
}

.button-outline {
  border: 1px solid #cbd4df;
  color: var(--navy);
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 15 px;
  font-weight: 700;
  text-decoration: none;
}

.hero-assurance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}

.assurance-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d6dfd9;
  border-radius: 50%;
  color: var(--green);
  background: #f2f6f2;
}

.assurance-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
}

.hero-assurance strong,
.hero-assurance small {
  display: block;
}

.hero-assurance strong {
  color: #435368;
  font-size: 12px;
}

.hero-assurance small {
  color: #8490a0;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
}

.hero-ornament {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 340px;
  height: 340px;
  border: 1px solid #b78d4347;
  border-radius: 50%;
}

.hero-image-card {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  margin: 0 0 0 12px;
  padding: 10px;
  border: 1px solid #ffffffc7;
  background: #ffffffe0;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.hero-poster {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: space-between;
  padding: 29px 32px 24px;
  color: #f8f4e8;
  background: linear-gradient(145deg, #1b3855, #10233e 68%, #1c5551);
}

.poster-rule {
  width: 42px;
  height: 3px;
  background: var(--gold-light);
}

.hero-poster small {
  margin-top: 12px;
  color: #d9c58d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-poster strong {
  margin-top: auto;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 49px);
  font-weight: 500;
  line-height: 0.95;
}

.hero-poster em {
  color: #e7ce91;
  font-style: normal;
}

.poster-caption {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #ffffff38;
  color: #b9c8d5;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-image-card figcaption {
  padding: 10px 5px 1px;
  color: #788494;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.caption-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-seal {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: -20px;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid #b78d43c7;
  border-radius: 50%;
  color: var(--navy);
  background: #faf7ed;
  transform: rotate(-12deg);
}

.hero-seal span,
.hero-seal small {
  display: block;
  text-align: center;
}

.hero-seal small {
  color: var(--gold);
  font-size: 8px;
}

.hero-note-card {
  position: absolute;
  z-index: 3;
  right: -3px;
  bottom: 4px;
  width: 215px;
  padding: 17px 19px;
  border: 1px solid #e9e3d6;
  background: #fff;
  box-shadow: 0 13px 30px #152b491a;
}

.note-kicker {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
}

.hero-note-card strong,
.hero-note-card small {
  display: block;
}

.hero-note-card strong {
  margin-top: 7px;
  color: var(--navy);
  font-size: 15px;
}

.note-rule {
  display: block;
  width: 33px;
  height: 2px;
  margin: 9px 0 6px;
  background: var(--gold);
}

.hero-bottom-line {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 24%, var(--gold) 24% 27%, transparent 27%);
}

.home-banner{padding:28px 0 0;background:#fff}.home-banner-frame{position:relative;min-height:180px;overflow:hidden;border-radius:14px;background:#eef2f4;box-shadow:var(--shadow)}.home-banner-slide{position:absolute;inset:0;width:100%;height:100%;min-height:180px;object-fit:cover;opacity:0;transition:opacity .6s ease}.home-banner-slide.is-active{position:relative;opacity:1}

/* Quick Strip */
.quick-strip {
  background: var(--navy);
  color: #fff;
}

.quick-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-strip a {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid #ffffff24;
  text-decoration: none;
}

.quick-strip a:first-child {
  border-left: 1px solid #ffffff24;
}

.quick-number {
  color: var(--gold-light);
  font-size: 11px;
}

.quick-arrow {
  margin-left: auto;
  color: #e7cf99;
}

/* Sections */
.section {
  padding: 88px 0;
}

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

.heading-with-aside {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2,
.documents-copy h2,
.faq-intro h2 {
  margin: 9px 0 10px;
  color: var(--navy);
  font-size: clamp(27px, 3.1vw, 38px);
}

.section-intro {
  max-width: 625px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.official-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #e3e9e4;
  border-radius: 20px;
  color: var(--green);
  background: #f7faf7;
  font-size: 15px;
  font-weight: 700;
}

.official-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Opportunities Card, Search, Table & Modal */
.jobs-card {
  background: #fff;
  border: 1px solid #eceff4;
  border-radius: 16px;
  padding: 30px 32px;
  box-shadow: 0 10px 30px #10213a0d;
}

.jobs-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.jobs-card-head h2 {
  margin: 6px 0 4px;
  color: var(--navy);
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.3;
}

.jobs-card-head .section-intro {
  font-size: 15px;
}

.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.jobs-search-box {
  position: relative;
  flex: 1 1 320px;
}

.jobs-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #6b7c93;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  pointer-events: none;
}

.jobs-search-box input {
  width: 100%;
  height: 44px;
  padding: 8px 14px 8px 42px;
  border: 1px solid #dce3eb;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.jobs-search-box input:focus,
.jobs-filter-wrap select:focus {
  outline: 0;
  border-color: #e05a3a;
  box-shadow: 0 0 0 3px #e05a3a1a;
}

.jobs-filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jobs-filter-wrap label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.jobs-filter-wrap select {
  min-width: 190px;
  height: 44px;
  padding: 8px 14px;
  border: 1px solid #dce3eb;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.job-list-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
}

.job-list-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 15px;
}

.job-list-table thead tr {
  background: #fdeae4;
}

.job-list-table th {
  padding: 14px 16px;
  color: #df5536;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.job-list-table th.col-center,
.job-list-table td.col-center {
  text-align: center;
}

.job-list-table td {
  padding: 16px;
  border-bottom: 1px solid #edf0f4;
  color: var(--ink);
  text-align: center;
  vertical-align: middle;
}

.job-list-table tbody tr:hover td {
  background: #fcfcfd;
}

.job-list-table td strong,
.job-list-table td small {
  display: block;
}

.job-list-table td strong {
  color: var(--navy);
  font-size: 15px;
}

.job-list-table td small {
  color: #788696;
  font-size: 14px;
  margin-top: 2px;
}

.job-empty-cell {
  padding: 36px 16px;
  text-align: center;
  color: #788696;
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.status-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.status-open {
  color: #15803d;
  background: #eaf8f0;
  border: 1px solid #bbf7d0;
}

.status-pending {
  color: #a16207;
  background: #fef7e6;
  border: 1px solid #f3dfab;
}

.status-review {
  color: #1d4ed8;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
}

.status-approved {
  color: #15803d;
  background: #eaf8f0;
  border: 1px solid #bbf7d0;
}

.status-rejected {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.status-unpaid {
  color: #4b5563;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.status-submitted {
  color: #1d4ed8;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
}

.status-verified {
  color: #15803d;
  background: #eaf8f0;
  border: 1px solid #bbf7d0;
}

.manage-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.btn-pill-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 14px;
  border: 1px solid #f07b5f;
  border-radius: 8px;
  background: #fff;
  color: #df5536;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s;
}

.btn-pill-detail:hover {
  background: #fff5f2;
}

.btn-pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 14px;
  border: 1px solid #7fb3f5;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s;
}

.btn-pill-action:hover {
  background: #eff6ff;
}

/* Job Detail Modal */
.job-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(16, 33, 58, 0.48);
  backdrop-filter: blur(2px);
}

.job-modal-backdrop.is-open {
  display: grid;
}

.job-modal {
  width: min(100%, 620px);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  border-top: 4px solid #df5536;
  box-shadow: 0 24px 60px rgba(16, 33, 58, 0.24);
  padding: 26px 28px;
}

.job-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}

.job-modal-head h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 20px;
}

.job-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #fff;
  color: #526174;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.job-modal-close:hover {
  background: #f5f7fa;
  color: var(--navy);
}

.job-modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 18px 0;
}

.job-modal-meta small {
  display: block;
  color: #788696;
  font-size: 11px;
}

.job-modal-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 13px;
}

.job-modal-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e4e9f0;
}

.job-modal-box h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 13px;
}

.job-modal-box p {
  margin: 0;
  color: #46576c;
  font-size: 13px;
  white-space: pre-line;
  line-height: 1.65;
}

.job-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #edf0f4;
}

.section-footnote {
  display: flex;
  gap: 9px;
  margin: 15px 0 0;
  color: #798696;
  font-size: 11px;
}

/* Steps */
.steps-section {
  background: var(--paper);
}

.centered-heading {
  text-align: center;
}

.centered-heading .section-intro {
  margin: auto;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 39px;
}

@media (max-width: 1024px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.step-card {
  position: relative;
  min-height: 230px;
  padding: 24px 25px;
  border: 1px solid #e7e7e2;
  background: #fff;
}

.step-top {
  display: flex;
  justify-content: space-between;
}

.step-number {
  color: #c7a65f;
  font-weight: 800;
}

.step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #eff5f1;
}

.step-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.step-card h3 {
  margin: 18px 0 5px;
  color: var(--navy);
  font-size: 17px;
}

.step-card p {
  margin: 0;
  color: #748091;
  font-size: 12px;
}

.step-line {
  position: absolute;
  right: 25px;
  bottom: 0;
  left: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0 34px, #e9ecef 34px);
}

/* Documents */
.documents-section {
  padding: 78px 0;
  background: var(--navy);
  color: #edf2f5;
}

.documents-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
}

.documents-copy h2 {
  color: #fff;
}

.documents-copy > p {
  color: #c3ced8;
  font-size: 13px;
}

.light-link {
  color: #f3db9f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.checklist-card {
  padding: 25px 29px;
  color: var(--ink);
  background: #fff;
}

.checklist-head {
  display: flex;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid #edf0f2;
}

.checklist-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #edf5f0;
}

.checklist-head strong,
.checklist-head small {
  display: block;
}

.checklist-head small {
  color: #8893a0;
  font-size: 10px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 10px;
  color: #536275;
  font-size: 12px;
}

.checkmark {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #eef5f1;
}

.checklist-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf0f2;
  color: #748091;
  font-size: 11px;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 13px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  padding: 18px 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid #dfe4e9;
  border-radius: 50%;
  color: var(--gold);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 38px 19px 4px;
  color: #748091;
  font-size: 12px;
}

/* Contact Banner */
.contact-banner {
  padding: 38px 0;
  background: #f2f0e8;
  border-block: 1px solid #e7e2d4;
}

.contact-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-banner h2 {
  margin: 5px 0;
  color: var(--navy);
  font-size: 21px;
}

.contact-banner p {
  margin: 0;
  color: #6f7a88;
  font-size: 12px;
}

.button-light {
  min-width: 250px;
  min-height: 64px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 6px 20px #152b490e;
}

.button-light small,
.button-light strong {
  display: block;
  text-align: left;
  line-height: 1.3;
}

.button-light small {
  color: var(--muted);
  font-size: 10px;
}

.phone-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #eff5f1;
}

/* Footer */
.site-footer {
  color: #d9e0e8;
  background: var(--deep);
}

.footer-contact-main{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 0;border-bottom:1px solid #ffffff1a}.footer-contact-main .section-kicker{color:#e4c987}.footer-contact-main h2{margin:5px 0;color:#fff;font-size:24px}.footer-contact-main p:not(.section-kicker){margin:0;color:#c5cfda;font-size:14px}.footer-contact-main .button-light{min-width:250px}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  align-items: center;
  gap: 30px;
  min-height: 135px;
  padding-block: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-mark {
  display: grid;
  width: 42px;
  height: 54px;
  place-items: center;
  border: 1px solid #e4c987a6;
  border-radius: 50%;
  color: #f0d99e;
  font-family: Georgia, serif;
  font-size: 11px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
  font-size: 13px;
}

.footer-brand span {
  color: #aeb9c6;
  font-size: 15px;
}

.site-footer address,
.footer-contact {
  color: #bac4d0;
  font-size: 15px;
  font-style: normal;
}

.footer-contact a,
.footer-contact span {
  display: block;
}

.footer-contact a {
  color: #f0d99e;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #ffffff1a;
  font-size: 10px;
  color: #9ba8b8;
}

.footer-bottom .container {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom a {
  color: #f0d99e;
  text-decoration: none;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 560px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-emblem {
    width: 45px;
    height: 54px;
  }

  .brand-monogram {
    font-size: 11px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #dce2e8;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--navy);
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    margin-left: 0;
    gap: 0;
    padding: 9px 18px 17px;
    background: #fff;
    box-shadow: 0 14px 20px #152b4914;
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation a {
    display: block;
    width: 100%;
    padding: 11px 3px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 12px;
  }

  .nav-account {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav-user-pill {
    justify-content: center;
  }

  .nav-logout {
    text-align: center;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .hero-visual {
    min-height: 295px;
  }

  .hero-ornament {
    width: 265px;
    height: 265px;
  }

  .hero-image-card {
    width: 88%;
    margin-left: 4%;
  }

  .hero-poster {
    min-height: 215px;
    padding: 22px 23px 18px;
  }

  .hero-poster strong {
    font-size: 34px;
  }

  .hero-note-card {
    right: 0;
    width: 185px;
  }

  .quick-strip-inner {
    grid-template-columns: 1fr;
  }

  .quick-strip a {
    min-height: 51px;
    border-right: 0;
    border-bottom: 1px solid #ffffff1f;
  }

  .section {
    padding: 62px 0;
  }

  .heading-with-aside,
  .contact-banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .empty-state {
    grid-template-columns: 1fr;
  }

  .jobs-card {
    padding: 20px 16px;
  }

  .jobs-filter-wrap {
    width: 100%;
  }

  .jobs-filter-wrap select {
    flex: 1;
  }

  .job-modal-meta {
    grid-template-columns: 1fr;
  }

  .step-grid,
  .documents-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .site-footer address {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  .utility-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .site-footer address {
    grid-column: auto;
  }
}

/* Staff access button */
.nav-staff-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #b78d43;border-radius:4px;color:#b78d43;background:#fffaf0;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap;cursor:pointer;position:relative;z-index:20;pointer-events:auto}.nav-staff-button:hover{color:#fff;background:#152b49;border-color:#152b49}@media(max-width:760px){.nav-staff-button{width:100%;margin-top:8px}}
`r`n
/* Jobs listing page */
.page-hero{padding:54px 0 42px;background:linear-gradient(115deg,#f8f7f3,#eef2f1);border-bottom:1px solid #e3e8e7}.page-hero h1{margin:7px 0 8px;color:var(--navy);font-family:Georgia,"Noto Sans Thai",serif;font-size:38px;letter-spacing:-.02em}.page-hero p:not(.section-kicker){max-width:680px;margin:0;color:var(--muted);font-size:15px}.jobs-page-section{padding-top:42px;padding-bottom:76px;background:#f7f8f7}.primary-navigation .active{color:var(--navy);font-weight:800}@media(max-width:600px){.page-hero{padding:38px 0 30px}.page-hero h1{font-size:30px}}

/* Primary apply action in navigation */
.nav-apply-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border:1px solid #b78d43;border-radius:5px;color:#fff!important;background:#b78d43;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap;box-shadow:0 4px 10px #b78d4326;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.nav-apply-button span{font-size:14px;line-height:1}.nav-apply-button:hover{color:#fff!important;background:#8e6a2f;border-color:#8e6a2f;transform:translateY(-1px);box-shadow:0 7px 14px #8e6a2f30}.portal-nav .nav-apply-button,.auth-nav .nav-apply-button{padding:8px 13px;background:#e4c987;border-color:#e4c987;color:#10213a!important;box-shadow:none}.portal-nav .nav-apply-button:hover,.auth-nav .nav-apply-button:hover{background:#f0d99e;border-color:#f0d99e;color:#10213a!important}@media(max-width:760px){.nav-apply-button{width:100%;margin-top:6px}.portal-nav .nav-apply-button,.auth-nav .nav-apply-button{width:auto;margin-top:0}}
.site-header .brand{min-width:0}
.site-header .brand-copy{min-width:0}
.site-header .brand-emblem{display:flex!important;flex:0 0 54px!important;width:54px!important;height:64px!important;max-width:54px!important;max-height:64px!important;padding:2px!important;overflow:hidden!important;align-items:center!important;justify-content:center!important;border:1px solid #b78d438c!important;border-radius:50%!important;background:#fff!important;box-shadow:0 3px 12px #152b4926!important}
.site-header .brand-emblem img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
@media(max-width:760px){.site-header .brand-emblem{flex-basis:44px!important;width:44px!important;height:52px!important;max-width:44px!important;max-height:52px!important}}
.site-header,.utility-bar{font-size:1rem}.utility-bar{font-size:13px}.primary-navigation{gap:clamp(10px,1.2vw,18px);flex-wrap:nowrap}.nav-link,.nav-cta,.nav-staff-button,.nav-apply-button{font-size:15px;white-space:nowrap}.nav-staff-button,.nav-apply-button,.nav-cta{padding:8px 15px}.nav-account{gap:8px;padding-left:10px;flex-shrink:0}.nav-user-pill,.nav-logout{font-size:15px;padding:6px 10px;white-space:nowrap}.brand-copy strong{font-size:17px;white-space:nowrap}.brand-copy small{font-size:15px;white-space:nowrap}@media(max-width:1080px){.primary-navigation{gap:10px}.nav-link,.nav-cta,.nav-staff-button,.nav-apply-button{font-size:12.5px}.nav-staff-button,.nav-apply-button,.nav-cta{padding:7px 10px}.brand-copy strong{font-size:15px}}.hero-lead{font-size:18px}.hero-assurance strong{font-size:16px}.hero-assurance small{font-size:15px}.section-intro,.documents-copy>p,.faq-intro>p,.contact-banner p{font-size:15px}.step-card p,.checklist-note,.faq-item p{font-size:16px}.faq-item summary{font-size:15px}.footer-main,.footer-bottom{font-size:13px}
.site-footer .footer-mark{display:flex!important;flex:0 0 62px!important;width:62px!important;height:62px!important;max-width:62px!important;max-height:62px!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:2px!important;border:1px solid #e4c987a6!important;border-radius:50%!important;background:#fff!important;box-shadow:inset 0 0 0 3px #fff, inset 0 0 0 4px #b78d4373!important}.site-footer .footer-mark img{display:block!important;width:54px!important;height:58px!important;max-width:54px!important;max-height:58px!important;object-fit:contain!important;border-radius:50%!important}@media(max-width:760px){.site-footer .footer-mark{flex-basis:48px!important;width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important}.site-footer .footer-mark img{width:42px!important;height:45px!important;max-width:42px!important;max-height:45px!important}}
.footer-contact-main{padding-inline:0}.footer-contact-main .button-light{color:var(--navy)}@media(max-width:760px){.footer-contact-main{align-items:flex-start;flex-direction:column;padding-block:24px}.footer-contact-main .button-light{width:100%;min-width:0}}
.site-header .primary-navigation{margin-left:clamp(32px,6vw,90px)}@media(max-width:760px){.site-header .primary-navigation{margin-left:0}}
.pdf-download-list{display:grid;gap:9px;margin:14px 0 17px}.pdf-download-list a{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:10px 12px;border:1px solid #e4e8e8;border-radius:8px;color:var(--navy);background:#fff;text-decoration:none;transition:.18s}.pdf-download-list a:hover{border-color:var(--gold);background:#fffaf0;transform:translateY(-1px)}.pdf-download-list a>span{grid-row:span 2;padding:4px 6px;border-radius:4px;color:#fff;background:#b34b43;font-size:10px;font-weight:800}.pdf-download-list strong{font-size:13px}.pdf-download-list small{color:var(--muted);font-size:11px}
body{font-size:15px}.hero-lead{font-size:17px}.section-intro,.documents-copy>p,.faq-intro>p{font-size:15px}.checklist li,.faq-item p{font-size:15px}


/* ==========================================================================\n   Modern homepage refresh\n   จำกัดผลกระทบไว้เฉพาะ index.php ที่ใช้ body.home-page\n   ========================================================================== */
.home-page {
  --home-radius: 18px;
  --home-radius-sm: 12px;
  --home-shadow: 0 20px 55px rgba(16, 33, 58, 0.12);
  --home-shadow-hover: 0 24px 65px rgba(16, 33, 58, 0.18);
  background: #f7f9fb;
}

.home-page ::selection {
  color: #fff;
  background: var(--green);
}

.home-page .site-header {
  border-bottom-color: rgba(21, 43, 73, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px rgba(16, 33, 58, 0.05);
}

.home-page .brand-emblem {
  border-color: rgba(183, 141, 67, 0.35);
  box-shadow: 0 7px 20px rgba(21, 43, 73, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .brand:hover .brand-emblem {
  transform: rotate(-3deg) translateY(-2px);
  box-shadow: 0 10px 25px rgba(21, 43, 73, 0.2);
}

.home-page .nav-link,
.home-page .nav-cta,
.home-page .nav-staff-button,
.home-page .nav-apply-button,
.home-page .nav-register-button,
.home-page .nav-logout {
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.home-page .nav-link {
  padding: 9px 11px;
}

.home-page .nav-link:hover {
  background: #f0f5f3;
  color: var(--green);
}

.home-page .nav-apply-button {
  box-shadow: 0 7px 16px rgba(183, 141, 67, 0.22);
}

.home-page .nav-cta {
  border-color: rgba(21, 43, 73, 0.22);
  color: var(--navy);
  background: #eef3f8;
  box-shadow: 0 5px 14px rgba(21, 43, 73, 0.08);
}

.home-page .nav-cta:hover {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.home-page .nav-staff-button {
  border-color: rgba(47, 111, 96, 0.48);
  color: var(--green);
  background: #edf7f3;
  box-shadow: 0 5px 14px rgba(47, 111, 96, 0.08);
}

.home-page .nav-staff-button:hover {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.home-page .nav-register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--navy);
  color: #fff;
  background: var(--navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(21, 43, 73, 0.16);
}

.home-page .nav-register-button span {
  color: var(--gold-light, #e4c987);
}

.home-page .nav-register-button:hover {
  border-color: #0d1d32;
  color: #fff;
  background: #0d1d32;
  transform: translateY(-2px);
}

.home-page .nav-logout {
  border-color: rgba(164, 77, 70, 0.35);
  color: #8f3e39;
  background: #fff7f5;
}

.home-page .nav-logout:hover {
  border-color: #a14f4a;
  color: #7d302c;
  background: #faecea;
}

.home-page .nav-apply-button:hover,
.home-page .nav-cta:hover,
.home-page .nav-staff-button:hover,
.home-page .nav-register-button:hover {
  transform: translateY(-2px);
}

.home-page .hero {
  isolation: isolate;
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 83% 18%, rgba(228, 201, 135, 0.22), transparent 25%),
    radial-gradient(circle at 5% 86%, rgba(20, 97, 77, 0.1), transparent 28%),
    linear-gradient(125deg, #fcfbf8 0%, #f6f8f7 52%, #edf3f1 100%);
}

.home-page .hero::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: -120px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(20, 97, 77, 0.12);
  border-radius: 50%;
  content: "";
}

.home-page .hero-grid {
  gap: 84px;
}

.home-page .hero h1 {
  max-width: 650px;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.home-page .hero h1 span {
  background: linear-gradient(90deg, var(--green), #1e8064);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-page .hero-lead {
  max-width: 590px;
  color: #536477;
}

.home-page .button,
.home-page .text-link,
.home-page .light-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease,
    background 0.2s ease;
}

.home-page .button-primary {
  border-radius: 12px;
  background: linear-gradient(135deg, #193b60, #152b49);
  box-shadow: 0 12px 24px rgba(21, 43, 73, 0.2);
}

.home-page .button-primary:hover {
  box-shadow: 0 16px 30px rgba(21, 43, 73, 0.28);
}

.home-page .text-link:hover,
.home-page .light-link:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.home-page .hero-assurance {
  margin-top: 42px;
  padding: 13px 16px 13px 12px;
  width: fit-content;
  border: 1px solid rgba(20, 97, 77, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 25px rgba(16, 33, 58, 0.05);
}

.home-page .hero-image-card {
  border-radius: 22px;
  box-shadow: var(--home-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-page .hero-image-card:hover {
  transform: rotate(-1deg) translateY(-5px);
  box-shadow: var(--home-shadow-hover);
}

.home-page .hero-poster {
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(27, 56, 85, 0.95), rgba(16, 35, 62, 0.98) 68%, rgba(28, 85, 81, 0.96)),
    radial-gradient(circle at 75% 15%, rgba(228, 201, 135, 0.3), transparent 28%);
}

.home-page .hero-poster.has-custom-image {
  padding: 0;
  overflow: hidden;
}

.home-page .hero-poster.has-custom-image img {
  display: block;
  width: 100%;
  height: 278px;
  object-fit: cover;
}

.home-page .hero-note-card {
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(16, 33, 58, 0.16);
}

.home-page .hero-seal {
  box-shadow: 0 12px 25px rgba(16, 33, 58, 0.1);
}

.home-page .home-banner {
  padding: 36px 0 8px;
  background: #f7f9fb;
}

.home-page .home-banner-frame {
  min-height: 210px;
  border: 1px solid rgba(21, 43, 73, 0.08);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.home-page .home-banner-slide {
  min-height: 210px;
}

.home-page .section {
  padding: 100px 0;
}

.home-page .section-heading h2,
.home-page .documents-copy h2,
.home-page .faq-intro h2 {
  letter-spacing: -0.025em;
}

.home-page .step-grid {
  gap: 22px;
  margin-top: 44px;
}

.home-page .step-card {
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(21, 43, 73, 0.08);
  border-radius: var(--home-radius);
  box-shadow: 0 8px 25px rgba(16, 33, 58, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-page .step-card::after {
  position: absolute;
  right: -35px;
  bottom: -55px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(183, 141, 67, 0.13);
  border-radius: 50%;
  content: "";
}

.home-page .step-card:hover {
  border-color: rgba(183, 141, 67, 0.38);
  box-shadow: var(--home-shadow);
  transform: translateY(-6px);
}

.home-page .step-icon,
.home-page .checklist-symbol,
.home-page .checkmark {
  transition: transform 0.25s ease, background 0.25s ease;
}

.home-page .step-card:hover .step-icon {
  background: #e1f0e9;
  transform: scale(1.08) rotate(4deg);
}

.home-page .documents-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 18%, rgba(228, 201, 135, 0.13), transparent 25%),
    linear-gradient(135deg, #152b49, #10213a 70%, #143f3d);
}

.home-page .documents-section::after {
  position: absolute;
  right: -150px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(228, 201, 135, 0.18);
  border-radius: 50%;
  content: "";
}

.home-page .documents-grid {
  position: relative;
  z-index: 1;
}

.home-page .checklist-card {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--home-radius);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.home-page .pdf-download-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.home-page .pdf-download-list a {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 1px 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e7ebef;
  border-radius: var(--home-radius-sm);
  background: #fbfcfd;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-page .pdf-download-list a:hover {
  border-color: rgba(20, 97, 77, 0.28);
  background: #f5faf7;
  box-shadow: 0 8px 20px rgba(16, 33, 58, 0.07);
  transform: translateX(4px);
}

.home-page .pdf-download-list a > span {
  grid-row: span 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: #a56f1b;
  background: #fff4d9;
  font-size: 10px;
  font-weight: 900;
}

.home-page .pdf-download-list strong {
  color: var(--navy);
  font-size: 13px;
}

.home-page .pdf-download-list small {
  color: #7c8795;
  font-size: 11px;
}

.home-page .faq-section {
  background: #fff;
}

.home-page .faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  box-shadow: 0 8px 28px rgba(16, 33, 58, 0.04);
}

.home-page .faq-item {
  padding: 0 18px;
  background: #fff;
  transition: background 0.2s ease;
}

.home-page .faq-item:hover,
.home-page .faq-item[open] {
  background: #fbfcfa;
}

.home-page .faq-item summary {
  padding: 20px 4px;
}

.home-page .faq-item summary::after {
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-page .faq-item[open] summary::after {
  color: #fff;
  background: var(--green);
  transform: rotate(180deg);
}

.home-page .site-footer {
  background: linear-gradient(135deg, #10213a, #0d1c31);
}

.home-page .footer-main {
  min-height: 155px;
}

.home-page .footer-brand strong {
  font-size: 15px;
}

.home-page .footer-contact a,
.home-page .footer-bottom a {
  transition: color 0.2s ease;
}

.home-page .footer-contact a:hover,
.home-page .footer-bottom a:hover {
  color: #fff;
}

.home-page :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(228, 201, 135, 0.85);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .home-page .hero {
    padding: 60px 0 68px;
  }

  .home-page .hero-grid {
    gap: 42px;
  }

  .home-page .hero-assurance {
    width: 100%;
  }

  .home-page .home-banner {
    padding-top: 24px;
  }

  .home-page .home-banner-frame,
  .home-page .home-banner-slide {
    min-height: 150px;
  }

  .home-page .section {
    padding: 72px 0;
  }

  .home-page .step-card {
    min-height: 220px;
  }

  .home-page .checklist-card {
    padding: 22px 18px;
  }

  .home-page .pdf-download-list a {
    grid-template-columns: 40px 1fr;
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Interactive homepage announcement slider */
.home-page .home-banner-frame {
  min-height: 0;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(21, 43, 73, 0.1);
  box-shadow: 0 24px 60px rgba(16, 33, 58, 0.14);
  isolation: isolate;
}

.home-banner-slides,
.home-banner-item,
.home-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-banner-slides { overflow: hidden; }

.home-banner-item {
  z-index: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition: opacity 0.7s ease, transform 5.8s ease, visibility 0.7s ease;
}

.home-banner-item.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.home-banner-image {
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-banner-item::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 22, 42, 0.72));
}

.home-banner-caption {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 28px;
  left: 32px;
  display: grid;
  gap: 4px;
  max-width: min(560px, calc(100% - 64px));
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.5s ease 0.18s, transform 0.5s ease 0.18s;
}

.home-banner-item.is-active .home-banner-caption {
  transform: translateY(0);
  opacity: 1;
}

.home-banner-caption-kicker {
  color: #f6d98f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-banner-caption strong {
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.25;
}

.home-banner-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(16, 33, 58, 0.58);
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-banner-control:hover {
  background: var(--green);
  box-shadow: 0 8px 18px rgba(16, 33, 58, 0.25);
  transform: translateY(-50%) scale(1.06);
}

.home-banner-prev { left: 18px; }
.home-banner-next { right: 18px; }

.home-banner-dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.home-banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.home-banner-dot.is-active {
  width: 26px;
  border-radius: 8px;
  background: #f1cf7c;
}

@media (max-width: 760px) {
  .home-page .home-banner-frame { aspect-ratio: 16 / 8; border-radius: 18px; }
  .home-banner-control { width: 34px; height: 34px; font-size: 26px; }
  .home-banner-prev { left: 10px; }
  .home-banner-next { right: 10px; }
  .home-banner-caption { right: 20px; bottom: 24px; left: 20px; max-width: calc(100% - 40px); }
  .home-banner-caption strong { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-banner-item,
  .home-banner-caption,
  .home-banner-control,
  .home-banner-dot { transition: none; }
}

/* ==========================================================================
   Site Builder Unified Theme (Matches Visual Builder Preview & Selected Theme)
   ========================================================================== */
.home-page .site-header,
body:has(.page-hero) .site-header {
  background: linear-gradient(135deg, var(--sb-header-start, var(--sb-primary, #14614d)) 0%, var(--sb-header-end, #10213a) 100%);
  border-bottom: 3px solid var(--sb-accent, #c89a48);
  box-shadow: 0 8px 26px rgba(16, 33, 58, 0.2);
}

.home-page .brand-emblem,
body:has(.page-hero) .brand-emblem {
  background: #ffffff;
  border: 2px solid var(--sb-accent, #e4c987);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.home-page .brand-copy strong,
body:has(.page-hero) .brand-copy strong {
  color: #ffffff;
}

.home-page .brand-copy small,
body:has(.page-hero) .brand-copy small {
  color: rgba(226, 232, 240, 0.85);
}

.home-page .nav-link,
body:has(.page-hero) .nav-link {
  color: #e8f1ee;
}

.home-page .nav-link:hover,
body:has(.page-hero) .nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.home-page .nav-apply-button,
body:has(.page-hero) .nav-apply-button {
  background: var(--sb-accent, #b78d43);
  border-color: var(--sb-accent, #b78d43);
  color: #10213a !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.home-page .nav-apply-button:hover,
body:has(.page-hero) .nav-apply-button:hover {
  filter: brightness(1.07);
  color: #10213a !important;
}

.home-page .nav-staff-button,
.home-page .nav-cta,
body:has(.page-hero) .nav-staff-button,
body:has(.page-hero) .nav-cta {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  box-shadow: none;
}

.home-page .nav-staff-button:hover,
.home-page .nav-cta:hover,
body:has(.page-hero) .nav-staff-button:hover,
body:has(.page-hero) .nav-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.home-page .nav-register-button,
body:has(.page-hero) .nav-register-button {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--sb-primary, #152b49);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.home-page .nav-register-button span {
  color: var(--sb-accent, #b78d43);
}

.home-page .nav-register-button:hover,
body:has(.page-hero) .nav-register-button:hover {
  background: #f8fafc;
  border-color: #f8fafc;
  color: var(--sb-primary, #152b49);
}

.home-page .nav-user-pill,
body:has(.page-hero) .nav-user-pill {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.home-page .nav-logout,
body:has(.page-hero) .nav-logout {
  background: rgba(255, 245, 245, 0.14);
  border-color: rgba(254, 202, 202, 0.45);
  color: #ffe4e6;
}

.home-page .nav-logout:hover,
body:has(.page-hero) .nav-logout:hover {
  background: rgba(254, 202, 202, 0.25);
  color: #ffffff;
}

@media (max-width: 760px) {
  .home-page .menu-toggle,
  body:has(.page-hero) .menu-toggle {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
  }
  .home-page .menu-toggle span,
  body:has(.page-hero) .menu-toggle span {
    background: #ffffff;
  }
  .home-page .primary-navigation.is-open,
  body:has(.page-hero) .primary-navigation.is-open {
    background: linear-gradient(135deg, var(--sb-header-start, var(--sb-primary, #14614d)) 0%, var(--sb-header-end, #10213a) 100%);
    border-bottom: 2px solid var(--sb-accent, #c89a48);
  }
}

/* Unified Dark Theme Hero matching Site Builder Preview */
.home-page .hero {
  background: linear-gradient(135deg, var(--sb-primary, #152b49) 0%, #10213a 100%);
  color: #ffffff;
}

.home-page .hero::before {
  border-color: rgba(255, 255, 255, 0.12);
}

.home-page .hero .eyebrow {
  color: var(--sb-accent, #e4c987);
}

.home-page .hero .eyebrow-mark {
  background: var(--sb-accent, #e4c987);
}

.home-page .hero h1 {
  color: #ffffff;
  text-shadow: none;
}

.home-page .hero h1 span {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #e4c987;
}

.home-page .hero-lead {
  color: #dbe5f0;
}

.home-page .hero .button-primary {
  background: var(--sb-accent, #b78d43);
  color: #10213a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.home-page .hero .button-primary:hover {
  filter: brightness(1.07);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.home-page .hero .text-link {
  color: #e8f1ee;
}

.home-page .hero .text-link:hover {
  color: #e4c987;
}

.home-page .hero-assurance {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.home-page .hero-assurance .assurance-icon {
  background: rgba(20, 97, 77, 0.12);
  color: var(--sb-primary, #152b49);
}

.home-page .hero-assurance strong {
  color: var(--sb-primary, #152b49);
}

.home-page .hero-assurance small {
  color: #475569;
}

.home-page .hero-bottom-line {
  background: linear-gradient(90deg, transparent, var(--sb-accent, #b78d43), transparent);
}

.home-page .hero-ornament {
  border-color: rgba(228, 201, 135, 0.35);
}

.home-page .documents-section {
  background: linear-gradient(135deg, var(--sb-primary, #14614d) 0%, #10213a 100%);
}

.home-page .site-footer,
body:has(.page-hero) .site-footer {
  background: linear-gradient(135deg, var(--sb-footer-start, var(--sb-primary, #14614d)) 0%, var(--sb-footer-end, #10213a) 100%);
  border-top: 2px solid var(--sb-accent, #c89a48);
}

/* Back-to-top floating & footer button */
.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(228, 201, 135, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f0d99e;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.footer-top-btn:hover {
  background: rgba(228, 201, 135, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sb-accent, #b78d43);
  border-radius: 50%;
  background: var(--sb-primary, #152b49);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.18s ease;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}
@media print {
  .scroll-top-btn,
  .footer-top-btn {
    display: none !important;
  }
}
