/* ============================================
   Connect Minds — Tech layer
   Efeitos modernos, animações e ornamentos
   ============================================ */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-bright));
  z-index: 250;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.7);
  transition: width 0.08s linear;
}

/* ---------- Global M-pattern ambient background ---------- */
body {
  background-color: var(--bg);
}

/* Floating M-pattern layer — visible across all sections */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('assets/m-icon-white.png');
  background-repeat: repeat;
  background-size: 130px auto;
  opacity: 0.035;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Hide the M-pattern dots from behind the hero (they read as orange glows behind the photo) */
.hero { background-color: var(--bg); }

/* Make sure content sits above the ambient pattern */
.nav, .scroll-progress, .side-nav, .menu-overlay,
section, header, footer {
  position: relative;
  z-index: 2;
}

.nav { position: fixed; z-index: 100; }
.scroll-progress { position: fixed; z-index: 250; }
.side-nav { position: fixed; z-index: 180; }
.menu-overlay { position: fixed; z-index: 220; }
.whatsapp-fab { position: fixed; z-index: 200; }

/* ---------- Tech divider between sections ---------- */
.tech-divider {
  position: relative;
  height: 1px;
  margin: 0 auto;
  max-width: 1200px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 20%, rgba(245,166,35,0.45) 50%, rgba(255,255,255,0.12) 80%, transparent 100%);
  overflow: visible;
}

.tech-divider::before, .tech-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--orange);
}

.tech-divider::before { left: 50%; transform: translate(-50%, -50%); }
.tech-divider::after {
  left: 0;
  background: rgba(245,166,35,0.4);
  box-shadow: none;
  animation: divider-travel 6s linear infinite;
}

@keyframes divider-travel {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- Hero neural network ---------- */
.hero {
  isolation: isolate;
}

.hero-network {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero-network .line {
  stroke: rgba(245, 166, 35, 0.25);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4 6;
  animation: dash-flow 14s linear infinite;
}

.hero-network .line.alt {
  stroke: rgba(120, 150, 255, 0.18);
  animation-duration: 20s;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -200; }
}

.hero-network .node {
  fill: var(--orange);
  filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.7));
  animation: node-pulse 3.5s ease-in-out infinite;
}

.hero-network .node.b { fill: #5879ff; filter: drop-shadow(0 0 6px rgba(88, 121, 255, 0.7)); animation-delay: -1.2s; }
.hero-network .node.c { animation-delay: -2.4s; }
.hero-network .node.d { fill: #5879ff; filter: drop-shadow(0 0 5px rgba(88, 121, 255, 0.6)); animation-delay: -0.6s; }
.hero-network .node.e { animation-delay: -3s; }

@keyframes node-pulse {
  0%, 100% { transform-origin: center; opacity: 1; r: 3; }
  50% { opacity: 0.5; r: 5; }
}

/* Spotlight that follows cursor — disabled per design */
.hero-spotlight {
  display: none !important;
}

/* ---------- Bracket / tech badge on hero ---------- */
.hero-tag {
  position: relative;
  overflow: hidden;
}

.hero-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.25), transparent);
  transform: translateX(-100%);
  animation: shine 4s ease-in-out infinite;
}

@keyframes shine {
  0%, 60% { transform: translateX(-100%); }
  90%, 100% { transform: translateX(100%); }
}

/* ---------- Marquee (frases-manifesto) ---------- */
.marquee-section {
  padding: 48px 0;
  background: var(--bg);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.marquee-section::before, .marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-section::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.marquee-item .sep {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 14px var(--orange);
}

.marquee-item em {
  color: var(--orange);
  font-style: italic;
  font-weight: 700;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Stats counter section ---------- */
.method-section { padding-bottom: 20px; }
.stats-section {
  background: var(--bg);
  padding: 40px 0 40px;
  position: relative;
  overflow: hidden;
}

.about-section { padding-top: 70px; }

.stats-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.16) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20,29,94,0.4) 0%, rgba(10,15,48,0.4) 100%);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.stat {
  padding: 48px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.stat:last-child { border-right: none; }

.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.4s ease;
}

.stat:hover::before { opacity: 1; transform: scaleX(1); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-number .plus { font-size: 0.6em; vertical-align: top; }

.stat-label {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ---------- Animated gradient border on cards ---------- */
.feel-card, .pillar, .diff-card, .serv-card, .testimonial {
  position: relative;
}

.feel-card::after, .pillar::after, .diff-card::after, .serv-card::after, .testimonial::after {
  /* Already used in some — only add to those without */
}

.feel-card, .pillar, .diff-card, .testimonial {
  background-clip: padding-box;
}

.feel-card:hover, .pillar:hover, .diff-card:hover, .testimonial:hover {
  box-shadow: 0 20px 60px -20px rgba(245, 166, 35, 0.18), inset 0 0 0 1px rgba(245, 166, 35, 0.25);
}

/* Glow trail on hover */
.serv-card {
  --x: 50%; --y: 50%;
}

.serv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--x) var(--y), rgba(245, 166, 35, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.serv-card:hover::before { opacity: 1; }

/* ---------- Method connector: re-trigger animation each time in view ---------- */
.method-steps::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
  z-index: 0;
  opacity: 0;
}

.method-steps.run-anim::after {
  animation: method-pulse 3.5s ease-out forwards;
}

@keyframes method-pulse {
  0% { width: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { width: 76%; opacity: 0.6; }
}

.method-step-circle {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.method-steps.run-anim .method-step-circle {
  animation: circle-pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1.3) both;
}
.method-steps.run-anim .method-step:nth-child(1) .method-step-circle { animation-delay: 0.1s; }
.method-steps.run-anim .method-step:nth-child(2) .method-step-circle { animation-delay: 0.5s; }
.method-steps.run-anim .method-step:nth-child(3) .method-step-circle { animation-delay: 0.9s; }

@keyframes circle-pop {
  0% { transform: scale(0.5); opacity: 0; box-shadow: 0 0 0 rgba(245,166,35,0); }
  60% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 30px rgba(245,166,35,0.6); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 20px rgba(245,166,35,0.25); }
}

.method-step:hover .method-step-circle {
  background: var(--orange);
  color: var(--navy-900);
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 0 40px rgba(245, 166, 35, 0.45);
}

/* ---------- Smooth section reveal (stagger) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
              filter 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ---------- Animated gradient on position-quote ---------- */
.position-quote {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, rgba(42, 58, 158, 0.18) 50%, rgba(245, 166, 35, 0.05) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Mid-CTA orbiting glow — animated conic on the LEFT (copy) side only */
.mid-cta-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(245,166,35,0.35) 60deg,
      transparent 120deg,
      rgba(245,166,35,0.20) 200deg,
      transparent 260deg,
      rgba(245,166,35,0.30) 320deg,
      transparent 360deg);
  filter: blur(40px);
  opacity: 0.85;
  animation: spin 16s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.mid-cta-card { isolation: isolate; }

.mid-cta-card.form-card::before {
  /* Stronger orange radial glow, left only */
  right: 50%;
  left: -10%;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.30) 0%, transparent 60%);
  filter: blur(60px);
  top: -50%;
  width: auto;
  height: 200%;
}

@media (max-width: 880px) {
  .mid-cta-card::after { width: 100%; opacity: 0.5; }
  .mid-cta-card.form-card::before { right: 0; left: 0; }
}

/* ---------- Hero photo subtle parallax tilt ---------- */
.hero-photo {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-photo:hover {
  transform: translateY(-4px) rotate(-0.4deg);
}

/* ---------- Animated arrow in CTAs ---------- */
.btn-arrow::after {
  display: inline-block;
}

/* ---------- Subtle nav indicator line ---------- */
.nav {
  position: fixed;
}

.nav::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.5), transparent);
  opacity: 0.6;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   NAV LOGO IMAGE
   ============================================ */
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo .logo-full {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.25s;
}

.nav-logo:hover .logo-full { opacity: 0.85; }

/* ============================================
   HAMBURGER MENU BUTTON
   ============================================ */
.nav-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 0;
  position: relative;
  transition: all 0.25s;
}

.nav-menu-btn:hover {
  background: rgba(245, 166, 35, 0.08);
  border-color: rgba(245, 166, 35, 0.5);
}

.nav-menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
}

.nav-menu-btn span:nth-child(1) { top: 14px; }
.nav-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-menu-btn span:nth-child(3) { bottom: 14px; }

.nav-menu-btn.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); background: var(--orange); }
.nav-menu-btn.open span:nth-child(2) { opacity: 0; }
.nav-menu-btn.open span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); background: var(--orange); }

/* ============================================
   FULLSCREEN MENU OVERLAY
   ============================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(5, 8, 34, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  overflow-y: auto;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(245,166,35,0.15) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.menu-overlay-inner {
  min-height: 100vh;
  padding: 120px 64px 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.menu-overlay.open .menu-item {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.open .menu-item:nth-child(1) { transition-delay: 0.10s; }
.menu-overlay.open .menu-item:nth-child(2) { transition-delay: 0.14s; }
.menu-overlay.open .menu-item:nth-child(3) { transition-delay: 0.18s; }
.menu-overlay.open .menu-item:nth-child(4) { transition-delay: 0.22s; }
.menu-overlay.open .menu-item:nth-child(5) { transition-delay: 0.26s; }
.menu-overlay.open .menu-item:nth-child(6) { transition-delay: 0.30s; }
.menu-overlay.open .menu-item:nth-child(7) { transition-delay: 0.34s; }
.menu-overlay.open .menu-item:nth-child(8) { transition-delay: 0.38s; }
.menu-overlay.open .menu-item:nth-child(9) { transition-delay: 0.42s; }
.menu-overlay.open .menu-item:nth-child(10) { transition-delay: 0.46s; }
.menu-overlay.open .menu-item:nth-child(11) { transition-delay: 0.50s; }

.menu-item::before {
  content: attr(data-num);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--orange);
  flex-shrink: 0;
  width: 36px;
  margin-top: 8px;
}

.menu-item span {
  flex: 1;
  transition: transform 0.3s ease, color 0.25s ease;
  display: inline-block;
}

.menu-item:hover span {
  transform: translateX(16px);
  color: var(--orange);
}

.menu-item::after {
  content: "→";
  font-size: 28px;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.menu-foot {
  display: flex;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
}

.menu-foot a:hover { color: var(--orange); }

@media (max-width: 760px) {
  .menu-overlay-inner { padding: 100px 24px 48px; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================
   SIDE NAVIGATOR (arrows + dots)
   ============================================ */
.side-nav {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 180;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(10, 15, 48, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
}

.side-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.25s;
}

.side-arrow:hover {
  background: var(--orange);
  color: var(--navy-900);
  border-color: var(--orange);
  transform: scale(1.06);
}

.side-arrow:disabled, .side-arrow.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.side-dots {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0;
  padding: 0;
}

.side-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0;
}

.side-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.side-dot:hover::before {
  background: rgba(245,166,35,0.7);
  transform: scale(1.4);
}

.side-dot.active::before {
  background: var(--orange);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 12px var(--orange);
}

/* Tooltip on hover */
.side-dot .dot-tip {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  border: 1px solid var(--border-strong);
}

.side-dot .dot-tip::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--navy-900);
  border-left: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.side-dot:hover .dot-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 880px) {
  .side-nav { display: none; }
}

/* ============================================
   FORM CARD (2-col mid-cta)
   ============================================ */
.form-card {
  padding: 0 !important;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  position: relative;
  z-index: 1;
}

.form-copy {
  padding: 64px 56px;
  border-right: 1px solid var(--border);
}

.form-copy h2 { font-size: clamp(28px, 3vw, 40px); text-align: left; margin-bottom: 20px; max-width: none; }
.form-copy p { text-align: left; margin: 0 0 28px; max-width: none; }
.form-copy .eyebrow { justify-content: flex-start; }

.form-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.form-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text);
}

.form-bullet .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  flex-shrink: 0;
}

.form-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
}

.form-wa:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.contact-form {
  padding: 56px;
  background: rgba(5, 8, 34, 0.4);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.form-header h3 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.form-helper {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field input,
.field select,
.field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255,255,255,0.32);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  background: rgba(245, 166, 35, 0.04);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.12);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23f5a623' stroke-width='2'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  color: var(--text);
}

.field select option {
  background: var(--navy-800);
  color: var(--text);
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 32px 0;
  animation: fade-in 0.6s ease;
}

.form-success .check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 0 30px rgba(245,166,35,0.4);
  animation: check-pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1.4);
}

@keyframes check-pop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-success h4 { font-size: 22px; margin-bottom: 10px; }
.form-success p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

@media (max-width: 880px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-copy { padding: 48px 32px; border-right: none; border-bottom: 1px solid var(--border); }
  .contact-form { padding: 40px 32px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============================================
   Adjust mid-cta-card padding when has form
   ============================================ */
.mid-cta .mid-cta-card.form-card::before {
  /* keep the orange glow */
}

/* Hide old text-logo styles if still present */
.nav-logo-text { display: none; }
.nav-logo .logo-mark { display: none; }

/* ============================================
   PHOTO BACKGROUND BLEND (cutout PNGs — let them breathe)
   ============================================ */
.hero-photo,
.about-photo {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  overflow: visible !important;
}

.hero-photo::after { display: none !important; }
.about-photo::before { display: none !important; }

.hero-photo img,
.about-photo img {
  /* No mask — PNGs are already cut out */
  -webkit-mask-image: none !important;
          mask-image: none !important;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45)) contrast(1.04);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* Hero mark — restored (M icon with orange dot in background) */
.hero-mark { display: block !important; }

/* Restore orange node glow — kept tight so it doesn't haze the photo */
.hero-network .node {
  fill: #f5a623 !important;
  filter: drop-shadow(0 0 2px rgba(245, 166, 35, 0.6)) !important;
}

/* Hero photo: soft fade at the bottom edge so it melts into the page */
.hero-photo img {
  -webkit-mask-image: linear-gradient(180deg,
    #000 0%,
    #000 48%,
    rgba(0,0,0,0.9) 65%,
    rgba(0,0,0,0.6) 82%,
    rgba(0,0,0,0.25) 94%,
    transparent 100%) !important;
          mask-image: linear-gradient(180deg,
    #000 0%,
    #000 48%,
    rgba(0,0,0,0.9) 65%,
    rgba(0,0,0,0.6) 82%,
    rgba(0,0,0,0.25) 94%,
    transparent 100%) !important;
}

/* Extra warm ground glow under the hero photo to bridge the fade */
.hero-photo::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: -20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 75% !important;
  height: 80px !important;
  background: radial-gradient(ellipse at center,
    rgba(245, 166, 35, 0.32) 0%,
    rgba(245, 166, 35, 0.12) 35%,
    transparent 70%) !important;
  filter: blur(22px) !important;
  z-index: 3 !important;
  pointer-events: none !important;
  border-radius: 50% !important;
  mix-blend-mode: screen !important;
  animation: hero-ground-pulse 4s ease-in-out infinite;
}

@keyframes hero-ground-pulse {
  0%, 100% { opacity: 0.85; width: 75%; }
  50% { opacity: 1; width: 85%; }
}

/* Override the strict aspect ratio so photo can breathe to its natural shape */
.hero-photo {
  aspect-ratio: auto;
  max-width: 480px;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about-photo {
  aspect-ratio: auto;
  max-width: 460px;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Decorative glow behind the cutout — about section keeps the warm/blue mix */
.about-photo::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 90% !important;
  height: 75% !important;
  background: radial-gradient(ellipse at center bottom,
    rgba(245, 166, 35, 0.18) 0%,
    rgba(42, 58, 158, 0.18) 30%,
    transparent 70%) !important;
  filter: blur(40px) !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: 0 !important;
  inset: auto !important;
}

/* Hero photo: NO warm ground glow behind the subject (was bleeding warmth upward) */
.hero-photo::before { display: none !important; }
.hero-photo::after  { display: none !important; }

.hero-photo img,
.about-photo img {
  position: relative;
  z-index: 2;
}

/* Photo-badge stays floating above the photo */
.hero-photo-badge {
  z-index: 4;
  position: absolute !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%);
  right: auto !important;
  width: max-content;
  max-width: 90%;
}

.about-photo-mark {
  z-index: 4;
  position: absolute !important;
  bottom: 24px;
  right: 24px;
}

/* ============================================
   TYPEWRITER for hero h1
   ============================================ */
.typer {
  position: relative;
}

.typer .typer-ghost {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.typer .typed-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
}

/* Cursor sits inside typed-line so it follows the text inline */

.typer .cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--orange);
  margin-left: 4px;
  vertical-align: -0.06em;
  animation: caret 0.9s steps(1) infinite;
  border-radius: 1px;
}

@keyframes caret {
  50% { opacity: 0; }
}

.typer .typed-line {
  display: inline;
}

.typer .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 700;
}

/* ============================================
   CLOSE SECTION (Final do raciocínio) — better proportions
   ============================================ */
.close-section {
  padding: 160px 0 140px;
}

.close-inner h2 {
  font-size: clamp(38px, 5.5vw, 68px);
  margin-bottom: 40px;
  line-height: 1.05;
}

.close-inner > p {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 600px;
  margin: 0 auto 18px;
  line-height: 1.7;
  color: var(--text-muted);
}

.close-impact {
  margin: 64px auto;
  padding: 32px 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 640px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.5;
}

.close-impact .sep {
  color: var(--orange);
  margin: 0 10px;
  font-weight: 400;
}

.close-ctas { margin-top: 32px; }

.close-micro { margin-top: 35px !important; }

/* Tighten gap between testimonials and "Talvez você esteja pensando..." */
.obj-section { padding-top: 60px !important; }

/* ============================================
   FOOTER LOGO + SLIM LAYOUT
   ============================================ */
.footer-inner-slim {
  grid-template-columns: 1.4fr 1fr !important;
  gap: 64px !important;
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 22px;
}

@media (max-width: 720px) {
  .footer-inner-slim { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* ============================================
   LARGE M DECORATION (per-section)
   ============================================ */
.section-mark-bg {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
  user-select: none;
}

/* ============================================
   DIFFERENTIALS — typographic list with expand-on-hover
   ============================================ */
.diff-section { padding-bottom: 40px !important; }
.serv-section { padding-top: 60px !important; }

.diff-list {
  margin: 64px 0 0;
  position: relative;
  z-index: 2;
}

.diff-row {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr 60px;
  align-items: center;
  gap: 28px;
  padding: 28px 32px 28px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: padding 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              background 0.5s ease;
}

.diff-row:last-child {
  border-bottom: 1px solid var(--border);
}

.diff-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    rgba(245, 166, 35, 0.05) 0%,
    rgba(245, 166, 35, 0.02) 30%,
    transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

/* Animated orange accent at the BOTTOM of the row (visible after expand) */
.diff-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--orange) 0%, rgba(245, 166, 35, 0.3) 70%, transparent 100%);
  transition: width 0.7s cubic-bezier(0.7, 0, 0.3, 1) 0.15s;
  pointer-events: none;
}

.diff-row:hover {
  padding: 40px 32px 40px 0;
  background: rgba(245, 166, 35, 0.015);
}

.diff-row:hover::before { opacity: 1; }
.diff-row:hover::after  { width: 100%; }

/* Big outline number */
.diff-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.18);
          text-stroke: 1.2px rgba(255, 255, 255, 0.18);
  transition: all 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  user-select: none;
  text-align: left;
  padding-left: 8px;
}

.diff-row:hover .diff-num {
  color: var(--orange);
  -webkit-text-stroke: 0;
          text-stroke: 0;
  transform: translateX(8px);
  text-shadow: 0 0 30px rgba(245, 166, 35, 0.3);
}

/* Content */
.diff-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.diff-content h3 {
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
  transition: color 0.4s ease;
}

.diff-emph {
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.4s ease;
}

.diff-row:hover .diff-emph { color: var(--orange); }

.diff-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity 0.4s ease 0.1s,
              transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s,
              margin 0.5s ease;
  margin: 0;
  max-width: 720px;
}

.diff-row:hover .diff-content p {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px;
}

/* Right arrow */
.diff-marker {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  flex-shrink: 0;
}

.diff-row:hover .diff-marker {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-900);
  transform: rotate(-45deg) scale(1.08);
  box-shadow: 0 0 30px rgba(245, 166, 35, 0.35);
}

/* Subtle glowing dot behind the number — connects to M visual */
.diff-row .diff-num::after {
  content: "";
  position: absolute;
  bottom: 12%;
  left: -8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.7);
  transform: scale(0);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1.2);
}

.diff-row:hover .diff-num::after {
  opacity: 1;
  transform: scale(1);
}

/* ----- MOBILE ----- */
@media (max-width: 720px) {
  .diff-list { margin-top: 40px; }
  .diff-row {
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 22px 0;
  }
  .diff-marker { display: none; }
  .diff-num { font-size: 44px !important; padding-left: 4px; }
  .diff-content h3 { font-size: 18px; }
  .diff-content p {
    max-height: 200px;
    opacity: 1;
    transform: none;
    margin-top: 8px;
    font-size: 14px;
  }
  .diff-row:hover { padding: 22px 0; background: transparent; }
}
.diff-m-stage {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 60px auto 0;
  aspect-ratio: 1607 / 1085;
  z-index: 2;
}

.diff-m-stage::before {
  content: "";
  position: absolute;
  inset: 10% 5% 10% 5%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(245, 166, 35, 0.18) 0%,
    rgba(88, 121, 255, 0.10) 35%,
    transparent 70%);
  filter: blur(48px);
  z-index: 0;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1.2s ease 0.4s, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s;
}

.diff-m-stage.drawn::before {
  opacity: 0.7;
  transform: scale(1);
  animation: m-bg-pulse 8s ease-in-out 2s infinite;
}

@keyframes m-bg-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

.diff-m-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 1;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.diff-m-stage.drawn .diff-m-img {
  opacity: 0.85;
  transform: scale(1);
}

/* Interactive nodes at M vertices */
.m-node {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.m-node.v1 { left: 12%; top: 8%; }
.m-node.v2 { left: 33%; top: 72%; }
.m-node.v3 { left: 53%; top: 10%; }
.m-node.v4 { left: 72%; top: 72%; }
.m-node.v5 { left: 91%; top: 8%; }

.m-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  position: relative;
  box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.16), 0 0 30px rgba(245, 166, 35, 0.55);
  transition: all 0.3s ease;
  z-index: 2;
}

.m-dot::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 166, 35, 0.4);
  animation: dot-spin 14s linear infinite;
}

.m-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.55) 0%, transparent 70%);
  animation: dot-pulse 2.4s ease-in-out infinite;
  z-index: -1;
}

.m-node:hover .m-dot {
  background: #fff;
  transform: scale(1.18);
  box-shadow: 0 0 0 8px rgba(245, 166, 35, 0.3), 0 0 40px rgba(245, 166, 35, 0.7);
}

.m-label {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  background: rgba(13, 20, 56, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

/* Labels above the dot for bottom-valley nodes (v2, v4) */
.m-node.v2,
.m-node.v4 {
  flex-direction: column-reverse;
}

.m-node.v2 .m-label,
.m-node.v4 .m-label {
  margin-top: 0;
  margin-bottom: 14px;
}

.m-node:hover .m-label {
  background: var(--orange);
  color: var(--navy-900);
  border-color: var(--orange);
}

/* Tooltip card */
.m-tooltip {
  position: absolute;
  width: 300px;
  background: linear-gradient(135deg, var(--card-elev) 0%, var(--card) 100%);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.7), 0 0 0 1px rgba(245,166,35,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 20;
  left: 50%;
}

.m-tooltip.up   { top: calc(100% + 70px); transform: translate(-50%, -8px); }
.m-tooltip.down { bottom: calc(100% + 70px); transform: translate(-50%, 8px); }

.m-tooltip::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--card-elev);
  border-left: 1px solid rgba(245, 166, 35, 0.3);
  border-top: 1px solid rgba(245, 166, 35, 0.3);
  left: 50%;
  margin-left: -6px;
}

.m-tooltip.up::before   { top: -7px; }
.m-tooltip.down::before { bottom: -7px; transform: rotate(180deg); }

.m-tip-num {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.m-tooltip h4 {
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.m-tooltip p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.m-node:hover .m-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.m-node:hover .m-tooltip.up,
.m-node:hover .m-tooltip.down {
  transform: translate(-50%, 0);
}

/* Edge fix — first/last node tooltips might overflow stage horizontally */
.m-node.v1 .m-tooltip { left: 0; transform: translate(-10%, -8px); }
.m-node.v1:hover .m-tooltip { transform: translate(-10%, 0); }
.m-node.v1 .m-tooltip::before { left: 14%; }

.m-node.v5 .m-tooltip { left: auto; right: 0; transform: translate(10%, -8px); }
.m-node.v5:hover .m-tooltip { transform: translate(10%, 0); }
.m-node.v5 .m-tooltip::before { left: auto; right: 14%; margin-left: 0; }

/* MOBILE: stack as cards */
@media (max-width: 880px) {
  .diff-m-stage {
    aspect-ratio: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .diff-m { display: none; }
  .m-node,
  .m-node.v1, .m-node.v2, .m-node.v3, .m-node.v4, .m-node.v5 {
    position: relative;
    inset: auto;
    left: auto !important; top: auto !important; right: auto !important; bottom: auto !important;
    transform: none !important;
    flex-direction: row !important;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    gap: 14px;
    cursor: default;
  }
  .m-node .m-dot { width: 12px; height: 12px; margin-top: 6px; flex-shrink: 0; }
  .m-node .m-dot::before { inset: -7px; }
  .m-node .m-label {
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 16px;
    white-space: normal;
  }
  .m-node .m-tooltip,
  .m-node .m-tooltip.up,
  .m-node .m-tooltip.down {
    position: relative !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 4px 0 0 !important;
  }
  .m-tooltip::before { display: none; }
  .m-tip-num { display: none; }
  .m-tooltip h4 { display: none; }
  .m-tooltip p { font-size: 13.5px; }
  /* Use grid so label sits next to dot, text below */
  .m-node {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
  }
  .m-node .m-dot { grid-row: span 2; }
  .m-node .m-tooltip { grid-column: 2; }
} {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 24px;
}

.position-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 24px;
}

.position-split .position-header {
  margin-bottom: 0;
}

.position-split .position-header h2 {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.pillars-triangle {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 5 / 4;
  z-index: 2;
}

.triangle-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.triangle-path {
  stroke-dashoffset: 0;
  animation: tri-flow 18s linear infinite;
}

@keyframes tri-flow {
  to { stroke-dashoffset: -200; }
}

.pillar-node {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Anchor each node by its DOT (top of column) so all three dots align to the SVG triangle vertices */
.pillar-node.top   {
  left: 50%;
  top: 16.67%;
  flex-direction: column-reverse;
  transform: translate(-50%, calc(-100% + 10px));
}
.pillar-node.left  { left: 16.67%;  top: 83.33%; transform: translate(-50%, -10px); }
.pillar-node.right { left: 83.33%;  top: 83.33%; transform: translate(-50%, -10px); }

.pillar-node:hover { z-index: 10; }
.pillar-node.top:hover   { transform: translate(-50%, calc(-100% + 10px)) scale(1.04); }
.pillar-node.left:hover  { transform: translate(-50%, -10px) scale(1.04); }
.pillar-node.right:hover { transform: translate(-50%, -10px) scale(1.04); }

/* When label is above dot (top pillar), flip its margin */
.pillar-node.top .pillar-label {
  margin-top: 0;
  margin-bottom: 20px;
}

.pillar-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  position: relative;
  box-shadow: 0 0 0 5px rgba(245, 166, 35, 0.18), 0 0 32px rgba(245, 166, 35, 0.5);
  transition: all 0.3s ease;
}

.pillar-dot::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 166, 35, 0.45);
  animation: dot-spin 16s linear infinite;
}

.pillar-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.55) 0%, transparent 70%);
  animation: dot-pulse 2.6s ease-in-out infinite;
  z-index: -1;
}

@keyframes dot-spin {
  to { transform: rotate(360deg); }
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(2.2); opacity: 0; }
}

.pillar-node:hover .pillar-dot {
  background: #fff;
  box-shadow: 0 0 0 8px rgba(245, 166, 35, 0.35), 0 0 50px rgba(245, 166, 35, 0.7);
}

.pillar-label {
  margin-top: 20px;
  width: max-content;
  max-width: 200px;
}

.pillar-label .pillar-num {
  font-family: var(--font-display);
  font-size: 10.5px;
  color: var(--orange);
  letter-spacing: 0.2em;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.pillar-label h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

/* Tooltip card */
.pillar-tooltip {
  position: absolute;
  width: 280px;
  background: linear-gradient(135deg, var(--card-elev) 0%, var(--card) 100%);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,166,35,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 20;
}

.pillar-tooltip p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.pillar-tooltip::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--card-elev);
  border-left: 1px solid rgba(245, 166, 35, 0.3);
  border-top: 1px solid rgba(245, 166, 35, 0.3);
  transform: rotate(45deg);
}

.pillar-node.top .pillar-tooltip {
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
}
.pillar-node.top .pillar-tooltip::before {
  top: -7px;
  left: 50%;
  margin-left: -6px;
}

.pillar-node.left .pillar-tooltip {
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
}
.pillar-node.left .pillar-tooltip::before {
  top: -7px;
  left: 50%;
  margin-left: -6px;
}

.pillar-node.right .pillar-tooltip {
  top: calc(100% + 16px);
  right: 50%;
  transform: translateX(50%) translateY(-8px);
}
.pillar-node.right .pillar-tooltip::before {
  top: -7px;
  right: 50%;
  margin-right: -6px;
}

.pillar-node:hover .pillar-tooltip {
  opacity: 1;
  pointer-events: auto;
}
.pillar-node.top:hover .pillar-tooltip   { transform: translateX(-50%) translateY(0); }
.pillar-node.left:hover .pillar-tooltip  { transform: translateX(-50%) translateY(0); }
.pillar-node.right:hover .pillar-tooltip { transform: translateX(50%)  translateY(0); }

@media (max-width: 880px) {
  .position-split { grid-template-columns: 1fr; gap: 32px; }
  .position-split .position-header h2 { font-size: 28px; }
  .pillars-triangle { max-width: 100%; margin: 0 auto; }
}

@media (max-width: 720px) {
  .pillars-triangle {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
    max-width: 100%;
  }
  .triangle-lines { display: none; }
  .pillar-node,
  .pillar-node.top,
  .pillar-node.left,
  .pillar-node.right {
    position: relative;
    inset: auto;
    top: auto; left: auto; right: auto; bottom: auto;
    transform: none !important;
    align-items: flex-start;
    text-align: left;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    cursor: default;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 8px;
  }
  .pillar-node:hover { transform: none !important; }
  .pillar-dot {
    width: 14px;
    height: 14px;
    margin-top: 6px;
    flex-shrink: 0;
    grid-row: span 2;
  }
  .pillar-dot::before { inset: -8px; }
  .pillar-label { margin-top: 0; max-width: none; }
  .pillar-label h3 { font-size: 17px; }
  .pillar-tooltip {
    position: relative;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    grid-column: 2;
  }
  .pillar-tooltip::before { display: none; }
  .pillar-tooltip p { font-size: 13.5px; color: var(--text-muted); }
}

.section-mark-bg.right  { right: -8%; top: 50%; transform: translateY(-50%) rotate(6deg);  width: 36%; }
.section-mark-bg.left   { left: -8%;  top: 50%; transform: translateY(-50%) rotate(-6deg); width: 36%; }
.section-mark-bg.bottom { right: 4%; bottom: -8%; width: 26%; opacity: 0.045; }
.section-mark-bg.center { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 65%; opacity: 0.035; }

@media (max-width: 720px) {
  .section-mark-bg { display: none; }
}

/* ============================================
   MOBILE OPTIMIZATIONS (≤640px)
   ============================================ */
@media (max-width: 640px) {
  /* Global container — prevent any horizontal overflow */
  html, body { overflow-x: hidden; max-width: 100vw; }
  * { max-width: 100%; }
  img, svg, video { max-width: 100%; height: auto; }

  body { font-size: 15px; }
  .container { padding: 0 18px; max-width: 100%; }

  /* Section padding tightening */
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }

  /* Typography */
  h1, .hero h1 { font-size: 26px !important; letter-spacing: -0.02em; line-height: 1.18; }
  h2 { font-size: 24px !important; line-height: 1.2; }
  h3 { font-size: 18px !important; }
  h4 { font-size: 16px !important; }
  p { font-size: 14.5px; }
  .lead { font-size: 15px !important; line-height: 1.5; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.14em; margin-bottom: 14px; }

  /* Nav */
  .nav { padding: 10px 0; }
  .nav-logo .logo-full { height: 24px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 8px 12px; font-size: 12px; }
  .nav-menu-btn { width: 36px; height: 36px; }

  /* HERO — side-by-side: copy left, photo right */
  .hero {
    padding: 84px 0 28px;
    min-height: auto;
    display: block;
  }
  .hero-inner {
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    gap: 14px !important;
    width: 100%;
    align-items: center;
  }
  .hero-bg::before, .hero-bg::after { opacity: 0.5; }
  .hero-network { opacity: 0.2; }
  .hero-mark { display: none !important; }

  .hero-tag {
    font-size: 9px;
    padding: 4px 8px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    gap: 6px;
  }
  .hero-tag .dot { width: 5px; height: 5px; }

  /* H1 typer — compact, single paragraph (no forced breaks) */
  .hero h1,
  .hero h1 .typer-ghost {
    font-size: 16px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 12px !important;
  }
  .hero h1 br,
  .hero h1 .typer-ghost br {
    display: none !important;
  }
  .hero h1 .typer-ghost > span.accent::after,
  .hero h1 .typed-line > span.accent + br + span::before {
    content: " ";
  }
  .hero h1 .cursor { width: 2px; }

  .hero-sub {
    font-size: 11.5px !important;
    margin-bottom: 14px !important;
    max-width: 100%;
    line-height: 1.45;
  }

  .hero-ctas {
    gap: 6px;
    margin-bottom: 10px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 9px 12px !important;
    font-size: 11.5px !important;
    gap: 6px;
  }

  .hero-microcopy {
    gap: 4px !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
  .hero-chip {
    padding: 4px 8px !important;
    font-size: 9.5px !important;
    gap: 4px !important;
  }
  .hero-chip::before { font-size: 10px; }

  /* HERO PHOTO — right side, natural sizing */
  .hero-photo {
    display: block !important;
    position: relative !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    flex: initial !important;
    justify-content: initial !important;
    align-items: initial !important;
  }
  .hero-photo img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    -webkit-mask-image: linear-gradient(180deg,
      #000 0%,
      #000 60%,
      rgba(0,0,0,0.85) 78%,
      rgba(0,0,0,0.45) 92%,
      transparent 100%) !important;
            mask-image: linear-gradient(180deg,
      #000 0%,
      #000 60%,
      rgba(0,0,0,0.85) 78%,
      rgba(0,0,0,0.45) 92%,
      transparent 100%) !important;
  }
  .hero-photo-badge {
    padding: 5px 8px !important;
    bottom: 8px !important;
    width: max-content !important;
    max-width: 96% !important;
    gap: 6px !important;
    border-radius: 10px;
  }
  .hero-photo-badge .dot-orange { width: 6px; height: 6px; }
  .hero-photo-badge .label { font-size: 7.5px; }
  .hero-photo-badge .name { font-size: 9px; line-height: 1.1; }

  /* FEEL SECTION — 2 columns, compact */
  .feel-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 28px !important;
  }
  .feel-card { padding: 16px 14px !important; border-radius: 14px !important; }
  .feel-card .body {
    font-size: 12px !important;
    margin-top: 36px !important;
    line-height: 1.4 !important;
  }
  .feel-card .num {
    width: 24px !important;
    height: 24px !important;
    font-size: 10.5px !important;
    top: 14px !important;
    left: 14px !important;
  }
  .feel-closing {
    font-size: 16px !important;
    margin-top: 28px;
    padding: 0 4px;
  }

  /* POSITION — keep triangle layout (tap-to-open tooltips) */
  .position-split {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 12px;
  }
  .position-split .position-header h2 { font-size: 20px !important; line-height: 1.22; }

  .pillars-triangle {
    aspect-ratio: 5 / 4 !important;
    display: block !important;
    max-width: 320px !important;
    margin: 12px auto 36px !important;
    flex-direction: initial !important;
    gap: 0 !important;
  }
  .triangle-lines { display: block !important; }
  .pillars-triangle .pillar-node,
  .pillars-triangle .pillar-node.top,
  .pillars-triangle .pillar-node.left,
  .pillars-triangle .pillar-node.right {
    position: absolute !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    grid-template-columns: initial !important;
    grid-template-rows: initial !important;
    width: auto !important;
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
  }
  .pillars-triangle .pillar-node.top {
    left: 50% !important;
    top: 16.67% !important;
    transform: translate(-50%, calc(-100% + 8px)) !important;
    flex-direction: column-reverse !important;
  }
  .pillars-triangle .pillar-node.left {
    left: 16.67% !important;
    top: 83.33% !important;
    transform: translate(-50%, -8px) !important;
  }
  .pillars-triangle .pillar-node.right {
    left: 83.33% !important;
    top: 83.33% !important;
    transform: translate(-50%, -8px) !important;
  }
  .pillars-triangle .pillar-dot {
    width: 14px !important;
    height: 14px !important;
    margin-top: 0 !important;
    grid-row: initial !important;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(245,166,35,0.18), 0 0 22px rgba(245,166,35,0.5) !important;
  }
  .pillars-triangle .pillar-dot::before { inset: -8px !important; }
  .pillars-triangle .pillar-label {
    margin-top: 10px !important;
    max-width: 110px !important;
    grid-column: initial !important;
    width: max-content !important;
  }
  .pillars-triangle .pillar-node.top .pillar-label {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }
  .pillars-triangle .pillar-label .pillar-num { font-size: 8.5px !important; margin-bottom: 3px !important; letter-spacing: 0.15em; }
  .pillars-triangle .pillar-label h3 { font-size: 12px !important; line-height: 1.2; }

  /* Triangle tooltips — open on tap (.open class) instead of hover */
  .pillars-triangle .pillar-tooltip {
    position: absolute !important;
    width: 220px !important;
    background: linear-gradient(135deg, var(--card-elev) 0%, var(--card) 100%) !important;
    border: 1px solid rgba(245, 166, 35, 0.3) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7), 0 0 0 1px rgba(245,166,35,0.15) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    z-index: 20;
    grid-column: initial !important;
    top: calc(100% + 14px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) translateY(-6px) !important;
  }
  .pillars-triangle .pillar-tooltip::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    width: 10px !important;
    height: 10px !important;
    background: var(--card-elev) !important;
    border-left: 1px solid rgba(245,166,35,0.3) !important;
    border-top: 1px solid rgba(245,166,35,0.3) !important;
    top: -6px !important;
    left: 50% !important;
    margin-left: -5px !important;
    transform: rotate(45deg) !important;
    bottom: auto !important;
    right: auto !important;
  }
  .pillars-triangle .pillar-tooltip p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: var(--text) !important;
    margin: 0 !important;
  }
  .pillars-triangle .pillar-node.open .pillar-tooltip {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }
  .pillars-triangle .pillar-node.open .pillar-dot {
    background: #fff !important;
    box-shadow: 0 0 0 6px rgba(245,166,35,0.3), 0 0 30px rgba(245,166,35,0.7) !important;
  }
  /* Edge fix: left/right tooltips must not overflow stage */
  .pillars-triangle .pillar-node.left .pillar-tooltip {
    left: 0 !important;
    transform: translate(-20%, -6px) !important;
  }
  .pillars-triangle .pillar-node.left.open .pillar-tooltip {
    transform: translate(-20%, 0) !important;
  }
  .pillars-triangle .pillar-node.left .pillar-tooltip::before { left: 35% !important; }

  .pillars-triangle .pillar-node.right .pillar-tooltip {
    left: auto !important;
    right: 0 !important;
    transform: translate(20%, -6px) !important;
  }
  .pillars-triangle .pillar-node.right.open .pillar-tooltip {
    transform: translate(20%, 0) !important;
  }
  .pillars-triangle .pillar-node.right .pillar-tooltip::before {
    left: auto !important;
    right: 35% !important;
    margin-left: 0 !important;
  }

  /* DIFFERENTIALS — closed by default, scroll-driven open via .open class */
  .diff-list { margin-top: 28px; }
  .diff-row {
    grid-template-columns: 48px 1fr !important;
    gap: 12px !important;
    padding: 14px 0 !important;
    transition: padding 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
                background 0.4s ease !important;
  }
  .diff-row:hover { padding: 14px 0 !important; background: transparent !important; }
  .diff-marker { display: none !important; }
  .diff-num {
    font-size: 30px !important;
    padding-left: 2px !important;
    transition: color 0.4s ease, -webkit-text-stroke-color 0.4s ease, text-shadow 0.4s ease !important;
  }
  .diff-content h3 {
    font-size: 14px !important;
    line-height: 1.3 !important;
    transition: color 0.3s ease;
  }
  .diff-emph { color: var(--text-dim) !important; }
  .diff-content p {
    max-height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    transform: translateY(-4px) !important;
    transition: max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
                opacity 0.35s ease,
                margin 0.4s ease,
                transform 0.4s ease;
    font-size: 12.5px !important;
    line-height: 1.55;
    overflow: hidden;
  }
  .diff-row.open .diff-content p {
    max-height: 280px !important;
    opacity: 1 !important;
    margin-top: 6px !important;
    transform: translateY(0) !important;
  }
  .diff-row .diff-num::after { display: none !important; }
  .diff-row.open {
    padding: 18px 0 !important;
    background: rgba(245, 166, 35, 0.025) !important;
  }
  .diff-row.open .diff-num {
    color: var(--orange) !important;
    -webkit-text-stroke: 0 !important;
            text-stroke: 0 !important;
    text-shadow: 0 0 24px rgba(245, 166, 35, 0.35) !important;
  }
  .diff-row.open .diff-emph { color: var(--orange) !important; }
  .diff-row.open::after {
    width: 100% !important;
    bottom: 0 !important;
    height: 1.5px !important;
    background: linear-gradient(90deg, var(--orange) 0%, rgba(245,166,35,0.3) 70%, transparent 100%) !important;
  }

  /* MARQUEE */
  .marquee-section { padding: 24px 0; }
  .marquee-item { font-size: 16px; gap: 24px; }
  .marquee-item .sep { width: 6px; height: 6px; }
  .marquee { gap: 24px; }

  .position-quote {
    padding: 22px 20px !important;
    margin-top: 36px;
  }
  .position-quote::before {
    font-size: 64px;
    top: -8px;
    left: 18px;
  }
  .position-quote p { font-size: 15px !important; line-height: 1.5; }

  /* SERVICES — single column, scroll-driven open/close */
  .serv-section { padding-top: 48px !important; padding-bottom: 48px !important; }
  .serv-header {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 24px;
  }
  .serv-grid { gap: 10px !important; }
  .serv-card {
    padding: 18px 16px !important;
    border-radius: 14px !important;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease !important;
  }
  .serv-card:hover { transform: none !important; background: var(--card) !important; }
  .serv-card .label { font-size: 9.5px !important; margin-bottom: 10px; letter-spacing: 0.16em; }
  .serv-card h3 { font-size: 14.5px !important; margin-bottom: 0 !important; line-height: 1.25; }
  .serv-card p {
    font-size: 12.5px !important;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    margin: 0 !important;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
                opacity 0.3s ease,
                margin 0.35s ease,
                transform 0.35s ease;
  }
  .serv-card.open {
    background: var(--card-elev) !important;
    border-color: rgba(245,166,35,0.25) !important;
  }
  .serv-card.open p {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px !important;
    transform: translateY(0);
  }
  .serv-card.open::after { transform: scaleX(1) !important; }
  .serv-closing {
    padding: 18px 16px !important;
    font-size: 13px !important;
    margin-top: 24px;
    border-radius: 14px;
  }

  /* METHOD — vertical timeline (1 left, 2 right, 3 left) */
  .method-section { padding-bottom: 16px !important; }
  .method-steps {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 36px !important;
    row-gap: 32px !important;
    margin: 36px 0 0 !important;
    position: relative;
  }
  .method-steps::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 12px !important;
    bottom: 12px !important;
    width: 2px !important;
    background: linear-gradient(to bottom,
      transparent 0%,
      rgba(245, 166, 35, 0.55) 12%,
      rgba(245, 166, 35, 0.55) 88%,
      transparent 100%) !important;
    transform: translateX(-50%) !important;
    height: auto !important;
    z-index: 0;
  }
  .method-steps::after {
    /* hide the desktop "drawn" line on mobile */
    display: none !important;
  }
  .method-step {
    position: relative;
    text-align: right;
    padding-right: 18px;
    z-index: 1;
  }
  .method-step:nth-child(1) { grid-column: 1; grid-row: 1; }
  .method-step:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    padding-right: 0;
    padding-left: 18px;
  }
  .method-step:nth-child(3) { grid-column: 1; grid-row: 3; }

  .method-step-circle {
    position: absolute !important;
    top: 0 !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
    margin: 0 !important;
    z-index: 2;
    background: var(--bg) !important;
  }
  .method-step:nth-child(1) .method-step-circle,
  .method-step:nth-child(3) .method-step-circle {
    right: -53px !important;
    transform: translateX(50%) !important;
  }
  .method-step:nth-child(2) .method-step-circle {
    left: -53px !important;
    transform: translateX(-50%) !important;
  }
  .method-step h3 {
    font-size: 16px !important;
    margin-bottom: 6px;
    margin-top: 0;
  }
  .method-step p {
    font-size: 12.5px !important;
    line-height: 1.45;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  .method-closing {
    font-size: 14px !important;
    margin-top: 28px;
    padding: 0 4px;
  }

  /* STATS */
  .stats-section { padding: 24px 0 32px !important; }
  .stats-grid { border-radius: 18px; }
  .stat { padding: 22px 8px !important; }
  .stat-number { font-size: 28px !important; }
  .stat-label { font-size: 10.5px; }

  /* ABOUT */
  .about-section { padding-top: 48px !important; padding-bottom: 56px; }
  .about-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .about-photo {
    max-width: 280px !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 4 !important;
    width: 100%;
    margin: 0 auto !important;
  }
  .about-photo-mark {
    width: 38px;
    height: 28px;
    bottom: 14px !important;
    right: 14px !important;
  }
  .about-content h2 { font-size: 22px !important; margin-bottom: 18px; }
  .about-content p { font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
  .about-signature { padding-top: 22px; gap: 12px; }
  .about-signature .author-avatar { width: 42px !important; height: 42px !important; font-size: 14px !important; }
  .about-signature .name { font-size: 15px; }
  .about-signature .role { font-size: 11.5px; }
  .about-closing {
    font-size: 16px !important;
    margin-top: 40px;
    padding: 0 6px;
  }

  /* TESTIMONIALS CAROUSEL */
  .social-section { padding: 64px 0 32px !important; }
  .social-carousel { margin-top: 36px; }
  .social-track { gap: 14px; padding: 8px 4px 20px; }
  .social-track .testimonial {
    flex: 0 0 calc(100% - 4px) !important;
    min-width: 0 !important;
    padding: 24px 20px !important;
  }
  .testimonial-body { font-size: 14px; margin-bottom: 18px; line-height: 1.55; }
  .testimonial .quote-mark { font-size: 40px; }
  .testimonial-author .author-avatar { width: 38px !important; height: 38px !important; font-size: 13px !important; }
  .testimonial-author .name { font-size: 13.5px; }
  .testimonial-author .role { font-size: 11.5px; }
  .carousel-arrow {
    width: 36px;
    height: 36px;
  }
  .carousel-arrow.prev { left: -2px; }
  .carousel-arrow.next { right: -2px; }
  .carousel-arrow svg { width: 14px; height: 14px; }
  .carousel-dots { margin-top: 14px; }
  .carousel-dots button { width: 6px; height: 6px; }
  .carousel-dots button.active { width: 20px; }

  /* OBJECTIONS + FAQ */
  .obj-section { padding-top: 36px !important; }
  .obj-list { margin-top: 32px; max-width: 100%; }
  .obj-head { padding: 18px 4px !important; }
  .obj-q { font-size: 14px !important; padding-right: 12px; line-height: 1.35; }
  .obj-body p { font-size: 13.5px; line-height: 1.55; }
  .obj-toggle { width: 28px; height: 28px; flex-shrink: 0; }

  /* MID-CTA / FORM */
  .mid-cta { padding: 56px 0 28px !important; }
  .mid-cta-card { padding: 0 !important; border-radius: 18px; }
  .mid-cta-card::after { opacity: 0.5; }
  .form-grid { grid-template-columns: 1fr !important; }
  .form-copy {
    padding: 30px 20px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .form-copy h2 { font-size: 20px !important; margin-bottom: 12px; line-height: 1.22; }
  .form-copy > p { font-size: 13.5px; margin-bottom: 18px; line-height: 1.5; }
  .form-bullets { gap: 10px; margin-bottom: 22px; }
  .form-bullet { font-size: 13px; gap: 10px; }
  .form-wa { padding: 9px 14px; font-size: 12.5px; }
  .contact-form { padding: 26px 20px !important; gap: 12px; }
  .form-header h3 { font-size: 17px; }
  .form-helper { font-size: 12.5px; margin-bottom: 10px; }
  .field-row { grid-template-columns: 1fr !important; gap: 12px; }
  .field label { font-size: 11px; }
  .field input, .field select, .field textarea {
    font-size: 14px;
    padding: 10px 13px;
    border-radius: 9px;
  }
  .form-submit { padding: 12px 20px; font-size: 13.5px; }
  .form-success { padding: 22px 0; }
  .form-success h4 { font-size: 16px; }
  .form-success .check-icon { width: 52px; height: 52px; font-size: 24px; }

  /* FAQ */
  .faq-section { padding-top: 36px !important; }
  .faq-inner { grid-template-columns: 1fr !important; gap: 22px !important; }
  .faq-side h2 { font-size: 22px !important; }
  .faq-side p { font-size: 13.5px; }

  /* CLOSE */
  .close-section { padding: 72px 0 56px !important; }
  .close-inner h2 { font-size: 26px !important; margin-bottom: 18px; line-height: 1.15; }
  .close-inner > p { font-size: 14.5px; padding: 0 4px; }
  .close-impact {
    font-size: 14.5px !important;
    padding: 18px 18px !important;
    margin: 28px auto !important;
    line-height: 1.45;
  }
  .close-impact .sep { margin: 0 4px; }
  .close-ctas { margin-top: 24px !important; }
  .close-ctas .btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: 13.5px; }
  .close-micro { margin-top: 24px !important; font-size: 12px; padding: 0 8px; }

  /* FOOTER */
  .footer { padding: 40px 0 20px; }
  .footer-inner,
  .footer-inner-slim {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 28px !important;
  }
  .footer-logo { height: 38px; margin-bottom: 14px; }
  .footer-brand p { font-size: 13px; line-height: 1.55; }
  .footer-col h5 { font-size: 10.5px; margin-bottom: 12px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom {
    font-size: 11.5px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 24px;
  }
  .footer-bottom .socials a { width: 32px; height: 32px; }

  /* WHATSAPP FAB */
  .whatsapp-fab {
    width: 52px !important;
    height: 52px !important;
    bottom: 16px !important;
    right: 16px !important;
  }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .whatsapp-fab .wa-label { display: none; }

  /* MENU OVERLAY */
  .menu-overlay-inner { padding: 80px 20px 32px; gap: 32px; }
  .menu-grid { gap: 0; }
  .menu-item { font-size: 22px !important; padding: 14px 0 !important; gap: 14px; }
  .menu-item::before { width: 24px; font-size: 11px; margin-top: 2px; }
  .menu-item::after { font-size: 18px; }
  .menu-foot { gap: 14px; font-size: 12.5px; flex-direction: column; padding-top: 22px; }

  /* SIDE NAV — hide on mobile (already hidden ≤880, this ensures) */
  .side-nav { display: none !important; }

  /* SECTION BG ORNAMENTS */
  .section-mark-bg { display: none !important; }
  .bg-glow { opacity: 0.3 !important; }
}

/* Extra-tight mobile (≤380px — small phones) */
@media (max-width: 380px) {
  h1 { font-size: 24px !important; }
  h2 { font-size: 22px !important; }
  .container { padding: 0 14px; }
  .feel-card .body, .serv-card p, .testimonial-body { font-size: 13.5px; }
  .stat-number { font-size: 24px !important; }
  .menu-item { font-size: 20px !important; }

  /* HERO heading on very small phones — keep compact */
  .hero h1, .hero h1 .typer-ghost { font-size: 14px !important; line-height: 1.25 !important; }
  .hero-photo, .about-photo { max-width: 240px !important; }
  .about-photo { margin: 0 auto !important; }
  .nav-cta .btn { padding: 7px 10px; font-size: 11.5px; }
  .nav-logo .logo-full { height: 22px; }
}

/* Ensure section content sits above the M decoration */
.section .container,
.about-inner,
.stats-section .container,
.method-section .container,
.serv-section .container,
.close-inner { position: relative; z-index: 2; }
