/* style.css */
body {
  font-family: 'Sarabun', sans-serif;
  margin: 0;
  padding: 0;
  background: #f6f9f6;
  color: #333;
}

header {
  background: #00664f;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header p {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
}

section {
  padding: 0.5rem 1rem;
  max-width: 960px;
  margin: auto;
}

h2 {
  color: #00664f;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

.desktop-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
  background: white;
}
table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.desktop-table th,
.desktop-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.desktop-table th {
  background-color: #d1f2eb;
  text-align: center;
}

.desktop-table td:first-child {
  width: 60px;
  text-align: center;
}

.mobile-view {
  display: none;
}

@media (max-width: 767px) {
  .desktop-table {
    display: none;
  }
  .mobile-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }
  .card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  .card h4 {
    margin: 0 0 0.5rem;
    color: #00664f;
  }
  .card p {
    margin: 0.25rem 0;
  }
  .card p strong {
    font-weight: bold;
  }
	.cta {
  background: #e8f8f5;
  padding: 2rem 1rem;
  text-align: center;
}

.cta-buttons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  display: inline-block;
}

.cta-btn.call { background: #1abc9c; }
.cta-btn.fb { background: #3b5998; }
.cta-btn.line { background: #00c300; }

.floating-cta {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 9999;
}

.cta-float-btn {
  background: #00664f;
  color: white;
  padding: 0.75rem;
  border-radius: 50%;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cta-float-btn.fb { background: #3b5998; }
.cta-float-btn.line { background: #00c300; }

@media (max-width: 768px) {
  .desktop-table {
    display: none;
  }
  .mobile-view {
    display: block;
  }
  section {
    padding: 1.5rem 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  .cta-float-btn {
    font-size: 1rem;
    padding: 0.6rem;
  }
}
