/* ═══════════════════════════════════════════════════════
   Infinity Binary — Global Stylesheet
   Reset · Variables · Typography · Buttons · Navbar
   Mobile Menu · Footer · WhatsApp · Marquee
   Scroll Reveal · Utilities · Shared Components · Responsive
   ═══════════════════════════════════════════════════════ */

/* ── 1. CSS Reset + Box-sizing ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── 2. Design System Variables ── */
:root {
  --white: #FFFFFF;
  --off-white: #F9F7F2;
  --ink: #0D0D0D;
  --ink-light: #3D3D3D;
  --muted: #7A7A7A;
  --lime: #A8E63D;
  --lime-dark: #7AB82B;
  --lime-bg: #F2FAE3;
  --orange: #FF6B35;
  --orange-dark: #D94F1A;
  --orange-bg: #FFF1EB;
  --coral: #FF4D6D;
  --coral-bg: #FFF0F3;
  --sky: #38BDF8;
  --sky-bg: #EFF9FF;
  --ink-section: #111827;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* ── 3. Base Typography ── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.75;
  background: var(--off-white);
  overflow-x: hidden;
  opacity: 0;
  transform: none;
  transition: opacity 220ms ease;
  animation: ibPageAutoReady 260ms ease 500ms forwards;
}

body.ib-page-ready {
  opacity: 1;
  animation: none;
}

body.ib-page-leaving {
  opacity: 0;
}

@keyframes ibPageAutoReady {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

small {
  font-size: 0.825rem;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── 4. Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0;
}

/* ── 5. Container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── 6. Section Backgrounds ── */
.section-off-white {
  background: var(--off-white);
}

.section-lime-bg {
  background: var(--lime-bg);
}

.section-orange-bg {
  background: var(--orange-bg);
}

.section-dark {
  background: var(--ink-section);
  color: var(--white);
}

/* ── 7. Oversized Section Numbers ── */
.section-number {
  position: absolute;
  top: -20px;
  right: 0;
  font-family: var(--font-display);
  font-size: 20rem;
  font-weight: 800;
  color: var(--lime);
  opacity: 0.06;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

/* ── 8. Label Pills ── */
.label-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.label-pill-light {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: var(--ink-light);
}

.label-pill-orange {
  background: rgba(255,107,53,0.1);
  border-color: var(--orange);
  color: var(--orange-dark);
}

.label-pill-coral {
  background: rgba(255,77,109,0.1);
  border-color: var(--coral);
  color: var(--coral);
}

/* ── 9. Buttons ── */
.btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--lime-dark);
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-secondary:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-orange:hover {
  background: var(--orange-dark);
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--lime);
}

.btn-dark:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--lime);
}


.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  box-shadow: none;
}

.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  box-shadow: none;
  transform: none;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1rem;
}

.btn-secondary-dark {
  background: var(--ink-section);
  color: var(--white);
  border-color: var(--ink-section);
  box-shadow: 3px 3px 0 var(--ink);
}

.ib-marquee-strip {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding-top: 70px;
  box-sizing: content-box;
  height: 46px;
  background: linear-gradient(90deg, #ff4f9a 0%, #ff5ca8 50%, #ff4f9a 100%);
  border-top: 1px solid rgba(255,255,255,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 24px rgba(255,79,154,0.2);
}

.ib-marquee-strip::before,
.ib-marquee-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ib-marquee-strip::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent 18%, transparent 82%, rgba(255,255,255,0.18));
}

.ib-marquee-strip::after {
  background-image: radial-gradient(rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.15;
}

.ib-marquee-track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  white-space: nowrap;
  padding-left: 2rem;
  animation: ibMarqueeScroll 20s linear infinite;
}

.ib-marquee-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2.25rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.ib-marquee-claim {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.14);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(0,0,0,0.12);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.ib-marquee-claim::after {
  content: '→';
  font-size: 0.9rem;
  line-height: 1;
}

.ib-marquee-claim:hover {
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.ib-marquee-track span::after {
  content: '•';
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}

.ib-marquee-claim + span::before,
.ib-marquee-track span + .ib-marquee-claim::before {
  content: '•';
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  margin-right: 0.1rem;
}

.ib-marquee-strip:hover .ib-marquee-track {
  animation-play-state: paused;
}

@keyframes ibMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* ── 10. Offer Popup ── */
.ib-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.ib-offer-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.ib-offer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.72);
  backdrop-filter: blur(6px);
}

/* EDITED: added max-height + overflow-y so panel scrolls on small screens */
.ib-offer-panel {
  position: relative;
  width: min(620px, calc(100vw - 28px));
  max-height: min(760px, calc(100dvh - 32px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.35);
  padding: clamp(22px, 4vw, 34px);
  z-index: 1;
}

.ib-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--orange-bg);
  border: 1.5px solid var(--orange);
  color: var(--orange-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ib-offer-panel h2 {
  margin-top: 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.ib-offer-copy {
  margin-top: 0.75rem;
  color: var(--ink-light);
  line-height: 1.62;
}

.ib-offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.ib-offer-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: #f7fbef;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ib-offer-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 1.25rem;
}

.ib-offer-price-row > div {
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--off-white);
  min-width: 0;
}

.ib-offer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ib-offer-price-row strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  overflow-wrap: anywhere;
}

.ib-offer-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.ib-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.4rem;
}

.ib-offer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.ib-offer-close:hover {
  background: var(--lime);
}

.btn-secondary-dark:hover {
  background: var(--ink);
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* ── 10. Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 10000;
  background: var(--off-white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 300ms ease;
}

#navbar.scrolled {
  height: 70px;
  background: var(--off-white);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 4px 0 rgba(0,0,0,0.05);
}

#navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lime);
  font-weight: 800;
  transition: transform 300ms ease;
}

.logo:hover .logo-mark {
  transform: rotate(15deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-top {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.15em;
  line-height: 1;
}

.logo-bottom {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-light);
  position: relative;
  transition: color 200ms ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--lime);
  transition: width 200ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-careers {
  color: var(--orange) !important;
  font-weight: 700 !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 300ms ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* ── 11. Mobile Menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--off-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vh, 2.5rem);
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.16,1,0.3,1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  color: var(--ink);
  transition: color 100ms ease;
}

.mobile-menu a:hover {
  color: var(--lime);
}

/* ── 12. Marquee Strip ── */
.marquee-strip {
  height: 52px;
  background: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee-inner {
  display: flex;
  animation: marqueeScroll 25s linear infinite;
  white-space: nowrap;
}

.marquee-inner span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding-right: 2rem;
}

.marquee-strip:hover .marquee-inner {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── 13. Footer ── */
#footer {
  background: var(--ink-section);
  border-top: 4px solid var(--lime);
  padding: clamp(48px, 6vw, 80px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 200ms ease;
}

.footer-col ul li a:hover {
  color: var(--lime);
}

.footer-col ul li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

.footer-desc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1rem;
}

.footer-enterprise {
  border: 1px solid var(--lime);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 1.25rem;
  background: rgba(168,230,61,0.08);
  font-size: 0.82rem;
  color: var(--lime);
  font-weight: 600;
  line-height: 1.5;
}

.footer-socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 200ms ease;
  font-size: 1rem;
}

.footer-socials a:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(168,230,61,0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 60px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ── 14. WhatsApp Float ── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 997;
  background: #25D366;
  color: white;
  border-radius: 100px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 12px 12px 12px 16px;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 300ms ease;
}

.whatsapp-btn span {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: max-width 400ms ease, opacity 300ms ease, margin-left 300ms ease;
}

.whatsapp-btn:hover span {
  max-width: 100px;
  opacity: 1;
  margin-left: 8px;
  padding-right: 4px;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2s ease infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  60% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* ── 15. Scroll Reveal ── */
[data-reveal],
[data-reveal-left],
[data-reveal-right],
[data-reveal-scale] {
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.16,1,0.3,1),
              transform 600ms cubic-bezier(0.16,1,0.3,1);
}

[data-reveal] {
  transform: translateY(30px);
}

[data-reveal-left] {
  transform: translateX(-40px);
}

[data-reveal-right] {
  transform: translateX(40px);
}

[data-reveal-scale] {
  transform: scale(0.9);
}

[data-reveal].revealed,
[data-reveal-left].revealed,
[data-reveal-right].revealed,
[data-reveal-scale].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ── 16. Blob & Misc Animations ── */
@keyframes blobFloat {
  to {
    border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes ringRotate {
  to {
    transform: rotate(360deg);
  }
}

/* ── 17. Shared Utility Classes ── */
.ink-section {
  background: var(--ink-section);
  color: var(--white);
}

.lime-bg {
  background: var(--lime-bg);
}

.orange-bg {
  background: var(--orange-bg);
}

.lime {
  color: var(--lime);
}

/* Centered hero layout (services, team, contact pages) */
.hero-center {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.12em;
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--white);
}

/* Shared hero subtitle (dark bg) */
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
  max-width: 50ch;
  margin-top: 1.25rem;
}

/* Hero CTA buttons (centered) */
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

/* Section headers (shared across pages) */
.section-header {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 48ch;
  margin: 0.75rem auto 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.12em;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 48ch;
}

/* Filter tabs (shared: services, team) */
.filter-tabs {
  position: sticky;
  top: 64px;
  z-index: 99;
  background: var(--off-white);
  border-bottom: 2px solid var(--ink);
  padding: 16px 0;
}

.tabs-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
}

.tab {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: all 200ms ease;
  white-space: nowrap;
}

.tab:hover {
  color: var(--ink);
  border-color: rgba(0,0,0,0.15);
}

.tab.active {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

/* Hero info pills (team, contact) */
.stat-pills,
.info-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-pill,
.info-pill {
  border: 1px solid rgba(168,230,61,0.3);
  border-radius: 100px;
  padding: 8px 20px;
  background: rgba(168,230,61,0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lime);
}

/* CTA Banner (shared: home, services) */
.cta-banner {
  background: var(--lime);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: clamp(60px, 8vw, 80px) 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
}

.cta-content,
.cta-text {
  /* Content column */
}

.cta-title {
  color: var(--ink);
  line-height: 1.1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-light);
  margin-top: 0.75rem;
}

.cta-buttons,
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 200ms;
}

.breadcrumb a:hover {
  color: var(--lime);
}

/* FAQ labels */
.faq-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.12em;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.faq-title {
  margin-bottom: 0.75rem;
}

/* ── 19. Services Dropdown ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 12px;
  min-width: 280px;
  box-shadow: 6px 6px 0 var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, transform 250ms ease, visibility 250ms;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-trigger i {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-light);
  border-radius: 10px;
  transition: all 150ms ease;
}

.nav-dropdown-menu a:hover {
  background: var(--lime-bg);
  color: var(--ink);
}

.nav-dropdown-menu a i {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-dropdown-menu a:hover i {
  background: var(--lime);
}

/* ── 20. Service Banner (Contact Page) ── */
.service-banner {
  background: var(--lime);
  border-bottom: 2px solid var(--ink);
  padding: 14px 0;
}

.service-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.service-banner-inner i {
  color: var(--lime-dark);
  font-size: 1.2rem;
}

.service-banner-close {
  background: none;
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
  margin-left: 12px;
  transition: background 150ms;
}

.service-banner-close:hover {
  background: var(--ink);
  color: var(--lime);
}

/* ── 21. Footer Legal Links ── */
.footer-legal a {
  color: rgba(255,255,255,0.4);
  transition: color 200ms;
}

.footer-legal a:hover {
  color: var(--lime);
}

/* ── 22. Legal Page Styles ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(60px,8vw,100px) clamp(20px,5vw,60px);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1rem;
}

.legal-section p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.legal-section li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.85;
  margin-bottom: 0.5rem;
}

/* ── 23. Blog Card Styles ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
  transition: all 200ms ease;
}

.blog-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
}

.blog-card-image {
  height: 200px;
  display: flex;
  align-items: flex-start;
  padding: 16px;
  position: relative;
}

.blog-card-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--lime);
  color: var(--ink);
  border-radius: 100px;
  padding: 4px 12px;
  font-weight: 700;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.blog-card-meta i {
  margin-right: 4px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-card-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 200ms;
}

.blog-card-link:hover {
  color: var(--lime-dark);
}

.blog-card-link i {
  font-size: 0.75rem;
  transition: transform 200ms;
}

.blog-card-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.legal-hero {
  background: var(--ink-section);
  padding: 140px 0 80px;
  text-align: center;
  color: var(--white);
}

.legal-hero .hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.12em;
  display: inline-block;
  margin-bottom: 1rem;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.legal-hero .hero-sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

.legal-body {
  background: var(--off-white);
  padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 8vw, 120px);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1rem;
}

.legal-section p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.85;
  margin-bottom: 0.5rem;
  list-style: disc;
}

.about-timeline,
.services-hero,
.contact-hero,
.team-hero {
  position: relative;
  overflow: hidden;
}

/* ── 18. Responsive Breakpoints ── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .ib-marquee-strip {
    margin-top: 0;
    padding-top: 70px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* EDITED: full mobile popup fix — slides up from bottom, scrollable, big tap targets */
@media (max-width: 600px) {
  .ib-offer-modal {
    padding: 0;
    align-items: flex-end;
  }
  .ib-offer-panel {
    width: 100%;
    max-height: 94dvh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.18);
    padding: 18px 16px 28px;
    transform: translateY(20px);
    transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1);
  }
  .ib-offer-modal.open .ib-offer-panel {
    transform: translateY(0);
  }
  .ib-offer-panel h2 {
    font-size: clamp(1.55rem, 9vw, 1.85rem);
    margin-right: 36px;
  }
  .ib-offer-price-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ib-offer-price-row > div {
    padding: 12px 14px;
  }
  .ib-offer-price-row strong {
    font-size: 1.35rem;
  }
  .ib-offer-tags {
    gap: 7px;
  }
  .ib-offer-tags span {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 0.62rem;
  }
  .ib-offer-actions {
    flex-direction: column;
  }
  .ib-offer-actions .btn {
    width: 100%;
    flex: none;
    min-height: 52px;
    font-size: 1rem;
    justify-content: center;
  }
  .ib-offer-close {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
  }
  .ib-offer-copy,
  .ib-offer-note {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .ib-offer-panel {
    padding: 16px 12px 24px;
  }
  .ib-offer-badge {
    max-width: calc(100% - 48px);
    font-size: 0.62rem;
    padding: 5px 10px;
  }
  .ib-offer-panel h2 {
    font-size: 1.45rem;
  }
  .ib-offer-copy,
  .ib-offer-note {
    font-size: 0.82rem;
  }
}

@media (max-width: 640px) {
  .ib-marquee-strip {
    height: 42px;
  }

  .ib-marquee-track {
    gap: 1.5rem;
    padding-left: 1.25rem;
    animation-duration: 16s;
  }

  .ib-marquee-track span {
    gap: 1.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .ib-marquee-claim {
    padding: 0.36rem 0.72rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
