/* ==========================================================================
   Hurrem Technologies — shared stylesheet for every page
   Midnight black, ice white, and the logo spectrum (yellow to red to magenta to blue) used as light.
   ========================================================================== */

@font-face {
  font-family: "Google Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/google-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Google Sans"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("fonts/google-sans-latin-wght-italic.woff2") format("woff2");
}

:root {
  /* light theme: the names are historical. --black is the page background, --ice is the text colour */
  --black: #EEF4F2;
  --black-2: #F7FAF9;
  --ice: #05070D;
  --ice-80: rgba(5, 7, 13, 0.8);
  --ice-65: rgba(5, 7, 13, 0.65);
  --ice-40: rgba(5, 7, 13, 0.4);
  --ice-15: rgba(5, 7, 13, 0.15);
  --ice-08: rgba(5, 7, 13, 0.08);
  /* the logo spectrum, left to right */
  --c-yellow: 253, 185, 19;
  --c-orange: 245, 130, 32;
  --c-red: 236, 28, 36;
  --c-crimson: 196, 30, 74;
  --c-magenta: 163, 31, 96;
  --c-purple: 110, 52, 126;
  --c-blue: 32, 64, 154;
  --spectrum: linear-gradient(90deg, #FDB913 0%, #F58220 13%, #EC1C24 28%, #C41E4A 43%, #A31F60 57%, #6E347E 75%, #20409A 92%);
  /* the same spectrum without the yellow end, dark enough to read as text on the light page */
  --spectrum-text: linear-gradient(90deg, #E8501C 0%, #DB1F2E 26%, #B41F54 50%, #6E347E 76%, #20409A 100%);
  --aura-core: #FDB913;
  --aura-mid: #C41E4A;
  --aura-deep: #20409A;

  /* one family throughout: Google Sans (open source, self-hosted in assets/fonts) */
  --serif: "Google Sans", "Product Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Google Sans", "Product Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --accent: #A31F60; /* logo magenta, for accent words (fallback where gradient text is unsupported) */

  --pad: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }

body {
  background: var(--black);
  color: var(--ice);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
ul { list-style: none; }
em { font-style: italic; }
strong { font-weight: 500; color: var(--ice); }
[id] { scroll-margin-top: 7rem; }

::selection { background: rgba(var(--c-orange), 0.28); color: var(--ice); }
:focus-visible { outline: 1px solid var(--ice); outline-offset: 5px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--black);
  font-family: var(--serif); font-style: normal;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: 0.035; /* faint dark grain on the light page */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .02 0 0 0 0 .03 0 0 0 0 .05 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   TYPE
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  color: var(--ice);
  text-wrap: balance;
}

h1.hero-title {
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: -26px 0 70px rgba(var(--c-orange), 0.2), 26px 0 70px rgba(var(--c-blue), 0.16);
}
h1.page-title, .legal .page-hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-shadow: -26px 0 70px rgba(var(--c-orange), 0.2), 26px 0 70px rgba(var(--c-blue), 0.16);
}
h2, h2.sec-title {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; line-height: 1.3; }

/* accent words carry the logo spectrum */
.gradient-text, .gradient-text-accent, .gradient-text-rep, .highlight { color: var(--accent); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text, .gradient-text-accent, .gradient-text-rep {
    background: var(--spectrum-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    text-shadow: none;
  }
}

/* four-point sparkle after the hero headline */
h1.hero-title .gradient-text::after {
  content: ""; position: absolute; /* stays attached to the last word, never wraps alone */
  width: 0.3em; height: 0.3em; margin-left: 0.2em; margin-top: 0.12em;
  background: var(--ice);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.6 7.5 16.5 11.4 24 12C16.5 12.6 12.6 16.5 12 24C11.4 16.5 7.5 12.6 0 12C7.5 11.4 11.4 7.5 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.6 7.5 16.5 11.4 24 12C16.5 12.6 12.6 16.5 12 24C11.4 16.5 7.5 12.6 0 12C7.5 11.4 11.4 7.5 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(var(--c-orange), 0.8));
  animation: twinkle 6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(0.72) rotate(18deg); opacity: 0.6; }
}

.eyebrow, .label, .values-label, .phase-badge {
  display: block;
  font-family: var(--sans); font-weight: 500;
  font-size: 0.8125rem; line-height: 1.6;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ice-65);
  margin-bottom: 1.5rem;
}

.lead { color: var(--ice-65); font-size: clamp(1.125rem, 1.35vw, 1.3rem); max-width: 34rem; }
.divider { width: 4rem; height: 1px; background: var(--ice-40); margin: 1.9rem 0; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--serif); font-style: normal; font-size: 1.125rem;
  border-bottom: 1px solid var(--ice-40); padding-bottom: 0.2rem;
  transition: border-color 0.5s var(--ease);
}
.text-link .arrow { transition: transform 0.5s var(--ease); }
.text-link:hover, .text-link:focus-visible { border-color: var(--ice); }
.text-link:hover .arrow { transform: translateX(5px); }

/* ==========================================================================
   BUTTONS — pill outlines that fill softly with aurora light
   ========================================================================== */
.btn, .btn-rep, .send, .btn-whatsapp {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.85rem 1.9rem 0.9rem;
  border: 1px solid var(--ice); border-radius: 999px;
  background: transparent; color: var(--ice);
  font-family: var(--serif); font-weight: 500; font-size: 1.0625rem; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: box-shadow 0.7s var(--ease), border-color 0.5s var(--ease);
}
.btn::before, .btn-rep::before, .send::before, .btn-whatsapp::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%,
    rgba(var(--c-orange), 0.55) 0%, rgba(var(--c-magenta), 0.3) 38%, rgba(var(--c-blue), 0) 70%);
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.btn:hover, .btn:focus-visible, .btn-rep:hover, .btn-rep:focus-visible,
.send:hover, .send:focus-visible, .btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  border-color: var(--ice);
  box-shadow: 0 0 34px rgba(var(--c-orange), 0.28), inset 0 0 18px rgba(var(--c-orange), 0.14);
}
.btn:hover::before, .btn:focus-visible::before, .btn-rep:hover::before, .btn-rep:focus-visible::before,
.send:hover::before, .send:focus-visible::before, .btn-whatsapp:hover::before, .btn-whatsapp:focus-visible::before {
  opacity: 1; transform: scale(1);
}
.btn-ghost, .btn-whatsapp { border-color: var(--ice-40); }
.btn svg, .btn-whatsapp svg, .send svg { flex: none; }
.send[disabled] { opacity: 0.6; cursor: default; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(238, 244, 242, 0.8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--ice-08);
}
.site-header.menu-open { background: var(--black); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5.25rem; transition: height 0.5s var(--ease); }
.site-header.scrolled .nav { height: 4.25rem; }

.brand {
  display: inline-flex; align-items: center; gap: 0.9rem; flex: none;
  font-family: var(--serif); font-weight: 500; font-size: 0.92rem; letter-spacing: 0.24em; text-transform: uppercase;
  white-space: nowrap;
}
.brand .logo-mark {
  width: 30px; height: 30px; flex: none; /* the mark in its own colours */
}

.nav-links { display: flex; gap: clamp(1rem, 2vw, 2.1rem); margin-left: auto; }
.nav-links a, .mobile-menu a {
  position: relative;
  font-family: var(--serif); font-weight: 500; font-size: 1rem;
  padding: 0.35rem 0; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ice);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-right .btn, .nav-right .btn-whatsapp { padding: 0.65rem 1.2rem; font-size: 1rem; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: transparent; border: 1px solid var(--ice-40); cursor: pointer;
}
.menu-toggle svg.x-icon { display: none; }
.menu-toggle.open svg.bars { display: none; }
.menu-toggle.open svg.x-icon { display: block; }

.mobile-menu { display: none; flex-direction: column; padding: 0.5rem var(--pad) 2rem; max-height: calc(100vh - 4.25rem); max-height: calc(100dvh - 4.25rem); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu.open { display: flex; animation: menu-in 0.5s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translate3d(0, -8px, 0); } to { opacity: 1; transform: none; } }
.mobile-menu a { font-size: 1.2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--ice-08); display: flex; align-items: center; gap: 0.6rem; }
.mobile-menu a.m-cta { margin-top: 1.5rem; justify-content: center; border: 1px solid var(--ice); border-radius: 999px; font-size: 1.1rem; }

/* ==========================================================================
   AURORA — layered, blurred, screen-blended ribbons.
   Only transform and opacity are animated.
   ========================================================================== */
.aurora {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.ribbon {
  position: absolute; border-radius: 50%;
  mix-blend-mode: multiply; will-change: transform, opacity;
  --a: var(--c-yellow); --b: var(--c-orange); --c: var(--c-red);
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(var(--a), 0.9) 0%, rgba(var(--b), 0.6) 28%,
    rgba(var(--c), 0.34) 54%, rgba(var(--c), 0) 74%);
  transform: translate3d(0, 0, 0) rotate(var(--r, 0deg));
  animation: var(--name) var(--dur) ease-in-out infinite;
}
.r1 { --r: -14deg; --name: drift-a; --dur: 23s; --a: var(--c-yellow); --b: var(--c-orange); --c: var(--c-red);
  left: -12%; top: 6%; width: 88vw; height: 26vh; min-height: 180px; filter: blur(64px); opacity: 0.68; }
.r2 { --r: -24deg; --name: drift-b; --dur: 31s; --a: var(--c-blue); --b: var(--c-blue); --c: var(--c-purple);
  right: -22%; top: 28%; width: 72vw; height: 22vh; min-height: 160px; filter: blur(60px); opacity: 0.5; }
.r3 { --r: 8deg; --name: drift-c; --dur: 37s;
  left: 18%; top: -14%; width: 64vw; height: 32vh; min-height: 200px; filter: blur(90px); opacity: 0.38;
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(var(--c-crimson), 0.8) 0%, rgba(var(--c-magenta), 0.5) 40%, rgba(var(--c-magenta), 0) 72%); }
.r4 { --r: -32deg; --name: drift-d; --dur: 19s; --a: var(--c-magenta); --b: var(--c-purple); --c: var(--c-blue);
  left: 38%; top: 44%; width: 52vw; height: 15vh; min-height: 110px; filter: blur(42px); opacity: 0.6; }
.r5 { --r: -8deg; --name: drift-e; --dur: 29s; --a: var(--c-orange); --b: var(--c-red); --c: var(--c-crimson);
  left: -18%; top: 56%; width: 62vw; height: 20vh; min-height: 150px; filter: blur(80px); opacity: 0.3; }
/* r6: a tall, faint curtain of rays */
.r6 { --r: -6deg; --name: drift-f; --dur: 40s;
  left: 30%; top: -10%; width: 58vw; height: 80vh; border-radius: 0; filter: blur(40px); opacity: 0.3;
  background: linear-gradient(to right,
    rgba(var(--c-yellow), 0.55) 0%, rgba(var(--c-red), 0.5) 30%, rgba(var(--c-magenta), 0.5) 55%, rgba(var(--c-blue), 0.55) 100%);
  -webkit-mask-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0%, #000 11%, rgba(0,0,0,0.15) 23%),
    radial-gradient(ellipse 50% 50% at 50% 50%, #000 0%, #000 35%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0%, #000 11%, rgba(0,0,0,0.15) 23%),
    radial-gradient(ellipse 50% 50% at 50% 50%, #000 0%, #000 35%, transparent 100%);
  mask-composite: intersect; }

/* quieter aurora for inner-page headers and closing sections */
.aurora--quiet { opacity: 0.6; }
.aurora--low {
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 70%, transparent 100%);
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r)) scale(1, 1); opacity: 0.68; }
  33% { transform: translate3d(6vw, -3vh, 0) rotate(calc(var(--r) + 5deg)) scale(1.12, 0.82); opacity: 0.5; }
  66% { transform: translate3d(-4vw, 4vh, 0) rotate(calc(var(--r) - 4deg)) scale(0.92, 1.25); opacity: 0.4; }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r)) scale(1, 1); opacity: 0.5; }
  40% { transform: translate3d(-8vw, 5vh, 0) rotate(calc(var(--r) + 7deg)) scale(1.18, 0.78); opacity: 0.3; }
  72% { transform: translate3d(3vw, -6vh, 0) rotate(calc(var(--r) - 5deg)) scale(0.88, 1.3); opacity: 0.62; }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r)) scale(1, 1); opacity: 0.38; }
  50% { transform: translate3d(-10vw, 7vh, 0) rotate(calc(var(--r) - 9deg)) scale(1.25, 0.85); opacity: 0.55; }
}
@keyframes drift-d {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r)) scale(1, 1); opacity: 0.6; }
  30% { transform: translate3d(5vw, 4vh, 0) rotate(calc(var(--r) + 6deg)) scale(0.85, 1.4); opacity: 0.28; }
  65% { transform: translate3d(-6vw, -3vh, 0) rotate(calc(var(--r) - 6deg)) scale(1.2, 0.8); opacity: 0.66; }
}
@keyframes drift-e {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r)) scale(1, 1); opacity: 0.3; }
  45% { transform: translate3d(9vw, -5vh, 0) rotate(calc(var(--r) + 8deg)) scale(1.15, 1.2); opacity: 0.5; }
  80% { transform: translate3d(2vw, 3vh, 0) rotate(calc(var(--r) - 3deg)) scale(0.9, 0.85); opacity: 0.25; }
}
@keyframes drift-f {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r)) skewX(-8deg) scale(1, 1); opacity: 0.3; }
  50% { transform: translate3d(-7vw, 2vh, 0) rotate(calc(var(--r) + 4deg)) skewX(6deg) scale(1.1, 1.08); opacity: 0.42; }
}

/* ==========================================================================
   3D LOGO MARK — the hero object.
   The logo outline is stacked in depth to form an extruded solid, lit in
   the logo spectrum, with two faint wireframe echoes. Only transforms animate.
   ========================================================================== */
.mark3d {
  position: relative; margin: 0 auto;
  width: clamp(240px, 31vw, 450px); aspect-ratio: 1;
  perspective: 1100px;
  --step: 3.2px;
  animation: bob 9s ease-in-out infinite; will-change: transform;
}
.mark3d--sm { width: clamp(200px, 24vw, 330px); margin: 3rem auto 5rem; --step: 2.4px; }
@keyframes bob { 0%, 100% { transform: translate3d(0, -10px, 0); } 50% { transform: translate3d(0, 12px, 0); } }

.mark3d__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark3d svg:not(.mark3d__defs) { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.mark3d__halo { position: absolute; inset: -6%; opacity: 0.5; filter: blur(46px); }
.mark3d__halo svg { fill: #A31F60; } /* each page sets the gradient fill inline */

.mark3d__body {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: mark-turn 16s ease-in-out infinite alternate; will-change: transform;
}
@keyframes mark-turn {
  from { transform: rotateX(16deg) rotateY(-36deg) rotateZ(-3deg); }
  to   { transform: rotateX(5deg) rotateY(32deg) rotateZ(3deg); }
}
.mark3d__layer { transform: translateZ(calc(var(--i) * var(--step) * -1)); }
.mark3d__face { transform: translateZ(0.5px); }
.mark3d__face use { stroke: rgba(255, 255, 255, 0.85); stroke-width: 3; stroke-linejoin: round; }
.mark3d__wire use { fill: none; stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mark3d__wire--front { transform: translateZ(calc(var(--step) * 20)); opacity: 0.32; }
.mark3d__wire--front use { stroke: #20409A; stroke-width: 1; }
.mark3d__wire--back { transform: translateZ(calc(var(--step) * -46)); opacity: 0.3; }
.mark3d__wire--back use { stroke: #F58220; stroke-width: 1; }

/* hover sparks: only the painted logo reacts, not the empty square around it */
.mark3d svg { pointer-events: none; }
.mark3d__layer use, .mark3d__face use { pointer-events: fill; }
.mark3d__sparks { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.mark3d__glint {
  position: absolute; left: 0; top: 0; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(var(--c-orange), 0.5) 30%, rgba(var(--c-orange), 0) 70%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.35s var(--ease); will-change: transform, opacity;
}
.mark3d__spark {
  position: absolute; background: #F58220; will-change: transform, opacity; /* site.js gives each spark its own logo colour */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.6 7.5 16.5 11.4 24 12C16.5 12.6 12.6 16.5 12 24C11.4 16.5 7.5 12.6 0 12C7.5 11.4 11.4 7.5 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.6 7.5 16.5 11.4 24 12C16.5 12.6 12.6 16.5 12 24C11.4 16.5 7.5 12.6 0 12C7.5 11.4 11.4 7.5 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mark3d__spark--light { background: #FFFFFF; }
.mark3d__spark--deep { background: #20409A; }

.mark3d__shadow {
  position: absolute; left: 12%; right: 12%; bottom: -20%; height: 14%; border-radius: 50%;
  background: linear-gradient(90deg, rgba(var(--c-orange), 0.42) 0%, rgba(var(--c-red), 0.4) 28%, rgba(var(--c-magenta), 0.4) 58%, rgba(var(--c-blue), 0.42) 100%);
  filter: blur(22px); animation: shadow 9s ease-in-out infinite;
}
@keyframes shadow { 0%, 100% { transform: scale(0.86); opacity: 0.6; } 50% { transform: scale(1); opacity: 1; } }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
main > section, .cta-strip, #about, #reputation { position: relative; padding: clamp(5rem, 11vw, 10rem) 0; }
main > section:nth-of-type(odd):not(#hero):not(.page-hero):not(.cta-strip) {
  background: var(--black-2);
  border-top: 1px solid var(--ice-08); border-bottom: 1px solid var(--ice-08);
}

.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.sec-header { max-width: 46rem; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.sec-header .lead { margin-top: 1.5rem; }
.sec-header .text-link { margin-top: 0.5rem; }

/* ---------- Home hero ---------- */
#hero {
  isolation: isolate; overflow: hidden; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 8.5rem 0 5.5rem;
}
#hero .grid2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--serif); font-style: normal; font-size: 1.0625rem; color: var(--ice-80);
  margin-bottom: 1.75rem;
}
.hero-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice);
  box-shadow: 0 0 12px 3px rgba(var(--c-orange), 0.7);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 2.4rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; margin-top: 2.25rem;
  font-family: var(--serif); font-style: normal; font-size: 1rem; color: var(--ice-65);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 12px; height: 12px; stroke-width: 1.5; flex: none; }
.hero-visual-wrap { position: relative; }

/* ---------- Inner page hero ---------- */
.page-hero {
  isolation: isolate; overflow: hidden; overflow: clip;
  padding: clamp(10rem, 20vw, 14rem) 0 clamp(4rem, 8vw, 7rem) !important;
  border-bottom: 1px solid var(--ice-08);
}
.page-hero p { color: var(--ice-65); font-size: clamp(1.125rem, 1.35vw, 1.3rem); max-width: 38rem; margin-top: 2rem; }

/* ---------- Cards (shared) ---------- */
.service-card, .duo-card, .ind-card, .rep-card, .ind-detail-card, .detail-card, .svc-detail, .stat, .never-box, .rep-cta-box, .highlight-box {
  position: relative; isolation: isolate;
  border: 1px solid var(--ice-15);
  padding: clamp(1.6rem, 2.6vw, 2.6rem);
  transition: border-color 0.8s var(--ease);
}
.service-card::before, .duo-card::before, .ind-card::before, .rep-card::before, .ind-detail-card::before, .detail-card::before, .svc-detail::before {
  content: ""; position: absolute; inset: 8% 4% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 70%,
    rgba(var(--c-orange), 0.5) 0%, rgba(var(--c-magenta), 0.28) 35%, rgba(var(--c-blue), 0) 70%);
  filter: blur(48px);
  opacity: 0; transform: translate3d(0, 18px, 0) scale(0.9);
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease);
  pointer-events: none;
}
.service-card:hover, .duo-card:hover, .ind-card:hover, .rep-card:hover, .ind-detail-card:hover, .detail-card:hover, .svc-detail:hover { border-color: rgba(5, 7, 13, 0.34); }
.service-card:hover::before, .duo-card:hover::before, .ind-card:hover::before, .rep-card:hover::before,
.ind-detail-card:hover::before, .detail-card:hover::before, .svc-detail:hover::before { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.svc-detail::before { opacity: 0 !important; } /* large panels stay calm */

.service-card p, .duo-card p, .ind-card p, .rep-card p, .ind-detail-card p, .detail-card p, .svc-detail p, .stat p, .step-card p, .rep-cta-box p {
  color: var(--ice-65); font-size: 1.0625rem;
}

/* line icons, kept from the original site, drawn in ice white */
.svc-icon, .svc-icon-lg, .ico, .ind-ico, .rep-icon, .step-icon { display: flex; color: var(--ice-80); }
.svc-icon svg, .svc-icon-lg svg, .ico svg, .ind-ico svg, .rep-icon svg, .step-icon svg { stroke-width: 1.1; width: 26px; height: 26px; }
.svc-icon-lg, .ind-ico, .rep-icon, .duo-card .svc-icon { margin-bottom: 2.25rem; }

/* ---------- Home: three service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); counter-reset: svc; }
.service-card { display: flex; flex-direction: column; min-height: 23rem; cursor: pointer; counter-increment: svc; }
.service-card .svc-icon { justify-content: flex-end; margin-bottom: auto; padding-bottom: 4.5rem; }
.service-card::after {
  content: counter(svc, decimal-leading-zero);
  position: absolute; left: clamp(1.6rem, 2.6vw, 2.6rem); top: clamp(1.6rem, 2.6vw, 2.6rem);
  font-family: var(--serif); font-style: normal; font-size: 1rem; color: var(--ice-65);
}
.svc-body h3 { margin-bottom: 0.9rem; }
.svc-arrow { margin-top: 1.5rem; font-family: var(--serif); font-size: 1.15rem; transition: transform 0.5s var(--ease); }
.service-card:hover .svc-arrow { transform: translateX(6px); }
.svc-grid + div, .ind-grid + div, .steps4 + div { margin-top: 2.75rem !important; }

/* ---------- Home: AI + people ---------- */
.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.duo-card h3 { margin-bottom: 0.8rem; }
.duo-close {
  margin-top: clamp(3rem, 6vw, 5rem);
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.2; letter-spacing: -0.02em;
  color: var(--ice);
}

/* ---------- Home: industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.ind-card { cursor: pointer; }
.ind-card .ico { margin-bottom: 2.25rem; }
.ind-card span { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.25; }
.ind-sub { margin-top: 0.7rem; }

/* ---------- Home: steps as a horizontal timeline ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ice-15); }
.steps4 .stat { border: 0; padding: 2.75rem 2rem 0 0; }
.steps4 .stat::before {
  content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 14px 3px rgba(var(--c-orange), 0.55);
}
.stat .big { font-family: var(--serif); font-style: normal; font-size: 1rem; color: var(--ice-65); margin-bottom: 1.1rem; }
.steps4 .stat h3 { font-size: clamp(1.25rem, 1.7vw, 1.55rem); margin-bottom: 0.8rem; }

/* ---------- Home: about ---------- */
#about .content p { color: var(--ice-65); max-width: 34rem; margin-bottom: 1.5rem; }
#about .content h2 { margin-bottom: 1.75rem; }
#about .content .btn { margin-top: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
  padding: 0.5rem 1.1rem 0.55rem; border: 1px solid var(--ice-15); border-radius: 999px;
  font-family: var(--serif); font-style: normal; font-size: 1.0625rem; line-height: 1.2;
}

/* ---------- Closing call to action ---------- */
.cta-strip { isolation: isolate; overflow: hidden; text-align: center; }
.cta-strip-inner { max-width: 54rem; margin: 0 auto; }
.cta-strip-inner h2 {
  font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.06; letter-spacing: -0.025em;
  text-shadow: 0 0 60px rgba(var(--c-orange), 0.18);
  margin-bottom: 1.75rem;
}
.cta-strip-inner p { color: var(--ice-65); max-width: 38rem; margin: 0 auto 2.5rem; }
.cta-strip-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.svc-detail { margin-bottom: clamp(1rem, 2vw, 2rem); padding: clamp(1.75rem, 4vw, 4rem); }
.svc-detail-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.svc-detail h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1.25rem; }
.svc-detail p { margin-bottom: 1.1rem; max-width: 34rem; }
.svc-detail p.label { color: var(--ice-65); font-size: 0.8125rem; margin-bottom: 0.5rem; }
.svc-detail .btn { margin-top: 0.5rem; }

/* elegant lists with thin dividers */
.svc-detail ul li, .ind-detail-card ul li, .detail-card ul li, .never-list li {
  padding: 0.95rem 0; border-top: 1px solid var(--ice-15);
  color: var(--ice-80); font-size: 1.0625rem; line-height: 1.5;
}
.svc-detail ul li:last-child, .ind-detail-card ul li:last-child, .detail-card ul li:last-child { border-bottom: 1px solid var(--ice-15); }

/* ==========================================================================
   INDUSTRIES PAGE
   ========================================================================== */
.ind-details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.ind-detail-card h3 { margin-bottom: 0.9rem; }
.ind-detail-card ul { margin: 1.5rem 0 0; }
.ind-detail-card ul li { font-size: 1rem; padding: 0.8rem 0; }
.split-line { margin-top: 1.5rem; font-family: var(--serif); font-style: normal; font-size: 1.0625rem !important; color: var(--ice-80) !important; line-height: 1.5; }
.split-line strong { font-style: normal; font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice-65); display: block; margin-bottom: 0.4rem; }

/* ==========================================================================
   REPUTATION PAGE
   ========================================================================== */
.rep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.rep-card h3 { margin-bottom: 0.8rem; }
.never-box { margin-top: clamp(3.5rem, 7vw, 6rem); padding: clamp(1.75rem, 4vw, 4rem); }
.never-box h2 { margin-bottom: 2rem; }
.never-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4rem); }
.never-list li { display: flex; gap: 0.9rem; align-items: baseline; }
.never-list li::before { content: "\00D7"; font-family: var(--serif); font-size: 1.2rem; line-height: 1; color: var(--ice-65); flex: none; }
.compliance-note { margin-top: 2rem; color: var(--ice-65); font-size: 1rem; font-family: var(--serif); font-style: normal; }
.rep-cta-box { text-align: center; padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem); overflow: hidden; }
.rep-cta-box::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -30%; height: 60%; z-index: -1; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--c-orange), 0.4) 0%, rgba(var(--c-magenta), 0.2) 40%, rgba(var(--c-blue), 0) 70%);
  filter: blur(60px);
}
.rep-cta-box h3 { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.rep-cta-box p { max-width: 34rem; margin: 0 auto 2.25rem; }

/* ==========================================================================
   PROCESS PAGE
   ========================================================================== */
.steps { border-bottom: 1px solid var(--ice-15); }
.step { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.6rem 0; border-top: 1px solid var(--ice-15); }
.step-icon { padding-top: 0.2rem; }
.step-icon svg { width: 20px; height: 20px; }
.step-card { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; }
.step-card h4 { margin-bottom: 0.35rem; }
.step-num { font-family: var(--serif); font-style: normal; color: var(--ice-65); flex: none; }
.detail-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.detail-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); margin-bottom: 1rem; }
.detail-card ul { margin-top: 1.5rem; }
.detail-card ul li { font-size: 1rem; padding: 0.8rem 0; }
.phase-badge { font-family: var(--serif); font-style: normal; font-size: 1rem; letter-spacing: 0; text-transform: none; margin-bottom: 3rem; }

/* ==========================================================================
   FAQ PAGE
   ========================================================================== */
.faq-wrap { max-width: 56rem; }
.faq-section-title { margin: clamp(3rem, 6vw, 5rem) 0 1.75rem; }
.faq-section-title:first-child { margin-top: 0; }
.faq-section-title h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.faq-item { border-top: 1px solid var(--ice-15); }
.faq-item:last-child { border-bottom: 1px solid var(--ice-15); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.35; color: var(--ice);
}
.chev { flex: none; display: flex; color: var(--ice-65); transition: transform 0.6s var(--ease); }
.chev svg { width: 18px; height: 18px; stroke-width: 1.2; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.faq-a > div { padding: 0 3rem 1.75rem 0; color: var(--ice-65); max-width: 46rem; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-meta { border-bottom: 1px solid var(--ice-15); }
.contact-meta a {
  display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--ice-15);
  font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  transition: padding-left 0.5s var(--ease);
}
.contact-meta a:hover, .contact-meta a:focus-visible { padding-left: 0.6rem; }
.contact-meta svg { width: 18px; height: 18px; stroke-width: 1.2; flex: none; color: var(--ice-65); }
#contactForm { margin-top: 2.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem 2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field {
  width: 100%; background: transparent; color: var(--ice);
  border: 0; border-bottom: 1px solid var(--ice-40); border-radius: 0;
  padding: 0.6rem 0 0.8rem;
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.4;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.field::placeholder { color: var(--ice-65); opacity: 1; font-style: normal; }
textarea.field { resize: vertical; min-height: 7rem; }
select.field {
  cursor: pointer; padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2305070D' stroke-width='1.4'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.2rem center;
}
select.field:invalid, select.field.is-empty { color: var(--ice-65); font-style: normal; }
select.field option { background: var(--black-2); color: var(--ice); font-style: normal; }
.field:focus { outline: none; border-bottom-color: var(--ice); box-shadow: 0 10px 22px -14px rgba(var(--c-orange), 0.75); }
.send { margin-top: 0.5rem; }
.success-msg, .form-error { display: none; margin-top: 2rem; font-family: var(--serif); font-style: normal; font-size: 1.25rem; line-height: 1.4; }
.success-msg.show, .form-error.show { display: block; }
.form-error { font-size: 1rem; color: var(--ice-80); margin-top: 1rem; }
.form-note, #contactForm ~ p { color: var(--ice-65); font-size: 0.9rem; margin-top: 1.5rem; }
.reveal-right > div > p { color: var(--ice-65); margin-top: 1rem; max-width: 32rem; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal .page-hero { padding-left: var(--pad) !important; padding-right: var(--pad) !important; }
.legal .page-hero > * { max-width: calc(1520px - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.legal .page-hero p { max-width: calc(1520px - 2 * var(--pad)); font-family: var(--serif); font-style: normal; }
.policy-wrap { max-width: 50rem; margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) var(--pad); }
.policy-intro { padding-bottom: 2.5rem; border-bottom: 1px solid var(--ice-15); }
.policy-section { padding: 2.5rem 0; border-bottom: 1px solid var(--ice-15); }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: 1.25rem; }
.policy-section h3 { font-size: 1.25rem; margin: 1.75rem 0 0.75rem; }
.policy-wrap p, .policy-wrap li { color: var(--ice-80); font-size: 1.0625rem; }
.policy-wrap p + p, .policy-wrap ul + p, .policy-wrap p + ul { margin-top: 1rem; }
.policy-wrap ul li { position: relative; padding: 0.4rem 0 0.4rem 1.5rem; }
.policy-wrap ul li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 0.6rem; height: 1px; background: var(--ice-65); }
.policy-wrap a { border-bottom: 1px solid var(--ice-40); transition: border-color 0.5s var(--ease); }
.policy-wrap a:hover { border-color: var(--ice); }
.highlight-box { margin: 1.5rem 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { position: relative; border-top: 1px solid var(--ice-15); padding: clamp(3.5rem, 7vw, 6rem) 0 5.75rem; } /* bottom room for the assistant button */
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-about p { color: var(--ice-65); font-size: 1rem; margin: 1.5rem 0 1.75rem; max-width: 19rem; }
.socials { display: flex; gap: 0.6rem; }
.social {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--ice-15);
  display: flex; align-items: center; justify-content: center; color: var(--ice-80);
  transition: border-color 0.5s var(--ease), box-shadow 0.7s var(--ease);
}
.social svg { width: 14px; height: 14px; }
.social:hover, .social:focus-visible { border-color: var(--ice); box-shadow: 0 0 24px rgba(var(--c-orange), 0.3); }
.foot-col h5 { font-family: var(--sans); font-weight: 400; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice-65); margin-bottom: 1.4rem; }
.foot-col a { display: block; width: fit-content; font-family: var(--serif); font-size: 1.0625rem; color: var(--ice-80); margin-bottom: 0.7rem; border-bottom: 1px solid transparent; transition: border-color 0.5s var(--ease), color 0.5s var(--ease); }
.foot-col a:hover, .foot-col a:focus-visible { color: var(--ice); border-color: var(--ice-40); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--ice-08);
  font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice-65);
}

/* ==========================================================================
   REVEAL ON SCROLL (only when JS is running)
   ========================================================================== */
.js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale, .js .stagger > * {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), border-color 0.8s var(--ease);
}
.js .reveal.visible, .js .reveal-left.visible, .js .reveal-right.visible, .js .reveal-scale.visible, .js .stagger.visible > * { opacity: 1; transform: none; }
.js .stagger.visible > *:nth-child(2) { transition-delay: 0.11s, 0.11s, 0s; }
.js .stagger.visible > *:nth-child(3) { transition-delay: 0.22s, 0.22s, 0s; }
.js .stagger.visible > *:nth-child(4) { transition-delay: 0.33s, 0.33s, 0s; }
.js .stagger.visible > *:nth-child(5) { transition-delay: 0.44s, 0.44s, 0s; }
.js .stagger.visible > *:nth-child(6) { transition-delay: 0.55s, 0.55s, 0s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1330px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 1024px) {
  .svc-grid, .ind-details-grid, .detail-cards { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card .svc-icon { padding-bottom: 3rem; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; border-top: 0; }
  .steps4 .stat { border-top: 1px solid var(--ice-15); }
  .steps4 .stat::before { top: -4px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .foot-col a { padding: 0.3rem 0; margin-bottom: 0.35rem; }
  .foot-bottom a { display: inline-block; padding: 0.6rem 0; }
}
@media (max-width: 900px) {
  .grid2, #hero .grid2, .svc-detail-inner { grid-template-columns: 1fr; }
  #hero { padding: 8rem 0 3rem; }
  #hero .grid2 { gap: 4rem; }
  .hero-visual-wrap { padding-bottom: 2.5rem; }
  /* lighter rendering on phones and tablets: fewer aurora and logo layers */
  .r5, .r6 { display: none; }
  .mark3d__layer--alt { display: none; }
  .mark3d { width: min(64vw, 320px); --step: 2px; }
  .mark3d--sm { width: min(52vw, 250px); margin: 2rem auto 4.5rem; --step: 1.6px; }

  /* keep the aurora generous on narrow screens */
  .r1 { width: 150vw; left: -40%; }
  .r2 { width: 130vw; right: -50%; top: 34%; }
  .r3 { width: 120vw; left: -10%; }
  .r4 { width: 110vw; left: 0; top: 56%; }
  .r5 { width: 120vw; top: 68%; }
  .r6 { width: 110vw; left: 0; }
}
@media (max-width: 640px) {
  .nav-right .btn-primary { display: none; }
  .btn-whatsapp span { display: none; }
  .nav-right .btn-whatsapp { width: 2.6rem; height: 2.6rem; padding: 0; }
  .brand { font-size: 0.72rem; letter-spacing: 0.2em; gap: 0.6rem; }
  .nav { gap: 0.75rem; }
  .brand .logo-mark { width: 26px; height: 26px; }
  .duo-grid, .ind-grid, .rep-grid, .never-list, .steps4, .form-grid { grid-template-columns: 1fr; }
  .steps4 { row-gap: 2.5rem; }
  .hero-cta, .cta-strip-btns { flex-direction: column; align-items: stretch; }
  main .btn, .btn-rep { white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; }
  .faq-a > div { padding-right: 0; }
  .foot-bottom { flex-direction: column; }

}
@media (max-width: 480px) {
  .nav-right .btn-whatsapp { display: none; } /* still in the menu */
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REDUCED MOTION — freeze the aurora in place
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale, .js .stagger > * { opacity: 1; transform: none; }
}

/* ==========================================================================
   REQUIREMENTS ASSISTANT — bottom-right guided chat
   ========================================================================== */
.assistant { position: fixed; right: clamp(0.9rem, 2vw, 1.75rem); bottom: clamp(0.9rem, 2vw, 1.75rem); z-index: 120; }
.assistant__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }

.assistant__launcher {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1.4rem 0.85rem 1.1rem;
  border: 1px solid var(--ice); border-radius: 999px;
  background: rgba(238, 244, 242, 0.82); color: var(--ice);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1; cursor: pointer;
  box-shadow: 0 0 30px rgba(var(--c-orange), 0.22);
  transition: box-shadow 0.7s var(--ease), opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.assistant__launcher::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, rgba(var(--c-orange), 0.5) 0%, rgba(var(--c-magenta), 0.26) 38%, rgba(var(--c-blue), 0) 70%);
  opacity: 0; transform: scale(0.6); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.assistant__launcher:hover, .assistant__launcher:focus-visible { box-shadow: 0 0 44px rgba(var(--c-orange), 0.42); }
.assistant__launcher:hover::before, .assistant__launcher:focus-visible::before { opacity: 1; transform: scale(1); }
.assistant__launcher-icon { display: flex; width: 1rem; height: 1rem; }
.assistant__launcher-icon svg { width: 100%; height: 100%; fill: var(--ice); filter: drop-shadow(0 0 6px rgba(var(--c-orange), 0.9)); animation: twinkle 6s ease-in-out infinite; }
.assistant.is-open .assistant__launcher { opacity: 0; pointer-events: none; transform: translate3d(0, 8px, 0); }

.assistant__panel {
  position: absolute; right: 0; bottom: 0;
  width: min(25rem, calc(100vw - 1.8rem));
  height: min(38rem, calc(100vh - 7rem)); height: min(38rem, calc(100dvh - 7rem));
  display: flex; flex-direction: column;
  background: rgba(247, 250, 249, 0.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--ice-15);
  box-shadow: 0 0 80px rgba(var(--c-magenta), 0.2), 0 30px 80px rgba(238, 244, 242, 0.8);
  animation: assistant-in 0.5s var(--ease);
}
.assistant__panel[hidden] { display: none; }
@keyframes assistant-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

.assistant__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem 1rem; }
.assistant__title { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.assistant__sub { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice-65); margin-top: 0.35rem; }
.assistant__close {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--ice-15); cursor: pointer;
  transition: border-color 0.5s var(--ease);
}
.assistant__close:hover, .assistant__close:focus-visible { border-color: var(--ice); }
.assistant__progress { height: 1px; background: var(--ice-15); }
.assistant__progress span {
  display: block; height: 1px; background: var(--ice); transform: scaleX(0); transform-origin: left;
  box-shadow: 0 0 10px 1px rgba(var(--c-orange), 0.8); transition: transform 0.8s var(--ease);
}

.assistant__log { flex: 1; min-height: 0; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; overscroll-behavior: contain; }
.assistant__log:focus-visible { outline-offset: -4px; }
.assistant__msg { max-width: 88%; font-size: 1rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; animation: assistant-in 0.5s var(--ease); }
.assistant__msg--bot { align-self: flex-start; color: var(--ice); }
.assistant__msg--bot a { border-bottom: 1px solid var(--ice-40); }
.assistant__msg--user {
  align-self: flex-end; padding: 0.55rem 1rem 0.6rem;
  border: 1px solid var(--ice-40); border-radius: 1.2rem 1.2rem 0.3rem 1.2rem;
  font-family: var(--serif); font-style: normal; font-size: 1rem;
}
.assistant__typing { display: flex; gap: 0.3rem; padding: 0.5rem 0; }
.assistant__typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--ice); animation: assistant-dot 1.1s ease-in-out infinite; }
.assistant__typing span:nth-child(2) { animation-delay: 0.15s; }
.assistant__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes assistant-dot { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.assistant__summary { border: 1px solid var(--ice-15); padding: 1rem 1.1rem; }
.assistant__summary dt { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice-65); margin-top: 0.8rem; }
.assistant__summary dt:first-child { margin-top: 0; }
.assistant__summary dd { font-family: var(--serif); font-size: 1rem; line-height: 1.4; margin-top: 0.15rem; overflow-wrap: anywhere; white-space: pre-wrap; }

.assistant__note { margin-top: 1rem; font-size: 0.85rem; color: var(--ice-65); }
.assistant__note a { border-bottom: 1px solid var(--ice-40); }
.assistant__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.25rem; }
.assistant__chips:not(:empty) { padding-bottom: 0.9rem; }
.assistant__chip {
  padding: 0.5rem 1rem 0.55rem; border: 1px solid var(--ice-40); border-radius: 999px;
  background: transparent; cursor: pointer;
  font-family: var(--serif); font-style: normal; font-size: 1rem; line-height: 1.15;
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease), background-color 0.6s var(--ease);
}
.assistant__chip:hover, .assistant__chip:focus-visible {
  border-color: var(--ice); background: rgba(var(--c-orange), 0.12);
  box-shadow: 0 0 22px rgba(var(--c-orange), 0.28);
}

.assistant__form { display: flex; align-items: flex-end; gap: 0.75rem; padding: 0.75rem 1.25rem 1.1rem; border-top: 1px solid var(--ice-15); }
.assistant__form[hidden] { display: none; }
.assistant__input {
  flex: 1; min-width: 0; resize: none; max-height: 120px;
  background: transparent; color: var(--ice);
  border: 0; border-bottom: 1px solid var(--ice-40); border-radius: 0;
  padding: 0.45rem 0 0.55rem;
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.4; /* 16px+ so iOS does not zoom */
  transition: border-color 0.5s var(--ease);
}
.assistant__input::placeholder { color: var(--ice-65); opacity: 1; font-style: normal; }
.assistant__input:focus { outline: none; border-bottom-color: var(--ice); }
.assistant__send {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: transparent; border: 1px solid var(--ice); cursor: pointer;
  font-family: var(--serif); font-size: 1.1rem; line-height: 1;
  transition: box-shadow 0.6s var(--ease), background-color 0.6s var(--ease);
}
.assistant__send:hover, .assistant__send:focus-visible { background: rgba(var(--c-orange), 0.14); box-shadow: 0 0 24px rgba(var(--c-orange), 0.32); }

@media (max-width: 640px) {
  .assistant__launcher-text { display: none; }
  .assistant__launcher { padding: 0; width: 3.4rem; height: 3.4rem; justify-content: center; }
  .assistant__launcher-icon { width: 1.2rem; height: 1.2rem; }
  .assistant.is-open { right: 0; bottom: 0; left: 0; top: 0; }
  .assistant__panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; background: rgba(238, 244, 242, 0.98); }
}

/* ==========================================================================
   HURREM SPARK — quiz, score card and spin wheel (opened from the logo)
   ========================================================================== */
.spark-open { overflow: hidden; }
.spark {
  position: fixed; inset: 0; z-index: 140;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(5, 7, 13, 0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: spark-fade 0.4s var(--ease);
}
.spark[hidden] { display: none; }
@keyframes spark-fade { from { opacity: 0; } to { opacity: 1; } }
.spark__dialog {
  position: relative; width: min(74rem, 100%); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  background: var(--black-2); border: 1px solid var(--ice-15);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 0 120px rgba(var(--c-magenta), 0.35), 0 40px 100px rgba(5, 7, 13, 0.35);
  animation: assistant-in 0.5s var(--ease);
}
.spark__close {
  position: absolute; right: 1rem; top: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--ice-15); cursor: pointer; z-index: 2;
  transition: border-color 0.5s var(--ease);
}
.spark__close:hover, .spark__close:focus-visible { border-color: var(--ice); }
.spark__steps { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; }
.spark__steps span { width: 2.2rem; height: 3px; border-radius: 3px; background: var(--ice-15); transition: background-color 0.6s var(--ease); }
.spark__steps span.is-on { background: var(--aura-mid); }

.spark__eyebrow, .spark__label {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice-65);
}
.spark__eyebrow { margin-bottom: 0.9rem; }
.spark__label { margin-bottom: 0.7rem; }
.spark__title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; padding-right: 2.5rem; }
.spark__accent { color: var(--accent); }
.spark__lede { color: var(--ice-65); margin-top: 0.9rem; font-size: 1.0625rem; }
.spark__fine { color: var(--ice-65); font-size: 0.875rem; line-height: 1.55; margin-top: 1rem; }
.spark__error { color: #9A1B1B; font-weight: 500; font-size: 1rem; margin-top: 0.6rem; }
.spark__error:empty { display: none; }
.spark__field.is-missing .spark__input { border-color: #9A1B1B; box-shadow: 0 0 0 3px rgba(154, 27, 27, 0.18); }
.spark__field.is-missing .spark__chips { outline: 2px dashed #9A1B1B; outline-offset: 6px; border-radius: 0.6rem; }
.spark__field.is-missing .spark__label { color: #9A1B1B; }
.spark__status { margin-top: 1rem; font-size: 1rem; color: var(--ice-80); min-height: 1.5em; }
.spark__status a { border-bottom: 1px solid var(--ice-40); }

.spark__form { display: grid; gap: 1.35rem; }
/* landscape on computers: text on the left, the working part on the right */
.spark__body { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.spark__col { min-width: 0; }
.spark__how { list-style: none; margin-top: 1.75rem; display: grid; gap: 0.8rem; counter-reset: none; }
.spark__how li { display: flex; align-items: center; gap: 0.8rem; font-weight: 500; }
.spark__how-n { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--aura-core); border: 1px solid var(--aura-deep); font-size: 0.95rem; }
.spark__label--gap { margin-top: 1.75rem; }
.spark__col--text > .spark__go { margin-top: 1.75rem; }
.spark__col--text .spark__actions { margin-top: 1.5rem; }
.spark__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
.spark__input {
  width: 100%; background: #FFFFFF; color: var(--ice);
  border: 1px solid var(--ice-40); border-radius: 0.6rem; padding: 0.8rem 1rem;
  font-family: var(--sans); font-size: 1.125rem; line-height: 1.4;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.spark__input::placeholder { color: var(--ice-40); opacity: 1; }
.spark__input:focus { outline: none; border-color: var(--aura-deep); box-shadow: 0 0 0 3px rgba(var(--c-magenta), 0.35); }
.spark__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.spark__chip, .spark__sharebtn {
  padding: 0.55rem 1.05rem; border: 1px solid var(--ice-40); border-radius: 999px;
  background: transparent; color: var(--ice); cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem; line-height: 1.2;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.spark__chip:hover, .spark__chip:focus-visible, .spark__sharebtn:hover, .spark__sharebtn:focus-visible { border-color: var(--ice); box-shadow: 0 0 20px rgba(var(--c-magenta), 0.3); }
.spark__chip[aria-pressed="true"] { background: var(--aura-core); border-color: var(--aura-deep); }
.spark__range { display: flex; align-items: center; gap: 1.25rem; }
.spark__range input { flex: 1; min-width: 0; accent-color: var(--aura-mid); height: 1.75rem; }
.spark__range-out { flex: none; min-width: 9.5rem; font-weight: 500; text-align: right; }
.spark__go { margin-top: 0.5rem; justify-self: start; }
.spark__body > .spark__go { margin-top: 1.75rem; }
.spark__go[disabled] { opacity: 0.5; cursor: default; }

.spark__card { display: block; width: 100%; height: auto; border: 1px solid var(--ice-15); }
.spark__share { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.spark__stage { position: relative; width: min(26rem, 78vw, 62vh); margin: 0.75rem auto; aspect-ratio: 1; }
.spark__wheel { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 70px rgba(var(--c-magenta), 0.45); will-change: transform; }
.spark__wheel-svg { display: block; width: 100%; height: 100%; font-family: var(--sans); }
.spark__pointer {
  position: absolute; left: 50%; top: -0.55rem; z-index: 2; transform: translateX(-50%);
  width: 0; height: 0; border-left: 0.7rem solid transparent; border-right: 0.7rem solid transparent; border-top: 1.35rem solid var(--ice);
  filter: drop-shadow(0 2px 4px rgba(5, 7, 13, 0.3));
}
.spark__col--text > .spark__go { min-width: 11rem; font-size: 1.15rem; padding: 1rem 2.2rem; }

.spark__prize { padding: clamp(1.5rem, 4vw, 3.5rem) 1.5rem; border: 1px dashed var(--aura-deep); text-align: center; background: rgba(var(--c-orange), 0.14); }
.spark__prize .spark__label { margin-bottom: 0.4rem; }
.spark__code { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 500; letter-spacing: 0.12em; }
.spark__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.spark__confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.spark__hint {
  display: flex; align-items: center; gap: 0.6rem; width: fit-content;
  margin: clamp(3.5rem, 6vw, 4.75rem) auto 0; padding: 1.05rem 1.9rem;
  border: 1.5px solid var(--ice); border-radius: 999px; background: var(--aura-core); color: var(--ice);
  font-family: var(--sans); font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.25; cursor: pointer; text-align: left;
  box-shadow: 0 0 40px rgba(var(--c-magenta), 0.45);
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.spark__hint:hover, .spark__hint:focus-visible { border-color: var(--ice); box-shadow: 0 0 28px rgba(var(--c-magenta), 0.4); }
.spark__hint-dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px 2px rgba(var(--c-magenta), 0.7); animation: pulse 2.4s ease-in-out infinite; }
.mark3d__body { cursor: pointer; }

@media (max-width: 900px) {
  .spark__body { grid-template-columns: 1fr; gap: 1.75rem; align-items: start; }
  .spark__dialog { width: min(40rem, 100%); }
  .spark__how { display: none; }
}
@media (max-width: 640px) {
  .spark { padding: 0; align-items: stretch; }
  .spark__dialog { width: 100%; max-height: none; height: 100%; border: 0; }
  .spark__row { grid-template-columns: 1fr; }
  .spark__range { flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .spark__range-out { text-align: left; }
  .spark__go { justify-self: stretch; width: 100%; }
  .spark__actions .btn { width: 100%; }
}
/* shorter laptop screens: tighten the Spark window so the form fits without scrolling */
@media (min-width: 901px) and (max-height: 880px) {
  .spark__dialog { padding: 1.4rem clamp(1.5rem, 3vw, 2.5rem); }
  .spark__steps { margin-bottom: 0.9rem; }
  .spark__form { gap: 0.9rem; }
  .spark__label { margin-bottom: 0.45rem; }
  .spark__chip { padding: 0.42rem 0.9rem; font-size: 0.9rem; }
  .spark__input { padding: 0.6rem 0.9rem; font-size: 1.0625rem; }
  .spark__fine { margin-top: 0.6rem; }
  .spark__go { margin-top: 0.2rem; }
}
