/* Vikartha Digital Solutions — site styles */
:root {
  --blue: #1c4dff;
  --blue-600: #1439d6;
  --blue-050: #eef2ff;
  --ink: #0a1230;
  --ink-2: #141d3d;
  --text: #1b2033;
  --muted: #5b6478;
  --line: #e4e7ef;
  --bg: #fafafa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 18, 48, 0.08);
  --max: 1272px; /* 1224px content + 24px gutters */
  --font: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Inter Tight", "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  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, h6, .quote { font-family: var(--font-head); font-weight: 700; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #c9cfe3; }
.section--ink h2, .section--ink h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #8fa6ff; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { max-width: 640px; margin: 0; }
.section-head .lead { margin: 0; max-width: 460px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--blue-050); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header and mega menu */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { flex: none; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-top {
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; font-size: 0.95rem;
  color: var(--ink-2); background: none; border: 0; cursor: pointer; padding: 8px 12px; border-radius: 8px;
}
.nav-top svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-top:hover, .has-drop.open > .nav-top { color: var(--blue); }
.nav-top.active { color: var(--blue); }
.nav .btn { padding: 11px 20px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

.drop-grid { display: grid; grid-template-columns: 1.1fr repeat(var(--cols, 2), 1fr); gap: 8px 32px; }
.drop-lead { grid-row: 1 / span 2; }
.drop-lead h3 { font-size: 1.25rem; margin-bottom: 8px; }
.drop-lead p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.drop-link { display: flex; gap: 14px; padding: 14px; border-radius: 12px; transition: background .2s; }
.drop-link:hover, .drop-link[aria-current="page"] { background: var(--blue-050); }
.drop-link .icon { width: 40px; height: 40px; border-radius: 10px; margin: 0; flex: none; }
.drop-link .icon svg { width: 20px; height: 20px; }
.drop-link strong { display: block; color: var(--ink); font-size: 0.98rem; }
.drop-link span { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.45; margin-top: 2px; }

@media (min-width: 1101px) {
  .nav-menu { display: flex; align-items: center; gap: 20px; }
  .nav-links > li { height: 76px; display: flex; align-items: center; }
  .drop {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(10, 18, 48, 0.10);
    padding: 36px 0 40px; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .has-drop:hover > .drop, .has-drop:focus-within > .drop, .has-drop.open > .drop { opacity: 1; visibility: visible; transform: none; }
  .has-drop:hover > .nav-top svg, .has-drop.open > .nav-top svg { transform: rotate(180deg); }
}
@media (max-width: 1100px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; top: calc(76px + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0; background: var(--white);
    padding: 8px 24px 32px; display: none; overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-top { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 1.05rem; border-radius: 0; }
  .has-drop.open > .nav-top svg { transform: rotate(180deg); }
  .drop { display: none; padding: 0 0 16px; }
  .has-drop.open > .drop { display: block; }
  .drop .container { padding: 0; }
  .drop-grid { grid-template-columns: 1fr; gap: 2px; }
  .drop-lead { grid-row: auto; padding: 4px 8px 8px; }
  .drop-lead h3, .drop-lead p { display: none; }
  .drop-link { padding: 10px 8px; }
  .nav-menu .btn { margin-top: 24px; width: 100%; justify-content: center; }
  body.menu-open { overflow: hidden; }
}

/* Image frames fall back to a brand gradient if a photo fails to load */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--ink) 0%, var(--blue) 100%); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Home hero */
.hero { position: relative; color: var(--white); min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero .media { position: absolute; inset: 0; }
.hero .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 18, 48, 0.94) 0%, rgba(10, 18, 48, 0.78) 45%, rgba(28, 77, 255, 0.35) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: var(--white); max-width: 880px; }
.hero h1 em { font-style: normal; color: #7f9bff; }
.hero p { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #cdd5f0; max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-metrics {
  position: relative; z-index: 1; margin-top: 72px; padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 880px;
}
.metric-num {
  display: block; font-family: var(--font-head); font-weight: 700; color: var(--white);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; margin-bottom: 10px;
}
.metric-label { display: block; font-size: 0.95rem; color: #aeb8d9; }
@media (max-width: 760px) {
  .hero-metrics { gap: 16px; margin-top: 48px; padding-top: 24px; }
  .metric-label { font-size: 0.85rem; }
}

/* Quick facts on the contact page */
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts li { padding: 18px; border-radius: 12px; background: var(--blue-050); font-size: 0.9rem; color: var(--muted); }
.facts strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Inner page hero */
.page-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero .media { position: absolute; inset: 0; }
.page-hero .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 48, 0.95) 0%, rgba(10, 18, 48, 0.7) 60%, rgba(28, 77, 255, 0.3) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(64px, 9vw, 110px); }
.page-hero h1 { color: var(--white); max-width: 820px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero p { color: #cdd5f0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; margin: 0; }
.crumbs { font-size: 0.85rem; color: #9aa6cc; margin-bottom: 22px; }
.crumbs a:hover { color: var(--white); }

/* Grids and cards */
.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); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--blue-050); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 22px;
}
.icon svg { width: 26px; height: 26px; }

.card-img { padding: 0; overflow: hidden; }
.card-img .media { aspect-ratio: 16 / 10; }
.card-img .media img { transition: transform .5s; }
.card-img:hover .media img { transform: scale(1.05); }
.card-img .card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split .media { border-radius: 20px; aspect-ratio: 4 / 4.2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } .split .media { aspect-ratio: 16 / 11; } }

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

/* Pillars band */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.pillar { padding: 40px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.pillar .num { font-size: 0.85rem; font-weight: 700; color: #8fa6ff; letter-spacing: 0.1em; }
.pillar h3 { font-size: 1.5rem; margin: 10px 0 12px; }
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
}

/* Process */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -2px; left: 0; padding-top: 22px; border-top: 2px solid var(--blue); width: 56px;
  font-weight: 800; color: var(--blue); font-size: 0.9rem;
}
.step h3 { margin-top: 32px; }
.step p { color: var(--muted); }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }

/* Service detail rows */
.service-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.service-row:first-of-type { border-top: 0; padding-top: 0; }
.service-row .media { border-radius: 18px; aspect-ratio: 16 / 11; }
.service-row:nth-of-type(even) .media { order: 2; }
.service-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.service-row .tags span { font-size: 0.85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--blue-050); color: var(--blue-600); }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-of-type(even) .media { order: 0; } }

/* CTA band: copy and actions on the left, team photo on the right */
.cta { background: linear-gradient(120deg, var(--blue) 0%, #1238d4 100%); color: var(--white); border-radius: 28px; display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(28, 77, 255, 0.28); }
.cta-body { padding: clamp(36px, 5.5vw, 72px); align-self: center; }
.cta h2 { color: var(--white); margin-bottom: 14px; max-width: 620px; }
.cta p { color: #dbe3ff; margin: 0; font-size: 1.1rem; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: rgba(255, 255, 255, 0.32); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--white); }
.cta-visual { position: relative; min-height: 320px; }
.cta-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.cta-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #1a44f0 0%, rgba(26, 68, 240, 0.55) 22%, rgba(26, 68, 240, 0) 55%); }
@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; }
  .cta-visual { order: -1; min-height: 220px; }
  .cta-visual::before { background: linear-gradient(0deg, #1a44f0 0%, rgba(26, 68, 240, 0) 60%); }
}
@media (max-width: 420px) { .cta-actions .btn { width: 100%; justify-content: center; } }

/* Values / quote */
.quote { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: -0.01em; margin: 0; }
.quote span { color: var(--blue); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .icon { margin: 0; flex: none; width: 46px; height: 46px; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list small { display: block; color: var(--muted); font-size: 0.85rem; }
.info-list a, .info-list span { font-weight: 700; color: var(--ink); }
.info-list a:hover { color: var(--blue); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28, 77, 255, 0.12); background: var(--white); }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--blue-050); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Facts list */
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 18px 0; }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* Footer */
.site-footer { background: var(--ink); color: #9aa6cc; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-legal a:hover { color: var(--white); }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand img { height: 30px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.88rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

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

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Prose (legal and long-form pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); font-weight: 600; }
.notice {
  display: flex; gap: 14px; align-items: flex-start; background: #fff8e6; border: 1px solid #f3d58a; color: #6b4e00;
  padding: 16px 20px; border-radius: 12px; margin-bottom: 40px; font-size: 0.95rem;
}
.notice svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.notice p { margin: 0; color: inherit; }
.layout-aside { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.layout-aside nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.layout-aside nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.layout-aside nav a:hover { background: var(--blue-050); color: var(--blue); }
@media (max-width: 900px) { .layout-aside { grid-template-columns: 1fr; } .layout-aside nav { display: none; } }

/* Badges, case studies, insights */
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--blue-050); color: var(--blue-600); }
.badge--muted { background: #eef0f5; color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; padding: 0; overflow: hidden; }
.case .media { min-height: 100%; aspect-ratio: auto; }
.case .case-body { padding: clamp(24px, 4vw, 40px); }
.case dl { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0 0; }
.case dt { font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.case dd { margin: 2px 0 0; color: var(--muted); }
@media (max-width: 800px) { .case { grid-template-columns: 1fr; } .case .media { aspect-ratio: 16 / 9; } }

/* Hub tiles linking to sub-pages */
.tile { position: relative; border-radius: 18px; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); }
.tile .media { position: absolute; inset: 0; }
.tile .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 48, 0.1) 0%, rgba(10, 18, 48, 0.88) 75%); }
.tile .media img { transition: transform .5s; }
.tile:hover .media img { transform: scale(1.05); }
.tile-body { position: relative; z-index: 1; padding: 28px; }
.tile h3 { color: var(--white); font-size: 1.4rem; }
.tile p { color: #cdd5f0; margin-bottom: 14px; }
.tile .link-arrow { color: #a9bbff; }

/* Simple numbered list of reasons */
.reason { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.reason .icon { margin: 0; }
.reason p { color: var(--muted); margin: 0; }

.file-note { font-size: 0.88rem; color: var(--muted); margin-top: -6px; margin-bottom: 18px; }

/* Service tiles with a list of links (home) */
.tile--list { cursor: default; }
.tile-links { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.tile-links a { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.tile-links a:hover { color: #a9bbff; }
.tile-links svg { width: 16px; height: 16px; }

/* Slim row of related links above the CTA band */
.related-section { padding: clamp(32px, 5vw, 56px) 0 0; }
.related-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.related-row > span { font-weight: 700; color: var(--ink); }

/* Full articles on the insights page */
.article + .article { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.article h2 { margin-top: 0; }

/* Floating contact: WhatsApp and call */
.fab{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:90;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.fab-main,.fab-mini{position:relative;border-radius:50%;display:grid;place-items:center;color:#fff;text-decoration:none;box-shadow:0 10px 30px rgba(10,18,48,.25);transition:transform .2s ease}
.fab-main{width:60px;height:60px;background:#25d366}
.fab-main svg{width:30px;height:30px}
.fab-mini{width:46px;height:46px;background:var(--blue);margin-right:7px}
.fab-mini svg{width:22px;height:22px}
.fab-main:hover,.fab-mini:hover{transform:scale(1.06)}
.fab-main:focus-visible,.fab-mini:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.fab-main::before{content:"";position:absolute;inset:0;border-radius:50%;background:#25d366;opacity:.45;z-index:-1;animation:fab-pulse 2.4s ease-out infinite}
@keyframes fab-pulse{0%{transform:scale(1);opacity:.45}100%{transform:scale(1.6);opacity:0}}
.fab-tip{position:absolute;right:72px;top:50%;transform:translateY(-50%);white-space:nowrap;background:var(--ink);color:#fff;font-size:14px;font-weight:700;padding:8px 14px;border-radius:999px;box-shadow:0 6px 20px rgba(10,18,48,.2);pointer-events:none}
body.menu-open .fab{display:none}
@media (max-width:600px){.fab-main{width:56px;height:56px}.fab-mini{width:44px;height:44px;margin-right:6px}.fab-tip{display:none}}
@media (prefers-reduced-motion:reduce){.fab-main::before{animation:none}.fab-main,.fab-mini{transition:none}}
@media print{.fab{display:none}}

/* Form delivery */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field input[type="file"] { padding: 11px 12px; cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; font-size: 0.9rem; margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--blue-050); color: var(--blue); cursor: pointer; }
.form .btn[disabled] { opacity: .7; cursor: progress; }

/* Home services bento grid: large cards only, alternating 7/5 and 5/7 widths */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 460px; gap: 24px; }
.bento-w7 { grid-column: span 7; }
.bento-w5 { grid-column: span 5; }
.bento-card { position: relative; display: flex; align-items: flex-end; border-radius: 28px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; background: var(--ink); box-shadow: 0 1px 2px rgba(10,18,48,.06), 0 14px 40px rgba(10,18,48,.10); transition: translate .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
.js-reveal .bento-card.reveal { transition: opacity .8s ease var(--d, 0ms), transform .8s ease var(--d, 0ms), translate .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
.bento-card .media { position: absolute; inset: 0; z-index: -2; }
.bento-card .media img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.bento-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,18,48,0) 20%, rgba(10,18,48,.55) 55%, rgba(10,18,48,.94) 100%); }
.bento-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(28,77,255,.5), rgba(28,77,255,0) 60%); opacity: 0; transition: opacity .5s ease; }
.bento-body { position: relative; padding: 24px; width: 100%; }
.bento-tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 18px; }
.bento-card h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 12px; max-width: 18ch; }
.bento-card p { color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.6; margin: 0; max-width: 44ch; }
.bento-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 700; font-size: .95rem; transition: background .35s ease, color .35s ease; }
.bento-link svg { width: 18px; height: 18px; transition: transform .35s ease; }
.bento-card:hover, .bento-card:focus-visible { translate: 0 -8px; box-shadow: 0 2px 4px rgba(10,18,48,.08), 0 30px 60px rgba(10,18,48,.24); }
.bento-card:hover .media img, .bento-card:focus-visible .media img { transform: scale(1.06); }
.bento-card:hover::after, .bento-card:focus-visible::after { opacity: 1; }
.bento-card:hover .bento-link, .bento-card:focus-visible .bento-link { background: #fff; color: var(--ink); }
.bento-card:hover .bento-link svg, .bento-card:focus-visible .bento-link svg { transform: translateX(5px); }
.bento-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.bento-cta { background: linear-gradient(135deg, var(--blue) 0%, #0f2fb8 100%); }
.bento-cta::before { background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.24) 0%, rgba(255,255,255,0) 55%); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 420px; gap: 20px; }
  .bento-w7, .bento-w5 { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 18px; }
  .bento-card { min-height: 400px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .bento-card, .bento-card .media img, .bento-link, .bento-link svg { transition: none; }
  .bento-card:hover, .bento-card:focus-visible { translate: none; }
  .bento-card:hover .media img { transform: none; }
}

/* Client logo strip under the home hero */
.clients { padding: 56px 0 24px; background: var(--bg); }
.clients-title { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.clients-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clients-track { display: flex; align-items: center; gap: 64px; width: max-content; margin: 0; padding: 8px 0; list-style: none; animation: clients-scroll 60s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clients-scroll { to { transform: translateX(calc(-50% - 32px)); } }
.client { flex: none; display: flex; align-items: center; height: 44px; color: #8a93ad; transition: color .3s ease; }
.client svg { height: 30px; width: auto; display: block; }
.client:hover svg { color: var(--brand); }
.client-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }
.client:hover .client-name { color: var(--ink); }
@media (max-width: 600px) { .clients { padding-top: 36px; } .clients-track { gap: 44px; } .client-name { font-size: 1.1rem; } .client svg { height: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .clients-marquee { -webkit-mask-image: none; mask-image: none; }
  .clients-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 24px 48px; padding: 8px 24px; }
  .clients-track [aria-hidden="true"] { display: none; }
}
.client img { height: 40px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s ease, opacity .3s ease; }
.client:hover img { filter: none; opacity: 1; }
@media (max-width: 600px) { .client img { height: 32px; } }
.client img.tall { height: 64px; }
@media (max-width: 600px) { .client img.tall { height: 52px; } }
.client img.wide { height: 52px; max-width: 200px; }
@media (max-width: 600px) { .client img.wide { height: 44px; max-width: 160px; } }
/* Logos in their own colours, two rows moving in opposite directions */
.clients-marquee + .clients-marquee { margin-top: 64px; }
.clients-track--reverse { animation-name: clients-scroll-reverse; }
@keyframes clients-scroll-reverse { from { transform: translateX(calc(-50% - 32px)); } to { transform: translateX(0); } }
.client svg { color: var(--brand); }
.client img { filter: none; opacity: 1; }
.client img.big { height: 72px; max-width: 220px; }
@media (max-width: 600px) { .client img.big { height: 58px; max-width: 180px; } }
.client img.badge { height: 52px; border-radius: 8px; }
@media (max-width: 600px) { .client img.badge { height: 44px; } }
/* Keep the logo rows inside the 1224px content width */
.clients-marquee { max-width: 1224px; margin-left: auto; margin-right: auto; }
@media (max-width: 1272px) { .clients-marquee { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 600px) { .clients-marquee + .clients-marquee { margin-top: 40px; } }

/* Background patterns: faint grid lines and dot grids in the brand blue, faded out with masks so they stay behind the content */
.section, .site-footer, .cta { position: relative; isolation: isolate; }
.section::before, .site-footer::before, .cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
/* Light grey sections: blueprint grid fading out from the top */
.section::before {
  background-image:
    linear-gradient(rgba(28, 77, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 77, 255, 0.11) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, #000 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, #000 0%, transparent 100%);
}
/* White sections: dot grid in the top-right and bottom-left corners */
.section--white::before {
  background-image: radial-gradient(rgba(28, 77, 255, 0.34) 1.4px, transparent 1.8px);
  background-size: 22px 22px; background-position: 0 0;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 45%), radial-gradient(circle at 0% 100%, #000 0%, transparent 38%);
          mask-image: radial-gradient(circle at 100% 0%, #000 0%, transparent 45%), radial-gradient(circle at 0% 100%, #000 0%, transparent 38%);
}
/* Dark sections and footer: thin white grid */
.section--ink::before, .site-footer::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 100%);
}
/* CTA band: white dots fading in from the bottom-left */
.cta::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.32) 1.4px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(circle at 0% 100%, #000 0%, transparent 60%);
          mask-image: radial-gradient(circle at 0% 100%, #000 0%, transparent 60%);
}
/* Heroes: grid lines over the photo on the right-hand side */
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px; background-position: right top;
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
}
.hero-inner, .hero-metrics, .page-hero .container { z-index: 2; }

/* Lead focus: hero buttons, job band, WhatsApp */
.page-hero .hero-actions { margin-top: 32px; }
.btn svg[fill="currentColor"] { width: 18px; height: 18px; }
.hero-note { margin: 18px 0 0; font-size: .95rem; color: #cdd5f0; }
.hero-note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.job-band { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.job-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.job-band p { margin: 0; color: var(--muted); max-width: 720px; }
.wa-box { margin-top: 28px; padding: 24px; border-radius: 16px; background: #e9fbf0; border: 1px solid #bfeccf; }
.wa-box h3 { margin: 0 0 6px; }
.wa-box p { margin: 0 0 16px; color: var(--muted); }
.btn--wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn--wa:hover { background: #1ebe5a; border-color: #1ebe5a; }
