/* =========================================================
   TEQIDEA — Premium Static Site
   Colors: #1B1919 (black), #FFC801 (yellow), #D0D1D2 (grey)
   Fonts:  DM Sans (headings), Inter (body)
   ========================================================= */

:root {
  --black: #1B1919;
  --black-soft: #232121;
  --yellow: #FFC801;
  --yellow-soft: #FFD84A;
  --grey: #D0D1D2;
  --grey-light: #EEEEEF;
  --light: #F7F7F8;
  --white: #FFFFFF;
  --text: #1B1919;
  --text-muted: #6B6B6B;
  --border: #E7E7E8;

  --font-heading: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(27,25,25,0.06);
  --shadow-md: 0 10px 30px -12px rgba(27,25,25,0.15);
  --shadow-lg: 0 30px 60px -20px rgba(27,25,25,0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1440px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
p  { margin: 0 0 1em; color: var(--text-muted); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(64px, 8vw, 120px) 0; }

/* Hide React root (kept in DOM for dev-server) */
#root { display: none !important; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--black);
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,200,1,0.15);
  border: 1px solid rgba(255,200,1,0.35);
  margin-bottom: 20px;
}
.eyebrow.dark { background: rgba(255,200,1,0.12); color: var(--yellow); border-color: rgba(255,200,1,0.25); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head p { font-size: 1.05rem; margin-top: 12px; }
.text-yellow { color: var(--yellow); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--yellow); color: var(--black); box-shadow: 0 12px 30px -12px rgba(255,200,1,0.55); }
.btn-primary:hover { background: var(--yellow-soft); transform: translateY(-2px); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-soft); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-ghost { color: var(--black); padding-left: 0; padding-right: 0; }
.btn-ghost::after { content: ''; height: 1.5px; width: 24px; background: var(--black); margin-left: 4px; transition: width .3s var(--ease); }
.btn-ghost:hover::after { width: 40px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--black);
  display: grid; place-items: center; color: var(--yellow);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; color: var(--black);
}
.brand-name span { color: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-heading); font-weight: 500; font-size: 15px;
  color: var(--black); position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0; background: var(--yellow); transition: width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; background: var(--black); color: var(--white); place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--black); color: var(--white);
  transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; padding: 96px 32px 32px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { color: var(--white); font-family: var(--font-heading); font-size: 28px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a:hover { color: var(--yellow); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 160px 0 100px;
  background: linear-gradient(180deg, #FAFAFB 0%, #F1F1F3 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,200,1,0.35), transparent 70%);
  filter: blur(20px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
  position: relative;
}
.hero h1 span.hl { position: relative; white-space: nowrap; }
.hero h1 span.hl::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: var(--yellow); z-index: -1; border-radius: 4px; opacity: .8;
}
.hero-sub { font-size: 1.15rem; max-width: 540px; margin: 24px 0 32px; color: var(--text-muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--black); letter-spacing: -.02em; }
.hero-stat .lbl { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; left: -24px; bottom: 40px; background: var(--white);
  padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; min-width: 220px;
}
.hero-badge .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; color: var(--black); }
.hero-badge .icon svg { width: 22px; height: 22px; }
.hero-badge .title { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--black); }
.hero-badge .sub { font-size: 12px; color: var(--text-muted); }
.hero-badge.top { left: auto; right: -20px; bottom: auto; top: 60px; }

/* Sub-page hero (compact) */
.page-hero {
  padding: 150px 0 80px; background: var(--black); color: var(--white); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, rgba(255,200,1,0.15), transparent 70%);
}
.page-hero .container { position: relative; text-align: center; }
.page-hero h1 { color: var(--white); max-width: 900px; margin: 0 auto 16px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 720px; margin: 0 auto; font-size: 1.1rem; }
.crumbs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: .1em; text-transform: uppercase; }
.crumbs a { color: var(--yellow); }

/* ---------- Marquee logos ---------- */
.trust { padding: 40px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label { text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 60px; animation: marquee 32s linear infinite; width: max-content; }
.marquee-track span {
  font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: #B8B8BA; white-space: nowrap;
  transition: color .3s;
}
.marquee-track span:hover { color: var(--black); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  position: relative; padding: 36px 30px 32px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; background: var(--black); z-index: 0;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: translateY(0); }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-num { color: var(--white); }
.service-card:hover .service-icon { background: var(--yellow); color: var(--black); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--black); color: var(--yellow);
  display: grid; place-items: center; margin-bottom: 22px; transition: background .3s, color .3s;
}
.service-icon svg { width: 26px; height: 26px; }
.service-num {
  position: absolute; top: 24px; right: 26px; font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  color: var(--grey); transition: color .3s;
}
.service-card h3 { transition: color .3s; margin-bottom: 10px; }
.service-card p { transition: color .3s; font-size: .96rem; margin-bottom: 20px; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--yellow); }
.service-link svg { width: 16px; height: 16px; transition: transform .3s; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media .float-card {
  position: absolute; right: -22px; bottom: -22px; background: var(--black); color: var(--white);
  padding: 22px 26px; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 260px;
}
.split-media .float-card .num { color: var(--yellow); font-family: var(--font-heading); font-size: 2rem; font-weight: 700; }
.split-media .float-card .lbl { font-size: 13px; color: rgba(255,255,255,0.7); }
.split-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--black); font-weight: 500; }
.split-list svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--yellow); margin-top: 2px; }

/* ---------- Why choose (dark) ---------- */
.dark-section { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.dark-section h2 { color: var(--white); }
.dark-section p { color: rgba(255,255,255,0.7); }
.dark-section::before {
  content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,200,1,0.12), transparent 70%);
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.why-card {
  padding: 32px 26px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.06); border-color: rgba(255,200,1,0.35); }
.why-card .num { font-family: var(--font-heading); font-weight: 700; color: var(--yellow); font-size: 14px; letter-spacing: .12em; margin-bottom: 20px; }
.why-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; }
.why-card p { color: rgba(255,255,255,0.7); font-size: .95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--light); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  padding: 32px 30px; border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--border); position: relative; transition: transform .4s var(--ease), box-shadow .4s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark {
  position: absolute; top: 22px; right: 26px; color: var(--yellow); opacity: .35;
}
.testimonial-card .quote-mark svg { width: 40px; height: 40px; }
.testimonial-card .stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--yellow); }
.testimonial-card .stars svg { width: 18px; height: 18px; fill: var(--yellow); stroke: var(--yellow); }
.testimonial-card p { color: var(--black); font-size: 1rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.testimonial-author .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-family: var(--font-heading); font-weight: 700; color: var(--black); }
.testimonial-author .role { font-size: 13px; color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--black); color: var(--white); position: relative; overflow: hidden;
  border-radius: var(--radius-xl); padding: 64px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px;
}
.cta-banner::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,200,1,0.35), transparent 70%);
}
.cta-banner h2 { color: var(--white); max-width: 520px; }
.cta-banner p { color: rgba(255,255,255,0.72); max-width: 520px; }
.cta-banner .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 20px; font-family: var(--font-heading); }
.footer a { display: block; padding: 6px 0; color: rgba(255,255,255,0.65); font-size: 14.5px; transition: color .2s, transform .2s; }
.footer a:hover { color: var(--yellow); transform: translateX(4px); }
.footer .brand-name { color: var(--white); }
.footer .about-text { font-size: 14.5px; line-height: 1.7; margin: 16px 0 20px; max-width: 320px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05);
  display: grid; place-items: center; padding: 0;
}
.social a:hover { background: var(--yellow); color: var(--black); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.contact-row svg { width: 18px; height: 18px; color: var(--yellow); margin-top: 2px; flex: 0 0 18px; }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: rgba(255,255,255,0.55);
}

/* ---------- Portfolio grid ---------- */
.filter-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tabs button {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border);
  font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--black);
  background: var(--white); transition: all .3s;
}
.filter-tabs button.active,
.filter-tabs button:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer; box-shadow: var(--shadow-sm);
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item .overlay {
  position: absolute; inset: 0; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 40%, rgba(27,25,25,0.9) 100%);
  color: var(--white); opacity: 0; transition: opacity .4s;
}
.portfolio-item:hover .overlay { opacity: 1; }
.portfolio-item .tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); font-weight: 600; margin-bottom: 6px; }
.portfolio-item h3 { color: var(--white); font-size: 1.3rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { padding: 40px 36px; border-radius: var(--radius-lg); background: var(--black); color: var(--white); position: sticky; top: 100px; }
.contact-info h3 { color: var(--white); }
.contact-info p { color: rgba(255,255,255,0.7); }
.contact-info .info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-info .info-row:last-of-type { border-bottom: 0; }
.contact-info .icon-box {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,200,1,0.15); color: var(--yellow);
  display: grid; place-items: center; flex: 0 0 44px;
}
.contact-info .icon-box svg { width: 20px; height: 20px; }
.contact-info .label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.contact-info .value { color: var(--white); font-family: var(--font-heading); font-weight: 500; font-size: 15px; }
.contact-form { padding: 40px 40px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: var(--black); margin-bottom: 8px; letter-spacing: .04em; }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--black); background: var(--white);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px rgba(255,200,1,0.25); }
.field textarea { resize: vertical; min-height: 130px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.form-note svg { color: var(--yellow); width: 16px; height: 16px; margin-top: 3px; flex: 0 0 16px; }

/* ---------- About stats ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 32px 20px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border); }
.stat-box .n { font-family: var(--font-heading); font-weight: 700; font-size: 2.6rem; color: var(--black); letter-spacing: -.02em; }
.stat-box .l { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); display: grid; place-items: center; color: var(--black); margin-bottom: 18px; }
.value-card .icon svg { width: 24px; height: 24px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card .photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 16px; }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover img { transform: scale(1.05); }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--text-muted); font-size: 14px; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-card { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); position: relative; transition: transform .4s var(--ease); }
.process-card:hover { transform: translateY(-4px); }
.process-card .step {
  position: absolute; top: -20px; left: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--black); font-family: var(--font-heading); font-weight: 700;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.process-card h3 { margin: 20px 0 8px; }

/* Detailed service block */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.svc-block:nth-child(even) .svc-media { order: 2; }
.svc-block .svc-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.svc-block .svc-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--yellow); color: var(--black); display: grid; place-items: center; margin-bottom: 20px; }
.svc-block .svc-icon svg { width: 26px; height: 26px; }

/* ============================================================
   PREMIUM UPGRADE: Bento, Parallax, Ticker, Tilt, Grain, etc.
   ============================================================ */

/* Grain / noise overlay */
.grain { position: relative; }
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Grid + dot backgrounds */
.grid-bg { background-image:
  linear-gradient(to right, rgba(27,25,25,0.05) 1px, transparent 1px),
  linear-gradient(to bottom, rgba(27,25,25,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}
.dot-bg { background-image: radial-gradient(rgba(27,25,25,0.10) 1px, transparent 1px); background-size: 22px 22px; }
.dot-bg-dark { background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 22px 22px; }

/* Rotating sticker badge */
.sticker {
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  display: grid; place-items: center; font-family: var(--font-heading);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-align: center;
  animation: spin 14s linear infinite; box-shadow: 0 20px 40px -12px rgba(255,200,1,0.5);
  position: relative;
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sticker .arrow { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; background: var(--black); color: var(--yellow); border-radius: 50%; display: grid; place-items: center; animation: spin 14s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- BENTO HERO ---------- */
.hero-bento {
  padding: 120px 0 90px;
  position: relative; overflow: hidden;
  background: var(--white);
}
.hero-bento::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(27,25,25,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,25,25,0.04) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(ellipse 90% 60% at 50% 50%, #000 40%, transparent 100%);
}
.hero-bento .bento { grid-auto-rows: minmax(150px, auto); }
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 130px; gap: 18px;
  position: relative;
}
.b-card {
  position: relative; border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--border); padding: 28px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.b-card.dark { background: var(--black); color: var(--white); border-color: transparent; }
.b-card.dark h1, .b-card.dark h2, .b-card.dark h3 { color: var(--white); }
.b-card.dark p { color: rgba(255,255,255,0.7); }
.b-card.yellow { background: var(--yellow); border-color: transparent; }
.b-card.yellow h1, .b-card.yellow h2, .b-card.yellow h3, .b-card.yellow p { color: var(--black); }
.b-card.image { padding: 0; border: 0; }
.b-card.image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.b-card.image:hover img { transform: scale(1.08); }
.b-card .b-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-heading); font-weight: 600; }
.b-card.dark .b-label { color: rgba(255,255,255,0.55); }

/* Bento span helpers (mobile fallback below) */
.b-6-2 { grid-column: span 6; grid-row: span 2; }
.b-6-3 { grid-column: span 6; grid-row: span 3; }
.b-4-2 { grid-column: span 4; grid-row: span 2; }
.b-4-3 { grid-column: span 4; grid-row: span 3; }
.b-3-2 { grid-column: span 3; grid-row: span 2; }
.b-3-1 { grid-column: span 3; grid-row: span 1; }
.b-8-2 { grid-column: span 8; grid-row: span 2; }
.b-8-3 { grid-column: span 8; grid-row: span 3; }
.b-4-1 { grid-column: span 4; grid-row: span 1; }

/* Massive display type inside bento */
.mega {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 5.5rem); line-height: .96; letter-spacing: -0.035em; color: var(--black);
  margin: 0;
}
.mega .accent { display: inline-block; color: var(--yellow); -webkit-text-stroke: 1.5px var(--black); }
.mega em { font-style: normal; position: relative; display: inline-block; }
.mega em::before {
  content: ''; position: absolute; left: -6px; right: -6px; bottom: 8px; top: 60%;
  background: var(--yellow); z-index: -1; border-radius: 4px; transform: skewX(-6deg);
}

/* Live avatars stack */
.avatars { display: flex; }
.avatars img { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--white); object-fit: cover; margin-left: -12px; box-shadow: 0 3px 8px rgba(0,0,0,0.1); }
.avatars img:first-child { margin-left: 0; }
.avatars.dark img { border-color: var(--black); }

/* Live pulse dot */
.pulse { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
.pulse::before { content: ''; width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 0 rgba(34,197,94,0.55); animation: pulseRing 1.6s infinite; }
@keyframes pulseRing { 70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ---------- BIG TICKER ---------- */
.ticker-band { background: var(--black); color: var(--white); padding: 34px 0; overflow: hidden; border-block: 1px solid rgba(255,255,255,0.06); }
.ticker { display: flex; gap: 60px; width: max-content; animation: tickerMove 28s linear infinite; }
.ticker span {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.8rem); letter-spacing: -0.03em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.9); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 40px;
}
.ticker span::after { content: ''; width: 14px; height: 14px; background: var(--yellow); border-radius: 50%; }
.ticker span.filled { color: var(--yellow); -webkit-text-stroke: 0; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* Reverse ticker (yellow band) */
.ticker-band.yellow { background: var(--yellow); border-color: rgba(0,0,0,0.06); }
.ticker-band.yellow .ticker span { -webkit-text-stroke-color: rgba(27,25,25,0.9); }
.ticker-band.yellow .ticker span::after { background: var(--black); }
.ticker-band.yellow .ticker { animation-direction: reverse; }

/* ---------- BENTO SERVICES ---------- */
.svc-bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 20px; }
.svc-cell {
  position: relative; border-radius: var(--radius-lg); padding: 32px; overflow: hidden;
  border: 1px solid var(--border); background: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-cell .num-lg { position: absolute; top: 18px; right: 24px; font-family: var(--font-heading); font-weight: 700; font-size: 3.4rem; color: rgba(27,25,25,0.06); line-height: 1; }
.svc-cell.dark { background: var(--black); color: var(--white); border-color: transparent; }
.svc-cell.dark .num-lg { color: rgba(255,255,255,0.09); }
.svc-cell.dark h3 { color: var(--white); }
.svc-cell.dark p { color: rgba(255,255,255,0.7); }
.svc-cell.yellow { background: var(--yellow); border-color: transparent; }
.svc-cell .arrow-btn {
  width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--yellow);
  display: grid; place-items: center; transition: transform .35s var(--ease), background .3s;
}
.svc-cell .arrow-btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.svc-cell:hover .arrow-btn { background: var(--yellow); color: var(--black); }
.svc-cell:hover .arrow-btn svg { transform: rotate(-45deg); }
.svc-cell.dark .arrow-btn { background: var(--yellow); color: var(--black); }
.svc-cell.dark:hover .arrow-btn { background: var(--white); }
.svc-cell .svc-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.svc-cell .icon-sm { width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); color: var(--black); display: grid; place-items: center; }
.svc-cell.dark .icon-sm { background: rgba(255,200,1,0.18); color: var(--yellow); }
.svc-cell.yellow .icon-sm { background: var(--black); color: var(--yellow); }
.svc-cell h3 { margin: 0 0 6px; }
.svc-cell p { margin: 0; font-size: .95rem; }

/* Parallax utility */
.parallax { will-change: transform; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--yellow); z-index: 200; width: 0%; transition: width .1s linear; }

/* 3D tilt */
.tilt { transform-style: preserve-3d; transition: transform .3s var(--ease); }
.tilt-inner { transform: translateZ(30px); }

/* Marquee vertical for testimonials */
.tmarq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; height: 560px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}
.tmarq .col { display: flex; flex-direction: column; gap: 20px; animation: colUp 30s linear infinite; }
.tmarq .col:nth-child(2) { animation: colDown 34s linear infinite; }
.tmarq .col:nth-child(3) { animation: colUp 38s linear infinite; }
@keyframes colUp { to { transform: translateY(-50%); } }
@keyframes colDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.tmarq .testimonial-card { margin: 0; }

/* Section number huge watermark */
.watermark { position: absolute; top: 30px; right: 24px; font-family: var(--font-heading); font-weight: 700; font-size: 10rem; line-height: 1; color: rgba(27,25,25,0.04); pointer-events: none; letter-spacing: -.04em; }
.dark-section .watermark { color: rgba(255,255,255,0.05); }

/* Magnetic button wrapper (JS animates transform on inner) */
.magnet { display: inline-block; will-change: transform; }

/* Yellow underline sweep on link */
.sweep { position: relative; display: inline-block; }
.sweep::before { content: ''; position: absolute; left: 0; bottom: -4px; height: 3px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.sweep:hover::before { transform: scaleX(1); transform-origin: left; }

/* Responsive bento fallback */
@media (max-width: 900px) {
  .bento, .svc-bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .b-6-2, .b-6-3, .b-8-2, .b-8-3 { grid-column: span 6; grid-row: span 2; }
  .b-4-2, .b-4-3, .b-4-1, .b-3-2, .b-3-1 { grid-column: span 3; grid-row: span 2; }
  .tmarq { grid-template-columns: 1fr; height: 480px; }
  .tmarq .col:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .bento, .svc-bento { grid-template-columns: 1fr; }
  .b-6-2, .b-6-3, .b-4-2, .b-4-3, .b-4-1, .b-3-2, .b-3-1, .b-8-2, .b-8-3 { grid-column: span 1; grid-row: span 2; }
  .sticker { width: 96px; height: 96px; font-size: 10px; }
  .tmarq { grid-template-columns: 1fr; }
  .tmarq .col:nth-child(2), .tmarq .col:nth-child(3) { display: none; }
}

/* ============================================================
   V3 UPGRADES: Techy buttons, compact page-hero, unique footer,
   client logos, portfolio bento, antigravity scroll
   ============================================================ */

/* ---------- TECHY BUTTONS ---------- */
.btn-t {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px 13px 30px;
  font-family: var(--font-heading); font-weight: 700; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--black); color: var(--white);
  border: 1.5px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
  transition: color .3s var(--ease), border-color .3s, transform .3s;
  white-space: nowrap; cursor: pointer;
}
.btn-t .txt { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; }
.btn-t svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn-t::before {
  content: ''; position: absolute; inset: 0;
  background: var(--yellow);
  transform: translateY(101%); transition: transform .45s var(--ease); z-index: 1;
}
.btn-t::after {
  content: ''; position: absolute; left: 12px; top: 50%; width: 6px; height: 6px;
  background: var(--yellow); border-radius: 50%;
  transform: translateY(-50%); transition: background .3s, box-shadow .3s, transform .3s;
  z-index: 2;
}
.btn-t:hover { color: var(--black); border-color: var(--yellow); transform: translateY(-2px); }
.btn-t:hover::before { transform: translateY(0); }
.btn-t:hover::after { background: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,0.15); }
.btn-t:hover svg { transform: translateX(4px); }
/* Corner brackets */
.btn-t .cx { position: absolute; width: 10px; height: 10px; border: 1.5px solid var(--yellow); z-index: 3; transition: all .35s var(--ease); }
.btn-t .cx.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.btn-t .cx.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.btn-t .cx.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.btn-t .cx.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.btn-t:hover .cx { width: 16px; height: 16px; border-color: var(--black); }

/* Yellow variant */
.btn-t.y { background: var(--yellow); color: var(--black); border-color: var(--yellow); padding-left: 30px; }
.btn-t.y::after { background: var(--black); }
.btn-t.y::before { background: var(--black); }
.btn-t.y .cx { border-color: var(--black); }
.btn-t.y:hover { color: var(--yellow); border-color: var(--black); }
.btn-t.y:hover::after { background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,200,1,0.25); }
.btn-t.y:hover .cx { border-color: var(--yellow); }

/* Outline variant */
.btn-t.o { background: transparent; color: var(--black); border-color: var(--black); }
.btn-t.o::before { background: var(--black); }
.btn-t.o::after { background: var(--black); }
.btn-t.o:hover { color: var(--white); border-color: var(--black); }
.btn-t.o:hover::after { background: var(--yellow); box-shadow: 0 0 0 3px rgba(255,200,1,0.25); }
.btn-t.o .cx { border-color: var(--yellow); }
.btn-t.o:hover .cx { border-color: var(--yellow); }

/* Ghost / small */
.btn-t.sm { padding: 10px 20px 10px 24px; font-size: 11px; }
.btn-t.sm::after { left: 10px; width: 5px; height: 5px; }

/* ---------- COMPACT PAGE HERO (unique) ---------- */
.page-hero-v2 {
  position: relative;
  padding: 130px 0 60px;
  background: var(--black); color: var(--white); overflow: hidden;
}
.page-hero-v2::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, #000 40%, transparent 100%);
}
.page-hero-v2::after {
  content: ''; position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  background: radial-gradient(500px 260px at 80% 40%, rgba(255,200,1,0.18), transparent 70%);
  pointer-events: none;
}
.page-hero-v2 .container { position: relative; z-index: 2; }

.crumb-line { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.crumb-line .dot { width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,200,1,0.2); }
.crumb-line .line { flex: 0 0 40px; height: 1px; background: rgba(255,255,255,0.2); }
.crumb-line span, .crumb-line a {
  font-family: var(--font-heading); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.crumb-line a { color: var(--yellow); }
.crumb-line .current { color: var(--white); font-weight: 600; }

.ph2-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: end; }
.ph2-grid h1 { color: var(--white); font-size: clamp(2rem, 4.2vw, 3.6rem); margin: 0 0 6px; }
.ph2-grid .lede { color: rgba(255,255,255,0.72); font-size: 1rem; margin: 12px 0 0; max-width: 520px; }
.ph2-side { display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.ph2-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ph2-tag {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600; letter-spacing: .12em;
  color: rgba(255,255,255,0.85); padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04);
  text-transform: uppercase;
}
.ph2-tag.y { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.ph2-meta { display: flex; align-items: center; gap: 16px; font-family: var(--font-heading); font-size: 12px; letter-spacing: .05em; color: rgba(255,255,255,0.6); }
.ph2-meta strong { color: var(--yellow); font-weight: 700; }
.ph2-orbs { position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; pointer-events: none; opacity: .7; }
.ph2-orbs .o { position: absolute; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; }
.ph2-orbs .o1 { inset: 0; animation: spin 40s linear infinite; }
.ph2-orbs .o2 { inset: 30px; animation: spin 25s linear infinite reverse; }
.ph2-orbs .o3 { inset: 60px; animation: spin 18s linear infinite; }
.ph2-orbs .o::after { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; }

/* ---------- CLIENT LOGOS BAR ---------- */
.trust-v2 {
  padding: 40px 0; background: var(--white);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-v2 .lbl {
  text-align: center; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 24px; font-family: var(--font-heading); font-weight: 600;
}
.logo-marquee { overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track { display: flex; align-items: center; gap: 70px; width: max-content; animation: marquee 35s linear infinite; }
.logo-track img {
  height: 46px; width: auto; max-width: 200px;
  object-fit: contain; opacity: .55; filter: grayscale(1);
  transition: opacity .35s, filter .35s, transform .35s;
}
.logo-track img:hover { opacity: 1; filter: none; transform: scale(1.05); }

/* ---------- PORTFOLIO BENTO ---------- */
.pf-hero {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px;
  margin-bottom: 24px;
}
.pf-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--black); color: var(--white);
  transition: transform .5s var(--ease);
}
.pf-card:hover { transform: translateY(-4px); }
.pf-card .cover { position: relative; height: 100%; min-height: 320px; overflow: hidden; }
.pf-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pf-card:hover .cover img { transform: scale(1.05); }
.pf-card .cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(27,25,25,0.95) 100%);
}
.pf-card .meta { position: absolute; inset: auto 0 0 0; padding: 28px 30px; z-index: 2; }
.pf-card .meta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; font-family: var(--font-heading); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.pf-card .meta-row .sep { width: 4px; height: 4px; background: rgba(255,255,255,0.5); border-radius: 50%; }
.pf-card .meta-row .yr { color: rgba(255,255,255,0.65); }
.pf-card h3 { color: var(--white); font-size: clamp(1.4rem, 2.2vw, 2rem); margin: 0 0 8px; }
.pf-card .desc { color: rgba(255,255,255,0.75); font-size: .95rem; margin: 0 0 16px; max-width: 420px; }
.pf-card .stats { display: flex; gap: 24px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.14); }
.pf-card .stats div { font-family: var(--font-heading); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.pf-card .stats strong { display: block; color: var(--yellow); font-size: 1.4rem; letter-spacing: -.02em; text-transform: none; margin-bottom: 2px; }
.pf-card .corner-tag {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  padding: 6px 12px; background: var(--yellow); color: var(--black);
  font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border-radius: 4px;
}

.pf-bento {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
  grid-auto-rows: 240px;
}
.pf-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); aspect-ratio: auto !important; box-shadow: none !important; display: block; }
.pf-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); display: block; }
.pf-tile:hover img { transform: scale(1.08); }
.pf-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27,25,25,0.85));
  opacity: .7; transition: opacity .35s;
}
.pf-tile:hover::after { opacity: 1; }
.pf-tile .p-info { position: absolute; inset: auto 0 0 0; padding: 22px 24px; z-index: 2; color: var(--white); }
.pf-tile .p-info .tag { font-family: var(--font-heading); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.pf-tile .p-info h3 { color: var(--white); margin: 0; font-size: 1.2rem; }
.pf-tile .p-arrow { position: absolute; top: 20px; right: 20px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--white); transition: background .3s, transform .35s var(--ease); }
.pf-tile:hover .p-arrow { background: var(--yellow); color: var(--black); transform: rotate(-45deg); }
.pf-tile .p-arrow svg { width: 16px; height: 16px; }

.p-w6 { grid-column: span 6; }
.p-w4 { grid-column: span 4; }
.p-w3 { grid-column: span 3; }
.p-w2 { grid-column: span 2; }
.p-h2 { grid-row: span 2; }

/* Portfolio stats strip */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white);
}
.stat-bar > div { padding: 30px 28px; border-right: 1px solid var(--border); position: relative; overflow: hidden; }
.stat-bar > div:last-child { border-right: 0; }
.stat-bar .n { font-family: var(--font-heading); font-weight: 700; font-size: 2.6rem; color: var(--black); letter-spacing: -.03em; line-height: 1; }
.stat-bar .n .plus { color: var(--yellow); }
.stat-bar .l { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

/* ---------- UNIQUE FOOTER ---------- */
.footer-v2 {
  background: var(--black); color: var(--white); position: relative; overflow: hidden;
  padding: 0;
}
.footer-v2::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 20%, #000, transparent 70%);
}
.footer-v2 .container { position: relative; z-index: 2; }

.f-top { padding: 80px 0 40px; }
.f-cta {
  display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 40px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 56px;
}
.f-cta h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 3.4rem); margin: 0; line-height: 1.05; }
.f-cta h2 .u { position: relative; }
.f-cta h2 .u::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px; background: var(--yellow); z-index: -1; }

.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.f-col h4 {
  font-family: var(--font-heading); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 20px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
}
.f-col h4::before { content: ''; width: 20px; height: 1.5px; background: var(--yellow); }
.f-col a { display: block; padding: 7px 0; color: rgba(255,255,255,0.65); font-size: 14.5px; transition: color .2s, padding-left .25s var(--ease); font-family: var(--font-heading); }
.f-col a:hover { color: var(--yellow); padding-left: 12px; }
.f-col a .ar { display: inline-block; width: 0; overflow: hidden; transition: width .25s; }
.f-col a:hover .ar { width: 14px; margin-left: 6px; }

.f-brand { max-width: 340px; }
.f-brand .brand-name { color: var(--white); font-size: 26px; }
.f-brand .brand-mark { background: var(--yellow); }
.f-brand .brand-mark svg { color: var(--black); }
.f-brand .ab-text { font-size: 14.5px; color: rgba(255,255,255,0.7); margin: 18px 0 24px; line-height: 1.65; }

.f-newsletter {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 22px; position: relative; overflow: hidden;
}
.f-newsletter::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,200,1,0.22), transparent 70%);
}
.f-newsletter .n-label { font-family: var(--font-heading); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; font-weight: 700; }
.f-newsletter h5 { color: var(--white); font-family: var(--font-heading); font-size: 1.1rem; margin: 0 0 14px; }
.f-newsletter .n-input {
  display: flex; gap: 8px; padding: 6px; background: var(--black); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; position: relative; z-index: 2;
}
.f-newsletter input {
  flex: 1; padding: 10px 12px; background: transparent; border: 0; color: var(--white);
  font-family: var(--font-body); font-size: 14px; outline: none;
}
.f-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.f-newsletter button {
  width: 40px; height: 40px; border-radius: 8px; background: var(--yellow); color: var(--black);
  display: grid; place-items: center; transition: transform .3s;
}
.f-newsletter button:hover { transform: translateX(2px); }
.f-newsletter button svg { width: 16px; height: 16px; }

.f-contact-row {
  display: flex; gap: 14px; align-items: flex-start; padding: 12px 0;
  color: rgba(255,255,255,0.75); font-size: 14px;
}
.f-contact-row .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,200,1,0.12); color: var(--yellow); display: grid; place-items: center; flex: 0 0 36px; }
.f-contact-row .ic svg { width: 16px; height: 16px; }
.f-contact-row .lb { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.f-contact-row .vl { color: var(--white); font-family: var(--font-heading); font-weight: 500; }

.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.06); display: grid; place-items: center; color: var(--white); transition: background .3s, color .3s, transform .3s; padding: 0; }
.f-social a:hover { background: var(--yellow); color: var(--black); transform: translateY(-3px); padding-left: 0; }

/* Giant footer wordmark */
.f-mark { padding: 20px 0 0; position: relative; }
.f-mark-txt {
  font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(4rem, 16vw, 16rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.12);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  -webkit-background-clip: text; background-clip: text;
}

.f-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.f-bottom .status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 12px; letter-spacing: .05em; }
.f-bottom .status::before { content: ''; width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 0 rgba(34,197,94,0.55); animation: pulseRing 1.6s infinite; }

@media (max-width: 900px) {
  .ph2-grid { grid-template-columns: 1fr; gap: 24px; }
  .ph2-orbs { display: none; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .f-cta { grid-template-columns: 1fr; gap: 24px; }
  .pf-hero { grid-template-columns: 1fr; }
  .pf-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
  .p-w6, .p-w4 { grid-column: span 4; }
  .p-w3, .p-w2 { grid-column: span 2; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat-bar > div:nth-child(2) { border-right: 0; }
  .stat-bar > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .f-grid { grid-template-columns: 1fr; }
  .pf-bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .p-w6, .p-w4, .p-w3, .p-w2 { grid-column: span 1; }
  .stat-bar { grid-template-columns: 1fr; }
  .stat-bar > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-bar > div:last-child { border-bottom: 0; }
}

/* Scroll reveal float (antigravity) */
.float-up { opacity: 0; transform: translateY(60px) scale(.98); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.float-up.in { opacity: 1; transform: none; }
.float-left { opacity: 0; transform: translateX(-40px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.float-left.in { opacity: 1; transform: none; }
.float-right { opacity: 0; transform: translateX(40px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.float-right.in { opacity: 1; transform: none; }
.float-rot { opacity: 0; transform: translateY(50px) rotate(-3deg); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.float-rot.in { opacity: 1; transform: none; }

/* ============================================================
   V4: Real logo, wider container, fixes for ticker + social
   ============================================================ */

/* Logo image (replaces .brand-mark + .brand-name for consistency) */
.logo-img { height: 34px; width: auto; display: block; transition: transform .3s var(--ease); }
.brand:hover .logo-img { transform: scale(1.03); }
/* White variant for dark surfaces (footer / any dark page-hero nav) */
.logo-img.white { filter: brightness(0) invert(1); }

/* Yellow ticker \u2014 make .filled visible on yellow background */
.ticker-band.yellow .ticker span.filled { color: var(--black) !important; -webkit-text-stroke: 0 !important; }
.ticker-band.yellow .ticker span { color: transparent; }

/* Footer social buttons: don't inherit .f-col a hover padding */
.f-col .f-social a { padding: 0 !important; display: grid !important; }
.f-col .f-social a:hover { padding-left: 0 !important; padding-right: 0 !important; color: var(--black); }

/* Wider hero image on desktop given the wider container */
@media (min-width: 1200px) {
  .hero-bento .bento { grid-auto-rows: minmax(160px, auto); }
}

/* ---------- SERVICES V2 (unique design) ---------- */
.svc-intro { padding: 60px 0 20px; position: relative; }
.svc-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; }
.svc-intro h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: 12px; }
.svc-intro .count-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--black);
  padding: 8px 16px; border-radius: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
}
.svc-intro .count-badge .num { font-size: 22px; letter-spacing: -.02em; }

/* Interactive tabbed service selector */
.svc-explorer { display: grid; grid-template-columns: 380px 1fr; gap: 40px; margin: 40px 0 0; align-items: start; }
.svc-tabs { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 6px; }
.svc-tab {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  cursor: pointer; text-align: left; width: 100%;
  transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.svc-tab .st-ix {
  font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: .1em;
  color: var(--text-muted); flex: 0 0 auto;
}
.svc-tab .st-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--light); color: var(--black); display: grid; place-items: center; flex: 0 0 44px; transition: background .3s, color .3s; }
.svc-tab .st-icon svg { width: 20px; height: 20px; }
.svc-tab .st-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; color: var(--black); }
.svc-tab .st-arrow { margin-left: auto; color: var(--text-muted); transition: transform .3s, color .3s; }
.svc-tab .st-arrow svg { width: 16px; height: 16px; }
.svc-tab:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.svc-tab.active { background: var(--black); border-color: var(--black); }
.svc-tab.active .st-ix { color: var(--yellow); }
.svc-tab.active .st-icon { background: var(--yellow); color: var(--black); }
.svc-tab.active .st-name { color: var(--white); }
.svc-tab.active .st-arrow { color: var(--yellow); transform: translateX(4px); }

.svc-panel-wrap { position: relative; min-height: 500px; }
.svc-panel {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 44px 44px; box-shadow: var(--shadow-sm);
  display: none;
}
.svc-panel.active { display: block; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.svc-panel .sp-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.svc-panel .sp-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--yellow); color: var(--black); display: grid; place-items: center; }
.svc-panel .sp-ic svg { width: 26px; height: 26px; }
.svc-panel .sp-tag { font-family: var(--font-heading); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--yellow); font-weight: 700; margin-bottom: 4px; }
.svc-panel h3 { margin: 0; font-size: 1.9rem; }
.svc-panel .sp-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
.svc-panel .sp-media { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.svc-panel .sp-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-panel .sp-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
.svc-panel .sp-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.svc-panel .sp-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--black); font-weight: 500; font-size: .95rem; }
.svc-panel .sp-list svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--yellow); margin-top: 2px; }
.svc-panel .sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.svc-panel .sp-chip {
  padding: 6px 12px; border-radius: 999px;
  background: var(--light); border: 1px solid var(--border);
  font-family: var(--font-heading); font-size: 11.5px; font-weight: 600;
  color: var(--black); letter-spacing: .04em;
}

/* Capabilities matrix */
.cap-matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cap-cell {
  padding: 22px 22px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.cap-cell:hover { transform: translateY(-4px); background: var(--black); color: var(--white); border-color: transparent; }
.cap-cell:hover .c-ic { background: var(--yellow); color: var(--black); }
.cap-cell .c-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--light); color: var(--black); display: grid; place-items: center; margin-bottom: 14px; transition: background .3s, color .3s; }
.cap-cell .c-ic svg { width: 18px; height: 18px; }
.cap-cell .c-t { color: #ffc802; font-family: var(--font-heading); font-weight: 700; font-size: .98rem; margin: 0 0 4px; }
.cap-cell .c-d { font-size: 13px; color: var(--text-muted); margin: 0; transition: color .3s; }
.cap-cell:hover .c-d { color: rgba(255,255,255,0.7); }

/* Tech stack chips */
.stack-block { padding: 30px 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); }
.stack-block h4 { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--yellow); font-weight: 700; margin-bottom: 16px; }
.stack-block h4::before { content: ''; width: 20px; height: 1.5px; background: var(--yellow); }
.stack-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-chip {
  padding: 8px 14px; border-radius: 8px;
  background: var(--light); border: 1px solid var(--border);
  font-family: var(--font-heading); font-weight: 600; font-size: 13px;
  color: var(--black); transition: transform .3s, background .3s, color .3s;
}
.stack-chip:hover { background: var(--black); color: var(--yellow); transform: translateY(-2px); }
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 1024px) {
  .svc-intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-explorer { grid-template-columns: 1fr; }
  .svc-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .svc-tab { flex: 0 0 260px; }
  .svc-panel .sp-body { grid-template-columns: 1fr; }
  .cap-matrix { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .services-grid, .why-grid, .stat-strip, .team-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .testimonial-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .svc-block, .contact-grid, .cta-banner { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 32px; }
  .cta-banner .actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-media .float-card { right: 16px; bottom: 16px; }
  .contact-info { position: static; }
}
@media (max-width: 640px) {
  .nav-links, .nav .btn-primary { display: none; }
  .menu-toggle { display: grid; }
  .services-grid, .why-grid, .stat-strip, .team-grid, .process-grid,
  .portfolio-grid, .testimonial-grid, .values-grid, .footer-grid, .row-2 { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 70px; }
  .hero-badge, .hero-badge.top { display: none; }
  .split-media .float-card { position: static; margin-top: -30px; }
  .contact-form, .contact-info { padding: 28px 22px; }
}
