/* ==========================================================================
   Micro Consulting — microconsulting.in
   Shared stylesheet. Mobile-first. Colors and fonts live in :root below.
   ========================================================================== */

:root {
  /* Brand colors */
  --navy-950: #071427;
  --navy-900: #0A1B33;
  --navy-800: #10284A;
  --navy-700: #1A3A66;
  --navy-100: #E6ECF5;
  --teal-600: #087A75;   /* accent for text/buttons on light backgrounds (AA contrast) */
  --teal-700: #06635F;   /* hover */
  --teal-400: #2BD3C6;   /* accent on dark backgrounds */
  --teal-100: #DDF5F3;

  /* Neutrals */
  --ink: #13243D;
  --muted: #52627A;
  --line: #DDE3EC;
  --surface: #F4F7FB;
  --white: #FFFFFF;

  /* Status */
  --success: #0F7B4A;
  --success-bg: #E3F5EC;
  --error: #B42318;
  --error-bg: #FDECEA;
  --whatsapp: #1FA855;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: 1.375rem;
  --fs-700: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-800: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-900: clamp(2.125rem, 1.5rem + 3vw, 3.5rem);

  /* Layout */
  --container: 1180px;
  --gutter: 20px;
  --header-h: 68px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(10, 27, 51, .06), 0 8px 24px rgba(10, 27, 51, .07);
  --shadow-lg: 0 20px 48px rgba(10, 27, 51, .16);
  --section-y: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; --header-h: 76px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-600); text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: var(--fs-900); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-600); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-500); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal-100); color: var(--navy-900); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--navy-900); color: var(--white); border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.35em; border: 2px solid transparent; border-radius: 8px;
  font-weight: 600; font-size: var(--fs-400); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-600); color: var(--white); }
.btn-primary:hover { background: var(--teal-700); color: var(--white); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.on-dark .btn-primary, .btn-bright { background: var(--teal-400); color: var(--navy-950); }
.on-dark .btn-primary:hover, .btn-bright:hover { background: #5DE2D8; color: var(--navy-950); }
.on-dark .btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.on-dark .btn-outline:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-sm { min-height: 42px; padding: .55em 1.05em; font-size: var(--fs-300); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link:hover { border-bottom-color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(10,27,51,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.brand:hover { color: var(--navy-900); }
.brand svg { width: 36px; height: 36px; }
.brand-name { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name small { display: block; font-weight: 500; font-size: .6875rem; letter-spacing: 0; color: var(--muted); margin-top: 4px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform .25s ease, background-color .25s ease; content: ""; position: relative;
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--white);
  padding: 24px var(--gutter) 40px; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
.nav-list { list-style: none; margin: 0 0 24px; padding: 0; }
.nav-list a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: 1.125rem;
}
.nav-list a[aria-current="page"] { color: var(--teal-600); }
.nav-cta { width: 100%; }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  /* backdrop-filter is desktop-only: on mobile it would trap the fixed nav panel inside the header */
  .site-header { background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none; display: flex; align-items: center; gap: 28px;
  }
  .nav-list { display: flex; gap: 4px; margin: 0; }
  .nav-list a {
    padding: 8px 10px; border: 0; font-size: .9375rem; font-weight: 500; border-radius: 6px; color: var(--ink);
  }
  .nav-list a:hover { color: var(--teal-600); background: var(--surface); }
  .nav-list a[aria-current="page"] { color: var(--teal-600); font-weight: 600; }
  .nav-cta { width: auto; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--navy-900); color: #C9D5E6; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: var(--fs-500); color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #A9B8CD; }
.lead { font-size: var(--fs-500); color: var(--muted); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-900); color: #C9D5E6;
  padding: 56px 0 64px;
}
.hero::before {
  /* blueprint grid — nods to an SAP system landscape drawing */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 100%);
}
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: .45em; }
.hero-sub { font-size: var(--fs-500); max-width: 52ch; color: #B7C5D9; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 28px; font-size: var(--fs-300); color: #8FA2BD; max-width: 48ch; }
.hero-note strong { color: #D6E0EE; font-weight: 600; }

@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* Landscape diagram */
.landscape { width: 100%; max-width: 560px; margin: 0 auto; }
.landscape svg { width: 100%; height: auto; overflow: visible; }
.landscape .core rect { fill: var(--teal-400); }
.landscape .core .t1 { fill: var(--navy-950); font-weight: 700; font-size: 23px; }
.landscape .core .t2 { fill: var(--navy-800); font-weight: 500; font-size: 14px; }
.landscape .node rect { fill: var(--navy-800); stroke-width: 1.5; }
.landscape .node.sap rect { stroke: var(--teal-400); }
.landscape .node.fs rect { stroke: #8FA2BD; stroke-dasharray: 5 4; }
.landscape .node text { fill: #E8EEF7; font-size: 17px; font-weight: 600; }
.landscape .link { fill: none; stroke: #4F6A8F; stroke-width: 1.5; }
.landscape .link.sap { stroke: var(--teal-400); stroke-opacity: .7; }
.landscape .dot { fill: var(--teal-400); }
.landscape text { font-family: var(--font-sans); }
.landscape-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 16px; font-size: var(--fs-300); color: #A9B8CD; }
.landscape-legend span { display: inline-flex; align-items: center; gap: 8px; }
.landscape-legend i { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--teal-400); display: inline-block; }
.landscape-legend i.fs { border-color: #8FA2BD; border-style: dashed; }

/* The one orchestrated moment: the landscape draws itself once on load */
.js .landscape .link { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s ease forwards; animation-delay: .5s; }
.js .landscape .node, .js .landscape .dot { opacity: 0; animation: appear .5s ease forwards; }
.js .landscape .core { opacity: 0; animation: appear .5s ease forwards .15s; }
.js .landscape .n1 { animation-delay: .9s; }
.js .landscape .n2 { animation-delay: 1s; }
.js .landscape .n3 { animation-delay: 1.1s; }
.js .landscape .n4 { animation-delay: 1.2s; }
.js .landscape .n5 { animation-delay: 1.3s; }
.js .landscape .n6 { animation-delay: 1.4s; }
.js .landscape .dot { animation-delay: 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-900); color: #B7C5D9; padding: 48px 0 52px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: var(--fs-800); max-width: 22ch; }
.page-hero p { font-size: var(--fs-500); max-width: 60ch; margin: 0; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-300); color: #8FA2BD; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #5D7598; }
.breadcrumb a { color: #C9D5E6; text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-400); text-decoration: underline; }
@media (min-width: 768px) { .page-hero { padding: 72px 0 76px; } }

/* ---------- Home: service pillars ---------- */
.pillars { display: grid; gap: 24px; }
@media (min-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar {
  display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.pillar-sap { border-top: 4px solid var(--teal-600); }
.pillar-fs { border-top: 4px solid var(--navy-700); }
.pillar-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.pillar p { color: var(--muted); }
.pillar ul { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 10px; }
.pillar li { position: relative; padding-left: 28px; }
.pillar li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600); transform: rotate(-45deg);
}
.pillar .text-link { margin-top: auto; align-self: flex-start; }
@media (min-width: 768px) { .pillar { padding: 40px; } }

/* ---------- Feature grid (why us, values) ---------- */
.feature-grid { display: grid; gap: 32px 40px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid.four { grid-template-columns: repeat(4, 1fr); } }
.feature h3 { font-size: var(--fs-500); margin-bottom: .4em; }
.feature p { color: var(--muted); margin: 0; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--teal-100); color: var(--teal-600);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.section-dark .feature p { color: #A9B8CD; }
.section-dark .feature-icon { background: rgba(43,211,198,.14); color: var(--teal-400); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 3px solid var(--teal-400); padding-left: 18px; }
.stat-num { display: block; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); font-weight: 700; color: var(--white); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { display: block; color: #A9B8CD; margin-top: 6px; font-size: var(--fs-300); }

/* ---------- Process steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-900); color: var(--white); font-weight: 700;
}
@media (min-width: 1024px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 20px; left: 52px; right: -12px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
  }
}
.steps h3 { font-size: var(--fs-500); }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Tech strip ---------- */
.tech-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.tech-strip li {
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-weight: 600; font-size: var(--fs-300); color: var(--navy-800);
}

/* ---------- Testimonials slider ---------- */
.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
}
.slider-track::-webkit-scrollbar { display: none; }
.testimonial {
  scroll-snap-align: start; margin: 0; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.testimonial blockquote { margin: 0 0 24px; font-size: var(--fs-500); line-height: 1.6; color: var(--ink); }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption strong { display: block; color: var(--navy-900); }
.testimonial figcaption span { font-size: var(--fs-300); color: var(--muted); }
.avatar {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-100); color: var(--navy-700); font-weight: 700;
}
@media (min-width: 768px) { .testimonial { padding: 40px 48px; } .testimonial blockquote { font-size: var(--fs-600); } }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer; color: var(--navy-900);
}
.slider-btn:hover { border-color: var(--navy-900); }
.slider-btn svg { width: 18px; height: 18px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--teal-600); width: 26px; border-radius: 6px; }

.sample-tag {
  display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: #FFF4D6; color: #7A5200; border: 1px solid #F0D48A; margin-bottom: 16px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy-900); color: #B7C5D9; border-radius: var(--radius-lg); padding: 40px 28px;
  display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(43,211,198,.12); pointer-events: none;
}
.cta-banner h2 { color: var(--white); font-size: var(--fs-700); margin-bottom: .35em; }
.cta-banner p { margin: 0; max-width: 56ch; }
.cta-banner .btn { position: relative; z-index: 1; }
@media (min-width: 900px) { .cta-banner { grid-template-columns: 1fr auto; padding: 56px; } }

/* ---------- Two-column prose ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .split.wide-left { grid-template-columns: 1.4fr 1fr; } }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 0; }
.panel { background: var(--surface); border-radius: var(--radius-lg); padding: 32px 28px; }
.panel h3 { font-size: var(--fs-500); }
.panel p:last-child { margin: 0; }
.section-alt .panel { background: var(--white); border: 1px solid var(--line); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.card h3 { font-size: var(--fs-500); }
.card p { color: var(--muted); }
.card .best-for { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-300); color: var(--ink); }
.card .best-for strong { color: var(--navy-900); }

/* Leadership */
.people { display: grid; gap: 24px; }
@media (min-width: 700px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person { text-align: left; }
.person .avatar { width: 72px; height: 72px; font-size: 1.25rem; margin-bottom: 16px; background: var(--navy-900); color: var(--teal-400); }
.person h3 { font-size: var(--fs-500); margin-bottom: .2em; }
.person .role { color: var(--teal-600); font-weight: 600; font-size: var(--fs-300); margin-bottom: .8em; }
.person p { color: var(--muted); font-size: var(--fs-300); }

/* ---------- Service detail pages ---------- */
.service-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .service-layout { grid-template-columns: 260px 1fr; gap: 64px; } }
.service-index { display: none; }
@media (min-width: 1024px) {
  .service-index { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .service-index p { font-size: var(--fs-300); font-weight: 600; color: var(--muted); margin-bottom: 12px; }
  .service-index ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
  .service-index a {
    display: block; padding: 8px 0 8px 18px; margin-left: -2px; border-left: 2px solid transparent;
    color: var(--muted); text-decoration: none; font-size: .9375rem; line-height: 1.4;
  }
  .service-index a:hover { color: var(--navy-900); }
  .service-index a.is-active { color: var(--teal-600); border-left-color: var(--teal-600); font-weight: 600; }
}
.service-block { padding: 0 0 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.service-block h2 { font-size: var(--fs-700); }
.service-block > p { color: var(--muted); max-width: 68ch; }
.benefits { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
@media (min-width: 700px) { .benefits { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
.benefits li { position: relative; padding-left: 30px; }
.benefits li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23087A75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.module-grid { display: grid; gap: 12px; margin: 24px 0 28px; }
@media (min-width: 600px) { .module-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .module-grid { grid-template-columns: repeat(3, 1fr); } }
.module { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.module strong { display: inline-block; font-size: var(--fs-500); color: var(--navy-900); margin-bottom: 4px; }
.module span { display: block; font-size: var(--fs-300); color: var(--muted); line-height: 1.5; }
.tag-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { font-size: var(--fs-300); font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--navy-100); color: var(--navy-700); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
.industry { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; background: var(--white); }
.industry-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.industry-head h2 { font-size: var(--fs-600); margin: 0; }
.industry > p { color: var(--muted); }
.industry h3 { font-size: var(--fs-300); color: var(--navy-900); margin: 20px 0 10px; letter-spacing: 0; }
.industry ul { margin: 0; color: var(--muted); }
.industry li { margin-bottom: 6px; }

/* ---------- Case studies ---------- */
.case { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.case-top { background: var(--navy-900); color: #A9B8CD; padding: 28px; }
.case-top h2 { color: var(--white); font-size: var(--fs-600); margin: 8px 0; }
.case-top p { margin: 0; font-size: var(--fs-300); }
.case-top .sample-tag { margin: 0 0 8px; }
.case-body { padding: 28px; display: grid; gap: 20px; align-content: start; flex: 1; }
.case-body h3 { font-size: var(--fs-400); margin-bottom: .3em; color: var(--teal-600); letter-spacing: 0; }
.case-body p { margin: 0; color: var(--muted); }
.case-result { margin-top: auto; padding: 20px 28px; background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case-result strong { display: block; font-size: var(--fs-600); color: var(--navy-900); letter-spacing: -0.02em; }
.case-result span { font-size: .8125rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 16px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.job summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
}
.job summary::-webkit-details-marker { display: none; }
.job summary::after {
  content: ""; position: absolute; right: 24px; top: 30px; width: 10px; height: 10px;
  border-right: 2px solid var(--navy-900); border-bottom: 2px solid var(--navy-900); transform: rotate(45deg); transition: transform .2s ease;
}
.job[open] summary::after { transform: rotate(-135deg); top: 34px; }
.job summary h3 { margin: 0; font-size: var(--fs-500); }
.job-meta { font-size: var(--fs-300); color: var(--muted); }
.job-body { padding: 0 24px 24px; color: var(--muted); }
.job-body h4 { font-size: var(--fs-400); margin: 16px 0 8px; letter-spacing: 0; }
.job-body ul { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: var(--fs-300); margin-bottom: 6px; color: var(--navy-900); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #C7D1DE; border-radius: 8px;
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2313243D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/16px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(8,122,117,.18); }
.field input[type="file"] { padding: 10px; min-height: auto; background: var(--surface); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .8125rem; margin-top: 6px; }
.field-hint { display: block; color: var(--muted); font-size: .8125rem; margin-top: 6px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-legal { font-size: .8125rem; color: var(--muted); margin: 0; flex: 1 1 260px; }
.form-status { display: none; padding: 14px 16px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.form-status.is-success { display: block; background: var(--success-bg); color: var(--success); }
.form-status.is-error { display: block; background: var(--error-bg); color: var(--error); }
.recaptcha-note { font-size: .75rem; color: var(--muted); margin: 12px 0 0; }
.grecaptcha-badge { visibility: hidden; }

/* Contact page */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .feature-icon { margin: 0; }
.contact-list strong { display: block; color: var(--navy-900); font-size: var(--fs-300); }
.contact-list a, .contact-list span { color: var(--muted); word-break: break-word; }
.contact-list a:hover { color: var(--teal-600); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: var(--fs-600); margin-top: 2em; }
.legal h3 { font-size: var(--fs-500); margin-top: 1.5em; }
.legal p, .legal li { color: #3A4B63; }
.notice {
  padding: 16px 18px; border-radius: var(--radius); background: #FFF4D6; border: 1px solid #F0D48A; color: #5C3E00; margin-bottom: 32px;
}
.notice strong { color: #4A3200; }

/* ---------- 404 ---------- */
.error-page { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--navy-100); margin: 0; }
.error-page h1 { font-size: var(--fs-800); }
.error-page p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B8CD; padding: 64px 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand-name small { color: #8FA2BD; }
.site-footer h2 { color: var(--white); font-size: var(--fs-400); margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9D5E6; text-decoration: none; }
.site-footer a:hover { color: var(--teal-400); text-decoration: underline; }
.footer-about p { max-width: 36ch; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); color: #C9D5E6;
}
.social a:hover { border-color: var(--teal-400); color: var(--teal-400); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-contact li { display: grid; gap: 2px; }
.footer-contact span { color: #8FA2BD; font-size: var(--fs-300); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: var(--fs-300);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.trademark { font-size: .75rem; color: #6F83A1; margin: 16px 0 0; max-width: 90ch; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  /* sits above the host's "Powered by" badge in the bottom-right corner */
  position: fixed; right: 18px; bottom: 76px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--whatsapp); color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); color: var(--white); }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (min-width: 768px) { .whatsapp-float { right: 28px; bottom: 84px; } }

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed; left: 12px; right: 84px; bottom: 12px; z-index: 95; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 18px; font-size: var(--fs-300); display: none;
}
.cookie-notice.is-visible { display: block; }
.cookie-notice p { margin: 0 0 12px; color: var(--ink); }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 640px) { .cookie-notice { left: 24px; right: auto; bottom: 24px; max-width: 400px; } }

/* ---------- Scroll reveal (only when JS is on and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .landscape .link { stroke-dashoffset: 0; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }

@media print {
  .site-header, .site-footer, .whatsapp-float, .cookie-notice, .hero-actions { display: none !important; }
  body { color: #000; }
}

/* Company facts list (About page) */
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: var(--fs-300); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--navy-900); font-weight: 600; word-break: break-word; }
