:root {
  --navy: #12283f;
  --navy-2: #1b3a5b;
  --yellow: #ffb400;
  --yellow-2: #ffc63d;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #243040;
  --muted: #5b6b7e;
  --line: #e3e9f1;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(18, 40, 63, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Sarabun", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, .btn, .logo-name { font-family: "Prompt", sans-serif; }

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

a { color: var(--navy-2); }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-link img { width: 46px; height: 46px; border-radius: 50%; }
.logo-name { color: var(--navy); font-weight: 700; font-size: 17px; line-height: 1.25; white-space: nowrap; }
.logo-tag { color: var(--muted); font-size: 12.5px; line-height: 1.3; white-space: nowrap; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 8px 11px; border-radius: 8px;
  text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 600;
  font-family: "Prompt", sans-serif;
}
.main-nav a:hover { background: var(--bg); }
.main-nav a.active { background: var(--navy); color: #fff; }

.header-call {
  margin-left: 8px; white-space: nowrap;
  background: var(--yellow); color: var(--navy);
  font-weight: 700; text-decoration: none;
  padding: 10px 16px; border-radius: 999px; font-size: 15px;
  font-family: "Prompt", sans-serif;
}
.header-call:hover { background: var(--yellow-2); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 2px solid var(--navy); border-radius: 8px;
  padding: 6px 10px; font-size: 18px; color: var(--navy); cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  background:
    repeating-linear-gradient(135deg, rgba(255, 180, 0, 0.05) 0 22px, transparent 22px 44px),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 60px 0 56px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.3;
  margin-bottom: 14px;
}
.hero h1 .hl { color: var(--yellow); }
.hero p.lead { font-size: clamp(16px, 2.5vw, 19px); max-width: 700px; color: #dbe5f0; margin-bottom: 26px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; }
.trust-chips li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; color: #eef3f9;
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: #fff; }
.section h2 {
  font-size: clamp(23px, 3.5vw, 30px);
  color: var(--navy);
  margin-bottom: 8px;
}
.section h2::after {
  content: ""; display: block; width: 56px; height: 5px;
  background: var(--yellow); border-radius: 3px; margin-top: 8px;
}
.section .section-sub { color: var(--muted); margin-bottom: 28px; max-width: 720px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: transform 0.15s ease;
}
a.card:hover { transform: translateY(-3px); }
.card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 70%; }
.card-body { padding: 16px 18px 20px; }
.card h3 { color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--muted); }
.card .more { color: var(--navy-2); font-weight: 700; font-size: 14.5px; font-family: "Prompt", sans-serif; }

/* ---------- why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.why-item {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px;
}
.why-item .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--yellow); color: var(--navy);
  font-weight: 700; font-family: "Prompt", sans-serif; font-size: 18px;
  margin-bottom: 10px;
}
.why-item h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 4px; }
.why-item p { font-size: 15px; color: var(--muted); }

/* ---------- areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 6px; }
.area-chips li {
  background: #fff; border: 1px solid var(--line);
  padding: 7px 16px; border-radius: 999px; font-size: 15px; color: var(--navy);
}
.area-chips li.star { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- content pages ---------- */
.page-head { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 40px 0 36px; }
.breadcrumb { font-size: 13.5px; margin-bottom: 10px; color: #b9c8d9; }
.breadcrumb a { color: #d9e4f0; }
.page-head h1 { font-size: clamp(25px, 4vw, 36px); line-height: 1.35; }
.page-head p.lead { color: #dbe5f0; max-width: 760px; margin-top: 10px; }

.content-body { max-width: 800px; }
.content-body img { width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: center 70%; }
.content-body h2 { font-size: 23px; color: var(--navy); margin: 34px 0 12px; }
.content-body h2::after { content: ""; display: block; width: 44px; height: 4px; background: var(--yellow); border-radius: 3px; margin-top: 6px; }
.content-body p { margin-bottom: 14px; }
.content-body ul, .content-body ol { margin: 0 0 14px 24px; }
.content-body li { margin-bottom: 6px; }

table.spec { width: 100%; border-collapse: collapse; margin: 10px 0 18px; background: #fff; font-size: 15.5px; }
table.spec th, table.spec td { border: 1px solid var(--line); padding: 9px 14px; text-align: left; }
table.spec th { background: var(--navy); color: #fff; font-family: "Prompt", sans-serif; font-weight: 600; }
table.spec tr:nth-child(even) td { background: var(--bg); }

/* ---------- faq ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy);
  font-family: "Prompt", sans-serif; font-size: 16.5px;
  list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  color: var(--yellow); font-size: 22px; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--text); font-size: 15.5px; }

/* ---------- cta band ---------- */
.cta-band { background: var(--yellow); padding: 40px 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy); font-size: clamp(20px, 3vw, 26px); line-height: 1.4; }
.cta-band p { color: #4a3d10; font-size: 15.5px; }
.cta-band .btn { flex-shrink: 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: center 70%; }
.gallery figcaption { padding: 11px 14px; font-size: 14.5px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.contact-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.contact-card .big-phone {
  display: inline-block; font-family: "Prompt", sans-serif;
  font-size: clamp(26px, 5vw, 34px); font-weight: 700;
  color: var(--navy); text-decoration: none; margin: 4px 0 10px;
}
.contact-list { list-style: none; }
.contact-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.contact-list li:last-child { border-bottom: none; }
.contact-list b { color: var(--navy); }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c7d3e1; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 28px;
  padding: 44px 0 30px;
}
.site-footer h3 { color: #fff; font-size: 16.5px; margin-bottom: 12px; }
.site-footer a { color: #d9e4f0; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-about { display: flex; gap: 12px; align-items: flex-start; }
.footer-about img { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.footer-about p { font-size: 14.5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; font-size: 15px; }
.footer-nap { list-style: none; font-size: 14.5px; }
.footer-nap li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0; font-size: 13.5px; color: #8fa2b8;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}

/* ---------- sticky mobile call bar ---------- */
.mobile-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
}
.mobile-bar a, .mobile-bar button {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 4px; border-radius: 10px; text-decoration: none;
  font-family: "Prompt", sans-serif; font-weight: 700; font-size: 14.5px;
  white-space: nowrap; border: none; cursor: pointer;
}
.mobile-bar .call { background: var(--yellow); color: var(--navy); }
.mobile-bar .line { background: #06c755; color: #fff; }

.copy-toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 999px;
  font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity 0.25s; z-index: 70;
}
.copy-toast.show { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 14px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 11px 12px; font-size: 16px; }
  .nav-toggle { display: block; }
  .header-call { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .hero { padding: 44px 0 40px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .cta-band .inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-band .btn { justify-content: center; }
  table.spec { font-size: 14px; }
  table.spec th, table.spec td { padding: 7px 9px; }
  .content-body img { max-height: 320px; }
  .map-embed { min-height: 280px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
