*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  background: #000;
}

.site-header {
  background: #000;
  padding: 16px 24px;
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-header img {
  display: block;
  height: 48px;
  width: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switch__sep {
  color: #666;
  user-select: none;
}
.lang-switch__btn {
  background: transparent;
  border: 1px solid transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.lang-switch__btn:hover {
  color: #ccc;
}
.lang-switch__btn.is-active {
  color: #fff;
  border-color: #666;
  background: rgba(255, 255, 255, 0.08);
}
.lang-switch__btn:focus-visible {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}

html[lang="th"] body {
  font-family: "Sarabun", "Leelawadee UI", Tahoma, Arial, Helvetica, sans-serif;
}
html[lang="th"] .form-title,
html[lang="th"] .card label,
html[lang="th"] .social-block h3 {
  font-family: "Sarabun", Georgia, "Times New Roman", serif;
}
html[lang="th"] .form-title {
  text-transform: none;
  letter-spacing: 0.04em;
}

.tagline-bar {
  background: #fff;
  color: #000;
  text-align: center;
  padding: 10px 16px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.hero {
  position: relative;
  min-height: calc(100vh - 200px);
  padding: 48px 20px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/bg.png") center center / cover no-repeat;
  filter: grayscale(100%) blur(6px);
  transform: scale(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.form-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  color: #000;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.form-required-note {
  margin: 0 0 20px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
}
html[lang="th"] .form-required-note {
  font-family: "Sarabun", "Leelawadee UI", Tahoma, Arial, Helvetica, sans-serif;
}
.label-required {
  color: #a33;
  font-weight: 700;
}
.card label {
  display: block;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.card label + input,
.card .file-row {
  margin-bottom: 18px;
}
.card input[type="text"],
.card input[type="tel"],
.card input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bbb;
  border-radius: 8px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}
.card input[type="text"]::placeholder,
.card input[type="tel"]::placeholder,
.card input[type="email"]::placeholder {
  color: #888;
}

.file-upload {
  position: relative;
}
.file-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.file-upload__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.file-upload__choose {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 1px solid #bbb;
  border-radius: 8px;
  background: #f5f5f5;
  color: #222;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.file-upload__choose:hover {
  background: #eee;
}
.file-upload__choose:focus-visible {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}
.file-upload__name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-upload__name.is-placeholder {
  color: #888;
  font-style: italic;
}
.file-upload__remove {
  flex-shrink: 0;
  padding: 8px 12px;
  border: 1px solid #c44;
  border-radius: 8px;
  background: #fff;
  color: #a33;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.file-upload__remove:hover {
  background: #fff5f5;
}
.file-upload__remove:focus-visible {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}
html[lang="th"] .file-upload__choose,
html[lang="th"] .file-upload__remove,
html[lang="th"] .file-upload__name {
  font-family: "Sarabun", "Leelawadee UI", Tahoma, Arial, Helvetica, sans-serif;
}

.btn-send {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  background: #666;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}
.btn-send:hover {
  background: #555;
}

.site-footer {
  background: #000;
  color: #fff;
  padding: 36px 28px 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-top > div:first-child .social-block {
  margin-top: 24px;
}
.back-top {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.back-top:hover {
  text-decoration: underline;
}
.social-block {
  flex: 1;
  min-width: 200px;
}
.social-block h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}
.social-block img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}
.footer-logo {
  flex-shrink: 0;
}
.footer-logo img {
  display: block;
  height: 44px;
  width: auto;
}
.footer-legal {
  font-size: 12px;
  line-height: 1.5;
  max-width: 520px;
  color: #ccc;
}
.footer-legal a {
  color: #4a9eff;
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}
.copyright {
  margin-top: 12px;
  color: #aaa;
  font-size: 12px;
}
