.project-cta-box {
  margin-top: 34px;
  padding: 28px 26px;
  background: rgba(16, 34, 25, 0.78);
  border: 1px solid rgba(197, 160, 89, 0.34);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.project-cta-note {
  font-size: 1.02rem;
  color: var(--color-gold-light);
  line-height: 1.65;
  font-weight: 400;
  max-width: 620px;
}
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: #C49F58;
  color: #0E1B14;
  border: none;
  border-radius: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 22px rgba(196, 159, 88, 0.28);
}
.btn-primary-gold:hover {
  background: #D4AF67;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196, 159, 88, 0.45);
}
.directions-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}
.direction-tab-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  padding: 18px 20px;
  background: rgba(14, 29, 22, 0.72);
  border: 1px solid rgba(197, 160, 89, 0.26);
  border-radius: 12px;
  color: var(--color-muted);
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, color 0.28s ease;
}
.dir-tab-code {
  font-size: 0.72rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-gold);
  transition: color 0.28s ease;
}
.dir-tab-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-gold-light);
  line-height: 1.25;
  transition: color 0.28s ease, text-shadow 0.28s ease;
}
#dirTabSlow {
  border-color: rgba(var(--slow-rgb, 163, 216, 111), 0.28);
}
#dirTabSlow .dir-tab-code {
  color: var(--slow-hex, #A3D86F);
}
#dirTabSlow.active {
  background: linear-gradient(145deg, var(--slow-bg-top, rgba(29, 46, 26, 0.92)) 0%, var(--slow-bg-bot, rgba(16, 30, 18, 0.96)) 100%);
  border-color: var(--slow-hex, #A3D86F);
  color: var(--color-cream);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(var(--slow-rgb, 163, 216, 111), 0.45), inset 0 0 14px rgba(var(--slow-rgb, 163, 216, 111), 0.16);
}
#dirTabSlow.active .dir-tab-sub {
  color: var(--slow-title, #E3F3D4);
  text-shadow: 0 0 14px rgba(var(--slow-rgb, 163, 216, 111), 0.55);
}
#dirTabSlow:hover,
#dirTabSlow:focus-visible,
#dirTabSlow:active,
#dirTabSlow.is-active-touch {
  background: var(--slow-bg-hover, rgba(35, 54, 30, 0.95));
  border-color: var(--slow-hex, #A3D86F);
  color: var(--color-cream);
  animation: calmCardGlow 2.8s ease-in-out infinite;
}
#dirTabSlow:hover .dir-tab-sub,
#dirTabSlow.is-active-touch .dir-tab-sub {
  color: var(--slow-title, #E3F3D4);
  text-shadow: 0 0 16px rgba(var(--slow-rgb, 163, 216, 111), 0.72);
}
#dirTabExpand {
  border-color: rgba(var(--expand-rgb, 213, 187, 108), 0.28);
}
#dirTabExpand .dir-tab-code {
  color: var(--expand-hex, #D5BB6C);
}
#dirTabExpand.active {
  background: linear-gradient(145deg, var(--expand-bg-top, rgba(36, 42, 25, 0.92)) 0%, var(--expand-bg-bot, rgba(19, 28, 18, 0.96)) 100%);
  border-color: var(--expand-hex, #D5BB6C);
  color: var(--color-cream);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 26px rgba(var(--expand-rgb, 213, 187, 108), 0.5), inset 0 0 16px rgba(var(--expand-rgb, 213, 187, 108), 0.2);
}
#dirTabExpand.active .dir-tab-sub {
  color: var(--expand-title, #F2EBD3);
  text-shadow: 0 0 14px rgba(var(--expand-rgb, 213, 187, 108), 0.6);
}
#dirTabExpand:hover,
#dirTabExpand:focus-visible,
#dirTabExpand:active,
#dirTabExpand.is-active-touch {
  background: var(--expand-bg-hover, rgba(44, 48, 29, 0.95));
  border-color: var(--expand-hex, #D5BB6C);
  color: var(--color-cream);
  animation: adrenalineVibrateGlow 1.9s ease-in-out infinite;
}
#dirTabExpand:hover .dir-tab-sub,
#dirTabExpand.is-active-touch .dir-tab-sub {
  color: var(--expand-title, #F2EBD3);
  text-shadow: 0 0 16px rgba(var(--expand-rgb, 213, 187, 108), 0.75);
}
.direction-panel {
  display: none;
  animation: dirPanelFade 0.4s ease;
}
.direction-panel.active {
  display: block;
}
@keyframes dirPanelFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.direction-panel-intro {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.38rem;
  font-style: italic;
  color: var(--color-gold-light);
  line-height: 1.5;
  margin-bottom: 22px;
  padding-left: 16px;
  border-left: 2px solid var(--color-gold);
}
#dirPanelSlow .direction-panel-intro {
  color: var(--slow-title, #E3F3D4);
  border-left-color: var(--slow-hex, #A3D86F);
}
#dirPanelExpand .direction-panel-intro {
  color: var(--expand-title, #F2EBD3);
  border-left-color: var(--expand-hex, #D5BB6C);
}
.direction-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}
.direction-point-card {
  position: relative;
  background: linear-gradient(145deg, rgba(17, 36, 27, 0.82) 0%, rgba(10, 22, 16, 0.92) 100%);
  border: 1px solid rgba(197, 160, 89, 0.24);
  border-radius: 12px;
  padding: 24px 22px;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.direction-point-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.38rem;
  font-weight: 500;
  color: var(--color-gold-light);
  line-height: 1.3;
  margin-bottom: 10px;
}
.direction-point-text {
  font-size: 0.94rem;
  color: var(--color-cream);
  opacity: 0.92;
  line-height: 1.75;
}
#dirPanelSlow .direction-point-card {
  background: linear-gradient(145deg, var(--slow-bg-top, rgba(29, 46, 26, 0.92)) 0%, var(--slow-bg-bot, rgba(16, 30, 18, 0.96)) 100%);
  border-color: rgba(var(--slow-rgb, 163, 216, 111), 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(var(--slow-rgb, 163, 216, 111), 0.24), inset 0 0 14px rgba(var(--slow-rgb, 163, 216, 111), 0.1);
}
#dirPanelSlow .direction-point-card:hover {
  transform: translateY(-3px);
  border-color: var(--slow-hex, #A3D86F);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(var(--slow-rgb, 163, 216, 111), 0.48), inset 0 0 18px rgba(var(--slow-rgb, 163, 216, 111), 0.16);
}
#dirPanelSlow .direction-point-title {
  color: var(--slow-title, #E3F3D4);
  text-shadow: 0 0 12px rgba(var(--slow-rgb, 163, 216, 111), 0.32);
}
#dirPanelExpand .direction-point-card {
  background: linear-gradient(145deg, var(--expand-bg-top, rgba(36, 42, 25, 0.92)) 0%, var(--expand-bg-bot, rgba(19, 28, 18, 0.96)) 100%);
  border-color: rgba(var(--expand-rgb, 213, 187, 108), 0.48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.44), 0 0 20px rgba(var(--expand-rgb, 213, 187, 108), 0.26), inset 0 0 14px rgba(var(--expand-rgb, 213, 187, 108), 0.11);
}
#dirPanelExpand .direction-point-card:hover {
  transform: translateY(-3px);
  border-color: var(--expand-hex, #D5BB6C);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.54), 0 0 30px rgba(var(--expand-rgb, 213, 187, 108), 0.55), inset 0 0 20px rgba(var(--expand-rgb, 213, 187, 108), 0.18);
}
#dirPanelExpand .direction-point-title {
  color: var(--expand-title, #F2EBD3);
  text-shadow: 0 0 12px rgba(var(--expand-rgb, 213, 187, 108), 0.36);
}
.directions-closing-box {
  background: rgba(16, 34, 25, 0.72);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 12px;
  padding: 30px 26px;
  margin-bottom: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.directions-closing-text {
  font-size: 1.02rem;
  color: var(--color-cream);
  line-height: 1.7;
  max-width: 600px;
}
@media (max-width: 720px) {
  .directions-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .direction-tab-btn {
    padding: 15px 16px;
  }
  .direction-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .direction-point-card {
    padding: 20px 18px;
  }
  .project-cta-box {
    padding: 22px 18px;
  }
  .btn-primary-gold {
    width: 100%;
    padding: 15px 18px;
  }
  .directions-closing-box {
    padding: 24px 18px;
  }
}