/* ==========================================================
   MsgBuddy — site styles
   ========================================================== */

:root {
  --navy-950: #071526;
  --navy-900: #0b1f36;
  --navy-800: #12304f;
  --blue-600: #1a6fb0;
  --blue-500: #2584cf;
  --blue-50:  #eef5fc;
  --green-600: #4c9a2a;
  --green-500: #5cb335;
  --green-50: #effaea;
  --amber-600: #c27a0e;
  --amber-50: #fdf5e7;

  --ink: #0f1d2e;
  --ink-2: #44546a;
  --ink-3: #6b7a90;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 46, .06), 0 1px 3px rgba(15, 29, 46, .06);
  --shadow: 0 10px 30px -12px rgba(15, 29, 46, .18);
  --shadow-lg: 0 30px 60px -20px rgba(7, 21, 38, .45);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-body);
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(26, 111, 176, .6); }
.btn-primary:hover { background: #155f98; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-ghost .ic { color: #4ade80; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 24px; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--ink-2); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--blue-600); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow-light { color: #9fd47f; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(92,179,53,.2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(37,132,207,.35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(92,179,53,.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: 96px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; max-width: 14ch; }
.hero .lead { margin-top: 22px; font-size: 1.15rem; color: #c3d2e4; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: #c3d2e4; font-size: 14.5px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: #7ed957; width: 18px; height: 18px; stroke-width: 2.4; }

/* Hero visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 20px 0; }
.phone {
  flex: none; width: 280px; border-radius: 40px; padding: 18px 16px 26px;
  background: linear-gradient(180deg, #f4f7fb, #e9eff6);
  border: 8px solid #1b2c42; box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-notch { width: 90px; height: 22px; border-radius: 0 0 14px 14px; background: #1b2c42; margin: -18px auto 14px; }
.phone-head { text-align: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #d9e2ec; }
.phone-head .sender { display: block; font: 700 15px/1.2 var(--font-head); color: var(--ink); letter-spacing: .04em; }
.muted-s { font-size: 12px; color: var(--ink-3); }
.bubble {
  background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px;
  padding: 11px 13px 8px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  font-size: 13.5px; line-height: 1.45;
  opacity: 0; transform: translateY(10px); animation: bubbleIn .6s ease forwards;
}
.bubble time { display: block; text-align: right; font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.b1 { animation-delay: .3s; } .b2 { animation-delay: .9s; } .b3 { animation-delay: 1.5s; margin-bottom: 0; }
.b-tag { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-bottom: 6px; }
.tag-otp { background: var(--green-50); color: var(--green-600); }
.tag-txn { background: var(--blue-50); color: var(--blue-600); }
.tag-promo { background: var(--amber-50); color: var(--amber-600); }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }

.hero-cards { display: flex; flex-direction: column; gap: 14px; width: 230px; }
.float-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px;
  opacity: 0; transform: translateY(10px); animation: bubbleIn .6s ease forwards;
}
.hero-cards .float-card:nth-child(1) { animation-delay: .5s; }
.hero-cards .float-card:nth-child(2) { animation-delay: 1.1s; }
.hero-cards .float-card:nth-child(3) { animation-delay: 1.7s; }
.fc-head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.fc-head .ic { width: 16px; height: 16px; color: var(--blue-600); }
.live { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--green-600); background: var(--green-50); padding: 2px 8px; border-radius: 999px; }
.fc-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.fc-row strong { font: 800 24px/1 var(--font-head); color: var(--ink); }
.fc-row.small { font-size: 11.5px; color: var(--ink-3); margin-top: 10px; }
.meter { height: 6px; border-radius: 6px; background: var(--line); margin-top: 10px; overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--green-500)); border-radius: inherit; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--blue-50); }
.bars i:last-child { background: var(--blue-600); }
.float-card.mini { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.mini-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.mini-ic .ic { width: 18px; height: 18px; }
.float-card.mini strong { display: block; font-size: 13.5px; line-height: 1.3; }
.float-card.mini span:not(.mini-ic) { font-size: 12px; color: var(--ink-3); }

/* ---------- Clients ---------- */
.clients { padding: 56px 0; border-bottom: 1px solid var(--line); }
.clients-title { text-align: center; color: var(--ink-3); font-size: 14.5px; font-weight: 500; margin-bottom: 28px; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logo-grid img {
  width: 100%; height: 96px; padding: 12px; object-fit: contain;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  filter: grayscale(1) contrast(1.05); opacity: .75;
  transition: filter .25s, opacity .25s, box-shadow .25s, border-color .25s;
}
.logo-grid img:hover { filter: none; opacity: 1; border-color: transparent; box-shadow: var(--shadow); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2, .about-copy h2, .contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.075rem; }
.muted { color: var(--ink-3); font-size: 14.5px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.svc-icon .ic { width: 26px; height: 26px; }
.c-blue { background: var(--blue-50); color: var(--blue-600); }
.c-green { background: var(--green-50); color: var(--green-600); }
.c-amber { background: var(--amber-50); color: var(--amber-600); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card > p { color: var(--ink-2); }
.service-card .ticks { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }

.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.ticks li + li { margin-top: 10px; }
.ticks .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--green-600); stroke-width: 2.4; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.feature > .ic {
  width: 44px; height: 44px; padding: 11px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-600);
}
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { color: var(--ink-3); font-size: 14.5px; }

/* Stats */
.stats { background: linear-gradient(120deg, var(--blue-600), #164f86); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font: 800 clamp(2rem, 3.6vw, 2.8rem)/1.1 var(--font-head); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 6px; color: #cfe2f5; font-size: 15px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.18); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, background .2s; }
.industry:hover { border-color: var(--blue-600); background: var(--blue-50); }
.industry > .ic { width: 28px; height: 28px; color: var(--blue-600); margin-bottom: 14px; }
.industry h3 { font-size: 1.05rem; margin-bottom: 6px; }
.industry p { color: var(--ink-3); font-size: 14px; }

/* DLT */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font: 700 16px/1 var(--font-head); margin-bottom: 18px;
}
.step:last-child .step-num { background: var(--green-500); }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 48px; right: -21px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink-3) 0 4px, transparent 4px 8px);
}

.dlt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.panel h3 { font-size: 1.2rem; margin-bottom: 18px; }
.panel .muted { margin: -8px 0 18px; }
.tabs { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 22px; }
.tabs button {
  font: 600 14px/1 var(--font-body); color: var(--ink-2); background: none; border: 0;
  padding: 10px 16px; border-radius: 7px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.portal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.portal-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); font-weight: 500; font-size: 14.5px; transition: border-color .2s, color .2s;
}
.portal-list a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.portal-list .ic { width: 16px; height: 16px; color: var(--ink-3); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--ink-2); margin-top: 18px; font-size: 1.04rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; }
.why > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.why h3 { font-size: 1.04rem; margin-bottom: 6px; }
.why p { color: var(--ink-3); font-size: 14.5px; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-copy > p { margin-top: 16px; color: #c3d2e4; font-size: 1.06rem; }
.next-title { color: #fff; font-size: 1.05rem; margin: 36px 0 16px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; color: #c3d2e4; }
.next-steps li + li { margin-top: 14px; }
.next-steps span {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 13px; font-weight: 600;
}
.wa-card {
  display: flex; align-items: center; gap: 14px; margin-top: 36px;
  padding: 16px 18px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: #fff; transition: background .2s;
}
.wa-card:hover { background: rgba(255,255,255,.1); }
.wa-card > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #25d366; color: #fff; }
.wa-card strong { display: block; }
.wa-card span { font-size: 14px; color: #c3d2e4; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.req { color: #c2410c; }
.opt { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--font-body); color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b7a90' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(26,111,176,.15); }
.field.invalid input, .field.invalid select { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
#captcha-q { font-weight: 700; color: var(--blue-600); }
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { max-width: 180px; }
.icon-btn {
  flex: none; width: 46px; border: 1px solid #cfd8e3; border-radius: 10px; background: #fff; color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer; transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--blue-600); border-color: var(--blue-600); }
.icon-btn.spin .ic { animation: spin .6s linear; }

.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin-top: 14px; font-size: 14.5px; border-radius: 10px; }
.form-status:empty { display: none; }
.form-status.success { padding: 12px 14px; background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.form-status.error { padding: 12px 14px; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9fb0c5; padding: 64px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { background: #fff; padding: 8px 12px; border-radius: 10px; width: 160px; }
.footer-brand p { margin-top: 18px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: #9fb0c5; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 22px; font-size: 13.5px; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 18ch; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .logo-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 16px 0 0; }
  .service-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .dlt-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { flex-direction: column; }
  .phone { width: 100%; max-width: 300px; }
  .hero-cards { width: 100%; max-width: 300px; }
  .hero-cards .report { display: none; }
  .feature-grid, .industry-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .portal-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { padding-bottom: 96px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-grid img { height: 76px; }
}

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