/* Well In Tech Solutions — design system */
:root {
  --navy-950: #070f24;
  --navy-900: #0c1733;
  --navy-800: #13224a;
  --navy-700: #1d3160;
  --blue-600: #1462dc;
  --blue-500: #1a76ef;
  --blue-400: #22a2f2;
  --blue-50: #eef5ff;
  --ink: #0f1a33;
  --text: #2c3650;
  --muted: #5d6781;
  --line: #e2e8f1;
  --surface: #f5f8fc;
  --white: #ffffff;
  --green: #16a34a;
  --wa: #1fae55;

  --grad: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-600) 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 51, .06), 0 1px 3px rgba(15, 26, 51, .05);
  --shadow: 0 10px 30px -12px rgba(15, 26, 51, .18), 0 2px 6px rgba(15, 26, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(12, 23, 51, .35);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--surface); }
.section--dark { background: var(--navy-900); color: #c9d3e8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #aebbd6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .eyebrow { color: var(--blue-400); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.7; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(20, 98, 220, .7); }
.btn--primary:hover { background: var(--blue-500); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 174, 85, .7); }
.btn--wa:hover { background: #1a9a4b; color: #fff; }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { color: var(--blue-600); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(15,26,51,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }
@media (max-width: 600px) { .brand img { height: 48px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); font-weight: 550; font-size: .97rem; padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.nav-open .menu-toggle .i-open { display: none; }
.nav-open .menu-toggle .i-close { display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(15,26,51,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav .btn { margin-top: 10px; display: flex; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
}
@media (min-width: 961px) { .nav .nav-mobile-only { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(34,162,242,.16), transparent 60%),
    radial-gradient(500px 360px at 5% 90%, rgba(20,98,220,.08), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; font-size: .95rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }

.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 90% 0%, rgba(34,162,242,.14), transparent 60%), linear-gradient(180deg, #fff, var(--surface)); }
.page-hero h1 { max-width: 880px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.page-hero .lead { max-width: 680px; }

/* Hero visual (CSS mock) */
.mock { position: relative; padding: 18px 0 30px; }
.mock-window { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe5ee; }
.mock-bar span { margin-left: 10px; flex: 1; height: 24px; border-radius: 8px; background: var(--surface); font-size: .74rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-hero { border-radius: 14px; padding: 22px; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: #fff; }
.mock-hero b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.mock-line { height: 8px; border-radius: 6px; background: rgba(255,255,255,.22); margin-top: 8px; }
.mock-line.w60 { width: 60%; } .mock-line.w40 { width: 40%; }
.mock-pill { display: inline-block; margin-top: 14px; padding: 7px 14px; border-radius: 999px; background: var(--grad); font-size: .75rem; font-weight: 700; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-card .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 10px; }
.mock-card .ic svg { width: 16px; height: 16px; }
.mock-card i { display: block; height: 6px; border-radius: 4px; background: #e8edf4; margin-top: 6px; }
.mock-card i:last-child { width: 60%; }
.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--ink); font-weight: 650;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.float-card .dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .dot svg { width: 18px; height: 18px; }
.float-card.one { left: -26px; bottom: 0; }
.float-card.one .dot { background: #e7f8ee; color: var(--green); }
.float-card.two { right: -18px; top: 0; }
.float-card.two .dot { background: var(--blue-50); color: var(--blue-600); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock { max-width: 520px; margin: 0 auto; width: 100%; }
  .float-card.one { left: 0; }
  .float-card.two { right: 0; }
}
@media (max-width: 480px) {
  .mock-cards { grid-template-columns: repeat(2, 1fr); }
  .mock-cards .mock-card:nth-child(3) { display: none; }
  .float-card { font-size: .8rem; padding: 10px 12px; }
}

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: 10px; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3dceb; }
.section--tint .card { border-color: #e6ebf3; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--blue-50); color: var(--blue-600);
}
.icon svg { width: 24px; height: 24px; }
.icon--grad { background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(20,98,220,.8); }
.section--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--dark .card p { color: #aebbd6; }
.section--dark .icon { background: rgba(34,162,242,.14); color: var(--blue-400); }

.note {
  margin-top: 36px; padding: 22px 26px; border-radius: var(--radius); background: #fff; border: 1px dashed #c9d5e8;
  display: flex; gap: 16px; align-items: flex-start; color: var(--text);
}
.note svg { width: 24px; height: 24px; color: var(--blue-600); flex: none; margin-top: 2px; }
.note p { margin: 0; }

/* Service cards */
.service { display: flex; flex-direction: column; padding: 32px; }
.service .tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; }
.service ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; color: var(--text); font-size: .96rem; }
.service li { display: flex; gap: 10px; align-items: flex-start; }
.service li svg { width: 18px; height: 18px; color: var(--blue-500); flex: none; margin-top: 4px; }
.service .link-arrow { margin-top: auto; }

/* Split / statement */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.statement {
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: #c9d3e8; position: relative; overflow: hidden;
}
.statement::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(34,162,242,.35), transparent 70%); }
.statement h3 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.7rem); position: relative; }
.statement p { position: relative; }
.statement p:last-child { margin-bottom: 0; }
.big-quote { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; line-height: 1.35; color: var(--ink); letter-spacing: -.02em; }
.big-quote span { color: var(--blue-600); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--blue-600); flex: none; margin-top: 2px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 0 0 6px var(--blue-50);
}
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .steps.three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cbd7ea; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 650; color: var(--ink); font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231462dc' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p { margin: 0 0 .6em; }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-950) 100%);
  padding: clamp(36px, 6vw, 72px); color: #c9d3e8; text-align: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta-band::before { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(34,162,242,.3), transparent 70%); }
.cta-band::after { width: 360px; height: 360px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(20,98,220,.45), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto 14px; }
.cta-band p { max-width: 600px; margin: 0 auto 28px; color: #b8c5de; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .trust { justify-content: center; color: #aebbd6; }
.cta-band .trust svg { color: #4ade80; }

/* Solutions detail */
.solution { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; scroll-margin-top: 100px; }
.solution + .solution { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.solution .icon { width: 56px; height: 56px; border-radius: 16px; }
.solution h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.solution-panel { display: grid; gap: 16px; }
.solution-panel .card { padding: 24px; }
.solution-panel h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-600); margin-bottom: 8px; }
.solution-panel .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.solution-panel .card p { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; color: var(--text); }
.results { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.results li { display: flex; gap: 10px; color: var(--text); font-size: .96rem; }
.results svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 4px; }
@media (max-width: 860px) { .solution { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .solution-panel .pair { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 650; font-size: .93rem; color: var(--ink); margin-bottom: 7px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(26,118,239,.15); }
.field .error { display: none; color: #c62828; font-size: .85rem; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e53935; }
.field.invalid .error { display: block; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { margin: 0; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 550; font-size: .95rem; color: var(--text); cursor: pointer; transition: all .15s;
}
.choice input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-600); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.form-foot small { color: var(--muted); font-size: .86rem; max-width: 360px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 22px; }
.contact-card .icon { margin: 0; flex: none; }
.contact-card h3 { margin: 0 0 2px; font-size: 1rem; }
.contact-card p { margin: 0; color: var(--text); font-weight: 600; word-break: break-word; }
.contact-card.wa .icon { background: #e7f8ee; color: var(--wa); }

/* Knowledge hub */
.search-box { display: flex; gap: 10px; max-width: 560px; margin-top: 28px; }
.search-box .field-wrap { position: relative; flex: 1; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search-box input { width: 100%; font: inherit; padding: 14px 16px 14px 46px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 1rem; }
.search-box input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(26,118,239,.15); }
.path-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; padding: 0; overflow: hidden; }
.path-card .path-main { padding: clamp(24px, 4vw, 40px); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #c9d3e8; }
.path-card .path-main h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.path-card .path-main .eyebrow { color: var(--blue-400); }
.path-card .path-main p { color: #b8c5de; }
.path-card .path-main .btn { margin-top: 12px; }
.path-card .path-lessons { padding: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .path-card { grid-template-columns: 1fr; } }
.meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0; }
.meta li { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: #dbe4f5; }
.meta svg { width: 15px; height: 15px; }
.meta.light li { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lesson-list a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .15s;
}
.lesson-list a:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); color: var(--ink); }
.lesson-list .num { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.lesson-list .t { font-weight: 650; line-height: 1.35; }
.lesson-list .t small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.lesson-list .go { width: 18px; height: 18px; color: var(--muted); }
.lesson-list li[hidden] { display: none; }
.empty-state { display: none; padding: 20px; border-radius: 14px; background: var(--surface); color: var(--muted); text-align: center; }
.empty-state.show { display: block; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; padding: 0; margin: 0 0 22px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b4bfd1; }

/* Lesson article */
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
@media (max-width: 1024px) { .lesson-layout { grid-template-columns: 1fr; } .lesson-aside { display: none; } }
.lesson-aside { position: sticky; top: 100px; }
.lesson-aside h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.toc a:hover, .toc a.active { color: var(--blue-600); border-left-color: var(--blue-600); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 60; }

.prose { font-size: 1.08rem; line-height: 1.8; color: var(--text); max-width: 720px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 2.2em 0 .7em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; margin: 1.8em 0 .5em; scroll-margin-top: 100px; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue-500); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.6em 0; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--blue-500); background: var(--blue-50); border-radius: 0 14px 14px 0; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface); color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.takeaway { margin: 48px 0 0; padding: 28px; border-radius: var(--radius); background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: #fff; display: flex; gap: 18px; align-items: flex-start; }
.takeaway .icon { margin: 0; flex: none; background: rgba(34,162,242,.18); color: var(--blue-400); }
.takeaway h2 { color: #aebbd6; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
.takeaway p { margin: 0; font-size: 1.2rem; font-weight: 650; line-height: 1.5; color: #fff; }
.share { margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.share p { margin: 0; font-weight: 650; color: var(--ink); }
.share p small { display: block; font-weight: 500; color: var(--muted); }
.share .btn { min-height: 42px; padding: 8px 16px; font-size: .9rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.pager a { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: all .15s; }
.pager a:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.pager small { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 4px; }
.pager b { font-weight: 650; line-height: 1.4; display: block; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: auto; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.footer-brand .slogan { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--blue-600); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-600); flex: none; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .88rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31,174,85,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; margin-bottom: 10px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }
