/* =========================================================
   SKG Digital Solutions — styles
   ========================================================= */
:root {
  --ink: #0b1020;
  --ink-2: #3a4256;
  --muted: #6b7489;
  --bg: #ffffff;
  --soft: #f5f7fc;
  --line: #e6e9f2;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%);
  --pulse: #7c3aed;
  --track: #0d9488;
  --swap: #f59e0b;
  --dark: #0b1020;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(79, 70, 229, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0 0 1em; color: var(--ink-2); }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .8);
  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;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -10px rgba(15,23,42,.15); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .02em;
}
.logo-text { font-size: 17px; }
.logo-light .logo-text { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { font-weight: 500; font-size: 15px; color: var(--ink-2); position: relative; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--brand); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(124, 58, 237, .16), transparent 60%),
    radial-gradient(500px 400px at 10% 80%, rgba(79, 70, 229, .12), transparent 60%),
    radial-gradient(400px 300px at 60% 90%, rgba(13, 148, 136, .10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }

.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--brand); background: rgba(79, 70, 229, .08); margin-bottom: 18px;
}
.eyebrow-light { color: #c7d2fe; background: rgba(255,255,255,.08); }

.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 30px; font-weight: 800; }
.hero-stats span { font-size: 14px; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; height: 460px; }
.float-card {
  position: absolute; width: 290px; padding: 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.card-pulse { top: 0; left: 8%; --c: var(--pulse); }
.card-track { top: 150px; right: 0; --c: var(--track); animation-delay: -2s; }
.card-swap  { bottom: 0; left: 0; --c: var(--swap); animation-delay: -4s; }
.fc-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--c); margin-bottom: 8px; }
.fc-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, transparent); }
.fc-title { font-weight: 700; margin-bottom: 12px; }
.fc-meta { font-size: 13px; color: var(--muted); margin-top: 12px; }
.fc-meta b { color: var(--ink); }
.fc-bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.fc-bar span { display: block; height: 100%; background: var(--c); border-radius: 99px; }
.fc-map {
  position: relative; height: 70px; border-radius: 10px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(13,148,136,.25) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(13,148,136,.25) 50%, transparent 51%),
    #ecfdf9;
  background-size: 28px 28px, 28px 28px, auto;
}
.fc-map .pin {
  position: absolute; left: 58%; top: 40%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--track); box-shadow: 0 0 0 0 rgba(13,148,136,.6); animation: ping 1.8s infinite;
}
.fc-batteries { display: flex; gap: 6px; }
.fc-batteries i { flex: 1; height: 34px; border-radius: 6px; background: var(--soft); position: relative; overflow: hidden; }
.fc-batteries i::after { content: ""; position: absolute; inset: auto 0 0 0; background: var(--swap); }
.fc-batteries .full::after { height: 100%; }
.fc-batteries .half::after { height: 55%; }
.fc-batteries .low::after  { height: 20%; background: #ef4444; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 14px rgba(13,148,136,0); } 100% { box-shadow: 0 0 0 0 rgba(13,148,136,0); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark p { color: #aab2c8; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p { font-size: 17px; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product {
  position: relative; padding: 36px 30px; border-radius: 24px; background: #fff;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; overflow: hidden;
  display: flex; flex-direction: column;
}
.product::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c);
}
.product:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--c) 55%, transparent); }
.product-pulse { --c: var(--pulse); }
.product-track { --c: var(--track); }
.product-swap  { --c: var(--swap); }
.product-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 28px;
  background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 22px;
}
.product h3 { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.tagline { font-weight: 700; color: var(--c); margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 6px 0 26px; flex: 1; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15px; color: var(--ink-2); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--c);
}
.product-link { font-weight: 700; color: var(--c); }
.product-link:hover { text-decoration: underline; }
.product-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.product-link-muted { color: var(--ink-2); font-weight: 600; }

/* ---------- InstitutePulse spotlight ---------- */
.ip { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfaff 0%, #fff 100%); border-top: 1px solid var(--line); }
.ip-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px 380px at 90% 8%, rgba(124, 58, 237, .12), transparent 60%),
    radial-gradient(420px 320px at 0% 55%, rgba(219, 39, 119, .07), transparent 60%);
}
.ip .container { position: relative; z-index: 1; }
.ip-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ip-copy h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; margin-bottom: 10px; }
.ip-sub { font-size: 19px; font-weight: 700; color: var(--pulse); margin-bottom: 16px; }
.ip-copy > p:not(.ip-sub) { font-size: 17px; max-width: 560px; }
.ip-pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ip-pills li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ip-copy .hero-cta { margin: 28px 0 0; }
.ip-visual img { width: 100%; max-width: 500px; height: auto; margin-inline: auto; }

.ip-block { margin-top: 110px; }
.ip-h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
.ip-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.ip-steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, #c4b5fd 0 8px, transparent 8px 16px);
}
.ip-step {
  position: relative; text-align: center; padding: 0 22px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); margin-top: 34px; transition: transform .2s, box-shadow .2s;
}
.ip-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ip-step-icon {
  width: 68px; height: 68px; margin: -34px auto 16px; border-radius: 20px; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: var(--shadow-lg);
}
.ip-step-icon svg { width: 30px; height: 30px; }
.ip-step-num { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pulse); margin-bottom: 4px; }
.ip-step h4 { font-size: 19px; margin-bottom: 8px; }
.ip-step p { margin: 0; font-size: 15px; }

.ip-showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; margin-top: 110px; }
.ip-shot img { width: 100%; height: auto; }
.ip-feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin-top: 20px; }
.ip-feature > span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: #ede9fe; }
.ip-feature h4 { font-size: 16px; margin: 2px 0 2px; }
.ip-feature p { margin: 0; font-size: 15px; }

.ip-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 100px; }
.ip-benefit { --c: var(--pulse); padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.ip-benefit-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.ip-benefit-head span { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: #ede9fe; }
.ip-benefit-head h4 { margin: 0; font-size: 21px; }
.ip-benefit > p { font-weight: 600; color: var(--ink); }
.ip-benefit .checks { margin-bottom: 0; }

.ip-trust {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; margin-top: 24px; padding: 32px;
  border-radius: 24px; background: #f0fdf9; border: 1px solid #ccf3e7;
}
.ip-trust-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--track); color: #fff; }
.ip-trust-icon svg { width: 32px; height: 32px; }
.ip-trust .ip-h3 { font-size: clamp(21px, 2.2vw, 26px); }
.ip-trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.ip-trust-list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.ip-trust-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--track); }

.ip-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 24px;
  padding: 40px 44px; border-radius: 24px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg);
}
.ip-cta h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-bottom: 8px; }
.ip-cta p { margin: 0; color: rgba(255,255,255,.88); max-width: 600px; }
.ip-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.btn-light { background: #fff; color: var(--brand-2); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 30px; margin-bottom: 14px; }
.feature h4 { font-size: 19px; }
.feature p { margin: 0; font-size: 15px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.industry:hover { border-color: var(--brand); background: rgba(79,70,229,.03); }
.industry span { grid-row: span 2; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--soft); }
.industry h4 { margin: 2px 0 4px; font-size: 17px; }
.industry p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Placeholders (video, screenshots, photos) ---------- */
.shot-placeholder {
  display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center;
  border-radius: 20px; border: 2px dashed #c4b5fd; color: #7c3aed;
  background: repeating-linear-gradient(135deg, #faf8ff 0 14px, #f3efff 14px 28px);
}
.shot-placeholder svg { width: 40px; height: 40px; opacity: .8; }
.shot-placeholder span { font-size: 14px; font-weight: 600; }

.ip-video {
  position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #0b1020;
}
.ip-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ip-video-placeholder {
  background:
    radial-gradient(500px 300px at 20% 20%, rgba(124,58,237,.55), transparent 60%),
    radial-gradient(400px 300px at 85% 85%, rgba(219,39,119,.45), transparent 60%),
    #0b1020;
}
.ip-video-inner { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #fff; text-align: center; padding: 20px; }
.ip-play {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
}
.ip-play svg { width: 34px; height: 34px; margin-left: 4px; }
.ip-video-inner strong { font-size: clamp(18px, 2.2vw, 24px); }
.ip-video-inner > span:last-child { font-size: 15px; color: rgba(255,255,255,.75); }

.ip-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 32px auto 0; }
.ip-gallery figure { margin: 0; }
.ip-gallery img, .shot-phone { width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; object-fit: cover; }
.ip-gallery figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }
.ip-gallery figcaption b { display: block; color: var(--ink); font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c4b5fd; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative; font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: #ede9fe; color: var(--pulse); font-weight: 800; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; font-size: 15px; }
.faq details a { color: var(--brand); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  margin: 0; padding: 30px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.testimonial blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption b { display: block; font-size: 15px; }
.testimonial figcaption span:not(.avatar-placeholder) { font-size: 13px; color: var(--muted); }
.avatar-placeholder {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 800;
}
.logo-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.logo-strip span, .logo-strip img {
  height: 64px; border-radius: 14px; display: grid; place-items: center; font-size: 13px; font-weight: 600;
  color: var(--muted); border: 2px dashed var(--line); object-fit: contain; width: 100%;
}
.logo-strip img { border: 0; filter: grayscale(1); opacity: .7; transition: .2s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- About ---------- */
.about-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.about-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.about-copy > p { font-size: 17px; }
.about-copy > p:last-child { margin-bottom: 0; }

/* ---------- Contact extras ---------- */
.map-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--brand); }
.map-link:hover { text-decoration: underline; }
.form-consent { margin: -6px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-consent a, .form-note a { color: var(--brand); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 14px 30px -10px rgba(22, 163, 74, .6); transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(22, 163, 74, .7); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- Legal pages ---------- */
.legal { padding: 70px 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; color: var(--ink-2); }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand); font-weight: 600; }
.legal-box { padding: 20px 22px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); margin: 16px 0; }
.legal-box p { margin: 0 0 4px; }

/* ---------- Trust pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.pillar:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -24px color-mix(in srgb, var(--c) 55%, transparent); }
.pillar-security { --c: var(--brand); }
.pillar-safety   { --c: var(--track); }
.pillar-quick    { --c: var(--swap); }
.pillar-reliable { --c: #db2777; }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff);
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h4 { font-size: 20px; margin-bottom: 6px; }
.pillar > p { font-size: 15px; margin-bottom: 16px; }
.pillar .checks { margin: 0; }
.pillar .checks li { font-size: 14.5px; }

/* ---------- Why ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why { padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.why-num { font-size: 14px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.why h4 { font-size: 19px; }
.why p { margin: 0; font-size: 15px; }
.why-list { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.why-list li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 14px; color: #cfd5e6; line-height: 1.5; }
.why-list li:last-child { margin-bottom: 0; }
.why-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; background: var(--grad);
}

.process-head { text-align: center; max-width: 620px; margin: 72px auto 0; }
.process-head h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin-bottom: 8px; }
.process-head p { margin: 0; font-size: 16px; }
.process-head + .process { margin-top: 32px; }
.step small { display: block; margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: #8f98b3; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 60px; counter-reset: step; }
.step {
  position: relative; padding: 22px 18px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, rgba(124,58,237,.18), rgba(79,70,229,.06)); border: 1px solid rgba(255,255,255,.08);
}
.step::before { counter-increment: step; content: counter(step); display: block; font-size: 12px; color: #a5b4fc; font-weight: 700; margin-bottom: 4px; }
.step b { display: block; font-size: 17px; }
.step span { font-size: 13px; color: #aab2c8; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.office { padding: 20px; border-radius: 14px; background: var(--soft); }
.office h4 { margin-bottom: 4px; font-size: 17px; }
.office small { display: block; font-size: 12px; font-weight: 600; color: var(--brand); margin-top: 2px; }
.office p { margin: 0; font-size: 14px; }
.contact-line { margin: 8px 0; font-weight: 500; }
.contact-line a { color: var(--brand); }

.contact-form {
  padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--soft); color: var(--ink); transition: border-color .2s, background .2s; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.contact-form .invalid { border-color: #ef4444; }
.form-note { margin: 0; font-size: 14px; text-align: center; min-height: 1.4em; }
.form-note.ok { color: var(--track); }
.form-note.err { color: #ef4444; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #aab2c8; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid a:not(.logo) { display: block; margin-bottom: 8px; font-size: 15px; transition: color .2s; }
.footer-grid a:not(.logo):hover { color: #fff; }
.footer-about { color: #aab2c8; margin-top: 16px; max-width: 360px; font-size: 15px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .fc-map .pin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
  .products, .grid-3, .industries { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .pillars { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .ip-hero, .ip-showcase { grid-template-columns: 1fr; gap: 40px; }
  .ip-steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .ip-steps::before { display: none; }
  .ip-cta { flex-direction: column; align-items: flex-start; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }

  .hero { padding: 50px 0 70px; }
  .hero-visual { height: 400px; }
  .float-card { width: 250px; }
  .section { padding: 70px 0; }
  .products, .grid-3, .industries, .grid-4, .pillars, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .pillar { padding: 26px 22px; }
  .ip-gallery { grid-template-columns: 1fr; max-width: 340px; }
  .ip-video { border-radius: 18px; }
  .ip-play { width: 64px; height: 64px; }
  .testimonials { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: 1fr 1fr; }
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .wa-float span { display: none; }
  .footer-legal { flex-wrap: wrap; }
  .process { grid-template-columns: 1fr 1fr; }
  .offices, .contact-form .row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .ip-block, .ip-showcase, .ip-benefits { margin-top: 70px; }
  .ip-steps, .ip-benefits, .ip-trust-list { grid-template-columns: 1fr; }
  .ip-trust { grid-template-columns: 1fr; padding: 24px; }
  .ip-benefit { padding: 24px; }
  .ip-cta { padding: 28px 24px; }
}

/* ---------- InstitutePulse modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, #fff) 0%, #fff 55%);
  border: 1px solid var(--line); border-top: 4px solid var(--c);
  border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s;
}
.module::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%;
  background: var(--c); opacity: .07; pointer-events: none;
}
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 16px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
}
.module h4 { font-size: 19px; margin: 0 0 6px; }
.module p { margin: 0; font-size: 15px; }
.module .checks { margin: 14px 0 0; padding-left: 0; flex: 0 0 auto; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.mini-chips span {
  font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff);
}
.mini-chips-lg span { font-size: 13px; padding: 8px 14px; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: auto; padding-top: 18px; box-sizing: content-box; }
.mini-bars i { flex: 0 0 14px; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--c) 35%, #fff); }
.mini-bars i:last-of-type { background: var(--c); }
.mini-bars b { margin-left: auto; align-self: center; font-size: 28px; color: var(--c); }
.module-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.module-wide .module-body { flex: 1 1 50%; }
.route-art { flex: 1 1 50%; max-width: 360px; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 8px 24px rgba(217,119,6,.15); }
.module-banner {
  grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 24px 28px;
}
.module-banner .mini-chips { margin-top: 0; padding-top: 0; }
@media (max-width: 960px) {
  .modules { grid-template-columns: 1fr 1fr; }
  .module-wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .modules { grid-template-columns: 1fr; }
  .module-wide { flex-direction: column; align-items: stretch; }
  .route-art { max-width: none; }
}
