/* หน้าเกี่ยวกับเรา (about.php) */
.ab-page {
  padding: 0;
  font-family: "Kanit", "Sarabun", sans-serif;
  color: #2b1d1c;
  --ab-rose: #d9726d;
  --ab-rose-dk: #b8544f;
  --ab-blush: #fdf1f0;
  --ab-ink: #2b1d1c;
  --ab-muted: #6b4a47;
  --ab-line: #06c755;
}
.ab-page a { color: var(--ab-rose-dk); }
.ab-page a:hover { color: var(--ab-ink); }

/* Hero */
.ab-hero {
  padding: 48px 0 40px;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .7) 0, rgba(255, 255, 255, 0) 40%),
    linear-gradient(160deg, #fbe3e0 0%, #f2bbb6 100%);
}
.ab-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 14px 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: var(--ab-rose-dk);
  font-size: 15px;
  font-weight: 500;
}
.ab-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ab-line);
  animation: ab-blink 1.4s ease-in-out infinite;
}
.ab-hero h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ab-ink);
}
.ab-hero h1 span { color: var(--ab-rose-dk); }
.ab-lead {
  max-width: 760px;
  margin: 16px 0 24px;
  font-size: 18px;
  line-height: 1.65;
  color: #4a2f2d;
}
.ab-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 22px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.ab-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ab-page .ab-btn-line {
  color: #fff;
  background: linear-gradient(180deg, #19d46a 0%, #06c755 55%, #05b04b 100%);
  box-shadow: 0 10px 22px rgba(6, 160, 70, .3);
  animation: ab-glow 1.8s ease-in-out infinite;
}
.ab-page .ab-btn-line:hover { color: #fff; }
.ab-btn-line .lt-ico { width: 28px; height: 28px; flex-basis: 28px; }
.ab-page .ab-btn-ghost { color: var(--ab-ink); background: #fff; border: 2px solid rgba(43, 29, 28, .12); }
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.ab-stats li {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 8px 20px rgba(140, 61, 58, .08);
}
.ab-stats b { display: block; font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--ab-rose-dk); }
.ab-stats span { display: block; margin-top: 2px; font-size: 14px; color: var(--ab-muted); }

/* Section */
.ab-section { padding: 48px 0; background: #fff; }
.ab-section-soft { background: #fdf6f5; }
.ab-h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  color: var(--ab-ink);
}
.ab-h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ab-rose), #f2bbb6);
}
.ab-sub { margin: 6px 0 0; color: var(--ab-muted); font-size: 16px; }

/* ทำไมเลือกเรา */
.ab-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.ab-why article {
  padding: 22px 20px;
  border: 1px solid #f3dcd9;
  border-radius: 18px;
  background: #fff;
}
.ab-why i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ab-blush);
  color: var(--ab-rose-dk);
  font-style: normal;
  font-weight: 600;
}
.ab-why h3 { margin: 12px 0 6px; font-size: 19px; font-weight: 600; }
.ab-why p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ab-muted); }

/* ป้ายเด่น */
.ab-plates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 0;
}
.ab-plates a { display: block; text-decoration: none; color: var(--ab-ink); }
.ab-plates a:hover { text-decoration: none; }
.ab-plates a:hover .ab-plate-img { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(140, 61, 58, .18); }
.ab-plate-img {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(140, 61, 58, .12);
  transition: transform .15s ease, box-shadow .15s ease;
  container-type: inline-size;
}
.ab-plate-img img { display: block; width: 100%; height: auto; }
.ab-plate-no {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-family: "Sarabun", sans-serif;
  font-size: 22px;
  font-size: 18.5cqw;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: #111;
  text-shadow: 0 0 3px rgba(255, 255, 255, .9);
}
.ab-plate-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.ab-plate-meta b { font-size: 17px; font-weight: 600; color: var(--ab-rose-dk); }
.ab-plate-meta small { font-size: 13px; color: var(--ab-muted); }
.ab-more { margin: 20px 0 0; text-align: center; }
.ab-page .ab-more a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--ab-rose);
  font-weight: 600;
  text-decoration: none;
}

/* บริการ */
.ab-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.ab-page .ab-service {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, var(--ab-blush) 100%);
  border: 1px solid #f3dcd9;
  color: var(--ab-ink);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ab-page .ab-service:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(140, 61, 58, .12); color: var(--ab-ink); text-decoration: none; }
.ab-service h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.ab-service p { flex: 1 1 auto; margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--ab-muted); }
.ab-service span { font-weight: 600; color: var(--ab-rose-dk); }

/* ขั้นตอน */
.ab-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 0; }
.ab-steps li { position: relative; padding: 24px 20px 20px; border-radius: 18px; background: #fff; box-shadow: 0 6px 16px rgba(140, 61, 58, .07); }
.ab-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ab-rose);
  color: #fff;
  font-size: 18px;
}
.ab-steps h3 { margin: 12px 0 6px; font-size: 19px; font-weight: 600; }
.ab-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ab-muted); }

/* ลิงก์ไปหน้าต่าง ๆ */
.ab-hub { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 24px; }
.ab-hub-group:first-child { grid-column: 1 / -1; }
.ab-hub h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ab-page .ab-chips a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ab-blush);
  border: 1px solid #f3dcd9;
  color: #6b2f2b;
  font-size: 15px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.ab-page .ab-chips a:hover { background: var(--ab-rose); border-color: var(--ab-rose); color: #fff; }

/* FAQ */
.ab-faq { max-width: 860px; margin-top: 24px; }
.ab-faq details { margin-bottom: 10px; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(140, 61, 58, .06); }
.ab-faq summary {
  position: relative;
  padding: 16px 48px 16px 20px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.ab-faq summary::-webkit-details-marker { display: none; }
.ab-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--ab-rose);
}
.ab-faq details[open] summary::after { content: "–"; }
.ab-faq details p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: var(--ab-muted); }

/* ติดต่อ */
.ab-contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 0; }
.ab-page .ab-contact a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #f3dcd9;
  color: var(--ab-ink);
  text-decoration: none;
}
.ab-page .ab-contact a:hover { border-color: var(--ab-rose); }
.ab-contact .lt-ico { width: 28px; height: 28px; margin-bottom: 8px; }
.ab-contact .ab-c-line { background: var(--ab-line); }
.ab-contact .ab-c-tel { background: #0a5bd3; }
.ab-contact .ab-c-fb { background: #1877f2; }
.ab-contact .ab-c-ig { background: #dc2743; }
.ab-contact b { font-size: 17px; font-weight: 600; }
.ab-contact small { font-size: 14px; color: var(--ab-muted); }

@keyframes ab-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes ab-glow {
  0%, 100% { box-shadow: 0 10px 22px rgba(6, 160, 70, .3), 0 0 0 0 rgba(6, 199, 85, .5); }
  70% { box-shadow: 0 10px 22px rgba(6, 160, 70, .3), 0 0 0 12px rgba(6, 199, 85, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ab-dot, .ab-page .ab-btn-line { animation: none; }
}

@media only screen and (max-width: 991px) {
  .ab-why, .ab-plates, .ab-stats, .ab-contact { grid-template-columns: repeat(2, 1fr); }
  .ab-services, .ab-steps { grid-template-columns: 1fr; }
}
@media only screen and (max-width: 767px) {
  .ab-hero { padding: 32px 0 28px; }
  .ab-hero h1 { font-size: 28px; }
  .ab-lead { font-size: 16px; }
  .ab-btn { width: 100%; justify-content: center; }
  .ab-stats { gap: 8px; margin-top: 24px; }
  .ab-stats li { padding: 12px; }
  .ab-stats b { font-size: 21px; }
  .ab-stats span { font-size: 13px; }
  .ab-section { padding: 36px 0; }
  .ab-h2 { font-size: 23px; }
  .ab-why { grid-template-columns: 1fr; gap: 10px; }
  .ab-plates { gap: 12px; }
  .ab-plate-meta { flex-direction: column; }
  .ab-plate-meta b { font-size: 15px; }
  .ab-hub { grid-template-columns: 1fr; }
  .ab-page .ab-chips a { font-size: 14px; padding: 6px 12px; }
  .ab-faq summary { font-size: 16px; }
}
