/* =========================================================================
   Do It Digital — Global Stylesheet (LIGHT THEME)
   Clean white agency aesthetic: white base, soft shadows, electric-blue +
   magenta gradient accents, Montserrat brand typeface, rich micro-animations.
   ========================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces */
  --bg:            #ffffff;
  --bg-2:          #f5f8ff;
  --bg-3:          #eef3fe;
  --card:          #ffffff;
  --card-2:        #f7faff;
  --surface:       #f4f7fe;
  --border:        rgba(16, 26, 64, 0.10);
  --border-strong: rgba(16, 26, 64, 0.16);

  /* Text */
  --text:   #0b1020;
  --muted:  #545e78;
  --faint:  #98a1b6;

  /* Brand */
  --brand:    #0d6efd;   /* electric blue — Do It Digital dot */
  --brand-2:  #6a4bff;   /* violet */
  --brand-3:  #e73dc4;   /* magenta */
  --brand-ink:#0a58ff;
  --grad:     linear-gradient(92deg, #0d6efd 0%, #6a4bff 52%, #e73dc4 100%);
  --grad-soft:linear-gradient(135deg, rgba(13,110,253,.12), rgba(231,61,196,.12));
  --glow:     rgba(13, 110, 253, 0.35);
  --glow-2:   rgba(231, 61, 196, 0.28);

  /* Shadows (depth for light UI) */
  --shadow-sm:   0 2px 10px rgba(16, 26, 64, 0.06);
  --shadow:      0 18px 44px -22px rgba(16, 26, 64, 0.24);
  --shadow-lg:   0 34px 70px -26px rgba(16, 26, 64, 0.30);
  --shadow-brand:0 22px 50px -18px rgba(13, 110, 253, 0.38);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Type */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --h1: clamp(2.7rem, 6.2vw, 5rem);
  --h2: clamp(2rem, 4.4vw, 3.35rem);
  --h3: clamp(1.35rem, 2.4vw, 1.9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset / Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  /* airy light mesh — soft brand tints over white */
  background-image:
    radial-gradient(52% 40% at 82% -8%, rgba(13, 110, 253, 0.10), transparent 60%),
    radial-gradient(46% 38% at 4% 6%, rgba(231, 61, 196, 0.07), transparent 58%),
    radial-gradient(40% 34% at 96% 60%, rgba(106, 75, 255, 0.06), transparent 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: rgba(13, 110, 253, 0.18); color: var(--brand-ink); }

h1, h2, h3, h4 { line-height: 1.14; font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -0.01em; }
p { overflow-wrap: break-word; }
/* keep gradient-clipped headings from cropping letter descenders (g, p, j, y) */
.grad-text { padding-bottom: 0.08em; }

/* ---------- Scroll progress bar (injected by JS) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); background-size: 200% auto; z-index: 200;
  box-shadow: 0 0 12px var(--glow); animation: gradientShift 5s linear infinite;
  transition: width .08s linear;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--soft { background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand-ink);
  padding: 8px 16px; border: 1px solid rgba(13,110,253,.22);
  border-radius: 100px; background: rgba(13,110,253,.06);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--glow); animation: pulseDot 2.2s infinite; }

.grad-text {
  background: var(--grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradientShift 6s ease infinite;
}

.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.section-head h2 { margin-top: 20px; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px; font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.01em; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s;
  white-space: nowrap; position: relative; isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-primary { background: var(--grad); background-size: 160% auto; color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-3px); background-position: right center; box-shadow: 0 26px 56px -16px var(--glow); }
.btn-primary:hover svg { transform: translateX(4px); }
/* shine sweep */
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text); background: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-3px); background: rgba(13,110,253,.05); }
.btn-lg { --pad-y: 18px; --pad-x: 38px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

/* Logo wordmark (recreated "Do It Digital" mark) */
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 1.15rem;
  box-shadow: var(--shadow-brand); letter-spacing: -0.04em;
}
.brand__stack { display: flex; flex-direction: column; line-height: 0.94; }
.brand__line { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.025em; color: var(--text); }
.brand__dot { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 10px 16px; font-size: 0.95rem; font-weight: 600;
  color: var(--muted); border-radius: 100px; transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--brand-ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--grad); transition: left .3s var(--ease), right .3s var(--ease);
}
.nav-links a:hover::after { left: 16px; right: 16px; }
.nav-links a.active::after { left: 16px; right: 16px; }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: #fff; position: relative; box-shadow: var(--shadow-sm); }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 90px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
/* floating gradient blobs */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -2; filter: blur(60px); opacity: .5;
  translate: var(--px, 0) var(--py, 0); transition: translate .4s ease-out;
}
.hero::before { width: 460px; height: 460px; background: radial-gradient(circle, rgba(13,110,253,.5), transparent 68%); top: -140px; right: -60px; animation: float 9s ease-in-out infinite; }
.hero::after  { width: 400px; height: 400px; background: radial-gradient(circle, rgba(231,61,196,.4), transparent 68%); bottom: -160px; left: -80px; animation: floatAlt 11s ease-in-out infinite; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: 1;
  background-image: linear-gradient(rgba(13,26,64,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(13,26,64,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(85% 65% at 50% 0%, #000 25%, transparent 76%);
  -webkit-mask-image: radial-gradient(85% 65% at 50% 0%, #000 25%, transparent 76%);
}
.hero__inner { max-width: var(--maxw); position: relative; }
.hero h1 { margin: 26px 0 24px; max-width: 920px; }
.hero .lead { max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta span svg { width: 18px; height: 18px; color: var(--brand); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); padding-block: 26px; overflow: hidden; background: var(--bg-2); }
.marquee__label { text-align: center; color: var(--faint); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; color: var(--faint); transition: color .3s; white-space: nowrap; }
.marquee__item:hover { color: var(--text); }
.marquee__item .d { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Icon chips (shared) ---------- */
.card__icon, .stat__icon, .tier__icon {
  display: grid; place-items: center; color: var(--brand);
  background: var(--grad-soft); border: 1px solid rgba(13,110,253,.16);
  transition: transform .4s var(--ease-bounce), box-shadow .4s, background .4s, color .4s;
}
.card__icon { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; }
.stat__icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; }
.stat__icon svg { width: 22px; height: 22px; }
.tier__icon { width: 52px; height: 52px; border-radius: 14px; margin-top: 12px; }
.tier__icon svg { width: 26px; height: 26px; }
/* icon comes alive on card hover */
.card:hover .card__icon, .stat:hover .stat__icon, .tier:hover .tier__icon {
  transform: translateY(-3px) scale(1.08) rotate(-5deg);
  background: var(--grad); color: #fff; box-shadow: var(--shadow-brand);
  border-color: transparent;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 30px 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); background-size: 200% auto; animation: gradientShift 5s linear infinite; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(13,110,253,.3); }
.stat__num { font-size: clamp(2.1rem, 3.8vw, 2.9rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat__num .suffix { color: var(--brand); }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: 12px; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 34px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: var(--grad-soft); opacity: 0; transition: opacity .5s; z-index: 0; filter: blur(20px);
}
.card:hover { transform: translateY(-8px); border-color: rgba(13,110,253,.28); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card__index { font-size: .82rem; font-weight: 800; letter-spacing: .16em; color: var(--brand); margin-bottom: 16px; text-transform: uppercase; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 1rem; }

/* Problem cards */
.problem { border-top: 3px solid transparent; }
.problem .q { font-weight: 800; font-size: 1.12rem; color: var(--text); margin-bottom: 12px; }
.problem:hover { border-top-color: var(--brand); }

/* ---------- Funnel tiers ---------- */
.funnel { display: grid; gap: 20px; }
.tier {
  display: grid; grid-template-columns: auto auto 1fr; gap: 28px; align-items: start;
  padding: 34px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.tier:hover { border-color: rgba(13,110,253,.28); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tier__col { display: flex; flex-direction: column; gap: 6px; }
.tier__stage { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.tier__num { font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; background-image: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tier h3 { margin: 0 0 14px; }
.tier p { color: var(--muted); margin-bottom: 18px; }
.tier ul { display: flex; flex-wrap: wrap; gap: 10px; }
.tier ul li { font-size: .88rem; padding: 7px 14px; border: 1px solid var(--border-strong); border-radius: 100px; color: var(--text); background: var(--surface); transition: background .3s, color .3s, border-color .3s; }
.tier ul li:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__visual {
  border: 1px solid var(--border); border-radius: var(--radius-lg); min-height: 360px; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 100% 0%, rgba(13,110,253,.14), transparent 55%),
              radial-gradient(120% 120% at 0% 100%, rgba(231,61,196,.12), transparent 55%),
              var(--card);
  display: grid; place-items: center; box-shadow: var(--shadow); animation: floatSoft 8s ease-in-out infinite;
}
.list-check { display: grid; gap: 16px; margin-top: 26px; }
.list-check li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.list-check li b { color: var(--text); font-weight: 700; }
.list-check .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; color: #fff; margin-top: 2px; box-shadow: var(--shadow-brand); }
.list-check .tick svg { width: 15px; height: 15px; }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), border-color .4s, box-shadow .4s; position: relative;
}
.work-card:hover { transform: translateY(-8px); border-color: rgba(13,110,253,.28); box-shadow: var(--shadow-lg); }
.work-card__media {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: grid; place-items: center;
  padding: clamp(20px, 4vw, 38px) clamp(24px, 5vw, 46px);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(13,110,253,.06), transparent 55%),
    radial-gradient(120% 120% at 0% 100%, rgba(231,61,196,.05), transparent 55%),
    #ffffff;
  border-bottom: 1px solid var(--border);
}
/* size every logo to a consistent cap height so different shapes look matched; never overflow */
.work-card__media img {
  width: auto; height: auto;
  max-width: 100%; max-height: clamp(74px, 12.5vw, 148px);
  object-fit: contain;
  transition: transform .5s var(--ease); filter: drop-shadow(0 6px 16px rgba(16,26,64,.06));
}
.work-card:hover .work-card__media img { transform: scale(1.05); }

/* Client logo trust strip */
.logo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-chip {
  display: grid; place-items: center; padding: 26px 22px; min-height: 122px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.logo-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(13,110,253,.28); }
.logo-chip img { width: auto; height: auto; max-width: 90%; max-height: clamp(38px, 6vw, 56px); object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .4s, opacity .4s; }
.logo-chip:hover img { filter: none; opacity: 1; }
@media (max-width: 700px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- WhatsApp: green card icon + floating chat button ---------- */
.info-card--wa .card__icon { background: rgba(37, 211, 102, 0.12); border-color: rgba(37, 211, 102, 0.35); color: #1faa52; }
.info-card--wa:hover .card__icon { background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6); }
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform .3s var(--ease), box-shadow .3s; animation: waPulse 2.6s ease-in-out infinite;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.75); }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::after {
  content: "Chat with us"; position: absolute; right: 70px; white-space: nowrap;
  background: #0b1020; color: #fff; font-size: .82rem; font-weight: 600; padding: 8px 12px; border-radius: 9px;
  opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; pointer-events: none; box-shadow: var(--shadow);
}
.wa-fab:hover::after { opacity: 1; transform: translateX(0); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 0 0 14px rgba(37,211,102,0); }
}
@media (max-width: 480px) { .wa-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; } .wa-fab::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }

/* ---------- Real-estate focus image ---------- */
.re-focus__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.re-focus__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; transition: transform .7s var(--ease); }
.re-focus__img:hover img { transform: scale(1.06); }
.re-focus__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(210deg, transparent 48%, rgba(11, 16, 32, 0.44)); pointer-events: none; }
.re-badge {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--brand-ink); font-weight: 800; font-size: .82rem; letter-spacing: .03em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 100px; box-shadow: var(--shadow);
}
.re-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25D366; box-shadow: 0 0 8px rgba(37, 211, 102, .8); }
.re-focus__tag { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: #fff; font-weight: 700; font-size: 1.02rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.work-card__body { padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work-card__body h3 { font-size: 1.3rem; }
.work-card__cat { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.work-card__arrow { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: background .3s, transform .3s, border-color .3s, color .3s; color: var(--text); }
.work-card:hover .work-card__arrow { background: var(--grad); transform: rotate(-45deg); border-color: transparent; color: #fff; }
.work-card__metrics { display: flex; gap: 26px; padding: 0 28px 26px; }
.work-card__metrics div b { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; color: var(--brand-ink); }
.work-card__metrics div small { color: var(--faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- CTA band ---------- */
.cta-band__inner {
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 78px);
  text-align: center; position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #0b3fd6, #6a4bff 55%, #e73dc4); background-size: 180% 180%;
  animation: gradientShift 10s ease infinite; box-shadow: var(--shadow-lg);
}
.cta-band__inner::before, .cta-band__inner::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; }
.cta-band__inner::before { width: 320px; height: 320px; background: rgba(255,255,255,.22); top: -130px; left: -70px; animation: float 9s ease-in-out infinite; }
.cta-band__inner::after { width: 300px; height: 300px; background: rgba(231,61,196,.4); bottom: -150px; right: -50px; animation: floatAlt 12s ease-in-out infinite; }
.cta-band__inner > * { position: relative; z-index: 1; }
.cta-band__inner .eyebrow { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.14); }
.cta-band__inner .eyebrow::before { background: #fff; }
.cta-band h2 { max-width: 720px; margin: 16px auto 20px; color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 34px; font-size: 1.1rem; }
.cta-band .hero__cta { justify-content: center; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff; box-shadow: none; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--brand-ink); border-color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--brand-ink); }

/* ---------- Page hero ---------- */
.page-hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(13,110,253,.14), transparent 68%); top:-160px; right:-80px; z-index:-1; filter: blur(50px); animation: float 10s ease-in-out infinite; }
.page-hero__inner { max-width: var(--maxw); position: relative; }
.page-hero h1 { margin: 22px 0 22px; max-width: 860px; }
.page-hero .lead { max-width: 660px; }
.breadcrumb { color: var(--faint); font-size: .88rem; font-weight: 500; }
.breadcrumb a:hover { color: var(--brand-ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form { display: grid; gap: 18px; padding: clamp(28px, 4vw, 42px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field.row { grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-strong);
  font-size: .98rem; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(13,110,253,.12); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.form__note { font-size: .82rem; color: var(--faint); }
.form__success { display: none; padding: 16px 18px; border-radius: 12px; background: rgba(13,110,253,.08); border: 1px solid rgba(13,110,253,.35); color: var(--brand-ink); font-size: .95rem; font-weight: 600; }
.form__success.show { display: block; animation: popIn .5s var(--ease-bounce); }

.contact-info { display: grid; gap: 18px; align-content: start; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .card__icon { margin: 0; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); font-size: .96rem; }
.info-card a:hover { color: var(--brand-ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: clamp(48px, 6vw, 80px) 32px; margin-top: clamp(40px, 6vw, 80px); background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin: 20px 0 24px; max-width: 300px; font-size: .96rem; }
.footer-col h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; font-weight: 700; }
.footer-col a { display: block; color: var(--muted); padding: 7px 0; font-size: .96rem; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--brand-ink); transform: translateX(4px); }
.socials { display: flex; gap: 12px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--muted); background: #fff; transition: all .3s var(--ease); }
.socials a:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-4px) rotate(6deg); box-shadow: var(--shadow-brand); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--faint); font-size: .88rem; }
.footer-bottom a:hover { color: var(--brand-ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Keyframes ---------- */
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(18px, -26px); } }
@keyframes floatAlt { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-22px, 20px); } }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 8px rgba(13,110,253,0); } 100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.9); } 100% { opacity: 1; transform: scale(1); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Floating brand-platform icons (animated background) ---------- */
.brand-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.brand-bg .bi {
  position: absolute; width: var(--sz, 52px); height: var(--sz, 52px);
  opacity: 0; border-radius: 15px;
  filter: drop-shadow(0 12px 26px rgba(16, 26, 64, 0.12));
  animation: biIn 1s ease var(--del, 0s) forwards, biDrift var(--dur, 24s) ease-in-out var(--del, 0s) infinite;
}
.brand-bg .bi svg { width: 100%; height: 100%; display: block; }
@keyframes biIn { to { opacity: var(--op, 0.18); } }
@keyframes biDrift {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  25%  { transform: translate(16px, -26px) rotate(calc(var(--r, 0deg) + 7deg)); }
  50%  { transform: translate(-12px, -40px) rotate(calc(var(--r, 0deg) - 6deg)); }
  75%  { transform: translate(-20px, -16px) rotate(calc(var(--r, 0deg) + 4deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-bg .bi { animation: biIn 0.01s ease forwards; }
}
/* keep brand icons a faint watermark on small screens (less crowding behind text) */
@media (max-width: 760px) { .brand-bg { opacity: 0.45; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split__visual { min-height: 260px; order: -1; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    position: fixed; inset: 78px 0 auto 0; z-index: 99;
    background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: grid; gap: 6px; padding: 20px var(--gutter) 32px;
    transform: translateY(-120%); transition: transform .4s var(--ease); visibility: hidden;
  }
  body.nav-open .mobile-menu { transform: translateY(0); visibility: visible; }
  .mobile-menu a { padding: 15px 8px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--muted); }
  .mobile-menu a.active { color: var(--brand-ink); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; }
  .grid-3, .grid-4, .grid-2, .work-grid, .contact-grid { grid-template-columns: 1fr; }
  .field.row { grid-template-columns: 1fr; }
  .tier { grid-template-columns: auto 1fr; gap: 12px 18px; padding: clamp(24px, 5vw, 32px); align-items: center; }
  .tier__icon { grid-row: 1; }
  .tier__col { grid-row: 1; flex-direction: row; align-items: center; gap: 12px; }
  .tier__num { font-size: 1.9rem; }
  .tier > div:last-child { grid-column: 1 / -1; }
}

@media (min-width: 821px) { .mobile-menu { display: none; } }

@media (max-width: 480px) {
  :root { --h1: clamp(1.95rem, 8.6vw, 2.55rem); --h2: clamp(1.7rem, 7vw, 2.1rem); }
  .stats { grid-template-columns: 1fr; }
  .hero__meta { gap: 14px 22px; }
  .btn { --pad-x: 24px; }
  .hero h1, .page-hero h1 { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero::before, .hero::after, .page-hero::before, .split__visual { animation: none; }
}
