/* ============ Base styles ============ */
:root {
  --color-bg: #ffffff;
  --color-primary: #14a44d; /* green */
  --color-primary-soft: #e3f7eb;
  --color-accent: #ff8c2f; /* orange */
  --color-accent-soft: #fff4e8;
  --color-text: #1f2933;
  --color-muted: #5f6c80;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 138, 0, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* สีข้อความใน Header ให้ขาว */
.site-header .brand-name,
.site-header .brand-tagline,
.site-header .nav-desktop a {
  color: #ffffff !important;
}

/* Hover สีเหลืองอ่อนให้ดูเด่น */
.site-header .nav-desktop a:hover {
  color: #FFF3CD !important;
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: contain;
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.nav-desktop {
  display: none;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-desktop a {
  color: var(--color-muted);
}

.nav-desktop a:hover {
  color: var(--color-primary);
}

/* Hero */
.hero {
  position: relative;
  padding: 1.75rem 0 2.25rem;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-text {
  padding: 1.25rem 1.1rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  background: #f3f4f6;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.hero-label::before {
  content: "●";
  color: var(--color-primary);
  font-size: 0.6rem;
}

.hero h1 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.hero-highlights li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #14a44d, #0a9154);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(20, 164, 77, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(20, 164, 77, 0.45);
}

.btn-outline {
  background-color: #ffffff;
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
}

.full-width {
  width: 100%;
}

/* Sections general */
.section {
  padding: 2.25rem 0;
}

.section h2 {
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}

.section-intro {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

/* Section-specific backgrounds using green-orange-white palette */
/* Section-specific backgrounds using green-orange-white palette */
/* Section-specific backgrounds using green-orange-white palette */
.section-why {
    background: #0A7C57 !important;
}

.section-services {
    background: #0A7C57 !important;
}

/* Force white text inside WHY & SERVICES */
.section-why h2,
.section-why h3,
.section-why p,
.section-why .section-intro,
.section-services h2,
.section-services h3,
.section-services p,
.section-services .section-intro {
    color: #ffffff !important;
}

/* Card appearance and text */
.section-why .card,
.section-services .card {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
.section-reviews {
  background: var(--color-accent-soft);
}

.section-partners {
  background: #f5faf7;
}

.section-how {
  background: linear-gradient(135deg, rgba(20, 164, 77, 0.08), rgba(255, 140, 47, 0.08));
}

.section-contact {
  background: #ffffff;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

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

/* Routes */
.routes-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.route-card {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(20, 164, 77, 0.4);
  background-color: #f9fffb;
}

.route-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.route-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.routes-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Reviews */
.review-card {
  border-left: 4px solid var(--color-accent);
}

.review-text {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

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

.stars {
  color: var(--color-accent);
  margin-left: 4px;
  font-size: 0.85rem;
}

/* Partners */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.partners span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

/* Steps */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.steps-list li {
  display: flex;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-soft);
}

.step-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

.steps-list h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

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

.centered-cta {
  justify-content: center;
  margin-top: 1.3rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
  padding: 1.5rem 0 2rem;
  margin-top: 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-brand .brand-name {
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

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

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

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

/* Responsive */
@media (min-width: 640px) {
  .hero-text {
    padding: 1.5rem 1.4rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

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

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    max-width: 640px;
  }

  .section {
    padding: 2.8rem 0;
  }

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

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

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

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

  .footer-inner {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}
