/* Ethan Vietnam Visa: site styles */
:root {
  --navy: #0f2a44;
  --orange: #e4572e;
  --green: #1f9d55;
  --green-dark: #187d44;
  --light: #f4f8fc;
  --text: #24313f;
  --muted: #5a6876;
  --line: #dde5ee;
  --white: #ffffff;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.accent { color: var(--orange); }
.section { padding: 56px 0; }
.section-light { background: var(--light); }
.section-intro { color: var(--muted); max-width: 40rem; }

/* Buttons: green is for contact buttons only */
.btn {
  display: inline-block;
  max-width: 100%;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background .15s ease;
}
.btn:hover { background: var(--green-dark); }
.btn-small { padding: 8px 12px; font-size: .85rem; }

/* Top bar */
.topbar { background: var(--navy); color: #dbe6f1; font-size: .78rem; line-height: 1.45; padding: 8px 0; text-align: center; }
.topbar p { margin: 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { font-size: 1.05rem; font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.logo .accent { color: var(--orange); }
.nav { order: 3; width: 100%; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { color: var(--navy); text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav a:hover { color: var(--orange); }

/* Hero */
.hero { padding: 40px 0 56px; background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%); }
.hero-grid { display: grid; gap: 36px; align-items: start; }
.badge { display: inline-block; background: rgba(228, 87, 46, .1); color: var(--orange); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.lead { font-size: 1.08rem; }
.cta-block { margin: 24px 0 8px; }
.cta-note { font-size: .88rem; color: var(--muted); margin: 10px 0 6px; }
.text-link { font-weight: 600; color: var(--navy); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ticks li { font-weight: 600; color: var(--navy); font-size: .95rem; }
.ticks li::before { content: "\2713"; color: var(--orange); font-weight: 800; margin-right: 8px; }

.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15, 42, 68, .08); padding: 24px 22px; }
.card-title { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin: 0 0 12px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .amount { font-weight: 700; color: var(--navy); font-size: 1.1rem; white-space: nowrap; }
.price-list .emergency span:first-child { font-weight: 600; color: var(--navy); }
.price-list .emergency .amount { color: var(--orange); font-size: 1.3rem; }
.card-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted); }

/* Prices table */
.table-wrap { margin: 28px 0; }
.prices { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.prices th, .prices td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prices thead th { background: var(--navy); color: var(--white); font-weight: 600; font-size: .92rem; }
.prices tbody th { color: var(--navy); font-weight: 600; }
.prices tbody tr:last-child > * { border-bottom: 0; }
.prices .num { font-weight: 700; color: var(--navy); white-space: nowrap; }
.prices .hot .num:first-of-type, .prices .hot th { color: var(--orange); }

@media (max-width: 599px) {
  .prices, .prices tbody, .prices tr, .prices th, .prices td { display: block; width: 100%; }
  .prices { box-shadow: none; background: transparent; border-radius: 0; }
  .prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .prices tbody tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px; margin-bottom: 14px; }
  .prices tbody th { font-size: 1.05rem; padding: 10px 0 8px; border-bottom: 1px solid var(--line); }
  .prices td { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 0; text-align: right; }
  .prices td::before { content: attr(data-label); color: var(--muted); font-weight: 400; text-align: left; }
  .prices tbody tr:last-child > th { border-bottom: 1px solid var(--line); }
}

/* Speed up */
.speed-box { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 28px 24px; }
.speed-box p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { margin-top: 24px; max-width: 48rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Final CTA */
.final { background: var(--navy); color: var(--white); text-align: center; padding: 56px 0; }
.final h2 { color: var(--white); }

/* Footer */
.site-footer { background: #0b2034; color: #b9c7d6; font-size: .88rem; padding: 32px 0; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--white); }

/* Mobile bottom bar */
.bottom-bar { display: none; }
@media (max-width: 759px) {
  body { padding-bottom: 72px; }
  .bottom-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    background: var(--green);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    padding: 18px 16px;
    text-decoration: none;
    box-shadow: 0 -4px 16px rgba(15, 42, 68, .18);
  }
}

/* Larger screens */
@media (min-width: 760px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .topbar { font-size: .82rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 72px 0; }
}
@media (min-width: 960px) {
  .header-inner { flex-wrap: nowrap; }
  .nav { order: 0; width: auto; gap: 26px; }
  h1 { font-size: 3.1rem; }
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .price-card { padding: 30px 28px; }
}
@media (min-width: 760px) {
  .logo { font-size: 1.3rem; }
  .btn-small { padding: 10px 18px; font-size: .92rem; }
}

/* v2: header extra link, link cards, inner pages */
.nav-extra { display: none; }
@media (min-width: 600px) { .nav .nav-extra { display: inline; } }

.link-cards { display: grid; gap: 14px; margin-top: 20px; }
.link-card { display: block; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 20px 22px; color: var(--navy); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.link-card:hover { border-color: var(--orange); }
.link-card span { color: var(--orange); }
@media (min-width: 760px) { .link-cards { grid-template-columns: repeat(3, 1fr); } }

.breadcrumb { font-size: .85rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "\203A"; margin: 0 6px 0 2px; color: var(--muted); }
.breadcrumb a { color: var(--navy); font-weight: 600; }

.page-hero { padding: 24px 0 48px; background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%); }
.page-hero .lead strong { color: var(--navy); font-weight: 700; }
.page-hero .cta-block { margin-bottom: 0; }

.data-table { width: 100%; border-collapse: collapse; margin: 20px 0 12px; background: var(--white); box-shadow: 0 0 0 1px var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--navy); color: var(--white); font-weight: 600; font-size: .9rem; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody td:first-child { color: var(--navy); font-weight: 600; }
.data-table .num { white-space: nowrap; font-weight: 700; color: var(--navy); }
.table-note { font-size: .9rem; color: var(--muted); }
.local-time { font-weight: 600; color: var(--navy); background: var(--light); border-radius: 10px; padding: 12px 16px; }

.check-list { padding-left: 1.2em; margin: 16px 0 0; }
.check-list li { margin-bottom: 8px; }
.narrow { max-width: 48rem; }
.related { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.related a { font-weight: 600; }

/* v3: big contact button (airport page) */
.btn-lg { display: block; width: 100%; max-width: 30rem; padding: 18px 24px; font-size: 1.15rem; font-weight: 700; }
@media (min-width: 760px) { .btn-lg { font-size: 1.25rem; padding: 20px 32px; } }
