/* ============================================================
   Parikshit Technology — Design System
   Bright modern tech. Light canvas, electric blue/cyan accents.
   ============================================================ */

:root {
  /* Brand */
  --pk-blue:      #1D4ED8;
  --pk-blue-600:  #2563EB;
  --pk-blue-400:  #60A5FA;
  --pk-cyan:      #06B6D4;
  --pk-mint:      #10B981;
  --pk-amber:     #F59E0B;

  /* Neutrals */
  --ink:          #0B1220;
  --ink-2:        #1E293B;
  --muted:        #64748B;
  --line:         #E2E8F0;
  --surface:      #FFFFFF;
  --surface-2:    #F6F8FC;
  --surface-3:    #EEF3FB;

  /* Effects */
  --grad: linear-gradient(115deg, var(--pk-blue) 0%, var(--pk-blue-600) 45%, var(--pk-cyan) 100%);
  --grad-soft: linear-gradient(160deg, #EFF6FF 0%, #F5FAFF 55%, #ECFEFF 100%);
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 2px 6px rgba(11,18,32,.04);
  --shadow-md: 0 4px 12px rgba(11,18,32,.06), 0 12px 32px rgba(11,18,32,.07);
  --shadow-lg: 0 10px 24px rgba(29,78,216,.10), 0 30px 60px rgba(11,18,32,.10);
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1180px;
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-2);
  background: var(--surface);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pk-blue-600); text-decoration: none; }
a:hover { color: var(--pk-blue); }
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--surface-2); }
.section--deep { background: var(--ink); color: #CBD5E1; }
.section--deep h2, .section--deep h3 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pk-blue-600);
  background: var(--surface-3); border: 1px solid #DBEAFE;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pk-cyan); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .97rem;
  border: 1px solid transparent; cursor: pointer; transition: .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,99,235,.36); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--pk-blue-400); color: var(--pk-blue); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--ink); font-size: 1.06rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; display: block; flex: none;
  box-shadow: 0 4px 12px rgba(37,99,235,.30);
}
.brand__name { line-height: 1.1; }
.brand__name small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links li { margin: 0; }
.nav__links a {
  display: block; padding: 9px 12px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500; font-size: .93rem; white-space: nowrap;
}
.nav__links a:hover { background: var(--surface-3); color: var(--pk-blue); }
.nav__links a.is-active { color: var(--pk-blue); background: var(--surface-3); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
/* "Client login" lives in the button row on desktop, in the menu list on mobile */
.nav__links-login { display: none; }

.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--line);
  padding: 84px 0 92px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 25%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 70% 25%, #000 0%, transparent 62%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(6,182,212,.30), transparent 68%);
  filter: blur(10px); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 1.18rem; }

/* Hero visual */
.hero-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.hero-panel__bar { display: flex; gap: 6px; margin-bottom: 16px; }
.hero-panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.hero-panel__bar i:first-child { background: #FCA5A5; }
.hero-panel__bar i:nth-child(2) { background: #FCD34D; }
.hero-panel__bar i:nth-child(3) { background: #6EE7B7; }
.panel-row {
  display: flex; align-items: center; gap: 13px; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px;
  background: var(--surface-2);
}
.panel-row:last-child { margin-bottom: 0; }
.panel-row__icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); font-size: 1.05rem; flex: none;
}
.panel-row__text { font-size: .9rem; line-height: 1.35; }
.panel-row__text strong { display: block; color: var(--ink); font-size: .95rem; }
.panel-row__text span { color: var(--muted); }
.panel-row__stat { margin-left: auto; font-weight: 700; color: var(--pk-mint); font-size: .88rem; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: #fff; padding: 28px 22px; text-align: center; }
.stat__num { font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.stat__num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; transition: .22s ease; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C7D9F5; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 18px; background: var(--surface-3); color: var(--pk-blue);
}
.card__icon--cyan { background: #ECFEFF; color: #0891B2; }
.card__icon--mint { background: #ECFDF5; color: #059669; }
.card__icon--amber { background: #FFFBEB; color: #D97706; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 1em; }
.card ul { font-size: .92rem; color: var(--muted); padding-left: 1.1em; margin-bottom: 1em; }
.card__link { margin-top: auto; font-weight: 600; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.card__link::after { content: "→"; transition: transform .2s ease; }
.card:hover .card__link::after { transform: translateX(4px); }

.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Feature list */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(37,99,235,.24);
}
.feature h3 { font-size: 1.06rem; margin-bottom: .3em; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-2); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; background: #ECFDF5; color: #059669;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}
.section--deep .checks li { color: #CBD5E1; }
.section--deep .checks li::before { background: rgba(16,185,129,.16); color: #34D399; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { position: relative; padding-left: 62px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 13px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--pk-blue);
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.05rem; margin-bottom: .25em; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Tag pills */
.tags { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-size: .85rem; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); margin: 0;
}

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 600; color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: none; }
td strong { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad); border-radius: var(--r-xl); padding: 56px 48px;
  color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.35fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.cta-band h2 { color: #fff; margin-bottom: .35em; position: relative; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; max-width: 52ch; position: relative; }
.cta-band .btn-row { position: relative; }
.cta-band .btn--ghost { background: #fff; color: var(--pk-blue); border-color: #fff; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background: var(--grad-soft); border-bottom: 1px solid var(--line);
  padding: 62px 0 58px; position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; right: -100px; top: -140px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,.16), transparent 68%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 18ch; margin-bottom: .35em; }
.crumb { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--pk-blue); }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pk-blue-400); box-shadow: 0 0 0 4px rgba(96,165,250,.18);
}
.field__hint { font-size: .8rem; color: var(--muted); }
.form-note { font-size: .84rem; color: var(--muted); }
.form-status { font-size: .92rem; font-weight: 600; color: #059669; }

.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.contact-card h3 { font-size: 1rem; margin-bottom: .3em; }
.contact-card p { margin: 0; font-size: .94rem; color: var(--muted); }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94A3B8; padding: 62px 0 30px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-family: "Inter", sans-serif; font-weight: 600; }
.site-footer a { color: #94A3B8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand .brand__name small { color: #64748B; }
.footer-brand p { max-width: 34ch; color: #94A3B8; }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px 24px; flex-wrap: wrap; font-size: .86rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { position: relative; }
.footer-legal a + a::before {
  content: ""; position: absolute; left: -10px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%; background: #475569; transform: translateY(-50%);
}
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Case study cards (Projects) ---------- */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: .22s ease;
  display: flex; flex-direction: column;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C7D9F5; }
.case__top { padding: 26px 26px 0; }
.case__body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.case__cover {
  height: 116px; background: var(--grad); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px 26px;
}
.case__cover::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to top left, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(to top left, #000, transparent 75%);
}
.case__cover-icon { position: relative; font-size: 2rem; line-height: 1; color: #fff; }
.case__meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .78rem; color: var(--muted); margin-bottom: 12px;
}
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-3); color: var(--pk-blue); border: 1px solid #DBEAFE;
}
.badge--mint { background: #ECFDF5; color: #059669; border-color: #A7F3D0; }
.badge--amber { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.badge--cyan { background: #ECFEFF; color: #0E7490; border-color: #A5F3FC; }
.case h3 { font-size: 1.18rem; margin-bottom: .4em; }
.case__block { margin-bottom: 14px; }
.case__block h4 {
  font-family: "Inter", sans-serif; font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.case__block p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.case__result {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 20px;
}
.metric { min-width: 88px; }
.metric__num {
  font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700;
  line-height: 1; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric__label { font-size: .76rem; color: var(--muted); margin-top: 5px; }

/* ---------- Client logo grid ---------- */
.logo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.logo-tile {
  background: #fff; min-height: 108px; display: grid; place-items: center;
  padding: 20px; text-align: center; transition: .2s ease;
}
.logo-tile:hover { background: var(--surface-2); }
.logo-tile span {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem;
  color: #94A3B8; letter-spacing: -.01em;
}
.logo-tile small { display: block; font-size: .72rem; font-weight: 500; color: #CBD5E1; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column;
}
.quote::before {
  content: "\201C"; font-family: "Space Grotesk", serif; font-size: 3.4rem;
  line-height: 1; color: var(--pk-blue-400); opacity: .35;
  position: absolute; top: 14px; right: 22px;
}
.quote p { font-size: 1rem; color: var(--ink-2); position: relative; z-index: 1; }
.quote__by { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 700; font-size: .9rem;
  font-family: "Space Grotesk", sans-serif;
}
.quote__by strong { display: block; font-size: .92rem; color: var(--ink); }
.quote__by span { font-size: .82rem; color: var(--muted); }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 13px 18px 13px 15px; border-radius: 999px;
  font-weight: 600; font-size: .93rem; text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,.38), 0 2px 6px rgba(11,18,32,.14);
  transition: .2s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,.46); }
.wa-float svg { flex: none; }
.wa-float__label { white-space: nowrap; }

.contact-card--wa {
  display: flex; gap: 14px; align-items: flex-start;
  background: #F0FDF4; border-color: #BBF7D0; color: inherit;
}
.contact-card--wa:hover { border-color: #86EFAC; color: inherit; }
.contact-card--wa h3 { color: #15803D; }
.wa-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: #25D366; color: #fff;
}

/* ---------- Portal / client login ---------- */
.portal-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: .22s ease;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.portal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C7D9F5; }
.portal-card--primary { border-color: #BFDBFE; background: linear-gradient(180deg, var(--surface-3) 0%, #fff 46%); }
.portal-card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.45rem; margin-bottom: 18px; background: var(--grad); color: #fff;
  box-shadow: 0 5px 14px rgba(37,99,235,.26);
}
.portal-card h3 { font-size: 1.28rem; margin-bottom: .35em; }
.portal-card > p { color: var(--muted); font-size: .96rem; }
.portal-card .checks { margin: 4px 0 22px; }
.portal-card .checks li { font-size: .93rem; margin-bottom: 9px; }
.portal-card .btn { align-self: flex-start; margin-top: auto; }
.portal-note {
  font-size: .82rem; color: var(--muted); margin: 12px 0 0;
  padding-top: 12px; border-top: 1px dashed var(--line);
}

.status-pill {
  position: absolute; top: 22px; right: 22px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0;
}
.status-pill--soon { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }

.setup-box {
  background: #FFFBEB; border: 1px solid #FDE68A; border-left: 4px solid var(--pk-amber);
  border-radius: var(--r); padding: 22px 24px; margin-bottom: 32px;
}
.setup-box h3 { font-size: 1.02rem; color: #92400E; margin-bottom: .4em; }
.setup-box p, .setup-box li { color: #78350F; font-size: .93rem; }
.setup-box p:last-child, .setup-box ul:last-child { margin-bottom: 0; }
.setup-box code {
  background: #FEF3C7; padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .87em;
}

/* ---------- Utilities ---------- */
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; padding: 42px 32px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Nav collapses earlier — seven items need the room */
@media (max-width: 1060px) {
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r);
    padding: 12px 16px 18px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 11px 14px; font-size: .97rem; }
  .nav__toggle { display: flex; }
  .nav__links-login { display: block; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav__links-login a { color: var(--pk-blue); font-weight: 600; }
  .nav__cta .btn--sm { display: none; }
}

@media (max-width: 760px) {
  .nav__cta .btn { display: none; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 0 64px; }
  body { font-size: 16px; }
  /* WhatsApp collapses to a circle on small screens */
  .wa-float { right: 16px; bottom: 16px; padding: 14px; border-radius: 50%; }
  .wa-float__label { display: none; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
