:root {
  --primary: #EF4444;
  --secondary: #3B82F6;
  --primary-light: color-mix(in srgb, var(--primary) 20%, white);
  --primary-dark: color-mix(in srgb, var(--primary) 70%, black);
  --bg: #0c0c11;
  --text: #171717;
  --muted: #6b7280;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Thai', 'Prompt', sans-serif;
  margin: 0;
  color: var(--text);
  background-color: #fff;
  line-height: 1.7;
}

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

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 12, 17, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: #e5e7eb;
  font-weight: 500;
}

.site-nav a.active {
  color: var(--secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.btn-secondary {
  background: #111827;
  color: #fff;
}

.btn-text {
  color: var(--secondary);
}

.btn:hover {
  transform: translateY(-1px);
}

main {
  background: #fff;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero .eyebrow {
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
}

.section {
  padding: 4rem 0;
}

.alt-bg {
  background: var(--surface-alt);
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

.card.shadow {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.hero-media.card img {
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.features .feature-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li::before {
  content: '✓';
  color: var(--primary);
  margin-right: 0.5rem;
}

.cost-list,
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.cost-list li,
.bullet-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 0.35rem;
}

.timeline {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline article {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.timeline .step {
  font-weight: 700;
  color: var(--secondary);
}

.cards .card {
  position: relative;
}

.tag {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table th,
table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

table th {
  background: #f1f5f9;
}

.cta {
  background: linear-gradient(120deg, var(--primary-dark), #111121);
  color: #fff;
  border-radius: 2rem 2rem 0 0;
}

.cta .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2rem 0;
}

.site-footer a {
  color: #e2e8f0;
}

.contact-card p {
  margin: 0 0 0.75rem;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  font: inherit;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.accordion article {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.accordion h3 {
  margin: 0 0 0.5rem;
}

.page-home main {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 60%, #fff 100%);
}

@media (max-width: 1024px) {
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-size: 1.25rem;
  }

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

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 4rem;
  }

  .site-header .container {
    width: 92vw;
  }

  table th,
  table td {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

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