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

body {
  margin: 0;
  font-family: "Sarabun", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background-color: #f5f7fa;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 72px 0;
  background-color: #ffffff;
}

.section.gray {
  background-color: #eef2f7;
}

h1, h2, h3, h4 {
  margin-top: 0;
  color: #111827;
}

h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

p {
  margin: 0 0 12px;
  font-size: 15px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  font-weight: 700;
  color: #e5f2ff;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.nav-links a {
  color: #e5e7eb;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background-color: #e5f2ff;
  color: #0b1120;
}

.hero {
  padding: 96px 0 80px;
  background: radial-gradient(circle at top left, #cce4ff 0, #eef2f7 45%, #f5f7fa 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 16px;
  max-width: 480px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background-color: #2563eb;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #1d4ed8;
}

.btn.secondary {
  background-color: #ffffff;
  color: #1f2933;
  border-color: #cbd2e1;
}

.btn.secondary:hover {
  background-color: #e5f2ff;
  border-color: #9fb3c8;
}

.btn.full {
  width: 100%;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.service-card img,
.portfolio-card img {
  border-radius: 12px;
  margin-bottom: 12px;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  text-align: left;
}

.pricing-card .price {
  font-size: 20px;
  font-weight: 700;
  color: #1d4ed8;
}

.pricing-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
}

.pricing-card li + li {
  margin-top: 4px;
}

.pricing-card.highlight {
  border: 1px solid #2563eb;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.18);
  transform: translateY(-3px);
}

.note {
  font-size: 13px;
  color: #4b5563;
  margin-top: 10px;
}

.testimonial-card .quote {
  font-style: italic;
}

.testimonial-card .author {
  font-size: 13px;
  margin-top: 6px;
  color: #4b5563;
}

.contact-grid {
  align-items: flex-start;
}

.contact-form {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.form-group {
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

input,
textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cbd2e1;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.form-note {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

.contact-info h3 {
  margin-top: 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 12px;
  font-size: 14px;
  display: none;
  border-top: 1px solid #e5e7eb;
}

.faq-item.active .faq-answer {
  display: block;
}

.trust-grid {
  align-items: flex-start;
}

.trust-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 14px;
}

.trust-list li + li {
  margin-top: 6px;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.15);
}

.map-wrapper iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-link {
  margin-top: 8px;
  font-size: 13px;
  color: #2563eb;
}

.footer {
  background-color: #020617;
  color: #e5e7eb;
  padding: 40px 0 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  font-size: 13px;
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 14px;
}

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

.footer-col li + li {
  margin-top: 4px;
}

.footer-col a {
  color: #e5e7eb;
  font-size: 13px;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  padding-top: 12px;
  font-size: 12px;
  text-align: center;
  color: #9ca3af;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 88px;
  }

  .hero-image {
    order: -1;
  }

  .grid.two {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 56px 0;
  }
}
