@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;500;600;700&family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&display=swap');

/* ============================================================
   LIVE TO FLOW — Design System
   Theme derived from the LIVE 24 credential deck
   ============================================================ */

:root {
  /* Brand */
  --blue-900: #06255e;
  --blue-800: #0b3591;
  --blue-700: #0f45c0;
  --blue-600: #1439d8;   /* "LIVE TO FLOW" headline blue */
  --blue-500: #2f6bf0;
  --blue-300: #7fb2f8;
  --blue-100: #e3edff;
  --blue-050: #f4f8ff;

  --cyan-600: #0fa6c9;
  --cyan-500: #24c6dd;
  --cyan-200: #b9eef6;

  --teal-700: #12796b;   /* logo mark green */
  --teal-500: #1aa08c;

  --red-600: #ee2f4c;    /* CREDENTIAL pill / stat pills */
  --red-500: #ff4761;

  /* Neutrals */
  --ink-900: #0c1730;
  --ink-700: #26354f;
  --ink-600: #3d4c67;
  --ink-400: #6a7a94;
  --ink-200: #c8d3e4;
  --line: #e2e9f5;
  --white: #ffffff;

  /* Semantic */
  --bg: #ffffff;
  --bg-soft: #f4f8ff;
  --text: #0c1730;
  --text-muted: #52627e;

  --grad-brand: linear-gradient(120deg, #1439d8 0%, #2f6bf0 45%, #24c6dd 100%);
  --grad-deep: linear-gradient(135deg, #06255e 0%, #0f45c0 55%, #1a8fe0 100%);
  --grad-soft: linear-gradient(160deg, #f4f8ff 0%, #e9f3ff 100%);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(12, 23, 48, .06);
  --shadow: 0 12px 34px rgba(12, 40, 100, .10);
  --shadow-lg: 0 26px 60px rgba(10, 40, 110, .16);

  --container: 1200px;
  --nav-h: 74px;

  --font-head: 'Anuphan', 'IBM Plex Sans Thai', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Thai', 'Anuphan', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container-narrow { max-width: 820px; }
section { position: relative; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 68px) 0; }
.section-soft { background: var(--grad-soft); }
.section-deep { background: var(--grad-deep); color: #fff; }
.section-deep h1, .section-deep h2, .section-deep h3 { color: #fff; }
.section-deep p { color: rgba(255,255,255,.86); }

.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--grad-brand); }
.section-deep .eyebrow { color: var(--cyan-200); }
.section-deep .eyebrow::before { background: var(--cyan-500); }

.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 62ch; }
.section-deep .lead { color: rgba(255,255,255,.85); }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }

.pill {
  display: inline-block; padding: 6px 16px; border-radius: var(--radius-pill);
  background: var(--red-600); color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: .85rem; letter-spacing: .04em;
}
.pill-soft { background: var(--blue-100); color: var(--blue-700); }
.pill-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); }

.tagline-bar {
  display: inline-block; background: var(--grad-brand); color: #fff;
  padding: 4px 14px; border-radius: 6px; font-family: var(--font-head); font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center; line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px rgba(20, 57, 216, .3); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(20, 57, 216, .38); }
.btn-line { background: #06C755; color: #fff; box-shadow: 0 10px 26px rgba(6, 199, 85, .28); }
.btn-line:hover { color: #fff; background: #05b34c; }
.btn-outline { background: transparent; border-color: var(--blue-600); color: var(--blue-600); }
.btn-outline:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue-700); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-head); font-size: 1.05rem; color: var(--teal-700); letter-spacing: .02em; }
.brand-text span { font-size: .64rem; letter-spacing: .16em; color: var(--ink-400); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 13px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--ink-600);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--blue-050); color: var(--blue-700); }
.nav-links a.is-active { color: var(--blue-700); background: var(--blue-100); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 22px 22px; gap: 2px;
    box-shadow: var(--shadow); max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta .btn-nav-line { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: clamp(48px, 6vw, 82px) 0 clamp(56px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 88% -12%, #dbeafe 0%, rgba(219,234,254,0) 62%),
    radial-gradient(760px 420px at 4% 108%, #e6f7fb 0%, rgba(230,247,251,0) 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
/* Capped a little below the global h1 size: at 3.5rem the second line
   ("เปลี่ยนทุกนาทีให้เป็นยอดขาย") overruns the column and orphans "ขาย" onto a
   third line. balance handles the remaining breakpoints. */
.hero h1 { margin-bottom: .35em; text-wrap: balance; font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
.hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.12rem; color: var(--text-muted); max-width: 54ch; }
.hero-sub-lead { color: var(--ink-700); margin-bottom: .5em; }

.hero-collage { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hero-collage img {
  border-radius: 22px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 1/1; object-fit: cover;
  background: var(--blue-050);
}
.hero-collage img:nth-child(1) { transform: translateY(-14px); }
.hero-collage img:nth-child(4) { transform: translateY(14px); }

.hero-strip {
  margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.hero-strip div { padding: 16px 18px; border-right: 1px solid var(--line); }
.hero-strip div:last-child { border-right: 0; }
.hero-strip b { display: block; font-family: var(--font-head); color: var(--blue-700); font-size: .95rem; }
.hero-strip span { display: block; font-size: .82rem; line-height: 1.45; color: var(--text-muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-deep); color: #fff; padding: clamp(44px, 6vw, 78px) 0 clamp(48px, 6vw, 82px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -160px; top: -160px; width: 620px; height: 620px;
  border-radius: 50%; background: radial-gradient(circle, rgba(36,198,221,.35) 0%, rgba(36,198,221,0) 68%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 62ch; font-size: 1.06rem; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: .86rem; }
.breadcrumb li { margin: 0; color: rgba(255,255,255,.6); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.breadcrumb a { color: rgba(255,255,255,.86); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; margin-bottom: 18px; font-size: 1.4rem;
}
.card-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-700); font-family: var(--font-head); font-weight: 700;
  margin-bottom: 16px;
}
.card-flat { box-shadow: none; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231439d8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.section-deep .check-list li::before { background-color: rgba(255,255,255,.2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center;
}
.section-deep .stat { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); }
.stat b {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-deep .stat b { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.stat span { font-size: .93rem; color: var(--text-muted); }
.section-deep .stat span { color: rgba(255,255,255,.82); }

.stat-pill {
  display: inline-grid; place-items: center; min-width: 92px; padding: 10px 20px;
  background: var(--red-600); color: #fff; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1.2;
}
.stat-row { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 26px; }
.stat-row:last-child { margin-bottom: 0; }
.stat-row h3 { margin-bottom: .2em; }
.stat-row p { margin: 0; color: var(--text-muted); font-size: .96rem; }

/* ---------- Logo wall ---------- */
/* flex (not grid) so an incomplete last row centres instead of hanging left */
.logo-wall { --lw-gap: 16px; --lw-cols: 6; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--lw-gap); }
.logo-wall figure {
  flex: 0 0 calc((100% - (var(--lw-cols) - 1) * var(--lw-gap)) / var(--lw-cols));
  margin: 0; padding: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  position: relative; aspect-ratio: 5 / 3; overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.logo-wall figure:hover { border-color: var(--blue-300); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
/* The logo is positioned absolutely rather than laid out in flow. In flow, an
   `aspect-ratio` cell sizes its row from the image while the image sizes from the
   row — that circular dependency makes the browser drop percentage heights back to
   `auto`, so the logo renders at natural size and gets clipped. Taking it out of
   flow gives it an exact box, and object-fit letterboxes inside that box. */
.logo-wall img {
  position: absolute; top: 15%; left: 13%;
  width: 74%; height: 70%; max-width: none;
  object-fit: contain; object-position: center;
  border-radius: 5px;
}

.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.cat-tabs button {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; cursor: pointer;
  padding: 9px 20px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: #fff; color: var(--ink-600); transition: .18s;
}
.cat-tabs button:hover { border-color: var(--blue-300); color: var(--blue-700); }
.cat-tabs button[aria-selected="true"] { background: var(--grad-brand); border-color: transparent; color: #fff; }

/* ---------- Case study ---------- */
.case {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.case + .case { margin-top: 26px; }
.case:nth-child(even) .case-media { order: -1; }
.case-logo { height: 54px; width: auto; margin-bottom: 18px; border-radius: 8px; }
.case-media img { border-radius: var(--radius); width: 100%; object-fit: cover; box-shadow: var(--shadow-sm); }
.case-metrics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.metric {
  background: var(--blue-050); border: 1px solid var(--blue-100); border-radius: 14px;
  padding: 12px 18px; min-width: 130px;
}
.metric b { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--blue-700); line-height: 1.2; }
.metric span { font-size: .82rem; color: var(--text-muted); }

.case-card { display: flex; flex-direction: column; }
.case-card .thumb { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.case-card .body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 20px; flex: 1; }

/* ---------- Pricing ---------- */
.price-hero {
  background: var(--grad-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; box-shadow: var(--shadow-lg);
}
.price-hero h2 { color: #fff; margin-bottom: .3em; }
.price-tag { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.price-tag .amount { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: #fff; }
.price-tag .unit { font-size: 1.05rem; color: rgba(255,255,255,.82); }
.price-note { font-size: .92rem; color: rgba(255,255,255,.72); }

.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; height: 100%; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--blue-600); box-shadow: var(--shadow); }
.price-card .badge {
  position: absolute; top: -13px; left: 30px; background: var(--red-600); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 5px 14px; border-radius: var(--radius-pill);
}
.price-card .amount { font-family: var(--font-head); font-weight: 700; font-size: 2.3rem; color: var(--blue-700); line-height: 1.15; }
.price-card .per { font-size: .9rem; color: var(--text-muted); margin-bottom: 16px; }
.price-card ul { margin: 0 0 22px; }
.price-card .btn { margin-top: auto; }
.rate-list { list-style: none; padding: 0; margin: 0 0 20px; font-size: .93rem; }
.rate-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.rate-list li:last-child { border-bottom: 0; }
.rate-list span:last-child { font-family: var(--font-head); font-weight: 600; color: var(--blue-700); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 18px 52px 18px 22px; font-family: var(--font-head); font-weight: 600;
  list-style: none; position: relative; color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blue-600); line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--blue-050); }
.faq .answer { padding: 0 22px 20px; color: var(--text-muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); transition: transform .2s; }
.gallery img:hover { transform: scale(1.02); }
.gallery-tall img { aspect-ratio: 3/4; }

/* ---------- Team ---------- */
.person { text-align: center; }
.person img {
  width: 148px; height: 148px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px;
  border: 4px solid #fff; box-shadow: var(--shadow); background: var(--blue-050);
}
.person h3 { margin-bottom: .1em; }
.person .role { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--blue-700); background: var(--blue-100); display: inline-block; padding: 4px 14px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.person p { font-size: .94rem; color: var(--text-muted); text-align: left; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.step-badge {
  width: 54px; height: 54px; border-radius: 16px; background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; flex-shrink: 0;
}
.step h3 { margin-bottom: .25em; }
.step p { margin-bottom: 0; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px,5vw,56px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36,198,221,.35), rgba(36,198,221,0) 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 60ch; margin-inline: auto; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .meta { font-size: .82rem; color: var(--text-muted); margin-bottom: 8px; }
.post-card h3 { font-size: 1.2rem; }
.post-card a.more { font-family: var(--font-head); font-weight: 600; margin-top: auto; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--blue-050); font-family: var(--font-head); }
.prose blockquote {
  margin: 1.6em 0; padding: 16px 22px; border-left: 4px solid var(--blue-600);
  background: var(--blue-050); border-radius: 0 12px 12px 0; color: var(--ink-600);
}
.table-scroll { overflow-x: auto; }

/* ---------- Contact ---------- */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.contact-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-100); display: grid; place-items: center; flex-shrink: 0; font-size: 1.2rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: .95rem; }

form .field { margin-bottom: 16px; }
form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ink-200); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--text);
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--blue-500); outline: none; box-shadow: 0 0 0 3px var(--blue-100); }
form textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { background: #071b3f; color: rgba(255,255,255,.72); padding: 56px 0 26px; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: .94rem; }
.site-footer li { margin-bottom: .5em; }
.footer-brand img { height: 46px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .95; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .86rem;
}

/* ---------- Floating LINE ---------- */
.float-line {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  background: #06C755; color: #fff; padding: 13px 20px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; box-shadow: 0 12px 30px rgba(6,199,85,.4);
  transition: transform .2s;
}
.float-line:hover { color: #fff; transform: translateY(-3px); }
.float-line svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .price-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { --lw-cols: 4; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-collage { max-width: 460px; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-media { order: 0; }
  .price-hero { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-strip div:nth-child(2n) { border-right: 0; }
  .logo-wall { --lw-cols: 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .float-line span { display: none; }
  .float-line { padding: 15px; }
  .case, .price-card, .card { padding: 22px; }
}
