/* =========================================================
   MARKIVO360 — Stylesheet
   Premium Dark Digital Agency / Creative-Tech theme
========================================================= */

:root {
  --bg: #050807;
  --bg-secondary: #0B160D;
  --white: #FFFFFF;
  --lime: #B7FF00;
  --muted: #A6ADA5;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(183, 255, 0, 0.15);
  --glass-border-strong: rgba(183, 255, 0, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.lime { color: var(--lime); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 120px 0; position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
h3 { font-size: 19px; }
h4 { font-size: 17px; }

p { margin: 0; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 16px;
}

.body-text {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 46ch;
}

.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { margin-top: 4px; }
.section-sub { color: var(--muted); font-size: 15px; margin-top: 18px; line-height: 1.7; }

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* =========================================================
   Buttons
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 13px; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(3px); }

.btn-primary {
  background: var(--lime);
  color: #06110A;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(183,255,0,0.4), 0 12px 30px -8px rgba(183,255,0,0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-secondary:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 20px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; margin-top: 6px; }

/* =========================================================
   Glass cards
========================================================= */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* =========================================================
   Navbar
========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(5,8,7,0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(183,255,0,0.08);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}
.nav-link { color: var(--muted); position: relative; padding: 6px 0; transition: color 0.25s var(--ease); }
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--lime); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.mobile-only-cta { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--lime);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 32px 80px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(183,255,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183,255,0,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 90%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  background: radial-gradient(circle, rgba(183,255,0,0.5) 0%, rgba(183,255,0,0) 70%);
  animation: drift 16s ease-in-out infinite alternate;
}
.glow-a { width: 620px; height: 620px; top: -220px; left: 10%; }
.glow-b { width: 480px; height: 480px; bottom: -200px; right: 8%; animation-delay: -6s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 20px) scale(1.06); }
}

.particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0.5;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  from { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  to { transform: translateY(-140px); opacity: 0; }
}

.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: center; }
.hero-title {
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.12;
  margin: 22px 0 24px;
}
.hero-sub { color: var(--muted); font-size: 16.5px; max-width: 560px; margin: 0 auto 36px; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-visual { margin-top: 56px; display: flex; justify-content: center; }
.hero-visual img {
  width: 120px;
  filter: drop-shadow(0 0 40px rgba(183,255,0,0.35));
  animation: floatLogo 5s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* =========================================================
   Brand statement
========================================================= */
.brand-statement {
  text-align: center;
  padding: 90px 32px;
  position: relative;
}
.tiny-label {
  letter-spacing: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}
.statement-heading {
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.25;
}

/* =========================================================
   Services
========================================================= */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.service-card {
  flex: 1 1 calc(25% - 15px);
  max-width: calc(25% - 15px);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  box-shadow: 0 20px 40px -20px rgba(183,255,0,0.25);
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(183,255,0,0.1);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.card-arrow {
  position: absolute;
  top: 28px; right: 26px;
  color: var(--lime);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  font-size: 13px;
}
.service-card:hover .card-arrow { opacity: 1; transform: translate(0,0); }

/* =========================================================
   About
========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 34px;
}
.feature {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.feature-num { color: var(--lime); font-size: 12.5px; font-weight: 700; }
.feature h4 { margin: 8px 0 6px; font-size: 14.5px; }
.feature p { color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.about-visual {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: rgba(11,22,13,0.5);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-visual-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,255,0,0.22), rgba(5,8,7,0) 70%);
}
.about-visual img { width: 190px; position: relative; z-index: 1; }

/* =========================================================
   Why section
========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  padding: 34px 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: var(--glass-border-strong); }
.why-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(183,255,0,0.1);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  margin-bottom: 20px;
}
.why-card h4 { margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* =========================================================
   Portfolio
========================================================= */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.filter-pill {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-pill:hover { border-color: var(--glass-border-strong); color: var(--white); }
.filter-pill.active { background: var(--lime); color: #06110A; border-color: transparent; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: block;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  box-shadow: 0 24px 44px -22px rgba(183,255,0,0.3);
}
.portfolio-thumb { overflow: hidden; height: 190px; position: relative; }
.portfolio-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,7,0) 40%, rgba(5,8,7,0.55) 100%);
}
.portfolio-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.06); }
.portfolio-body { padding: 22px 24px; }
.cat-label { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.portfolio-body h4 { margin: 10px 0 6px; }
.portfolio-body p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.view-link { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.view-link i { font-size: 11px; transition: transform 0.3s var(--ease); }
.portfolio-card:hover .view-link i { transform: translateX(4px); }

.portfolio-card.hidden { display: none; }
.portfolio-empty { text-align: center; color: var(--muted); margin-top: 40px; font-size: 14px; }

/* =========================================================
   Stacked project cards (scroll effect)
   One sticky pin + absolutely-stacked cards, driven by
   scroll position. Smooth, lightweight (class toggles +
   CSS transitions only, no per-frame style writes).
========================================================= */
.stack-section { padding-top: 0; overflow: visible; }
.stack-wrap {
  position: relative;
  height: calc(var(--stack-count, 4) * 85vh);
  margin-top: 20px;
}
.stack-pin {
  position: sticky;
  top: 110px;
  height: 62vh;
  max-height: 460px;
  min-height: 380px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}
.stack-card {
  position: absolute;
  inset: 0;
  margin: 0 32px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
  opacity: 0;
  transform: scale(0.9) translateY(46px);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), border-color 0.4s var(--ease);
}
.stack-card.is-prev {
  opacity: 0.4;
  transform: scale(0.93) translateY(-26px);
  z-index: 2;
  pointer-events: none;
}
.stack-card.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 3;
  pointer-events: auto;
  border-color: var(--glass-border-strong);
}
.stack-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,7,0.15) 0%, rgba(5,8,7,0.55) 55%, rgba(5,8,7,0.92) 100%),
    linear-gradient(0deg, rgba(11,22,13,0.5), rgba(11,22,13,0.5));
}
.stack-card-content {
  position: relative;
  z-index: 1;
  padding: 40px 44px;
  max-width: 560px;
}
.stack-card-content h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 12px 0 14px;
  color: var(--white);
}
.stack-card-content p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.stack-card-content .cat-label { color: var(--lime); }
.stack-card-content .view-link { color: var(--white); }
.stack-card-content .view-link:hover { color: var(--lime); }

.stack-progress {
  position: absolute;
  bottom: -34px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.stack-progress span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.stack-progress span.active { background: var(--lime); transform: scale(1.3); }

@media (max-width: 640px) {
  .stack-wrap { height: calc(var(--stack-count, 4) * 68vh); }
  .stack-pin { top: 90px; height: 54vh; min-height: 340px; padding: 0 20px; }
  .stack-card { margin: 0 8px; }
  .stack-card-content { padding: 26px 24px; }
}

/* =========================================================
   Process
========================================================= */
.process-track {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  margin-top: 20px;
  padding: 0 10px;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 24px; left: 60px; right: 60px; height: 2px;
  background-image: linear-gradient(90deg, rgba(183,255,0,0.35) 0 10px, transparent 10px 20px);
  background-size: 20px 2px;
  background-repeat: repeat-x;
}
.process-step { text-align: center; flex: 1; position: relative; z-index: 1; }
.process-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 12.5px; line-height: 1.55; max-width: 190px; margin: 0 auto; }

/* =========================================================
   Testimonials
========================================================= */
.demo-flag {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(183,255,0,0.35);
  color: var(--muted);
  font-size: 11.5px;
  font-style: italic;
  letter-spacing: 0.2px;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.testimonial-card {
  padding: 30px 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  box-shadow: 0 22px 44px -24px rgba(183,255,0,0.28);
}
.testimonial-card .stars {
  color: var(--lime);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-quote {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 108px;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}
/* Initials avatar — used in place of a real photo where none exists,
   sized/bordered to match .testimonial-avatar exactly. */
.testimonial-avatar.avatar-initials {
  display: flex; align-items: center; justify-content: center;
  background: rgba(183,255,0,0.08);
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
}
.testimonial-person h4 { font-size: 14px; margin-bottom: 3px; }
.testimonial-person h4 a:hover { color: var(--lime); }
.testimonial-location { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.testimonial-location .flag { font-size: 13px; }

.testimonial-dots { display: none; }

@media (max-width: 1180px) {
  .testimonial-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .testimonial-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 4px;
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testimonial-track::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
  }
  .testimonial-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .testimonial-dots span.active { background: var(--lime); transform: scale(1.3); }
}

@media (max-width: 480px) {
  .testimonial-card { flex-basis: 88%; }
}

/* =========================================================
   FAQ
========================================================= */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item.open { border-color: var(--glass-border-strong); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.faq-question i { color: var(--lime); font-size: 14px; transition: transform 0.35s var(--ease); }
.faq-item.open .faq-question i { transform: rotate(135deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 24px 22px; }
.faq-answer p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* =========================================================
   Contact
========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: flex-start;
}
.contact-details { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-details a { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--white); transition: color 0.25s var(--ease); }
.contact-details a:hover { color: var(--lime); }
.contact-details i { color: var(--lime); width: 16px; }
.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.social-row a:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); }

.contact-form { padding: 36px; }
.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.field { flex: 1; margin-bottom: 16px; }
.form-row .field { margin-bottom: 0; }
.field label { display: block; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime);
  outline: none;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7FF00' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }

/* Form dropdowns — opened options list uses the dark theme so it matches the closed field. */
.field select { color-scheme: dark; }
.field select option {
  background-color: #0B160D;
  color: #FFFFFF;
}
.field select option[value=""] { color: #A6ADA5; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.form-status.success { background: rgba(183,255,0,0.1); border: 1px solid rgba(183,255,0,0.35); color: var(--lime); }
.form-status.error { background: rgba(255,80,80,0.08); border: 1px solid rgba(255,80,80,0.35); color: #ff8080; }

/* =========================================================
   Footer
========================================================= */
.footer { padding: 90px 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand img { height: 46px; margin-bottom: 14px; }
.footer-brand p:nth-of-type(1) { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.footer-tagline { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.footer-col h5 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 12px; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 12.5px;
}

/* =========================================================
   Back to top
========================================================= */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: #06110A;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 90;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* =========================================================
   WhatsApp floating button
========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 88px; right: 25px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: #25D366;
  font-size: 26px;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.6);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-strong);
  box-shadow: 0 16px 34px -14px rgba(183,255,0,0.3);
}

@media (max-width: 640px) {
  .whatsapp-float { bottom: 86px; right: 26px; width: 48px; height: 48px; font-size: 23px; }
}

/* =========================================================
   Custom cursor (desktop only — enabled via JS)
========================================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--lime);
  box-shadow: 0 0 10px 2px rgba(183,255,0,0.55);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(183,255,0,0.45);
  transition: opacity 0.25s ease, transform 0.18s ease-out, border-color 0.3s ease, background 0.3s ease;
}
.cursor-ring.hovering {
  transform: translate(-50%, -50%) scale(1.7);
  border-color: rgba(183,255,0,0.85);
  background: rgba(183,255,0,0.07);
}
body.custom-cursor-enabled.cursor-visible .cursor-dot,
body.custom-cursor-enabled.cursor-visible .cursor-ring {
  opacity: 1;
}
/* Hide the native cursor only once the custom one is confirmed active */
body.custom-cursor-enabled.cursor-visible,
body.custom-cursor-enabled.cursor-visible a,
body.custom-cursor-enabled.cursor-visible button,
body.custom-cursor-enabled.cursor-visible input,
body.custom-cursor-enabled.cursor-visible select,
body.custom-cursor-enabled.cursor-visible textarea {
  cursor: none;
}

@media (max-width: 860px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* =========================================================
   Reveal-on-scroll
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1024px) {
  .service-card { flex-basis: calc(50% - 10px); max-width: calc(50% - 10px); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 320px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    bottom: 0;
    background: rgba(5,8,7,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
    gap: 26px;
    font-size: 18px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .mobile-only-cta { display: inline-flex; margin-top: 10px; }
  .desktop-only-cta { display: none; }
  .hamburger { display: flex; }

  .process-track { flex-direction: column; gap: 34px; }
  .process-track::before { display: none; }
  .process-step p { max-width: none; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .service-card { flex-basis: 100%; max-width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 16px; }
  .hero-title { font-size: clamp(30px, 8vw, 40px); }
}


/* =========================================================
   About — smartphone mockup (replaces logo visual)
========================================================= */
.phone-mockup {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 348px;
  transform: rotate(8deg);
}
.phone-frame {
  position: absolute; inset: 0;
  border-radius: 38px;
  border: 7px solid #1c2b22;
  background: #0a110d;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.75), 0 0 60px -20px rgba(183,255,0,0.18);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  width: 80px; height: 20px;
  transform: translateX(-50%);
  background: #1c2b22;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  position: absolute;
  inset: 26px 12px 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, #14201a, #0e1813);
  padding: 22px 14px 16px;
  display: flex; flex-direction: column;
}
.ph-bar { width: 34px; height: 6px; border-radius: 4px; background: var(--lime); margin-bottom: 20px; }
.ph-hero {
  height: 40px; border-radius: 8px;
  background: linear-gradient(90deg, #8FD31A 0%, rgba(143,211,26,0.55) 60%, rgba(143,211,26,0) 100%);
}
.ph-line { width: 70%; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.28); margin: 8px 0 16px; }
.ph-card {
  flex: 1;
  border: 1px solid rgba(183,255,0,0.22);
  border-radius: 12px;
  background: rgba(255,255,255,0.015);
  margin-bottom: 12px;
}
.ph-cta { height: 30px; border-radius: 999px; background: var(--lime); margin-top: 2px; }
.phone-badge {
  position: absolute;
  right: -66px; bottom: 30px;
  transform: rotate(-8deg);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(11,22,13,0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  line-height: 1.25;
}
.phone-badge strong { font-family: var(--font-head); color: var(--lime); font-size: 19px; }
.phone-badge span { color: var(--muted); font-size: 11px; }
@media (max-width: 1024px) { .phone-mockup { width: 190px; height: 330px; } }
@media (max-width: 480px) {
  .phone-mockup { width: 170px; height: 296px; }
  .phone-badge { right: -44px; }
}

/* =========================================================
   Site-wide background (extends the hero concept top to bottom)
========================================================= */
.site-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.site-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(183,255,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183,255,0,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 90%);
}
.site-bg-glow {
  position: absolute; border-radius: 50%; filter: blur(10px);
  background: radial-gradient(circle, rgba(183,255,0,0.5) 0%, rgba(183,255,0,0) 70%);
  opacity: 0.32;
  animation: drift 16s ease-in-out infinite alternate;
}
.site-bg-glow.g1 { width: 620px; height: 620px; top: -220px; left: 10%; }
.site-bg-glow.g2 { width: 480px; height: 480px; bottom: -200px; right: 8%; animation-delay: -6s; }
.site-bg-glow.g3 { width: 420px; height: 420px; top: 45%; left: -180px; opacity: 0.16; animation-delay: -10s; }
.site-stars { position: absolute; inset: 0; }
.site-star {
  position: absolute; bottom: -8px;
  width: 2px; height: 2px; border-radius: 50%;
  background: var(--lime);
  opacity: 0;
  animation: starRise linear infinite;
}
@keyframes starRise {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: var(--star-o, 0.4); }
  85% { opacity: var(--star-o, 0.4); }
  100% { transform: translateY(-108vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .site-star { display: none; } }
