/* ============================================
   GLOBAL HARDENING / MOBILE STABILITY
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

.wp-block-group,
.wp-block-columns,
.wp-block-image,
.wp-block-cover,
.wp-block-media-text {
  max-width: 100%;
  overflow: hidden;
}

/* ============================================
   HEADER & LOGO - ALL PAGES
   ============================================ */

.nav-logo span { 
  display: none !important; 
}

header,
body header,
body.page header,
body.single header,
body.archive header {
  background-color: rgba(13, 27, 62, 0.35) !important;
}

.nav-logo,
body .nav-logo,
header .nav-logo {
  position: relative !important;
  z-index: 10 !important;
  align-self: flex-end !important;
  max-width: 200px !important;
}

.nav-logo img,
header .nav-logo img {
  margin-bottom: -1px !important;
  max-width: 180px !important;
  height: auto !important;
  display: block !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  align-items: flex-start !important;
  min-height: 70vh !important;
}

.hero-content {
  align-items: flex-start !important;
  padding-top: 150px !important;
}

.hero-text {
  padding-top: 6rem !important;
}

.hero-image {
  align-self: flex-start !important;
  margin-top: -70px !important;
  position: relative !important;
  left: 80px !important;
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
  margin-top: 70px !important;
}

.why-section h2 em {
  font-style: normal !important;
  color: #000 !important;
  background: #fff !important;
  padding: 0.1em 0.4em !important;
  display: inline !important;
}

/* ============================================
   NAVIGATION CONSISTENCY - ALL PAGES
   ============================================ */

header nav a,
header .nav-menu a,
header .menu a,
.current-menu-item a,
.current-page-item a,
.current-menu-ancestor a {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  background-color: transparent !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

/* ============================================
   REPORT AN INCIDENT BUTTON
   ============================================ */

.btn-outline,
header .btn-outline,
nav .btn-outline,
.menu .btn-outline,
.nav-menu .btn-outline,
.current-menu-item .btn-outline,
.current-page-item .btn-outline {
  border: 1px solid #ffffff !important;
  border-radius: 4px !important;
  padding: 8px 16px !important;
  color: #ffffff !important;
  background-color: transparent !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.btn-outline:hover,
header .btn-outline:hover,
nav .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* ============================================
   INDUSTRY PAGE
   ============================================ */

.industry-page {
  background: #f7f9fc !important;
  color: #0d1b3e !important;
}

.industry-container {
  width: min(1100px, 92%) !important;
  margin: 0 auto !important;
}

.industry-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #123a63 100%) !important;
  color: #ffffff !important;
  padding: 20px 0 20px !important;
}

.industry-eyebrow {
  font-size: 0.85rem !important;
  letter-spacing: 0.18em !important;
  font-weight: 600 !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  opacity: 0.85 !important;
}

.industry-hero h1 {
  font-size: 3rem !important;
  line-height: 1.1 !important;
  margin-bottom: 20px !important;
  color: #ffffff !important;
}

.industry-intro {
  max-width: 760px !important;
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
  margin-bottom: 28px !important;
  color: rgba(255,255,255,0.92) !important;
}

.industry-body {
  padding: 1px 0 90px !important;
  background: #0d1b3e !important;
}

.industry-content {
  background: transparent !important;
  box-shadow: none !important;
  padding: 1px 50px 30px !important;
}

.industry-content h2 {
  font-size: 1.9rem !important;
  color: #ffffff !important;
  margin: 0 0 18px !important;
}

.industry-content h3 {
  font-size: 1.3rem !important;
  color: #ffffff !important;
  margin: 30px 0 14px !important;
}

.industry-content p {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin-bottom: 18px !important;
  color: rgba(255,255,255,0.9) !important;
}

.industry-content ul {
  margin: 0 0 24px 20px !important;
  padding: 0 !important;
}

.industry-content li {
  margin-bottom: 10px !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.9) !important;
}

/* ============================================
   DROPDOWN NAVIGATION
   ============================================ */

.nav-menu > li,
.menu > li,
header nav > ul > li {
  position: relative;
  z-index: 100;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px) !important;
  left: 0;
  z-index: 99;
  min-width: 200px;
  border-top: 2px solid var(--cyan) !important;
  border-left: 1px solid rgba(0, 150, 255, 0.2) !important;
  border-right: 1px solid rgba(0, 150, 255, 0.2) !important;
  border-bottom: 1px solid rgba(0, 150, 255, 0.2) !important;
  border-radius: 8px !important;
  background: linear-gradient(145deg, rgba(6, 13, 26, 0.98) 0%, rgba(8, 15, 34, 0.98) 100%) !important;
  box-shadow:
    0 -4px 20px rgba(0, 200, 180, 0.4),
    0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -30px !important;
  left: 0;
  width: 100%;
  height: 30px !important;
  background: transparent;
  z-index: -1;
}

.nav-menu > li:hover::after,
.menu > li:hover::after,
header nav > ul > li:hover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 30px;
  background: transparent;
  z-index: 98;
}

/* ============================================
   EVENT SINGLE PAGE
   ============================================ */

.single-tribe_events .tribe-events-single-event-title {
  color: var(--light) !important;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.single-tribe_events .tribe-events-content {
  color: var(--light);
  line-height: 1.6;
}

.single-tribe_events .tribe-events-event-meta {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.single-tribe_events .tribe-events-event-meta dt {
  color: var(--primary);
  font-weight: 600;
}

.single-tribe_events .tribe-events-event-meta dd {
  color: var(--light);
  margin-bottom: 0.5rem;
}

/* ============================================
   EVENTS CALENDAR - DARK THEME FIX
   ============================================ */

.tribe-events-calendar td.tribe-events-has-events {
  background-color: rgba(0, 194, 224, 0.05) !important;
}

.tribe-events-calendar .tribe-events-month-grid-cell__events-link,
.tribe-events-calendar .tribe-event,
.tribe-events-calendar .tribe-event-url,
.tribe-events-calendar a.tribe-event-url,
.tribe-month-grid__calendar-event,
.tribe-common-anchor,
.tribe-common-anchor-thin {
  color: #fff !important;
  background-color: var(--cyan) !important;
  border-radius: 3px !important;
  padding: 2px 5px !important;
}

.tribe-events-calendar .tribe-event:hover {
  background-color: var(--cyan-dark) !important;
}

.tribe-events,
.tribe-events * {
  --tec-color-background-primary: #0f1d35;
  --tec-color-text-primary: #ffffff;
  --tec-color-text-secondary: #a0aec0;
  --tec-color-accent-primary: #00c2e0;
  --tec-color-background-secondary: #0d1b3e;
}

.tribe-events-calendar-month__header-column-title,
.tribe-events-c-nav__prev,
.tribe-events-c-nav__next,
.tribe-events-c-nav__today,
.tribe-events-c-top-bar__datepicker,
.tribe-events-c-top-bar__datepicker-button,
.tribe-common-h4,
.tribe-common-h2,
h1.tribe-events-page-title {
  color: #ffffff !important;
}

.tribe-events-c-nav__list,
.tribe-common-c-btn-border,
.tribe-events-c-top-bar__nav-list {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.3) !important;
}

.tribe-events-calendar-month__header-column-title {
  color: #a0aec0 !important;
  font-weight: 600 !important;
}

.tribe-events-calendar-month__calendar-event,
.tribe-events-calendar-month__calendar-event-title,
.tribe-events-calendar-month__calendar-event-title a {
  color: #ffffff !important;
  background-color: var(--cyan) !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  display: block !important;
  font-size: 0.75rem !important;
  margin-bottom: 2px !important;
}

.tribe-events-calendar-month__calendar-event-title a:hover {
  background-color: #0099b8 !important;
  color: #ffffff !important;
}

.tribe-common-c-btn-border {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.3) !important;
  background: transparent !important;
}

.tribe-common-c-btn-border:hover,
.tribe-events-c-view-selector__button--active {
  background: var(--cyan) !important;
  color: #ffffff !important;
}

.tribe-common-form-control-text__input {
  background: #0d1b3e !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.2) !important;
}

.tribe-events-calendar-month__calendar-event--featured,
.tribe-events-notices {
  color: #ffffff !important;
}

.tribe-events-calendar-month__calendar-event:not(:empty) {
  background-color: var(--cyan) !important;
}

/* ============================================
   TECHNOLOGIES MARQUEE
   ============================================ */

.tech-partners-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.tech-grid {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.tech-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  width: max-content;
  animation: tcc-tech-scroll 22s linear infinite;
  will-change: transform;
}

.tech-card {
  flex: 0 0 auto;
  width: 180px;
  min-height: 180px;
  background: rgba(15, 29, 53, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.tech-logo {
  width: 100%;
  height: 52px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-logo img {
  max-height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.tech-name {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.tech-desc {
  display: block;
  color: #a0aec0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.tech-partners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to right, #080f1f 0%, rgba(8,15,31,0) 100%);
}

.tech-partners-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to left, #080f1f 0%, rgba(8,15,31,0) 100%);
}

.tech-partners-section:hover .tech-track {
  animation-play-state: paused;
}

@keyframes tcc-tech-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@media (max-width: 900px) {
  .tech-card {
    width: 150px;
    min-height: 160px;
    padding: 0.9rem;
  }

  .tech-logo {
    height: 44px;
  }

  .tech-logo img {
    max-height: 34px;
    max-width: 100px;
  }

  .tech-name {
    font-size: 0.88rem;
  }

  .tech-desc {
    font-size: 0.75rem;
  }

  .tech-track {
    gap: 1rem;
    animation: tcc-tech-scroll 18s linear infinite;
  }
}

/* ============================================
   INDUSTRY PAGE CTA BLOCKS
   ============================================ */

.industry-cta-block,
.industry-bottom-cta {
  margin: 60px 0 0;
  padding: 42px 36px;
  background: linear-gradient(135deg, #111827 0%, #0b1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.industry-cta-block h3,
.industry-bottom-cta h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1.9rem;
  line-height: 1.2;
}

.industry-cta-block p,
.industry-bottom-cta p {
  max-width: 820px;
  margin: 0 auto 16px;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.75;
}

.industry-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.industry-cta-primary,
.industry-cta-secondary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.industry-cta-primary {
  background: #ffffff;
  color: #0b1220;
}

.industry-cta-primary:hover {
  background: #e5e7eb;
  color: #0b1220;
}

.industry-cta-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.industry-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 768px) {
  .industry-cta-block,
  .industry-bottom-cta {
    padding: 32px 22px;
    margin-top: 44px;
  }

  .industry-cta-block h3,
  .industry-bottom-cta h2 {
    font-size: 1.55rem;
  }

  .industry-cta-primary,
  .industry-cta-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   TECHNOLOGIES PAGE WIDTH FIX
   ============================================ */

.page-id-24 .page-content-inner {
  max-width: 1200px;
}

.previous-css-rule {
  margin-bottom: 20px;
}

/* ============================================
   WHITEPAPERS PAGE
   ============================================ */

.whitepapers-hero {
  text-align: center;
  padding: 70px 0 50px;
}

.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-label-inline,
.wpforms-container .wpforms-required-label {
  color: #ffffff !important;
}

.wpforms-field-container .wpforms-field.wpforms-field-text:last-child {
  display: none;
}

.whitepaper-access + .wpforms-container {
  max-width: 560px;
  margin: 0 auto 80px;
  padding: 32px;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.whitepaper-access + .wpforms-container .wpforms-submit {
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 22px !important;
  font-weight: 600 !important;
}

.whitepaper-access + .wpforms-container .wpforms-submit:hover {
  background: #1d4ed8 !important;
}

.whitepaper-access + .wpforms-container input[type="text"],
.whitepaper-access + .wpforms-container input[type="email"] {
  background: #020617 !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 6px !important;
}

.whitepaper-access + .wpforms-container input::placeholder {
  color: #64748b !important;
}

.whitepaper-access + .wpforms-container input:focus {
  outline: none;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.5);
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"] {
  background-color: #020617 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
}

.wpforms-container input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

.wpforms-container input[type="text"]:focus,
.wpforms-container input[type="email"]:focus {
  background-color: #020617 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  border-color: #60a5fa !important;
  outline: none !important;
  box-shadow:
    0 0 0 2px rgba(96,165,250,0.45),
    0 0 14px rgba(96,165,250,0.30) !important;
}

.whitepaper-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96,165,250,0.6);
  box-shadow: 0 12px 32px rgba(2,6,23,0.55);
}

.whitepaper-access-note {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero,
.about-leadership,
.about-credibility,
.about-advisory,
.about-closing {
  max-width: 900px;
  margin: 0 auto 80px;
}

.about-hero {
  padding-top: 40px;
}

.about-hero h1,
.about-leadership h2,
.about-credibility h2,
.about-advisory h2 {
  margin-bottom: 18px;
}

.about-leadership h3 {
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
}

.about-hero p,
.about-leadership p,
.about-advisory p,
.about-closing p {
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  font-size: 1.03rem;
}

.about-credibility ul,
.about-advisory ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-credibility li,
.about-advisory li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

.about-credibility li::before,
.about-advisory li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.about-credibility,
.about-advisory {
  padding: 34px 36px;
  background: rgba(15, 29, 53, 0.45);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

.about-closing {
  text-align: center;
  padding: 10px 0 30px;
}

@media (max-width: 900px) {
  .about-hero,
  .about-leadership,
  .about-credibility,
  .about-advisory,
  .about-closing {
    margin: 0 auto 55px;
  }

  .about-credibility,
  .about-advisory {
    padding: 26px 22px;
  }

  .about-hero p,
  .about-leadership p,
  .about-advisory p,
  .about-closing p,
  .about-credibility li,
  .about-advisory li {
    font-size: 0.98rem;
  }

  .about-leadership h3 {
    font-size: 1.2rem;
  }
}

/* ============================================
   INSIGHTS / INNER PAGE HERO
   ============================================ */

.blog-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 95px;
  text-align: center;
  background: linear-gradient(135deg, #020508 0%, #060d1a 48%, #080f22 100%);
  border-bottom: 1px solid rgba(0, 150, 255, 0.18);
}

.insights-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      270deg,
      rgba(7, 18, 36, 0.98) 0%,
      rgba(7, 18, 36, 0.94) 18%,
      rgba(7, 18, 36, 0.82) 36%,
      rgba(7, 18, 36, 0.58) 54%,
      rgba(7, 18, 36, 0.28) 74%,
      rgba(7, 18, 36, 0.10) 100%
    ),
    radial-gradient(
      ellipse at 76% 42%,
      rgba(0, 150, 255, 0.18) 0%,
      rgba(0, 150, 255, 0.08) 26%,
      transparent 58%
    ),
    radial-gradient(
      ellipse at 84% 26%,
      rgba(0, 200, 180, 0.10) 0%,
      rgba(0, 200, 180, 0.04) 18%,
      transparent 42%
    );
}

.insights-hero-shield {
  position: absolute;
  top: 0;
  right: 260px;
  bottom: 0;
  width: 320px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.14;
  background-image: url('/wp-content/themes/tcc-rebuild/assets/shield-logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.blog-hero-content,
.page-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: block;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.blog-hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
  margin: 14px auto 0;
  color: #c7d2df;
}

.post-hero-meta {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #c7d2df;
}

.post-hero-meta .meta-sep {
  margin: 0 10px;
}

/* ============================================
   EVENTS PAGE SHIELD BACKGROUND
   ============================================ */

.tribe-events {
  position: relative;
  overflow: hidden;
}

.tribe-events::after {
  content: "";
  position: absolute;
  top: 0;
  right: 260px;
  width: 320px;
  height: 100%;
  pointer-events: none;
  opacity: 0.14;
  z-index: 1;
  background-image: url('/wp-content/themes/tcc-rebuild/assets/shield-logo.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}

/* ============================================
   WPFORMS CONFIRMATION / DOWNLOAD BOX
   ============================================ */

.wpforms-confirmation-container-full,
.wpforms-confirmation-container-full p {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  padding: 0 !important;
}

.wpforms-confirmation-container {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
}

.wpforms-confirmation-container-full {
  box-shadow: none !important;
}

.wpforms-confirmation-container a {
  color: var(--cyan) !important;
  font-weight: 600;
  text-decoration: none;
}

.wpforms-confirmation-container a:hover {
  text-decoration: underline;
}

.wpforms-confirmation-container,
.wpforms-confirmation-container-full {
  max-width: 680px;
  margin: 24px auto;
  padding: 22px 26px;
  background: #111827 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28) !important;
  text-align: center;
}

.wpforms-confirmation-container p,
.wpforms-confirmation-container-full p {
  background: transparent !important;
  border: none !important;
  color: #cbd5e1 !important;
  padding: 0 !important;
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.wpforms-confirmation-container a,
.wpforms-confirmation-container-full a {
  display: inline-block;
  margin: 8px 6px 0;
  padding: 10px 18px;
  background: #ffffff;
  color: #0b1220 !important;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.wpforms-confirmation-container a:hover,
.wpforms-confirmation-container-full a:hover {
  background: #e5e7eb;
  color: #0b1220 !important;
}

.wpforms-confirmation-container p a,
.wpforms-confirmation-container-full p a {
  display: inline-block;
  margin: 8px 8px 0;
  white-space: nowrap;
}

/* ============================================
   MOBILE MENU / BUTTON ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  .btn-cyan {
    position: relative;
    z-index: 30;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  body.mobile-menu-open {
    overflow: hidden;
    height: 100vh;
  }

  .site-header nav,
  .site-header .main-nav,
  .site-header .mobile-menu,
  .site-header .nav-menu {
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 900px) {
  body.mobile-menu-open {
    overflow: hidden;
    height: 100vh;
  }

  .nav-links.open {
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================
   AI DESK MOBILE BEHAVIOR
   ============================================ */

@media (max-width: 768px) {
  .advisory-ai-button {
    display: flex !important;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
  }
}

/* ============================================
   PAGE NAV ARROWS
   ============================================ */

.page-nav-arrows {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 800;
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

.page-nav-arrows.active {
  opacity: 1;
}

.nav-arrow {
  position: absolute;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.14);
  border: none;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  pointer-events: auto;
}

.nav-arrow.left {
  left: 6px;
}

.nav-arrow.right {
  right: 6px;
}

.nav-arrow:hover {
  background: rgba(0,194,224,0.28);
  color: #00c2e0;
}

@media (min-width: 901px) {
  .page-nav-arrows {
    display: none;
  }
}

/* ============================================
   CONTACT CARD PAGE
   ============================================ */

.contact-card-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  text-align: center;
}

.contact-card-page h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: #ffffff;
}

.contact-card-page p {
  margin: 0 auto 16px;
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}

.contact-card-page p strong {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05em;
}

.contact-card-page .wp-block-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.contact-card-page .wp-block-button {
  width: 100%;
  max-width: 420px;
}

.contact-card-page .wp-block-button__link {
  display: inline-block;
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-card-page .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #ffffff;
  color: #0b1220;
  border: 1px solid #ffffff;
}

.contact-card-page .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: #e5e7eb;
  color: #0b1220;
}

.contact-card-page .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
}

.contact-card-page .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.contact-card-note {
  margin-top: 24px !important;
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.72) !important;
}

@media (max-width: 768px) {
  .contact-card-page {
    padding: 28px 18px 44px;
  }

  .contact-card-page h2 {
    font-size: 2rem;
  }

  .contact-card-page p {
    font-size: 0.97rem;
    line-height: 1.65;
  }

  .contact-card-page .wp-block-buttons {
    gap: 12px;
    margin-top: 24px;
  }

  .contact-card-page .wp-block-button {
    max-width: 100%;
  }

  .contact-card-page .wp-block-button__link {
    padding: 13px 18px;
    font-size: 0.98rem;
  }
}

/* ============================================
   MOBILE PAGE NAV ARROWS — REFINED
   ============================================ */

@media (max-width: 768px) {
  .page-nav-arrows,
  .page-nav-arrows.active {
    opacity: 1 !important;
  }

  .page-nav-arrows .nav-arrow {
    background: rgba(2, 5, 8, 0.88) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 7px 9px !important;
    font-size: 15px !important;
  }

  .page-nav-arrows .nav-arrow.left {
    left: -14px !important;
  }

  .page-nav-arrows .nav-arrow.right {
    right: -14px !important;
  }

  .page-nav-arrows .nav-arrow:hover {
    background: rgba(2, 5, 8, 0.88) !important;
    color: #ffffff !important;
  }
}

/* ============================================
   ADVISORY OUTCOMES — FINAL FIX
   ============================================ */

.outcomes-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100%;
  max-width: 100%;
}

.outcomes-grid > * {
  min-width: 0;
  width: 100%;
}

/* Tablet */
@media (max-width: 1024px) {
  .outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .outcomes-grid {
    grid-template-columns: 1fr !important;
  }
}