/* ═══════════════════════════════════════════════
   LeadNixo — Shared Stylesheet
   All pages use this via <link rel="stylesheet" href="shared.css">
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Poppins:wght@400;500;600&display=swap');

:root {
  --bg:          hsl(240,5%,10%);
  --fg:          hsl(0,0%,98%);
  --card:        hsl(240,3%,15%);
  --primary:     hsl(328,85%,70%);
  --accent:      hsl(351,94%,71%);
  --accent-bg:   hsl(343,87%,20%);
  --muted:       hsl(240,5%,55%);
  --border:      hsl(240,5%,26%);
  --input-bg:    hsl(240,5%,18%);
  --radius:      0.75rem;
  --radius-full: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  font-family: Poppins, sans-serif;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── CONTAINER ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: hsla(240,5%,10%,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 2rem;
  max-width: 1200px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-box {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.nav-brand-box img { width: 100%; height: 100%; object-fit: contain; }
.nav-brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; }
.nav-brand-name span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }

.btn-nav-post {
  background: hsl(343,87%,28%); color: var(--accent);
  font-family: Poppins, sans-serif; font-size: 0.875rem; font-weight: 600;
  padding: 0.5rem 1.25rem; border-radius: var(--radius-full);
  border: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 18px hsla(351,94%,71%,0.2);
}
.btn-nav-post:hover { background: hsl(343,87%,34%); box-shadow: 0 0 28px hsla(351,94%,71%,0.35); }

/* ── Active nav link color ── */
.nav-links a.active { color: var(--accent) !important; }
.nav-links a:hover  { color: var(--fg); }

/* ── Hamburger — hidden on desktop ── */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--fg); padding: 6px;
  flex-shrink: 0;
  line-height: 0;
}

/* ── Mobile dropdown menu ── */
.mobile-nav {
  position: absolute;
  top: 64px; left: 0; right: 0;
  z-index: 200;
  background: hsl(240,4%,13%);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  flex-direction: column;
  padding: 0.5rem 0 1rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
/* Open state */
.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid hsla(240,5%,26%,0.4);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: var(--fg); background: hsla(255,255,255,0.04); }
.mobile-nav a.active { color: var(--accent); }

/* Post a Project button inside mobile menu */
.mobile-nav-post {
  display: block !important;
  margin: 0.75rem 1.5rem 0.25rem !important;
  background: hsl(343,87%,28%) !important;
  color: var(--accent) !important;
  font-size: 0.875rem; font-weight: 700;
  padding: 0.7rem 1.25rem !important;
  border-radius: var(--radius-full) !important;
  text-align: center;
  border-bottom: none !important;
  box-shadow: 0 0 18px hsla(351,94%,71%,0.25);
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-nav-post:hover {
  background: hsl(343,87%,35%) !important;
  color: var(--accent) !important;
  box-shadow: 0 0 28px hsla(351,94%,71%,0.4) !important;
}

/* ── Navbar must be position:relative for dropdown to anchor ── */
.navbar { position: sticky; top: 0; z-index: 100; }
.navbar-inner { position: relative; }

@media(max-width:900px) {
  .nav-links  { display: none !important; }
  .hamburger  { display: flex !important; align-items: center; justify-content: center; }
  .btn-nav-post { display: none !important; }
}

/* ── HERO (Image Slider) ── */
.hero { position: relative; overflow: hidden; height: 580px; }
.hero-grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, rgba(16,16,26,0.45) 0%, rgba(16,16,26,0.35) 50%, rgba(16,16,26,0.75) 100%);
}
.hero-radial {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, hsla(328,85%,70%,0.18), transparent);
}
.slides-container { position: absolute; inset: 0; z-index: 1; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.hero-content {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 1.5rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.4rem 1.1rem; border-radius: var(--radius-full);
  background: hsla(328,85%,70%,0.12); border: 1px solid hsla(328,85%,70%,0.22);
  color: var(--primary); font-size: 0.875rem; font-weight: 500;
  margin-bottom: 1.5rem; animation: fadeUp 0.6s ease both;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem); line-height: 1.1; margin-bottom: 1.25rem;
  color: #fff; animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title .grad {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 1.1rem; color: hsla(0,0%,95%,0.75); line-height: 1.65; max-width: 38rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-btns { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.6s 0.3s ease both; }

.slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 0.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: background 0.3s, width 0.3s; padding: 0; }
.dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 50%;
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(0,0,0,0.7); }
.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }
.slider-arrow svg { width: 18px; height: 18px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: hsl(343,87%,26%); color: var(--accent);
  font-family: Poppins, sans-serif; font-size: 0.9rem; font-weight: 600;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  border: none; cursor: pointer; transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 22px hsla(351,94%,71%,0.18);
}
.btn-primary:hover { background: hsl(343,87%,32%); box-shadow: 0 0 32px hsla(351,94%,71%,0.32); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--fg);
  font-family: Poppins, sans-serif; font-size: 0.9rem; font-weight: 500;
  padding: 0.75rem 1.75rem; border-radius: var(--radius);
  border: 1px solid var(--border); cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: hsla(255,255,255,0.05); border-color: var(--primary); }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.3rem 1rem; border-radius: var(--radius-full);
  background: hsla(328,85%,70%,0.1); border: 1px solid hsla(328,85%,70%,0.2);
  color: var(--primary); font-size: 0.8rem; font-weight: 500; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; margin-bottom: 1rem; }
.section-desc { color: var(--muted); max-width: 42rem; margin: 0 auto; line-height: 1.65; }

/* ── CARDS ── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; padding: 2rem; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: hsla(328,85%,70%,0.35); transform: translateY(-2px); }

/* ── SERVICE ICON BOX ── */
.service-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: linear-gradient(135deg, hsla(328,85%,70%,0.2), hsla(351,94%,71%,0.1));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 1.4rem; height: 1.4rem; color: var(--primary); }

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; padding: 3rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 4rem 0;
}
@media(max-width:700px) { .stats-row { grid-template-columns: repeat(2,1fr); } }
.stat-item { text-align: center; }
.stat-value {
  font-family: 'Space Grotesk', sans-serif; font-size: 2.25rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* ── FOOTER ── */
footer { background: var(--card); border-top: 1px solid var(--border); }
.footer-body { padding: 4rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media(max-width:560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-logo-ring {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, hsla(328,85%,70%,0.35), hsla(351,94%,71%,0.25));
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-ring svg { width: 1rem; height: 1rem; color: var(--accent); }
.footer-brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; }
.footer-brand-name span { color: var(--primary); }
.footer-brand-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; max-width: 21rem; margin-bottom: 1.25rem; }

.social-row { display: flex; gap: 0.65rem; }
.social-btn {
  width: 2.2rem; height: 2.2rem; border-radius: 0.5rem;
  background: hsl(240,5%,20%); display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: color 0.2s, background 0.2s;
}
.social-btn:hover { color: var(--primary); background: hsla(328,85%,70%,0.1); }
.social-btn svg { width: 1rem; height: 1rem; }

.footer-col-title { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--fg); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links li a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-links li a:hover { color: var(--primary); }

.footer-contact { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1.25rem; }
.footer-contact a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-contact a:hover { color: var(--primary); }
.footer-contact svg { width: 0.9rem; height: 0.9rem; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: var(--muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--fg); }

/* ── TAGS ── */
.tag {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: var(--radius-full);
  background: hsla(351,94%,71%,0.1); color: var(--accent);
  font-size: 0.8rem; font-weight: 500;
}

/* ── FORMS ── */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.875rem; font-weight: 500; color: hsla(0,0%,98%,0.85); }

input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; background: var(--input-bg); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 0.65rem 1rem;
  color: var(--fg); font-family: Poppins, sans-serif; font-size: 0.875rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none;
}
textarea { border-radius: 0.875rem; min-height: 8rem; resize: vertical; line-height: 1.6; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
select option { background: hsl(240,5%,16%); }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus {
  border-color: hsla(328,85%,70%,0.55); box-shadow: 0 0 0 2px hsla(328,85%,70%,0.12);
}

.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.s2 { grid-column: span 2; }
@media(max-width:580px) { .g2 { grid-template-columns: 1fr; } .s2 { grid-column: span 1; } }
.space-y { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 999;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 0.875rem; padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5); max-width: 22rem; display: none;
}
#toast.show { display: block; animation: toastIn 0.3s ease; }
@keyframes toastIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
#toast.success { border-color: hsla(142,71%,45%,0.4); }
#toast.error   { border-color: hsla(0,84%,60%,0.4); }
#toast-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 3px; }
#toast-desc  { font-size: 0.8rem; color: var(--muted); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fade-up  { animation: fadeUp 0.55s ease both; }
.fade-up2 { animation: fadeUp 0.55s 0.15s ease both; }
.fade-up3 { animation: fadeUp 0.55s 0.3s ease both; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.85s linear infinite; display: inline-block; }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media(max-width:900px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ── SECTION PADDING ── */
section { padding: 5rem 0; }
.section-alt { background: hsla(240,5%,12%,0.5); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, hsla(328,85%,70%,0.12), hsla(351,94%,71%,0.06));
  border: 1px solid hsla(328,85%,70%,0.2); border-radius: 1.25rem;
  padding: 3.5rem; text-align: center; margin: 2rem 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.cta-band p { color: var(--muted); max-width: 36rem; margin: 0 auto 2rem; line-height: 1.65; }

/* ── POPULAR BADGE ── */
.popular-badge {
  position: absolute; top: -1px; right: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.85rem; border-radius: 0 0 0.5rem 0.5rem;
}

/* ── TESTIMONIAL ── */
.testimonial-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.75rem; position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 1rem; right: 1.5rem;
  font-size: 5rem; font-family: Georgia, serif; color: hsla(328,85%,70%,0.1);
  line-height: 1; pointer-events: none;
}
.stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 0.75rem; }
.testimonial-quote { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, hsla(328,85%,70%,0.4), hsla(351,94%,71%,0.3));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--fg);
}
.author-name { font-weight: 600; font-size: 0.875rem; }
.author-role { font-size: 0.8rem; color: var(--muted); }

/* ── PRICING CARD ── */
.pricing-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; padding: 2rem; position: relative; overflow: visible;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card.popular {
  border-color: hsla(328,85%,70%,0.45);
  background: linear-gradient(160deg, var(--card), hsla(328,85%,70%,0.06));
}
.pricing-card:hover { transform: translateY(-3px); }
.pricing-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.pricing-price {
  font-size: 2rem; font-weight: 700; font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.5rem;
}
.pricing-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.5; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.75rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--primary); }
.faq-q svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; color: var(--muted); transition: transform 0.2s; }
.faq-q.open svg { transform: rotate(45deg); color: var(--primary); }
.faq-a { display: none; padding-bottom: 1.25rem; font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.faq-a.open { display: block; }

/* ── HOW IT WORKS STEPS ── */
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.75rem; position: relative; }
.step-num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, hsla(328,85%,70%,0.25), hsla(351,94%,71%,0.15));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.9rem;
  color: var(--primary); margin-bottom: 1rem;
}

/* ── PORTFOLIO ── */
.portfolio-card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.portfolio-card:hover { transform: translateY(-3px); border-color: hsla(328,85%,70%,0.35); }
.portfolio-img { height: 200px; overflow: hidden; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-body { padding: 1.5rem; }
.portfolio-cat { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.portfolio-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.portfolio-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.55; margin-bottom: 1rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.portfolio-metric { font-size: 0.85rem; color: var(--primary); font-weight: 600; }

/* ── BLOG CARD ── */
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.blog-card:hover { transform: translateY(-3px); border-color: hsla(328,85%,70%,0.35); }
.blog-img { height: 180px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.5rem; }
.blog-cat { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.75rem; }
.blog-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.35; }
.blog-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* ── CONTACT GRID ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
@media(max-width:900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.contact-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; flex-shrink: 0;
  background: hsla(328,85%,70%,0.12); border: 1px solid hsla(328,85%,70%,0.2);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 1.2rem; height: 1.2rem; color: var(--primary); }
.contact-info-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.25rem; }
.contact-info-value { font-weight: 600; font-size: 0.95rem; }

/* ── PAGE HERO (non-slider) ── */
.page-hero {
  position: relative; overflow: hidden; padding: 5rem 0 4rem;
  background: linear-gradient(135deg, hsla(328,85%,70%,0.08), transparent);
}
.page-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; text-align: center; }

/* ── SUBSCRIBE FORM ── */
.subscribe-form { display: flex; gap: 0.75rem; max-width: 28rem; margin: 0 auto; }
.subscribe-form input { border-radius: var(--radius-full); flex: 1; }
@media(max-width:500px) { .subscribe-form { flex-direction: column; } }

/* ═══════════════════════════════════════
   RESPONSIVE FIXES — All pages
═══════════════════════════════════════ */

/* Services page 2-col layout → 1 col on mobile */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media(max-width:768px) {
  .service-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-split .service-img-block {
    order: -1;  /* image first on mobile */
    height: 220px !important;
  }
  .service-split.img-first .service-img-block {
    order: 0;
  }
}

/* Hero height mobile */
@media(max-width:768px) {
  .hero { height: 480px; }
  .hero-title { font-size: 1.75rem !important; }
  .hero-desc { font-size: 0.95rem !important; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns a { width: 100%; max-width: 260px; justify-content: center; }
}
@media(max-width:480px) {
  .hero { height: 420px; }
}

/* Page hero mobile */
@media(max-width:768px) {
  .page-hero { padding: 3rem 0 2.5rem; }
}

/* Stats row mobile */
@media(max-width:480px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: 2rem 0; }
  .stat-value { font-size: 1.75rem; }
}

/* Section padding mobile */
@media(max-width:768px) {
  section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
}

/* Grid adjustments mobile */
@media(max-width:480px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 1rem; }
  .card { padding: 1.25rem; }
}

/* Pricing cards mobile */
@media(max-width:600px) {
  .pricing-card { padding: 1.5rem 1.25rem; }
  .pricing-price { font-size: 1.6rem; }
}

/* CTA band mobile */
@media(max-width:600px) {
  .cta-band { padding: 2rem 1.25rem; }
  .cta-band h2 { font-size: 1.4rem; }
}

/* Footer mobile */
@media(max-width:560px) {
  .footer-body { padding: 2.5rem 0 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* Contact grid mobile */
@media(max-width:768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Section header mobile */
@media(max-width:600px) {
  .section-title { font-size: 1.5rem; }
  .section-header { margin-bottom: 2rem; }
}

/* How it works steps mobile */
@media(max-width:600px) {
  .step-card { padding: 1.25rem; }
}

/* Testimonial cards mobile */
@media(max-width:600px) {
  .testimonial-card { padding: 1.25rem; }
}

/* Portfolio / blog cards mobile */
@media(max-width:480px) {
  .portfolio-img, .blog-img { height: 160px; }
}

/* Navbar inner mobile */
@media(max-width:900px) {
  .navbar-inner { padding: 0 1.25rem; }
}

/* FAQ mobile */
@media(max-width:600px) {
  .faq-q { font-size: 0.875rem; padding: 1rem 0; }
  .faq-a { font-size: 0.85rem; }
}

/* g2 form grid mobile */
@media(max-width:480px) {
  .g2 { grid-template-columns: 1fr; }
  .s2 { grid-column: span 1; }
}

/* ═══════════════════════════════════════
   COUNTER ANIMATION
═══════════════════════════════════════ */
.stat-value {
  transition: none;
}
.counter-animated {
  display: inline-block;
}

/* ── FOOTER RESPONSIVE ── */
@media(max-width:900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-body { padding: 2.5rem 0 1.5rem; }
}
@media(max-width:560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-body { padding: 2rem 0 1.25rem; }
  .footer-brand-desc { max-width: 100%; margin-bottom: 1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; font-size: 0.78rem; padding: 0.9rem 0; }
}

/* ── ABOUT PAGE RESPONSIVE ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-img-block { height: 360px; }
@media(max-width:768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-img-block {
    height: 220px !important;
    order: -1;
  }
}
@media(max-width:480px) {
  .about-img-block { height: 180px !important; }
}

/* ── GIF SLIDE ── */
.slide-gif {
  background: #0a0d14;
}
.slide-gif img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
