@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --green: #046730;
  --green-dark: #034d24;
  --green-light: #e8f5ee;
  --white: #ffffff;
  --black: #000000;
  --gray: #f5f5f5;
  --gray-mid: #888;
  --shadow: 0 2px 16px rgba(4,103,48,0.10);
  --radius: 12px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Sarabun', sans-serif; color: var(--black); background: var(--white); line-height: 1.6; }

/* ===== TOPBAR ===== */
.topbar {
  background: #32CD32;
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-box {
  background: var(--green); color: var(--white);
  font-family: 'Inter', Arial, sans-serif; font-weight: 800;
  font-size: 22px; padding: 6px 14px; border-radius: 8px;
  letter-spacing: 1px;
}
.logo-text { font-family: 'Inter', Arial, sans-serif; font-weight: 700; font-size: 18px; color: var(--green); }
.desktop-logo { display: block; }
.mobile-logo { display: none !important; }
.mobile-tagline { display: none; color: red; font-weight: 800; font-family: 'Sarabun', sans-serif; font-size: 16px; margin-left: 12px; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  text-decoration: none; color: var(--black);
  font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  border: 1.5px solid transparent;
}
nav a:hover { color: #32CD32; }
nav a.active { color: #32CD32; border: 1.5px solid #32CD32; background: transparent; }
.nav-cta {
  background: var(--green) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-line-btn {
  background: #06C755 !important; color: var(--white) !important;
  display: inline-flex !important; align-items: center !important;
  gap: 2px !important; padding: 9px 18px !important;
  border-radius: 8px !important; font-weight: 700 !important;
  font-size: 15px !important; letter-spacing: 0.2px !important;
}
.nav-line-btn:hover { background: #05a847 !important; }

/* Mobile Nav */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: var(--transition); }
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px 20px; background: #070707;
  border-top: 1px solid #1a1a1a; position: absolute; width: 100%; z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 10px 16px; border-radius: 8px; color: #ffffff; text-decoration: none; font-weight: 500; }
.mobile-nav a:hover { background: rgba(255,255,255,0.1); color: #ffffff; }

@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .desktop-logo { display: none; }
  .mobile-logo { display: flex !important; }
  .mobile-tagline { display: block; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--green); color: var(--white);
  padding: 14px 32px; border-radius: 30px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; display: inline-block;
  transition: var(--transition); border: none; cursor: pointer;
  font-family: 'Sarabun', sans-serif;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
  padding: 12px 32px; border-radius: 30px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; display: inline-block;
  transition: var(--transition); cursor: pointer;
  font-family: 'Sarabun', sans-serif;
}
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-submit {
  background: var(--green); color: var(--white);
  padding: 14px 32px; border-radius: 30px;
  font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  transition: var(--transition); width: 100%;
  font-family: 'Sarabun', sans-serif;
}
.btn-submit:hover { background: var(--green-dark); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: #32CD32; color: var(--white);
  padding: 60px 24px; text-align: center;
}
.page-hero h1 { font-family: 'Sarabun', sans-serif; font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 16px; opacity: 0.85; }
.breadcrumb { font-size: 13px; opacity: 0.7; margin-bottom: 10px; }
.breadcrumb a { color: var(--white); text-decoration: none; }

/* ===== SECTIONS ===== */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: 'Sarabun', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; color: var(--black); margin-bottom: 12px;
}
.section-title span { color: var(--green); }
.section-subtitle { font-size: 16px; color: var(--gray-mid); margin-bottom: 48px; font-weight: 500; }

/* ===== HERO ===== */
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.highlight-text {
  position: relative; display: inline-block;
  color: #fff; background-color: var(--green);
  padding: 6px 20px; border-radius: 16px;
  transform: skewX(-8deg); margin-top: 8px;
}

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(4,103,48,0.15); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-family: 'Sarabun', sans-serif; font-size: 18px; font-weight: 800; color: var(--green); margin-bottom: 10px; }
.service-card-body p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.service-card-body a { color: var(--green); font-weight: 700; text-decoration: none; }
.service-card-body a:hover { text-decoration: underline; }

/* ===== STATS ===== */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1.5px solid #e8f5ee;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(4,103,48,0.12); }
.stat-num { font-family: 'Inter', Arial, sans-serif; font-size: 42px; font-weight: 900; color: var(--green); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: #555; font-weight: 600; font-family: 'Sarabun', sans-serif; }

/* ===== FONT RULES ===== */
/* English-only headings use Inter */
.section-title-en,
.topbar,
.logo-box,
.logo-text,
.nav-cta,
.nav-line-btn {
  font-family: 'Inter', sans-serif !important;
}
/* Thai content always Sarabun */
.section-title,
.section-subtitle,
.page-hero h1,
.page-hero p,
.service-card-body h3,
.service-card-body p,
.faq-question,
.faq-answer,
.review-text,
.review-name,
.review-type,
.footer-col h4,
.footer-col ul li a,
.footer-desc {
  font-family: 'Sarabun', sans-serif;
}

/* ===== PACKAGES ===== */
.why-bg { background: #f0f7f3; }
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1.5px solid #e8f5ee;
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: var(--transition);
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(4,103,48,0.09); }
.faq-question {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  padding: 18px 24px; background: none; border: none;
  font-family: 'Sarabun', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--black); cursor: pointer; text-align: left; gap: 12px;
}
.faq-question:hover { color: var(--green); }
.faq-icon { font-size: 22px; color: var(--green); transition: var(--transition); font-weight: 400; flex-shrink: 0; margin-top: 2px; }
.faq-answer { display: none; padding: 0 24px 20px; font-size: 15px; color: #555; line-height: 1.9; word-break: break-word; white-space: normal; }
.faq-answer p { margin: 0; }
.faq-answer.open { display: block; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info-card { background: var(--green); color: var(--white); border-radius: var(--radius); padding: 40px 32px; }
.contact-info-card h2 { font-family: 'Sarabun', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 30px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-item h4 { font-size: 12px; font-weight: 600; opacity: 0.7; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 1px; }
.contact-item p { font-size: 16px; font-weight: 700; }
.contact-item small { font-size: 13px; opacity: 0.8; }
.contact-form-card { background: var(--white); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 14px; font-weight: 600; color: #444; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1.5px solid #e0e0e0;
  border-radius: 8px; font-size: 14px; outline: none;
  font-family: 'Sarabun', sans-serif;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { height: 120px; resize: vertical; }

/* ===== FOOTER ===== */
footer { background: #0a0a0a; color: #ccc; padding: 64px 24px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-col h4 { font-family: 'Sarabun', sans-serif; font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--green); border-radius: 2px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: #aaa; text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green); }
.footer-desc { font-size: 14px; color: #888; line-height: 1.8; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); text-decoration: none;
}
.social-link:hover { transform: translateY(-3px); opacity: 0.85; }
.footer-bottom {
  border-top: 1px solid #222; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #0a0a0a; flex-wrap: wrap; gap: 8px;
}

/* ===== STICKY BAR ===== */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  display: none; background: #32CD32;
  padding: 0; box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
}
.sticky-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: var(--white); text-decoration: none;
  padding: 10px 4px; font-size: 11px; font-weight: 600;
  border-right: 1px solid rgba(255,255,255,0.15); gap: 2px;
}
.sticky-bar a:last-child { border-right: none; }
.sticky-bar a:hover { background: rgba(255,255,255,0.1); }
.sb-label { font-size: 18px; }
@media (max-width: 768px) { .sticky-bar { display: flex; } }

/* ===== FAB ===== */
.fab {
  position: fixed; bottom: 80px; right: 20px; z-index: 998;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: none; align-items: center; justify-content: center;
  font-size: 20px; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.fab:hover { background: var(--green-dark); }
.fab.visible { display: flex; }

/* ===== REVIEW CARDS ===== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid #eee; transition: var(--transition); }
.review-card:hover { transform: translateY(-4px); }
.stars { color: #f5a623; font-size: 18px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: #444; line-height: 1.8; margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 800; font-size: 16px; }
.reviewer-name { font-weight: 700; font-size: 14px; }
.reviewer-date { font-size: 12px; color: #aaa; }

/* ===== SOCIAL LIST ===== */
.social-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.social-list-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #aaa; font-size: 14px; transition: var(--transition); }
.social-list-link:hover { color: var(--white); }
.social-icon-wrap { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 50px 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}
