/* ============================================================
   Piyatawee Inspector — Shared Design System
   Ocean Blue + Amber accent, clean professional Thai website
   Mobile-first, responsive
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --bg:         oklch(99% 0.002 250);
  --surface:    oklch(100% 0 0);
  --fg:         oklch(22% 0.02 250);
  --muted:      oklch(50% 0.015 250);
  --border:     oklch(90% 0.006 250);

  --primary:        oklch(42% 0.14 250);
  --primary-dark:   oklch(30% 0.10 250);
  --primary-light:  oklch(75% 0.04 250);
  --primary-ultra:  oklch(93% 0.015 250);

  --accent:         oklch(68% 0.15 75);
  --accent-dark:    oklch(55% 0.14 70);

  --success: oklch(55% 0.16 160);
  --warn:    oklch(68% 0.15 80);
  --danger:  oklch(50% 0.18 25);

  --font-display: 'Prompt', 'Sarabun', system-ui, -apple-system, sans-serif;
  --font-body:    'Sarabun', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  --header-h: 72px;
  --sticky-bar-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: var(--sticky-bar-h);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
}

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: clamp(16px, 2vw, 20px); }

p {
  margin-bottom: 1em;
  max-width: 65ch;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--primary-dark); }

a:focus-visible,
button:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

strong { font-weight: 600; }

/* Skip-to-content */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}

.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-small { font-size: 14px; }
.text-caption { font-size: 12px; letter-spacing: 0.02em; }
.text-mono { font-family: var(--font-mono); font-size: 14px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-premium {
  position: relative;
}

.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 12px;
  letter-spacing: 0;
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Header & Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  height: var(--header-h);
  transform: translateY(0);
  transition: transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Initial hidden state (JS removes this to trigger slide-in) */
.site-header.header--init {
  transform: translateY(-100%);
}

/* Scrolled past 10 px — opaque background, shadow, visible border */
.site-header.header--scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom-color: var(--border);
}

/* Hide header when scrolling down past 120 px */
.site-header.header--hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-slide {
    transition: none;
  }

  .hero-carousel {
    animation: none;
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-dark);
}

.site-logo .logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo .logo-circle .logo-inner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
}

.site-logo .logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--primary-dark);
}

.site-logo .logo-text small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  transition: all 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-ultra);
}
/* active indicator — subtle underline, not competing with Hero CTA */
.main-nav a.active {
  position: relative;
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 10px;
  min-width: 44px;
  min-height: 44px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  padding-top: var(--header-h);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.mobile-menu a:hover {
  color: var(--primary);
  background: var(--primary-ultra);
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .nav-cta { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
  white-space: normal;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: var(--surface);
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
}
.btn-white:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-line {
  background: #0084FF;
  color: #fff;
}
.btn-line:hover {
  background: #006ed6;
  color: #fff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ---- Hero Section ---- */
.hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #f7fbfc 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(31, 111, 139, 0.08);
}

.hero .container {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

/* Eyebrow badge */
.hero-eyebrow {
  margin-bottom: 14px;
}
.hero-eyebrow-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary-ultra);
  color: var(--primary);
  border: 1px solid rgba(31, 111, 139, 0.15);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.hero-content h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.hero-content .hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

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

/* Primary CTA — Amber, larger, most prominent */
.hero-actions .btn-primary.btn-lg {
  padding: 18px 40px;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(204, 153, 0, 0.3);
  letter-spacing: 0.01em;
}
.hero-actions .btn-primary.btn-lg:hover {
  box-shadow: 0 8px 32px rgba(204, 153, 0, 0.4);
  transform: translateY(-2px);
}

/* Messenger — secondary, smaller */
.hero-actions .btn-line.btn-lg {
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 132, 255, 0.15);
}
.hero-actions .btn-line.btn-lg:hover {
  box-shadow: 0 4px 18px rgba(0, 132, 255, 0.25);
  transform: translateY(-2px);
}

/* Info link card — replaces old inline-style hero-lp-promo */
.hero-info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: oklch(97% 0.008 250);
  border: 1px solid rgba(31, 111, 139, 0.1);
  border-radius: 999px;
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.hero-info-link:hover {
  background: var(--primary-ultra);
  border-color: rgba(31, 111, 139, 0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: var(--primary-dark);
}
.hero-info-link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-ultra);
  color: var(--primary);
}
.hero-info-link-arrow {
  font-size: 15px;
  opacity: 0.6;
  transition: transform 0.2s, opacity 0.2s;
}
.hero-info-link:hover .hero-info-link-arrow {
  transform: translateX(3px);
  opacity: 1;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 520px);
  margin-bottom: 16px;
}

.hero-proof-item {
  min-width: 0;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(31, 111, 139, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(18, 49, 67, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hero-proof-item:hover {
  box-shadow: 0 12px 28px rgba(18, 49, 67, 0.08);
  transform: translateY(-1px);
}

.hero-proof-number {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.hero-proof-item strong {
  display: block;
  margin-top: 4px;
  color: var(--fg);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 111, 139, 0.08);
  max-width: 480px;
  line-height: 1.5;
}

.hero-trust .trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(31, 111, 139, 0.1);
  box-shadow:
    0 4px 24px rgba(18, 49, 67, 0.06),
    0 16px 48px rgba(18, 49, 67, 0.08);
  overflow: hidden;
  position: relative;
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  pointer-events: none;
}

.hero-carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-visual {
  min-height: 100%;
  padding: 38px 34px 106px;
  display: grid;
  place-items: center;
  background: var(--surface);
}

.hero-slide-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-condo {
  background: linear-gradient(135deg, #f7fafc 0%, #e7f6f2 100%);
}

.hero-slide-factory {
  background: linear-gradient(135deg, #f7fafc 0%, #eef4f8 100%);
}

.hero-slide-hotel {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7f9 100%);
}

.hero-slide-report {
  background: linear-gradient(135deg, #f7fafc 0%, #f4fbf8 100%);
}

.hero-slide-visual svg {
  width: min(100%, 310px);
  height: auto;
  display: block;
}

.hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px 18px;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(31, 111, 139, 0.08);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.hero-slide-caption strong,
.hero-slide-caption span {
  display: block;
  min-width: 0;
}

.hero-slide-caption strong {
  color: var(--primary-dark);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-slide-caption span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-carousel-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-carousel-btn,
.hero-carousel-dot {
  border: 1px solid rgba(31, 111, 139, 0.12);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.hero-carousel-btn:hover,
.hero-carousel-dot:hover,
.hero-carousel-btn:focus-visible,
.hero-carousel-dot:focus-visible {
  background: var(--primary);
  color: white;
  outline: none;
}

.hero-carousel-btn:hover,
.hero-carousel-btn:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(31, 111, 139, 0.08);
  pointer-events: auto;
}

.hero-carousel-dot {
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
}

.hero-carousel-dot.active,
.hero-carousel-dot[aria-current="true"] {
  width: 28px;
  border-radius: 999px;
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

@media (max-width: 767px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-content .hero-sub {
    font-size: 16px;
    max-width: 100%;
  }

  /* CTA stacked */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Info link */
  .hero-info-link {
    width: 100%;
    font-size: 13.5px;
    padding: 10px 14px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    gap: 8px;
  }

  .hero-proof-item {
    padding: 12px 10px;
  }

  .hero-proof-number {
    font-size: 20px;
  }

  .hero-proof-item strong {
    margin-top: 3px;
    font-size: 11.5px;
  }

  .hero-trust {
    max-width: 100%;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 12.5px;
    align-items: center;
  }

  .hero-visual {
    margin-top: 24px;
  }

  .hero-carousel {
    aspect-ratio: 4 / 3;
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .hero-carousel::before {
    border-radius: 10px;
  }

  .hero-slide-visual {
    padding: 44px 26px 126px;
  }

  .hero-slide-caption {
    padding: 14px 16px 16px;
  }

  .hero-slide-caption strong {
    font-size: 15px;
  }

  .hero-slide-caption span {
    font-size: 12px;
  }

}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content .hero-sub {
    font-size: 16px;
  }
  .hero-proof {
    max-width: 100%;
  }
  .hero-carousel {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }
  .hero-carousel::before {
    border-radius: 10px;
  }
}

@media (min-width: 768px) {
  .hero { padding: 76px 0 64px; }
  .hero .container {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

@media (max-width: 370px) {
  .hero-proof {
    gap: 6px;
  }
  .hero-proof-item {
    padding: 10px 8px;
  }
  .hero-proof-number {
    font-size: 18px;
  }
  .hero-proof-item strong {
    font-size: 10px;
    margin-top: 2px;
  }
}

/* ---- Trust Bar ---- */
.trust-bar {
  padding: 26px 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(31, 111, 139, 0.1);
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(31, 111, 139, 0.08);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--fg);
  font-weight: 500;
  min-width: 0;
}

.trust-item:last-child {
  grid-column: 1 / -1;
}

@media (max-width: 360px) {
  .trust-bar .container {
    grid-template-columns: 1fr;
    gap: 12px 16px;
  }
  .trust-item:last-child {
    grid-column: auto;
  }
  .trust-item {
    font-size: 13px;
    gap: 8px;
  }
  .trust-icon {
    width: 30px;
    height: 30px;
  }
  .trust-icon svg {
    width: 16px;
    height: 16px;
  }
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f0f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

@media (min-width: 640px) {
  .trust-bar .container {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .trust-item:last-child {
    grid-column: auto;
  }

  .trust-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 8px;
  }
}

/* ---- Service Cards ---- */
.service-card {
  background: var(--surface);
  border: 1px solid rgba(31, 111, 139, 0.1);
  border-radius: 8px;
  padding: 32px 28px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(18, 49, 67, 0.04);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--success));
  opacity: 0;
  transition: opacity 0.25s;
}

.service-card:hover {
  box-shadow: 0 18px 40px rgba(18, 49, 67, 0.1);
  border-color: rgba(31, 111, 139, 0.22);
  transform: translateY(-2px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #f0f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card .card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.service-card .card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

/* ---- Why Choose Us (Card Grid) ---- */
.why-grid-cards {
  display: grid;
  gap: 24px;
}

.why-card {
  background: var(--surface);
  border: 1px solid rgba(31, 111, 139, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(18, 49, 67, 0.04);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s;
}

.why-card:hover {
  box-shadow: 0 16px 36px rgba(18, 49, 67, 0.1);
  transform: translateY(-2px);
  border-color: rgba(31, 111, 139, 0.22);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-ultra);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}

.why-card:hover .why-card-icon {
  background: var(--primary);
  color: #fff;
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0;
  color: var(--primary-dark);
  line-height: 1.3;
}

.why-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.why-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s, gap 0.2s;
}

.why-card-link:hover {
  color: var(--primary-dark);
  gap: 6px;
}

@media (min-width: 640px) {
  .why-grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .why-grid-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Process Steps (Timeline) ---- */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 20px;
  position: relative;
}

.process-step .step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
}

.process-step .step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 6px oklch(93% 0.015 250);
}

.process-step .step-line {
  width: 2px;
  flex: 1;
  min-height: 32px;
  background: var(--primary-light);
  margin: 4px 0;
  border-radius: 1px;
}

.process-step:last-child .step-line {
  display: none;
}

.process-step .step-card {
  background: var(--surface);
  border: 1px solid rgba(31, 111, 139, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 8px;
  box-shadow: 0 4px 16px rgba(18, 49, 67, 0.04);
  transition: box-shadow 0.25s, border-color 0.25s;
  flex: 1;
  min-width: 0;
}

.process-step .step-card:hover {
  box-shadow: 0 8px 24px rgba(18, 49, 67, 0.08);
  border-color: rgba(31, 111, 139, 0.2);
}

.process-step .step-card h4 {
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: 0;
  color: var(--primary-dark);
}

.process-step .step-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Process closing CTA */
.process-cta {
  text-align: center;
  margin-top: 40px;
  padding: 32px 24px;
  background: var(--primary-ultra);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 111, 139, 0.1);
}

.process-cta h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.process-cta p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
}

@media (max-width: 480px) {
  .process-step {
    gap: 14px;
  }

  .process-step .step-marker {
    width: 36px;
  }

  .process-step .step-num {
    width: 36px;
    height: 36px;
    font-size: 17px;
    box-shadow: 0 0 0 5px oklch(93% 0.015 250);
  }

  .process-step .step-card {
    padding: 16px 18px;
  }

  .process-step .step-card h4 {
    font-size: 16px;
  }

  .process-step .step-card p {
    font-size: 14px;
  }
}

/* ---- Credentials Section ---- */
.creds-grid {
  display: grid;
  gap: 24px;
}

.cred-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.cred-card .cred-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.cred-card .cred-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.cred-card .cred-detail {
  font-size: 14px;
  color: var(--muted);
}

.cert-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.cert-preview-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}

.cert-preview-btn:hover .cert-preview {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.cert-preview-btn:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 30, 0.82);
}

.cert-lightbox.open {
  display: flex;
}

.cert-lightbox-dialog {
  width: min(1100px, 100%);
  max-height: 94vh;
  display: grid;
  gap: 12px;
}

.cert-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.cert-lightbox-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.cert-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cert-lightbox-original {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.cert-lightbox-original:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.cert-lightbox-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cert-lightbox-close:hover {
  background: rgba(255,255,255,0.22);
}

.cert-lightbox-img {
  width: 100%;
  max-height: calc(94vh - 64px);
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .cert-lightbox {
    padding: 12px;
  }

  .cert-lightbox-title {
    font-size: 15px;
  }

  .cert-lightbox-header {
    align-items: flex-start;
  }

  .cert-lightbox-actions {
    gap: 8px;
  }

  .cert-lightbox-original {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .cert-lightbox-close {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 640px) {
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .creds-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Service Areas (Region Cards) ---- */
.area-regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.area-region-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.area-region-hd {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.area-region-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-top: 2px;
}

.area-region-badge {
  border-radius: var(--radius-md);
  background: var(--primary-ultra);
  color: var(--primary);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.area-region-hd-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.area-region-hd-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  background: var(--primary-ultra);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s;
  user-select: none;
}

.area-pill:hover {
  border-color: var(--primary-light);
  background: var(--surface);
}

.area-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--primary-ultra);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.area-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .area-regions {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Province Cards (legacy — used in contact page) ---- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.area-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  transition: all 0.2s;
}

.area-card:hover {
  border-color: var(--primary-light);
  background: var(--primary-ultra);
  color: var(--primary);
}

.area-card .area-pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .area-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(42, 168, 118, 0.16), transparent 42%),
    var(--primary-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-banner .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-premium .btn {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* ---- FAQ Accordion ---- */

/* Prevent sticky header (72px) from covering the FAQ heading on scroll */
.section[data-od-id="faq"] {
  scroll-margin-top: 84px;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow 0.2s, background 0.2s;
}

/* Closed — white, subtle border, clean */
.faq-item:not(.open) {
  background: var(--surface);
}

/* Hover on closed item — barely-there gray, not the opened blue */
.faq-item:not(.open):hover {
  background: oklch(98% 0.002 250);
}

/* Opened — whisper-light blue-gray background + amber left accent stripe */
.faq-item.open {
  background: oklch(97% 0.006 250);
  box-shadow: inset 3px 0 0 var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  text-align: left;
  line-height: 1.4;
}

/* Hover interaction — subtle arrow color shift only; no background change */
.faq-question:hover .faq-icon {
  color: var(--primary-dark);
}

/* Focus-visible — outline ring only, distinct from opened state (no bg change) */
.faq-question:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: -2px;
  border-radius: 3px;
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  transition: transform 0.25s, color 0.2s;
  color: var(--muted);
}

/* Opened arrow — rotates up, turns Ocean Blue */
.faq-item.open .faq-question .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Collapsed answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 800px;
}

/* Answer paragraph */
.faq-answer p {
  padding: 12px 20px 16px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.faq-answer p:first-child {
  padding-top: 6px;
}

/* Checklist inside answer */
.faq-checklist {
  list-style: none;
  padding: 4px 20px 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.6;
}

.faq-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--primary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9.5L7 12.5L14 5.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9.5L7 12.5L14 5.5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

/* Inline CTA button inside answer (ค่าบริการ item) */
.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 20px 20px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--surface);
  background: var(--accent);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.faq-cta:hover {
  background: oklch(63% 0.15 75);
  transform: translateY(-1px);
}

.faq-cta:active {
  transform: translateY(0);
}

/* ---- FAQ Footer Closing CTA ---- */
.faq-footer-cta {
  max-width: 680px;
  margin: 48px auto 0;
  text-align: center;
  padding: 36px 32px;
  background: var(--primary-ultra);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.faq-footer-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.faq-footer-cta p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 auto 20px;
  max-width: 520px;
}

.faq-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .faq-footer-cta {
    padding: 28px 20px;
    margin-top: 40px;
    margin-bottom: 8px;
  }
  .faq-footer-actions {
    flex-direction: column;
    align-items: center;
  }
  .faq-footer-actions .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

/* ---- Contact Form ---- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(42% 0.14 250 / 0.15);
}

.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px oklch(50% 0.18 25 / 0.1);
}

.form-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 4px;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row--related .form-group {
  margin-bottom: 20px;
}

.optional-label {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

.form-microcopy {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* ---- Contact Page: Compact Hero ---- */
.page-hero--contact {
  padding: 36px 0 32px;
}

.page-hero--contact h1 {
  margin-bottom: 8px;
}

.page-hero--contact p {
  font-size: 16px;
  max-width: 560px;
  margin-bottom: 24px;
}

.page-hero--contact .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-hero--contact .hero-actions .btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

@media (max-width: 767px) {
  .page-hero--contact {
    padding: 28px 0 24px;
  }

  .page-hero--contact h1 {
    font-size: 26px;
  }

  .page-hero--contact p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-hero--contact .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero--contact .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Contact Conversion Grid (Form + Sidebar) ---- */
.contact-conversion-section {
  padding-top: 40px;
  padding-bottom: 56px;
}

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

.contact-form-col {
  min-width: 0;
}

.contact-form-col .contact-form {
  max-width: 100%;
}

/* Contact Sidebar */
.contact-sidebar {
  min-width: 0;
}

.contact-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.contact-sidebar-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.contact-sidebar-item:last-child {
  margin-bottom: 0;
}

.contact-sidebar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-ultra);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.contact-sidebar-detail {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-sidebar-phone {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  line-height: 1.3;
  word-break: break-all;
}

.contact-sidebar-phone:hover {
  color: var(--primary);
}

.contact-sidebar-text {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.55;
  word-break: break-all;
}

.contact-sidebar-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

.contact-sidebar-divider {
  margin: 20px 0;
  border: none;
  border-top: 1px solid var(--border);
}

.contact-sidebar-maps-btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* Contact Sidebar Trust (Desktop-only) */
.contact-sidebar-trust {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Trust Badge */
.trust-badge {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--primary-ultra);
  border: 1px solid rgba(31, 111, 139, 0.12);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 20px;
}

.trust-badge-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-badge-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.4;
}

.trust-badge-text span {
  font-size: 13.5px;
  color: var(--fg);
  line-height: 1.5;
}

.trust-badge-reg {
  font-size: 13px !important;
  color: var(--muted) !important;
  font-family: var(--font-mono);
}

.trust-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-top: 4px;
  text-decoration: none;
  transition: color 0.2s;
}

.trust-badge-link:hover {
  color: var(--primary-dark);
}

/* Trust badge visibility */
.trust-badge--mobile {
  display: flex;
}

@media (min-width: 900px) {
  .trust-badge--mobile {
    display: none;
  }
}

.trust-badge--desktop-only {
  display: none;
}

@media (min-width: 900px) {
  .trust-badge--desktop-only {
    display: flex;
  }
}

/* Desktop 2-column layout */
@media (min-width: 900px) {
  .contact-conversion-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 40px;
  }

  .contact-sidebar-card {
    position: sticky;
    top: 96px;
  }
}

/* Sidebar trust badge inside card — no extra margin/bg */
.contact-sidebar-trust {
  margin-top: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.contact-sidebar-trust .trust-badge-icon {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.contact-sidebar-trust .trust-badge-text strong {
  font-size: 14px;
}

.contact-sidebar-trust .trust-badge-text span {
  font-size: 12.5px;
}

.contact-sidebar-trust .trust-badge-reg {
  font-size: 12px !important;
}

/* Anchor offset for #quote-form */
#quote-form {
  scroll-margin-top: 96px;
}

/* ---- Portfolio Gallery ---- */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: box-shadow 0.25s;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-md);
}

.portfolio-card .port-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--primary-ultra);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.portfolio-card .port-info {
  padding: 16px;
}

.portfolio-card .port-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.portfolio-card .port-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 640px) {
  .portfolio-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .portfolio-gallery { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Article Cards ---- */
.article-grid {
  display: grid;
  gap: 24px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.article-card .article-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--primary-ultra);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.article-card .article-body {
  padding: 20px;
}

.article-card .article-date {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.article-card .article-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 640px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .article-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Blog Article Layout ---- */
.article-hero {
  padding: 48px 0 32px;
  background: var(--primary-ultra);
  text-align: center;
}

.article-hero .article-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.article-hero h1 {
  max-width: 800px;
  margin: 0 auto 12px;
}

article.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 17px;
  line-height: 1.8;
}

article.article-body .article-content h2 {
  margin: 40px 0 16px;
}

article.article-body .article-content h3 {
  margin: 28px 0 12px;
}

article.article-body .article-content p {
  margin-bottom: 20px;
}

article.article-body .article-content ul,
article.article-body .article-content ol {
  margin: 0 0 20px 20px;
}

article.article-body .article-content li {
  margin-bottom: 8px;
}

article.article-body .article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--primary-ultra);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

/* ---- Blog Index: Grid & Cards ---- */
.blog-index-body {
  padding: 28px 0;
}

.blog-hero-inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.blog-hero-inner .hero-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.blog-index-cta {
  margin-top: 64px;
  text-align: center;
}

.blog-index-cta-copy {
  margin: 0 auto 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
  min-width: 0;
  box-shadow: 0 4px 12px rgba(18, 49, 67, 0.04);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: 0 12px 32px rgba(18, 49, 67, 0.1);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Category kicker — subtle visual anchor above card title */
.blog-card-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.blog-card-kicker i {
  font-size: 12px;
  opacity: 0.7;
}

.blog-card h2 {
  font-size: clamp(17px, 1.8vw, 20px);
  margin-bottom: 0;
  line-height: 1.4;
}

.blog-card h2 a {
  color: var(--primary-dark);
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: var(--primary);
}

.blog-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Tags — visible but less dominant than title */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-ultra);
  color: var(--primary);
  border: 1px solid rgba(31, 111, 139, 0.1);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Text-style article link — cleaner than a heavy outline button */
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s, gap 0.2s;
}

.blog-card-link:hover {
  color: var(--primary-dark);
  gap: 8px;
}

.blog-card-link-arrow {
  font-size: 13px;
  transition: transform 0.2s;
}

.blog-card-link:hover .blog-card-link-arrow {
  transform: translateX(2px);
}

/* ---- Blog Article Content Typography ---- */
.article-content h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 40px 0 16px;
  color: var(--primary-dark);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 28px 0 12px;
  color: var(--primary-dark);
}

.article-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 100%;
  color: var(--fg);
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 20px;
}

.article-content li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ---- Blog FAQ (non-accordion, static display) ---- */
.article-content .faq-list {
  max-width: 100%;
  gap: 12px;
}

.article-content .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 20px 22px;
}

.article-content .faq-item h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--fg);
}

.article-content .faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---- Article Page Hero (single-column, editorially focused) ---- */
/* Override home-page grid for article/location/blog pages */
.page-hero.page-hero--article,
.page-hero.page-hero--article .container {
  display: block;
}

.page-hero.page-hero--article .container {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.page-hero.page-hero--article {
  padding: 48px 0 36px;
  background: none;
}

.page-hero.page-hero--article h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  max-width: 900px;
  color: var(--primary-dark);
}

.page-hero.page-hero--article .hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--muted);
  line-height: 1.8;
  max-width: 800px;
  margin: 0;
}

/* Article meta row — polished pill-style, centered under intro */
.article-meta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding: 9px 16px;
  background: var(--primary-ultra);
  border: 1px solid rgba(31, 111, 139, 0.12);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.article-meta i {
  font-size: 13px;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}

/* Table of contents — compact, anchored */
.article-toc {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--primary-ultra);
  border: 1px solid rgba(31, 111, 139, 0.1);
  border-radius: var(--radius-md);
}

.article-toc-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.article-toc a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--primary);
  text-decoration: none;
  line-height: 1.5;
  border-bottom: 1px solid rgba(31, 111, 139, 0.06);
  transition: color 0.15s, padding-left 0.2s;
}

.article-toc a:last-child {
  border-bottom: none;
}

.article-toc a:hover {
  color: var(--primary-dark);
  padding-left: 4px;
}

/* ---- Article Body ---- */
.article-body {
  padding-top: 32px;
}

.article-body .container {
  max-width: 820px;
  margin-inline: auto;
}

.article-content h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 48px 0 18px;
  color: var(--primary-dark);
  line-height: 1.3;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 28px 0 12px;
  color: var(--primary-dark);
}

.article-content p {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 100%;
  color: var(--fg);
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 20px;
}

.article-content li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ---- Blog FAQ (non-accordion, static display) ---- */
.article-content .faq-list {
  max-width: 100%;
  gap: 12px;
}

.article-content .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 20px 22px;
}

.article-content .faq-item h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--fg);
}

.article-content .faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .page-hero.page-hero--article {
    padding: 28px 0 20px;
  }

  .page-hero.page-hero--article h1 {
    font-size: 24px;
    line-height: 1.22;
  }

  .page-hero.page-hero--article .hero-sub {
    font-size: 15px;
    line-height: 1.75;
  }

  .article-meta {
    margin-top: 18px;
    padding: 8px 14px;
    font-size: 13px;
    gap: 8px 14px;
  }

  .article-meta span {
    white-space: normal;
  }

  .article-body {
    padding-top: 24px;
  }

  .article-body .container {
    max-width: 100%;
  }

  .article-content h2 {
    margin-top: 36px;
    margin-bottom: 14px;
  }

  .article-content .faq-item {
    padding: 16px 18px;
  }

  .page-hero.page-hero--article h1,
  .page-hero.page-hero--article .hero-sub,
  .blog-card h2,
  .blog-card p,
  .blog-index-cta h2,
  .blog-index-cta-copy {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
  }

  .blog-card {
    padding: 22px 18px;
  }

  .blog-index-cta {
    margin-top: 48px;
  }

  .blog-index-cta .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-index-cta .cta-actions .btn {
    width: 100%;
  }
}

/* ---- Standalone .cta-actions (outside .cta-banner) ---- */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---- Mobile Sticky Contact Bar ---- */
.sticky-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  z-index: 90;
  height: var(--sticky-bar-h);
}

.sticky-contact .btn {
  flex: 1;
  font-size: 14px;
  padding: 10px 12px;
}

@media (min-width: 1024px) {
  .sticky-contact { display: none; }
  body { padding-bottom: 0; }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  font-size: 14px;
}

.site-footer .footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 6px 0;
  transition: color 0.2s;
  line-height: 1.5;
}

.site-footer a:hover { color: #fff; }

/* Footer contact links — add icons and spacing */
.site-footer .footer-grid > div:last-child a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer .footer-grid > div:last-child a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.6;
}

.site-footer .footer-grid > div:last-child a[href^="tel"]::before {
  content: "\f095"; /* phone */
}

.site-footer .footer-grid > div:last-child a[href*="messenger"]::before,
.site-footer .footer-grid > div:last-child a[href*="m.me"]::before {
  content: "\f39e"; /* facebook-messenger */
  font-family: "Font Awesome 6 Brands";
}

.site-footer .footer-grid > div:last-child a[href^="mailto"]::before {
  content: "\f0e0"; /* envelope */
}

.site-footer .footer-grid > div:last-child a[href="contact.html"]:not([href*="messenger"])::before {
  content: "\f15c"; /* file-alt */
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer .footer-bottom span:first-child::after {
  content: "|";
  margin-left: 12px;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

@media (min-width: 640px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Improve mobile footer readability */
@media (max-width: 639px) {
  .site-footer .footer-grid {
    gap: 28px;
  }

  .site-footer .footer-grid > div {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .site-footer .footer-grid > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ---- Pain Points Section (2-column: left copy + right checklist card) ---- */
.pain-point-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  min-width: 0;
}

.pain-point-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.pain-point-left h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
}

.pain-point-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

.pain-point-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

/* Checklist card */
.pain-point-card {
  background: var(--surface);
  border: 1px solid rgba(31, 111, 139, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 49, 67, 0.08);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 24px 20px 20px;
  overflow: hidden;
  position: relative;
}

.pain-point-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.pain-point-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.pain-point-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
  border-bottom: 1px solid rgba(31, 111, 139, 0.08);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pain-point-item span:last-child {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-break: anywhere;
}

.pain-point-item:last-child {
  border-bottom: none;
}

.pain-check {
  width: 22px;
  height: 22px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

.pain-check svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 420px) {
  .section[data-od-id="pain-points"] .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pain-point-wrap {
    gap: 28px;
  }

  .pain-point-card {
    padding: 18px 14px 14px;
    border-radius: var(--radius-md);
  }

  .pain-point-item {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .pain-check {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 768px) {
  .pain-point-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .pain-point-left h2 {
    font-size: clamp(28px, 3.2vw, 40px);
  }

  .pain-point-card {
    padding: 36px 36px 32px;
  }

  .pain-point-item {
    padding: 16px 0;
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .pain-point-wrap {
    grid-template-columns: 1fr 1.08fr;
    gap: 72px;
  }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 48px 0;
  background: linear-gradient(180deg, var(--primary-ultra) 0%, var(--bg) 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ---- Service Page: Who it's for ---- */
.for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.for-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
}

.for-item .for-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-ultra);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 13px;
}

@media (min-width: 640px) {
  .for-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Included List ---- */
.included-list {
  display: grid;
  gap: 12px;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}

.included-item .included-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--primary-ultra);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-top: 1px;
}

@media (max-width: 420px) {
  .included-item {
    padding: 14px 14px;
    gap: 12px;
  }
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 6px;
  color: var(--border);
}

/* ---- Testimonial ---- */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.testimonial-card .test-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
  padding-left: 24px;
}

.testimonial-card .test-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--primary-light);
  font-style: normal;
}

.testimonial-card .test-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial-card .test-role {
  font-size: 13px;
  color: var(--muted);
}

/* ---- Back to top ---- */
.back-top {
  position: fixed;
  bottom: 76px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--primary-ultra);
}

/* ---- Utility Classes ---- */
.bg-surface { background: var(--surface); }
.bg-primary-ultra { background: var(--primary-ultra); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ---- Print ---- */
@media print {
  .site-header, .sticky-contact, .back-top, .hamburger, .mobile-menu,
  .site-footer .footer-bottom { display: none !important; }
  body { padding-bottom: 0; }
  .section { padding: 32px 0; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Prevent sticky header from covering anchored sections */
[id],
a[name] {
  scroll-margin-top: 88px;
}
