/* Sky Studio — trang tuyển dụng. Tông "bầu trời": xanh trời + mực navy, điểm nhấn vàng / hồng / chanh. */
:root {
  --sky-50:  #F3F8FF;
  --sky-100: #E3EEFF;
  --sky-200: #C7DCFF;
  --sky:     #3D7BFF;
  --sky-600: #2459E8;
  --sky-glow: #8FC4FF;
  --ink:     #0B1533;
  --ink-2:   #33405F;
  --muted:   #5B6785;
  --line:    #D6DFEE;
  --sun:     #FFD84D;
  --pink:    #FF8FC7;
  --lime:    #CBF35B;
  --lilac:   #B8A8FF;
  --paper:   #FFFFFF;
  --error:   #C4321E;
  --error-on-dark: #FFA08C;

  --border: 2px solid var(--ink);
  --pop: 4px 4px 0 var(--ink);
  --pop-lg: 6px 6px 0 var(--ink);
  --radius: 22px;
  --radius-input: 14px;

  --font-display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, "Segoe UI", sans-serif;
  --font-sans: "Be Vietnam Pro", system-ui, "Segoe UI", Roboto, sans-serif;
  --gutter: 18px;
  --section-y: 64px;
  --header-h: 64px;
}
@media (min-width: 769px) { :root { --gutter: 40px; --section-y: 96px; --header-h: 74px; } }
@media (min-width: 1025px) { :root { --gutter: 64px; --section-y: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--sky-50); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.section-ink :focus-visible { outline-color: var(--sun); }

/* Ô chưa điền trong data.mjs (giá trị dạng [ ... ]) */
.todo-inline { display: inline; padding: 0 .35em; border: 1.5px dashed currentColor; border-radius: 6px; opacity: .75; font-style: normal; }

.container { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section-tint { background: var(--sky-100); }
.section-ink { background: var(--ink); color: #EAF1FF; }

.section-head { margin-bottom: 32px; max-width: 720px; }
@media (min-width: 769px) { .section-head { margin-bottom: 48px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-600);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor; transform: rotate(45deg); }
.eyebrow-dark { color: var(--sun); }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.section-lead { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.section-ink .section-lead { color: rgba(234, 241, 255, .75); }
.link { color: var(--sky-600); font-weight: 600; }

/* Chữ highlight như bút dạ quang */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -.12em; right: -.12em; bottom: .06em; height: .42em;
  background: var(--sun); border-radius: .2em; transform: rotate(-1.5deg);
}
.hl-dark { color: var(--ink); margin-left: .14em; }
.hl-dark::after { height: auto; top: .08em; bottom: .02em; background: var(--sky-glow); }

/* Nút */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: var(--border);
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background-color .2s, color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--pop); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 4px 4px 0 var(--sky); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-sky { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.section-ink .btn-sky:hover, .form-card .btn-sky:hover { box-shadow: var(--pop); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }

/* Sticker */
.sticker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: var(--border); border-radius: 999px;
  background: var(--paper); font-size: 14px; font-weight: 700; box-shadow: 3px 3px 0 var(--ink);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 248, 255, .85); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1.5px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { display: inline-flex; width: 38px; height: 38px; border-radius: 12px; align-items: center; justify-content: center; background: var(--sky); border: var(--border); flex: none; }
.brand-mark svg { width: 24px; height: 16px; fill: #fff; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand-pill { display: none; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sun); border: 1.5px solid var(--ink); }
.nav { display: none; gap: 6px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background-color .2s; }
.nav a:hover { background: var(--sky-100); color: var(--ink); }
@media (min-width: 560px) { .brand-pill { display: inline-block; } }
@media (min-width: 1025px) { .nav { display: flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(143, 196, 255, .55), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(255, 143, 199, .22), transparent 70%),
    linear-gradient(180deg, var(--sky-50), #EAF3FF);
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; fill: #fff; opacity: .9; filter: drop-shadow(0 8px 16px rgba(61, 123, 255, .12)); animation: drift 18s ease-in-out infinite alternate; }
.c1 { width: 140px; top: 8%; left: -30px; }
.c2 { width: 90px; top: 62%; right: 4%; animation-duration: 22s; }
.c3 { width: 200px; bottom: -40px; left: 38%; opacity: .7; animation-duration: 26s; }
@keyframes drift { to { transform: translateX(40px); } }

.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-title { margin-top: 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 7vw, 84px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.wave { display: inline-block; color: var(--sky); animation: spin 6s linear infinite; }
.hero-desc { margin-top: 20px; color: var(--ink-2); font-size: 17.5px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; max-width: 520px; }
.hero-stats li { padding: 12px 12px; border: var(--border); border-radius: 16px; background: var(--paper); }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.1; letter-spacing: -.02em; }
.hero-stats span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }

.hero-visual { position: relative; min-height: 400px; }
.polaroids { position: relative; height: 400px; }
.polaroid {
  position: absolute; width: 48%; max-width: 260px; padding: 10px 10px 12px; background: var(--paper);
  border: var(--border); border-radius: 18px; box-shadow: var(--pop-lg);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1.2); animation: bob 5s ease-in-out infinite;
}
.polaroid:hover { z-index: 5; }
.polaroid-art { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 10px; border: 1.5px solid var(--ink); font-size: clamp(44px, 7vw, 64px); }
.polaroid-name { margin-top: 10px; font-weight: 800; font-size: 15px; line-height: 1.25; }
.polaroid-salary { font-size: 13px; font-weight: 600; color: var(--sky-600); }
.polaroid:nth-child(1) { top: 0; left: 0; --r: -6deg; transform: rotate(var(--r)); animation-delay: 0s; }
.polaroid:nth-child(2) { top: 22%; right: 0; --r: 5deg; transform: rotate(var(--r)); animation-delay: -1.2s; }
.polaroid:nth-child(3) { bottom: 0; left: 4%; --r: -2deg; transform: rotate(var(--r)); animation-delay: -2.4s; z-index: 2; }
.polaroid:nth-child(1) .polaroid-art { background: linear-gradient(135deg, var(--sky-200), var(--sky-glow)); }
.polaroid:nth-child(2) .polaroid-art { background: linear-gradient(135deg, #FFE9F4, var(--pink)); }
.polaroid:nth-child(3) .polaroid-art { background: linear-gradient(135deg, #FFF6CC, var(--sun)); }
@keyframes bob { 50% { transform: rotate(var(--r)) translateY(-8px); } }

.float-tag { position: absolute; z-index: 3; padding: 6px 12px; border: var(--border); border-radius: 999px; font-size: 13px; font-weight: 800; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
.ft1 { top: 49%; left: 30%; background: var(--lime); transform: rotate(-8deg); }
.ft2 { top: 4%; right: 6%; background: var(--lilac); transform: rotate(6deg); }
.ft3 { bottom: 6%; right: 0; background: var(--paper); transform: rotate(4deg); max-width: 60%; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 1025px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; }
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-visual, .polaroids { min-height: 540px; height: 540px; }
  .polaroid { max-width: 270px; }
}

/* Marquee */
.marquee { overflow: hidden; background: var(--ink); color: #fff; border-block: var(--border); padding: 14px 0; transform: rotate(-1.2deg); margin: -10px -10px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; padding-right: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); white-space: nowrap; }
.marquee-track .sep { color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Vị trí */
.jobs { display: grid; gap: 20px; }
.job-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.job-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; position: relative;
  min-height: 104px; padding: 14px; border-radius: 18px; border: var(--border);
  background: var(--paper); cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .2s;
}
.job-tab:hover { transform: translate(-2px, -2px); box-shadow: var(--pop); }
.job-emoji { font-size: 26px; line-height: 1; }
.job-name { font-weight: 800; font-size: 15px; line-height: 1.25; margin-top: 4px; }
.job-tag { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.job-tab[aria-selected="true"] { background: var(--sky); color: #fff; box-shadow: var(--pop); transform: translate(-2px, -2px); }
.job-tab[aria-selected="true"] .job-tag { color: rgba(255, 255, 255, .85); }
.job-tab:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 84px; }

.job-panel { background: var(--paper); border: var(--border); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--pop-lg); }
.job-panel:focus-visible { outline-offset: 6px; }
.panel-head { display: flex; align-items: flex-start; gap: 14px; }
.panel-emoji { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 18px; border: var(--border); background: var(--sky-100); font-size: 30px; }
.panel-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--sky-600); background: var(--sky-100); padding: 4px 12px; border-radius: 999px; }
.panel-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin-top: 6px; }
.panel-summary { color: var(--ink-2); font-size: 17px; margin-top: 16px; }
.panel-salary { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: var(--sun); border: var(--border); font-size: 15px; font-weight: 600; transform: rotate(-1deg); }
.panel-salary strong { font-weight: 800; }
.panel-group { margin-top: 26px; }
.panel-group h4 { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.panel-group li { position: relative; padding-left: 26px; margin-top: 8px; color: var(--ink-2); }
.panel-group li::before { content: "✦"; position: absolute; left: 2px; top: 0; color: var(--sky); font-size: 14px; }
.panel-note { margin-top: 26px; background: var(--sky-50); border: 1.5px dashed var(--sky-200); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--ink-2); }
.panel-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.panel-meta span { display: inline-flex; gap: 6px; align-items: center; }
.panel-meta .icon { width: 17px; height: 17px; color: var(--sky); }
.panel-cta { margin-top: 26px; }
.panel-cta .btn { width: 100%; }

@media (min-width: 1025px) {
  .jobs { grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: start; }
  .job-tabs { grid-template-columns: 1fr; gap: 12px; }
  .job-tab { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 0; min-height: 84px; padding: 14px 20px; align-items: center; }
  .job-tab:last-child:nth-child(odd) { grid-column: auto; }
  .job-emoji { grid-row: 1 / 3; font-size: 32px; }
  .job-name { font-size: 17px; margin-top: 0; }
  .job-panel { padding: 44px 48px; min-height: 600px; }
  .panel-cta .btn { width: auto; }
}

/* Quyền lợi — bento */
.bento { display: grid; gap: 14px; }
.tile { position: relative; padding: 24px 22px; border: var(--border); border-radius: var(--radius); background: var(--paper); box-shadow: var(--pop); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: var(--pop-lg); }
.tile-emoji { display: block; font-size: 34px; line-height: 1; }
.tile h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; margin: 18px 0 8px; }
.tile p { font-size: 15px; color: var(--ink-2); }
.tile-sky { background: var(--sky); color: #fff; }
.tile-sky p { color: rgba(255, 255, 255, .9); }
.tile-sun { background: var(--sun); }
.tile-pink { background: var(--pink); }
.tile-lime { background: var(--lime); }
.tile-ink { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--sky); }
.tile-ink p { color: rgba(234, 241, 255, .8); }
@media (min-width: 769px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .tile-wide { grid-column: span 2; }
  .tile-ink.tile-wide { grid-column: auto; }
}
@media (min-width: 1025px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .tile { padding: 30px 28px; min-height: 230px; }
  .tile-wide { grid-column: span 2; }
  .tile-ink.tile-wide { grid-column: span 3; }
  .tile-sky h3 { font-size: 30px; }
}

/* Vibe check */
.vibe-grid { display: grid; gap: 8px; }
.vibe-list { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.vibe-list li {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: var(--border); border-radius: 999px;
  background: var(--paper); font-weight: 600; font-size: 15.5px; transition: transform .2s, background-color .2s;
}
.vibe-list li:nth-child(3n+1):hover { background: var(--sun); }
.vibe-list li:nth-child(3n+2):hover { background: var(--pink); }
.vibe-list li:nth-child(3n):hover { background: var(--lime); }
.vibe-list li:hover { transform: rotate(-2deg) scale(1.03); }
.vibe-list span { font-size: 20px; }
@media (min-width: 1025px) {
  .vibe-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .vibe-grid .section-head { margin-bottom: 0; }
}

/* Hậu trường */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 12px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 18px; border: var(--border); background: var(--sky-200); }
.gallery-item:first-child { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 4px 12px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--ink); font-size: 12.5px; font-weight: 700; }
@media (min-width: 769px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; } }

/* Quy trình */
.steps { display: grid; gap: 14px; }
.step { position: relative; padding: 22px 22px 22px 84px; border: var(--border); border-radius: var(--radius); background: var(--paper); }
.step-num {
  position: absolute; left: 18px; top: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--sky); color: #fff; border: var(--border); font-family: var(--font-display); font-weight: 800; font-size: 18px;
}
.step:nth-child(2) .step-num { background: var(--pink); color: var(--ink); }
.step:nth-child(3) .step-num { background: var(--sun); color: var(--ink); }
.step:nth-child(4) .step-num { background: var(--lime); color: var(--ink); }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (min-width: 1025px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .step { padding: 92px 24px 26px; }
  .step-num { left: 24px; top: 24px; width: 54px; height: 54px; font-size: 20px; }
  .step:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 34px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
}

/* Hỏi đáp */
.faq-grid { display: grid; gap: 8px; }
.faq { display: grid; gap: 12px; }
.faq details { border: var(--border); border-radius: 18px; background: var(--paper); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--pop); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 20px; font-weight: 500; transition: transform .2s, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); font-size: 15.5px; }
@media (min-width: 1025px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; } }

/* Form */
.section-ink { overflow: hidden; }
.section-ink::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 123, 255, .45), transparent 65%); pointer-events: none; }
.apply-grid { position: relative; display: grid; gap: 32px; }
.apply-intro > p { color: rgba(234, 241, 255, .78); font-size: 16px; max-width: 420px; margin-top: 18px; }
.apply-intro .req { color: var(--sun); }
.contact-box { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; border-radius: 18px; border: 2px solid rgba(234, 241, 255, .25); text-decoration: none; max-width: 360px; transition: border-color .2s, transform .2s; }
a.contact-box[href]:hover { border-color: var(--sun); transform: translateY(-2px); }
.contact-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: var(--sun); color: var(--ink); flex: none; }
.contact-box small { display: block; font-size: 13px; color: rgba(234, 241, 255, .7); }
.contact-box strong { font-size: 20px; letter-spacing: .02em; }

.form-card { background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius); padding: 22px 16px; box-shadow: 6px 6px 0 var(--sky); }
@media (min-width: 769px) { .form-card { padding: 40px; border-radius: 28px; } }
@media (min-width: 1025px) {
  .apply-grid { grid-template-columns: 400px minmax(0, 1fr); gap: 64px; align-items: start; }
  .apply-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .form-card { padding: 44px; }
}

.progress { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; margin: -6px -6px 22px; padding: 12px 14px; border-radius: 14px; background: var(--sky-50); border: 1.5px solid var(--line); }
.progress-top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.progress-top strong { color: var(--ink); }
.progress-bar { margin-top: 8px; height: 10px; border-radius: 999px; background: var(--sky-100); border: 1.5px solid var(--ink); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--lilac), var(--pink)); transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.progress.is-done .progress-bar span { background: linear-gradient(90deg, #22C55E, var(--lime)); }
.progress[hidden] { display: none; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { margin-bottom: 22px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 769px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.req { color: var(--sky-600); }
.optional { font-weight: 400; color: var(--muted); font-size: 14px; }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.hint:empty { display: none; }
.hint-right { text-align: right; }
.input {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-input);
  font-size: 16px; /* >=16px để điện thoại không tự zoom */
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #98A2B8; }
.input:hover { border-color: var(--sky-200); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 3px 3px 0 var(--sky); }
input[type="date"].input { min-height: 52px; line-height: 1.4; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230B1533' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.textarea { min-height: 120px; resize: vertical; }
.textarea-sm { min-height: 88px; }
.field.has-error .input, .field.has-error .dropzone { border-color: var(--error); }
.error { color: var(--error); font-size: 14px; margin-top: 6px; font-weight: 600; }
.error:empty { display: none; }

.pos-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 769px) { .pos-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pos-option { position: relative; }
.pos-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pos-option span { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--radius-input); font-size: 14.5px; font-weight: 600; line-height: 1.3; background: #fff; transition: all .15s; }
.pos-option b { font-size: 18px; font-weight: 400; }
.pos-option input:hover + span { border-color: var(--ink); }
.pos-option input:checked + span { background: var(--sky); border-color: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.pos-option input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.field.has-error .pos-option span { border-color: var(--error); }

.radio-group { display: grid; gap: 8px; }
@media (min-width: 769px) { .radio-group { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.radio, .check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.radio { min-height: 54px; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-input); background: #fff; font-size: 15px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.radio:has(input:checked) { border-color: var(--ink); background: var(--sky-50); box-shadow: 3px 3px 0 var(--sky); }
.field.has-error .radio { border-color: var(--error); }
.radio input, .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--sky); flex: none; }
.check { font-size: 14.5px; color: var(--ink-2); }
.check input { margin-top: 2px; }

.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 24px 16px; border: 2px dashed var(--sky-200); border-radius: 16px; background: var(--sky-50); cursor: pointer; transition: border-color .15s, background-color .15s; font-size: 15px; }
.dropzone .icon { width: 30px; height: 30px; color: var(--sky); }
.dropzone small { color: var(--muted); font-size: 13px; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--sky); background: var(--sky-100); }
.dropzone:focus-within { outline: 3px solid var(--sky); outline-offset: 2px; }
.dropzone[hidden] { display: none; }
.dz-desktop { display: none; }
@media (hover: hover) and (pointer: fine) { .dz-desktop { display: inline; } }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius-input); background: var(--sky-50); }
.file-chip[hidden] { display: none; }
.file-chip .icon { color: var(--sky); }
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 500; }
.file-remove { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--muted); }
.file-remove:hover { background: var(--sky-100); color: var(--ink); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { background: #FDECE8; color: var(--error); border: 1.5px solid currentColor; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; font-weight: 600; }
.form-alert a { font-weight: 800; }
.form-alert[hidden] { display: none; }

.spinner { display: none; width: 20px; height: 20px; border: 2.5px solid rgba(11, 21, 51, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.btn[disabled] { opacity: .75; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; padding: 28px 0; }
.success[hidden] { display: none; }
.success:focus { outline: none; }
.success-icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--sun); border: var(--border); box-shadow: var(--pop); font-size: 42px; animation: pop .6s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes pop { from { transform: scale(.3) rotate(-30deg); } }
.success h3 { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -.02em; margin: 22px 0 12px; }
.success p { color: var(--ink-2); max-width: 440px; margin: 0 auto 8px; }
.success .btn { margin-top: 20px; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }

/* Footer */
.site-footer { background: var(--ink); color: #EAF1FF; border-top: 1.5px solid rgba(234, 241, 255, .12); padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 769px) { .site-footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); } }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.footer-brand .brand-mark { border-color: #fff; }
.footer-tag { color: rgba(234, 241, 255, .7); font-size: 14.5px; margin-top: 8px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.socials a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(234, 241, 255, .3); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.footer-list { display: grid; gap: 12px; font-size: 14.5px; color: rgba(234, 241, 255, .85); }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { width: 18px; height: 18px; color: var(--sun); margin-top: 2px; }
.footer-list a { color: var(--sun); }
.footer-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(234, 241, 255, .12); font-size: 13px; color: rgba(234, 241, 255, .55); }
@media (min-width: 1025px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }

/* Nút ứng tuyển dính đáy màn hình (điện thoại) */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px;
  background: var(--sun); color: var(--ink); border: var(--border); box-shadow: var(--pop);
  font-weight: 800; font-size: 16px; text-decoration: none;
  transform: translateY(150%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.mobile-cta.is-shown { transform: translateY(0); }
@media (min-width: 769px) { .mobile-cta { display: none; } }

/* Hiện dần khi cuộn tới */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
