/* Google Fonts loaded via <link> in HTML head — no @import needed here */

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

:root {
  --primary: #0a2647;
  --primary-light: #144272;
  --accent: #f39c12;
  --accent-dark: #d68910;
  --blue: #2c74b3;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(10,38,71,.10);
  --shadow-lg: 0 8px 40px rgba(10,38,71,.16);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sarabun', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ─── UTILITY ─────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }

.badge {
  display: inline-block;
  background: rgba(243,156,18,.15);
  color: #6b3d00;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Sarabun', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #1a0800;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(243,156,18,.4); color: #1a0800; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--primary-light); border-color: var(--primary-light); }

/* ─── NAV ──────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .3s ease;
  padding: 16px 0;
}

#navbar.scrolled {
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
}

.nav-logo .logo-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: 14.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: all .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* ─── HERO ─────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a2647 0%, #144272 50%, #0d3b6e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .18;
  filter: grayscale(30%);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,38,71,.92) 0%, rgba(20,66,114,.85) 100%);
  z-index: 1;
}

#hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243,156,18,.2);
  color: var(--accent);
  border: 1px solid rgba(243,156,18,.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: clamp(18px, 2.5vw, 22px);
  color: rgba(255,255,255,.8);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.stat-item { }
.stat-num { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 4px; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card-mini {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(10px);
  transition: all .3s;
  cursor: default;
}
.service-card-mini:hover { background: rgba(255,255,255,.14); transform: translateX(6px); }

.mini-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.mini-title { font-size: 15px; font-weight: 700; color: var(--white); }
.mini-desc { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 2px; }

/* ─── TRUST BAR ────────────────────────────────────────────────── */
#trust {
  background: var(--primary);
  padding: 20px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.87);
  font-size: 14px;
  font-weight: 500;
}
.trust-item svg, .trust-item .ti { color: var(--accent); font-size: 18px; }

/* ─── SERVICES ─────────────────────────────────────────────────── */
#services { background: var(--bg-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.svc-img {
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.svc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.svc-card:hover .svc-img img { transform: scale(1.05); }

.svc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.svc-name { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.svc-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; flex: 1; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.svc-tag {
  background: var(--bg-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  transition: gap .2s;
}
.svc-link:hover { gap: 10px; }

/* ─── FEATURES ─────────────────────────────────────────────────── */
#features { background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all .3s;
}
.feat-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(243,156,18,.12); }

.feat-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(243,156,18,.15), rgba(243,156,18,.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}

.feat-title { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.feat-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── CTA BANNER ───────────────────────────────────────────────── */
#cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 72px 0;
  text-align: center;
}

.cta-title { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-line {
  background: #059142;
  color: var(--white);
  border-color: #059142;
}
.btn-line:hover { background: #047836; border-color: #047836; }

/* ─── CONTACT ──────────────────────────────────────────────────── */
#contact { background: var(--bg-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-title { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.contact-info-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ci-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ci-icon.phone { background: rgba(44,116,179,.12); color: var(--blue); }
.ci-icon.line { background: rgba(6,199,85,.12); color: #06C755; }
.ci-icon.fb { background: rgba(24,119,242,.12); color: #1877F2; }

.ci-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.ci-value { font-size: 16px; font-weight: 600; color: var(--primary); }
.ci-value a:hover { color: var(--blue); }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-title { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Sarabun', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); outline: 2px solid rgba(44,116,179,.3); outline-offset: 0; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ─── FOCUS VISIBLE ────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn:focus-visible,
.faq-q:focus-visible,
.cam-btn:focus-visible,
.cpill:focus-visible,
.hamburger:focus-visible,
.float-btn:focus-visible,
.svc-link:focus-visible,
.nav-links a:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── FOOTER ───────────────────────────────────────────────────── */
#footer {
  background: var(--primary);
  color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; }

.footer-col-title { font-size: 14px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.82); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all .2s;
}
.social-link:hover { background: var(--accent); }

/* ─── CALCULATOR ───────────────────────────────────────────────── */
#calculator { padding: 0; }

.calc-hero {
  background: linear-gradient(150deg, #071b35 0%, #0a2647 40%, #0d3460 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.calc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(243,156,18,.08) 0%, transparent 60%);
  pointer-events: none;
}

.calc-hero .badge { background: rgba(243,156,18,.18); color: var(--accent); border: 1px solid rgba(243,156,18,.35); }
.calc-hero .section-title { color: #fff; }
.calc-hero .section-sub { color: rgba(255,255,255,.6); }

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* ── Left panel ── */
.calc-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-block {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.calc-block-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

/* Camera type grid */
.cam-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cam-btn {
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  padding: 16px 10px;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  color: rgba(255,255,255,.7);
}
.cam-btn:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); }
.cam-btn.active {
  border-color: var(--accent);
  background: rgba(243,156,18,.15);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(243,156,18,.2);
}
.cam-btn svg { opacity: .85; }
.cam-btn.active svg { color: var(--accent); opacity: 1; }

.cam-btn-name { font-size: 12px; font-weight: 700; }
.cam-btn-spec { font-size: 11px; opacity: .7; }
.cam-btn-chip {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
  margin-top: 2px;
  background: rgba(44,116,179,.25);
  color: #7db8e8;
}
.cam-btn-chip-green { background: rgba(6,199,85,.2); color: #4dbb7e; }
.cam-btn-chip-gold  { background: rgba(243,156,18,.25); color: var(--accent); }
.cam-btn.active .cam-btn-chip { background: rgba(243,156,18,.3); color: var(--accent); }

/* Sliders */
.csr-row,
.calc-slider-row { display: flex; flex-direction: column; gap: 10px; }

.csr-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.csr-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }

/* calc-block side-by-side (days + location row) */
.calc-block-row { display: flex; gap: 20px; flex-wrap: wrap; }
.csr-val {
  font-size: 13px;
  font-weight: 700;
  background: rgba(243,156,18,.2);
  color: var(--accent);
  padding: 3px 12px;
  border-radius: 50px;
  border: 1px solid rgba(243,156,18,.35);
}

.cslider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) 12%, rgba(255,255,255,.15) 12%);
  outline: none;
  cursor: pointer;
}
.cslider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #071b35;
  box-shadow: 0 0 0 2px rgba(243,156,18,.4), 0 2px 8px rgba(0,0,0,.4);
  cursor: pointer;
  transition: transform .15s;
}
.cslider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.csr-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 6px;
  padding: 0 2px;
}

/* Option pills */
.cpill-group { display: flex; gap: 8px; flex-wrap: wrap; }

.cpill {
  padding: 8px 18px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: transparent;
  font-family: 'Sarabun', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .2s;
}
.cpill:hover { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.9); }
.cpill.active { border-color: var(--accent); background: rgba(243,156,18,.18); color: var(--accent); }

/* ── Right: sticky result card ── */
.calc-result-sticky { position: sticky; top: 90px; }

.calc-result-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

.crc-top {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 20px;
}
.crc-eyebrow { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.crc-currency { font-size: 22px; color: rgba(255,255,255,.5); font-weight: 300; }
.crc-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
}
.crc-sep { font-size: 20px; color: rgba(255,255,255,.4); margin: 0 6px; font-weight: 300; }
.crc-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 8px; }
.crc-badge-row { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.crc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.1);
}

.crc-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.crc-currency { font-size: 22px; color: rgba(255,255,255,.5); font-weight: 300; vertical-align: super; line-height: 1; }
.crc-num { font-size: 42px; font-weight: 800; color: var(--accent); letter-spacing: -1px; line-height: 1; }
.crc-range { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 6px; }
.crc-note { font-size: 11px; color: rgba(255,255,255,.3); line-height: 1.6; margin-bottom: 16px; }

.crc-breakdown { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
.crc-bd-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.crc-bd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,255,.82);
}
.crc-bd-item:last-child { border-bottom: none; }
.crc-bd-left { display: flex; align-items: center; gap: 10px; flex: 1; }
.crc-bd-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.crc-bd-price { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.8); white-space: nowrap; }

.crc-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  padding: 10px 12px;
  background: rgba(0,0,0,.2);
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result-sticky { position: static; }
  .cam-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cam-grid { grid-template-columns: 1fr 1fr; }
  .crc-price { font-size: 34px; }
  .cpill { padding: 7px 12px; font-size: 13px; }
}

/* ─── FAQ ──────────────────────────────────────────────────────── */
#faq { background: var(--bg-light); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--blue); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-family: 'Sarabun', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 18px; }
.faq-a a { color: var(--blue); font-weight: 600; }

/* ─── THANK YOU BANNER ─────────────────────────────────────────── */
.sent-banner {
  background: #dcfce7;
  border: 1.5px solid #86efac;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #15803d;
  margin-bottom: 20px;
}

/* ─── FLOAT CONTACT ────────────────────────────────────────────── */
.float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 50px;
  font-family: 'Sarabun', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: all .3s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.float-btn:hover { transform: scale(1.05); }
.float-btn.line-btn { background: #059142; }
.float-btn.tel-btn { background: var(--blue); }
.float-btn .fb-icon { font-size: 18px; }

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 100px 0 56px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--primary);
    padding: 16px 20px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.open a { padding: 10px 14px; }

  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }

  .float-btn span.label { display: none; }
  .float-btn { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
}

/* ─── FADE-IN ANIMATION CLASSES (used by JS IntersectionObserver) ── */
.fade-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── REDUCED MOTION ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-hidden { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
