/* ═══════════════════════════════════════════════════════════════
   homitel · Landing Page
   แปลงตรงจาก "Landing Page.dc.html" — ค่าสี/ขนาด/เงา คงตามต้นฉบับ
   ═══════════════════════════════════════════════════════════════ */

.landing { background: var(--bg); }

/* ── Nav ───────────────────────────────────────────────────── */

.l-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 249, 246, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.l-nav-in {
  max-width: 1160px; margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; gap: 28px;
}
.l-nav .tagpill {
  font-size: 12px; color: var(--text-muted);
  padding: 3px 8px; border-radius: var(--r-pill); background: var(--primary-light);
}
.l-nav-links { display: flex; gap: 22px; font-size: 14.5px; }
.l-nav-links a { color: var(--text-soft); }
.l-nav-links a:hover { color: var(--text); }

/* ── Hero ──────────────────────────────────────────────────── */

.l-hero {
  max-width: 1160px; margin: 0 auto; padding: 72px 28px 64px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.l-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--primary-light); font-size: 13.5px; font-weight: 500;
}
.l-h1 {
  font-size: 54px; line-height: 1.12; font-weight: 600;
  letter-spacing: -0.03em; margin-top: 22px; text-wrap: pretty;
}
.l-h1 em { font-style: normal; color: var(--primary-ink); }
.l-lede {
  font-size: 17.5px; line-height: 1.8; color: var(--text-soft);
  margin-top: 20px; max-width: 520px; text-wrap: pretty;
}
.l-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.l-cta .btn-primary { box-shadow: 0 4px 18px rgba(127, 179, 168, 0.4); }
.l-reassure {
  display: flex; gap: 26px; margin-top: 28px;
  font-size: 13.5px; color: var(--text-muted); flex-wrap: wrap;
}

/* ── Problems strip ────────────────────────────────────────── */

.l-problems { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.l-problems-in {
  max-width: 1160px; margin: 0 auto; padding: 52px 28px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.l-problem .tint { width: 34px; height: 34px; border-radius: 11px; }
.l-problem h3 { font-size: 16px; margin-top: 14px; }
.l-problem p { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin-top: 6px; }

/* ── Sections ──────────────────────────────────────────────── */

.l-section { max-width: 1160px; margin: 0 auto; padding: 72px 28px 20px; }
.l-section-hd { max-width: 620px; }
.l-h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; text-wrap: pretty; }
.l-sub { font-size: 16.5px; line-height: 1.8; color: var(--text-soft); margin-top: 14px; }

.l-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.l-feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm);
}
.l-feature .hd { display: flex; align-items: center; gap: 10px; }
.l-feature h3 { font-size: 16.5px; }
.l-feature p { font-size: 14.5px; line-height: 1.8; color: var(--text-soft); margin-top: 10px; }

/* ── Flow (เว็บจองลูกค้า · แผน Phase 2 — ยังไม่เปิดใช้งานจริง) ──── */

.l-flow { max-width: 1160px; margin: 0 auto; padding: 60px 28px; }
.l-flow-in {
  background: var(--primary-light); border-radius: 24px; padding: 44px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center;
}

.l-flow-h1 {
  margin-top: 16px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08;
  display: flex; flex-direction: column;
}
.l-flow-h1 .accent { font-size: 46px; color: var(--primary-ink); }
.l-flow-h1 span:not(.accent) { font-size: 40px; color: var(--text); margin-top: 2px; }

.l-flow-sub { font-size: 15.5px; line-height: 1.85; color: #4A6B62; margin-top: 16px; max-width: 46ch; }

.l-flow-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  padding: 13px 22px; border-radius: var(--r-pill); background: var(--primary);
  color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 8px 20px rgba(127, 179, 168, 0.35);
  transition: transform var(--ease), box-shadow var(--ease);
}
.l-flow-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(127, 179, 168, 0.42); }
.l-flow-cta .ic { font-size: 16px; }
.l-flow-cta .arrow { transition: transform var(--ease); }
.l-flow-cta:hover .arrow { transform: translateX(3px); }

.l-flow-stats {
  display: flex; gap: 22px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(61, 74, 69, 0.12);
}
.l-flow-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.l-flow-stats .stat + .stat { padding-left: 22px; border-left: 1px solid rgba(61, 74, 69, 0.14); }
.l-flow-stats .ic {
  width: 34px; height: 34px; border-radius: 10px; background: var(--surface);
  display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 2px;
}
.l-flow-stats b { font-size: 14px; font-weight: 600; }
.l-flow-stats small { font-size: 12px; color: var(--text-muted); }

.l-flow-tagline { margin-top: 26px; font-size: 12.5px; color: var(--text-muted); }

.l-flow-visual { display: flex; }
.l-flow-illustration {
  width: 100%; height: auto; display: block; border-radius: 18px;
  box-shadow: 0 20px 48px rgba(61, 74, 69, 0.18);
}

/* ── Pricing ───────────────────────────────────────────────── */

.l-pricing { max-width: 1160px; margin: 0 auto; padding: 32px 28px 20px; text-align: center; }
.l-terms {
  display: inline-flex; gap: 6px; padding: 6px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border); margin-top: 26px;
}
.l-term {
  padding: 11px 22px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; cursor: pointer;
  background: transparent; color: var(--text-soft);
  border: 0; font-family: inherit; transition: all var(--ease);
}
.l-term.is-active { background: var(--primary); color: #fff; }

.l-plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: 32px; text-align: left; align-items: start;
}
.l-plan {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-card-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.l-plan.is-hot { border-color: var(--primary); box-shadow: var(--shadow-md); }
.l-plan .hd { display: flex; align-items: center; gap: 10px; }
.l-plan .hd h3 { font-size: 19px; flex: 1; }
.l-plan .blurb { font-size: 14px; color: var(--text-muted); margin-top: 6px; min-height: 42px; line-height: 1.6; }
.l-plan .price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.l-plan .price b { font-size: 38px; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: -0.03em; }
.l-plan .price span { font-size: 14px; color: var(--text-muted); }
.l-plan .per { font-size: 13.5px; color: var(--primary-ink); margin-top: 4px; min-height: 20px; }
.l-plan .btn { width: 100%; margin-top: 18px; padding: 13px; font-size: 15px; font-weight: 600; }
.l-plan ul { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 11px; }
.l-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.l-plan li::before { content: '✓'; color: var(--primary); font-weight: 600; flex: 0 0 auto; }

.l-methods {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card-lg); padding: 24px 26px; margin-top: 18px;
  text-align: left; box-shadow: var(--shadow-sm);
}
.l-methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.l-method {
  padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--border);
  background: var(--surface); cursor: pointer; transition: all var(--ease);
  text-align: left; font-family: inherit; color: var(--text); width: 100%;
}
.l-method.is-active { border-color: var(--primary); background: var(--primary-tint); }
.l-method .t { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.l-method .radio {
  width: 15px; height: 15px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border-strong); background: var(--surface); flex: 0 0 auto;
}
.l-method.is-active .radio { border-color: var(--primary); background: var(--primary); }
.l-method p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-top: 8px; }
.l-method-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; line-height: 1.7; }

/* ── Quotes ────────────────────────────────────────────────── */

.l-quotes { max-width: 1160px; margin: 0 auto; padding: 56px 28px 20px; }
.l-quotes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.l-quote { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.l-quote p { font-size: 15px; line-height: 1.85; color: var(--text); }
.l-quote .by { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.l-quote .ava { width: 36px; height: 36px; border-radius: var(--r-pill); flex: 0 0 auto; }
.l-quote .nm { font-size: 14px; font-weight: 500; }
.l-quote .mt { font-size: 12.5px; color: var(--text-muted); }

/* ── Final CTA + footer ────────────────────────────────────── */

.l-final { max-width: 1160px; margin: 0 auto; padding: 40px 28px 72px; }
.l-final-in {
  background: var(--text); border-radius: 24px; padding: 52px 44px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.l-final h2 { font-size: 32px; font-weight: 600; color: #fff; letter-spacing: -0.02em; line-height: 1.3; }
.l-final p { font-size: 16px; color: #C7D3CE; margin-top: 12px; line-height: 1.8; }
.l-final .btn-primary:hover { background: #8FC0B5; }
.l-final .btn-dark { border: 1px solid #6B7A74; color: #fff; background: transparent; }
.l-final .btn-dark:hover { background: #4A5A54; color: #fff; }

.l-footer { border-top: 1px solid var(--border); background: var(--surface); }
.l-footer-in {
  max-width: 1160px; margin: 0 auto; padding: 28px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-muted);
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 980px) {
  .l-hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 40px; }
  .l-h1 { font-size: 40px; }
  .l-problems-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-features, .l-plans, .l-quotes-grid { grid-template-columns: 1fr; }
  .l-flow-in { grid-template-columns: 1fr; padding: 28px; }
  .l-flow-visual { order: -1; }
  .l-nav-links { display: none; }
  .l-methods-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .l-h1 { font-size: 32px; }
  .l-h2 { font-size: 27px; }
  .l-lede { font-size: 16px; }
  .l-section, .l-pricing, .l-quotes, .l-flow { padding-left: 20px; padding-right: 20px; }
  .l-problems-in { grid-template-columns: 1fr; }
  .l-final-in { padding: 32px 24px; }
  .l-final h2 { font-size: 26px; }

  .l-flow-in { padding: 24px 20px; }
  .l-flow-h1 .accent { font-size: 36px; }
  .l-flow-h1 span:not(.accent) { font-size: 30px; }
  .l-flow-stats { flex-direction: column; gap: 14px; }
  .l-flow-stats .stat + .stat { padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid rgba(61, 74, 69, 0.14); }
}
