*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #2d7a3a;
  --green-light: #3da84e;
  --green-dark: #1e5228;
  --orange: #f5820d;
  --orange-light: #ffa040;
  --blue: #1a6fb5;
  --bg: #f8fdf9;
  --text: #1a2e1e;
  --text-muted: #5a7060;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sarabun', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAV */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 44px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.2rem; font-weight: 800; color: var(--green-dark); }
.logo-sub { font-weight: 400; color: var(--text-muted); font-size: 0.95rem; }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.btn-nav {
  background: var(--green); color: var(--white) !important;
  padding: 8px 20px; border-radius: 50px; font-weight: 700;
}
.btn-nav:hover { background: var(--green-dark) !important; }
.hamburger {
  display: none; background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--green-dark);
}
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white); padding: 12px 20px 16px;
  border-top: 1px solid #e8f0ea;
}
.mobile-menu a {
  padding: 10px 0; text-decoration: none; color: var(--text);
  font-weight: 600; border-bottom: 1px solid #f0f5f1;
}
.mobile-menu.open { display: flex; }

/* BUTTONS */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; border: none; transition: all .2s; font-family: inherit;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* HERO */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, #4caf50 100%);
  padding: 80px 0 60px;
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative; display: flex; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.hero-text { flex: 1; min-width: 280px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15);
  padding: 6px 16px; border-radius: 50px; font-size: 0.9rem;
  margin-bottom: 16px; backdrop-filter: blur(4px);
}
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 8px;
}
.hero-text h2 {
  font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 600;
  color: var(--orange-light); margin-bottom: 16px;
}
.hero-sub { font-size: 1.05rem; opacity: 0.9; margin-bottom: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-badges span {
  background: rgba(255,255,255,0.15); padding: 6px 14px;
  border-radius: 50px; font-size: 0.88rem; backdrop-filter: blur(4px);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
}
.hero-img-wrap {
  width: 200px; height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-mascot {
  font-size: 8rem; animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.hero-shield {
  position: absolute; bottom: 0; right: 0;
  font-size: 3rem; animation: pulse 2s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-label {
  display: inline-block; background: var(--green); color: var(--white);
  padding: 4px 16px; border-radius: 50px; font-size: 0.85rem;
  font-weight: 700; margin-bottom: 12px; letter-spacing: 0.5px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  color: var(--green-dark); margin-bottom: 40px;
}

/* ABOUT */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-stats { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--green); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.about-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white); padding: 40px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow);
}
.about-icon { font-size: 3rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.about-card p { opacity: 0.9; }

/* SERVICES */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
  border: 2px solid transparent; transition: all .3s;
}
.service-card:hover { border-color: var(--green); transform: translateY(-4px); }
.service-card.featured { border-color: var(--orange); }
.service-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-icon svg { width: 48px; height: 48px; stroke: var(--green); }
.service-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--green-dark); margin-bottom: 16px; }
.service-card h3 span { font-size: 1rem; font-weight: 600; color: var(--text-muted); display: block; }
.service-card ul { list-style: none; margin-bottom: 24px; }
.service-card ul li {
  padding: 8px 0; border-bottom: 1px solid #f0f5f1;
  color: var(--text-muted); font-size: 0.95rem;
}
.service-card ul li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* WHY */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item {
  text-align: center; padding: 28px 20px;
  background: var(--bg); border-radius: var(--radius);
  transition: all .3s;
}
.why-item:hover { background: var(--green); color: var(--white); transform: translateY(-4px); }
.why-item:hover h4, .why-item:hover p { color: var(--white); }
.why-icon { font-size: 2.2rem; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.why-icon svg { width: 40px; height: 40px; stroke: var(--green); transition: stroke .3s; }
.why-item:hover .why-icon svg { stroke: var(--white); }
.why-item h4 { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.why-item p { font-size: 0.88rem; color: var(--text-muted); }

/* PROCESS */
.process { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: var(--white); }
.process .section-label { background: rgba(255,255,255,0.2); }
.process .section-title { color: var(--white); }
.process-steps {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
}
.step {
  text-align: center; flex: 1; min-width: 160px;
  background: rgba(255,255,255,0.1); border-radius: var(--radius);
  padding: 28px 16px; backdrop-filter: blur(4px);
  position: relative;
}
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.step-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step-icon svg { width: 36px; height: 36px; stroke: rgba(255,255,255,0.9); }
.step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 0.82rem; opacity: 0.85; }
.step-arrow { font-size: 1.5rem; opacity: 0.6; flex-shrink: 0; }

/* AREA */
.area { background: var(--bg); }
.area-sub { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; }
.area-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 36px;
}
.area-item {
  background: var(--white); padding: 16px 20px;
  border-radius: 12px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex; align-items: center; gap: 8px;
  color: var(--green-dark);
}
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* PRICING */
.pricing { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  border: 2px solid transparent; position: relative;
  transition: all .3s;
}
.pricing-card:hover { border-color: var(--green); transform: translateY(-4px); }
.pricing-card.featured {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white); border-color: var(--green);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  padding: 4px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
}
.pricing-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pricing-icon svg { width: 44px; height: 44px; stroke: var(--green); }
.pricing-card.featured .pricing-icon svg { stroke: rgba(255,255,255,0.9); }
.pricing-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--orange); margin-bottom: 12px; }
.pricing-card.featured .price { color: var(--orange-light); }
.pricing-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card.featured p { color: rgba(255,255,255,0.8); }

/* CONTACT */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); padding: 20px; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-decoration: none; color: var(--text);
  transition: all .2s;
}
.contact-item:hover { transform: translateX(4px); border-left: 3px solid var(--green); }
.contact-icon { font-size: 1.8rem; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 700; color: var(--green-dark); }
.contact-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.contact-form {
  background: var(--white); padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); margin-bottom: 20px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 16px; margin-bottom: 14px;
  border: 2px solid #e0ebe2; border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--bg); transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--green);
}
.contact-form button { width: 100%; }

/* FOOTER */
.footer { background: var(--green-dark); color: var(--white); padding: 40px 0 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 6px; }
.footer-logo { height: 60px; width: auto; object-fit: contain; margin-bottom: 8px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* STICKY CTA */
.sticky-cta {
  position: fixed; bottom: 24px; right: 20px;
  display: flex; flex-direction: column; gap: 12px; z-index: 200;
}
.sticky-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 50px;
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: all .2s;
}
.sticky-btn:hover { transform: scale(1.05); }
.sticky-btn.call { background: var(--orange); color: var(--white); }
.sticky-btn.line { background: #06c755; color: var(--white); }
.sticky-btn.fb { background: #1877f2; color: var(--white); }
.sticky-label { font-size: 0.85rem; }

/* BILINGUAL */
.h2-en { font-size: 0.65em; font-weight: 600; opacity: 0.85; display: block; }
.en { color: var(--text-muted); font-size: 0.92em; }
.en-sm { font-size: 0.82em; color: var(--text-muted); display: block; }
.en-li { font-size: 0.8em; color: var(--text-muted); display: block; }
.title-th { font-size: 0.7em; font-weight: 600; color: var(--text-muted); }
.title-th-light { font-size: 0.7em; font-weight: 600; color: rgba(255,255,255,0.7); }
.area-item small { display: block; font-size: 0.78rem; color: var(--text-muted); }
.about-card .en-sm { color: rgba(255,255,255,0.75); font-size: 0.85em; margin-top: 8px; }
.pricing-card .en-sm { color: var(--text-muted); }
.pricing-card.featured .en-sm { color: rgba(255,255,255,0.75); }
.contact-fb { border-left: 3px solid #1877f2 !important; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }
.footer-seo { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-align: center; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-image { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.8rem; }
  .sticky-label { display: none; }
  .sticky-btn { padding: 14px; border-radius: 50%; }
}
