/* ==========================================================================
   Node Informatics — Premium Digital Marketing Agency
   Shared stylesheet for all pages
   ========================================================================== */

/* -------- 1. Theme tokens -------------------------------------------------- */
:root {
  /* palette: electric (default) */
  --brand-500: #3D5AFE;
  --brand-600: #2945E5;
  --brand-100: #E8ECFF;
  --brand-50:  #F4F6FF;
  --accent:    #9D4EDD;

  --ink-900:   #0A1A3F;
  --ink-700:   #1E2A5C;
  --ink-500:   #4B5778;
  --ink-400:   #6B7799;
  --ink-300:   #A0AAC4;

  --bg:        #FFFFFF;
  --bg-soft:   #F4F6FB;
  --bg-tint:   #EEF1FA;
  --line:      #E4E8F2;

  --shadow-sm: 0 4px 14px rgba(13, 28, 79, .06);
  --shadow-md: 0 12px 40px rgba(13, 28, 79, .08);
  --shadow-lg: 0 24px 64px rgba(13, 28, 79, .12);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --container: 1240px;
  --section-y: clamp(64px, 9vw, 128px);

  --font-display: "Sora", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gradient-cta: linear-gradient(135deg, var(--brand-500) 0%, var(--accent) 100%);
}

/* palettes --------------------------------------------------------- */
[data-palette="electric"] {
  --brand-500: #3D5AFE;
  --brand-600: #2945E5;
  --brand-100: #E8ECFF;
  --brand-50:  #F4F6FF;
  --accent:    #9D4EDD;
  --ink-900:   #0A1A3F;
}
[data-palette="midnight"] {
  --brand-500: #5B6CFF;
  --brand-600: #3F4FE8;
  --brand-100: #DCE0FF;
  --brand-50:  #EEF0FF;
  --accent:    #06B6D4;
  --ink-900:   #050B27;
}
[data-palette="emerald"] {
  --brand-500: #10B981;
  --brand-600: #059669;
  --brand-100: #D1FAE5;
  --brand-50:  #ECFDF5;
  --accent:    #0EA5E9;
  --ink-900:   #0B2A1F;
}
[data-palette="sunset"] {
  --brand-500: #F97316;
  --brand-600: #EA580C;
  --brand-100: #FFE5D0;
  --brand-50:  #FFF7ED;
  --accent:    #DB2777;
  --ink-900:   #2A130A;
}

/* dark mode ------------------------------------------------------- */
[data-theme="dark"] {
  --bg:      #07091A;
  --bg-soft: #0E1230;
  --bg-tint: #131840;
  --line:    #1F2756;
  --ink-900: #F4F6FF;
  --ink-700: #D6DBF1;
  --ink-500: #A4ACCF;
  --ink-400: #8089AE;
  --ink-300: #5C6691;
  --brand-50:  #131A45;
  --brand-100: #1B2566;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .55);
}

/* -------- 2. Resets & base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-500); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p  { margin: 0 0 1em; text-wrap: pretty; }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-500);
  line-height: 1.65;
  max-width: 64ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section { padding-block: var(--section-y); position: relative; }

/* -------- 3. Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn i { font-size: 13px; }

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 10px 24px -8px var(--brand-500);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 32px -10px var(--brand-500); }

.btn-solid {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 10px 24px -10px var(--brand-500);
}
.btn-solid:hover { color: #fff; background: var(--brand-600); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-500); }

.btn-light {
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-500);
  font-weight: 600;
  font-size: 14px;
}
.btn-link i { transition: transform .2s ease; }
.btn-link:hover i { transform: translateX(4px); }

/* -------- 4. Navbar ------------------------------------------------------- */
.nav-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav-wrap.scrolled {
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient-cta);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 16px -4px var(--brand-500);
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
}
.nav-links a:hover { color: var(--brand-500); background: var(--brand-50); }
.nav-links a.active { color: var(--brand-500); background: var(--brand-50); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-700);
  cursor: pointer;
  transition: all .2s ease;
}
.icon-btn:hover { color: var(--brand-500); border-color: var(--brand-500); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transition: transform .3s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 16px; transform: translateX(-50%); }
.menu-toggle span:nth-child(2) { top: 21px; transform: translateX(-50%); }
.menu-toggle span:nth-child(3) { top: 26px; transform: translateX(-50%); }
.menu-toggle.open span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 78px 16px auto 16px;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .nav-links a { width: 100%; padding: 14px 16px; }
  .menu-toggle { display: block; }
  .nav-actions .btn { display: none; }
}

/* -------- 5. Hero --------------------------------------------------------- */
.hero {
  padding-top: calc(var(--section-y) + 60px);
  padding-bottom: var(--section-y);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--brand-500); }
.hero h1 .gradient {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .typed-cursor {
  display: inline-block;
  width: 3px;
  background: var(--brand-500);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: -.05em;
  height: .9em;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta .item { font-size: 13px; color: var(--ink-400); }
.hero-meta .item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink-900);
  font-weight: 700;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* -------- 6. Decorative shapes ------------------------------------------- */
.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape-blue {
  width: 360px; height: 360px;
  background: var(--brand-500);
  border-radius: 80px;
  filter: blur(0);
  opacity: .06;
}
.shape-blue-fill {
  width: 280px; height: 280px;
  background: var(--brand-500);
  border-radius: 60px;
}
.shape-circle {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--brand-100);
}
.shape-ring {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 18px solid var(--brand-100);
}
.dots {
  width: 120px; height: 120px;
  background-image: radial-gradient(var(--brand-500) 1.4px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: .35;
}
.hero > .container { position: relative; z-index: 1; }

/* -------- 7. Hero illustration ------------------------------------------- */
.hero-illu {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
}
.hero-illu .card {
  position: absolute;
  background: var(--bg);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
}
.hero-illu .card .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand-50);
  color: var(--brand-500);
}
.hero-illu .card .ico.green { background: #DCFCE7; color: #16A34A; }
.hero-illu .card .ico.purple { background: #F3E8FF; color: #9333EA; }
.hero-illu .card .ico.orange { background: #FFEDD5; color: #EA580C; }
.hero-illu .card label { font-size: 11px; color: var(--ink-400); display: block; }
.hero-illu .card strong { font-family: var(--font-display); font-size: 16px; color: var(--ink-900); }

@keyframes float-y { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
.float { animation: float-y 6s ease-in-out infinite; }
.float.delay-1 { animation-delay: -2s; }
.float.delay-2 { animation-delay: -4s; }

/* -------- 8. Section header (shared) ------------------------------------ */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .lead { margin-inline: auto; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head.left .lead { margin-inline: 0; }

/* -------- 9. Cards / services -------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.svc-card {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
  isolation: isolate;
}
.svc-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 200px; height: 200px;
  background: var(--brand-500);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .4s ease, transform .4s ease;
  z-index: -1;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.svc-card .ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand-500);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 24px;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.svc-card:hover .ico {
  background: var(--gradient-cta);
  color: #fff;
  transform: rotate(-6deg);
}
.svc-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.svc-card p { color: var(--ink-500); font-size: 14.5px; margin-bottom: 18px; }
.svc-card .num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-300);
  letter-spacing: 0.1em;
}

/* -------- 10. Trusted-by logos ------------------------------------------ */
.logos {
  padding-block: 56px;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.logos .track {
  display: flex;
  align-items: center;
  gap: 64px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos .row {
  display: flex; align-items: center; gap: 64px;
  animation: marquee 32s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.logo-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-400);
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: .6;
  transition: opacity .2s, color .2s;
}
.logo-pill:hover { opacity: 1; color: var(--ink-900); }
.logo-pill svg { flex: 0 0 auto; }
.logos-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 28px;
  font-weight: 600;
}

/* -------- 11. About preview / split ------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > :first-child { order: 0; }
}

.media-stack { position: relative; aspect-ratio: 4/4.4; }
.media-stack .ms-bg {
  position: absolute;
  inset: 0 30% 30% 0;
  background: var(--brand-500);
  border-radius: var(--radius-xl);
}
.media-stack .ms-fg {
  position: absolute;
  inset: 30% 0 0 30%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* -------- 12. Why-choose / feature list --------------------------------- */
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.feature-list li {
  display: flex; gap: 16px; align-items: flex-start;
}
.feature-list .ico {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-500);
  display: grid; place-items: center;
  font-size: 16px;
}
.feature-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink-900);
  font-size: 17px;
  margin-bottom: 4px;
}
.feature-list span { color: var(--ink-500); font-size: 14.5px; }

/* -------- 13. Stats counter --------------------------------------------- */
.stats {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px clamp(28px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.stats::before, .stats::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.stats::before {
  width: 320px; height: 320px;
  background: radial-gradient(closest-side, var(--brand-500), transparent 70%);
  opacity: .35;
  top: -120px; right: -80px;
}
.stats::after {
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, var(--accent), transparent 70%);
  opacity: .3;
  bottom: -90px; left: 10%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat {
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 24px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #C5CCFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat .num .suffix { font-size: .55em; color: var(--brand-500); }
.stat .label {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-top: 8px;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-left: 0; }
}

/* -------- 14. Portfolio cards ------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.case {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case .vis {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.case .body {
  padding: 24px 26px 26px;
}
.case .tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.case .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand-50);
  color: var(--brand-500);
  padding: 4px 10px;
  border-radius: 999px;
}
.case h3 { font-size: 1.2rem; margin-bottom: 8px; }
.case p { font-size: 14px; color: var(--ink-500); margin: 0; }
.case .results {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 16px 26px 26px;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.case .results .r strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-500);
  display: block;
}
.case .results .r span { font-size: 12px; color: var(--ink-400); }

/* portfolio filter */
.filter-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-row button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.filter-row button:hover { border-color: var(--brand-500); color: var(--brand-500); }
.filter-row button.active {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}

/* -------- 15. Testimonials ---------------------------------------------- */
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testi .quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--brand-500);
  opacity: .15;
  position: absolute;
  top: 12px; right: 24px;
}
.testi .stars { color: #FBBF24; margin-bottom: 14px; font-size: 14px; }
.testi p { color: var(--ink-700); font-size: 15.5px; line-height: 1.6; margin-bottom: 24px; }
.testi .who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testi .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 14px;
}
.testi .who strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink-900); }
.testi .who span { font-size: 12.5px; color: var(--ink-400); }

@media (max-width: 900px) {
  .testi-track { grid-template-columns: 1fr; }
}

/* -------- 16. CTA banner ------------------------------------------------ */
.cta-banner {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.75); margin: 0; max-width: 52ch; }
.cta-banner .cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta-banner::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand-500), transparent 70%);
  right: -120px; top: 50%; transform: translateY(-50%);
  opacity: .35;
}
@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner .cta-btns { justify-content: flex-start; }
}

/* -------- 17. Footer ---------------------------------------------------- */
footer.site-footer {
  background: var(--bg-soft);
  padding-block: 80px 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-grid h5 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-900);
  margin-bottom: 18px;
}
.footer-grid p { font-size: 14px; color: var(--ink-500); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid ul a {
  font-size: 14px;
  color: var(--ink-500);
}
.footer-grid ul a:hover { color: var(--brand-500); }
.newsletter {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-top: 14px;
}
.newsletter input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-900);
  outline: none;
}
.newsletter button {
  border: 0;
  background: var(--gradient-cta);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
}
.social-row { display: flex; gap: 8px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-700);
  font-size: 14px;
}
.social-row a:hover { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-400);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* -------- 18. Floating UI (whatsapp / back-to-top / progress) ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0%; height: 3px;
  background: var(--gradient-cta);
  z-index: 200;
  transition: width .1s linear;
}

.float-actions {
  position: fixed;
  right: 20px; bottom: 20px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 90;
}
.float-actions a, .float-actions button {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease;
}
.float-actions a:hover, .float-actions button:hover { transform: translateY(-3px); color: #fff; }
.fa-whatsapp { background: #25D366; }
.fa-totop {
  background: var(--ink-900);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.fa-totop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* -------- 19. Page hero (interior pages) ------------------------------- */
.page-hero {
  padding-top: calc(var(--section-y) + 60px);
  padding-bottom: calc(var(--section-y) - 16px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .crumbs {
  display: inline-flex; gap: 8px;
  font-size: 13px; color: var(--ink-400);
  margin-top: 14px;
}
.page-hero .crumbs a { color: var(--ink-500); }
.page-hero .crumbs span { color: var(--brand-500); }

/* -------- 20. Service detail rows --------------------------------------- */
.svc-detail + .svc-detail { margin-top: 96px; }

/* -------- 21. Pricing --------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--bg);
  position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
  transform: translateY(-12px);
}
.price-card.featured h3 { color: #fff; }
.price-card.featured .price { color: #fff; }
.price-card.featured .feat span { color: rgba(255,255,255,.78); }
.price-card.featured .feat i { color: var(--brand-500); }
.price-card .badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.price-card .desc { font-size: 13.5px; color: var(--ink-400); margin-bottom: 24px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex; align-items: baseline; gap: 4px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.price-card .price .per { font-size: 14px; color: var(--ink-400); font-weight: 500; }
.price-card .feat {
  list-style: none; padding: 0; margin: 28px 0;
  display: grid; gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.price-card.featured .feat { border-top-color: rgba(255,255,255,.12); }
.price-card .feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.price-card .feat i { color: var(--brand-500); margin-top: 4px; }
.price-card .feat span { color: var(--ink-700); }
.price-card .btn { margin-top: auto; }

/* -------- 22. FAQ accordion --------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  padding: 22px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-500);
  display: grid; place-items: center;
  flex: 0 0 auto;
  transition: transform .25s;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--brand-500); color: #fff; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-500); padding-bottom: 22px; margin: 0; font-size: 15px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* -------- 23. Process timeline ----------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 28px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-500) 0 6px, transparent 6px 14px);
  opacity: .35;
  z-index: 0;
}
.step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.step .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand-500);
  color: var(--brand-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
}
.step h4 { font-family: var(--font-display); font-size: 17px; margin: 0 0 8px; color: var(--ink-900); }
.step p { font-size: 14px; color: var(--ink-500); margin: 0; }
@media (max-width: 800px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
}

/* -------- 24. Team ------------------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.member {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member .av {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gradient-cta);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  position: relative;
}
.member .av::before {
  content: ""; position: absolute; inset: -8px;
  border: 1px dashed var(--brand-100);
  border-radius: 50%;
}
.member h4 { font-size: 17px; margin: 0 0 4px; }
.member .role { font-size: 13px; color: var(--brand-500); margin-bottom: 16px; }
.member .links { display: flex; gap: 8px; justify-content: center; }
.member .links a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--ink-500);
  font-size: 13px;
}
.member .links a:hover { background: var(--brand-500); color: #fff; }

/* -------- 25. Timeline (history / why) --------------------------------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: var(--brand-100);
}
.tl-item {
  position: relative;
  padding-left: 80px;
  padding-block: 18px;
}
.tl-item .dot {
  position: absolute;
  left: 14px; top: 22px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand-500);
  display: grid; place-items: center;
  color: var(--brand-500);
  font-size: 12px;
}
.tl-item h4 { margin: 0 0 6px; font-size: 18px; }
.tl-item p { margin: 0; color: var(--ink-500); font-size: 15px; }

/* -------- 26. Contact --------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-900);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.contact-info { display: grid; gap: 18px; }
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-500);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.contact-card label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 4px;
}
.contact-card strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink-900);
}
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  height: 280px;
  position: relative;
}

/* -------- 27. Tweaks panel --------------------------------------------- */
.tweaks {
  position: fixed;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  width: 220px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks h6 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 12px;
}
.tweaks .sw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tweaks .sw {
  cursor: pointer;
  border: 0;
  padding: 0;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  transition: transform .15s, border-color .15s;
}
.tweaks .sw .top { flex: 1; }
.tweaks .sw .bot { height: 16px; background: rgba(0,0,0,.08); }
.tweaks .sw[data-key="electric"]  .top { background: linear-gradient(135deg, #3D5AFE, #9D4EDD); }
.tweaks .sw[data-key="midnight"]  .top { background: linear-gradient(135deg, #5B6CFF, #06B6D4); }
.tweaks .sw[data-key="emerald"]   .top { background: linear-gradient(135deg, #10B981, #0EA5E9); }
.tweaks .sw[data-key="sunset"]    .top { background: linear-gradient(135deg, #F97316, #DB2777); }
.tweaks .sw.active { border-color: var(--ink-900); transform: scale(1.04); }

/* -------- 28. Misc utilities ------------------------------------------- */
.text-center { text-align: center; }
.muted { color: var(--ink-500); }
.eyebrow.center { display: inline-flex; }

/* fade-in on load (no AOS dependency) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* selection */
::selection { background: var(--brand-500); color: #fff; }
