/* ========================================
   Clean Professional Theme - Cleaning Service
   Colors: Navy #1E3A8A | Sky #0EA5E9 | Green #10B981 | White
   ======================================== */

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

:root {
  --navy: #1E3A8A;
  --navy-dark: #1E40AF;
  --sky: #0EA5E9;
  --sky-light: #38BDF8;
  --green: #10B981;
  --green-dark: #059669;
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --bg-soft: #EFF6FF;
  --text: #0F172A;
  --text-light: #475569;
  --border: #E2E8F0;
  --shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
  --shadow-lg: 0 10px 30px rgba(30, 58, 138, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sarabun', 'Prompt', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--sky); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Top Bar ========== */
.topbar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar a { color: var(--white); }
.topbar .quick a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

/* ========== Header ========== */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sky);
}
.logo .brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.logo .brand small {
  display: block;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}
.nav a:hover { background: var(--bg-soft); color: var(--navy); }

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.3), transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}
.hero h1 span { color: #FDE68A; }
.hero p { font-size: 17px; margin-bottom: 24px; opacity: 0.95; }
.hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero .badge {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  backdrop-filter: blur(6px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-call {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(16,185,129,0.4);
}
.btn-call:hover { background: var(--green-dark); transform: translateY(-2px); color: var(--white); }
.btn-line {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.btn-line:hover { transform: translateY(-2px); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.hero-img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ========== Sections ========== */
section { padding: 64px 0; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title .eyebrow {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-title p { color: var(--text-light); font-size: 16px; }

/* ========== Services Grid ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky);
}
.service-card .img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .img-wrap img { transform: scale(1.06); }
.service-card .body { padding: 20px; }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p { color: var(--text-light); font-size: 14px; margin-bottom: 12px; }
.service-card .tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* ========== Before/After ========== */
.bg-soft { background: var(--bg-soft); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.ba-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.ba-images img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.ba-label {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  color: var(--white);
}
.ba-before { left: 10px; background: rgba(220,38,38,0.95); }
.ba-after { right: 10px; background: rgba(16,185,129,0.95); }
.ba-card .body { padding: 16px; }
.ba-card h4 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.ba-card p { color: var(--text-light); font-size: 14px; }

/* ========== Calculator ========== */
.calc-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
  border: 2px solid var(--bg-soft);
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.calc-field label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 14px;
}
.calc-field input,
.calc-field select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--sky);
}
.calc-result {
  background: linear-gradient(135deg, var(--sky), var(--navy));
  color: var(--white);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  margin-top: 20px;
}
.calc-result .price {
  font-size: 36px;
  font-weight: 800;
  margin: 8px 0;
}
.calc-result small { opacity: 0.9; font-size: 13px; }
.calc-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

/* ========== Reviews ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.review-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.review-card .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.review-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-card .body { padding: 18px; }
.review-card .stars { color: #F59E0B; margin-bottom: 8px; font-size: 16px; }
.review-card .review-text {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 12px;
  font-style: italic;
}
.review-card .reviewer { font-weight: 700; color: var(--navy); font-size: 14px; }
.review-card .review-service {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* ========== FAQ ========== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::after {
  content: '+';
  font-size: 24px;
  color: var(--sky);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  padding: 0 20px;
  color: var(--text-light);
  font-size: 15px;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 20px 16px; }

/* ========== Areas Grid (index page) ========== */
.areas-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.tab-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.search-box {
  max-width: 500px;
  margin: 0 auto 24px;
}
.search-box input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-family: inherit;
  font-size: 15px;
}
.search-box input:focus { outline: none; border-color: var(--sky); }

.area-section { display: none; }
.area-section.active { display: block; }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.area-link {
  background: var(--white);
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.area-link::before {
  content: '📍';
  font-size: 14px;
}
.area-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateX(4px);
}
.area-link.bkk::before { content: '🏙️'; }
.area-link.peri::before { content: '🚗'; }

/* ========== Stats ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.stat-card {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border-top: 4px solid var(--sky);
  box-shadow: var(--shadow);
}
.stat-card .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}
.stat-card .lbl { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ========== Map ========== */
.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--bg-soft);
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ========== Articles list ========== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.article-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  border: 1px solid var(--border);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card .img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.article-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.article-card .body { padding: 18px; }
.article-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}
.article-card p { color: var(--text-light); font-size: 14px; }
.article-card .read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--sky);
  font-weight: 700;
  font-size: 14px;
}

/* ========== Article detail ========== */
.article-content {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}
.article-content h1 {
  color: var(--navy);
  font-size: 28px;
  margin-bottom: 16px;
}
.article-content h2 {
  color: var(--navy);
  font-size: 22px;
  margin: 24px 0 12px;
}
.article-content p { margin-bottom: 14px; color: var(--text); font-size: 16px; }
.article-content img {
  border-radius: 10px;
  margin: 16px 0;
  width: 100%;
}
.article-content ul, .article-content ol { margin: 14px 0 14px 24px; }
.article-content li { margin-bottom: 6px; }

/* ========== Breadcrumb ========== */
.breadcrumb {
  background: var(--bg-soft);
  padding: 12px 0;
  font-size: 14px;
}
.breadcrumb .container { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--navy); }
.breadcrumb span { color: var(--text-light); }

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--sky) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-section h2 { font-size: 32px; margin-bottom: 12px; }
.cta-section p { font-size: 18px; margin-bottom: 24px; opacity: 0.95; }
.cta-section .btn-call { background: var(--white); color: var(--green-dark); }
.cta-section .btn-call:hover { background: var(--bg); color: var(--green-dark); }

/* ========== Footer ========== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 28px;
}
.footer h4 {
  color: #FDE68A;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
}
.footer a { color: #CBD5E1; display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: var(--white); }
.footer p { color: #CBD5E1; font-size: 14px; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  text-align: center;
  color: #94A3B8;
  font-size: 13px;
}

/* ========== Floating Buttons ========== */
.floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.1); color: var(--white); }
.float-call { background: var(--green); }
.float-line { background: #06C755; }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .section-title h2 { font-size: 24px; }
  .calc-row { grid-template-columns: 1fr; }
  .nav { width: 100%; justify-content: center; }
  section { padding: 40px 0; }
}

/* ========== Animation ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
