/* KaeFace design system: fast, accessible and framework-free. */
:root {
  --navy-950: #071a31;
  --navy-900: #0b213d;
  --navy-800: #12365e;
  --blue-700: #135eb3;
  --blue-600: #1673d1;
  --blue-500: #248de0;
  --sky-400: #48b9f2;
  --sky-100: #dff3ff;
  --sky-50: #f2f9ff;
  --white: #ffffff;
  --ink: #12243a;
  --muted: #5a6c82;
  --line: #d7e4f1;
  --line-strong: #bdcfe1;
  --success: #087653;
  --success-soft: #e4f7ef;
  --warning: #99500b;
  --warning-soft: #fff4dd;
  --danger: #b42335;
  --shadow-sm: 0 10px 30px rgba(9, 36, 66, 0.08);
  --shadow-lg: 0 28px 70px rgba(9, 36, 66, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --font-thai: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-thai);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-900);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f4a62a;
  outline-offset: 3px;
}

::selection {
  color: var(--navy-950);
  background: var(--sky-100);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 96px;
}

.section-sm {
  padding-block: 64px;
}

.section-soft {
  background: var(--sky-50);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(72, 185, 242, 0.18), transparent 25%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 3px;
  background: var(--sky-400);
  border-radius: 999px;
  content: "";
}

.section-dark .eyebrow,
.hero .eyebrow {
  color: #9bdcff;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 6vw, 4.65rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.section-dark h2,
.section-dark h3,
.hero h1 {
  color: var(--white);
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.section-dark .lead,
.hero .lead {
  color: #c7d9eb;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .lead {
  margin-inline: auto;
}

.section-heading.center .eyebrow::before {
  display: none;
}

.text-muted {
  color: var(--muted);
}

.text-small {
  font-size: 0.9rem;
}

.site-notice {
  padding: 8px 20px;
  color: #d9ecff;
  background: var(--navy-950);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(215, 228, 241, 0.85);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-700), var(--sky-400));
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(19, 94, 179, 0.25);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  place-items: center;
}

.site-nav,
.nav-list,
.nav-actions {
  display: flex;
  align-items: center;
}

.site-nav {
  flex: 1;
  justify-content: space-between;
  gap: 24px;
}

.nav-list {
  margin: 0 auto;
  padding: 0;
  gap: 5px;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 9px 13px;
  color: #334960;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--blue-700);
  background: var(--sky-50);
}

.nav-actions {
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-950);
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  color: var(--white);
  background: var(--blue-700);
  border: 1px solid var(--blue-700);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(19, 94, 179, 0.2);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: 0 14px 30px rgba(9, 36, 66, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn-secondary:hover {
  color: var(--blue-700);
  background: var(--sky-50);
  border-color: var(--blue-500);
}

.btn-light {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--white);
}

.btn-light:hover {
  color: var(--navy-900);
  background: var(--sky-100);
  border-color: var(--sky-100);
}

.btn-ghost-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-sm {
  min-height: 42px;
  padding: 8px 15px;
  font-size: 0.9rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 12%, rgba(72, 185, 242, 0.24), transparent 26%),
    radial-gradient(circle at 8% 92%, rgba(36, 141, 224, 0.17), transparent 30%),
    linear-gradient(135deg, var(--navy-950) 0%, #0a2b4f 60%, #0c3b68 100%);
}

.hero::after {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -220px;
  bottom: -230px;
  border: 58px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  content: "";
}

.hero-home {
  padding-block: 96px 100px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
  align-items: center;
  gap: clamp(45px, 7vw, 90px);
}

.hero-copy .lead {
  max-width: 660px;
  margin-bottom: 30px;
}

.hero-copy .button-row {
  margin-bottom: 32px;
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  color: #b9d5e9;
  font-size: 0.92rem;
  list-style: none;
}

.trust-inline li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-inline li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--navy-950);
  background: var(--sky-400);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
  place-items: center;
}

.hero-panel {
  position: relative;
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-panel::before {
  position: absolute;
  z-index: -1;
  inset: -16px 28px 16px -16px;
  background: rgba(72, 185, 242, 0.09);
  border: 1px solid rgba(72, 185, 242, 0.18);
  border-radius: inherit;
  content: "";
}

.panel-kicker {
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.problem-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.problem-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--sky-50);
  border: 1px solid #e1edf7;
  border-radius: 13px;
  font-weight: 700;
}

.problem-list .status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: var(--sky-400);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--sky-100);
}

.panel-security {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 15px;
  color: #28523f;
  background: var(--success-soft);
  border-radius: 13px;
  font-size: 0.88rem;
}

.security-symbol {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: var(--white);
  background: var(--success);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
  place-items: center;
}

.independent-banner {
  padding-block: 17px;
  color: #29435d;
  background: #e9f5ff;
  border-bottom: 1px solid #cce6f9;
  font-size: 0.93rem;
  font-weight: 700;
  text-align: center;
}

.independent-banner strong {
  color: var(--navy-950);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -1px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat {
  padding: 26px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--navy-950);
  font-size: 1.12rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(9, 36, 66, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  border-color: #b8d9ef;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--blue-700);
  background: var(--sky-100);
  border-radius: 15px;
  font-size: 0.92rem;
  font-weight: 900;
  place-items: center;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-weight: 800;
  text-decoration: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 25px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  counter-increment: steps;
}

.step::before {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 25px;
  color: var(--navy-950);
  background: var(--sky-400);
  border-radius: 13px;
  content: "0" counter(steps);
  font-size: 0.84rem;
  font-weight: 900;
  place-items: center;
}

.step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 45px;
  right: -18px;
  width: 18px;
  height: 1px;
  background: rgba(155, 220, 255, 0.55);
  content: "";
}

.step p {
  margin-bottom: 0;
  color: #c7d9eb;
  font-size: 0.92rem;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 7vw, 84px);
}

.feature-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-list .mini-icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--blue-700);
  background: var(--sky-100);
  border-radius: 13px;
  font-size: 0.75rem;
  font-weight: 900;
  place-items: center;
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-950);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.safety-card {
  position: sticky;
  top: 130px;
  padding: 36px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(72, 185, 242, 0.3), transparent 28%),
    var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.safety-card h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.safety-card p {
  color: #c7d9eb;
}

.do-not-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.do-not-list li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.do-not-list li::before {
  position: absolute;
  top: 15px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  color: #bce7ff;
  border: 1px solid rgba(72, 185, 242, 0.6);
  border-radius: 50%;
  content: "×";
  font-weight: 900;
  place-items: center;
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq-list details + details {
  margin-top: 12px;
}

.faq-list details[open] {
  border-color: #acd7f2;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  color: var(--navy-950);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--blue-700);
  background: var(--sky-100);
  border-radius: 9px;
  content: "+";
  line-height: 1;
  transform: translateY(-50%);
  place-items: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: clamp(30px, 5vw, 52px);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(72, 185, 242, 0.28), transparent 30%),
    linear-gradient(130deg, var(--navy-950), var(--blue-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.cta-band p {
  max-width: 650px;
  margin-bottom: 0;
  color: #d6e8f8;
}

.page-hero {
  padding-block: 70px 76px;
}

.page-hero .container {
  max-width: 980px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.breadcrumbs {
  margin-bottom: 22px;
  color: #a9c9e2;
  font-size: 0.88rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: #6d9cbe;
  content: "/";
}

.breadcrumbs a {
  color: #d9efff;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-detail {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 9px 28px rgba(9, 36, 66, 0.05);
}

.service-detail .number {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--blue-700);
  background: var(--sky-100);
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 900;
  place-items: center;
}

.service-detail ul {
  margin: 3px 0 20px;
  padding-left: 22px;
  color: var(--muted);
}

.service-detail .disclaimer-note {
  margin-top: auto;
}

.disclaimer-note {
  padding: 14px 16px;
  color: #6e430f;
  background: var(--warning-soft);
  border-left: 4px solid #e3a437;
  border-radius: 8px 12px 12px 8px;
  font-size: 0.87rem;
}

.official-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 20px;
  padding: 22px;
  background: var(--sky-50);
  border: 1px solid #cce7f8;
  border-radius: 16px;
}

.official-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.official-link {
  flex-shrink: 0;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
  gap: 22px;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border: 2px solid var(--blue-600);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 10px;
  color: var(--blue-700);
  background: var(--sky-100);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.price-card h2 {
  margin-top: 14px;
  font-size: 1.55rem;
}

.price {
  margin: 14px 0 4px;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
}

.price small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.check-list {
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-bottom: 1px solid #edf2f7;
}

.check-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  color: var(--success);
  background: var(--success-soft);
  border-radius: 50%;
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
  place-items: center;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.editable-note {
  max-width: 900px;
  margin: 26px auto 0;
  padding: 16px 20px;
  color: var(--muted);
  background: var(--sky-50);
  border: 1px dashed #9bc9e7;
  border-radius: 14px;
  font-size: 0.9rem;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.67fr) minmax(0, 1.33fr);
  align-items: start;
  gap: 28px;
}

.contact-aside {
  padding: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(72, 185, 242, 0.28), transparent 28%),
    var(--navy-950);
  border-radius: var(--radius-lg);
}

.contact-aside h2,
.contact-aside h3 {
  color: var(--white);
}

.contact-aside p {
  color: #c7d9eb;
}

.contact-channels {
  display: grid;
  margin: 25px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.contact-channels a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
}

.contact-channels a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.contact-channels small {
  color: #a9c9e2;
  font-weight: 600;
}

.contact-aside-hours {
  margin-top: 34px;
}

.form-card {
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-intro {
  margin-bottom: 28px;
  padding: 16px 18px;
  color: #275742;
  background: var(--success-soft);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.form-label {
  color: var(--navy-950);
  font-size: 0.93rem;
  font-weight: 800;
}

.required {
  color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
}

.form-field input,
.form-field select {
  min-height: 50px;
  padding: 10px 13px;
}

.form-field textarea {
  min-height: 160px;
  padding: 13px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(22, 115, 209, 0.11);
  outline: none;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--warning-soft);
  border: 1px solid #f0d7a5;
  border-radius: 13px;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 3px;
  accent-color: var(--blue-700);
}

.checkbox-field label {
  color: #624319;
  font-weight: 800;
}

.checkbox-field.checkbox-neutral {
  background: var(--sky-50);
  border-color: var(--line);
}

.checkbox-field.checkbox-neutral label {
  color: var(--navy-900);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
}

.form-status {
  min-height: 27px;
  margin: 15px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  padding: 12px 14px;
  color: #275742;
  background: var(--success-soft);
  border-radius: 10px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.policy-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}

.policy-nav {
  position: sticky;
  top: 125px;
  padding: 20px;
  background: var(--sky-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.policy-nav strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy-950);
}

.policy-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--blue-700);
}

.policy-content {
  max-width: 780px;
}

.policy-content section + section {
  margin-top: 45px;
  padding-top: 10px;
}

.policy-content h2 {
  font-size: 1.65rem;
}

.policy-content h3 {
  margin-top: 25px;
  font-size: 1.15rem;
}

.policy-content ul,
.policy-content ol {
  padding-left: 24px;
}

.policy-callout {
  margin: 25px 0;
  padding: 20px;
  background: var(--sky-50);
  border: 1px solid #cce7f8;
  border-radius: 15px;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 250px);
  padding-block: 80px;
  place-items: center;
  text-align: center;
}

.error-code {
  margin-bottom: 5px;
  color: var(--blue-600);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
}

.error-page h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.error-page .lead {
  margin-inline: auto;
}

.error-actions {
  justify-content: center;
}

.site-footer {
  padding-top: 64px;
  color: #b8cce0;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, 1fr);
  gap: 45px;
}

.footer-brand .brand {
  margin-bottom: 18px;
  color: var(--white);
}

.footer-brand p {
  max-width: 400px;
  font-size: 0.9rem;
}

.site-footer h2 {
  margin-bottom: 15px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: #b8cce0;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-disclaimer {
  margin-top: 50px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #9db4c9;
  font-size: 0.82rem;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #b8cce0;
}

@media (max-width: 980px) {
  .section {
    padding-block: 78px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 6vw, 3.7rem);
  }

  .card-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-grid > :last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 860px) {
  .site-notice {
    padding-inline: 54px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    width: min(88vw, 390px);
    height: 100dvh;
    padding: 105px 25px 30px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--white);
    box-shadow: -20px 0 50px rgba(7, 26, 49, 0.22);
    transform: translateX(110%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav::before {
    position: absolute;
    top: 25px;
    left: 25px;
    color: var(--navy-950);
    content: "เมนู KaeFace";
    font-size: 1.05rem;
    font-weight: 900;
  }

  .nav-list,
  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list {
    margin: 0;
  }

  .nav-list a {
    padding: 13px 14px;
  }

  .nav-actions {
    margin-top: 16px;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .menu-backdrop {
    position: fixed;
    z-index: 998;
    inset: 0;
    display: none;
    background: rgba(7, 26, 49, 0.58);
  }

  .menu-backdrop.is-visible {
    display: block;
  }

  .hero-grid,
  .feature-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-panel {
    max-width: 650px;
  }

  .safety-card {
    position: static;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .policy-nav {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding-block: 64px;
  }

  .section-sm {
    padding-block: 48px;
  }

  .hero-home {
    padding-block: 68px 74px;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .hero-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .button-row .btn {
    width: 100%;
  }

  .stats-strip,
  .card-grid,
  .steps,
  .service-detail-grid,
  .pricing-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat + .stat {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step::after {
    display: none;
  }

  .official-box,
  .cta-band {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .official-box {
    flex-direction: column;
  }

  .official-link {
    align-self: flex-start;
  }

  .cta-band .button-row {
    width: 100%;
  }

  .cta-band .btn {
    width: 100%;
  }

  .form-field.full {
    grid-column: auto;
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-notice,
  .site-header,
  .site-footer,
  .cta-band,
  .button-row,
  .policy-nav {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  .section,
  .page-hero {
    padding-block: 20px;
  }

  .hero,
  .section-dark {
    color: #000;
    background: #fff;
  }

  .hero h1,
  .section-dark h2,
  .section-dark h3 {
    color: #000;
  }
}
