* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pine-ink);
  background: var(--canvas);
  font-family: var(--heading);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
svg { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.045em; }
h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; }
:focus-visible { outline: 3px solid #368161; outline-offset: 3px; }
.evs-container { width: min(calc(100% - 72px), var(--page-width)); margin-inline: auto; }
.sr-only, .screen-reader-text, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 10;
  inset: 8px auto auto 8px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.button-primary { background: var(--citrus); color: var(--pine-dark); }
.button-primary:hover { background: var(--citrus-hover); }
.button-secondary { background: var(--white); border-color: #c3d1c8; color: var(--pine-dark); }
.button-secondary:hover { background: #edf5ef; border-color: #a9c3b4; }
.button:disabled { opacity: .58; cursor: default; }
.hero {
  color: var(--white);
  background-color: #183c35;
  background-image: linear-gradient(90deg, #0a251fe8 0%, #102a24d8 24%, #10282088 49%, #132e2630 70%, #172e2520 100%), url("halong-bay.webp");
  background-size: cover;
  background-position: center 56%;
}
.hero-inner { min-height: 488px; padding-block: 60px 91px; position: relative; display: flex; align-items: center; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e8f5ed;
  border: 1px solid #e7f7ef4d;
  background: #122e2580;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: .83rem;
  font-weight: 750;
  margin-bottom: 20px;
}
.hero-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--citrus); }
.hero h1 { font-size: clamp(3.2rem, 6.05vw, 5.7rem); line-height: .99; letter-spacing: -.07em; font-weight: 800; }
.hero h1 em { display: inline-block; color: var(--citrus); font-style: normal; padding-bottom: 4px; }
.hero-intro { max-width: 485px; color: #e0eee7; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.55; margin-top: 20px; }
.hero-button { margin-top: 25px; min-height: 50px; }
.hero-help { display: inline-flex; align-items: center; gap: 7px; margin-left: 17px; text-decoration: none; font-size: .92rem; font-weight: 750; }
.image-caption { position: absolute; right: 0; bottom: 65px; background: #0a241fa8; color: #f0f6f0; padding: 6px 10px; border: 1px solid #deefda42; border-radius: 6px; font-size: .78rem; font-weight: 650; }

#main-content .quote-container { position: relative; margin-top: -43px; }
.quote-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px 31px 22px; box-shadow: 0 8px 30px #193d2910; scroll-margin-top: 24px; }
.quote-top { display: flex; align-items: center; gap: 20px; justify-content: space-between; margin-bottom: 22px; }
.quote-top h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.quote-top p, .section-heading p { color: var(--muted); margin-top: 5px; }
.quote-top p { font-size: .92rem; }
.mode-picker {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #eff4ef;
  margin: 0;
  padding: 3px;
}
.mode-picker label { display: grid; position: relative; cursor: pointer; }
.mode-picker input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.mode-picker span { display: grid; place-items: center; padding: 7px 11px; border: 1px solid transparent; border-radius: 6px; font-size: .82rem; line-height: 1.35; font-weight: 800; color: var(--muted); text-align: center; }
.mode-picker input:checked + span { color: var(--green); background: var(--white); border-color: var(--border); box-shadow: 0 1px 2px #28453712; }
.mode-picker input:focus-visible + span { outline: 3px solid #368161; outline-offset: 1px; }

.quote-grid { display: grid; grid-template-columns: 1.1fr 1.13fr 1.42fr 1fr .57fr; gap: 12px; }
.field { display: block; font-weight: 800; font-size: .86rem; min-width: 0; }
.field:has(:disabled) { color: var(--muted); }
.optional { color: var(--muted); font-size: .79rem; font-weight: 600; }
.field select, .field input {
  display: block;
  height: 47px;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #cad8cf;
  border-radius: 8px;
  background-color: #fbfcfa;
  color: var(--pine-ink);
  font-size: .9rem;
  font-weight: 650;
}
.field select {
  appearance: none;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23435a50' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  text-overflow: ellipsis;
}
.field select:invalid { color: var(--muted); }
.field input[type="date"] { padding-inline: 10px; }
.quote-grid:has(#visa-field[hidden]) { grid-template-columns: 1.1fr 1.5fr 1fr .65fr; }
.quote-bottom { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 15px; display: flex; gap: 17px; align-items: center; justify-content: space-between; }
.estimate { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; font-weight: 800; font-size: .93rem; }
.estimate output { font-size: 1.62rem; line-height: 1.15; color: var(--green); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
#quote-note { font-size: .83rem; color: var(--muted); margin-top: 4px; }
.book-button { flex-shrink: 0; min-width: 205px; }
.quote-notice { display: flex; justify-content: center; gap: 8px; align-items: flex-start; text-align: center; color: var(--muted); padding: 14px 12px 0; font-size: .86rem; }
.quote-notice svg { margin-top: 3px; color: var(--green); }
.quote-notice strong { color: var(--pine-ink); }

.section { padding-block: 72px; }
.section-heading { margin-bottom: 29px; }
.section-heading p { margin-top: 10px; max-width: 38rem; }
.service-section { padding-top: 59px; }
.service-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 23px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: #e8f2e9; color: var(--green); margin-bottom: 16px; }
.service-icon svg { width: 23px; height: 23px; }
.service-card p { margin-top: 8px; color: var(--muted); }
.service-card .service-time { color: var(--green); font-size: .92rem; font-weight: 800; }
.text-link { display: inline-block; color: var(--green); text-underline-offset: .21em; font-size: .91rem; font-weight: 800; }
.text-link:hover { color: var(--pine-dark); }
.service-card .text-link { margin-top: auto; padding-top: 15px; }
.process-section { background: #eaf2ea; }
.process-grid { list-style: none; padding: 0; margin: 0; counter-reset: process; }
.process-grid li { counter-increment: process; border-top: 1px solid #bccfbf; padding: 18px 15px 0 0; }
.process-grid li::before {
  content: counter(process);
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: .81rem;
}
.process-grid p { margin-top: 8px; color: var(--muted); }

.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: min(6vw, 70px); }
.faq-layout .section-heading { margin: 0; }
.faq-layout .text-link { margin-top: 15px; }
.faq-list details { padding: 0; border-bottom: 1px solid #cedbd1; }
.faq-list details:first-child { border-top: 1px solid #cedbd1; }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  min-height: 58px;
  padding: 12px 0;
  font-weight: 800;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] svg { transform: rotate(180deg); }
.faq-list details p { color: var(--muted); padding-bottom: 17px; }
.contact-strip { background: #dcece0; padding-block: 34px; }
.contact-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.contact-inner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.contact-inner p { color: var(--muted); margin-top: 6px; }
.contact-inner .button { flex-shrink: 0; }
.reading-page { padding-block: 40px; min-height: 55vh; }
.reading-page h1, .reading-page h2 { margin-bottom: 17px; }

.review-dialog {
  width: min(92vw, 530px);
  max-height: 90vh;
  margin: auto;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 15px;
  color: var(--pine-ink);
  box-shadow: 0 10px 44px #122e2755;
}
.review-dialog::backdrop { background: #0b211ac0; }
.review-dialog h2 { font-size: clamp(1.55rem, 4vw, 2rem); padding-right: 35px; }
.review-dialog dl { margin: 16px 0 12px; }
.review-dialog dl div { display: flex; gap: 12px; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); }
.review-dialog dt, .review-dialog p { color: var(--muted); font-size: .89rem; }
.review-dialog dd { margin: 0; text-align: right; font-weight: 800; font-size: .91rem; }
.review-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.close-form { position: absolute; top: 17px; right: 17px; }
.icon-button { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; background: var(--canvas); border: 1px solid var(--border); color: var(--pine-ink); cursor: pointer; }

@media (max-width: 950px) {
  .evs-container { width: min(calc(100% - 44px), var(--page-width)); }
  .quote-grid, .quote-grid:has(#visa-field[hidden]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-inner { min-height: 440px; }
}
@media (max-width: 680px) {
  .evs-container { width: calc(100% - 32px); }
  .header-row { min-height: 64px; grid-template-columns: 1fr auto; row-gap: 0; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; padding: 7px 0 11px; border-top: 1px solid #effff023; }
  .site-nav a { font-size: .86rem; }
  .wordmark { margin-block: 10px; }
  .brand-icon { width: 35px; height: 35px; }
  .hero { background-position: 57% center; }
  .hero-inner { padding-block: 44px 72px; min-height: 0; }
  .hero h1 { font-size: clamp(2.45rem, 10.3vw, 4.5rem); }
  .hero-kicker { margin-bottom: 15px; }
  .hero-intro { margin-top: 15px; max-width: 420px; }
  .hero-help { margin: 13px 0 0 10px; }
  .image-caption { display: none; }
  .quote-card { padding: 21px 16px 17px; }
  .quote-top { align-items: stretch; flex-direction: column; gap: 13px; margin-bottom: 15px; }
  .mode-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-picker span { padding: 8px 3px; }
  .quote-grid, .quote-grid:has(#visa-field[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .quote-grid .field:has(#passport, #visa-type, #service-speed) { grid-column: 1 / -1; }
  .field select, .field input { font-size: 1rem; }
  .quote-bottom { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 12px; }
  .quote-notice { text-align: left; }
  .section { padding-block: 45px; }
  .service-grid, .process-grid, .faq-layout { grid-template-columns: 1fr; gap: 15px; }
  .section-heading { margin-bottom: 20px; }
  .faq-layout { gap: 19px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (max-width: 390px) {
  .hero-help { display: flex; width: fit-content; margin-left: 0; }
  .quote-grid input[type="date"] { font-size: .88rem; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.evs-resources { border-top: 1px solid var(--border); }
.evs-resource-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
}
.evs-resource-grid a { display: flex; align-items: center; min-height: 44px; }
.mode-picker span { min-height: 44px; }
.icon-button { width: 44px; height: 44px; }
.hero-help { min-height: 44px; }