html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}


main {
  flex: 1;
}



/* Base reset – ultra light */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
}


/* ================================
   AXISBRAND – FAST HEADER (FIXED)
================================ */

/* HEADER WRAPPER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

/* FULL-WIDTH RED STRIP */


/* HEADER INNER (CONTENT WIDTH CONTROL) */
.header-inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  background: #ffffff;
  position: relative;
}

/* LOGO BLOCK */
.logo-block {
  background: #e32619;
  padding: 18px 28px;
  display: flex;
  align-items: center;

  /* extend red to left screen edge */
  margin-left: calc(-1 * (100vw - 100%) / 2);
  padding-left: calc((100vw - 100%) / 2 + 28px);
}


.logo-block img {
  width: 160px;
  height: 55px;
  display: block;
}

/* DESKTOP NAV */

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
  margin: 0;
  padding-left: 40px;
}

.nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  position: relative;
}

@media (min-width: 901px) {
  .nav-link:hover::after,
  .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #111;
  }
}
.main-nav {
  margin: 0 auto;
}


/* DROPDOWN */
.has-dropdown {
  position: relative;
}

.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

/* ================================
   DESKTOP DROPDOWN – PREMIUM
================================ */

@media (min-width: 901px) {
    
    .mobile-menu {
     display: none;
    }


  .has-dropdown > .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    
    min-width: 260px;
    max-width: 320px;

    background: #ffffff;
    border-radius: 10px;
    padding: 10px 0;

    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;

    z-index: 2000;
  }

  .has-dropdown:hover > .dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown li {
    list-style: none;
  }

  .dropdown li a {
    display: block;
    padding: 12px 20px;

    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;

    transition: background 0.2s ease, color 0.2s ease;
  }

  .dropdown li a:hover {
    background: #f5f5f5;
    color: #e32619;
  }
}


/* CTA */
.header-cta {
  background: #e32619;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  margin-left: auto;
  margin-right: 24px;
  white-space: nowrap;
}

/* HAMBURGER */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 16px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  margin: 5px 0;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    

  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .header-inner {
    padding: 0;
  }

  .logo-block {
    margin-left: 0;
    padding: 14px 16px;
  }

  /* MOBILE DROPDOWN MENU */
  .mobile-menu {
    display: block; /* required for animation */
    position: absolute;
    top: 100%;
    right: 0;

    width: 75vw;
    max-width: 320px;

    background: #e32619;
    color: #ffffff;

    border-radius: 0 0 0 14px;
    box-shadow: -12px 20px 40px rgba(0,0,0,0.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s linear 0.25s;

    z-index: 2000;
  }

  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  /* MENU LIST */
  .mobile-menu ul {
    list-style: none;
    padding: 5px;
    margin: 0;
  }

  .mobile-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.25);
  }

  .mobile-menu li:last-child {
    border-bottom: none;
    margin-bottom: 4px;
  }

  .mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.3px;
  }

  /* CLOSE BUTTON */
  .mobile-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
  }

/* ============================
   MOBILE CONTACT – CTA BUTTONS
============================ */

.mobile-contact {
  padding: 5px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 16px;
  border-radius: 12px;

  background: linear-gradient(180deg, #ffffff, #f3f3f3);
  color: #e32619;

  font-size: 15px;
  font-weight: 600;
  text-decoration: none;

  box-shadow:
    0 6px 0 rgba(0,0,0,0.15),
    0 10px 20px rgba(0,0,0,0.25);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Tap / Press effect */
.mobile-contact a:active {
  transform: translateY(3px);
  box-shadow:
    0 3px 0 rgba(0,0,0,0.15),
    0 6px 12px rgba(0,0,0,0.25);
}

/* ICONS */
.mobile-contact a::before {
  content: "";
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Phone icon */
    .mobile-contact a[href^="tel"]::before {
  content: "📞";
  background: none;
}

.mobile-contact a[href^="mailto"]::before {
  content: "✉️";
  background: none;
}


/* ============================
   MOBILE Menu Dropdowns
============================ */

    .mobile-menu .has-dropdown > .dropdown {
    display: none;
    padding-left: 12px;
    margin-top: 6px;
  }

  .mobile-menu .has-dropdown > a {
    position: relative;
    padding-right: 28px;
  }

  /* Arrow indicator */
  .mobile-menu .has-dropdown > a::after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.8;
  }

  /* When parent is active */
  .mobile-menu .has-dropdown.active > .dropdown {
    display: block;
  }

.mobile-menu .dropdown a {
  font-size: 14px;
  padding: 10px 0;
  opacity: 0.9;
}

/* ✅ CLOSE HEADER MOBILE MEDIA QUERY HERE */
}





/* ============================
   FOOTER – NEW GEN DESIGN
============================ */

.site-footer {
  background: radial-gradient(circle at top, #1a1a1a, #000);
  color: #ccc;
  font-size: 14px;
}

/* MAIN FOOTER GRID */
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 40px;

  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
}

/* BRAND COLUMN */
.footer-logo {
  width: 160px;
  margin-bottom: 14px;
}

.footer-address {
  font-size: 13px;
  margin-bottom: 10px;
  color: #aaa;
}

.footer-contact {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-top: 6px;
  font-weight: 500;
}

.footer-contact:hover {
  color: #e32619;
}

/* LINKS */
.footer-links h4,
.footer-form h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #e32619;
}

/* MINI FORM */
.footer-lead-form input,
.footer-lead-form textarea {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 10px;
}

.footer-lead-form textarea {
  height: 70px;
  resize: none;
}

.footer-lead-form button {
  width: 100%;
  background: linear-gradient(135deg, #e32619, #ff3b2f);
  border: none;
  color: #fff;
  padding: 11px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer-lead-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(227,38,25,0.35);
}

/* HONEYPOT */
.hp-field {
  display: none !important;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 16px 20px;
  font-size: 13px;
  color: #777;
}

.footer-logo img {
  width: 160px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-success-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);

  background: #ffffff;
  color: #111;
  padding: 22px 28px;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);

  font-size: 16px;
  text-align: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

.footer-success-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Honeypot */
.footer-hp {
  display: none !important;
}


/* ============================
   MOBILE
============================ */

@media (max-width: 900px) {

  .footer-main {
    display: grid;              /* ✅ REQUIRED */
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-contact {
    display: flex;              /* ✅ REQUIRED */
    justify-content: center;
  }

  .footer-logo img {
    width: 140px;
    margin: 0 auto;
  }
  
  /* Reorder footer columns on mobile */
  .footer-form {
    order: 1;
  }

  .footer-brand {
    order: 2;
  }

  .footer-links {
    order: 3;
  }
}


/* ============================
   pop-up form
============================ */

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lead-popup.active {
  display: block;
}

.lead-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.lead-popup-box {
  position: relative;
  max-width: 420px;
  margin: 8vh auto;
  background: #ffffff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: popupIn 0.35s ease;
}

@keyframes popupIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.lead-popup-box h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.lead-popup-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.lead-popup-box input,
.lead-popup-box textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.lead-popup-box textarea {
  resize: none;
  height: 100px;
}

.lead-popup-box button {
  width: 100%;
  background: #e32619;
  color: #fff;
  border: none;
  padding: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

.lead-popup-box button:hover {
  background: #c71f14;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
}
.hp-field {
  display: none !important;
}
.popup-header {
  background: #e32619;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -32px -32px 20px -32px;
}

.popup-header span {
  font-size: 16px;
  font-weight: 600;
}

.lead-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-close:hover {
  background: rgba(255,255,255,0.3);
}

.popup-subtext {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.success-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);

  background: #ffffff;
  color: #111;
  padding: 22px 28px;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);

  font-size: 16px;
  text-align: center;
  z-index: 10000;

  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

.success-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


/* =====================
   SERVICES HERO
===================== */

.services-hero {
  position: relative;
  min-height: 80vh;
  background: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background Media */
.services-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.services-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark Overlay */
.services-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.85) 100%
  );
}

/* Subtle Grid */
.services-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 75%);
}

/* Content */
.services-hero-content {
  position: relative;
  z-index: 4;
  max-width: 1100px;
  padding: 0 6vw;
  will-change: auto;
}

.services-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e32619;
}

.services-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.services-hero-highlight {
  display: block;
  margin-top: 12px;
  color: #e32619; /* AXISBRAND RED */
  font-weight: 800;
}


.services-hero-text {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 40px;
}

/* CTA */
.services-hero-actions .btn-outline-light {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.services-hero-actions .btn-outline-light:hover {
  background: #e32619;
  border-color: #e32619;
  transform: translateY(-2px);
}

/* Scroll Indicator */
.services-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.services-scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    transparent,
    #e32619,
    transparent
  );
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0% { opacity: 0; transform: translateY(-10px); }
  50% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* Responsive */
@media (max-width: 768px) {
  .services-hero {
    min-height: 90vh;
  }


  .services-hero-content {
    padding: 0 24px;
  }

  .services-hero-title {
    font-size: clamp(32px, 8vw, 44px);
  }

}


/* =====================
   AXIS ENGINE SECTION
===================== */

.axis-engine {
  position: relative;
  padding: 120px 20px;
  background: #7a0f0c; /* AXISBRAND core red base */
  overflow: hidden;
}

/* BACKGROUND LAYERS */
.axis-engine-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.axis-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

.axis-illumination {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,60,40,0.45), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(0,0,0,0.6), transparent 55%);
  animation: pulseGlow 10s ease-in-out infinite alternate;
}

.axis-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.55));
}

@keyframes pulseGlow {
  from { opacity: 0.75; }
  to   { opacity: 1; }
}

/* CONTENT */
.axis-engine-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.axis-engine-head {
  max-width: 720px;
  margin-bottom: 70px;
}

.axis-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

.axis-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.axis-title span {
  color: #ff3b2f;
}

.axis-intro {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

/* ENGINE MAP */
.axis-engine-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* NODES */
.engine-node {
  position: relative;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 26px 26px;
  text-decoration: none;
  color: #fff;
  transition: all 0.35s ease;
}

.engine-node::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255,60,40,0.35),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.engine-node:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.45);
}

.engine-node:hover::after {
  opacity: 1;
}

.node-id {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.engine-node h4 {
  margin: 10px 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.engine-node p {
  font-size: 14px;
  opacity: 0.85;
}

/* FOOTER */
.axis-engine-foot {
  margin-top: 70px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
}

/* RESPONSIVE */
@media (min-width: 640px) {
  .axis-engine-map {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .axis-engine {
    padding: 140px 40px;
  }

  .axis-engine-map {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}



/* =====================
   SECTION 2 – SYSTEM FLOW
===================== */

.services-system {
  position: relative;
  background: #ffffff;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 120px 120px;  
  color: #111111;
  padding: 140px 0;
}

.services-system-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* Header */
.services-system-header {
  max-width: 720px;
  margin-bottom: 100px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e32619;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 24px;
}

.section-intro {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* System Flow */
.system-flow {
  position: relative;
  padding-left: 120px;
}

/* Vertical Line */
.system-line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    #e32619,
    transparent
  );
}

/* Steps */
.system-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 80px;
}

.system-step:last-child {
  margin-bottom: 0;
}

.step-marker {
  position: absolute;
  left: -120px;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #e32619;
  background: #fff;
}

.step-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  max-width: 520px;
}

/* Footer Line */
.services-system-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}



.services-system-footer p {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.5;
  text-align: left;
}

.services-system-footer strong {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
  .services-system {
    padding: 100px 0;
  }

  .system-flow {
    padding-left: 0;
  }

  .system-line {
    display: none;
  }

  .system-step {
    flex-direction: column;
    padding-left: 0;
  }

  .step-marker {
    position: static;
    margin-bottom: 16px;
  }
  
  .services-system-footer {
    margin-top: 100px;
  }
}
/* Two-column layout */
.services-system-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

/* Left column */
.services-system-left {
  position: relative;
}

/* Right visual column */
.services-system-visual {
  position: relative;
  opacity: 0.9;
}

/* SVG system drawing */
.system-diagram {
  width: 100%;
  height: auto;
}

.system-diagram circle {
  fill: none;
  stroke: rgba(0,0,0,0.15);
  stroke-width: 2;
}

.system-diagram line {
  stroke: rgba(227,38,25,0.35);
  stroke-width: 2;
}

/* Hide visual on tablets & mobile */
@media (max-width: 1024px) {
  .services-system-layout {
    grid-template-columns: 1fr;
  }

  .services-system-visual {
    display: none;
  }
}

/* =====================
   SECTION 3 – LEADGEN CONTROL GRID
===================== */

.leadgen-control {
  position: relative;
  background: #000;
  color: #fff;
  padding: 200px 0;
  overflow: hidden;
}

/* ===== BACKGROUND SYSTEM LAYERS ===== */

/* Technical grid */
.leadgen-control::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.25;
  z-index: 1;
}

/* Diagonal signal lines */
.leadgen-control::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(0,255,140,0.08),
      rgba(0,255,140,0.08) 1px,
      transparent 1px,
      transparent 140px
    );
  opacity: 0.25;
  z-index: 2;
}
/* Soft light blooms */
.leadgen-bg-lights {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.leadgen-bg-lights::before,
.leadgen-bg-lights::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.leadgen-bg-lights::before {
  top: -150px;
  left: -150px;
  background: rgba(227,38,25,0.35); /* red accent */
}

.leadgen-bg-lights::after {
  bottom: -150px;
  right: -150px;
  background: rgba(0,255,140,0.35); /* green confidence */
}


/* Noise texture */
/* =====================
   PURE CSS DRAWN BACKGROUND
===================== */

.leadgen-bg-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* Layered CSS drawings */
  background:
    /* Micro noise simulation */
    repeating-radial-gradient(
      circle at 0 0,
      rgba(255,255,255,0.015),
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 3px
    ),

    /* Horizontal engineering grid */
    linear-gradient(
      rgba(255,255,255,0.055) 1px,
      transparent 1px
    ),

    /* Vertical engineering grid */
    linear-gradient(
      90deg,
      rgba(255,255,255,0.035) 1px,
      transparent 1px
    );

  background-size:
    6px 6px,        /* noise */
    120px 120px,   /* horizontal grid */
    120px 120px;   /* vertical grid */

  opacity: 0.75;
}


/* Diagonal signal lines */
.leadgen-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background:
    repeating-linear-gradient(
      135deg,
      rgba(0,255,140,0.14),
      rgba(0,255,140,0.14) 1px,
      transparent 1px,
      transparent 160px
    ),
    repeating-linear-gradient(
      -135deg,
      rgba(227,38,25,0.12),
      rgba(227,38,25,0.12) 1px,
      transparent 1px,
      transparent 200px
    );

  opacity: 0.5;
}


.leadgen-wrap {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
  z-index: 10;
}

/* Header */
.leadgen-head {
  text-align: center;
  margin-bottom: 120px;
}

/* Signal grid */
.leadgen-signal-grid {
  display: grid;
  grid-template-columns: 1fr 0.6fr 1fr;
  gap: 60px;
  margin-bottom: 140px;
  align-items: center;
}

.signal-box {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 48px;
  background: rgba(0,0,0,0.65);
}

.signal-title {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e32619;
  margin-bottom: 16px;
}

.signal-text {
  font-size: 20px;
  line-height: 1.6;
}

.signal-text strong {
  font-weight: 800;
}

/* Spine */
.signal-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.signal-spine span {
  position: relative;
  width: 280px;              /* 👈 wider boxes */
  text-align: center;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 18px 24px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(0,0,0,0.65);
}
/* Vertical connectors */
.signal-spine span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 2px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    rgba(227,38,25,0.6),
    rgba(227,38,25,0.15)
  );
}
.signal-spine span:not(:last-child)::after {
  box-shadow: 0 0 12px rgba(227,38,25,0.4);
}


/* Panels */
.leadgen-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 140px;
}

.control-panel {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 60px;
  background: rgba(0,0,0,0.65);
}

.control-panel h4 {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.control-panel ul {
  list-style: none;
  padding: 0;
}

.control-panel li {
  font-size: 17px;
  margin-bottom: 14px;
  color: #cccccc;
}

.control-panel.muted {
  opacity: 0.6;
}

/* Alert strip */
.leadgen-alert {
  position: relative;
  padding: 70px;
  margin-bottom: 160px;

  border: 1px solid rgba(0, 255, 140, 0.6);
  background: rgba(0, 255, 140, 0.06);

  box-shadow:
    0 0 40px rgba(0, 255, 140, 0.25),
    inset 0 0 60px rgba(0, 255, 140, 0.08);
}
.leadgen-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0) 35%,
    rgba(0,0,0,0.7) 100%
  );
}


.leadgen-alert h4 {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.alert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.alert-grid span {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 28px 24px;
  min-height: 90px;

  text-align: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;

  color: #eafff4;

  background: linear-gradient(
    180deg,
    rgba(0, 255, 140, 0.18),
    rgba(0, 255, 140, 0.08)
  );

  border: 1px solid rgba(0, 255, 140, 0.7);

  box-shadow:
    0 8px 0 rgba(0, 180, 100, 0.6),
    0 18px 40px rgba(0, 255, 140, 0.25);

  transform: translateY(0);
  transition: all 0.3s ease;
}

.alert-grid span:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 0 rgba(0, 180, 100, 0.8),
    0 28px 60px rgba(0, 255, 140, 0.35);
}


/* Final */
.leadgen-final {
  text-align: center;
}

.leadgen-final p {
  font-size: 30px;
}

.leadgen-final strong {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px) {
  .leadgen-signal-grid,
  .leadgen-panels {
    grid-template-columns: 1fr;
  }
}
/* =====================
   SECTION 3 – MOBILE SIGNAL ALIGNMENT FIX
===================== */
@media (max-width: 1024px) {

  /* Signal grid spacing */
  .leadgen-signal-grid {
    gap: 40px;
    margin-bottom: 100px;
  }

  /* Make all boxes visually consistent */
  .signal-box {
    padding: 32px;
    text-align: center;
  }

  /* Spine becomes full-width stack */
  .signal-spine {
    width: 100%;
    gap: 18px;
  }

  .signal-spine span {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 16px 20px;
    font-size: 13px;
  }

  /* Shorter connectors for mobile */
  .signal-spine span:not(:last-child)::after {
    height: 18px;
  }
}

/* =====================
   SECTION 3 – ALERT GRID MOBILE FIX
===================== */
@media (max-width: 768px) {

  .leadgen-alert {
    padding: 36px 20px;   /* 🔥 fixes squeeze */
  }

  .alert-grid {
    grid-template-columns: 1fr; /* intentional vertical stack */
    gap: 18px;
  }

  .alert-grid span {
    min-height: auto;
    padding: 22px 18px;
    font-size: 15px;
  }

  /* Reduce space below "What Lead Generation Cannot Do" */
  .leadgen-panels {
    margin-bottom: 60px; /* was 140px */
  }

  /* Pull Problems box upward slightly */
  .leadgen-alert {
    margin-top: 0;
    padding-top: 48px;   /* was 70px */
    margin-bottom: 100px;
  }

}


/* ==============================
   RANK CHECKER SECTION
============================== */

.rank-check-section {
  padding: 80px 20px;
  background: #0b0b0b;
  color: #ffffff;
}

.rank-check-container {
  max-width: 900px;
  margin: auto;
}

.rank-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.rank-subtitle {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 30px;
}

.rank-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rank-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
}

.rank-form button {
  padding: 14px 22px;
  border-radius: 6px;
  border: none;
  background: #00e676;
  color: #000;
  font-weight: 700;
  cursor: pointer;
}

.rank-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loader */
.rank-loader {
  display: none;
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

.rank-spinner {
  width: 38px;
  height: 38px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top: 4px solid #00e676;
  border-radius: 50%;
  animation: rankSpin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes rankSpin {
  to { transform: rotate(360deg); }
}

/* Result Box */
.rank-result {
  display: none;
  margin-top: 30px;
  padding: 25px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.rank-result h3 {
  margin-bottom: 10px;
}

.rank-success {
  color: #00e676;
}

.rank-fail {
  color: #ff5252;
}

.rank-cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.rank-cta a {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 18px;
  background: #4285f4;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* ============================
   Rank Result Animation
============================ */

 .rank-result {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.rank-result.show {
  opacity: 1;
  transform: translateY(0);
}
/* ============================
   Skeleton Loader
============================ */

.rank-skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.rank-skeleton span {
  height: 14px;
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.08)
  );
  background-size: 200% 100%;
  animation: skeletonMove 1.2s infinite;
}

.rank-skeleton span:nth-child(1) {
  width: 60%;
}

.rank-skeleton span:nth-child(2) {
  width: 80%;
}

.rank-skeleton span:nth-child(3) {
  width: 40%;
}

@keyframes skeletonMove {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Rank Checker Lead Popup */
.rank-lead-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Fix popup box positioning */
.rank-lead-box {
  position: relative;   /* 🔥 REQUIRED */
  background: #ffffff;
  width: 90%;
  max-width: 420px;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
}

.rank-lead-box h3 {
  color: #000;
  margin-bottom: 6px;
}

.rank-lead-box p {
  color: #555;
  margin-bottom: 20px;
}

.rank-lead-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.rank-lead-box button {
  width: 100%;
  padding: 14px;
  background: #e10600;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* Close button – scoped & safe */
.rank-lead-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent !important;
  border: none;
  font-size: 22px;
  font-weight: 700;
  color: #FF0000;
  cursor: pointer;
  width: auto !important;
  padding: 0 !important;
}
/* Close button – force visibility */
.rank-lead-box .rank-lead-close {
  position: absolute;
  top: 12px;
  right: 14px;

  width: auto;
  height: auto;
  padding: 0;

  background: transparent;
  border: none;

  font-size: 24px;
  line-height: 1;
  font-weight: 800;

  color: #e10600; /* AxisBrand red */
  cursor: pointer;

  z-index: 10;
}
.rank-lead-box .rank-lead-close:hover {
  transform: scale(1.1);
  opacity: 0.85;
}


/* =====================
   SECTION 4 – SEO SERVICES
===================== */

.seo-section {
  background: #ffffff;
  color: #111111;
  padding: 180px 0;
}

.seo-inner {
  position: relative;
  z-index: 5;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* Top grid */
.seo-top-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

/* Typography */
.seo-framing {
  font-size: 22px;
  margin: 28px 0 18px;
}

.seo-framing strong {
  font-weight: 800;
  color: #e32619;
}

.seo-context {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  max-width: 620px;
}

/* Diagnostic */
.seo-diagnostic-frame {
  border: 1px solid rgba(0,0,0,0.15);
  padding: 50px;
  background: #fafafa;
}

.diagnostic-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.diagnostic-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
}

/* Override rank checker */
.seo-section .rank-check-section {
  background: transparent;
  padding: 0;
  color: #111;
}

.seo-section .rank-form input {
  border: 1px solid #ddd;
}

.seo-section .rank-form button {
  background: #e32619;
  color: #fff;
}

/* Divider */
.seo-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 140px 0;
}

/* Focus grid */
.seo-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.seo-focus-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.seo-focus-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Honesty block */
.seo-honesty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 140px 0;
}

.honesty-col h5 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.honesty-col ul {
  list-style: none;
  padding: 0;
}

.honesty-col li {
  font-size: 16px;
  margin-bottom: 12px;
}

.honesty-col.muted {
  opacity: 0.6;
}

/* Outcome */
.seo-outcome {
  text-align: center;
}

.seo-outcome p {
  font-size: 28px;
}

.seo-outcome strong {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px) {
  .seo-top-grid,
  .seo-focus-grid,
  .seo-honesty {
    grid-template-columns: 1fr;
  }
}
/* =====================
   SEO SYSTEM MAP
===================== */

.seo-system-map {
  position: relative;
  margin: 160px 0;
  min-height: 520px;
}

/* Core */
.seo-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid #e32619;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-weight: 800;
  letter-spacing: 1px;
  color: #111;
  background: #ffffff;

  /* 🔥 CORE GLOW */
  box-shadow:
    0 0 0 16px rgba(227,38,25,0.10),   /* soft ring */
    0 0 40px rgba(227,38,25,0.45),     /* main glow */
    0 0 80px rgba(227,38,25,0.18);     /* outer aura */
}


/* Nodes */
.seo-node {
  position: absolute;
  width: 300px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-node h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.seo-node p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.seo-node:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Positioning */
.node-intent { top: -70px; left: 50%; transform: translateX(-50%); }
.node-tech { top: 50%; left: 0; transform: translateY(-50%); }
.node-content { bottom: -70px; left: 50%; transform: translateX(-50%); }
.node-measure { top: 50%; right: 0; transform: translateY(-50%); }

/* Connector lines */
.seo-system-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#e32619, #e32619) center/2px 100% no-repeat,
    linear-gradient(#e32619, #e32619) center/100% 2px no-repeat;
  opacity: 0.15;
}

/* =====================
   SEO REALITY PANELS
===================== */

.seo-reality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin: 160px 0;
}

.seo-reality-panel {
  padding: 60px;
  border: 1px solid rgba(0,0,0,0.15);
  position: relative;
}

.seo-reality-panel h5 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.seo-reality-panel ul {
  list-style: none;
  padding: 0;
}

.seo-reality-panel li {
  font-size: 17px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}

/* Positive */
.seo-reality-panel.positive {
  background: #f9f9f9;
}

.seo-reality-panel.positive li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0a9b4a;
  font-weight: 700;
}

/* Negative */
.seo-reality-panel.negative {
  background: #ffffff;
  opacity: 0.6;
}

.seo-reality-panel.negative li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #999;
  font-weight: 700;
}

.seo-reality-panel:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

/* =====================
   SEO INTERACTIVE BACKGROUND
===================== */

.seo-section {
  position: relative;
  overflow: hidden;
}

.seo-bg-interactive {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Grid layer */
.seo-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.4;
  transform: translateZ(0);
}

/* Dot / intent layer */
.seo-bg-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(227,38,25,0.18) 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.12) 2px, transparent 3px),
    radial-gradient(circle at 40% 80%, rgba(227,38,25,0.12) 2px, transparent 3px);
  background-size: 260px 260px;
  opacity: 0.35;
}

/* Soft glow layer */
.seo-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(227,38,25,0.15), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.08), transparent 60%);
  opacity: 0.6;
}

/* =====================
   SEO SYSTEM MAP – MOBILE FIX
===================== */
@media (max-width: 1024px) {

  .seo-system-map {
    margin: 80px 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Remove core diagram */
  .seo-core {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;

    margin: 0 auto 36px;

    width: 260px;
    height: 260px;

    border-radius: 50%;
    border: 2px solid #e32619;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-weight: 800;
    letter-spacing: 1px;
    color: #111;

    background: #ffffff;

    /* 🔥 RED GLOW RESTORED */
    box-shadow:
      0 0 0 14px rgba(227,38,25,0.08),
      0 0 35px rgba(227,38,25,0.35);
  }
  
  .seo-core {
    border: 1px solid rgba(0,0,0,0.15);
    background: #ffffff;
  }

  .seo-core span {
    font-size: 18px;
    line-height: 1.4;
    display: block;
  }

  /* Disable absolute positioning */
  .seo-node {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;

    width: 100%;
    max-width: 100%;
    padding: 26px;
  }

  /* Remove connector lines */
  .seo-system-map::before {
    display: none;
  }
  
  .seo-reality {
    grid-template-columns: 1fr;   /* stack vertically */
    gap: 32px;                    /* clean spacing between boxes */
    margin: 80px 0;
  }

  .seo-reality-panel {
    padding: 36px 28px;           /* balanced mobile padding */
    width: 100%;
    max-width: 100%;
  }

  .seo-reality-panel h5 {
    margin-bottom: 22px;
  }

  .seo-reality-panel li {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Reduce gap after rank checker */
  .seo-top-grid {
    gap: 48px; /* was visually too large on mobile */
  }

  /* Reduce space before Search Engine Core */
  .seo-system-map {
    margin-top: 40px;   /* 🔽 key fix */
  }
}



/* =====================
   SECTION 5 – PERFORMANCE MARKETING
===================== */

.performance-section {
  position: relative;
  background: #050505;
  color: #ffffff;
  padding: 200px 0;
  overflow: hidden;
}

/* Background */
.performance-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.performance-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 160px 160px;
  opacity: 0.35;
}

.performance-signals {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(227,38,25,0.12),
      rgba(227,38,25,0.12) 1px,
      transparent 1px,
      transparent 180px
    );
  opacity: 0.4;
}

.performance-inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
  z-index: 5;
}

/* Header */
.performance-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 140px;
}

.performance-framing {
  font-size: 22px;
  margin: 24px 0 12px;
}

.performance-context {
  font-size: 16px;
  color: #cccccc;
}

/* Lab grid */
.performance-lab {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 160px;
}

.lab-card {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lab-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.lab-card.wide {
  grid-column: span 2;
}

.lab-index {
  position: absolute;
  top: -18px;
  left: 40px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #e32619;
}

/* Reality panels */
.performance-reality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 160px;
}

.reality-panel {
  padding: 60px;
  border: 1px solid rgba(255,255,255,0.2);
}

.reality-panel h5 {
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.reality-panel ul {
  list-style: none;
  padding: 0;
}

.reality-panel li {
  font-size: 17px;
  margin-bottom: 14px;
}

.reality-panel.negative {
  opacity: 0.6;
}

/* Outcome */
.performance-outcome {
  text-align: center;
}

.performance-outcome p {
  font-size: 30px;
}

.performance-outcome strong {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px) {
  .performance-lab,
  .performance-reality {
    grid-template-columns: 1fr;
  }

  .lab-card.wide {
    grid-column: span 1;
  }
}

/* =====================
   PERFORMANCE INTERACTIVE GRID
===================== */

.perf-grid-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Base grid style */
.perf-grid {
  position: absolute;
  inset: -20%;
  background-image:
    /* Thin grid */
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px),

    /* Thick guide grid */
    linear-gradient(rgba(255,255,255,0.18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 2px, transparent 2px);

  transform: translate3d(0,0,0);
  will-change: transform;
}


/* Layer density */
.layer-1 {
  background-size:
    60px 60px,     /* thin */
    60px 60px,
    300px 300px,  /* thick */
    300px 300px;
  opacity: 0.55;
  filter: drop-shadow(0 0 6px rgba(227,38,25,0.25));
}

.layer-2 {
  background-size:
    120px 120px,
    120px 120px,
    360px 360px,
    360px 360px;
  opacity: 0.3;
}

.layer-3 {
  background-size:
    200px 200px,
    200px 200px,
    480px 480px,
    480px 480px;
  opacity: 0.2;
}


/* Slight perspective feel */
.performance-section {
  perspective: 1200px;
}

/* =====================
   SECTION 6 – CONTENT OPERATING SYSTEM
===================== */

.content-os {
  position: relative;
  background: #ffffff;
  color: #111111;
  padding: 200px 0;
  overflow: hidden;
}


.content-os-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
  position: relative;
  z-index: 2;
}

/* Top grid */
.content-os-top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 100px;
  margin-bottom: 160px;
}

/* Intro */
.content-os-lead {
  font-size: 22px;
  margin: 24px 0;
}

.content-os-context {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  max-width: 520px;
}

/* System grid */
.content-os-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.os-card {
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.15);
}

.os-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.os-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Signal strip */
.content-os-signal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 160px;
}

.signal-col h5 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 20px;
}

.signal-col ul {
  list-style: none;
  padding: 0;
}

.signal-col li {
  font-size: 17px;
  margin-bottom: 12px;
}

.signal-divider {
  width: 1px;
  height: 140px;
  background: rgba(0,0,0,0.15);
}

.signal-col.muted {
  opacity: 0.6;
}

/* Outcome */
.content-os-outcome {
  text-align: center;
}

.content-os-outcome p {
  font-size: 30px;
}

.content-os-outcome strong {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px) {
  .content-os-top {
    grid-template-columns: 1fr;
  }

  .content-os-grid {
    grid-template-columns: 1fr;
  }

  .content-os-signal {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .signal-divider {
    display: none;
  }
}


/* =====================
   CONTENT OS – SIGNAL BOXES
===================== */

.content-os-signal.boxed {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 520px));
  gap: 60px;
  justify-content: center;
  margin-bottom: 160px;
}

.signal-box {
  padding: 48px 52px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #ffffff;
}

.signal-box h5 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 28px;
}

.signal-box ul {
  list-style: none;
  padding: 0;
}

.signal-box li {
  font-size: 17px;
  margin-bottom: 14px;
}

/* Muted right box */
.signal-box.negative {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
  .content-os-signal.boxed {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =====================
   CONTENT OS – BACKGROUND SYSTEM
===================== */

/* Fine grid */
.content-os::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}

/* Macro grid + diagonal signal */
.content-os::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(0,0,0,0.025),
      rgba(0,0,0,0.025) 1px,
      transparent 1px,
      transparent 160px
    );
  opacity: 0.6;
  z-index: 0;
}

/* Soft neutral light blooms */
.content-os .bg-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.content-os .bg-light::before,
.content-os .bg-light::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
}

.content-os .bg-light::before {
  top: -180px;
  left: -180px;
  background: rgba(0,0,0,0.15);
}

.content-os .bg-light::after {
  bottom: -180px;
  right: -180px;
  background: rgba(0,0,0,0.12);
}


/* =====================
   SECTION 7 – SOCIAL SYSTEM
===================== */

.social-system {
  position: relative;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(227,38,25,0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(227,38,25,0.08),
      transparent 45%
    ),
    #050505;
  color: #ffffff;
  padding: 220px 0;
  overflow: hidden;
}


/* Background */
.social-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Grid */
.social-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.25;
}

/* Icons */
.social-icons-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.social-icon {
  position: absolute;
  width: 82px;          /* desktop base size – we’ll increase this next */
  opacity: 0.9;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.35));
}


/* Icon placement */
.i1 { top: 10%; left: 8%; }
.i2 { top: 22%; right: 12%; }
.i3 { top: 40%; left: 14%; }
.i4 { bottom: 18%; right: 10%; }
.i5 { top: 55%; left: 48%; }
.i6 { bottom: 30%; left: 30%; }
.i7 { top: 15%; right: 32%; }
.i8 { bottom: 12%; left: 60%; }
.i9 { top: 70%; right: 28%; }
.i10 { top: 34%; right: 44%; }


/* Responsive */
@media (max-width: 1024px) {
  .social-icon {
    width: 42px;
    opacity: 0.08;
  }
}


/* Inner */
.social-inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
  z-index: 2;
}

/* Header */
.social-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 160px;
}

.social-framing {
  font-size: 22px;
  margin-top: 24px;
  color: #cccccc;
}

/* System grid */
.social-system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 160px;
}

.social-card {
  padding: 44px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.6);
}

.social-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.social-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #cccccc;
}

/* Signal */
.social-signal {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 520px));
  gap: 80px;
  justify-content: center;
  margin-bottom: 160px;
}

/* Reuse signal-box styles */
.signal-box {
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.6);
}

.signal-box h5 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 24px;
}

.signal-box ul {
  list-style: none;
  padding: 0;
}

.signal-box li {
  font-size: 17px;
  margin-bottom: 14px;
}

.signal-box.negative {
  opacity: 0.6;
}

/* Outcome */
.social-outcome {
  text-align: center;
}

.social-outcome p {
  font-size: 30px;
}

.social-outcome strong {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1024px) {
  .social-system-grid {
    grid-template-columns: 1fr;
  }

  .social-signal {
    grid-template-columns: 1fr;
  }

  .social-icons-layer .icon {
    font-size: 42px;
  }
}

/* Abstract signal lines */
.social-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      120deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.04) 1px,
      transparent 1px,
      transparent 140px
    );
  opacity: 0.35;
  z-index: 0;
}

.social-system::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -60deg,
      rgba(227,38,25,0.08),
      rgba(227,38,25,0.08) 1px,
      transparent 1px,
      transparent 220px
    );
  opacity: 0.25;
  z-index: 0;
}

/* TikTok brand hover glow */
.social-icon.i10 {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.social-icon.i10:hover {
  filter:
    drop-shadow(0 0 12px rgba(105,201,208,0.8))  /* TikTok cyan */
    drop-shadow(0 0 20px rgba(238,29,82,0.6));  /* TikTok red */
  opacity: 0.35;
}


/* =====================
   WHATSAPP & EMAIL MARKETING
===================== */

.comm-section {
  position: relative;
  background: #fafafa;
  padding: 180px 0;
  overflow: hidden;
  color: #111;
}

.comm-inner {
  position: relative;
  z-index: 5;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* Background */
.comm-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.comm-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 160px 160px;
  opacity: 0.4;
}

.comm-orbs::before,
.comm-orbs::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.comm-orbs::before {
  background: rgba(37, 211, 102, 0.35);
  top: 10%;
  left: 5%;
}

.comm-orbs::after {
  background: rgba(0,0,0,0.12);
  bottom: 10%;
  right: 10%;
}

.comm-lines path {
  fill: none;
  stroke: rgba(37, 211, 102, 0.25);
  stroke-width: 1.5;
}

/* Layout */
.comm-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

/* Visual system */
.comm-visual {
  position: relative;
  height: 360px;
}

.comm-node {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
}

.comm-node.whatsapp {
  width: 220px;
  height: 220px;
  background: #fff;
  border: 2px solid #25D366;
  box-shadow:
    0 0 0 18px rgba(37,211,102,0.08),
    0 0 40px rgba(37,211,102,0.35);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.comm-node.email {
  width: 140px;
  height: 140px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.2);
  top: 15%;
  right: 10%;
}

/* Roles */
.comm-roles {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin: 140px 0;
}

.role-card {
  padding: 48px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
}

.role-card.whatsapp {
  border-color: #25D366;
}

/* Components */
.comm-components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 140px;
}

.component-card {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.component-card:hover {
  transform: translateY(-6px);
}

/* Reality */
.comm-reality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 140px;
}

/* Outcome */
.comm-outcome {
  text-align: center;
}

.comm-outcome strong {
  font-weight: 800;
}

/* Mobile */
@media (max-width: 1024px) {
  .comm-layout,
  .comm-roles,
  .comm-reality {
    grid-template-columns: 1fr;
  }

  .comm-visual {
    height: 300px;
  }
  
    /* Mobile fix: reposition Email support node */
    .comm-node.email {
      top: 0;
      right: 0;
      transform: translate(20%, -20%);
    }
    
    /* Slightly adjust WhatsApp center for breathing room */
    .comm-node.whatsapp {
      top: 55%;
    }

}

/* =====================
   WhatsApp & Email – Reality Upgrade
===================== */

.comm-reality.enhanced {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 140px 0;
}

/* Card base */
.reality-card {
  position: relative;
  padding: 56px 52px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.04);
  overflow: hidden;
}

/* Accent strip */
.reality-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
}

/* Tags */
.reality-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 18px;
  opacity: 0.75;
}

/* Headings */
.reality-card h5 {
  font-size: 15px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* List */
.reality-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reality-card li {
  position: relative;
  padding-left: 34px;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Positive */
.reality-card.positive::before {
  background: #25D366;
}

.reality-card.positive li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: 700;
}

/* Negative */
.reality-card.negative {
  background: #fafafa;
  opacity: 0.85;
}

.reality-card.negative::before {
  background: #999;
}

.reality-card.negative li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #999;
  font-weight: 700;
}

/* Hover polish */
.reality-card:hover {
  transform: translateY(-6px);
  transition: transform 0.35s ease;
}

/* =====================
   Mobile Optimization
===================== */

@media (max-width: 1024px) {

  .comm-reality.enhanced {
    grid-template-columns: 1fr;
    gap: 36px;
    margin: 80px 0;
  }

  .reality-card {
    padding: 40px 28px;
  }

  .reality-card li {
    font-size: 16px;
  }
  
/* Reduce vertical gaps between major blocks */
  .comm-roles {
    margin: 64px 0;
    gap: 28px;
  }

  .comm-components {
    margin-bottom: 64px;
    gap: 20px;
  }

  .comm-reality {
    margin-bottom: 64px;
    gap: 28px;
  }

  .comm-reality.enhanced {
    margin: 64px 0;
    gap: 28px;
  }

  /* Reduce spacing inside stacked role cards */
  .role-card {
    padding: 32px 24px;
  }

  /* Reduce spacing inside component cards */
  .component-card {
    padding: 22px;
  }

  /* Reduce list spacing slightly */
  .reality-card ul {
    margin-top: 12px;
  }

  .reality-card li {
    margin-bottom: 14px;
  }

  /* Tighten outcome spacing */
  .comm-outcome {
    margin-top: 48px;
  }
 
}


/* =====================
   MARKETING AUTOMATION & CRM – V2
===================== */

.automation-v2 {
  position: relative;
  background: #0b0b0b;
  color: #fff;
  padding: 160px 0;
  overflow: hidden;
}

.automation-inner {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* Background */
.automation-bg {
  position: absolute;
  inset: 0;
}

.automation-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227,38,25,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,38,25,0.05) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.25;
}

.automation-signals {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(227,38,25,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(227,38,25,0.12), transparent 45%);
}

/* Header */
.automation-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 100px;
}

.automation-lead {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Flow */
.automation-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 120px;
}

/* Core */
.flow-core {
  margin: 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid #e32619;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  letter-spacing: 1px;
  background: #0e0e0e;
  box-shadow:
    0 0 0 18px rgba(227,38,25,0.08),
    0 0 50px rgba(227,38,25,0.35);
}

/* Groups */
.flow-group {
  border-left: 3px solid #e32619;
  padding-left: 32px;
}

.flow-group.muted {
  border-color: rgba(255,255,255,0.2);
}

.flow-group h4 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.7;
}

/* Cards */
.flow-card {
  padding: 18px 22px;
  margin-bottom: 16px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-card:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(227,38,25,0.25);
}

/* Reality */
.automation-reality {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 120px;
}

/* Outcome */
.automation-outcome {
  text-align: center;
}

/* =====================
   DESKTOP UPGRADE
===================== */
@media (min-width: 1025px) {

  .automation-flow {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .flow-group {
    border-left: none;
    padding-left: 0;
  }

  .flow-group:first-of-type {
    text-align: right;
    border-right: 3px solid #e32619;
    padding-right: 32px;
  }

  .flow-group.muted {
    text-align: left;
    border-left: 3px solid rgba(255,255,255,0.2);
    padding-left: 32px;
  }

  .automation-reality {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.flow-core.pulse {
  box-shadow:
    0 0 0 22px rgba(227,38,25,0.12),
    0 0 70px rgba(227,38,25,0.45);
}

/* =====================
   FIX: Reality card text contrast
===================== */

.automation-reality .reality-card {
  color: #111; /* base readable text */
}

.automation-reality .reality-card h5 {
  color: #111;
}

.automation-reality .reality-card li {
  color: #222;
}


/* =====================
   E-COMMERCE MARKETING
===================== */

.ecom-section {
  position: relative;
  background: #fafafa;
  padding: 180px 0;
  overflow: hidden;
  color: #111;
}

.ecom-inner {
  position: relative;
  z-index: 5;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* Background */
.ecom-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ecom-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.35;
}

.ecom-flow-lines {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,0,0,0.06), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.05), transparent 50%);
}

/* Header */
.ecom-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 120px;
}

.ecom-intro {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
}

.highlight {
  color: #e32619;
}

/* Flow */
.ecom-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-bottom: 140px;
}

.flow-step {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 32px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.flow-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.step-index {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #e32619;
  display: block;
  margin-bottom: 14px;
}

/* Reality */
.ecom-reality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 140px;
}

.reality-card {
  padding: 56px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
}

.reality-card h5 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.reality-card ul {
  list-style: none;
  padding: 0;
}

.reality-card li {
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
}

.reality-card.positive li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0a9b4a;
  font-weight: 700;
}

.reality-card.negative {
  opacity: 0.6;
}

.reality-card.negative li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #999;
}

/* Completion */
.ecom-complete {
  text-align: center;
}

.checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: #0a9b4a;
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 1024px) {

  .ecom-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ecom-reality {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .reality-card {
    padding: 36px 28px;
  }

}



/* =====================
   FINAL SYSTEM CTA
===================== */

.final-cta {
  position: relative;
  background: #050505;
  color: #fff;
  padding: 200px 0;
  overflow: hidden;
}

.final-inner {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
  text-align: center;
}

/* Background */
.final-bg {
  position: absolute;
  inset: 0;
}

.final-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(227,38,25,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,38,25,0.06) 1px, transparent 1px);
  background-size: 160px 160px;
  opacity: 0.25;
}

.final-rings {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(227,38,25,0.25), transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(227,38,25,0.12), transparent 55%);
}

/* Statement */
.final-statement h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 32px;
}

.final-statement span {
  color: #e32619;
}

.final-statement p {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.85;
}

.final-statement .bold {
  font-weight: 700;
  margin-top: 18px;
}

/* Proof */
.final-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 80px 0;
}

.proof-item {
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Action */
.final-action {
  max-width: 720px;
  margin: 0 auto;
}

.action-line {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.final-action h3 {
  font-size: 32px;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.cta-primary {
  background: #e32619;
  color: #fff;
  padding: 16px 36px;
  font-weight: 700;
  text-decoration: none;
}

.cta-secondary {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 16px 36px;
  text-decoration: none;
}

.confidence-note {
  font-size: 14px;
  opacity: 0.7;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 1024px) {

  .final-cta {
    padding: 140px 0;
  }

  .final-proof {
    gap: 12px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }

}


/* =====================
   CONSULTATION MODAL – CLEAN FINAL
===================== */

.consult-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.consult-modal.active {
  display: block;
}

.consult-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

/* Modal box */
.consult-box {
  position: relative;
  max-width: 440px;
  background: #ffffff;
  margin: 10vh auto;
  border-radius: 8px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 40px 120px rgba(0,0,0,0.45);
}

/* Header bar */
.consult-header {
  background: #e32619;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.consult-header img {
  height: 32px;
  width: auto;
}

/* Close button */
.consult-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consult-close:hover {
  background: rgba(255,255,255,0.25);
}

/* Body */
.consult-body {
  padding: 36px 40px 40px;
}

.consult-body h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #111;
}

.consult-body p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 26px;
  color: #555;
}

/* Inputs */
.consult-body input {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  font-size: 14px;
  border-radius: 4px;
}

.consult-body input:focus {
  outline: none;
  border-color: #e32619;
}

/* Submit button */
.consult-body button[type="submit"] {
  width: 100%;
  padding: 15px;
  background: #e32619;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

.consult-body button[type="submit"]:hover {
  background: #c91f14;
}

/* Loader */
.consult-loader {
  display: none;
  margin-top: 18px;
  font-size: 14px;
  color: #666;
}

/* =====================
   MOBILE OPTIMIZATION
===================== */

@media (max-width: 480px) {

  .consult-box {
    margin: 8vh 14px;
  }

  .consult-body {
    padding: 28px 22px 32px;
  }

  .consult-body h3 {
    font-size: 20px;
  }

  .consult-body p {
    font-size: 13px;
  }

  .consult-header img {
    height: 28px;
  }
}

.consult-body select {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  font-size: 14px;
  border-radius: 4px;
  background: #fff;
}

.consult-body select:focus {
  outline: none;
  border-color: #e32619;
}


/* =====================
   STAGE 2 – MEETING TYPE
===================== */

#consultStepTwo {
  margin-top: 20px;
}

.meeting-options {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.meeting-btn {
  padding: 16px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  text-align: center;
  transition: all 0.25s ease;
}

.meeting-btn:hover {
  border-color: #e32619;
  color: #e32619;
}

.meeting-btn.primary {
  border-color: #e32619;
  background: #e32619;
  color: #fff;
}

.meeting-btn.primary:hover {
  background: #c91f14;
}

/* =====================
   STAGE 3 – DATE & TIME
===================== */

#consultStepThree {
  margin-top: 24px;
}

#meetingDate {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 20px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.time-slot {
  padding: 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.time-slot:hover {
  border-color: #e32619;
  color: #e32619;
}

.time-slot.active {
  background: #e32619;
  color: #fff;
  border-color: #e32619;
}

#confirmMeetingBtn {
  width: 100%;
  padding: 16px;
  background: #e32619;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
}

#confirmMeetingBtn.enabled {
  opacity: 1;
}

/* =====================
   MODAL SCROLL FIX – CLEAN
===================== */

/* Limit modal height */
.consult-box {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

/* Make only body scroll */
.consult-body {
  overflow-y: auto;
  max-height: calc(90vh - 64px); /* header height */
  padding: 36px 40px 40px; /* KEEP ORIGINAL PADDING */
  box-sizing: border-box;
}

/* Mobile padding stays intact */
@media (max-width: 480px) {
  .consult-body {
    padding: 28px 22px 32px;
  }
}

/* Optional: subtle scrollbar styling (NO padding hacks) */
.consult-body {
  scrollbar-width: thin;
  scrollbar-color: #e32619 #f1f1f1;
}

.consult-body::-webkit-scrollbar {
  width: 6px;
}

.consult-body::-webkit-scrollbar-thumb {
  background: #e32619;
  border-radius: 6px;
}

/* =====================
   MODAL BOTTOM SAFE GAP
===================== */

.consult-box {
  margin-bottom: 6vh; /* desktop breathing space */
}

@media (max-width: 480px) {
  .consult-box {
    margin-bottom: 4vh; /* mobile safe gap */
  }
}


