/* ============================================
   Reformat Translationfind - Main Stylesheet
   Font: Noto Sans Thai Looped (Google Fonts)
   ============================================ */

/* --- Variables --- */
:root {
  --font: "Noto Sans Thai Looped", "Segoe UI", Tahoma, Arial, sans-serif;
  --ink: #14213d;
  --ink-light: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --panel: #ffffff;
  --blue: #1d4ed8;
  --blue-light: #dbeafe;
  --blue-dark: #1e3a8a;
  --teal: #0d9488;
  --teal-light: #ccfbf1;
  --amber: #d97706;
  --amber-light: #fef3c7;
  --green: #16a34a;
  --green-light: #dcfce7;
  --shadow-sm: 0 1px 3px rgba(20, 33, 61, 0.06);
  --shadow: 0 4px 20px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 12px 40px rgba(20, 33, 61, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1200px;
  --transition: 0.2s ease;
}

/* --- 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);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 18px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

ul, ol {
  list-style: none;
}

/* --- Skip Link (A11y) --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--panel);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 600;
}

/* --- Topbar --- */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.2rem;
  padding: 0.4rem clamp(1rem, 4vw, 4rem);
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.topbar a:hover {
  opacity: 1;
}

/* --- SVG Icon Base --- */
.icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* --- Header & Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 1px 3px rgba(20, 33, 61, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--blue-dark);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
  object-fit: contain;
}

.brand span {
  letter-spacing: 0;
  line-height: 1;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.menu a {
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  color: #475569;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background var(--transition), color var(--transition);
}

.menu a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.menu a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* --- Hero --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 42%, rgba(255,255,255,0.36) 100%),
    url("../images/banner-depth-pattern.svg") center / cover no-repeat,
    linear-gradient(135deg, #eef5ff 0%, #ffffff 42%, #eaf8f7 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(15, 23, 42, 0.08));
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 22px clamp(1rem, 5vw, 5rem) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.18), rgba(13, 148, 136, 0.16), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.9rem;
  background: rgba(29, 78, 216, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(29, 78, 216, 0.12);
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.hero h1 strong {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  border-radius: calc(var(--radius) + 6px);
  pointer-events: none;
}

.hero-media::before {
  inset: 10% -3% -6% 7%;
  background: linear-gradient(135deg, rgba(15, 58, 118, 0.11), rgba(14, 165, 166, 0.09));
  transform: rotate(-2deg);
  z-index: -2;
}

.hero-media::after {
  inset: -5% 7% 12% -4%;
  border: 1px solid rgba(29, 78, 216, 0.16);
  background: rgba(255, 255, 255, 0.32);
  transform: rotate(2deg);
  z-index: -1;
}

.hero-media img {
  max-height: 400px;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(29, 78, 216, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #fff;
  position: relative;
  z-index: 1;
}

.hero-media img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 70px rgba(20, 33, 61, 0.18), 0 0 0 1px rgba(29, 78, 216, 0.15);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 46%, rgba(255,255,255,0.46) 100%),
    url("../images/banner-depth-pattern.svg") center / cover no-repeat,
    linear-gradient(135deg, rgba(29,78,216,0.08), rgba(13,148,136,0.08));
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.home-hero-content {
  max-width: 720px;
}

.home-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.24;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(29, 78, 216, 0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-strip .icon {
  width: 1rem;
  height: 1rem;
  color: var(--blue);
}

.home-hero-visual {
  min-width: 0;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 33, 61, 0.1);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.14);
}

.home-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-hero-panel {
  background: #fff;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  min-width: 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.panel-head span,
.panel-head strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.panel-head strong {
  color: var(--teal);
}

.paper-preview {
  margin: 1.1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.paper-title,
.paper-line,
.paper-columns div {
  border-radius: 3px;
  background: linear-gradient(90deg, #cbd5e1, #e2e8f0);
}

.paper-title {
  width: 54%;
  height: 16px;
  margin-bottom: 0.7rem;
}

.paper-line {
  width: 72%;
  height: 8px;
  margin-bottom: 0.5rem;
}

.paper-line.wide {
  width: 92%;
}

.paper-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1rem;
}

.paper-columns div {
  min-height: 88px;
  background:
    linear-gradient(#e2e8f0 0 0) 0 0 / 100% 8px no-repeat,
    linear-gradient(#e2e8f0 0 0) 0 22px / 84% 8px no-repeat,
    linear-gradient(#e2e8f0 0 0) 0 44px / 94% 8px no-repeat,
    linear-gradient(#e2e8f0 0 0) 0 66px / 72% 8px no-repeat;
}

.audit-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.audit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #334155;
  line-height: 1.65;
  font-size: 0.95rem;
}

.audit-list .icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: 0.35rem;
  color: var(--green);
}

/* --- Buttons --- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.button:hover::after {
  opacity: 1;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 33, 61, 0.15);
}

.button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.button.primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.25);
}

.button.primary:hover {
  box-shadow: 0 8px 30px rgba(29, 78, 216, 0.35);
}

.button.secondary {
  background: var(--panel);
  color: var(--blue);
  border: 1.5px solid rgba(29, 78, 216, 0.25);
}

.button.secondary:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

.button.teal {
  background: linear-gradient(135deg, var(--teal) 0%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.25);
}

.button.teal:hover {
  box-shadow: 0 8px 30px rgba(13, 148, 136, 0.35);
}

.button.amber {
  background: linear-gradient(135deg, var(--amber) 0%, #b45309 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.button.amber:hover {
  box-shadow: 0 8px 30px rgba(217, 119, 6, 0.35);
}

/* --- Section Layout --- */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  margin-bottom: 0.85rem;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

.section-heading h2 .keep-line,
.proof-card h2 .keep-line,
.cta-band h2 .keep-line {
  display: inline-block;
}

@media (max-width: 600px) {
  .section-heading h2 .keep-line,
  .proof-card h2 .keep-line,
  .cta-band h2 .keep-line {
    display: inline;
  }
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.85;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(20, 33, 61, 0.1);
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, 0.15);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--blue-light) 0%, rgba(219, 234, 254, 0.5) 100%);
  color: var(--blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}

.card-icon.teal {
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(204, 251, 241, 0.5) 100%);
  color: var(--teal);
}

.card-icon.amber {
  background: linear-gradient(135deg, var(--amber-light) 0%, rgba(254, 243, 199, 0.5) 100%);
  color: var(--amber);
}

.card-icon.green {
  background: linear-gradient(135deg, var(--green-light) 0%, rgba(220, 252, 231, 0.5) 100%);
  color: var(--green);
}

.card-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  color: var(--ink);
}

.card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

/* --- Split Section --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.split p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.rounded-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portfolio-showcase {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.portfolio-image-frame {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(0.55rem, 1.6vw, 1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-lg);
}

.portfolio-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
}

/* --- Check List --- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1.02rem;
}

.check-list .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 3rem) 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--blue);
}

.breadcrumbs .sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

/* --- Page Hero (non-home) --- */
.page-hero {
  text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.96)),
    url("../images/banner-depth-pattern.svg") center / cover no-repeat,
    linear-gradient(135deg, #eef5ff 0%, #ffffff 42%, #eaf8f7 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 76px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(15, 23, 42, 0.06));
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 22px clamp(1rem, 4vw, 3rem) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.18), rgba(13, 148, 136, 0.16), transparent);
  pointer-events: none;
  z-index: 0;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* --- Article Layout (with sidebar) --- */
.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.toc {
  position: sticky;
  top: 80px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.toc h2 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.toc a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--ink-light);
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: color var(--transition), border-color var(--transition);
}

.toc a:hover,
.toc a.active {
  color: var(--blue);
  border-left-color: var(--blue);
}

.toc .button {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
}

.content section {
  margin-bottom: 2.5rem;
}

.content h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--line);
  line-height: 1.4;
}

.content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  line-height: 1.5;
}

.content p {
  color: #334155;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  line-height: 1.9;
}

.reader-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.reader-help-grid article {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.reader-help-grid h3 {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.4;
  margin: 0.65rem 0 0.45rem;
}

.reader-help-grid p {
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0;
}

.content ul,
.content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content ul { list-style: disc; }
.content ol { list-style: decimal; }

.content li {
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.content strong {
  color: var(--ink);
}

.content blockquote {
  border-left: 3px solid var(--blue);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--blue-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink-light);
}

/* --- Intro Band (homepage why-us) --- */
.intro-band {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max-w);
  box-shadow: var(--shadow-sm);
}

.credential-section {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

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

.credential-grid article {
  min-width: 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
}

.mini-icon.teal {
  background: var(--teal-light);
  color: var(--teal);
}

.mini-icon.amber {
  background: var(--amber-light);
  color: var(--amber);
}

.mini-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.credential-grid h3 {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 1.12rem;
}

.credential-grid p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
}

.service-map-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max-w)) / 2 + 3rem));
  padding-right: max(1rem, calc((100vw - var(--max-w)) / 2 + 3rem));
  background: #f8fafc;
}

.service-map-section .card-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-keywords {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.service-keywords a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-size: 0.93rem;
  font-weight: 600;
}

.sample-work-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.sample-work-copy h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--ink);
  text-wrap: balance;
}

.sample-work-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.9;
  margin-bottom: 1.15rem;
}

.sample-work-points {
  display: grid;
  gap: 0.65rem;
  margin: 1.35rem 0 1.5rem;
}

.sample-work-points span {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #334155;
  line-height: 1.65;
  font-weight: 500;
}

.sample-work-points .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--teal);
  flex: 0 0 auto;
  margin-top: 0.22rem;
}

.sample-work-preview {
  margin: 0;
  padding: clamp(0.6rem, 2vw, 1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: var(--shadow-lg);
}

.sample-work-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.home-pricing-section {
  padding-top: clamp(2.75rem, 5vw, 4.5rem);
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.price-strip a {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.price-strip strong {
  color: var(--blue);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
}

.price-strip strong::after {
  content: " บาท";
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.price-strip span {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
}

.pricing-note {
  max-width: 860px;
  margin: 1rem auto 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.workflow-copy h2,
.proof-card h2 {
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.workflow-copy p,
.proof-card p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.workflow-list {
  display: grid;
  gap: 0.8rem;
}

.workflow-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.workflow-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
}

.workflow-list span {
  min-width: 0;
  color: #334155;
  line-height: 1.75;
}

.proof-section {
  padding-top: 0;
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}

.proof-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 230px;
}

/* --- FAQ --- */
.faq-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.faq-block h2 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  border-bottom: none;
}

.faq-block details {
  border-bottom: 1px solid var(--line);
}

.faq-block details:last-child {
  border-bottom: none;
}

.faq-block summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-block summary:hover {
  color: var(--blue);
}

.faq-block summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 400;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-block details[open] summary::after {
  transform: rotate(45deg);
}

.faq-block details p {
  padding: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

/* --- CTA Band --- */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--blue) 0%, #1e3a8a 50%, #172554 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  display: none;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-band p {
  opacity: 0.92;
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.cta-band .button.primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.cta-band .button.primary:hover {
  background: #f1f5f9;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* --- Inline CTA --- */
.inline-cta {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.inline-cta h2 {
  border-bottom: none;
}

.inline-cta p {
  max-width: 500px;
  margin: 0 auto 1rem;
}

/* --- Contact Grid --- */
.contact-grid {
  max-width: 800px;
}

.line-qr-section {
  padding-top: 0;
}

.line-qr-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 1.5rem;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}

.line-qr-card h2 {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.line-qr-card p {
  color: var(--muted);
  line-height: 1.8;
}

.line-qr-card img {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.5rem;
}

/* --- Narrow Content --- */
.narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.narrow h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.narrow p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* --- Form Section --- */
.form-section {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-light);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.form-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* --- Process Steps --- */
.process .card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process .card {
  text-align: center;
  position: relative;
}

.process .card-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process .card:hover .card-num {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

/* --- Pricing Table --- */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.pricing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(20, 33, 61, 0.1);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 12px 40px rgba(29, 78, 216, 0.15);
}

.pricing-card.featured::before {
  content: "ยอดนิยม";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 0.25rem 1.25rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.pricing-card .features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pricing-card .features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.pricing-card .features .icon {
  width: 1rem;
  height: 1rem;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pricing-policy {
  padding-top: 0;
}

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

.policy-grid article {
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.policy-grid h2 {
  color: var(--ink);
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.policy-grid p {
  color: var(--muted);
  line-height: 1.8;
}

/* --- Guarantee Features --- */
.guarantee-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.guarantee-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.guarantee-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(20, 33, 61, 0.1);
}

.guarantee-item .icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--green-light) 0%, rgba(220, 252, 231, 0.5) 100%);
  color: var(--green);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guarantee-item:hover .icon-wrap {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.2);
}

.guarantee-item .icon-wrap .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.guarantee-item h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.guarantee-item p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Steps List --- */
.steps-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps-list .step {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.steps-list .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.steps-list .step-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.steps-list .step-content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Payment Methods --- */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.payment-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.payment-item .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  flex-shrink: 0;
}

.payment-item .icon-wrap .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.payment-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.payment-item p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Info Box --- */
.info-box {
  background: var(--amber-light);
  border: 1px solid #fbbf24;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.info-box .icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.info-box p {
  font-size: 1rem;
  line-height: 1.8;
  color: #92400e;
}

/* --- Before / After --- */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.before-after > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.before-after .label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.before-after .before .label {
  background: #fee2e2;
  color: #dc2626;
}

.before-after .after .label {
  background: var(--green-light);
  color: var(--green);
}

.before-after ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.before-after li {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-light);
}

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 12px 40px rgba(20, 33, 61, 0.1);
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.15);
}

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

.blog-card .date {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  color: var(--ink);
}

.blog-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 1.25rem;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, var(--ink) 0%, #0f172a 100%);
  color: #cbd5e1;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(29, 78, 216, 0.3) 50%, transparent 100%);
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer h2 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}

.footer p {
  font-size: 0.98rem;
  line-height: 1.85;
}

.footer a {
  display: block;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  opacity: 0.75;
  transition: all 0.2s ease;
}

.footer a:hover {
  opacity: 1;
  color: #fff;
  transform: translateX(3px);
}

.copyright {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Keyword Tags --- */
.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.keyword-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .home-hero,
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
  }

  .home-hero-content {
    max-width: 100%;
  }

  .home-hero-panel,
  .home-hero-visual {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
  }

  .trust-strip {
    justify-content: center;
  }

  .credential-grid,
  .reader-help-grid,
  .service-map-section .card-grid,
  .price-strip,
  .sample-work-section,
  .workflow-section,
  .proof-card,
  .line-qr-card,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .proof-actions {
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .toc {
    position: static;
  }

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

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

  .before-after {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 40;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .menu-toggle {
    display: block;
  }

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

  .home-hero {
    padding: 2rem 1rem;
  }

  .home-hero h1 {
    font-size: 1.75rem;
  }

  .home-hero-panel,
  .home-hero-visual {
    display: none;
  }

  .credential-grid article,
  .workflow-list div,
  .proof-card,
  .policy-grid article {
    padding: 1rem;
  }

  .workflow-list div {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .workflow-list strong {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  .service-keywords {
    justify-content: flex-start;
  }

  .line-qr-card {
    text-align: center;
  }

  .line-qr-card img {
    margin: 0 auto;
  }

  .pricing-table {
    grid-template-columns: 1fr;
  }
}

/* --- Utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.6s ease-out;
}

.hero-media {
  animation: fadeInUp 0.6s ease-out 0.15s both;
}

/* --- Text Link Enhanced --- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--blue);
  transition: all 0.2s ease;
}

.text-link:hover {
  gap: 0.6rem;
  color: var(--blue-dark);
}

.text-link .icon {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.2s ease;
}

.text-link:hover .icon {
  transform: translateX(2px);
}

@media (max-width: 360px) {
  .topbar,
  .nav,
  .breadcrumbs,
  .home-hero,
  .hero,
  .section,
  .page-hero,
  .footer {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .card,
  .toc,
  .content,
  .home-hero-panel,
  .home-hero-visual,
  .sample-work-preview,
  .credential-grid article,
  .workflow-list div,
  .proof-card,
  .quote-form,
  .inline-cta,
  .notice-panel,
  .faq-block details {
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .card-grid,
  .credential-grid,
  .service-map-section .card-grid,
  .price-strip,
  .sample-work-section,
  .workflow-section,
  .proof-card,
  .line-qr-card,
  .policy-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .card {
    width: auto;
    min-width: 0;
  }

  .menu {
    left: 0.5rem;
    right: 0.5rem;
  }

  .home-hero h1 {
    font-size: 1.55rem;
    line-height: 1.35;
  }

  .trust-strip span,
  .service-keywords a {
    width: 100%;
    justify-content: flex-start;
  }

  .proof-actions,
  .hero-actions {
    width: 100%;
  }

  .proof-actions .button,
  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
}
