/*
Theme Name: CenturyDigi — Healthcare Marketing Agency
Theme URI: https://centurydigi.com
Author: CenturyDigi
Author URI: https://centurydigi.com
Description: A bold, dark, Webflow-style theme for a healthcare / doctor marketing agency. Tiranga accents, custom cursor, scroll progress, parallax, tilt cards, horizontal client reveal, MP4 video testimonials, scrolling logos, functional consultation questionnaire, About + Blog (with sample post), mixed client works, and Elementor-ready shortcodes.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: centurydigi
Tags: agency, marketing, healthcare, medical, portfolio, dark, animation, one-page, business, elementor
*/

/* ==========================================================================
   CenturyDigi — Digital Marketing for Doctors & Healthcare Brands
   Dark theme • Tiranga (saffron / white / green + Ashoka-chakra navy) accents
   Webflow-style motion
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --bg: #08080c;
  --bg-soft: #0f0f16;
  --bg-card: #13131d;
  --surface: #191924;
  --text: #f5f5f8;
  --text-dim: #a6a6b8;
  --text-mute: #6c6c82;
  --line: rgba(255, 255, 255, 0.08);

  /* Tiranga */
  --saffron: #ff9933;
  --white: #ffffff;
  --green: #17a034;
  --chakra: #3f6bd6;      /* Ashoka-chakra navy, brightened for dark bg */
  --chakra-deep: #0b1f52;

  --brand: var(--saffron);
  --brand-2: var(--green);
  --accent: var(--chakra);
  --grad: linear-gradient(120deg, #ff9933 0%, #ffffff 48%, #17a034 100%);
  --grad-flag: linear-gradient(180deg, #ff9933 0 33%, #ffffff 33% 66%, #17a034 66% 100%);
  --grad-soft: linear-gradient(120deg, rgba(255,153,51,.16), rgba(23,160,52,.14));

  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1200px;
  --nav-h: 76px;
  font-synthesis: none;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---- Ambient background glow (tricolor) ---- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(620px 420px at 12% -2%, rgba(255,153,51,.20), transparent 60%),
    radial-gradient(680px 480px at 92% 8%, rgba(23,160,52,.16), transparent 58%),
    radial-gradient(640px 620px at 60% 108%, rgba(63,107,214,.16), transparent 60%);
}

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 84px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--saffron);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.02);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 12px var(--saffron); }
.section-head { max-width: 740px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 22px 0 18px; }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text-dim); }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; will-change: transform;
}
.btn--primary { background: var(--saffron); color: #1a0e00; }
.btn--primary:hover { box-shadow: 0 14px 40px rgba(255,153,51,.34); transform: translateY(-3px); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(255,255,255,.35); transform: translateY(-3px); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,12,.82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line); height: 66px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.7);
}
/* keep the first section clear of the fixed nav */
.hero, .page-hero, .ca-hero { margin-top: 0; }
section[id] { scroll-margin-top: 92px; }
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em; white-space: nowrap; }
.brand b { color: var(--saffron); }
/* Circular tricolor mark (like before) — conic ring with a soft navy core + halo. */
.brand__dot { width: 17px; height: 17px; border-radius: 50%; position: relative; flex: 0 0 auto; background: conic-gradient(from -40deg, var(--saffron), var(--white), var(--green), var(--chakra), var(--saffron)); box-shadow: 0 0 16px rgba(255,153,51,.5); }
.brand__dot::after { content:""; position:absolute; inset:4.5px; border-radius:50%; background: radial-gradient(circle, var(--chakra) 0 55%, rgba(11,11,18,.9) 100%); box-shadow: 0 0 8px rgba(63,107,214,.7); }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--text-dim); transition: color .25s; position: relative; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--grad); transition: width .35s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; align-items: center; justify-content: center; flex: 0 0 auto; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: .3s; }
.nav__toggle span::before, .nav__toggle span::after { content:""; position:absolute; left:0; width:18px; height:2px; background: var(--text); transition:.3s; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { top:0; transform: rotate(45deg); }
.nav.open .nav__toggle span::after { top:0; transform: rotate(-45deg); }

/* ---- Hero ---- */
.hero { position: relative; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; }
.hero__blob {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: conic-gradient(from 0deg, #ff9933, #ffffff, #17a034, #3f6bd6, #ff9933);
  filter: blur(96px); opacity: .40; top: -160px; right: -120px; z-index: -1; animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { font-size: clamp(2.5rem, 8vw, 5.7rem); letter-spacing: -0.04em; }
.hero .lead { max-width: 580px; margin: 26px 0 36px; font-size: clamp(1.05rem, 2vw, 1.32rem); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; margin-top: 72px; flex-wrap: wrap; }
.stat .num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.stat .label { color: var(--text-mute); font-size: 14px; }

/* ---- Marquee ---- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; overflow: hidden; white-space: nowrap; background: rgba(255,255,255,.015); }
.marquee__track { display: inline-flex; gap: 56px; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-size: 1.45rem; font-weight: 700; color: var(--text-mute); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; color: var(--saffron); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Reveal utility + variants ---- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="left"]  { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="scale"] { transform: scale(.9); }
[data-reveal="clip"]  { transform: none; clip-path: inset(0 100% 0 0); opacity: 1; transition: clip-path 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }

/* Word-by-word hero reveal */
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-words .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.reveal-words.in .w > span { transform: none; }
.reveal-words .w:nth-child(1) > span { transition-delay: .05s; }
.reveal-words .w:nth-child(2) > span { transition-delay: .12s; }
.reveal-words .w:nth-child(3) > span { transition-delay: .19s; }
.reveal-words .w:nth-child(4) > span { transition-delay: .26s; }
.reveal-words .w:nth-child(5) > span { transition-delay: .33s; }
.reveal-words .w:nth-child(6) > span { transition-delay: .40s; }
.reveal-words .w:nth-child(7) > span { transition-delay: .47s; }

/* ---- Top scroll-progress bar ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px rgba(255,153,51,.5); transition: width .1s linear; }

/* ---- Custom cursor ---- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; mix-blend-mode: difference; will-change: transform; }
.cursor-dot { width: 7px; height: 7px; background: #fff; margin: -3.5px 0 0 -3.5px; }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,.6); margin: -19px 0 0 -19px; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s, border-color .25s; }
.cursor-ring.is-hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(255,255,255,.12); border-color: transparent; }
.cursor-ring.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor-ring.is-hover::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #fff; text-transform: uppercase; mix-blend-mode: difference; }
@media (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor [data-cursor] { cursor: none; } }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ---- Tilt ---- */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-tilt] > * { transform: translateZ(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal-words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__blob, .marquee__track, .brand__dot { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Cards / services ---- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-8px); background: var(--surface); }
.card:hover::after { opacity: 1; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); font-size: 26px; margin-bottom: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 15px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.card__tags span { font-size: 12px; color: var(--text-mute); border: 1px solid var(--line); padding: 5px 11px; border-radius: 100px; }
.card__num { position: absolute; top: 28px; right: 32px; font-size: 13px; color: var(--text-mute); font-weight: 600; }

/* ==========================================================================
   HORIZONTAL SCROLL — clients revealed one-by-one on vertical scroll
   ========================================================================== */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 30px; width: 100%; }
.hscroll__progress { height: 3px; width: 100%; background: var(--line); border-radius: 3px; margin-top: 22px; overflow: hidden; }
.hscroll__progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 3px; }
.hscroll__viewport { overflow: hidden; padding: 0 24px; }
.hscroll__track { display: flex; gap: 26px; will-change: transform; padding-left: max(24px, calc((100vw - var(--maxw)) / 2)); }

.client-panel {
  flex: 0 0 min(76vw, 560px); border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--bg-card); padding: 40px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), opacity .5s var(--ease), border-color .5s;
  opacity: .55; transform: scale(.94);
}
.client-panel.active { opacity: 1; transform: scale(1); border-color: rgba(255,255,255,.18); }
.client-panel__logo { display: inline-flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
.client-panel__badge { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #0c0c12; }
.client-panel .tag { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--saffron); font-weight: 600; }
.client-panel h3 { font-size: 1.75rem; margin: 8px 0 10px; }
.client-panel p { color: var(--text-dim); font-size: 15px; }
.client-panel__stats { display: flex; gap: 26px; margin-top: 24px; flex-wrap: wrap; }
.client-panel__stats .num { font-size: 1.6rem; font-weight: 800; }
.client-panel__stats .label { font-size: 12px; color: var(--text-mute); }
.client-panel__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; color: var(--text); font-size: 14px; }
.client-panel__link .arrow { transition: transform .35s var(--ease); }
.client-panel:hover .client-panel__link .arrow { transform: translateX(5px); }
.client-panel--feature { background: linear-gradient(160deg, rgba(255,153,51,.14), rgba(23,160,52,.12)); }

/* Fallback (mobile / no-JS): native horizontal swipe */
.hscroll.is-static .hscroll__sticky { position: static; height: auto; padding: 0 0 10px; }
.hscroll.is-static .hscroll__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 18px; }
.hscroll.is-static .hscroll__track { transform: none !important; padding-left: 24px; }
.hscroll.is-static .client-panel { scroll-snap-align: center; opacity: 1; transform: none; }
.hscroll.is-static .hscroll__progress { display: none; }

/* ---- Process steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-card); position: relative; transition: transform .4s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.step .n { font-size: 13px; color: var(--saffron); font-weight: 700; letter-spacing: .1em; }
.step h3 { font-size: 1.15rem; margin: 14px 0 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ---- Metrics band ---- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.metric .num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.metric .label { color: var(--text-mute); font-size: 14px; margin-top: 6px; }

/* ---- Testimonial ---- */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote p { font-size: clamp(1.35rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.32; }
.quote .who { margin-top: 28px; color: var(--text-dim); font-size: 15px; }
.quote .who b { color: var(--text); }

/* ---- CTA band ---- */
.cta-band { border-radius: var(--radius-lg); padding: 80px 40px; text-align: center; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.cta-band::before { content:""; position:absolute; inset:0; background: var(--grad-soft); z-index:0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer p { color: var(--text-dim); font-size: 15px; max-width: 320px; margin-top: 16px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); margin-bottom: 18px; }
.footer li { margin-bottom: 12px; }
.footer li a { color: var(--text-dim); font-size: 15px; transition: color .25s; }
.footer li a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: 14px; flex-wrap: wrap; gap: 12px; }
.footer__flag { display:inline-block; width: 26px; height: 17px; border-radius: 3px; background: var(--grad-flag); vertical-align: middle; margin-right: 8px; border: 1px solid var(--line); }

/* ---- Page hero (inner pages) ---- */
.page-hero { padding: calc(var(--nav-h) + 80px) 0 60px; position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.page-hero .lead { max-width: 640px; margin-top: 22px; }

/* ---- Client logo grid ---- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-cell { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: 30px 20px; text-align: center; font-weight: 700; color: var(--text-dim); transition: transform .4s var(--ease), color .3s, border-color .3s; }
.logo-cell:hover { transform: translateY(-5px); color: var(--text); border-color: rgba(255,255,255,.2); }
.logo-cell small { display:block; font-weight:500; font-size:12px; color: var(--text-mute); margin-top: 4px; }

/* ---- Featured case study (Cureayu) ---- */
.case { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); }
.case__top { padding: 44px 44px 0; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; }
.case__brand { display: flex; align-items: center; gap: 14px; }
.case__brand .badge { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #0c0c12; background: var(--grad); font-size: 1.2rem; }
.case__brand h3 { font-size: 1.6rem; }
.case__brand span { color: var(--text-mute); font-size: 13px; }
.case__body { padding: 30px 44px 44px; }
.case__lead { color: var(--text-dim); max-width: 760px; }
.az { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.az-item { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: rgba(255,255,255,.015); transition: transform .35s var(--ease), border-color .3s; }
.az-item:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.az-item .k { font-size: 12px; font-weight: 700; color: var(--saffron); letter-spacing: .06em; }
.az-item h4 { font-size: 1rem; margin: 8px 0 5px; }
.az-item p { font-size: 13px; color: var(--text-dim); }
.case__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); text-align: center; }
.case__metrics .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.case__metrics .label { font-size: 12px; color: var(--text-mute); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid--3, .steps, .metrics, .az, .case__metrics { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; background: rgba(8,8,12,.98);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 24px 30px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease); display: flex;
  }
  .nav.open .nav__menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav__menu .nav__links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav__menu .nav__links a { font-size: 1.2rem; padding: 10px 0; color: var(--text); width: 100%; }
  .nav__menu .nav__actions .btn { display: inline-flex; margin-top: 14px; }
  .section { padding: 80px 0; }
  .hero__stats { gap: 32px; }
}
@media (max-width: 560px) {
  .grid--3, .grid--2, .steps, .metrics, .footer__grid, .az, .case__metrics, .logo-grid { grid-template-columns: 1fr; }
  .card, .client-panel { padding: 28px; }
  .case__top, .case__body { padding-left: 24px; padding-right: 24px; }
  body { font-size: 16px; }
}

/* ==========================================================================
   CONSULTATION WIZARD (questionnaire + form)
   ========================================================================== */
.wizard { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-card); overflow: hidden; }
.wizard__bar { height: 4px; background: var(--line); }
.wizard__bar i { display: block; height: 100%; width: 20%; background: var(--grad); transition: width .5s var(--ease); }
.wizard__head { padding: 26px 34px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wizard__step-label { font-size: 13px; color: var(--text-mute); letter-spacing: .06em; text-transform: uppercase; }
.wizard__body { padding: 20px 34px 34px; }
.wizard__step { display: none; animation: fadeStep .5s var(--ease); }
.wizard__step.active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wizard__q { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.wizard__hint { color: var(--text-mute); font-size: 14px; margin-bottom: 24px; }

.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.opt {
  border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: rgba(255,255,255,.015);
  display: flex; gap: 14px; align-items: flex-start; text-align: left; transition: transform .3s var(--ease), border-color .3s, background .3s; position: relative;
}
.opt:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.24); }
.opt.selected { border-color: var(--saffron); background: rgba(255,153,51,.08); }
.opt.selected::after { content: "✓"; position: absolute; top: 14px; right: 16px; color: var(--saffron); font-weight: 800; }
.opt .ico { font-size: 22px; line-height: 1; }
.opt b { display: block; font-size: 15px; margin-bottom: 3px; }
.opt span { font-size: 13px; color: var(--text-dim); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.02); color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--saffron); background: rgba(255,153,51,.05); }
.field textarea { resize: vertical; min-height: 96px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .err { color: #ff6b8a; font-size: 12px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #ff6b8a; }
.field.invalid .err { display: block; }

.review { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: rgba(255,255,255,.015); }
.review dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; }
.review dt { color: var(--text-mute); font-size: 13px; }
.review dd { font-size: 14px; }

.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.wizard__nav .btn[disabled] { opacity: .4; pointer-events: none; }

.wizard__done { text-align: center; padding: 20px 10px 8px; display: none; }
.wizard__done.active { display: block; animation: fadeStep .5s var(--ease); }
.wizard__done .check { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; font-size: 34px; color: #04120a; background: var(--grad); }
.wizard__done h3 { font-size: 1.6rem; margin-bottom: 10px; }
.wizard__done p { color: var(--text-dim); max-width: 460px; margin: 0 auto 22px; }

/* ==========================================================================
   CUREAYU DEDICATED PAGE
   ========================================================================== */
.ca-hero { position: relative; padding: calc(var(--nav-h) + 80px) 0 40px; overflow: hidden; }
.ca-hero__badge { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.1rem; }
.ca-hero__badge .b { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #0c0c12; font-weight: 800; background: var(--grad); }
.ca-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ca-chip { font-size: 13px; border: 1px solid var(--line); padding: 8px 14px; border-radius: 100px; color: var(--text-dim); background: rgba(255,255,255,.02); }
.ca-chip b { color: var(--saffron); }

.ca-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ca-product { border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; background: var(--bg-card); transition: transform .4s var(--ease), border-color .3s; }
.ca-product:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.22); }
.ca-product .pill { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--green); font-weight: 700; }
.ca-product h4 { font-size: 1.05rem; margin: 8px 0 4px; }
.ca-product p { font-size: 13px; color: var(--text-dim); }

.channel-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.channel { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--bg-card); transition: transform .4s var(--ease), border-color .3s; }
.channel:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.channel .ico { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; font-size: 22px; background: var(--grad-soft); border: 1px solid var(--line); }
.channel h4 { font-size: 1.05rem; margin-bottom: 4px; }
.channel p { font-size: 14px; color: var(--text-dim); }

/* Vertical timeline */
.timeline { position: relative; margin-left: 8px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--saffron), var(--green)); }
.tl-item { position: relative; padding: 0 0 34px; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--saffron); }
.tl-item .yr { font-size: 13px; color: var(--saffron); font-weight: 700; letter-spacing: .06em; }
.tl-item h4 { font-size: 1.15rem; margin: 6px 0 6px; }
.tl-item p { color: var(--text-dim); font-size: 14px; max-width: 640px; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; gap: 14px; }
.mosaic > div { border-radius: 16px; border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; font-weight: 700; font-size: 14px; transition: transform .5s var(--ease); }
.mosaic > div:hover { transform: scale(1.03); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }

@media (max-width: 900px) {
  .opt-grid, .ca-products, .channel-list, .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .wide { grid-column: span 2; }
  .review dl { grid-template-columns: 120px 1fr; }
}
@media (max-width: 560px) {
  .opt-grid, .field.two, .ca-products, .channel-list, .mosaic { grid-template-columns: 1fr; }
  .mosaic .wide, .mosaic .tall { grid-column: auto; grid-row: auto; }
  .wizard__head, .wizard__body { padding-left: 22px; padding-right: 22px; }
  .review dl { grid-template-columns: 1fr; gap: 4px 0; }
  .review dd { margin-bottom: 8px; }
}

/* wizard invalid shake */
.wizard__step.shake { animation: shake .4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-7px)} 40%,80%{transform:translateX(7px)} }

/* ==========================================================================
   HERO LOGO MARK (large, faded, right side — "show off" brand glyph)
   ========================================================================== */
.hero__mark {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: min(44vw, 460px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from -40deg, var(--saffron), var(--white), var(--green), var(--chakra), var(--saffron));
  z-index: -1; opacity: .5; filter: blur(2px);
  -webkit-mask-image: radial-gradient(circle, #000 42%, rgba(0,0,0,.35) 60%, transparent 72%);
  mask-image: radial-gradient(circle, #000 42%, rgba(0,0,0,.35) 60%, transparent 72%);
  animation: spin 40s linear infinite;
}
.hero__mark::after {
  content: ""; position: absolute; inset: 34%; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,107,214,.55) 0 50%, transparent 72%);
}
@media (max-width: 780px) { .hero__mark { opacity: .26; right: -26%; width: 74vw; } }

/* ==========================================================================
   LOGO MARQUEE (scrolling client logos)
   ========================================================================== */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; overflow: hidden; background: rgba(255,255,255,.012); }
.logos__row { display: inline-flex; align-items: center; gap: 60px; white-space: nowrap; animation: marquee 32s linear infinite; }
.logos.rev .logos__row { animation-direction: reverse; }
.logos:hover .logos__row { animation-play-state: paused; }
.logos__row span { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-mute); opacity: .8; transition: color .3s, opacity .3s; }
.logos__row span:hover { color: var(--text); opacity: 1; }
.logos--label { text-align: center; color: var(--text-mute); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }

/* ==========================================================================
   VIDEO FEEDBACK (customer testimonials — MP4)
   ========================================================================== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 9 / 12; cursor: pointer; background: var(--bg-card);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  transition: transform .5s var(--ease), border-color .4s;
}
.vcard:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); }
.vcard__poster { position: absolute; inset: 0; z-index: 0; object-fit: cover; width: 100%; height: 100%; }
.vcard::before { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(6,6,10,.15) 30%, rgba(6,6,10,.9) 100%); }
.vcard > * { position: relative; z-index: 2; }
.vcard__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.vcard:hover .vcard__play { transform: translate(-50%,-50%) scale(1.1); background: var(--saffron); }
.vcard__play::after { content:""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.vcard:hover .vcard__play::after { border-left-color: #1a0e00; }
.vcard .who { font-weight: 700; font-size: 1rem; }
.vcard .role { font-size: 12px; color: var(--text-dim); }
.vcard .stars { color: var(--saffron); font-size: 13px; margin-bottom: 6px; letter-spacing: 2px; }

.vmodal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(4,4,8,.86); backdrop-filter: blur(8px); }
.vmodal.open { display: flex; animation: fadeStep .3s var(--ease); }
.vmodal__inner { position: relative; width: min(92vw, 420px); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.vmodal video { width: 100%; display: block; max-height: 82vh; }
.vmodal__close { position: absolute; top: -14px; right: -6px; width: 42px; height: 42px; border-radius: 50%; background: var(--text); color: #000; font-size: 20px; font-weight: 700; display: grid; place-items: center; z-index: 3; }
@media (max-width: 480px){ .vmodal__close { top: 8px; right: 8px; } }

/* ==========================================================================
   FOOTER contact row (call / email)
   ========================================================================== */
.footer__contact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; width: fit-content; transition: color .25s; }
.footer__contact a:hover { color: var(--saffron); }
.footer__contact .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); font-size: 15px; }

/* ==========================================================================
   ABOUT page
   ========================================================================== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: var(--bg-card); transition: transform .4s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.value .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 18px; }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { color: var(--text-dim); font-size: 15px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-split .media { border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 4/3; background: linear-gradient(135deg, rgba(255,153,51,.18), rgba(23,160,52,.14)); display: grid; place-items: center; color: var(--text-mute); font-weight: 700; }

/* ==========================================================================
   BLOG (listing + post)
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); transition: transform .4s var(--ease), border-color .3s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.post-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(255,153,51,.2), rgba(23,160,52,.16)); }
.post-card__b { padding: 24px; }
.post-card .cat { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--saffron); font-weight: 700; }
.post-card h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.post-card p { color: var(--text-dim); font-size: 14px; }
.post-card .meta { color: var(--text-mute); font-size: 13px; margin-top: 14px; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body p { color: var(--text-dim); margin-bottom: 18px; }
.post-body h2 { font-size: 1.7rem; margin: 34px 0 14px; }

/* ==========================================================================
   MOBILE OPTIMISATION LAYER
   ========================================================================== */
@media (max-width: 900px) {
  .video-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  :root { --nav-h: 66px; }
  .section { padding: 66px 0; }
  .section--tight { padding: 52px 0; }
  .container { padding: 0 18px; }
  .hero { padding: calc(var(--nav-h) + 54px) 0 60px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__stats { gap: 24px 30px; margin-top: 46px; }
  .section-head { margin-bottom: 40px; }
  .video-grid, .values, .post-grid { grid-template-columns: 1fr; }
  .vcard { aspect-ratio: 16/10; }
  .btn { padding: 14px 22px; }
  h2 { margin: 16px 0 14px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 54px 22px; }
  .marquee span, .logos__row span { font-size: 1.15rem; }
  /* stop custom cursor + heavy hover transforms on small screens */
  .cursor-dot, .cursor-ring { display: none !important; }
}
/* Prevent horizontal overflow anywhere on small screens */
@media (max-width: 680px) { html, body { max-width: 100%; overflow-x: hidden; } .hero__blob { filter: blur(70px); } }

/* ==========================================================================
   GRADIENT SWATCHES (used by mosaic tiles, video cards, work tiles)
   ========================================================================== */
.g1 { background: linear-gradient(135deg, #2a1a4a, #7c5cff); }
.g2 { background: linear-gradient(135deg, #0a3a34, #17a034); }
.g3 { background: linear-gradient(135deg, #4a2410, #ff9933); }
.g4 { background: linear-gradient(135deg, #12244f, #3f6bd6); }
.g5 { background: linear-gradient(135deg, #3a1030, #ff5c8a); }
.g6 { background: linear-gradient(135deg, #103a3a, #22b8c8); }

/* ==========================================================================
   WORK TILES — mixed sample works on the Clients page
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  isolation: isolate; transition: transform .5s var(--ease), border-color .4s;
}
.work-tile::before { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, transparent 32%, rgba(6,6,10,.9) 100%); }
.work-tile:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.24); }
.work-tile .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #fff; font-weight: 700; opacity: .9; }
.work-tile h3 { font-size: 1.15rem; margin: 8px 0 4px; }
.work-tile .client { font-size: 13px; color: rgba(255,255,255,.85); }
.work-tile.tall { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } .work-tile.tall { aspect-ratio: 4/3; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* compact Cureayu strip (small spotlight at the end of Clients) */
.mini-feature { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 30px; background: var(--bg-card); }
.mini-feature .left { display: flex; align-items: center; gap: 16px; }
.mini-feature .badge { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #0c0c12; background: var(--grad); }
.mini-feature h3 { font-size: 1.2rem; }
.mini-feature p { color: var(--text-dim); font-size: 14px; }
