/* ═══════════════════════════════════════════
   MoTechy — Brand Website Styles
   Digital Growth | Branding | Ads
   ═══════════════════════════════════════════ */

:root {
  --blue: #2563EB;
  --blue-d: #1D4ED8;
  --blue-l: #3B82F6;
  --blue-pale: #EAF2FF;
  --blue-mid: #DBEAFE;
  --purple-pale: #F3E8FF;
  --grad: linear-gradient(135deg, #EAF2FF 0%, #F3E8FF 100%);
  --green: #22C55E;
  --green-d: #16A34A;
  --green-pale: #F0FDF4;
  --amber: #D97706;
  --amber-pale: #FFFBEB;
  --red: #DC2626;
  --red-pale: #FEF2F2;
  --dark: #111827;
  --dark-2: #0B1628;
  --text: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg: #F9FAFB;
  --white: #fff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 20px 50px rgba(17, 24, 39, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 72px;
  --font: "Poppins", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-lead {
  margin-inline: auto;
}

.section-head.center .eyebrow {
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--blue-d);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-green {
  background: var(--green);
  color: white;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.btn-green:hover {
  background: var(--green-d);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--dark);
}

.logo-text .mo {
  color: #1e3a8a;
}

.logo-text .techy {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  background: transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-cta .btn-sm {
  padding: 9px 14px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: white;
  flex-shrink: 0;
  color: var(--dark);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: 0.25s;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: 0.25s;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Dark header (over hero / page-hero) — readable links & toggle */
.site-header.dark-mode:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.site-header.dark-mode:not(.scrolled) .nav-link:hover,
.site-header.dark-mode:not(.scrolled) .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.dark-mode:not(.scrolled) .logo-text .mo,
.site-header.dark-mode:not(.scrolled) .logo-text .techy {
  color: white;
}

.site-header.dark-mode:not(.scrolled) .logo-text .techy {
  color: #93c5fd;
}

/* Hamburger: dark translucent chip + light icon (visible on dark hero) */
.site-header.dark-mode:not(.scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.site-header.dark-mode:not(.scrolled) .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Soften secondary CTA on dark header */
.site-header.dark-mode:not(.scrolled) .nav-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header.dark-mode:not(.scrolled) .nav-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

/* ── Mobile drawer ── */
.mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: white;
  z-index: 999;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  padding: 16px 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  border-radius: 14px;
  border: 1px solid var(--border);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--blue-pale);
  border-color: var(--blue-mid);
  color: var(--blue);
}

.mobile-nav .btn {
  margin-top: 12px;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  background: var(--dark-2);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: auto, auto, 28px 28px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 24px;
  width: fit-content;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: #9ca3af;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-stat span {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.5;
}

.hero-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.hero-card-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card-foot p {
  font-size: 13px;
  color: #9ca3af;
}

.hero-card-foot strong {
  color: white;
}

/* ── Sections ── */
.section {
  padding: 96px 0;
}

.section-alt {
  background: white;
}

.section-grad {
  background: var(--grad);
}

.section-dark {
  background: var(--dark-2);
  color: #d1d5db;
}

.section-dark .section-title {
  color: white;
}

.section-dark .section-lead {
  color: #9ca3af;
}

.section-dark .eyebrow {
  color: #93c5fd;
}

.section-dark .eyebrow::before {
  background: #60a5fa;
}

/* ── Logos / trust strip ── */
.trust-strip {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* ── Service cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-mid);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: var(--blue-pale);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.service-card .link {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .link:hover {
  gap: 10px;
}

/* ── Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
}

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Why us / features ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--border);
}

.feature-item .fi {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-pale);
  color: var(--green-d);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 13px;
  color: var(--muted);
}

.visual-panel {
  background: var(--grad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.stat-stack {
  display: grid;
  gap: 14px;
}

.stat-box {
  background: white;
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-box strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-box span {
  font-size: 13px;
  color: var(--muted);
}

.stat-box.accent strong {
  color: var(--blue);
}

.stat-box.green strong {
  color: var(--green-d);
}

/* ── Work / portfolio ── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--grad);
}

.work-meta {
  padding: 14px 16px;
}

.work-meta h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.work-meta p {
  font-size: 12px;
  color: var(--muted);
}

/* ── Testimonials ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testi-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testi-card blockquote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
}

.testi-author span {
  font-size: 12px;
  color: var(--muted);
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  background: linear-gradient(180deg, #f8fbff 0%, white 40%);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-card .price-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

.price-amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.price-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.price-list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
}

.price-list li::before {
  content: "✓";
  color: var(--green-d);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--blue-mid);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
}

.faq-q .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--blue-pale);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--dark-2) 0%, #1e1b4b 50%, var(--dark-2) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.25), transparent 60%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: white;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-band p {
  color: #9ca3af;
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 56px;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(37, 99, 235, 0.22), transparent 55%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.page-hero p {
  color: #9ca3af;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #93c5fd;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.founder-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--grad);
  border: 2px solid var(--blue-mid);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
}

.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--blue-mid);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  margin-bottom: 18px;
  background: var(--grad);
}

.founder-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.founder-card .role {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
}

.founder-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.value-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-tile:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
}

.contact-tile .ci {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-pale);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-tile .ci svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* Brand-coloured contact channel icons */
.contact-tile .ci--whatsapp {
  background: #e7f8ef;
  color: #25d366;
}

.contact-tile .ci--phone {
  background: var(--blue-pale);
  color: var(--blue);
}

.contact-tile .ci--instagram {
  background: #fce7f3;
  color: #e4405f;
}

.contact-tile .ci--facebook {
  background: #e8f0fe;
  color: #1877f2;
}

.contact-tile .ci--linkedin {
  background: #e8f4fc;
  color: #0a66c2;
}

.contact-tile .ci--pinterest {
  background: #fde8ec;
  color: #e60023;
}

.contact-tile .ci--email {
  background: #fce8e6;
  color: #ea4335;
}

.contact-tile .ci--location {
  background: var(--blue-pale);
  color: var(--blue);
}

.contact-tile .ci--clock {
  background: var(--amber-pale);
  color: var(--amber);
}

.contact-tile h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-tile p,
.contact-tile a {
  font-size: 14px;
  color: var(--muted);
}

.contact-tile a:hover {
  color: var(--blue);
}

.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group label .req {
  color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
  background: var(--red-pale);
}

.form-group .error-msg {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
}

.form-success {
  display: none;
  background: var(--green-pale);
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  color: #15803d;
  font-size: 18px;
  margin-bottom: 6px;
}

.form-success p {
  font-size: 14px;
  color: var(--text);
}

.form-hidden {
  display: none !important;
}

/* ── Service detail blocks ── */
.service-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}

.service-detail .sd-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--blue-pale);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.service-detail h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-detail p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

/* ── Footer ── */
.site-footer {
  background: var(--dark-2);
  color: #9ca3af;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  color: white;
  margin-bottom: 12px;
  display: block;
}

.footer-brand .logo-text .mo {
  color: white;
}

.footer-brand .logo-text .techy {
  color: #60a5fa;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a,
.footer-social a.fs-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.footer-social a svg {
  display: block;
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.footer-social a.fs-instagram:hover {
  background: #e4405f;
  border-color: #e4405f;
}

.footer-social a.fs-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social a.fs-linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.footer-social a.fs-pinterest:hover {
  background: #e60023;
  border-color: #e60023;
}

.footer-social a.fs-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-social a.fs-email:hover {
  background: #ea4335;
  border-color: #ea4335;
}

.footer-bottom a {
  color: #93c5fd;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Legal / long-form pages */
.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 32px 0 12px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 600;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.service-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.service-actions .link-quiet {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.service-actions .link-quiet:hover {
  text-decoration: underline;
}

.packages-bridge {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--border);
  text-align: center;
}

.packages-bridge h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.packages-bridge p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 20px;
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #9ca3af;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #60a5fa;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 13px;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #64748b;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── Utility ── */
.mt-0 {
  margin-top: 0;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-40 {
  margin-bottom: 40px;
}
.text-center {
  text-align: center;
}

/* ── Responsive ── */

/* Large tablets / small desktops: hide long CTA label overflow */
@media (max-width: 1200px) {
  .nav-link {
    padding: 7px 8px;
    font-size: 12.5px;
  }

  .nav-cta .btn-sm {
    padding: 8px 12px;
  }

  .nav-cta .btn-primary {
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Collapse full nav before it overflows (index has many links) */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn-secondary {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-cta .btn-primary {
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-col,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid,
  .testi-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .section {
    padding: 64px 0;
  }

  .services-grid,
  .testi-grid,
  .pricing-grid,
  .process-grid,
  .work-grid,
  .values-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-band {
    padding: 40px 24px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }

  .page-hero {
    padding-bottom: 40px;
  }

  /* Shorter CTA on small screens so header stays clean */
  .nav-cta .btn-primary {
    padding: 9px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .logo img {
    height: 36px;
    max-width: 120px;
    padding: 0;
  }

  /* Icon-only primary CTA room: keep label but allow wrap of bar */
  .nav-cta .btn-primary {
    padding: 9px 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  /* Prefer hamburger + logo only on very narrow screens */
  .nav-cta .btn-primary {
    display: none;
  }
}

/* ── Focus / a11y ── */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.btn:focus-visible,
.nav-link:focus-visible,
.faq-q:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: white;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus {
  left: 0;
}

/* Logo on dark header — no white box; soft lift for contrast */
.site-header.dark-mode:not(.scrolled) .logo img {
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.25));
}

.site-header.scrolled .logo img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.logo img.logo-mark-only {
  padding: 0;
  max-width: 48px;
  height: 40px;
}

/* Muted text contrast bump */
.section-lead,
.service-card p,
.work-meta p {
  color: #4b5563;
}

/* ── Blog ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-mid);
}
.blog-card .blog-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.25;
}
.blog-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.blog-card .link {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.article {
  max-width: 720px;
  margin: 0 auto;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.article-meta .pill {
  font-size: 11px;
}
.article h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 32px 0 12px;
}
.article p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.article ul {
  margin: 0 0 20px 0;
  padding-left: 0;
}
.article li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}
.article li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.article blockquote {
  border-left: 4px solid var(--blue);
  background: var(--blue-pale);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.55;
}

/* Work grid 4 cols → responsive already; denser  */
.work-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Footer NAP */
.footer-nap {
  font-size: 13px;
  line-height: 1.7;
  color: #9ca3af;
  margin-top: 12px;
}
.footer-nap a {
  color: #93c5fd;
}
.footer-nap a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* Article media */
.article-hero {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--grad);
}
.article-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.article-caption {
  font-size: 12px;
  color: var(--muted);
  padding: 10px 14px;
  background: white;
  border-top: 1px solid var(--border);
}
.article h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--dark);
}
.article .callout-box {
  background: var(--blue-pale);
  border: 1px solid var(--blue-mid);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
}
.article .callout-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}
.article .callout-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}
.article-inline-img {
  width: 100%;
  border-radius: 14px;
  margin: 24px 0;
  border: 1px solid var(--border);
  object-fit: cover;
  max-height: 420px;
}
.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--grad);
  border: 1px solid var(--border);
}
.blog-card {
  padding: 0;
  overflow: hidden;
}
.blog-card .blog-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lead-magnet-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.lead-magnet-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.lead-magnet-card .lm-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lead-magnet-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}
.lead-magnet-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .lead-magnet-card {
    grid-template-columns: 1fr;
  }
}
