/* ==========================================================================
   WAXDALE - Front-end stylesheet
   Light, editorial studio look: white paper, ink-black feature bands,
   large tight headlines, real photography, restrained motion.
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography & section headers
   5.  Buttons, chips, filters
   6.  Top bar, header & navigation
   7.  Hero
   8.  Logo strip / marquee
   9.  Cards (service, work, post, testimonial, team, feature)
   10. Numbered service list
   11. Stats
   12. Process timeline
   13. Accordion (FAQ)
   14. Forms, alerts & contact tiles
   15. CTA band
   16. Footer
   17. Page header (inner pages)
   18. Article / rich text
   19. Brand logo
   20. Pricing & currency
   21. Utilities & motion
   22. Responsive
   ========================================================================== */

/* ------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------ */
:root {
  /* Brand */
  --red:      #E73C37;   /* Waxdale red from the logo - fills and large shapes */
  --red-deep: #C42A26;   /* same red, dark enough for text and thin lines on white */
  --crimson:  #8E1B1C;
  --cyan:     #0891B2;   /* cool counter-accent */

  /* Legacy accent names still used by templates and database values */
  --indigo:  var(--red-deep);
  --purple:  var(--crimson);
  --violet:  var(--purple);
  --emerald: #0F9D58;
  --amber:   #B45309;
  --rose:    #DC2626;
  --orange:  #EA580C;

  /* Paper and ink */
  --bg:            #FFFFFF;
  --bg-soft:       #F6F7F9;
  --bg-elevated:   #FFFFFF;
  --ink:           #0C0E12;   /* near-black feature bands */
  --ink-soft:      #171A21;

  --surface:       #FFFFFF;
  --surface-hover: #FBFBFD;
  --border:        #E4E7EC;
  --border-strong: #D0D5DD;

  /* Text */
  --text:          #0C0E12;
  --text-soft:     #454B57;
  --text-muted:    #6B7280;
  --on-ink:        #FFFFFF;
  --on-ink-soft:   #B6BCC8;

  --accent:        var(--indigo);
  --gradient:      linear-gradient(115deg, var(--red), var(--crimson));

  /* Type */
  --font-display: 'Inter Tight', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  /* Metrics */
  --container: 1200px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --header-h:  76px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Shadows - soft, paper-like */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow:    0 12px 32px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 24px 60px -24px rgba(16, 24, 40, .3);
}

/* Per-accent helper: set --a on any element to tint it. */
.accent-indigo, .accent-blue, .accent-rose            { --a: var(--indigo); }
.accent-violet, .accent-purple, .accent-amber, .accent-orange { --a: var(--purple); }
.accent-cyan, .accent-emerald                         { --a: var(--cyan); }

/* ------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Default size for inline SVG icons; component rules below override it. */
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.028em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(231, 60, 55, .16); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #C9CDD6; border-radius: 10px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: #AFB5C1; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(64px, 8vw, 116px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
/* Section washes. Consecutive sections should read as different surfaces without
   the page stopping to feel like white paper - so these stay very low in
   saturation and always resolve back to near-white at one edge. */
.section--alt  { background: linear-gradient(180deg, #FBFCFE 0%, #F0F3F9 100%); }
.section--soft { background: linear-gradient(180deg, #FFFFFF 0%, #FFEEEC 52%, #FFFBFB 100%); }
.section--cool { background: linear-gradient(180deg, #FFFFFF 0%, #E6F3FA 52%, #FAFDFF 100%); }
.section--warm { background: linear-gradient(180deg, #FFFFFF 0%, #FFF3EB 52%, #FFFDFC 100%); }

/* Ink band: the black full-width sections, lifted by two faint colour blooms
   so the black is not a flat slab. */
.section--ink {
  background:
    radial-gradient(70% 60% at 10% 0%, rgba(231, 60, 55, .22), transparent 62%),
    radial-gradient(60% 55% at 96% 100%, rgba(8, 145, 178, .17), transparent 66%),
    var(--ink);
  color: var(--on-ink-soft);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .section-sub, .section--ink p { color: var(--on-ink-soft); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.stack > * + * { margin-top: var(--gap, 1rem); }

/* ------------------------------------------------------------------
   4. Typography & section headers
   ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.1rem;
  padding: .3rem .75rem .3rem .6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.eyebrow .icon { width: 15px; height: 15px; color: var(--a, var(--indigo)); }
.eyebrow--dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .18);
}
.section--ink .eyebrow {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: .9rem;
}
.section-sub { color: var(--text-soft); font-size: 1.02rem; }

/* The accent half of a headline: a real three-stop gradient, but static -
   no animation, so it reads as print colour rather than a neon effect. */
.gradient-text {
  background: linear-gradient(100deg, var(--red) 0%, var(--red-deep) 50%, var(--crimson) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--ink .gradient-text {
  background: linear-gradient(100deg, #FF8A80 0%, #FF6B5E 50%, #FFB199 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted { color: var(--text-muted); }
.text-soft  { color: var(--text-soft); }

/* ------------------------------------------------------------------
   5. Buttons, chips, filters
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }

.btn--primary { background: linear-gradient(135deg, #1D2130 0%, #0C0E12 62%); color: #fff; }
.btn--primary:hover { background: linear-gradient(135deg, #2C3142 0%, #171A22 62%); }

.btn--ghost { border-color: var(--border-strong); color: var(--text); background: var(--bg); }
.btn--ghost:hover { border-color: var(--ink); background: var(--bg-soft); }

.btn--outline { border-color: var(--a, var(--indigo)); color: var(--a, var(--indigo)); }
.btn--outline:hover { background: var(--a, var(--indigo)); color: #fff; }

.btn--whatsapp { background: #1FA855; color: #fff; }
.btn--whatsapp:hover { background: #178C46; }

.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn--block { width: 100%; }

.section--ink .btn--primary { background: #fff; color: var(--ink); }
.section--ink .btn--primary:hover { background: #E9EAEE; }
.section--ink .btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: transparent; }
.section--ink .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
}
.link-arrow .icon { width: 16px; height: 16px; color: var(--a, var(--indigo)); transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--a, var(--indigo)); }
.link-arrow:hover .icon { transform: translateX(4px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
}
.chip--accent {
  border-color: color-mix(in srgb, var(--a, var(--indigo)) 26%, transparent);
  background: color-mix(in srgb, var(--a, var(--indigo)) 8%, transparent);
  color: var(--a, var(--indigo));
}
.section--ink .chip { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.filter-pill {
  padding: .55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-soft);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-pill:hover { border-color: var(--ink); color: var(--text); }
.filter-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ------------------------------------------------------------------
   6. Top bar, header & navigation
   ------------------------------------------------------------------ */
.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  font-size: .82rem;
  color: var(--text-muted);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: .35rem;
}
.topbar__list { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__item .icon { width: 14px; height: 14px; color: var(--indigo); }
.topbar__item:hover { color: var(--text); }
.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: var(--text);
}
.topbar__status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-stuck {
  height: 66px;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.logo { display: inline-flex; align-items: center; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative;
  padding: .5rem .85rem;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: .94rem;
  font-weight: 500;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--bg-soft); }
.nav__link.is-active { color: var(--text); font-weight: 600; }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
}

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
}
.nav-toggle .icon { width: 21px; height: 21px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
}
.mobile-nav__link.is-active { color: var(--indigo); }
.mobile-nav__link .icon { width: 18px; height: 18px; color: var(--text-muted); }
.mobile-nav__footer { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }

body.nav-open { overflow: hidden; }

/* ------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(52% 58% at 88% -6%, rgba(231, 60, 55, .12), transparent 68%),
    radial-gradient(46% 56% at 6% 2%, rgba(8, 145, 178, .10), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFAF9 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero__lead {
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  color: var(--text-soft);
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.25rem; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.hero__trust-item { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--text-soft); }
.hero__trust-item .icon { width: 17px; height: 17px; color: #16A34A; }

/* Photo with a floating fact card */
.hero__media { position: relative; }
.hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.fact-card {
  position: absolute;
  left: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.fact-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--a, var(--indigo)) 10%, transparent);
  color: var(--a, var(--indigo));
}
.fact-card__icon .icon { width: 20px; height: 20px; }
.fact-card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.fact-card span { font-size: .8rem; color: var(--text-muted); }

/* ------------------------------------------------------------------
   8. Logo strip / marquee
   ------------------------------------------------------------------ */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.1rem;
  border-block: 1px solid var(--border);
  background: var(--bg);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #98A1AF;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.marquee__item:hover { color: var(--text); }
.marquee__item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #C7CCD5; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------
   9. Cards
   ------------------------------------------------------------------ */
.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--card-pad, 1.75rem);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.section--ink .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: var(--on-ink-soft); }
.section--ink .card:hover { border-color: rgba(255, 255, 255, .25); }

/* Service card */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card__media {
  position: relative;
  margin: calc(var(--card-pad, 1.75rem) * -1) calc(var(--card-pad, 1.75rem) * -1) 1.3rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--ink);
}
.service-card--featured .service-card__media { aspect-ratio: 21 / 8; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .service-card__media img { transform: scale(1.04); }

.service-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--a, var(--indigo)) 10%, transparent);
  color: var(--a, var(--indigo));
  margin-bottom: 1.1rem;
}
.service-card__icon .icon { width: 22px; height: 22px; }

.service-card__title { font-size: 1.2rem; margin-bottom: .4rem; }
.service-card__tagline { font-size: .85rem; color: var(--a, var(--indigo)); font-weight: 600; margin-bottom: .75rem; }
.service-card__desc { font-size: .93rem; color: var(--text-soft); margin-bottom: 1.2rem; }

.service-card__list { display: grid; gap: .45rem; margin-bottom: 1.4rem; }
.service-card__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; color: var(--text-soft); }
.service-card__list .icon { width: 15px; height: 15px; margin-top: .3rem; color: var(--a, var(--indigo)); }

.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.service-card__price { font-size: .88rem; color: var(--text); font-weight: 600; }

.service-card--featured { grid-column: span 2; background: var(--bg-soft); }
.service-card--featured .service-card__title { font-size: 1.45rem; }

.card-flag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Work / portfolio card */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card { display: flex; flex-direction: column; padding: 0; }
.work-card__frame { position: relative; display: block; background: var(--bg-soft); border-bottom: 1px solid var(--border); overflow: hidden; }
.work-card__bar {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem .8rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.work-card__dots { display: flex; gap: .3rem; }
.work-card__dots span { width: 9px; height: 9px; border-radius: 50%; background: #D7DAE1; }
.work-card__url {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex: 1;
  padding: .15rem .6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-card__url .icon { width: 11px; height: 11px; color: #16A34A; }
.work-card__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.work-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 3s var(--ease); }
.work-card:hover .work-card__shot img { transform: translateY(-7%) scale(1.03); }
.work-card__open {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, 10px);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.work-card__open .icon { width: 15px; height: 15px; }
.work-card:hover .work-card__open { opacity: 1; transform: translate(-50%, 0); }

.work-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.work-card__meta { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-bottom: .85rem; }
.work-card__host { font-family: var(--font-mono); font-size: .74rem; color: var(--text-muted); }
.work-card__title { font-size: 1.2rem; line-height: 1.3; margin-bottom: .4rem; }
.work-card__client { display: flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--text-muted); margin-bottom: .85rem; }
.work-card__client .icon { width: 15px; height: 15px; }
.work-card__summary { font-size: .92rem; color: var(--text-soft); margin-bottom: 1.1rem; }
.work-card__list { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.work-card__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .87rem; color: var(--text-soft); }
.work-card__list .icon { width: 15px; height: 15px; margin-top: .3rem; color: var(--a, var(--indigo)); }
.work-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.work-card--compact .work-card__body { padding: 1.3rem; }
.work-card--compact .work-card__title { font-size: 1.05rem; }
.work-card--compact .work-card__summary { font-size: .88rem; margin-bottom: 1rem; }

/* Blog post card */
.post-card { display: flex; flex-direction: column; height: 100%; padding: 0; }
.post-card__media { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; border-bottom: 1px solid var(--border); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__media .icon { width: 44px; height: 44px; margin: auto; color: rgba(255, 255, 255, .5); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post-card__meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .78rem; color: var(--text-muted); margin-bottom: .8rem; }
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.post-card__title { font-size: 1.12rem; line-height: 1.35; margin-bottom: .55rem; }
.post-card:hover .post-card__title { color: var(--indigo); }
.post-card__excerpt { font-size: .9rem; color: var(--text-soft); margin-bottom: 1.2rem; }
.post-card__foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Project card (legacy pages) */
.project-card { display: flex; flex-direction: column; height: 100%; padding: 0; }
.project-card__media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--border); display: grid; place-items: center; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__media-icon { width: 56px; height: 56px; color: var(--border-strong); }
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.project-card__cat { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a, var(--indigo)); margin-bottom: .55rem; }
.project-card__title { font-size: 1.12rem; margin-bottom: .4rem; }
.project-card__client { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--text-muted); margin-bottom: .8rem; }
.project-card__summary { font-size: .9rem; color: var(--text-soft); margin-bottom: 1.2rem; }
.metrics-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.metric__value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text); }
.metric__label { font-size: .75rem; color: var(--text-muted); }

/* Testimonial */
.testimonial-card { display: flex; flex-direction: column; height: 100%; }
.testimonial-card__quote { width: 30px; height: 30px; color: var(--border-strong); margin-bottom: 1rem; }
.testimonial-card__text { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 1.4rem; flex: 1; }
.testimonial-card__person { display: flex; align-items: center; gap: .85rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.testimonial-card__name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text); }
.testimonial-card__role { font-size: .8rem; color: var(--text-muted); }
.avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  object-fit: cover;
}
.stars { display: flex; gap: .15rem; margin-bottom: .9rem; }
.star .icon { width: 15px; height: 15px; color: #D7DAE1; }
.star.is-on .icon { color: #F59E0B; }

/* Team */
.team-card { text-align: center; }
.team-card__photo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--indigo);
  object-fit: cover;
  overflow: hidden;
}
.team-card__name { font-size: 1.05rem; margin-bottom: .25rem; }
.team-card__role { font-size: .82rem; color: var(--indigo); font-weight: 600; margin-bottom: .8rem; }
.team-card__bio { font-size: .88rem; color: var(--text-soft); }
.team-card__social { display: flex; justify-content: center; gap: .45rem; margin-top: 1.1rem; }
.team-card__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all .2s var(--ease);
}
.team-card__social a:hover { color: var(--indigo); border-color: var(--indigo); }
.team-card__social .icon { width: 16px; height: 16px; }

/* Feature / value card */
.feature-card { display: flex; gap: 1rem; align-items: flex-start; }
.feature-card__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--a, var(--indigo)) 10%, transparent);
  color: var(--a, var(--indigo));
}
.feature-card__icon .icon { width: 20px; height: 20px; }
.feature-card__title { font-size: 1.02rem; margin-bottom: .35rem; }
.feature-card__text { font-size: .9rem; color: var(--text-soft); }

/* Mini link list */
.mini-links { display: grid; gap: .5rem; }
.mini-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.mini-link .icon { width: 18px; height: 18px; color: var(--a, var(--indigo)); }
.mini-link:hover { border-color: var(--border-strong); background: var(--bg-soft); }

/* Empty state & pagination */
.empty-state {
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.empty-state .icon { width: 42px; height: 42px; color: var(--text-muted); margin: 0 auto 1rem; }
.empty-state__title { font-size: 1.2rem; margin-bottom: .5rem; }
.empty-state__text { color: var(--text-muted); font-size: .92rem; }

.pagination { display: flex; justify-content: center; gap: .45rem; margin-top: 2.75rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding-inline: .7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .9rem;
  color: var(--text-soft);
  transition: all .2s var(--ease);
}
.pagination a:hover { border-color: var(--ink); color: var(--text); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ------------------------------------------------------------------
   10. Numbered service list (home)
   ------------------------------------------------------------------ */
.svc-list { border-top: 1px solid rgba(255, 255, 255, .14); }
.svc-item { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.svc-item__head {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.svc-item__num { font-family: var(--font-mono); font-size: .85rem; color: #6E7480; }
.svc-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -.03em;
  color: #6E7480;
  transition: color .25s var(--ease);
}
.svc-item__toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: #fff;
  transition: transform .3s var(--ease), background-color .25s var(--ease);
}
.svc-item__toggle .icon { width: 18px; height: 18px; }
.svc-item:hover .svc-item__title { color: #fff; }
.svc-item.is-open .svc-item__title { color: #fff; }
.svc-item.is-open .svc-item__num { color: var(--indigo); }
.svc-item.is-open .svc-item__toggle { transform: rotate(45deg); background: rgba(255, 255, 255, .12); }

.svc-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.svc-item.is-open .svc-item__panel { grid-template-rows: 1fr; }
.svc-item__panel > div { overflow: hidden; }
.svc-item__content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 0 0 2rem 97px;
}
.svc-item__text { font-size: .98rem; color: var(--on-ink-soft); }
.svc-item__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.svc-item__shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  aspect-ratio: 16 / 10;
}
.svc-item__shot img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------
   11. Stats
   ------------------------------------------------------------------ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-block: 1px solid var(--border);
}
.stats-band--3 { grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 52%, var(--crimson) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat__label { font-size: .85rem; color: var(--text-muted); }
.section--ink .stats-band { border-color: rgba(255, 255, 255, .14); }
.section--ink .stat__value { color: #fff; }
.section--ink .stat + .stat::before { background: rgba(255, 255, 255, .14); }

/* ------------------------------------------------------------------
   12. Process timeline
   ------------------------------------------------------------------ */
.process { display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:first-child { border-top: 1px solid var(--border); }
.process-step__num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 600;
  color: var(--a, var(--indigo));
}
.process-step__title { font-size: 1.08rem; margin-bottom: .35rem; }
.process-step__text { font-size: .93rem; color: var(--text-soft); }
.section--ink .process-step { border-color: rgba(255, 255, 255, .14); }
.section--ink .process-step__num { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }

/* ------------------------------------------------------------------
   13. Accordion (FAQ)
   ------------------------------------------------------------------ */
.accordion { display: grid; gap: .6rem; }
.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.acc-item.is-open { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.35rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}
.acc-trigger .icon { width: 19px; height: 19px; flex: none; color: var(--text-muted); transition: transform .3s var(--ease); }
.acc-item.is-open .acc-trigger .icon { transform: rotate(180deg); color: var(--indigo); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body__inner { overflow: hidden; }
.acc-body__inner > div { padding: 0 1.35rem 1.3rem; color: var(--text-soft); font-size: .95rem; }

/* ------------------------------------------------------------------
   14. Forms, alerts & contact tiles
   ------------------------------------------------------------------ */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field__label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field__label .req { color: var(--rose); }
.field__hint { font-size: .78rem; color: var(--text-muted); font-weight: 400; }

.input, .textarea, .select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #9AA1AE; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(231, 60, 55, .12);
}
.textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field__error { font-size: .8rem; color: var(--rose); }
.input.has-error, .textarea.has-error, .select.has-error { border-color: var(--rose); }
.form-note { font-size: .82rem; color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: .9rem;
  margin-bottom: 1.25rem;
}
.alert .icon { width: 18px; height: 18px; margin-top: .15rem; }
.alert--success { background: #ECFDF3; border-color: #ABEFC6; color: #067647; }
.alert--error   { background: #FEF3F2; border-color: #FECDCA; color: #B42318; }
.alert--info    { background: #EFF4FF; border-color: #C7D7FE; color: #3538CD; }
.alert--warning { background: #FFFAEB; border-color: #FEDF89; color: #B54708; }

.newsletter-form { display: flex; gap: .55rem; flex-wrap: wrap; }
.newsletter-form .input { flex: 1; min-width: 200px; }

.contact-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.contact-tile__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--a, var(--indigo)) 10%, transparent);
  color: var(--a, var(--indigo));
}
.contact-tile__icon .icon { width: 19px; height: 19px; }
.contact-tile__label { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); }
.contact-tile__value { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--text); word-break: break-word; }
.contact-tile__link {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .96rem;
  color: var(--text);
  word-break: break-word;
  transition: color .2s var(--ease);
}
.contact-tile__link + .contact-tile__link { margin-top: .15rem; }
.contact-tile__link:hover { color: var(--a, var(--indigo)); }
.contact-tile__link--sub {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .4rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--a, var(--indigo));
}
.contact-tile__link--sub .icon { width: 13px; height: 13px; }
.contact-tile__meta { margin-top: .4rem; font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); }

/* ------------------------------------------------------------------
   15. CTA band
   ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(85% 130% at 0% 0%, rgba(231, 60, 55, .38), transparent 58%),
    radial-gradient(70% 115% at 100% 100%, rgba(8, 145, 178, .28), transparent 60%),
    var(--ink);
  color: var(--on-ink-soft);
  overflow: hidden;
  text-align: center;
}
.cta-band__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: #fff; margin-bottom: 1rem; }
.cta-band__text { color: var(--on-ink-soft); max-width: 58ch; margin: 0 auto 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta-band .btn--primary { background: #fff; color: var(--ink); }
.cta-band .btn--primary:hover { background: #E9EAEE; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* CTA with a photo on one side */
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(231, 60, 55, .34), transparent 60%),
    var(--ink);
}
.cta-split__body { padding: clamp(32px, 4vw, 56px); }
.cta-split__body h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.cta-split__body p { color: var(--on-ink-soft); margin-bottom: 1.75rem; }
.cta-split__media { position: relative; min-height: 280px; }
.cta-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------
   16. Footer
   ------------------------------------------------------------------ */
.site-footer {
  background:
    radial-gradient(55% 75% at 88% 0%, rgba(231, 60, 55, .17), transparent 62%),
    radial-gradient(45% 60% at 5% 8%, rgba(8, 145, 178, .10), transparent 66%),
    var(--ink);
  color: var(--on-ink-soft);
  padding-top: clamp(48px, 6vw, 76px);
  margin-top: clamp(48px, 6vw, 80px);
}
.site-footer h4, .site-footer strong { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 44px;
}
.footer-brand__text { color: var(--on-ink-soft); font-size: .9rem; margin: 1.1rem 0 1.4rem; max-width: 38ch; }

.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  color: var(--on-ink-soft);
  transition: all .2s var(--ease);
}
.footer-social a:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.footer-social .icon { width: 17px; height: 17px; }

.footer-col__title {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-links { display: grid; gap: .65rem; }
.footer-links a { font-size: .9rem; color: var(--on-ink-soft); transition: color .2s var(--ease); }
.footer-links a:hover { color: #fff; }

.footer-contact a { display: flex; align-items: flex-start; gap: .55rem; }
.footer-contact .icon { width: 15px; height: 15px; margin-top: .28rem; color: #8B93A5; }

.footer-newsletter__text { font-size: .88rem; color: var(--on-ink-soft); margin-bottom: 1rem; }
.footer-newsletter .input {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.footer-newsletter .input::placeholder { color: #8B93A5; }
.footer-newsletter .btn--primary { background: #fff; color: var(--ink); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #8B93A5;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom__legal { margin-left: .75rem; font-family: var(--font-mono); font-size: .75rem; }
.footer-registered { margin: 0; padding-bottom: 1.4rem; font-size: .78rem; color: #767E90; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1FA855;
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(31, 168, 85, .7);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 26px; height: 26px; }

/* ------------------------------------------------------------------
   17. Page header (inner pages)
   ------------------------------------------------------------------ */
.page-header {
  position: relative;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(32px, 4vw, 52px);
  text-align: center;
  background:
    radial-gradient(58% 120% at 50% 0%, rgba(231, 60, 55, .11), transparent 70%),
    linear-gradient(180deg, #FBFCFE 0%, #F2F4FA 100%);
  border-bottom: 1px solid var(--border);
}
.page-header__title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 1rem; }
.page-header__text { color: var(--text-soft); max-width: 62ch; margin: 0 auto; font-size: 1.02rem; }
.page-header__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.6rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb .sep { opacity: .5; }

/* ------------------------------------------------------------------
   18. Article / rich text
   ------------------------------------------------------------------ */
.article { max-width: 720px; margin-inline: auto; }
.article__content { font-size: 1.05rem; line-height: 1.8; color: var(--text-soft); }
.article__content p { margin-bottom: 1.35rem; }
.article__content h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; color: var(--text); }
.article__content h3 { font-size: 1.2rem; margin: 2rem 0 .8rem; color: var(--text); }
.article__content ul, .article__content ol { margin: 0 0 1.35rem; padding-left: 1.3rem; }
.article__content ul li { list-style: disc; margin-bottom: .55rem; }
.article__content ol li { list-style: decimal; margin-bottom: .55rem; }
.article__content a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.article__content blockquote {
  margin: 1.9rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--indigo);
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-style: italic;
}
.article__content code { font-family: var(--font-mono); font-size: .88em; padding: .15em .4em; background: var(--bg-soft); border-radius: 5px; }

.article__hero {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 2.25rem;
  overflow: hidden;
}
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__hero .icon { width: 56px; height: 56px; color: rgba(255, 255, 255, .4); }

.article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  margin-bottom: 1.9rem;
  border-bottom: 1px solid var(--border);
  font-size: .87rem;
  color: var(--text-muted);
}
.share-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-top: 2.25rem; padding-top: 1.8rem; border-top: 1px solid var(--border); }

/* Service detail helpers */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 24px); }

.feature-list { display: grid; gap: .6rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .95rem;
  color: var(--text-soft);
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.feature-list li:hover { border-color: var(--border-strong); background: var(--bg-soft); }
.feature-list .icon { width: 17px; height: 17px; flex: none; margin-top: .25rem; color: var(--a, var(--indigo)); }

.highlight-box {
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--a, var(--indigo));
  background: var(--bg-soft);
}
.highlight-box__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
}
.highlight-box__title .icon { width: 18px; height: 18px; color: var(--a, var(--indigo)); }

.tech-chips { display: flex; flex-wrap: wrap; gap: .45rem; }

.service-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--ink);
}
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media--sm { border-radius: var(--radius); margin-bottom: 1.25rem; }

/* ------------------------------------------------------------------
   19. Brand logo
   ------------------------------------------------------------------ */
/* The logo is the red circle badge; its size is set by height, width follows. */
.logo__svg {
  display: block;
  width: auto;
  height: 60px;
  overflow: visible;
  transition: height .3s var(--ease), transform .35s var(--ease);
}
.logo:hover .logo__svg { transform: rotate(-6deg) scale(1.04); }
.site-header.is-stuck .logo__svg { height: 52px; }
.footer-brand .logo__svg { height: 96px; }
.admin-sidebar__head .logo__svg { height: 50px; }
.login-card__head .logo__svg { height: 104px; margin-inline: auto; }
.logo__svg .brand-letter { transform-box: fill-box; transform-origin: 50% 100%; }
.logo__svg--animate .brand-letter { animation: letter-in .6s var(--ease) both; }
.logo__svg--animate .brand-letter--2 { animation-delay: .04s; }
.logo__svg--animate .brand-letter--3 { animation-delay: .08s; }
.logo__svg--animate .brand-letter--4 { animation-delay: .12s; }
.logo__svg--animate .brand-letter--5 { animation-delay: .16s; }
.logo__svg--animate .brand-letter--6 { animation-delay: .2s; }
.logo__svg--animate .brand-letter--7 { animation-delay: .24s; }

@keyframes letter-in { from { opacity: 0; transform: translateY(35%); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------
   20. Pricing & currency
   ------------------------------------------------------------------ */
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price__unit { margin-left: .1em; color: var(--text-muted); font-weight: 500; }
.price__prefix { color: var(--text-muted); font-weight: 500; }

.currency-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 38px;
  padding: 0 .5rem 0 .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-soft);
  transition: border-color .2s var(--ease);
}
.currency-switch:hover { border-color: var(--border-strong); }
.currency-switch:focus-within { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(231, 60, 55, .12); }
.currency-switch > .icon { width: 16px; height: 16px; color: var(--text-muted); }
.currency-switch__select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  padding-right: 1.05rem;
  cursor: pointer;
}
.currency-switch__select:focus { outline: none; }
.currency-switch .currency-switch__chevron { position: absolute; right: .5rem; width: 13px; height: 13px; color: var(--text-muted); pointer-events: none; }

/* Custom development rate card */
.custom-dev__list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; margin-bottom: 1.6rem; }
.custom-dev__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--text-soft); }
.custom-dev__list .icon { width: 16px; height: 16px; margin-top: .3rem; color: var(--indigo); }

.rate-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.rate-card__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.rate-card__label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.rate-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; margin-bottom: .4rem; }
.rate-card__from { font-size: .95rem; color: var(--text-muted); }
.rate-card__price .price {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -.045em;
  color: var(--text);
}
.rate-card__unit { font-size: 1.05rem; color: var(--text-muted); }
.rate-card__note { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.4rem; }

.rate-estimator {
  margin-bottom: 1.4rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.rate-estimator__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; font-size: .85rem; color: var(--text-soft); }
.rate-estimator__row output { font-family: var(--font-mono); color: var(--text); font-weight: 600; }
.rate-estimator__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--crimson)) 0 0 / var(--fill, 46%) 100% no-repeat, #E0E3E9;
  cursor: pointer;
}
.rate-estimator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--indigo);
  box-shadow: 0 2px 8px rgba(16, 24, 40, .2);
  transition: transform .2s var(--ease);
}
.rate-estimator__range::-webkit-slider-thumb:hover { transform: scale(1.1); }
.rate-estimator__range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--indigo); }
.rate-estimator__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: .9rem;
  padding-top: .85rem;
  border-top: 1px dashed var(--border-strong);
  font-size: .85rem;
  color: var(--text-muted);
}
.rate-estimator__total strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--text); }

.rate-card__perks { display: grid; gap: .55rem; }
.rate-card__perks li { display: flex; gap: .55rem; align-items: center; font-size: .9rem; color: var(--text-soft); }
.rate-card__perks .icon { width: 16px; height: 16px; color: #16A34A; }

/* ------------------------------------------------------------------
   21. Utilities & motion
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }
.reveal[data-delay="5"] { transition-delay: .3s; }
.reveal[data-delay="6"] { transition-delay: .36s; }
.reveal-done { transition-delay: 0s !important; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.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;
}

@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    /* Delays must go too: a staggered animation with fill-mode "both" would
       otherwise hold its opacity-0 start state for the length of the delay. */
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Icon tiles: a soft two-stop wash plus a hairline, instead of one flat tint.
   Declared here, after every component, so it applies to all of them. */
.service-card__icon,
.feature-card__icon,
.contact-tile__icon,
.fact-card__icon,
.process-step__num,
.tile__icon {
  background: linear-gradient(140deg,
      color-mix(in srgb, var(--a, var(--indigo)) 17%, transparent),
      color-mix(in srgb, var(--a, var(--indigo)) 5%, transparent));
  border: 1px solid color-mix(in srgb, var(--a, var(--indigo)) 15%, transparent);
}
.section--ink .process-step__num {
  background: linear-gradient(140deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  border-color: rgba(255, 255, 255, .16);
}

/* ------------------------------------------------------------------
   22. Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; }
  .work-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-newsletter { grid-column: 1 / -1; }
  .svc-item__content { grid-template-columns: 1fr; padding-left: 0; }
  .cta-split { grid-template-columns: 1fr; }
  .cta-split__media { min-height: 220px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-card--featured { grid-column: span 2; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .stats-band--3 { grid-template-columns: repeat(3, 1fr); }
  .stat + .stat::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .topbar__list--secondary { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .logo__svg { height: 52px; }
  .site-header.is-stuck .logo__svg { height: 46px; }
  .container { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .service-card--featured { grid-column: span 1; }
  .service-card--featured .service-card__media { aspect-ratio: 16 / 9; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band--3 { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .card { --card-pad: 1.35rem; }
  .work-card__body, .post-card__body, .project-card__body { padding: 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom__legal { display: block; margin: .3rem 0 0; }
  .footer-registered { text-align: center; }
  .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .custom-dev__list { grid-template-columns: 1fr; }
  .currency-switch > .icon { display: none; }
  .fact-card { left: 12px; right: 12px; bottom: -26px; }
  .svc-item__head { grid-template-columns: 44px 1fr auto; gap: .8rem; }
  .work-card__open { display: none; }
}

/* ==========================================================================
   23. 3D layer - hero scene, process tabs, testing stack, promise cards
   ========================================================================== */

/* ---- Hero 3D stage --------------------------------------------- */
.hero { overflow-x: clip; }
.hero3d {
  position: absolute;
  inset: -16% -14% -12% -12%;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s var(--ease);
}
.hero3d canvas { display: block; width: 100%; height: 100%; }
.hero__photo { transition: opacity .8s var(--ease); }
.hero__media.is-3d .hero3d { opacity: 1; }
.hero__media.is-3d .hero__photo { opacity: 0; box-shadow: none; background: transparent; }
.hero__media .fact-card { z-index: 2; }

.hero3d__label {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .32rem .7rem .32rem .55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  font-size: .76rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  will-change: transform;
}
.hero3d__label i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.hero3d__label[data-anchor="web"] i { background: var(--red); }
.hero3d__label--core { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero3d__label--core i { background: var(--red); box-shadow: 0 0 0 3px rgba(231, 60, 55, .3); animation: pulse-dot 1.8s infinite; }

/* ---- Process tabs ---------------------------------------------- */
.process-x { overflow: hidden; }
.px-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1.75rem;
}
.px-tab {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--on-ink-soft);
  font: 600 .95rem/1 var(--font-body);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.px-tab .icon { width: 18px; height: 18px; }
.px-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .34); transform: translateY(-1px); }
.px-tab.is-active { background: #fff; border-color: #fff; color: var(--ink); }
.px-tab.is-active .icon { color: var(--red); }
.px-tab:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.px-panel__intro {
  max-width: 60ch;
  margin: 0 auto 2.25rem;
  text-align: center;
  color: var(--on-ink-soft);
}
.px-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 1400px;
}
.px-step {
  position: relative;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}
.px-step:hover {
  border-color: rgba(231, 60, 55, .55);
  box-shadow: 0 30px 60px -30px rgba(231, 60, 55, .55);
}
.px-panel.is-active .px-step { animation: px-in .75s var(--ease) backwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes px-in {
  from { opacity: 0; transform: perspective(900px) translate3d(0, 34px, -80px) rotateX(-32deg); }
}
.px-step__top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.px-step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  box-shadow: 0 10px 24px -8px rgba(231, 60, 55, .7);
  font: 600 .95rem/1 var(--font-mono);
  color: #fff;
}
.px-step__line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .3), transparent); }
.px-step__title { margin-bottom: .45rem; font-size: 1.12rem; }
.section--ink .px-step__text { font-size: .92rem; color: var(--on-ink-soft); margin-bottom: 1rem; }
.px-step__ai {
  display: flex;
  gap: .55rem;
  padding-top: .9rem;
  border-top: 1px dashed rgba(255, 255, 255, .16);
  font-size: .84rem;
  line-height: 1.5;
}
.section--ink .px-step__ai { color: #9ADCEB; }
.px-step__ai strong { color: #fff; }
.px-step__ai .icon { flex: none; width: 16px; height: 16px; margin-top: .15rem; color: #5CC8E0; }

/* ---- Testing stack --------------------------------------------- */
.qa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.qa__stage {
  display: grid;
  place-items: center;
  height: 470px;
  perspective: 1500px;
}
.qa__stack {
  position: relative;
  width: 270px;
  height: 270px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-42deg) translateZ(-90px);
  animation: qa-float 7s ease-in-out infinite;
}
@keyframes qa-float {
  0%, 100% { transform: rotateX(58deg) rotateZ(-42deg) translateZ(-90px); }
  50%      { transform: rotateX(58deg) rotateZ(-36deg) translateZ(-76px); }
}
.qa__plate {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--a) 92%, #fff) 0%, color-mix(in srgb, var(--a) 70%, #000) 100%);
  box-shadow: -7px 7px 0 color-mix(in srgb, var(--a) 45%, #000), -18px 18px 40px rgba(0, 0, 0, .45);
  transform: translateZ(calc(var(--i) * 38px));
  transition: transform .55s var(--ease), opacity .4s, filter .4s;
}
.qa__plate span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font: 600 1.4rem/1 var(--font-mono);
  color: rgba(255, 255, 255, .9);
}
.qa__plate::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 255, 255, .35);
  border-radius: 14px;
}
.qa.has-active .qa__plate { filter: brightness(.5) saturate(.7); }
.qa.has-active .qa__plate.is-active {
  filter: none;
  transform: translateZ(calc(var(--i) * 38px + 46px));
}
.qa__plate.accent-rose { --a: var(--red); }

.qa__list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.qa__item {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
  cursor: default;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.qa__item.is-active,
.qa__item:hover,
.qa__item:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--a) 70%, transparent);
  background: rgba(255, 255, 255, .07);
  transform: translateX(4px);
}
.qa__item.accent-rose { --a: var(--red); }
.qa__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--a) 26%, transparent);
  font: 600 .9rem/1 var(--font-mono);
  color: #fff;
}
.qa__title { margin-bottom: .2rem; font-size: 1.02rem; }
.section--ink .qa__text { font-size: .88rem; }
.qa__check { width: 22px; height: 22px; margin-top: .5rem; color: #4ADE80; opacity: .35; transition: opacity .3s; }
.qa__item.is-active .qa__check { opacity: 1; }

/* ---- Promise cards --------------------------------------------- */
.promise__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.promise__trust { display: grid; gap: .55rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.promise__trust li { display: flex; align-items: center; gap: .55rem; color: var(--text-soft); font-size: .95rem; }
.promise__trust .icon { width: 18px; height: 18px; color: #16A34A; }
.promise__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  perspective: 1200px;
}
.promise-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), box-shadow .35s, opacity .6s var(--ease);
}
.promise-card.reveal:not(.is-visible) { transform: perspective(900px) translateY(26px) rotateX(-18deg); }
.promise-card:nth-child(even) { margin-top: 34px; }
.promise-card:hover { box-shadow: var(--shadow-lg); }
.promise-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  background: var(--a, var(--red));
  box-shadow: 0 14px 28px -12px var(--a, var(--red));
  color: #fff;
  transform: translateZ(22px);
}
.promise-card__icon .icon { width: 24px; height: 24px; }
.promise-card.accent-rose { --a: var(--red); }
.promise-card__title { margin-bottom: .5rem; font-size: 1.12rem; }
.promise-card__text { font-size: .92rem; color: var(--text-soft); }
.promise-card__glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .7), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  mix-blend-mode: soft-light;
}
.promise-card:hover .promise-card__glare { opacity: 1; }

/* ---- Responsive -------------------------------------------------- */
@media (max-width: 1080px) {
  .px-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero3d { inset: -10% -6% -8% -6%; }
  .qa { grid-template-columns: 1fr; }
  .qa__stage { height: 330px; }
  .qa__stack { width: 200px; height: 200px; }
  .qa__plate { transform: translateZ(calc(var(--i) * 28px)); }
  .qa.has-active .qa__plate.is-active { transform: translateZ(calc(var(--i) * 28px + 34px)); }
  .promise__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero3d__label { font-size: .68rem; padding: .25rem .55rem .25rem .45rem; }
  .px-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: -16px;
    padding: 0 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .px-tabs::-webkit-scrollbar { display: none; }
  .px-tab { flex: none; padding: .65rem 1rem; font-size: .88rem; }
  .px-steps { grid-template-columns: 1fr; }
  .promise__cards { grid-template-columns: 1fr; }
  .promise-card:nth-child(even) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .qa__stack { animation: none; }
  .px-panel.is-active .px-step { animation: none; }
}
/* .reveal.is-visible resets transform - keep the tilt variables live after the entrance */
.promise-card.reveal.is-visible { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
