/* Homepage: extra layout only. Visual language comes from homepage.css / landing.css */

.consulting-hero {
  --bg: var(--theme-bg-primary);
  --accent: var(--octigen-blue);
  --accent-2: var(--octigen-orange);
  --fg: var(--theme-text-primary);
  --muted: var(--theme-text-tertiary);
}

.consulting-hero.hero-section {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  overflow: visible;
}

@media (min-width: 576px) {
  .consulting-hero.hero-section {
    min-height: min(92vh, 860px);
  }
}

.hero-globe {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: calc(100% + 11rem);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.7) 68%,
    rgba(0, 0, 0, 0.28) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.7) 68%,
    rgba(0, 0, 0, 0.28) 84%,
    transparent 100%
  );
}

.hero-globe-host {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-globe-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    76% 74% at 50% 48%,
    transparent 0%,
    transparent 44%,
    color-mix(in srgb, var(--theme-bg-primary) 42%, transparent) 78%,
    color-mix(in srgb, var(--theme-bg-primary) 72%, transparent) 100%
  );
}

[data-theme="light"] .hero-globe-vignette {
  background: radial-gradient(
    80% 78% at 50% 48%,
    transparent 0%,
    transparent 52%,
    color-mix(in srgb, var(--theme-bg-primary) 22%, transparent) 84%,
    color-mix(in srgb, var(--theme-bg-primary) 48%, transparent) 100%
  );
}

.hero-globe-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    58% 60% at 50% 38%,
    color-mix(in srgb, var(--theme-bg-primary) 86%, transparent) 0%,
    color-mix(in srgb, var(--theme-bg-primary) 45%, transparent) 58%,
    transparent 80%
  );
}

[data-theme="light"] .hero-globe-shade {
  background: radial-gradient(
    52% 50% at 50% 38%,
    color-mix(in srgb, var(--theme-bg-primary) 52%, transparent) 0%,
    color-mix(in srgb, var(--theme-bg-primary) 16%, transparent) 58%,
    transparent 80%
  );
}

.hero-globe-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.consulting-hero .hero-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.consulting-hero .pill-badge {
  align-self: center;
}

.consulting-hero .hero-direct-headline,
.consulting-hero .hero-direct-lead {
  overflow-wrap: break-word;
}

.consulting-hero .hero-direct-lead {
  margin-left: auto;
  margin-right: auto;
}

.consulting-hero .hero-buttons {
  justify-content: center;
}

.g-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-text-tertiary);
}

.g-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.g-panel {
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  border-radius: 16px;
  padding: 1.1rem 1rem 1rem;
  box-shadow: var(--theme-shadow-md);
  min-width: 0;
}

.g-panel--today {
  border-style: dashed;
}

.g-tangle {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.g-blob {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px dashed var(--theme-border-primary);
  background: var(--theme-bg-elevated);
  color: var(--theme-text-secondary);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.35;
}

.g-blob:nth-child(2) { margin-left: 0.85rem; }
.g-blob:nth-child(3) { margin-right: 0.65rem; }
.g-blob:nth-child(4) { margin-left: 0.4rem; }

.g-foot {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--theme-text-tertiary);
}

.g-join {
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-join span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--octigen-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.g-chain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.g-chain li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  background: var(--theme-bg-elevated);
  border: 1px solid var(--theme-border-secondary);
}

.g-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--octigen-orange);
  padding-top: 0.15rem;
}

.g-chain strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--theme-text-primary);
}

.g-chain em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--theme-text-tertiary);
}

.g-board {
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  border-radius: 16px;
  padding: 1.1rem 1rem 1.15rem;
  box-shadow: var(--theme-shadow-md);
}

.g-kicker--board {
  margin-bottom: 1rem;
}

.g-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.g-col {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--theme-border-secondary);
  background: var(--theme-bg-elevated);
  min-width: 0;
}

.g-col header {
  padding: 0.7rem 0.75rem 0.55rem;
  border-bottom: 1px solid var(--theme-border-secondary);
}

.g-col header span {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--theme-text-primary);
}

.g-col header small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--theme-text-tertiary);
}

.g-col--pipe header span { color: var(--octigen-blue); }
.g-col--person header span { color: var(--octigen-orange); }

.g-col ul {
  list-style: none;
  margin: 0;
  padding: 0.65rem 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.g-col li {
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--theme-text-primary);
}

.g-run {
  background: var(--theme-glass-bg);
  border: 1px solid var(--theme-glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--theme-shadow-md);
}

.g-run-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  background: var(--theme-bg-elevated);
  border-bottom: 1px solid var(--theme-border-secondary);
}

.g-run-dots {
  display: flex;
  gap: 0.3rem;
}

.g-run-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.g-run-dots i:nth-child(1) { background: #ff5f57; }
.g-run-dots i:nth-child(2) { background: #febc2e; }
.g-run-dots i:nth-child(3) { background: #28c840; }

.g-run-title {
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--theme-text-tertiary);
}

.g-run-tag {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--octigen-blue);
}

.g-log {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0.9rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.g-log li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--theme-border-secondary);
  background: var(--theme-bg-elevated);
}

.g-mark {
  width: 1.15rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.g-log strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--theme-text-primary);
}

.g-log em {
  display: block;
  margin-top: 0.12rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--theme-text-tertiary);
}

.g-log .is-done .g-mark { color: #28c840; }
.g-log .is-wait {
  border-color: rgba(255, 107, 53, 0.35);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(255, 107, 53, 0.04) 100%);
}
.g-log .is-wait .g-mark { color: var(--octigen-orange); }
.g-log .is-hold { opacity: 0.7; }
.g-log .is-hold .g-mark { color: var(--theme-text-tertiary); }

.g-run-foot {
  margin: 0;
  padding: 0.35rem 1.1rem 1rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--theme-text-tertiary);
}

.g-caption {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--theme-text-tertiary);
}

.idea-ticker {
  position: relative;
  z-index: 11;
  margin-top: -6.5rem;
  padding: 4.25rem 0 3.25rem;
  background: transparent;
}

.idea-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.idea-track {
  display: flex;
  width: max-content;
  animation: idea-scroll 52s linear infinite;
}

.idea-marquee:hover .idea-track,
.idea-marquee:focus-within .idea-track {
  animation-play-state: paused;
}

.idea-set {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0.5rem 0 0;
  list-style: none;
}

.idea-pill {
  display: inline-block;
  white-space: nowrap;
  background: #fff;
  color: #0f1021;
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--octigen-blue);
}

.idea-pill--ai {
  border-color: var(--octigen-orange);
}

[data-theme="dark"] .idea-pill {
  background: rgba(255, 255, 255, 0.06);
  color: var(--theme-text-primary);
}

@keyframes idea-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .idea-track {
    animation: none;
  }

  .idea-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .idea-set[aria-hidden="true"] {
    display: none;
  }
}

.offer-price {
  margin: 0.35rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--theme-text-primary);
}

.why-card .offer-price {
  color: var(--theme-text-primary);
}

.consulting-faq .accordion-item {
  background: var(--theme-card-bg, var(--theme-glass-bg));
  border: 1px solid var(--theme-border-primary);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.consulting-faq .accordion-button {
  background: transparent;
  color: var(--theme-text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: none;
}

.consulting-faq .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--theme-text-primary);
  box-shadow: none;
}

.consulting-faq .accordion-button:focus {
  box-shadow: none;
  border-color: var(--octigen-blue);
}

.consulting-faq .accordion-body {
  color: var(--theme-text-secondary);
}

@media (max-width: 991px) {
  .g-map {
    grid-template-columns: 1fr;
  }

  .g-join {
    transform: rotate(90deg);
    padding: 0.2rem 0;
  }

  .g-blob:nth-child(2),
  .g-blob:nth-child(3),
  .g-blob:nth-child(4) {
    margin: 0;
  }
}

@media (max-width: 700px) {
  .g-cols {
    grid-template-columns: 1fr;
  }
}
