:root {
  --primary: #0b376a;
  --primary-dark: #06264d;
  --accent: #b99a7c;
  --teal: #1d9a8a;
  --green: #1c8b5f;
  --warning: #d58a20;
  --ink: #102033;
  --muted: #5e6b7a;
  --line: #d9e3ee;
  --soft-line: #e7edf4;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --surface-blue: #eef4fa;
  --surface-mint: #eaf8f5;
  --surface-gold: #fbf3e8;
  --danger: #c6463c;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(8, 30, 58, 0.14);
  --shadow-soft: 0 14px 36px rgba(8, 30, 58, 0.09);
  font-family: "IBM Plex Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "IBM Plex Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.soft-section {
  background: var(--surface-soft);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--primary-dark);
  line-height: 1.15;
}

h1 {
  margin-bottom: 20px;
  font-size: 4.6rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.45rem;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 227, 238, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
}

.brand-link img {
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--radius);
  color: #26384d;
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-blue);
  color: var(--primary);
  outline: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  background: var(--primary);
}

.hero-section {
  padding: 46px 0 32px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 78%),
    var(--surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: 46px;
}

.hero-copy {
  padding: 18px 0;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: 1.12rem;
}

.hero-bullets {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hero-bullets li {
  position: relative;
  padding-left: 30px;
  color: #26384d;
  font-weight: 700;
}

.hero-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-mint);
  color: var(--green);
  font-size: 0.82rem;
  line-height: 1;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.35;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 55, 106, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--primary);
  background: var(--surface-blue);
}

.trust-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  min-width: 0;
}

.product-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.preview-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--soft-line);
  background: #ffffff;
}

.preview-topbar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.preview-topbar strong,
.preview-topbar span {
  display: block;
}

.preview-topbar strong {
  color: var(--primary-dark);
  font-size: 1.04rem;
}

.preview-topbar span {
  color: var(--muted);
  font-size: 0.88rem;
}

.preview-layout {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 470px;
}

.preview-menu {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px 12px;
  border-right: 1px solid var(--soft-line);
  background: #f8fafc;
}

.preview-menu span {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #617083;
  font-size: 0.88rem;
  font-weight: 700;
}

.preview-menu .is-active {
  background: var(--primary);
  color: #ffffff;
}

.preview-content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  background: #fbfdff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  min-height: 88px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #ffffff;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.metric-card strong {
  color: var(--primary-dark);
  font-size: 1.55rem;
  line-height: 1.1;
}

.metric-card.tone-green {
  background: var(--surface-mint);
}

.metric-card.tone-gold {
  background: var(--surface-gold);
}

.metric-card.tone-teal {
  background: #e7f7fb;
}

.metric-card.tone-blue {
  background: var(--surface-blue);
}

.orders-panel,
.service-panel {
  padding: 14px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #ffffff;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.panel-title strong {
  color: var(--primary-dark);
}

.panel-title span {
  color: var(--muted);
  font-size: 0.85rem;
}

.order-list {
  display: grid;
  gap: 8px;
}

.order-row {
  min-height: 42px;
  display: grid;
  grid-template-columns: 78px 1fr 86px 64px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #ffffff;
}

.order-row span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.order-row strong {
  color: var(--ink);
  font-size: 0.93rem;
}

.order-row em {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.order-row b {
  justify-self: end;
  color: var(--primary-dark);
  font-size: 0.92rem;
}

.is-success {
  background: var(--surface-mint);
  color: var(--green);
}

.is-teal {
  background: #e7f7fb;
  color: var(--teal);
}

.is-blue {
  background: var(--surface-blue);
  color: var(--primary);
}

.is-gold {
  background: var(--surface-gold);
  color: var(--warning);
}

.service-row {
  min-height: 34px;
  display: grid;
  grid-template-columns: 96px 1fr 44px;
  align-items: center;
  gap: 10px;
  color: #26384d;
  font-size: 0.88rem;
  font-weight: 700;
}

.service-row strong {
  justify-self: end;
  color: var(--primary-dark);
}

.service-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef5;
}

.service-bar i {
  width: var(--value);
  height: 100%;
  display: block;
  border-radius: 999px;
  background: var(--teal);
}

.proof-band {
  background: var(--primary);
  color: #ffffff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-item {
  min-height: 152px;
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-item:first-child {
  border-left: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  font-size: 2.45rem;
  line-height: 1.1;
}

.proof-item span {
  margin-top: 4px;
  font-weight: 800;
}

.proof-item p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  align-items: end;
  gap: 32px;
}

.pain-grid,
.feature-grid,
.pricing-grid,
.review-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-card,
.feature-card,
.pricing-card,
.review-card,
.workflow-step,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.pain-card {
  min-height: 238px;
  padding: 24px;
}

.pain-card span {
  width: 42px;
  height: 6px;
  display: block;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.pain-card p,
.feature-card p,
.workflow-step p,
.pricing-card p,
.review-card figcaption {
  margin-bottom: 0;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  min-height: 226px;
  padding: 22px;
}

.feature-tag {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 4px 9px;
  border: 1px solid #d6e7f7;
  border-radius: var(--radius);
  background: var(--surface-blue);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-step {
  min-height: 214px;
  padding: 24px;
  box-shadow: none;
}

.workflow-step span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
}

.dashboard-band {
  background: var(--primary-dark);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(520px, 1fr);
  align-items: center;
  gap: 40px;
}

.dashboard-copy h2,
.dashboard-copy .eyebrow {
  color: #ffffff;
}

.dashboard-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.dashboard-copy .btn {
  margin-top: 8px;
  background: #ffffff;
  color: var(--primary);
  box-shadow: none;
}

.dashboard-band .product-preview {
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1.15fr;
  border-top: 1px solid var(--soft-line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row span,
.comparison-row strong {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-left: 1px solid var(--soft-line);
  color: #33465d;
}

.comparison-row strong {
  border-left: 0;
  color: var(--primary-dark);
}

.comparison-head {
  background: #f8fafc;
}

.comparison-head span {
  color: var(--primary-dark);
  font-weight: 800;
}

.comparison-row .paksa-cell {
  background: #f6fbf9;
  color: var(--green);
  font-weight: 800;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  position: relative;
  min-height: 446px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.pricing-card.is-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
}

.pricing-card > strong {
  display: block;
  margin: 12px 0 18px;
  color: var(--primary);
  font-size: 1.75rem;
  line-height: 1.2;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 26px;
  color: #33465d;
  font-weight: 650;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.pricing-card .btn {
  margin-top: auto;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  min-height: 230px;
  margin: 0;
  padding: 26px;
}

.review-card blockquote {
  margin: 0 0 20px;
  color: var(--primary-dark);
  font-size: 1.04rem;
  font-weight: 750;
  line-height: 1.7;
}

.review-card figcaption {
  color: var(--muted);
  font-weight: 700;
}

.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.client-strip span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 42px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  box-shadow: none;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 0;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  text-align: left;
}

.faq-item b {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-item b::before,
.faq-item b::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 10px;
  height: 2px;
  background: var(--primary);
}

.faq-item b::after {
  transform: rotate(90deg);
}

.faq-item button[aria-expanded="true"] b::after {
  display: none;
}

.faq-answer {
  padding: 0 18px 18px;
}

.faq-answer p {
  margin-bottom: 0;
}

.contact-section {
  padding: 82px 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 580px;
}

.contact-copy > p {
  max-width: 620px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.contact-channels div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.contact-channels span,
.contact-channels strong {
  display: block;
}

.contact-channels span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-channels strong {
  margin-top: 6px;
  color: var(--primary-dark);
  line-height: 1.35;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.lead-form label,
.admin-field {
  display: grid;
  gap: 7px;
}

.lead-form span,
.admin-field span {
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.admin-field input,
.admin-field select,
.admin-field textarea,
.lead-row select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

.lead-form textarea,
.admin-field textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
.lead-row select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 55, 106, 0.12);
}

.full-field,
.privacy-note,
.form-toast {
  grid-column: 1 / -1;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-toast,
.admin-toast {
  border-radius: var(--radius);
  background: #ecf9f4;
  color: var(--green);
  font-weight: 800;
}

.form-toast {
  padding: 10px 12px;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--primary-dark);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  align-items: center;
  gap: 28px;
}

.site-footer img {
  width: 180px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.admin-body {
  background: #f6f8fb;
}

.admin-lock {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-lock-card {
  width: min(360px, 100%);
  display: grid;
  gap: 12px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.admin-lock-card img {
  width: 150px;
  margin: 0 auto 4px;
}

.admin-lock-card h1 {
  margin: 0;
  font-size: 1.4rem;
}

.admin-lock-card > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-lock-card .admin-field {
  text-align: left;
}

.admin-lock-card .btn {
  width: 100%;
}

.admin-lock-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-logout {
  width: 100%;
  margin-top: 12px;
  text-align: center;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.admin-brand {
  display: block;
  padding: 8px 0 20px;
}

.admin-brand img {
  width: 190px;
}

.admin-tabs {
  display: grid;
  gap: 8px;
}

.admin-tabs button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: #33465d;
  font-weight: 800;
  text-align: left;
}

.admin-tabs button:hover,
.admin-tabs .is-active {
  border-color: var(--line);
  background: var(--surface-blue);
  color: var(--primary);
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-toast {
  position: sticky;
  top: 18px;
  z-index: 5;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
}

.admin-panel {
  max-width: 1120px;
  margin: 0 auto;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-panel-head h1 {
  margin: 0;
  font-size: 2rem;
}

.admin-actions,
.json-actions,
.lead-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 12px;
}

.admin-section-title h2 {
  margin: 0;
  font-size: 1.22rem;
}

.admin-hint {
  margin: 0;
  color: #6b7684;
  font-size: 0.86rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-field.is-wide,
.json-editor {
  grid-column: 1 / -1;
}

.admin-item-list {
  display: grid;
  gap: 12px;
}

.admin-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.admin-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-item-head strong {
  color: var(--primary-dark);
}

.text-button {
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--danger);
  font-weight: 800;
}

.admin-add {
  margin-top: 12px;
}

.lead-toolbar {
  margin-bottom: 14px;
}

.lead-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.lead-row {
  display: grid;
  grid-template-columns: 170px minmax(180px, 1.1fr) minmax(130px, 0.8fr) minmax(180px, 1.1fr) 150px;
  border-top: 1px solid var(--soft-line);
}

.lead-row:first-child {
  border-top: 0;
}

.lead-row span {
  min-height: 70px;
  display: grid;
  align-content: center;
  padding: 12px;
  border-left: 1px solid var(--soft-line);
  color: #33465d;
}

.lead-row span:first-child {
  border-left: 0;
}

.lead-head {
  background: #f8fafc;
  font-weight: 800;
}

.lead-row small,
.lead-row strong {
  display: block;
}

.lead-row small {
  color: var(--muted);
  font-size: 0.82rem;
}

.empty-state {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  font-weight: 800;
}

.json-editor textarea {
  min-height: 560px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.55;
}

.json-editor textarea.has-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(198, 70, 60, 0.1);
}

@media (max-width: 1080px) {
  .hero-grid,
  .dashboard-grid,
  .contact-grid,
  .faq-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .dashboard-grid,
  .contact-grid {
    gap: 30px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid .section-heading {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .proof-grid,
  .pain-grid,
  .pricing-grid,
  .review-grid,
  .workflow-grid,
  .contact-channels {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .proof-item:first-child {
    border-top: 0;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row span,
  .comparison-row strong {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .comparison-row strong {
    border-top: 0;
    background: #f8fafc;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .admin-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .lead-row {
    grid-template-columns: 1fr;
  }

  .lead-row span {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .lead-row span:first-child {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .section,
  .contact-section {
    padding: 54px 0;
  }

  .nav-shell {
    width: min(100% - 28px, 1180px);
    min-height: 68px;
  }

  .brand-link img,
  .admin-brand img {
    width: 150px;
  }

  .site-nav {
    left: 14px;
    right: 14px;
    top: 76px;
  }

  .hero-section {
    padding: 30px 0 24px;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-actions,
  .admin-actions,
  .json-actions,
  .lead-toolbar {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .preview-menu {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .preview-content {
    padding: 14px;
  }

  .metric-grid,
  .lead-form,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .order-row {
    grid-template-columns: 1fr 1fr;
  }

  .order-row b {
    justify-self: start;
  }

  .service-row {
    grid-template-columns: 86px 1fr 42px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 18px;
  }

  .admin-main {
    padding: 16px;
  }

  .admin-panel-head {
    display: grid;
  }
}

/* Reference-aligned landing page pass */
.site-header {
  border-bottom-color: rgba(11, 55, 106, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.nav-shell {
  min-height: 68px;
}

.brand-link img {
  width: 132px;
}

.site-nav {
  gap: 7px;
}

.site-nav a {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.88rem;
}

.site-nav .nav-trial {
  margin-left: 8px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 9px 20px rgba(11, 55, 106, 0.2);
}

.site-nav .nav-login {
  margin-left: 4px;
  border: 1px solid var(--primary);
  background: #ffffff;
  color: var(--primary);
}

.hero-section {
  min-height: 720px;
  padding: 58px 0 84px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 42%, rgba(239, 243, 247, 0.76) 70%, rgba(255, 255, 255, 0.24) 100%),
    #f7f8fa;
}

.hero-grid {
  min-height: 590px;
  grid-template-columns: minmax(430px, 0.86fr) minmax(560px, 1.14fr);
  gap: 22px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 44px;
}

.hero-copy .eyebrow {
  width: fit-content;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: var(--radius);
  background: rgba(185, 154, 124, 0.16);
  color: var(--accent);
  font-size: 0.86rem;
}

.hero-copy h1 {
  max-width: 640px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 3.85rem;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 18px;
  color: #607085;
  font-size: 1.03rem;
}

.hero-bullets {
  gap: 7px;
  margin-bottom: 24px;
}

.hero-bullets li {
  padding-left: 27px;
  color: #31445b;
  font-size: 0.97rem;
  font-weight: 700;
}

.hero-bullets li::before {
  top: 2px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
}

.hero-actions {
  margin-bottom: 10px;
}

.hero-actions .btn-primary,
.lead-form .btn-primary {
  background: var(--primary);
  box-shadow: 0 13px 28px rgba(11, 55, 106, 0.28);
}

.hero-actions .btn-secondary {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 590px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -70px -140px -86px 18%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(230, 226, 221, 0.42)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(232, 238, 244, 0.64));
  border-bottom-left-radius: 90px;
}

.hero-presenter {
  position: absolute;
  right: -28px;
  top: 34px;
  bottom: auto;
  width: min(760px, 112%);
  height: 560px;
  border-radius: 8px 0 0 8px;
  object-fit: cover;
  object-position: center right;
  box-shadow: 0 28px 44px rgba(28, 59, 94, 0.13);
}

.benefit-section {
  position: relative;
  z-index: 4;
  margin-top: -58px;
  padding-bottom: 78px;
  background: #ffffff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(8, 37, 73, 0.1);
}

.benefit-card {
  min-height: 130px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 22px 18px;
  border-left: 1px solid var(--soft-line);
  text-align: center;
}

.benefit-card:first-child {
  border-left: 0;
}

.benefit-card h3 {
  margin: 4px 0 0;
  color: var(--primary);
  font-size: 1rem;
}

.benefit-card p {
  margin: 0;
  color: #69798b;
  font-size: 0.85rem;
}

.benefit-icon,
.feature-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(185, 154, 124, 0.14);
  color: var(--primary);
  font-weight: 800;
}

.benefit-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-sales::before {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  border-top: 0;
  border-right: 0;
  transform: skewY(-18deg);
}

.icon-cost::before {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  transform: rotate(45deg);
}

.icon-trust::before {
  width: 14px;
  height: 18px;
  border-radius: 9px 9px 4px 4px;
}

.feature-section {
  padding-top: 0;
  background: #ffffff;
}

.centered-heading {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.centered-heading h2 {
  color: var(--primary-dark);
}

.centered-heading h2::after {
  content: " ตอบโจทย์ทุกการใช้งาน";
  color: var(--accent);
}

.feature-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(8, 37, 73, 0.08);
}

.feature-card {
  min-height: 158px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 22px 16px;
  border: 0;
  border-left: 1px solid var(--soft-line);
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.feature-card:first-child {
  border-left: 0;
}

.feature-card h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: #6b7b8d;
  font-size: 0.82rem;
  line-height: 1.45;
}

.feature-icon {
  margin-bottom: 4px;
  font-size: 0.76rem;
}

.dashboard-band {
  padding: 96px 0;
  background: #f1f6fd;
}

.dashboard-grid {
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1fr);
  gap: 56px;
}

.dashboard-copy .eyebrow {
  width: fit-content;
  padding: 7px 13px;
  border-radius: var(--radius);
  background: rgba(185, 154, 124, 0.16);
  color: var(--accent);
}

.dashboard-copy h2 {
  color: var(--primary-dark);
  font-size: 2.6rem;
}

.dashboard-copy p {
  color: #617083;
}

.dashboard-copy .btn {
  width: fit-content;
  margin-top: 12px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 13px 28px rgba(11, 55, 106, 0.24);
}

.dashboard-bullets {
  display: grid;
  gap: 9px;
  margin: 20px 0 18px;
  padding: 0;
  list-style: none;
}

.dashboard-bullets li {
  position: relative;
  padding-left: 27px;
  color: #31445b;
  font-weight: 750;
}

.dashboard-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
}

.dashboard-band .product-preview {
  border: 12px solid #15263e;
  border-radius: 26px;
  box-shadow: 0 28px 42px rgba(8, 37, 73, 0.22);
}

.dashboard-band .preview-layout {
  min-height: 348px;
}

.dashboard-band .preview-topbar {
  min-height: 58px;
  padding: 10px 14px;
}

.dashboard-band .preview-menu {
  padding: 12px 10px;
}

.dashboard-band .preview-content {
  padding: 12px;
}

.dashboard-band .metric-card {
  min-height: 70px;
}

.dashboard-band .order-row {
  min-height: 36px;
}

.proof-band {
  padding: 0 0 92px;
  background: #ffffff;
}

.proof-grid {
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 18px 34px rgba(11, 55, 106, 0.22);
}

.proof-item {
  min-height: 114px;
  padding: 24px 28px;
}

.proof-item strong {
  font-size: 2.15rem;
}

.proof-item p {
  display: none;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  min-height: 390px;
  box-shadow: 0 18px 42px rgba(8, 37, 73, 0.08);
}

.pricing-card.is-featured {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 24px 52px rgba(11, 55, 106, 0.18);
}

.pricing-card > strong {
  color: var(--primary);
}

.plan-badge {
  background: var(--accent);
}

.review-grid {
  gap: 20px;
}

.review-card {
  min-height: 188px;
  box-shadow: 0 16px 36px rgba(8, 37, 73, 0.08);
}

.review-card::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 10px;
  color: #f4b63d;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.client-strip {
  justify-content: center;
  margin-top: 34px;
}

.client-strip span {
  min-width: 148px;
  justify-content: center;
  background: #f4f8fe;
  color: var(--primary);
}

.contact-section {
  padding: 110px 0;
  background:
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, #124a86 100%);
}

.contact-copy {
  padding-top: 90px;
}

.contact-copy .eyebrow {
  color: #cfe1ff;
}

.contact-copy h2 {
  color: #ffffff;
  font-size: 2.7rem;
}

.contact-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
}

.no-card-note {
  position: relative;
  margin-top: 18px;
  padding-left: 26px;
  font-weight: 800;
}

.no-card-note::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.68rem;
}

.lead-form {
  box-shadow: 0 24px 50px rgba(2, 19, 50, 0.24);
}

.form-title {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--primary-dark);
  font-size: 1.22rem;
}

.site-footer {
  background: #071b35;
}

.footer-grid {
  grid-template-columns: 1.25fr 0.55fr 0.75fr 1fr;
  align-items: start;
  padding-bottom: 34px;
}

.site-footer img {
  width: 128px;
}

.site-footer nav,
.footer-contact {
  display: grid;
  gap: 8px;
}

.site-footer nav strong,
.footer-contact strong {
  margin-bottom: 8px;
  color: #ffffff;
}

.site-footer nav a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom span {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

#pain-points {
  padding-top: 0;
  background: #ffffff;
}

#pain-points .section-heading {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

#pain-points .pain-grid {
  gap: 20px;
}

#pain-points .pain-card {
  min-height: 188px;
  padding: 26px;
  box-shadow: 0 16px 34px rgba(8, 37, 73, 0.07);
}

#pain-points .pain-card span {
  width: 40px;
  height: 5px;
  margin-bottom: 18px;
  background: var(--accent);
}

#pain-points .pain-card h3 {
  color: var(--primary);
}

.feature-section {
  padding-top: 72px;
  background: #f8fafc;
}

#workflow {
  background: #ffffff;
}

#workflow .section-heading {
  max-width: 860px;
}

#workflow .workflow-step {
  min-height: 186px;
  border-color: rgba(11, 55, 106, 0.12);
  box-shadow: 0 12px 26px rgba(8, 37, 73, 0.05);
}

#workflow .workflow-step span {
  background: var(--primary);
}

#compare {
  padding-top: 84px;
  background: #ffffff;
}

#compare .section-heading {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

#compare .comparison-table {
  box-shadow: 0 18px 42px rgba(8, 37, 73, 0.08);
}

#compare .comparison-head {
  background: #f4f6f8;
}

#compare .comparison-row strong {
  color: var(--primary);
}

#compare .comparison-row .paksa-cell {
  background: rgba(185, 154, 124, 0.12);
  color: var(--primary);
}

#faq {
  background: #f8fafc;
}

#faq .faq-item {
  box-shadow: 0 12px 24px rgba(8, 37, 73, 0.05);
}

@media (max-width: 1080px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 680px;
  }

  .hero-presenter {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card:nth-child(3n + 1) {
    border-left: 0;
  }

  .feature-card:nth-child(n + 4) {
    border-top: 1px solid var(--soft-line);
  }

  .dashboard-copy {
    max-width: 700px;
  }

  .contact-copy {
    padding-top: 0;
  }
}

@media (max-width: 860px) {
  .site-nav .nav-trial {
    margin-left: 0;
  }

  .benefit-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-card:nth-child(2n + 1),
  .proof-item:nth-child(2n + 1) {
    border-left: 0;
  }

  .benefit-card:nth-child(n + 3),
  .proof-item:nth-child(n + 3) {
    border-top: 1px solid var(--soft-line);
  }

  .proof-item:nth-child(n + 3) {
    border-top-color: rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 26px;
    padding-bottom: 36px;
  }

  .hero-copy {
    padding-top: 14px;
  }

  .hero-copy h1 {
    font-size: 2.58rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-presenter {
    bottom: -36px;
    width: min(420px, 112%);
    height: 560px;
  }

  .benefit-section {
    margin-top: 0;
    padding: 20px 0 58px;
  }

  .benefit-grid,
  .feature-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .feature-card,
  .proof-item {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .benefit-card:first-child,
  .feature-card:first-child,
  .proof-item:first-child {
    border-top: 0;
  }

  .dashboard-band {
    padding: 58px 0;
  }

  .dashboard-copy h2,
  .contact-copy h2 {
    font-size: 2rem;
  }

  .dashboard-copy .btn {
    width: 100%;
  }

  .dashboard-band .product-preview {
    border-width: 8px;
    border-radius: 18px;
  }

  .proof-band {
    padding-bottom: 58px;
  }

  .pricing-card.is-featured {
    transform: none;
  }

  .contact-section {
    padding: 62px 0;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}

/* Icon/contact pass: keeps the earlier content structure while matching the requested visual direction. */
.hero-blend {
  min-height: 752px;
  padding: 0;
  display: flex;
  align-items: stretch;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.96) 32%,
      rgba(255, 255, 255, 0.74) 50%,
      rgba(255, 255, 255, 0.24) 68%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 74%, #ffffff 100%),
    var(--hero-image);
  background-position:
    center,
    center,
    center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-blend .hero-grid {
  width: min(1280px, calc(100% - 40px));
  min-height: 752px;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
  gap: 24px;
}

.hero-blend .hero-copy {
  max-width: 680px;
  padding: 46px 0 72px;
}

.hero-blend .eyebrow {
  max-width: 600px;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1.04rem;
}

.hero-title-brand {
  color: var(--primary);
}

.hero-blend .hero-copy h1 {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 3.08rem;
  line-height: 1.14;
}

.hero-blend .hero-lead {
  max-width: 610px;
  color: #3d4a59;
  font-size: 1.12rem;
}

.hero-blend .hero-bullets {
  max-width: 610px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.hero-blend .hero-bullets li {
  color: #24374b;
}

.hero-blend .hero-bullets li::before {
  background: rgba(185, 154, 124, 0.14);
  color: var(--primary);
}

.hero-blend .btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(126, 95, 65, 0.2);
}

.hero-blend .btn-primary:hover,
.hero-blend .btn-primary:focus-visible {
  background: #a98866;
  color: #ffffff;
}

.hero-blend .btn-secondary {
  border-color: rgba(11, 55, 106, 0.2);
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
}

.hero-blend .hero-visual {
  display: none;
}

.visual-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.visual-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-icon .icon-accent {
  stroke: var(--accent);
}

.visual-icon .icon-fill {
  fill: rgba(185, 154, 124, 0.12);
}

.benefit-card .visual-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 2px;
}

#pain-points {
  padding: 86px 0;
  background: #f7f9fb;
}

#pain-points .section-heading {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

#pain-points .pain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#pain-points .pain-card {
  min-height: 226px;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 28px 20px 24px;
  border-color: rgba(11, 55, 106, 0.1);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(8, 37, 73, 0.06);
  text-align: center;
}

#pain-points .pain-card .visual-icon {
  width: 70px;
  height: 70px;
  display: grid;
  margin: 0 0 18px;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
}

#pain-points .pain-card h3 {
  margin-bottom: 8px;
  color: #202c3a;
  font-size: 1.18rem;
}

#pain-points .pain-card p {
  max-width: 230px;
  color: #617083;
  font-size: 0.98rem;
  line-height: 1.55;
}

.feature-section {
  padding: 90px 0 94px;
  background: #ffffff;
}

.feature-section .centered-heading {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-section .centered-heading .eyebrow {
  color: var(--primary);
  font-size: 1.06rem;
}

.feature-section .centered-heading h2 {
  color: #101820;
  font-size: 3.1rem;
}

.feature-section .centered-heading h2::after {
  content: "";
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 62px 46px;
  margin-top: 58px;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.feature-card {
  min-height: 256px;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.feature-card .visual-icon {
  width: 96px;
  height: 96px;
  display: grid;
  margin: 0 auto 24px;
  color: var(--primary);
}

.feature-card:nth-child(3n + 2) .visual-icon .icon-accent {
  stroke: var(--teal);
}

.feature-card:nth-child(3n) .visual-icon .icon-accent {
  stroke: var(--warning);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: #242d38;
  font-size: 1.5rem;
}

.feature-card p {
  max-width: 340px;
  color: #5f6f80;
  font-size: 1.02rem;
  line-height: 1.6;
}

.clients-section {
  padding: 84px 0;
  background: #f7f9fb;
}

.clients-section .section-heading {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.clients-section .client-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.client-logo {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 22px 18px;
  border: 1px solid rgba(11, 55, 106, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(8, 37, 73, 0.05);
  overflow: hidden;
  text-align: center;
}

.client-logo .visual-icon {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 50%;
  background: rgba(11, 55, 106, 0.08);
  color: var(--primary);
}

.client-logo .visual-icon svg {
  width: 60%;
  height: 60%;
}

.clients-section .client-logo span {
  width: 100%;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
}

.contact-section {
  padding: 60px 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.contact-info-grid {
  grid-template-columns: minmax(0, 0.76fr) minmax(400px, 1fr);
  align-items: center;
}

.contact-copy h2 {
  color: #172536;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(11, 55, 106, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(8, 37, 73, 0.08);
}

.line-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(185, 154, 124, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(185, 154, 124, 0.12), rgba(11, 55, 106, 0.04)),
    #ffffff;
}

.line-card span,
.line-card strong {
  display: block;
}

.line-card span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.line-card strong {
  margin: 2px 0 8px;
  color: var(--primary-dark);
  font-size: 1.08rem;
  line-height: 1.25;
}

.line-card .btn {
  width: max-content;
  min-height: 34px;
  padding: 7px 16px;
  font-size: 0.9rem;
}

.line-qr {
  width: 108px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #ffffff;
}

.line-qr-image {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.line-qr-mock {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.line-qr-mock span {
  min-width: 0;
  min-height: 0;
  border-radius: 2px;
  background: #edf2f7;
}

.line-qr-mock .is-dark {
  background: var(--primary);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-method {
  min-height: 0;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #ffffff;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(11, 55, 106, 0.26);
  box-shadow: 0 12px 24px rgba(8, 37, 73, 0.07);
  outline: none;
}

.contact-method .visual-icon {
  width: 26px;
  height: 26px;
  margin: 0;
}

.contact-method span,
.contact-method strong {
  display: block;
}

.contact-method span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
}

.contact-method strong {
  color: var(--primary-dark);
  font-size: 0.92rem;
  line-height: 1.3;
}

.contact-panel .privacy-note {
  grid-column: auto;
}

@media (max-width: 1080px) {
  .hero-blend {
    min-height: 640px;
  }

  .hero-blend .hero-grid {
    min-height: 640px;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  }

  .hero-blend .hero-copy h1 {
    font-size: 2.72rem;
  }

  #pain-points .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-section .client-strip,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-blend {
    min-height: auto;
    padding: 24px 0 0;
    background-image:
      linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  }

  .hero-blend .hero-grid {
    width: min(100%, calc(100% - 32px));
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-blend .hero-copy {
    max-width: none;
    padding: 18px 0 0;
  }

  .hero-blend .hero-copy h1 {
    font-size: 1.96rem;
  }

  .hero-blend .hero-bullets {
    grid-template-columns: 1fr;
  }

  .hero-blend .hero-actions .btn {
    width: 100%;
  }

  .hero-blend .hero-visual {
    width: calc(100% + 32px);
    min-height: 330px;
    display: block;
    margin-left: -16px;
    border-radius: 0;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 64%, #ffffff 100%),
      var(--hero-image);
    background-position: center;
    background-size: cover;
  }

  .benefit-section {
    margin-top: 0;
  }

  #pain-points,
  .feature-section,
  .clients-section,
  .contact-section {
    padding: 64px 0;
  }

  #pain-points .pain-grid,
  .feature-grid,
  .clients-section .client-strip,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .feature-section .centered-heading h2 {
    font-size: 2.2rem;
  }

  .feature-grid {
    gap: 40px;
    margin-top: 42px;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card .visual-icon {
    width: 82px;
    height: 82px;
  }

  .line-card {
    grid-template-columns: 1fr;
  }

  .line-qr {
    width: min(160px, 100%);
  }

  .line-card .btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .hero-blend .hero-copy h1 {
    font-size: 1.78rem;
  }

  .hero-blend .hero-lead,
  .feature-card p,
  #pain-points .pain-card p {
    font-size: 0.96rem;
  }

  .contact-panel {
    padding: 14px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }
}
