/* =========================================================
   ベトナム航空 旅行ガイド — Affiliate Landing Demo
   Shared design system (class contract for all pages)
   Palette: deep aviation blue + lotus gold accent
   ========================================================= */

:root {
  --blue-900: #0b3d75;
  --blue-700: #155aa8;
  --blue-500: #1f7ad1;
  --gold-500: #f4b400;
  --gold-600: #d99e00;
  --ink-900: #1f2933;
  --ink-600: #51606e;
  --ink-400: #7b8794;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f8fd;
  --bg-soft-2: #eef4fb;
  --green-700: #137333;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(16, 42, 76, .08);
  --shadow: 0 8px 28px rgba(16, 42, 76, .12);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-700); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Demo ribbon (remove in production) ---------- */
.demo-ribbon {
  background: #102a4c;
  color: #cfe0f5;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .02em;
  padding: 6px 12px;
}
.demo-ribbon strong { color: #ffd86b; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 16px;
}
.site-header__brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--blue-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.site-header__badge {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-400);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--bg-soft);
}
.site-nav {
  display: flex;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 600;
}
.site-nav a { color: var(--ink-600); text-decoration: none; }
.site-nav a:hover { color: var(--blue-700); }
.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12.5px;
  color: var(--blue-700) !important;
  background: var(--bg-soft);
}
.lang-switch:hover { background: var(--bg-soft-2); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(11, 61, 117, .92), rgba(31, 122, 209, .82)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23ffffff10' stroke-width='1'/%3E%3C/svg%3E");
  color: #fff;
  padding: 56px 0 64px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: .01em;
}
.hero__lead {
  font-size: clamp(15px, 2vw, 18px);
  max-width: 720px;
  color: #eaf3fc;
  margin: 0 0 28px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: #d7e7f8;
}
.hero__meta span::before { content: "✓ "; color: var(--gold-500); font-weight: 700; }

/* ---------- CTA buttons ---------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-500);
  color: #3a2a00;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(244, 180, 0, .4);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { background: var(--gold-600); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(244, 180, 0, .5); }
.btn-cta--lg { font-size: 17px; padding: 16px 32px; }
.btn-cta--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .6);
  box-shadow: none;
}
.btn-cta--outline:hover { background: rgba(255, 255, 255, .12); }
.btn-cta__arrow { font-size: 1.1em; transition: transform .12s ease; }
.btn-cta:hover .btn-cta__arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section--soft { background: var(--bg-soft); }
.section__title {
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 800;
  color: var(--blue-900);
  margin: 0 0 10px;
  letter-spacing: .01em;
}
.section__title::before {
  content: "";
  display: inline-block;
  width: 6px; height: 22px;
  background: var(--gold-500);
  border-radius: 3px;
  margin-right: 12px;
  vertical-align: -3px;
}
.section__subtitle { color: var(--ink-600); margin: 0 0 28px; font-size: 15px; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 16px; color: var(--ink-900); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.step {
  position: relative;
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 20px 70px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 18px;
  width: 36px; height: 36px;
  background: var(--blue-700);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; color: var(--blue-900); }
.step p { margin: 0; color: var(--ink-600); font-size: 14.5px; }

/* ---------- Spec / data tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 520px;
  background: #fff;
}
.spec-table caption {
  caption-side: bottom;
  text-align: left;
  color: var(--ink-400);
  font-size: 12.5px;
  padding: 8px 4px 0;
}
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--bg-soft-2); color: var(--blue-900); font-weight: 700; }
.spec-table tbody tr:nth-child(even) { background: #fafcff; }
.spec-table tbody tr:hover { background: #f0f6fd; }
.spec-table .em { font-weight: 700; color: var(--blue-900); }

/* ---------- Feature / tips grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-card__icon {
  width: 44px; height: 44px;
  background: var(--bg-soft-2);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16.5px; color: var(--blue-900); }
.feature-card p { margin: 0; font-size: 14px; color: var(--ink-600); }

/* ---------- Callout / note ---------- */
.note {
  background: #fff8e6;
  border: 1px solid #f4dca0;
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  color: #6b5300;
  margin: 22px 0;
}
.note strong { color: #4a3900; }

/* ---------- Trust badges ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  box-shadow: var(--shadow-sm);
}
.trust-badge::before { content: "✓"; color: var(--green-700); font-weight: 800; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  color: #fff;
  border-radius: 18px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-banner__title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; margin: 0 0 10px; }
.cta-banner__text { color: #dcebfb; margin: 0 0 24px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.faq__q { font-weight: 700; color: var(--blue-900); margin: 0 0 8px; font-size: 15.5px; }
.faq__q::before { content: "Q. "; color: var(--gold-600); }
.faq__a { margin: 0; color: var(--ink-600); font-size: 14.5px; }
.faq__a::before { content: "A. "; color: var(--blue-700); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0d2440;
  color: #aebfd4;
  padding: 40px 0 28px;
  font-size: 13.5px;
  margin-top: 20px;
}
.disclosure { max-width: 820px; margin: 0 0 20px; line-height: 1.9; color: #9fb2c9; font-size: 12.8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.footer-links a { color: #cdd9e8; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { color: #6f84a0; font-size: 12px; margin: 0; }

/* ---------- Generic helpers ---------- */
.stack-sm > * + * { margin-top: 12px; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero { padding: 40px 0 46px; }
  .section { padding: 40px 0; }
  .cta-banner { padding: 30px 20px; }
}
