/* =============================================================
   MS Soluciones TI — styles.css
   1. Tokens
   2. Reset & base
   3. Utilities
   4. Typography
   5. Components
   6. Sections
   7. Effects
   8. Responsive
   9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette — cool corporate dark, matches brand navy identity */
  --bg:        #05070d;   /* near-black, cool navy tint — never pure #000 */
  --bg-2:      #0a0e18;
  --bg-3:      #0f1420;
  --card:      rgba(255,255,255,0.03);
  --card-line: rgba(255,255,255,0.08);
  --ink:       #f4f6fb;   /* near-white, never pure #fff */
  --ink-soft:  rgba(244,246,251,0.78);
  --mute:      #8b93a9;
  --mute-2:    #7a84ab;   /* lightened from #5a6178 — old value was ~3.3:1 on --bg, below WCAG AA (4.5:1) for the small text it's used on (form-note, footer-bottom) */

  --accent:    #4361ee;   /* electric indigo-blue, close to brand navy */
  --accent-2:  #22d3ee;   /* cyan complement */
  --accent-ink: #eef1ff;  /* text placed on accent-filled surfaces */

  --gradient-1: #2e3192;  /* brand navy */
  --gradient-2: #4361ee;  /* indigo */
  --gradient-3: #0ea5e9;  /* sky blue */
  --gradient-4: #22d3ee;  /* cyan */

  --line:      rgba(244,246,251,0.1);
  --line-soft: rgba(244,246,251,0.06);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1240px;
}

@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 40%; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px) { .container { padding-inline: 2rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-head { max-width: 46ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.18);
}

/* Reveal-on-scroll (universal). Only hidden once JS confirms it's present
   (html.js, set synchronously in <head>) — with JS off/broken, content
   never gets a hidden state to begin with. */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
/* Defensive: split-text elements must never rely on JS alone for visibility */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography
   ============================================================= */
.accent { color: var(--accent-2); }

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 16ch;
}
.hero-title span { display: block; }

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 600;
}
.h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.6;
}

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s, color .3s, border-color .3s;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 20px 40px -18px rgba(67,97,238,0.5);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 28px 54px -18px rgba(67,97,238,0.65); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: rgba(244,246,251,0.35); transform: translateY(-3px); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #06170f;
  box-shadow: 0 20px 40px -18px rgba(37,211,102,0.55);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 28px 54px -18px rgba(37,211,102,0.7); }

.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Pills */
.pill-row { display: flex; flex-wrap: wrap; gap: .55rem; }
/* Below 720px four wrapped pills break unevenly (e.g. 2 + 1 + 1), reading as
   a cramped cluster instead of a list. Stack them in one column so each
   service option gets its own line with even spacing. */
@media (max-width: 719px) { .pill-row { flex-direction: column; align-items: flex-start; } }
.pill {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
  padding: .45rem .85rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--mute);
}

/* Animated underline links */
.link-underline {
  position: relative; padding-bottom: .2rem;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.link-underline:hover::after,
.link-underline:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5,7,13,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  /* same navy-on-transparent issue as logo.webp — needs a light plate to read on dark bg */
  background: var(--ink);
  border-radius: 50%;
  padding: 5px;
  box-sizing: content-box;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.brand-word {
  display: block;
  /* logo.webp is navy/black on transparent — needs a light plate to stay
     legible over the dark hero mesh and the near-black nav background */
  background: var(--ink);
  padding: .4rem .8rem;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
/* logo.webp is 1600x289 source — plenty of resolution to scale up without
   pixelating, even at the max size below on high-DPI screens. Fluid scale:
   ~22px on small phones up to 44px from ~790px viewport width and up. */
.brand-word img { height: clamp(22px, 5.6vw, 44px); width: auto; display: block; }

.nav-links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }

/* mounted nav lists share this layout, desktop overrides to row above */
[data-nav-links], [data-nav-mobile-links] { display: flex; flex-direction: column; gap: 1.4rem; }
@media (min-width: 900px) { [data-nav-links] { flex-direction: row; gap: 2.1rem; } }

.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; padding: .7rem 1.3rem; font-size: .85rem; } }

.nav-burger {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 10px; border: 1px solid var(--line);
}
@media (min-width: 900px) { .nav-burger { display: none; } }
.nav-burger-lines { position: relative; width: 18px; height: 12px; }
.nav-burger-lines span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease-soft), opacity .3s;
}
.nav-burger-lines span:nth-child(1) { top: 0; }
.nav-burger-lines span:nth-child(2) { top: 50%; margin-top: -.75px; }
.nav-burger-lines span:nth-child(3) { bottom: 0; }
.nav.is-menu-open .nav-burger-lines span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-menu-open .nav-burger-lines span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav-burger-lines span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 190;
  background: rgba(5,7,13,0.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  padding: 2rem 1.5rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0 0 0 0); }
.nav-mobile a { font-family: var(--display); font-size: 2rem; font-weight: 600; }
.nav-mobile .btn { align-self: center; margin-top: 1rem; }
@media (min-width: 900px) { .nav-mobile { display: none; } }

/* Cards / list rows (services) — native <details>/<summary>, works with
   zero JavaScript. JS only enforces "one open at a time" as an enhancement. */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); position: relative; isolation: isolate; }
.svc-trigger {
  width: 100%; display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.4rem, 3vw, 2.1rem);
  text-align: left;
  cursor: pointer;
  list-style: none;
  transition: background-color .35s var(--ease-out);
}
.svc-trigger::-webkit-details-marker { display: none; }
.svc-trigger::marker { content: ""; }
.svc-trigger:hover { background: rgba(244,246,251,0.03); }
.svc-num { font-family: var(--mono); font-size: .85rem; color: var(--mute-2); flex: none; width: 2.2ch; }
.svc-title-wrap { flex: 1; min-width: 0; }
.svc-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  transition: color .3s;
  display: flex; align-items: center; gap: .55rem;
}
.svc-icon {
  width: 1.05em; height: 1.05em; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  opacity: .85;
}
.svc-teaser {
  display: none;
  color: var(--mute); font-size: .95rem; margin-top: .3rem; max-width: 62ch;
}
@media (min-width: 720px) { .svc-teaser { display: block; } }
.svc-plus {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  transition: transform .45s var(--ease-soft), background-color .3s, border-color .3s;
}
.svc-plus::before, .svc-plus::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform .35s var(--ease-soft), opacity .3s;
}
.svc-plus::before { width: 12px; height: 1.4px; }
.svc-plus::after { width: 1.4px; height: 12px; }
.svc-row[open] .svc-plus { background: var(--accent); border-color: var(--accent); }
.svc-row[open] .svc-plus::after { transform: rotate(90deg); opacity: 0; }
.svc-row[open] .svc-name { color: var(--accent-2); }

.svc-panel-inner {
  padding: 0 0 clamp(1.6rem, 3vw, 2.4rem) calc(2.2ch + clamp(1rem, 3vw, 2.5rem));
  display: grid; gap: 1.5rem;
  max-width: 68ch;
  animation: svcPanelIn .5s var(--ease-soft);
}
@keyframes svcPanelIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 720px) { .svc-panel-inner { grid-template-columns: 1.1fr .9fr; max-width: none; } }
.svc-detail { color: var(--ink-soft); font-size: .98rem; }
.svc-bullets { display: grid; gap: .55rem; }
.svc-bullets li {
  font-size: .9rem; color: var(--mute);
  padding-left: 1.2rem; position: relative;
}
.svc-bullets li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
}

/* Stats */
.stats { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--ink);
  display: block;
}
.stat-num .accent { color: var(--accent-2); }
.stat-label { color: var(--mute); font-size: .88rem; margin-top: .4rem; max-width: 22ch; }

/* Process */
.process-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .process-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.process-item { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.process-num { font-family: var(--mono); color: var(--accent-2); font-size: .9rem; }
.process-name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin: .5rem 0 .7rem; }
.process-text { color: var(--mute); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
/* Was min-width:960px — between 720 and 959px (common tablet/narrow-window
   widths) that left the form stacked ~250px below the contact text instead
   of sitting beside it. 720px matches the breakpoint the rest of the site
   already treats as "tablet and up" (.svc-teaser, .container padding). */
@media (min-width: 720px) { .contact-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.contact-email {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(.9rem, 4.2vw, 2.2rem);
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
}
.contact-meta { margin-top: 1.6rem; display: grid; gap: .5rem; color: var(--mute); font-size: .95rem; }

.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 1.35rem 1rem .5rem; border: 1px solid var(--line);
  background: rgba(255,255,255,0.02); color: var(--ink); border-radius: 10px;
  font-family: var(--sans); font-size: .98rem;
  transition: border-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field label {
  position: absolute; left: 1rem; top: 1.1rem;
  pointer-events: none; transition: all .25s var(--ease-out);
  color: var(--mute); font-size: .95rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: .5rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2);
}
.contact-form { display: grid; gap: 1.1rem; }
.contact-form .btn { justify-self: start; margin-top: .3rem; }
.form-note { font-size: .82rem; color: var(--mute-2); }
.form-note[data-form-error] { color: #ff8a8a; }

/* Honeypot: kept in normal layout (not display:none/type=hidden, which some
   bots skip) but visually and programmatically hidden from real users. */
.hp-field {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; left: -9999px;
}

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 3rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { color: var(--mute); font-size: .9rem; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .82rem; color: var(--mute-2);
}

/* WhatsApp floating button */
.fab-whatsapp {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 16px 32px -12px rgba(37,211,102,0.6);
  transition: transform .4s var(--ease-soft);
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 26px; height: 26px; }

/* =============================================================
   6. Sections
   ============================================================= */

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 3rem;
  overflow: clip;
  isolation: isolate;
}
/* Background video: bottom-most layer. The poster (a real photo) is always
   the fallback — it's what shows when JS never loads a video source (see
   initHeroVideo in main.js): no autoplay attribute is set in the markup,
   so without JS deciding to activate playback, the <video> just displays
   its poster like a static <img>. */
.hero-video-wrap { position: absolute; inset: 0; z-index: -6; overflow: hidden; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-mesh {
  /* trailing solid var(--bg) fill removed on purpose so the signature mouse
     mesh becomes a translucent brand-color tint over the video instead of
     an opaque block that would hide it */
  position: absolute; inset: -10%; z-index: -5;
  background:
    radial-gradient(circle 620px at var(--mx) var(--my), var(--gradient-2) 0%, transparent 55%),
    radial-gradient(circle 760px at calc(var(--mx) + 16%) calc(var(--my) - 14%), var(--gradient-3) 0%, transparent 55%),
    radial-gradient(circle 680px at calc(var(--mx) - 18%) calc(var(--my) + 18%), var(--gradient-1) 0%, transparent 55%),
    radial-gradient(circle 520px at calc(var(--mx) + 6%) calc(var(--my) + 24%), var(--gradient-4) 0%, transparent 50%);
  filter: blur(70px) saturate(135%);
  opacity: .55;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -4;
  background-image: radial-gradient(rgba(244,246,251,0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 40%, transparent 85%);
}
.hero-inner { position: relative; }
.hero-watermark {
  position: absolute; z-index: -3; pointer-events: none;
  top: 50%; right: -6%; width: min(46vw, 620px); height: auto;
  transform: translateY(-50%);
  opacity: .07; filter: saturate(0) brightness(2.4);
  display: none;
}
@media (min-width: 960px) { .hero-watermark { display: block; } }
/* Dark scrim closest to the text so contrast holds over any video frame,
   any point in the poster photo, and the mesh/grid tint above. */
.hero-video-overlay {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(5,7,13,.72) 0%, rgba(5,7,13,.55) 45%, rgba(5,7,13,.84) 100%);
}
.hero-eyebrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 1.6rem;
}
.hero-sub { margin-top: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-pills { margin-top: 2.6rem; }

/* About / manifesto */
.about-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.05fr .95fr; } }
.about-inner { max-width: 58ch; margin-bottom: 0; }
.about-inner p + p { margin-top: 1.2rem; }
.about-title { margin-bottom: 1.4rem; }
.about-checks { display: grid; gap: .7rem; margin-top: 1.6rem; }
.about-checks li {
  font-size: .92rem; color: var(--ink-soft);
  padding-left: 1.6rem; position: relative;
}
.about-checks li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px; border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.about-media {
  position: relative; border-radius: 20px; overflow: clip;
  border: 1px solid var(--card-line);
  box-shadow: 0 40px 70px -30px rgba(4,6,14,0.7);
  isolation: isolate;
}
.about-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(200deg, rgba(46,49,146,0.15) 0%, rgba(5,7,13,0.05) 40%, rgba(5,7,13,0.55) 100%);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.about-media-badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  display: flex; align-items: baseline; gap: .55rem;
  padding: .75rem 1.1rem; border-radius: 12px;
  background: rgba(5,7,13,0.62);
  border: 1px solid rgba(244,246,251,0.14);
  backdrop-filter: blur(10px);
}
.about-media-badge .stat-num { font-size: 1.3rem; }
.about-media-badge .stat-label { margin-top: 0; font-size: .74rem; max-width: none; color: var(--ink-soft); }
.stats-wrap { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }

/* Services */
.services { background: linear-gradient(180deg, transparent, rgba(67,97,238,0.045) 40%, transparent); }
.svc-head-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.svc-head-text { margin-bottom: 0; }
@media (min-width: 860px) { .svc-head-grid { grid-template-columns: 1.3fr .7fr; align-items: center; } }
.svc-media {
  border-radius: 16px; overflow: clip; border: 1px solid var(--card-line);
  box-shadow: 0 40px 70px -30px rgba(4,6,14,0.7);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }

/* Showcase band */
.showcase {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(4rem, 9vw, 7rem);
  display: grid; place-items: center;
}
.showcase-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.showcase-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.88) 0%, rgba(5,7,13,0.72) 50%, rgba(5,7,13,0.9) 100%),
    linear-gradient(115deg, rgba(46,49,146,0.5), rgba(34,211,238,0.1));
}
.showcase-inner { max-width: 46ch; text-align: center; display: grid; justify-items: center; }
.showcase-quote {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ink); text-wrap: balance;
}
.showcase-cta { margin-top: 2rem; border-color: rgba(244,246,251,0.3); }

/* Process */
.process { }
.process-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .process-grid { grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(2.5rem, 5vw, 4rem); } }
.process-media {
  border-radius: 18px; overflow: clip; border: 1px solid var(--card-line);
  box-shadow: 0 40px 70px -30px rgba(4,6,14,0.7);
}
.process-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.process-steps { display: grid; gap: 2rem; }
@media (min-width: 640px) and (max-width: 859px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact { }

/* =============================================================
   7. Effects
   ============================================================= */
.has-cursor-none { cursor: none; }

/* =============================================================
   8. Responsive breakpoints reference
   Mobile-first. Fixed steps only: 540 / 720 / 960 / 1280 / 1600
   ============================================================= */
@media (min-width: 1280px) {
  .hero-title { max-width: 20ch; }
}

/* =============================================================
   9. Reduced-motion — only gate genuinely intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh { animation: none; }
  /* Do NOT disable: hovers, underlines, reveals, count-up, accordion, gradient tracking */
}
