/* =====================================================================
   Vijak Industry / VI-Robolab shared styles
   ===================================================================== */

:root {
  --black: #08111f;
  --ink: #151b27;
  --gray-900: #222938;
  --gray-700: #3d4656;
  --gray-600: #5a6475;
  --gray-500: #727c8d;
  --gray-300: #d7dee8;
  --gray-100: #f4f7fb;
  --line: #e2e8f1;
  --white: #ffffff;

  --blue: #1458d4;
  --blue-dark: #0c3478;
  --cyan: #12a7c8;
  --green: #168a66;
  --amber: #b66b1f;
  --blue-soft: #edf5ff;
  --cyan-soft: #e9f8fb;

  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 14px 38px rgba(15, 28, 48, 0.08);
  --shadow-lg: 0 24px 70px rgba(10, 24, 48, 0.16);
  --maxw: 1180px;

  --font: "IBM Plex Sans Thai", "Noto Sans Thai", -apple-system,
          BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: calc(var(--maxw) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--black);
}

h1 { font-size: 3.35rem; }
h2 { font-size: 2.35rem; }
h3 { font-size: 1.18rem; }
h4 { font-size: 1.02rem; }
p  { color: var(--gray-700); }

h1,
h2,
h3,
h4,
p,
li {
  overflow-wrap: anywhere;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 88, 212, 0.16);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 22px rgba(20, 88, 212, 0.08);
}

.section-lead {
  max-width: 640px;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.mt-sm { margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 88, 212, .24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(20, 88, 212, .32);
}

.btn-ghost {
  background: #fff;
  color: var(--black);
  border-color: var(--gray-300);
}

.btn-ghost:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(15, 28, 48, .08);
}

.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 241, .9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text .sub {
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
}

.brand-text .parent {
  font-size: .7rem;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: .94rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}

.nav-links a:hover {
  color: var(--black);
  background: var(--gray-100);
}

.nav-links a.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 74%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 88, 212, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 88, 212, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.hero-grid > *,
.split > *,
.grid > *,
.timeline > * {
  min-width: 0;
}

.hero h1 { margin: 18px 0 18px; max-width: 680px; }

.hero h1 .grad {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.13rem;
  color: var(--gray-700);
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.block-actions { margin-top: 24px; }
.center-actions { justify-content: center; }
.wide-actions { margin-top: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
  max-width: 650px;
}

.hero-stats .stat {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  min-width: 0;
}

.hero-stats .stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--black);
}

.hero-stats .stat span {
  display: block;
  margin-top: 5px;
  font-size: .9rem;
  color: var(--gray-600);
}

.hero-visual,
.media-frame,
.media-link {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: var(--shadow-lg);
}

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

.hero-visual::before,
.media-frame::before,
.media-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: inherit;
  pointer-events: none;
}

.hero-visual::after,
.media-frame::after,
.media-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0), rgba(8, 17, 31, .62));
  pointer-events: none;
}

.hero-visual img,
.media-frame img,
.media-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img { min-height: 500px; }
.media-frame img,
.media-link img { aspect-ratio: 4 / 3; }

.media-link img {
  transition: transform .35s ease;
}

.media-link:hover img {
  transform: scale(1.03);
}

.visual-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(8,17,31,.54);
  backdrop-filter: blur(12px);
}

.visual-strip span {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  padding: 12px 10px;
  background: rgba(255,255,255,.06);
}

.media-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  max-width: calc(100% - 32px);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  background: rgba(8, 17, 31, .62);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  backdrop-filter: blur(10px);
}

.media-grid {
  display: grid;
  gap: 22px;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.media-card:hover img {
  transform: scale(1.03);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(8,17,31,0), rgba(8,17,31,.7));
}

.media-card .media-caption {
  left: 14px;
  bottom: 14px;
}

.kit-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.table-wrap {
  overflow-x: auto;
}

.price-block {
  margin-top: 18px;
}

.price-block .num {
  display: block;
  font-size: 1.38rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--black);
}

.price-block .unit {
  display: block;
  margin-top: 4px;
  font-size: .85rem;
  color: var(--gray-500);
}

.stat-card {
  text-align: center;
}

.stat-card .num {
  display: block;
  font-size: 2.15rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--blue);
}

.contact-copy {
  margin-bottom: 18px;
}

.form-submit {
  width: 100%;
}

.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin-top: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(20,88,212,.08), rgba(18,167,200,.08)),
    linear-gradient(rgba(20,88,212,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,88,212,.08) 1px, transparent 1px),
    #fff;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.map-panel::before,
.map-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.map-panel::before {
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(20,88,212,.16);
}

.map-panel::after {
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 32px rgba(20,88,212,.28);
}

/* ---------- Image placeholder ---------- */
.imgph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background:
    linear-gradient(135deg, #ffffff, #eef4fb),
    linear-gradient(90deg, rgba(20,88,212,.08) 1px, transparent 1px);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  color: var(--gray-500);
  padding: 24px;
  min-height: 220px;
}

.imgph::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  border: 1px solid rgba(20,88,212,.16);
  background:
    linear-gradient(135deg, rgba(20,88,212,.10), rgba(18,167,200,.12)),
    linear-gradient(90deg, transparent 48%, rgba(20,88,212,.22) 49%, rgba(20,88,212,.22) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(20,88,212,.22) 49%, rgba(20,88,212,.22) 51%, transparent 52%);
}

.imgph .ic { display: none; }
.imgph .lab { font-weight: 700; color: var(--gray-700); }
.imgph .dim { font-size: .82rem; color: var(--gray-500); }
.imgph.ratio-43  { aspect-ratio: 4 / 3; min-height: 0; }
.imgph.ratio-169 { aspect-ratio: 16 / 9; min-height: 0; }
.imgph.ratio-11  { aspect-ratio: 1 / 1; min-height: 0; }
.imgph.tall { min-height: 440px; }

/* ---------- Sections ---------- */
section.block { padding: 86px 0; }

section.block.tint {
  background:
    linear-gradient(180deg, rgba(244,247,251,.96), rgba(238,244,251,.96));
}

section.block.dark { background: var(--ink); }
section.block.dark h2,
section.block.dark h3 { color: #fff; }
section.block.dark p { color: #aab2c0; }

.section-head {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-head h2 { margin: 14px 0 12px; }

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(15, 28, 48, .03);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 88, 212, .22);
  box-shadow: var(--shadow);
}

.card .ic-box {
  width: 48px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 16px;
  border: 1px solid rgba(20, 88, 212, .12);
}

.card:nth-child(2) .ic-box {
  background: var(--cyan-soft);
  color: #0d718a;
  border-color: rgba(18,167,200,.16);
}

.card:nth-child(3) .ic-box {
  background: #eef9f4;
  color: var(--green);
  border-color: rgba(22,138,102,.16);
}

.card:nth-child(4) .ic-box {
  background: #fff4e8;
  color: var(--amber);
  border-color: rgba(182,107,31,.18);
}

.service-card .ic-box,
.industry-card .ic-box {
  width: auto;
  min-width: 48px;
  padding: 0 10px;
  font-size: .78rem;
}

.service-card:nth-child(2) .ic-box,
.industry-card:nth-child(2) .ic-box {
  background: var(--cyan-soft);
  color: #0d718a;
  border-color: rgba(18,167,200,.16);
}

.service-card:nth-child(3) .ic-box,
.industry-card:nth-child(3) .ic-box {
  background: #eef9f4;
  color: var(--green);
  border-color: rgba(22,138,102,.16);
}

.service-card:nth-child(4) .ic-box,
.industry-card:nth-child(4) .ic-box {
  background: #fff4e8;
  color: var(--amber);
  border-color: rgba(182,107,31,.18);
}

.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; }

/* ---------- Problem list ---------- */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

.prob {
  border-left: 3px solid var(--blue);
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  box-shadow: var(--shadow);
}

.prob h4 { color: var(--black); margin-bottom: 6px; }
.prob p { font-size: .94rem; }

/* ---------- Tier (kit levels) ---------- */
.tier {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.tier .tier-img {
  border-radius: 0;
  border: none;
  border-bottom: 1px dashed var(--gray-300);
}

.tier .tier-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tier .level-tag {
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.tier.t1 .level-tag { background: #e7f8ee; color: #137a44; }
.tier.t2 .level-tag { background: var(--blue-soft); color: var(--blue); }
.tier.t3 .level-tag { background: #f1edff; color: #6544c8; }

.tier ul {
  list-style: none;
  margin: 14px 0 0;
}

.tier ul li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: .95rem;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-100);
}

.tier ul li:first-child { border-top: none; }

.tier ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.tier .price {
  margin-top: auto;
  padding-top: 20px;
}

.tier .price .num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
}

.tier .price .unit {
  font-size: .85rem;
  color: var(--gray-500);
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.rev .split-media { order: 2; }

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  align-items: flex-start;
  color: var(--gray-700);
}

.feature-list li .chk {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  position: relative;
}

.feature-list li .chk::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg) translate(1px, -1px);
}

/* ---------- Differentiators ---------- */
.diff {
  text-align: left;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 28, 48, .03);
}

.diff .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
}

.diff h3 { margin: 12px 0 8px; }
.diff p { font-size: .94rem; }

/* ---------- Persona / quote ---------- */
.persona {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.persona blockquote {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--black);
  font-weight: 500;
}

.persona .who {
  margin-top: 20px;
  font-weight: 700;
}

.persona .who span {
  display: block;
  font-weight: 400;
  color: var(--gray-500);
  font-size: .9rem;
}

/* ---------- Pricing table ---------- */
.ptable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ptable th,
.ptable td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-100);
}

.ptable th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.ptable td:last-child {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.ptable tr:last-child td { border-bottom: none; }

/* ---------- Roadmap ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.tl-step {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 28, 48, .03);
}

.tl-step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.tl-step .phase {
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
}

.tl-step h4 { margin: 8px 0; }
.tl-step ul { list-style: none; }

.tl-step ul li {
  font-size: .9rem;
  color: var(--gray-700);
  padding: 4px 0 4px 16px;
  position: relative;
}

.tl-step ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #08111f 0%, #0e3472 58%, #0b7480 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .35;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 { color: #fff; }

.cta-band p {
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin: 14px auto 28px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.cta-band .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* ---------- Contact form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.field label .req { color: var(--blue); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border .15s, box-shadow .15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: .84rem;
  color: var(--gray-500);
  margin-top: 6px;
}

.contact-info li {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info li .ic {
  width: 46px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .74rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-info li strong { display: block; color: var(--black); }
.contact-info li span { color: var(--gray-500); font-size: .92rem; }

.form-success {
  display: none;
  background: #e7f8ee;
  border: 1px solid #b7e6c9;
  color: #137a44;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
  font-weight: 600;
}

.form-success.show { display: block; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--black);
  color: #aab2c0;
  padding: 56px 0 28px;
}

footer.site .f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}

footer.site .brand .sub { color: #fff; }
footer.site .brand .parent { color: #7c8492; }
footer.site .brand img { filter: invert(1) brightness(1.6); }

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand img {
  height: 34px;
}

.footer-intro {
  font-size: .9rem;
  max-width: 310px;
}

footer.site h5 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 14px;
}

footer.site ul { list-style: none; }
footer.site ul li { padding: 5px 0; }
footer.site ul li a { color: #aab2c0; font-size: .93rem; }
footer.site ul li a:hover { color: #fff; }

footer.site .f-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #2a3140;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .86rem;
  color: #7c8492;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #f7fbff, var(--gray-100));
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 88, 212, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 88, 212, .055) 1px, transparent 1px);
  background-size: 46px 46px;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 { margin: 14px 0 10px; }

.page-hero p {
  max-width: 620px;
  color: var(--gray-600);
  font-size: 1.08rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 10px; }
  .hero-grid { gap: 38px; }
  h1 { font-size: 3rem; }
}

@media (max-width: 940px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  .hero-grid,
  .split,
  .persona,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split.rev .split-media { order: 0; }
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2,1fr); }
  footer.site .f-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual,
  .hero-visual img { min-height: 380px; }
}

@media (max-width: 680px) {
  .container { padding: 0 18px; }
  h1 { font-size: 2.18rem; }
  h2 { font-size: 1.72rem; }
  .hero { padding: 56px 0 50px; }
  section.block { padding: 60px 0; }
  .nav-inner { height: 68px; }
  .brand img { height: 36px; }
  .brand-text .sub { font-size: .95rem; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform .25s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 8px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .grid-2,
  .grid-3,
  .grid-4,
  .prob-grid,
  .timeline,
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual,
  .hero-visual img { min-height: 320px; }
  .visual-strip {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .visual-strip span {
    padding: 10px 6px;
    font-size: .72rem;
  }
  .cta-band { padding: 36px 22px; }
  .persona { padding: 26px; }
  footer.site .f-grid { grid-template-columns: 1fr; }
}
