/* ============================================================
   JM Media — Global Stylesheet
   ============================================================ */

:root {
  /* Electric-blue accent system — used sparingly, reserved for actions */
  --grad-brand: linear-gradient(135deg, #4A74FF 0%, #2F5EFF 55%, #1B3FCC 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(47,94,255,.10), rgba(27,63,204,.10));
  --grad-text: #2F5EFF;
  --grad-ink: linear-gradient(155deg, #1C1D24 0%, #0A0B0E 100%);
  --grad-radial-hero: radial-gradient(50% 55% at 78% 18%, rgba(47,94,255,.12), transparent 70%),
                       radial-gradient(45% 45% at 12% 85%, rgba(47,94,255,.07), transparent 70%);

  --clr-orange: #C9D7FF;
  --clr-pink: #2F5EFF;
  --clr-violet: #0B1830;

  --clr-bg: #F4F3EF;
  --clr-surface: #FFFFFF;
  --clr-surface-alt: #EAE8E1;
  --clr-text: #121319;
  --clr-text-soft: #56585F;
  --clr-text-faint: #71737B;
  --clr-border: #E2DFD6;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(18, 19, 25, .06);
  --shadow-md: 0 16px 36px -18px rgba(18, 19, 25, .30);
  --shadow-lg: 0 30px 60px -22px rgba(18, 19, 25, .35);
  --shadow-electric: 0 20px 44px -18px rgba(47, 94, 255, .40);

  --container: 1160px;
  --nav-h: 78px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ff-heading: "Manrope", "Segoe UI", sans-serif;
  --ff-body: "Inter", "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

:focus-visible {
  outline: 2.5px solid var(--clr-pink);
  outline-offset: 3px;
  border-radius: 4px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.grad-text {
  color: var(--grad-text);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-pink);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-pink);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: var(--shadow-electric);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 50px -18px rgba(47, 94, 255, .48);
  background-position: 100% 0;
}
.btn-secondary {
  background: var(--clr-surface);
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
}
.btn-secondary:hover {
  border-color: var(--clr-text);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--clr-text);
  padding: 10px 4px;
  font-weight: 600;
}
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(244, 243, 239, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 19, 25, .07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.01em;
  color: var(--clr-text);
}
.logo-mark {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-brand .logo-mark { filter: brightness(0) invert(1); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--clr-text-soft);
  position: relative;
  padding: 6px 2px;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--clr-text); }
.nav-links a.active { color: var(--clr-text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--clr-pink);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-brand-text {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--clr-text);
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--clr-bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 8px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 24px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--clr-border);
}
.mobile-menu .btn { margin-top: 20px; }

/* ---------- Hero blobs (restrained, single-hue) ---------- */
.hero {
  padding: 84px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 140%;
  background: var(--grad-radial-hero);
  z-index: -1;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .30;
  z-index: -1;
  animation: float 16s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(16px,-18px) scale(1.05); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--clr-surface-alt); }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--clr-text-soft); }

/* ---------- Cards ---------- */
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--shadow-electric);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--clr-text-soft); font-size: 15px; }

.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--ff-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.stat .label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--clr-text-soft);
}

/* ---------- Browser / phone mockups (pure CSS) ---------- */
.mock-stack { position: relative; }
.browser-mock {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--clr-surface-alt);
  border-bottom: 1px solid var(--clr-border);
}
.browser-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D8D4C9;
}
.browser-bar span:nth-child(1) { background: #B9CBFF; }
.browser-bar span:nth-child(2) { background: #2F5EFF; }
.browser-bar span:nth-child(3) { background: #0B1830; }
.browser-body { padding: 26px; }
.mock-line {
  height: 10px;
  border-radius: 6px;
  background: var(--clr-surface-alt);
  margin-bottom: 12px;
}
.mock-line.w-60 { width: 60%; }
.mock-line.w-40 { width: 40%; }
.mock-line.w-80 { width: 80%; }
.mock-hero-block {
  height: 110px;
  border-radius: var(--radius-md);
  background: var(--grad-brand);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.mock-hero-block::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.22), transparent 60%);
}
.mock-chip-row { display: flex; gap: 10px; margin-top: 16px; }
.mock-chip {
  height: 26px; width: 64px;
  border-radius: var(--radius-pill);
  background: var(--clr-surface-alt);
}

.phone-mock {
  position: absolute;
  width: 220px;
  background: var(--clr-surface);
  border-radius: 26px;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
  padding: 14px;
}
.phone-mock .post-media {
  height: 150px;
  border-radius: 16px;
  background: var(--grad-brand);
  margin-bottom: 12px;
}
.phone-mock .post-row { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.phone-mock .avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad-text);
}
.phone-mock .icon-row { display: flex; gap: 10px; margin-top: 4px; }
.phone-mock .icon-row svg { width: 17px; height: 17px; color: var(--clr-text-soft); }

/* ---------- Hero mockup + signature "live conversion" animation ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.24fr;
  gap: 24px;
  align-items: center;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--clr-text-soft);
}
.hero-trust svg { width: 16px; height: 16px; color: var(--clr-pink); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-mockup-stack {
  position: relative;
  width: 116%;
  margin-left: 0;
}
.hero-mockup-main {
  position: relative;
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transform-origin: left center;
}
.hero-mockup-stack::before {
  content: "";
  position: absolute;
  inset: 6% -8% 0 30%;
  background: radial-gradient(closest-side, rgba(47,94,255,.22), transparent 72%);
  filter: blur(30px);
  z-index: -1;
}
.hero-mockup-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--clr-surface-alt);
  border-bottom: 1px solid var(--clr-border);
}
.hero-mockup-bar .dots { display: flex; gap: 7px; }
.hero-mockup-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #D8D4C9; }
.hero-mockup-bar .dots span:nth-child(2) { background: #2F5EFF; }
.hero-mockup-bar .url {
  flex: 1;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
}
.hero-mockup-body { padding: 30px 34px 40px; }
.hmn-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.hmn-nav .brand { width: 84px; height: 12px; border-radius: 4px; background: var(--clr-text); opacity: .85; }
.hmn-nav .links { display: flex; gap: 16px; }
.hmn-nav .links span { width: 34px; height: 8px; border-radius: 4px; background: var(--clr-surface-alt); }
.hmn-photo {
  height: 220px;
  border-radius: var(--radius-md);
  background: var(--grad-ink);
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hmn-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(47,94,255,.55), transparent 60%),
    linear-gradient(120deg, rgba(255,255,255,.06), transparent 55%);
}
.hmn-photo-icon { width: 34%; max-width: 130px; opacity: .9; }
.hmn-photo .tag {
  position: absolute; left: 20px; bottom: 18px;
  background: rgba(244,243,239,.94);
  color: var(--clr-text);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.hmn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.hmn-cards div {
  height: 64px;
  border-radius: 12px;
  background: var(--clr-surface-alt);
  border: 1px solid var(--clr-border);
}
.hmn-cta-row { display: flex; align-items: center; justify-content: space-between; position: relative; }
.hmn-cta-row .lines { display: flex; flex-direction: column; gap: 8px; }
.hmn-cta-row .lines span { height: 9px; border-radius: 4px; background: var(--clr-surface-alt); }
.hmn-cta-row .lines span:first-child { width: 120px; }
.hmn-cta-row .lines span:last-child { width: 80px; }
.hmn-cta-btn {
  position: relative;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 13.5px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-electric);
}

/* Signature moment: an animated cursor "converts" on the CTA, on loop */
.hero-cursor {
  position: absolute;
  right: 6px;
  bottom: -8px;
  width: 22px; height: 22px;
  z-index: 5;
  color: var(--clr-text);
  filter: drop-shadow(0 4px 8px rgba(18,19,25,.3));
  animation: cursorMove 5.5s var(--ease) infinite;
}
.hero-cursor svg { width: 100%; height: 100%; }
.hero-ring {
  position: absolute;
  right: 16px;
  bottom: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--clr-pink);
  z-index: 4;
  opacity: 0;
  animation: ringPulse 5.5s var(--ease) infinite;
}
.hero-toast {
  position: absolute;
  right: -6px;
  bottom: 58px;
  background: var(--clr-text);
  color: #fff;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  z-index: 5;
  animation: toastPop 5.5s var(--ease) infinite;
}
.hero-toast svg { width: 13px; height: 13px; color: #6FE3A8; flex-shrink: 0; }

@keyframes cursorMove {
  0%   { opacity: 0; transform: translate(26px, -22px) scale(1); }
  12%  { opacity: 1; transform: translate(0, 0) scale(1); }
  22%  { opacity: 1; transform: translate(0, 0) scale(.85); }
  30%  { opacity: 1; transform: translate(0, 0) scale(1); }
  78%  { opacity: 1; transform: translate(0, 0) scale(1); }
  92%  { opacity: 0; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(26px, -22px) scale(1); }
}
@keyframes ringPulse {
  0%, 18% { opacity: 0; transform: scale(.6); }
  24% { opacity: .8; transform: scale(1); }
  40% { opacity: 0; transform: scale(2.1); }
  100% { opacity: 0; transform: scale(2.1); }
}
@keyframes toastPop {
  0%, 20% { opacity: 0; transform: translateY(6px); }
  28% { opacity: 1; transform: translateY(0); }
  70% { opacity: 1; transform: translateY(0); }
  84%, 100% { opacity: 0; transform: translateY(6px); }
}

.hero-mockup-mini {
  position: absolute;
  left: -6%;
  bottom: -9%;
  width: 40%;
  background: var(--clr-surface);
  border-radius: 22px;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  transform: perspective(1200px) rotateY(6deg) rotateX(-2deg);
}
.hero-mockup-mini .screen {
  border-radius: 14px;
  overflow: hidden;
  background: var(--clr-surface-alt);
}
.hero-mockup-mini .top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; }
.hero-mockup-mini .top span:first-child { width: 18px; height: 18px; border-radius: 50%; background: var(--grad-brand); }
.hero-mockup-mini .top span:last-child { flex: 1; height: 7px; border-radius: 4px; background: var(--clr-border); }
.hero-mockup-mini .block { height: 92px; background: var(--grad-ink); margin: 0 12px 12px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hero-mockup-mini .foot { display: flex; gap: 8px; padding: 0 12px 12px; }
.hero-mockup-mini .foot span { height: 8px; border-radius: 4px; background: var(--clr-border); }
.hero-mockup-mini .foot span:first-child { width: 46%; }
.hero-mockup-mini .foot span:last-child { width: 30%; }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-item { position: relative; padding-top: 8px; }
.process-num {
  font-family: var(--ff-heading);
  font-size: 15px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--clr-pink);
  margin-bottom: 14px;
}
.process-item h4 { font-size: 18px; margin-bottom: 8px; }
.process-item p { font-size: 14.5px; color: var(--clr-text-soft); }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 64px;
  background: var(--grad-ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 36px); color: #fff; }
.cta-banner p { margin-top: 14px; color: rgba(255,255,255,.72); font-size: 17px; }
.cta-banner .btn-row { margin-top: 30px; }
.cta-banner .btn-primary {
  background: var(--grad-brand);
  color: #fff;
}
.cta-banner .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.cta-banner .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0E0F13;
  color: #A9ABB4;
  padding: 72px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: #83858F; max-width: 280px; }
.footer-col h5 {
  font-family: var(--ff-heading);
  color: #fff;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: #83858F; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--grad-brand); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
  color: #5C5E67;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 70px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-top: 16px; }
.page-hero p { max-width: 620px; margin: 18px auto 0; font-size: 17.5px; color: var(--clr-text-soft); }

/* ---------- Reveal animation ---------- */
/* Text is fully visible by default. The fade-in-on-scroll effect only
   arms once main.js confirms it's running (html.js) and stays subtle —
   never a reason content can't be read. */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
html.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--clr-border);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse .service-visual { order: 2; }
.service-row.reverse .service-copy { order: 1; }
.service-copy .tag {
  font-family: var(--ff-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-pink);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.service-copy h3 { font-size: clamp(24px, 3vw, 30px); margin-top: 10px; margin-bottom: 16px; }
.service-copy p.desc { color: var(--clr-text-soft); font-size: 16px; margin-bottom: 20px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--clr-text);
}
.check-list svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--clr-pink);
  margin-top: 1px;
}
.service-visual {
  background: var(--clr-surface-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

/* ---------- Project screenshots ---------- */
.project-shot-wrap { position: relative; width: 100%; }
.project-shot-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  padding: 14px;
}
.project-shot-card img { width: 100%; display: block; border-radius: calc(var(--radius-lg) - 8px); }
.project-shot-float {
  position: absolute;
  width: 42%;
  right: -8%;
  bottom: -13%;
}
.project-shot-float .project-shot-card { padding: 10px; }
.brand-mark-row { display: flex; gap: 14px; margin-top: 26px; }
.brand-mark-swatch {
  width: 92px; height: 92px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}
.brand-mark-swatch.light { background: var(--clr-surface); }
.brand-mark-swatch.dark { background: var(--clr-text); border-color: var(--clr-text); }
.brand-mark-swatch img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pricing-card > .btn { margin-top: auto; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  background: var(--clr-text);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured .price-sub,
.pricing-card.featured p { color: rgba(255,255,255,.68); }
.pricing-card.featured .check-list li { color: #fff; }
.pricing-card.featured .check-list svg { color: #8CB0FF; }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--ff-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pricing-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-sub { font-size: 14px; color: var(--clr-text-soft); margin-bottom: 20px; min-height: 34px; }
.price-value { font-family: var(--ff-heading); font-size: 40px; font-weight: 700; margin-bottom: 4px; }
.price-value span { font-size: 15px; font-weight: 600; opacity: .6; }
.pricing-card .check-list { margin: 24px 0 4px; }
.pricing-card .check-list li { font-size: 14px; margin-bottom: 9px; }
.pricing-note { text-align: center; color: var(--clr-text-soft); font-size: 14px; margin-top: 32px; max-width: 640px; margin-inline: auto; }

.price-addon {
  margin: 22px 0 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--clr-surface-alt);
  border: 1px solid var(--clr-border);
}
.pricing-card.featured .price-addon {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.price-addon-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.price-addon-head .label {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--clr-text-soft);
}
.pricing-card.featured .price-addon-head .label { color: rgba(255,255,255,.6); }
.price-addon-head .amount {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--clr-pink);
  white-space: nowrap;
}
.pricing-card.featured .price-addon-head .amount { color: #8CB0FF; }
.price-addon-list { margin: 0; }
.price-addon-list li { font-size: 13px; margin-bottom: 6px; color: var(--clr-text-soft); }
.pricing-card.featured .price-addon-list li { color: rgba(255,255,255,.78); }
.price-addon-list li:last-child { margin-bottom: 0; }
.extra-rate { font-size: 12.5px; color: var(--clr-text-faint); margin: 16px 0 22px; }
.pricing-card.featured .extra-rate { color: rgba(255,255,255,.5); }

/* ---------- Portfolio ---------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--ff-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text-soft);
  transition: all .2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}
.portfolio-card { overflow: hidden; padding: 0; }
.portfolio-thumb {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portfolio-thumb .glow {
  position: absolute; inset: -30%;
  background: var(--grad-ink);
  opacity: .95;
}
.portfolio-thumb svg { position: relative; width: 46px; height: 46px; color: #fff; }
.portfolio-body { padding: 26px 28px 30px; }
.portfolio-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.portfolio-tags span {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--clr-pink);
  background: var(--clr-surface-alt);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.portfolio-body h3 { font-size: 19px; margin-bottom: 8px; }
.portfolio-body p { font-size: 14.5px; color: var(--clr-text-soft); }
.concept-note {
  background: var(--clr-surface-alt);
  border: 1px dashed var(--clr-border);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  font-size: 14.5px;
  color: var(--clr-text-soft);
  margin-bottom: 48px;
}

/* ---------- About ---------- */
.value-card { text-align: left; }
.founder-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.founder-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--grad-ink);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-photo::before {
  content: "JM";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 96px;
  color: rgba(255,255,255,.14);
}
.founder-photo.has-photo::before { content: none; }
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  position: relative;
}
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(47,94,255,.14), transparent 55%);
  pointer-events: none;
}
.founder-quote {
  font-family: var(--ff-heading);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--clr-text);
}
.founder-quote span { color: var(--clr-pink); }
.founder-sign { margin-top: 22px; font-size: 14.5px; color: var(--clr-text-soft); }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: flex-start;
}
.contact-info-card {
  background: var(--grad-ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.contact-info-card h3 { font-size: 21px; margin-bottom: 10px; }
.contact-info-card p.lead { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 30px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-detail .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(47,94,255,.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail .ic svg { width: 18px; height: 18px; color: #8CB0FF; }
.contact-detail .label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.55); }
.contact-detail .value { font-family: var(--ff-heading); font-weight: 600; font-size: 15px; margin-top: 2px; }

.form-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--ff-heading);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-bg);
  font-size: 15px;
  color: var(--clr-text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--clr-pink);
  box-shadow: 0 0 0 4px rgba(47,94,255,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--clr-text-faint); margin-top: 14px; text-align: center; }
.form-status { font-size: 14px; font-weight: 600; text-align: center; margin-top: 16px; }
.form-status.is-success { color: #1B8A4B; }
.form-status.is-error { color: #C6303E; }

.faq-item {
  border-bottom: 1px solid var(--clr-border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--clr-surface-alt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .25s ease, background .25s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq-item p { margin-top: 14px; color: var(--clr-text-soft); font-size: 15px; max-width: 640px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .process-list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .service-row, .founder-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .service-row.reverse .service-visual,
  .service-row.reverse .service-copy { order: 0; }
  .founder-photo { max-width: 320px; margin-inline: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mockup-stack { width: 100%; margin-left: 0; max-width: 620px; margin-inline: auto; }
  .hero-mockup-main { transform: none; }
  .hero-mockup-mini { transform: none; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-secondary, .nav-brand-text { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  section.section { padding: 64px 0; }
  .phone-mock { display: none; }
  .project-shot-float { display: none; }
  .hero-mockup-mini { display: none; }
  .hmn-cards { grid-template-columns: repeat(3, 1fr); }
  .hero-mockup-body { padding: 22px 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .hero-cursor, .hero-ring, .hero-toast { animation: none !important; }
  .hero-toast { opacity: 0; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .card:hover, .btn:hover, .pricing-card:hover { transform: none; }
}
