/* ═══════════════════════════════════════════════════════════════
   2MUCH.NET — Global Site Enhancements
   Loaded after main.css on all pages via head.php
   ═══════════════════════════════════════════════════════════════ */

/* ── Angled section dividers ─────────────────────────────────── */
.sect-angle {
  display: block;
  line-height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.sect-angle svg { display: block; width: 100%; height: 40px; }

/* ── Trust counter stability (prevent CLS during animation) ──── */
.trust-item-num { font-variant-numeric: tabular-nums; }

/* ── Inter heading font ───────────────────────────────────────── */
h1, h2, h3, h4, h5,
.section-kicker, .hero-kicker,
.trust-item-num, .process-num,
.pricing-name, .pricing-price,
.nav-links a, .btn {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Hero grain texture ───────────────────────────────────────── */
.hero { isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}
.hero .container,
.hero .hero-split,
.hero .hero-center,
.hero-text { position: relative; z-index: 1; }

/* ── Scroll-triggered card animations ─────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up:nth-child(2) { transition-delay: 0.07s; }
.fade-in-up:nth-child(3) { transition-delay: 0.14s; }
.fade-in-up:nth-child(4) { transition-delay: 0.21s; }
.fade-in-up:nth-child(5) { transition-delay: 0.28s; }
.fade-in-up:nth-child(6) { transition-delay: 0.35s; }

/* ── Ghost service numbers (services.php) ─────────────────────── */
.service-card { position: relative; overflow: hidden; }
.service-card > *:not(.service-num) { position: relative; z-index: 1; }
.service-num {
  position: absolute !important;
  top: -1rem; right: 0.5rem;
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy, #0c1a2e);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  z-index: 0 !important;
  font-family: 'Inter', sans-serif;
}

/* ── Founder quote section ────────────────────────────────────── */
.founder-quote-wrap {
  background: var(--navy, #0c1a2e);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.founder-quote-wrap::before {
  content: '\201C';
  position: absolute;
  top: -2rem; left: 1.5rem;
  font-size: 22rem;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  font-family: Georgia, serif;
  pointer-events: none;
}
.founder-blockquote {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}
.founder-blockquote p {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.founder-blockquote cite { display: flex; flex-direction: column; gap: 0.15rem; font-style: normal; }
.founder-blockquote cite strong { font-size: 0.9rem; font-weight: 700; color: #00d400; display: block; font-family: 'Inter', sans-serif; }
.founder-blockquote cite span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }

/* ── Homepage testimonial grid ───────────────────────────────── */
.hp-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) { .hp-testi-grid { grid-template-columns: 1fr; } }
.hp-testi-card {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius, 10px);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.hp-testi-card::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem; right: 1rem;
  font-size: 4rem; line-height: 1;
  color: #00d400;
  opacity: 0.18;
  font-family: Georgia, serif;
  pointer-events: none;
}
.hp-testi-card p {
  font-size: 0.9rem;
  color: var(--text-secondary, #4a5568);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.hp-testi-name { font-size: 0.82rem; font-weight: 700; color: var(--navy, #0c1a2e); font-family: 'Inter', sans-serif; }
.hp-testi-co { font-size: 0.75rem; color: var(--text-muted, #8892a4); margin-top: 0.1rem; }

/* ── Featured-in press strip ─────────────────────────────────── */
.press-strip {
  padding: 1.4rem 0;
  background: var(--bg-gray, #f5f7fa);
  border-top: 1px solid var(--border, #e2e8f0);
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.press-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.press-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6478;
  white-space: nowrap;
  flex-shrink: 0;
}
.press-items { display: flex; align-items: center; flex-wrap: nowrap; gap: 0 0.65rem; overflow: hidden; }
.press-item {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary, #4a5568);
  white-space: nowrap;
}
.press-item--tv {
  color: var(--blue, #1d5fa8);
  background: rgba(29,95,168,0.07);
  border: 1px solid rgba(29,95,168,0.2);
  border-radius: 4px;
  padding: 0.18rem 0.55rem;
  font-size: 0.78rem;
}

/* ── Phone number in nav ─────────────────────────────────────── */
.nav-phone {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00d4ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(0,212,255,0.45);
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-phone:hover { color: #fff; border-color: #00d4ff; background: rgba(0,212,255,0.12); }
.nav-phone svg { width: 12px; height: 12px; flex-shrink: 0; }
@media (max-width: 960px) { .nav-phone { display: none; } }

/* ── Mobile sticky call bar ───────────────────────────────────── */
.mobile-call-bar {
  display: none;
}
@media (max-width: 960px) {
  .mobile-call-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    background: var(--navy, #0c1a2e);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1rem;
    border-top: 2px solid #00d400;
    letter-spacing: 0.02em;
    font-family: 'Inter', sans-serif;
  }
  .mobile-call-bar svg { width: 16px; height: 16px; flex-shrink: 0; color: #00d400; }
  .mobile-call-bar span { color: #00d400; }
  /* Push page content up so it doesn't hide behind the bar */
  body { padding-bottom: 56px; }
}

/* ── Sticky nav shrink on scroll ─────────────────────────────── */
.site-nav {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-nav.nav--scrolled {
  box-shadow: 0 2px 16px rgba(12,26,46,0.10);
}
.site-nav.nav--scrolled .nav-inner {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.site-nav .nav-inner {
  transition: padding 0.3s ease;
}

/* ── Nav active underline + hover slide ──────────────────────── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--green-bright, #00d400);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ── Card hover lifts ─────────────────────────────────────────── */
.offering-card,
.case-card,
.hp-testi-card,
.service-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.offering-card:hover,
.case-card:hover,
.hp-testi-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(12,26,46,0.11);
}

/* ── Founder avatar initials circle ──────────────────────────── */
.founder-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #00d400;
  color: #0c1a2e;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
}
.founder-cite-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.founder-cite-inner > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
