/* ============================================================
   style.css — Ganesh Karki · Meta Tech Provider
   Original design preserved · Mobile experience elevated
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --white:   #ffffff;
  --off:     #f5f5f7;
  --stone:   #e8e8ed;
  --muted:   #6e6e73;
  --body:    #1d1d1f;
  --accent:  #0071e3;
  --green:   #34c759;
  --wa:      #25d366;
  --dark:    #1d1d1f;
  --serif:   'Instrument Serif', Georgia, serif;
  --sans:    'DM Sans', -apple-system, sans-serif;
  --nav-h:   52px;
  --px:      18px;
  /* Mobile safe areas */
  --safe-b:  env(safe-area-inset-bottom, 0px);
  --safe-t:  env(safe-area-inset-top, 0px);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul  { list-style: none; }

/* ── Ambient gradient bg ────────────────────────────────────── */
.hero-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 72% 18%, #d0e8ff 0%, transparent 62%),
    radial-gradient(ellipse 55% 42% at 14% 88%, #e0eaff 0%, transparent 58%),
    var(--white);
}

/* ════════════════════════════════════════════════════════════
   NAV  — mobile first
════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px);
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-logo {
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  color: var(--body); text-decoration: none; flex-shrink: 0;
}

/* Desktop nav links – hidden until ≥ 840px */
.nav-links { display: none; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 400; color: var(--body);
  text-decoration: none; opacity: .78; transition: opacity .18s;
}
.nav-links a:hover { opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 8px; }

/* Desktop capabilities link — hidden until ≥ 840px */
.nav-link-mtp {
  display: none; font-size: 13px; font-weight: 400;
  color: var(--accent); text-decoration: none;
  opacity: .85; transition: opacity .18s;
}
.nav-link-mtp:hover { opacity: 1; }

/* Desktop CTA button */
.nav-cta {
  font-size: 13px; font-weight: 500; color: #fff;
  background: var(--accent); text-decoration: none;
  padding: 7px 15px; border-radius: 980px;
  transition: background .2s, transform .15s; white-space: nowrap;
  display: none;
}
.nav-cta:hover { background: #0077ed; transform: scale(1.03); }

/* ── Hamburger button ──────────────────────────────────────── */
.nav-hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; padding: 7px;
  background: none; border: none; cursor: pointer;
  border-radius: 10px; transition: background .18s; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover { background: var(--off); }
.nav-hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--body); transition: all .26s cubic-bezier(.22,1,.36,1);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Slide-down nav drawer ─────────────────────────────────── */
.nav-drawer {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 290;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--stone);
  padding: 10px var(--px) 20px;
  padding-bottom: calc(20px + var(--safe-b));
  flex-direction: column; gap: 2px;
}
.nav-drawer.open { display: flex; animation: drawerIn .22s ease both; }

@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-drawer a {
  display: block; padding: 15px 16px;
  font-size: 16px; font-weight: 400; color: var(--body);
  text-decoration: none; border-radius: 14px; transition: background .15s;
  line-height: 1.3; -webkit-tap-highlight-color: transparent;
}
.nav-drawer a:hover,
.nav-drawer a:active { background: var(--off); }

.nav-drawer a.drawer-cta {
  margin-top: 8px; background: var(--wa); color: #fff;
  text-align: center; font-weight: 600; border-radius: 16px;
  padding: 16px 14px; font-size: 15.5px;
  box-shadow: 0 4px 16px rgba(37,211,102,.28);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.nav-drawer a.drawer-cta:hover { background: #1ebe5c; }

/* ════════════════════════════════════════════════════════════
   HERO — wrapper
════════════════════════════════════════════════════════════ */
.hero { padding-top: var(--nav-h); }

/* ════════════════════════════════════════════════════════════
   MOBILE PROFILE CARD
   iOS profile / app-store card aesthetic
════════════════════════════════════════════════════════════ */
.hero-profile-card {
  margin: 12px 14px 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 2px 0 0 rgba(0,0,0,.05),
    0 12px 52px rgba(0,0,0,.11),
    0 1px 4px rgba(0,0,0,.04);
  animation: cardIn .52s cubic-bezier(.22,1,.36,1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* ── Photo banner ─────────────────────────────────────────── */
.hpc-photo {
  position: relative;
  width: 100%;
  height: clamp(210px, 66vw, 330px);
  overflow: hidden;
  background: var(--off);
}
.hpc-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
/* Gradient: photo bleeds into white card body */
.hpc-photo::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 56%;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.6) 45%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Verified pill ────────────────────────────────────────── */
.hpc-verified {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 100px; padding: 5px 13px;
  font-size: 11.5px; font-weight: 500; color: var(--body);
  box-shadow: 0 4px 18px rgba(0,0,0,.11);
  white-space: nowrap;
}
.hpc-verified .vdot {
  width: 7px; height: 7px; background: var(--green);
  border-radius: 50%; flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}

/* ── Float stat cards on photo (mobile) ──────────────────── */
.mob-float {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 12px; padding: 7px 11px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 18px rgba(0,0,0,.11);
}
.mob-float--tr { top: 14px; right: 14px; }
.mob-float--br { bottom: 18px; right: 14px; }
.mob-float .mf-icon { font-size: 15px; line-height: 1; }
.mob-float-body strong {
  display: block; font-family: var(--sans);
  font-size: 12px; font-weight: 700; color: var(--body); line-height: 1.15;
}
.mob-float-body span {
  font-family: var(--sans); font-size: 10px;
  color: var(--muted); line-height: 1;
}

/* ── Card body ────────────────────────────────────────────── */
.hpc-body {
  padding: 0 20px 28px;
  margin-top: -8px;
  position: relative; z-index: 1;
}

/* Name */
.hpc-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 7vw, 2.3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--body);
}
.hpc-name em { font-style: italic; color: var(--accent); }

/* Sub-title */
.hpc-title {
  margin-top: 8px;
  font-size: 13.5px; font-weight: 300;
  color: var(--muted); line-height: 1.6;
}

/* Chips */
.hpc-chips {
  margin-top: 15px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  font-size: 11.5px; font-weight: 400; color: var(--muted);
  background: var(--off); border: 1px solid var(--stone);
  border-radius: 100px; padding: 4px 11px; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, border-color .15s;
}
.chip:active { background: var(--stone); }

/* ── Social proof strip ────────────────────────────────────── */
.hpc-proof {
  margin-top: 17px; padding-top: 17px;
  border-top: 1px solid var(--stone);
  display: flex; align-items: center; gap: 11px;
}
.hsp-avatars { display: flex; align-items: center; }
.hsp-av {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  margin-left: -8px; flex-shrink: 0;
}
.hsp-av:first-child { margin-left: 0; }
.hsp-av1 { background: #0071e3; }
.hsp-av2 { background: #34c759; }
.hsp-av3 { background: #ff9f0a; }
.hsp-text {
  font-size: 12px; font-weight: 300; color: var(--muted); line-height: 1.45;
}

/* ── CTA buttons ───────────────────────────────────────────── */
.hpc-actions {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 10px;
}

/* Primary: full-width WhatsApp */
.hpc-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px;
  border-radius: 16px;
  background: var(--wa); color: #fff;
  font-size: 15.5px; font-weight: 500; font-family: var(--sans);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.32);
  transition: background .2s, transform .14s, box-shadow .14s;
  -webkit-tap-highlight-color: transparent;
}
.hpc-btn-wa:active {
  transform: scale(.97);
  box-shadow: 0 2px 8px rgba(37,211,102,.18);
}
.hpc-btn-wa:hover { background: #1ebe5c; }

/* Secondary row */
.hpc-btn-row { display: flex; gap: 8px; }

.hpc-btn-upwork,
.hpc-btn-demos {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 8px;
  border-radius: 14px;
  font-size: 13.5px; font-weight: 500; font-family: var(--sans);
  text-decoration: none;
  transition: background .2s, transform .14s;
  -webkit-tap-highlight-color: transparent;
}
.hpc-btn-upwork {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(0,113,227,.24);
}
.hpc-btn-upwork:active { transform: scale(.97); }
.hpc-btn-upwork:hover  { background: #0077ed; }

.hpc-btn-demos {
  background: var(--off); color: var(--body);
  border: 1px solid var(--stone);
}
.hpc-btn-demos:active { transform: scale(.97); background: var(--stone); }
.hpc-btn-demos:hover  { background: #eaeaec; }

/* ── Tertiary links ────────────────────────────────────────── */
.hpc-links {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 4px 10px;
}
.hero-text-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 400; color: var(--muted);
  text-decoration: none; transition: color .18s;
  -webkit-tap-highlight-color: transparent;
}
.hero-text-link:hover { color: var(--accent); }
.hero-text-link svg   { flex-shrink: 0; opacity: .55; }
.hero-links-divider   { color: var(--stone); font-size: 14px; line-height: 1; }

/* Desktop photo/text elements: hidden on mobile */
.hero-photo-wrap   { display: none; }
.hero-float-card   { display: none; }
.hero-text-desktop { display: none; }

/* ════════════════════════════════════════════════════════════
   STICKY BOTTOM CTA BAR — mobile only
   Slides up after hero leaves viewport (JS driven)
════════════════════════════════════════════════════════════ */
.mob-sticky-bar {
  display: none; /* shown via .active class + JS */
  position: fixed;
  bottom: 0; left: 0; right: 0; z-index: 280;
  padding: 12px 16px;
  padding-bottom: calc(12px + var(--safe-b));
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-top: 1px solid rgba(0,0,0,.09);
  gap: 9px; align-items: stretch;
  animation: stickyUp .28s cubic-bezier(.22,1,.36,1) both;
}
.mob-sticky-bar.active { display: flex; }

@keyframes stickyUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.mob-sticky-bar .msb-wa {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wa); color: #fff;
  font-family: var(--sans); font-weight: 600; font-size: 14.5px;
  letter-spacing: -.01em;
  padding: 13px 16px; border-radius: 14px;
  box-shadow: 0 4px 16px rgba(37,211,102,.28);
  -webkit-tap-highlight-color: transparent;
  transition: transform .13s, box-shadow .13s;
}
.mob-sticky-bar .msb-wa:active {
  transform: scale(.97);
  box-shadow: 0 2px 6px rgba(37,211,102,.15);
}

.mob-sticky-bar .msb-up {
  display: flex; align-items: center; justify-content: center;
  background: var(--off); color: var(--body);
  border: 1px solid var(--stone);
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  padding: 13px 16px; border-radius: 14px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background .13s;
}
.mob-sticky-bar .msb-up:active { background: var(--stone); }

/* ════════════════════════════════════════════════════════════
   STATS BAR — mobile: 3-column grid
════════════════════════════════════════════════════════════ */
.stats {
  background: var(--off);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}
.stat-item {
  padding: 18px 8px; text-align: center;
  border-right: 1px solid var(--stone);
  transition: background .18s;
}
.stat-item:nth-child(3n)  { border-right: none; }
.stat-item:nth-child(n+4) { border-top: 1px solid var(--stone); }

.stat-number {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3.6vw, 1.7rem);
  font-weight: 400; color: var(--body); line-height: 1;
}
.stat-label {
  margin-top: 4px; font-size: 10px;
  color: var(--muted); font-weight: 300; line-height: 1.3;
}

/* ════════════════════════════════════════════════════════════
   SHARED SECTION — mobile padding
════════════════════════════════════════════════════════════ */
.section {
  padding: 52px var(--px);
  max-width: 1080px; margin: 0 auto;
}
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px; display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 5.5vw, 3rem);
  font-weight: 400; letter-spacing: -.022em; line-height: 1.1;
  color: var(--body); max-width: 600px;
}
.section-body {
  margin-top: 10px; font-size: 14.5px; font-weight: 300;
  color: var(--muted); line-height: 1.7; max-width: 520px;
}

/* ════════════════════════════════════════════════════════════
   SERVICES — 2-column mosaic on mobile
════════════════════════════════════════════════════════════ */
.services-grid {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--stone);
  border-radius: 20px; overflow: hidden;
}
.service-card {
  background: var(--white); padding: 20px 16px;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.service-card:hover  { background: var(--off); }
.service-card:active { background: var(--off); }
.service-icon  { font-size: 22px; margin-bottom: 8px; display: block; }
.service-card h3 {
  font-size: 13.5px; font-weight: 500; color: var(--body);
  margin-bottom: 6px; line-height: 1.3; letter-spacing: -.01em;
}
.service-card p {
  font-size: 12px; font-weight: 300; color: var(--muted); line-height: 1.6;
}
.services-footer { margin-top: 22px; display: flex; }
.services-footer .btn-primary { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS — dark section
════════════════════════════════════════════════════════════ */
.hiw-section { background: var(--dark); padding: 52px var(--px); }
.hiw-inner   { max-width: 1080px; margin: 0 auto; }
.hiw-section .section-label { color: rgba(255,255,255,.35); }
.hiw-section .section-title { color: #fff; }
.hiw-section .section-body  { color: rgba(255,255,255,.46); }

.hiw-steps {
  margin-top: 28px; display: flex; flex-direction: column;
  gap: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}
.hiw-connector { display: none; }
.hiw-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step:hover      { background: rgba(255,255,255,.03); }
.hiw-step-num {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 400;
  color: rgba(255,255,255,.13); line-height: 1;
  min-width: 32px; flex-shrink: 0;
}
.hiw-step-content h3 {
  font-size: 14px; font-weight: 500; color: #fff;
  letter-spacing: -.01em; margin-bottom: 5px;
}
.hiw-step-content p {
  font-size: 12.5px; font-weight: 300;
  color: rgba(255,255,255,.46); line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════
   TRUST / CREDENTIALS
════════════════════════════════════════════════════════════ */
.cred-section {
  background: var(--off);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  padding: 52px var(--px);
}
.cred-inner  { max-width: 1080px; margin: 0 auto; }
.cred-layout { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }

.cred-proof {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--stone);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.cred-proof img { width: 100%; display: block; }
.cred-proof-label {
  padding: 12px 14px; background: var(--white);
  display: flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--stone);
}
.verified-dot {
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%; flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}
.cred-proof-label span { font-size: 12px; color: var(--muted); }

.cap-list  { display: flex; flex-direction: column; gap: 10px; }
.cap-item  {
  padding: 16px; background: var(--white);
  border-radius: 14px; border: 1px solid var(--stone);
  transition: box-shadow .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.cap-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.06); transform: translateY(-2px);
}
.cap-item h4  { font-size: 13px; font-weight: 500; color: var(--body); margin-bottom: 9px; }
.cap-item ul  { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.cap-item li  {
  font-size: 12.5px; color: var(--muted); font-weight: 300;
  padding-left: 14px; position: relative; line-height: 1.5;
}
.cap-item li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   QUICK LINKS
════════════════════════════════════════════════════════════ */
.links-grid {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.link-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; gap: 6px;
  background: var(--off); border: 1px solid var(--stone);
  border-radius: 14px; text-decoration: none;
  color: var(--body); font-size: 12.5px; font-weight: 400; line-height: 1.3;
  transition: background .18s, transform .18s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.link-card:hover {
  background: var(--white); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.07);
}
.link-card:active { background: var(--stone); transform: scale(.98); }
.link-arrow {
  font-size: 15px; color: var(--muted); flex-shrink: 0;
  transition: transform .18s;
}
.link-card:hover .link-arrow { transform: translate(2px,-2px); }

/* ════════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════════ */
.contact-section {
  padding: 52px var(--px) 36px;
  /* Extra bottom space on mobile for sticky bar */
  padding-bottom: calc(36px + 80px + var(--safe-b));
  max-width: 1080px; margin: 0 auto;
}
.contact-box {
  margin-top: 24px;
  background: linear-gradient(140deg, #0071e3 0%, #00c7ff 100%);
  border-radius: 24px; padding: 32px 22px; color: #fff;
}
.contact-box h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 5.5vw, 2.4rem);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 8px;
}
.contact-box > div > p {
  font-size: 13.5px; font-weight: 300; opacity: .85;
  line-height: 1.65; margin-bottom: 18px;
}
.contact-meta { display: flex; flex-direction: column; gap: 7px; margin-bottom: 24px; }
.contact-meta a {
  color: rgba(255,255,255,.84); font-size: 13px;
  text-decoration: none; transition: color .18s;
}
.contact-meta a:hover { color: #fff; }
.contact-actions { display: flex; flex-direction: column; gap: 9px; }

.btn-white {
  display: block; background: #fff; color: var(--accent);
  padding: 14px 24px; border-radius: 980px;
  font-size: 15px; font-weight: 500; font-family: var(--sans);
  text-decoration: none; text-align: center;
  transition: opacity .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-white:hover  { opacity: .9; transform: scale(1.02); }
.btn-white:active { transform: scale(.98); }

.btn-outline-white {
  display: block; background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  padding: 14px 24px; border-radius: 980px;
  font-size: 15px; font-weight: 400; font-family: var(--sans);
  text-decoration: none; text-align: center;
  transition: background .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-outline-white:hover  { background: rgba(255,255,255,.24); transform: scale(1.02); }
.btn-outline-white:active { transform: scale(.98); }

/* ════════════════════════════════════════════════════════════
   SHARED BUTTONS — desktop hero
════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 13px 22px; border-radius: 980px;
  font-size: 15px; font-weight: 400; font-family: var(--sans);
  text-decoration: none; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #0077ed; transform: scale(1.025); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.05); color: var(--body);
  padding: 13px 22px; border-radius: 980px;
  font-size: 15px; font-weight: 400; font-family: var(--sans);
  text-decoration: none; transition: background .2s, transform .15s;
}
.btn-ghost:hover { background: rgba(0,0,0,.09); transform: scale(1.025); }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.55); font-family: var(--sans); }

.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
  padding: 32px var(--px) 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  max-width: 1080px; margin: 0 auto; width: 100%;
}
.footer-brand  { display: flex; flex-direction: column; gap: 4px; }
.footer-logo   { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: #fff; letter-spacing: -.02em; }
.footer-tagline {
  font-size: 11.5px; font-weight: 300;
  color: rgba(255,255,255,.36); max-width: 380px; line-height: 1.5;
}
.footer-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wa); color: #fff;
  padding: 10px 18px; border-radius: 980px;
  font-size: 13px; font-weight: 500; text-decoration: none;
  transition: background .2s, transform .15s; flex-shrink: 0;
}
.footer-cta:hover { background: #1ebe5c; transform: scale(1.025); }

.footer-mid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px 18px; padding: 32px var(--px);
  max-width: 1080px; margin: 0 auto; width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col-title {
  font-size: 10px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.26); margin-bottom: 12px;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col-links a {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,.54); text-decoration: none;
  transition: color .18s; line-height: 1.35;
}
.footer-col-links a:hover { color: #fff; }
.footer-socials { display: flex; flex-direction: column; gap: 6px; }
.fsoc-card {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 11px; border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none; color: rgba(255,255,255,.66);
  font-size: 12.5px; font-weight: 400;
  transition: background .18s, border-color .18s, color .18s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.fsoc-card:hover {
  background: color-mix(in srgb, var(--fsoc-color,#fff) 11%, rgba(255,255,255,.04));
  border-color: color-mix(in srgb, var(--fsoc-color,#fff) 26%, transparent);
  color: #fff; transform: translateX(3px);
}
.fsoc-card svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; padding: 16px var(--px);
  max-width: 1080px; margin: 0 auto; width: 100%;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.24); font-weight: 300; }
.footer-bottom-nav { display: flex; flex-wrap: wrap; }
.footer-bottom-nav a {
  font-size: 11px; color: rgba(255,255,255,.28);
  text-decoration: none; padding: 0 10px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: color .18s; line-height: 1;
}
.footer-bottom-nav a:last-child { border-right: none; }
.footer-bottom-nav a:hover { color: rgba(255,255,255,.7); }

/* ════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatBadge {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}
@keyframes floatCardA {
  0%,100% { transform: translateY(0)    rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(0deg); }
}
@keyframes floatCardB {
  0%,100% { transform: translateY(0)    rotate(1deg); }
  50%      { transform: translateY(-6px) rotate(0deg); }
}

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   WHATSAPP DEMO CHAT — meta-tech-provider.php
════════════════════════════════════════════════════════════ */
.demo-section    { padding: 52px var(--px); max-width: 1080px; margin: 0 auto; }
.demo-disclaimer {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff8e6; border: 1px solid #f0d080; border-radius: 100px;
  padding: 5px 14px; font-size: 12px; font-weight: 400; color: #8a6a00; margin-bottom: 28px;
}
.demo-phone {
  background: var(--off); border: 1px solid var(--stone);
  border-radius: 24px; overflow: hidden; max-width: 480px;
  box-shadow: 0 20px 56px rgba(0,0,0,.09), 0 4px 12px rgba(0,0,0,.05);
}
.demo-phone-bar {
  background: #075e54; padding: 13px 16px;
  display: flex; align-items: center; gap: 11px;
}
.demo-phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--wa); display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
}
.demo-phone-info     { flex: 1; }
.demo-phone-name     { font-size: 13.5px; font-weight: 500; color: #fff; line-height: 1.2; }
.demo-phone-status   {
  font-size: 11px; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 4px; margin-top: 2px;
}
.demo-phone-status .sdot {
  width: 5px; height: 5px; background: var(--wa);
  border-radius: 50%; animation: pulse 2s infinite;
}
.demo-chat-window {
  height: 300px; overflow-y: auto; padding: 13px 13px 8px;
  background: #e5ddd5;
  display: flex; flex-direction: column; gap: 7px; scroll-behavior: smooth;
}
.demo-chat-window::-webkit-scrollbar       { width: 4px; }
.demo-chat-window::-webkit-scrollbar-track { background: transparent; }
.demo-chat-window::-webkit-scrollbar-thumb { background: rgba(0,0,0,.14); border-radius: 4px; }
.demo-bubble {
  max-width: 78%; padding: 8px 12px 6px; border-radius: 8px;
  font-size: 13px; line-height: 1.5; word-break: break-word;
  animation: bubbleIn .22s ease both;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: scale(.92) translateY(6px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.demo-bubble-time     { font-size: 10px; opacity: .5; float: right; margin-left: 10px; margin-top: 2px; }
.demo-bubble.out      { background: #dcf8c6; color: #111; align-self: flex-end; border-bottom-right-radius: 2px; }
.demo-bubble.in       { background: #fff;    color: #111; align-self: flex-start; border-bottom-left-radius: 2px; }
.demo-typing          { display: none; align-self: flex-start; background: #fff; border-radius: 8px; border-bottom-left-radius: 2px; padding: 10px 14px; }
.demo-typing.active   { display: flex; gap: 4px; align-items: center; }
.demo-typing span     {
  width: 7px; height: 7px; background: #aaa; border-radius: 50%;
  animation: typingDot 1.2s infinite;
}
@keyframes typingDot {
  0%,60%,100% { transform: translateY(0); opacity: .4; }
  30%          { transform: translateY(-5px); opacity: 1; }
}
.demo-typing span:nth-child(2) { animation-delay: .2s; }
.demo-typing span:nth-child(3) { animation-delay: .4s; }
.demo-input-bar {
  background: #f0f0f0; padding: 9px 11px;
  display: flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--stone);
}
.demo-input {
  flex: 1; background: #fff; border: 1px solid var(--stone);
  border-radius: 22px; padding: 9px 15px; font-size: 14px;
  font-family: var(--sans); color: var(--body);
  outline: none; transition: border-color .18s;
}
.demo-input:focus { border-color: var(--wa); }
.demo-send-btn {
  width: 38px; height: 38px; flex-shrink: 0; border: none; cursor: pointer;
  background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.demo-send-btn:hover  { background: #1ebe5c; }
.demo-send-btn:active { transform: scale(.92); }
.demo-send-btn svg    { width: 16px; height: 16px; fill: #fff; }
.demo-error {
  display: none; background: #fff3f3; border-top: 1px solid #ffd0d0;
  padding: 8px 14px; font-size: 11.5px; color: #c0392b;
}
.demo-real-link {
  margin-left: auto; font-size: 11px; color: rgba(255,255,255,.6);
  text-decoration: none; transition: color .18s; white-space: nowrap;
}
.demo-real-link:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════
   ████  TABLET  ≥ 600px
════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  :root { --px: 28px; }

  .hero-profile-card { margin: 18px var(--px) 0; }
  .hpc-photo         { height: clamp(220px, 52vw, 310px); }
  .hpc-body          { padding: 0 28px 30px; }
  .hpc-btn-wa        { font-size: 16px; }

  /* Stats: 5 columns */
  .stats { grid-template-columns: repeat(5, 1fr); }
  .stat-item:nth-child(3n)  { border-right: 1px solid var(--stone); }
  .stat-item:nth-child(n+4) { border-top: none; }
  .stat-item:nth-child(5n)  { border-right: none; }
  .stat-number { font-size: clamp(1.2rem, 2.8vw, 1.8rem); }
  .stat-label  { font-size: 11px; }

  .service-card h3 { font-size: 14.5px; }
  .service-card p  { font-size: 12.5px; }

  /* Links: 3 col */
  .links-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ════════════════════════════════════════════════════════════
   ████  DESKTOP  ≥ 840px
   Mobile profile card disappears; two-column layout takes over.
   Sticky bar also hidden on desktop.
════════════════════════════════════════════════════════════ */
@media (min-width: 840px) {
  :root { --px: 6vw; }

  /* ── Nav ── */
  .nav { padding: 0 6vw; }
  .nav-links    { display: flex; }
  .nav-hamburger { display: none; }
  .nav-cta      { display: inline-flex; }
  .nav-link-mtp { display: inline; }

  /* ── Hide mobile-only elements ── */
  .mob-sticky-bar { display: none !important; }

  /* ── Contact: restore desktop padding ── */
  .contact-section { padding-bottom: 96px; }

  /* ── Hero: two-column grid ── */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    min-height: 100svh;
    padding: var(--nav-h) 6vw 60px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-profile-card { display: none; }

  /* ── Desktop text block ── */
  .hero-text-desktop {
    display: block;
    animation: fadeUp .65s .1s ease both;
  }

  .badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(0,113,227,.09); border: 1px solid rgba(0,113,227,.2);
    border-radius: 100px; padding: 5px 14px;
    font-size: 12px; font-weight: 500; color: var(--accent);
    letter-spacing: .02em; margin-bottom: 22px;
    animation: fadeUp .55s ease both;
  }
  .badge .dot {
    width: 6px; height: 6px; background: var(--green);
    border-radius: 50%; animation: pulse 2s infinite;
  }

  .hero-text-desktop h1 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    font-weight: 400; line-height: 1.07; letter-spacing: -.025em;
    color: var(--body); animation: fadeUp .6s .08s ease both;
  }
  .hero-text-desktop h1 em { font-style: italic; color: var(--accent); }

  .hero-text-desktop .hero-sub {
    margin-top: 18px; font-size: 17px; font-weight: 300;
    color: var(--muted); line-height: 1.65; max-width: 440px;
    animation: fadeUp .6s .16s ease both;
  }

  .hero-chips {
    margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px;
    animation: fadeUp .6s .22s ease both;
  }

  .hero-social-proof {
    margin-top: 22px; display: flex; align-items: center; gap: 12px;
    animation: fadeUp .6s .28s ease both;
  }

  .hero-actions {
    margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap;
    animation: fadeUp .6s .32s ease both;
  }

  .hero-links-row {
    margin-top: 16px; display: flex; align-items: center;
    flex-wrap: wrap; gap: 5px 10px;
    animation: fadeUp .6s .36s ease both;
  }

  /* ── Desktop photo column ── */
  .hero-photo-wrap {
    display: flex; justify-content: center; align-items: center;
    position: relative; animation: fadeUp .7s .18s ease both;
  }
  .hero-photo-wrap img {
    display: block; width: clamp(280px, 34vw, 420px);
    aspect-ratio: 3/4; object-fit: cover; object-position: top center;
    border-radius: 28px; position: relative; z-index: 1;
    box-shadow: 0 36px 80px rgba(0,0,0,.14), 0 4px 16px rgba(0,0,0,.06);
    transition: transform .65s ease;
  }
  .hero-photo-wrap img:hover { transform: scale(1.02); }

  .photo-badge {
    display: flex; position: absolute; bottom: 22px; left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.65); border-radius: 100px;
    padding: 8px 16px; align-items: center; gap: 8px;
    white-space: nowrap; z-index: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    animation: floatBadge 3.2s ease-in-out infinite;
  }
  .photo-badge .vdot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }
  .photo-badge span  { font-size: 12px; font-weight: 500; color: var(--body); }

  .hero-photo-ring {
    display: block; position: absolute; inset: -22px;
    border-radius: 50%; z-index: 0; pointer-events: none;
    background: conic-gradient(
      from 0deg,
      rgba(0,113,227,.2) 0%, rgba(0,199,255,.16) 38%,
      rgba(0,113,227,0) 65%, rgba(0,113,227,.2)  100%
    );
    animation: spin 9s linear infinite;
  }

  .hero-float-card {
    display: flex; position: absolute; z-index: 3;
    align-items: center; gap: 9px; padding: 9px 14px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.1);
    pointer-events: none; white-space: nowrap;
  }
  .hero-float-card--tl { top: 24px; left: -32px; animation: floatCardA 3.8s ease-in-out infinite; }
  .hero-float-card--br { bottom: 80px; right: -32px; animation: floatCardB 4.2s ease-in-out infinite .6s; }
  .hfc-icon        { font-size: 18px; line-height: 1; }
  .hfc-body        { display: flex; flex-direction: column; gap: 1px; }
  .hfc-body strong { font-size: 13px; font-weight: 600; color: var(--body); line-height: 1.2; }
  .hfc-body span   { font-size: 10px; color: var(--muted); font-weight: 400; line-height: 1.2; }

  /* ── Stats ── */
  .stats       { grid-template-columns: repeat(5, 1fr); margin-top: 0; }
  .stat-item   { padding: 30px 20px; border-right: 1px solid var(--stone); }
  .stat-item:last-child { border-right: none; }
  .stat-number { font-size: 2.2rem; }
  .stat-label  { font-size: 12px; }

  /* ── Sections ── */
  .section, .contact-section { padding: 96px 6vw; }
  .cred-section, .hiw-section { padding: 96px 6vw; }

  /* ── Services: 4 columns ── */
  .services-grid   { grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
  .service-card    { padding: 32px 26px; }
  .service-card h3 { font-size: 15px; }
  .service-card p  { font-size: 13px; }
  .services-footer { margin-top: 36px; justify-content: flex-start; }
  .services-footer .btn-primary { width: auto; justify-content: initial; }

  /* ── HIW: horizontal timeline ── */
  .hiw-steps {
    flex-direction: row; border-radius: 0; border: none;
    background: transparent; margin-top: 52px; align-items: flex-start;
  }
  .hiw-connector {
    display: block; flex-shrink: 0; width: 48px; height: 1px;
    background: rgba(255,255,255,.1); margin-top: 50px; position: relative;
  }
  .hiw-connector::after {
    content: '→'; position: absolute; top: -10px; left: 50%;
    transform: translateX(-50%); font-size: 14px; color: rgba(255,255,255,.2);
  }
  .hiw-step {
    flex: 1; flex-direction: column; gap: 12px;
    padding: 0 28px; border-bottom: none;
  }
  .hiw-step:first-child { padding-left: 0; }
  .hiw-step:last-child  { padding-right: 0; }
  .hiw-step:hover       { background: transparent; }
  .hiw-step-num         { font-size: 2.4rem; min-width: unset; }
  .hiw-step-content h3  { font-size: 15px; }
  .hiw-step-content p   { font-size: 13.5px; }

  /* ── Cred: two columns ── */
  .cred-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

  /* ── Links: 3 cols ── */
  .links-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .link-card  { font-size: 14px; padding: 16px 18px; }

  /* ── Contact: side-by-side ── */
  .contact-box {
    display: grid; grid-template-columns: 1fr auto;
    gap: 40px; align-items: center; padding: 56px 48px;
  }
  .contact-actions { flex-direction: column; min-width: 190px; }
  .btn-white, .btn-outline-white { display: block; width: auto; }

  /* ── Footer ── */
  .footer-mid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { align-items: center; }
}

/* ════════════════════════════════════════════════════════════
   ████  LARGE  ≥ 1200px
════════════════════════════════════════════════════════════ */
@media (min-width: 1200px) {
  .hero                    { gap: 72px; }
  .hero-photo-wrap img     { width: clamp(340px, 36vw, 440px); }
  .hero-text-desktop h1    { font-size: clamp(3rem, 4.2vw, 4.4rem); }
  .hero-float-card--tl     { left: -40px; }
  .hero-float-card--br     { right: -40px; }
}

/* ════════════════════════════════════════════════════════════
   ████  TINY  ≤ 375px
════════════════════════════════════════════════════════════ */
@media (max-width: 375px) {
  :root           { --px: 14px; }
  .hero-profile-card { margin: 10px 12px 0; border-radius: 24px; }
  .hpc-photo      { height: 72vw; }
  .hpc-name       { font-size: 1.65rem; }
  .hpc-body       { padding: 0 16px 24px; }
  .hpc-btn-wa     { font-size: 14.5px; padding: 14px; }
  .hpc-btn-upwork,
  .hpc-btn-demos  { font-size: 12.5px; padding: 12px 6px; }
  .services-grid  { grid-template-columns: 1fr; }
  .links-grid     { grid-template-columns: 1fr; }
  .stats          { grid-template-columns: repeat(3, 1fr); }
  .stat-number    { font-size: .95rem; }
  .mob-sticky-bar .msb-wa { font-size: 13.5px; }
}