/*
Theme Name: R00T Computing
Theme URI: https://r00tcomputing.com
Author: R00T Computing
Author URI: https://r00tcomputing.com
Description: R00T Computing — strategic IT consulting & managed services
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: r00t-computing

Design: Command Line Elegance — Terminal-Inspired Corporate
Fonts: JetBrains Mono (brand/nav), DM Sans (body)
Palette: Dark background, terminal green accents, sharp edges
*/

/* ============================================
   CSS CUSTOM PROPERTIES — Easy to tweak!
   Change these to restyle the entire site.
   ============================================ */
:root {
  /* Brand Colors */
  --r00t-terminal: #4ade80;
  --r00t-terminal-dim: #22c55e;
  --r00t-terminal-glow: rgba(74, 222, 128, 0.3);
  --r00t-terminal-subtle: rgba(74, 222, 128, 0.1);

  /* Backgrounds */
  --r00t-bg: #0f1117;
  --r00t-bg-card: #161822;
  --r00t-bg-card-half: rgba(22, 24, 34, 0.5);
  --r00t-bg-secondary: #1c1f2e;

  /* Text */
  --r00t-text: #e0e2eb;
  --r00t-text-muted: #8b8fa3;
  --r00t-text-primary-fg: #0a0c10;

  /* Borders */
  --r00t-border: #2a2d3e;

  /* Input */
  --r00t-input-bg: #161822;

  /* Spacing */
  --r00t-container-max: 1280px;
  --r00t-container-pad: 1rem;

  /* Fonts */
  --r00t-font-mono: 'JetBrains Mono', monospace;
  --r00t-font-sans: 'DM Sans', system-ui, sans-serif;

  /* Border Radius — set to 0 for sharp terminal look */
  --r00t-radius: 0px;
}

@media (min-width: 640px) {
  :root { --r00t-container-pad: 1.5rem; }
}
@media (min-width: 1024px) {
  :root { --r00t-container-pad: 2rem; }
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--r00t-font-sans);
  background-color: var(--r00t-bg);
  color: var(--r00t-text);
  line-height: 1.6;
  min-height: 100vh;
}

::selection {
  background: var(--r00t-terminal-glow);
  color: #f0fdf4;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ============================================
   LAYOUT
   ============================================ */
.r00t-container {
  width: 100%;
  max-width: var(--r00t-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--r00t-container-pad);
  padding-right: var(--r00t-container-pad);
}

.r00t-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.r00t-section--bordered {
  border-top: 1px solid var(--r00t-border);
  border-bottom: 1px solid var(--r00t-border);
}

.r00t-section--border-b {
  border-bottom: 1px solid var(--r00t-border);
}

.r00t-section--bg-card {
  background-color: var(--r00t-bg-card-half);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.r00t-mono {
  font-family: var(--r00t-font-mono);
}

.r00t-heading {
  font-family: var(--r00t-font-mono);
  font-weight: 700;
  color: var(--r00t-text);
  line-height: 1.2;
}

.r00t-heading--xl { font-size: clamp(2rem, 5vw, 3.75rem); }
.r00t-heading--lg { font-size: clamp(1.75rem, 4vw, 3rem); }
.r00t-heading--md { font-size: clamp(1.5rem, 3vw, 2rem); }
.r00t-heading--sm { font-size: 1.125rem; }

.r00t-terminal-comment {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: rgba(74, 222, 128, 0.7);
  display: block;
  margin-bottom: 0.75rem;
}

.r00t-terminal-prompt {
  color: var(--r00t-terminal);
}

.r00t-text-muted {
  color: var(--r00t-text-muted);
}

.r00t-text-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.r00t-glow-green {
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.3), 0 0 20px rgba(74, 222, 128, 0.1);
}

/* ============================================
   NAVBAR
   ============================================ */
.r00t-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--r00t-border);
  background: rgba(15, 17, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.r00t-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.r00t-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--r00t-font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
}

.r00t-logo__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--r00t-terminal);
}

.r00t-logo__accent {
  color: var(--r00t-terminal);
}

.r00t-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .r00t-nav { display: flex; }
}

.r00t-nav__link {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: var(--r00t-text-muted);
  transition: color 0.2s;
}

.r00t-nav__link:hover,
.r00t-nav__link--active {
  color: var(--r00t-terminal);
}

/* Services dropdown */
.r00t-dropdown {
  position: relative;
}

.r00t-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.025em;
  transition: color 0.2s;
}

.r00t-dropdown__trigger:hover {
  color: var(--r00t-terminal);
}

.r00t-dropdown__trigger svg {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.2s;
}

.r00t-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.5rem;
  width: 16rem;
  background: transparent;
  z-index: 60;
}

.r00t-dropdown__menu::after {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--r00t-bg-card);
  border: 1px solid var(--r00t-border);
  z-index: -1;
}

.r00t-dropdown:hover .r00t-dropdown__menu {
  display: block;
}

.r00t-dropdown:hover .r00t-dropdown__trigger svg {
  transform: rotate(180deg);
}

.r00t-dropdown__item {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  transition: color 0.2s, background 0.2s;
}

.r00t-dropdown__item:hover {
  color: var(--r00t-terminal);
  background: var(--r00t-bg-secondary);
}

.r00t-dropdown__item-prefix {
  color: rgba(74, 222, 128, 0.5);
  margin-right: 0.5rem;
}

/* Navbar CTA */
/* Two-class selector (0,2,0) so it beats .r00t-btn (declared later, 0,1,0) */
.r00t-btn.r00t-nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .r00t-btn.r00t-nav-cta { display: inline-flex; }
}

/* Below 1024px keep the logo intact and the toggle on the right */
@media (max-width: 1023px) {
  .r00t-logo { flex-shrink: 0; white-space: nowrap; }
  .r00t-mobile-toggle { flex-shrink: 0; }
}

/* Mobile toggle */
.r00t-mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--r00t-text);
  cursor: pointer;
  padding: 0.25rem;
}

@media (min-width: 1024px) {
  .r00t-mobile-toggle { display: none; }
}

.r00t-mobile-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile menu */
.r00t-mobile-menu {
  display: none;
  border-top: 1px solid var(--r00t-border);
  background: var(--r00t-bg);
  padding: 1rem var(--r00t-container-pad);
}

.r00t-mobile-menu.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .r00t-mobile-menu { display: none !important; }
}

.r00t-mobile-menu__link {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  transition: color 0.2s;
}

.r00t-mobile-menu__link:hover {
  color: var(--r00t-terminal);
}

.r00t-mobile-menu__services {
  padding: 0.5rem 0;
}

.r00t-mobile-menu__services-label {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: rgba(74, 222, 128, 0.7);
  margin-bottom: 0.5rem;
}

.r00t-mobile-menu__service-link {
  display: block;
  padding: 0.375rem 0 0.375rem 1rem;
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  transition: color 0.2s;
}

.r00t-mobile-menu__service-link:hover {
  color: var(--r00t-terminal);
}

/* ============================================
   BUTTONS
   ============================================ */
.r00t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-radius: var(--r00t-radius);
  text-decoration: none;
}

.r00t-btn--primary {
  background: var(--r00t-terminal);
  color: var(--r00t-text-primary-fg);
}

.r00t-btn--primary:hover {
  background: var(--r00t-terminal-dim);
}

.r00t-btn--outline {
  background: transparent;
  border: 1px solid var(--r00t-border);
  color: var(--r00t-text-muted);
}

.r00t-btn--outline:hover {
  color: var(--r00t-terminal);
  border-color: rgba(74, 222, 128, 0.5);
}

.r00t-btn svg {
  width: 1rem;
  height: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.r00t-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.r00t-hero__bg {
  position: absolute;
  inset: 0;
}

.r00t-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.r00t-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,17,23,0.6), rgba(15,17,23,0.8), var(--r00t-bg));
}

.r00t-hero__content {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
  max-width: 48rem;
}

.r00t-hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .r00t-hero__cta-group { flex-direction: row; }
}

/* Page Hero (for inner pages) */
.r00t-page-hero {
  padding: 6rem 0;
  border-bottom: 1px solid var(--r00t-border);
}

.r00t-page-hero--with-bg {
  position: relative;
  overflow: hidden;
}

.r00t-page-hero__bg {
  position: absolute;
  inset: 0;
}

.r00t-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.r00t-page-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--r00t-bg), rgba(15,17,23,0.95), rgba(15,17,23,0.8));
}

.r00t-page-hero__content {
  position: relative;
  z-index: 10;
}

.r00t-page-hero__title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.r00t-page-hero__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--r00t-terminal);
}

/* ============================================
   TRUST BAR
   ============================================ */
.r00t-trust-bar {
  border-top: 1px solid var(--r00t-border);
  border-bottom: 1px solid var(--r00t-border);
  background: var(--r00t-bg-card-half);
}

.r00t-trust-bar__inner {
  padding: 2rem 0;
}

.r00t-trust-bar__label {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: var(--r00t-text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.r00t-trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .r00t-trust-bar__logos { gap: 4rem; }
}

.r00t-trust-bar__logo {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  font-weight: 500;
  letter-spacing: 0.025em;
}

@media (min-width: 768px) {
  .r00t-trust-bar__logo { font-size: 1rem; }
}

/* ============================================
   STATS
   ============================================ */
.r00t-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .r00t-stats { grid-template-columns: repeat(4, 1fr); }
}

.r00t-stat {
  text-align: center;
}

.r00t-stat__value {
  font-family: var(--r00t-font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--r00t-terminal);
  margin-bottom: 0.5rem;
}

.r00t-stat__label {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: var(--r00t-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.r00t-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--r00t-border);
}

@media (min-width: 768px) {
  .r00t-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .r00t-services-grid { grid-template-columns: repeat(3, 1fr); }
}

.r00t-service-card {
  display: block;
  background: var(--r00t-bg);
  padding: 2rem;
  transition: background 0.2s;
}

.r00t-service-card:hover {
  background: var(--r00t-bg-card);
}

.r00t-service-card__icon {
  width: 2rem;
  height: 2rem;
  color: var(--r00t-terminal);
  margin-bottom: 1.5rem;
  transition: transform 0.2s;
}

.r00t-service-card:hover .r00t-service-card__icon {
  transform: scale(1.1);
}

.r00t-service-card__title {
  font-family: var(--r00t-font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--r00t-text);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.r00t-service-card:hover .r00t-service-card__title {
  color: var(--r00t-terminal);
}

.r00t-service-card__desc {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.r00t-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: rgba(74, 222, 128, 0.7);
  transition: color 0.2s;
}

.r00t-service-card:hover .r00t-service-card__link {
  color: var(--r00t-terminal);
}

.r00t-service-card__link svg {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.2s;
}

.r00t-service-card:hover .r00t-service-card__link svg {
  transform: translateX(4px);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.r00t-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .r00t-testimonials { grid-template-columns: repeat(3, 1fr); }
}

.r00t-testimonial {
  border: 1px solid var(--r00t-border);
  background: var(--r00t-bg);
  padding: 2rem;
}

.r00t-testimonial__icon {
  font-family: var(--r00t-font-mono);
  color: rgba(74, 222, 128, 0.3);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.r00t-testimonial__quote {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.r00t-testimonial__footer {
  border-top: 1px solid var(--r00t-border);
  padding-top: 1rem;
}

.r00t-testimonial__author {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-text);
  font-weight: 500;
}

.r00t-testimonial__company {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: rgba(74, 222, 128, 0.6);
}

/* ============================================
   CTA BANNER
   ============================================ */
.r00t-cta-banner {
  border: 1px solid var(--r00t-border);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .r00t-cta-banner { padding: 4rem; }
}

.r00t-cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--r00t-terminal-subtle), transparent, var(--r00t-terminal-subtle));
}

.r00t-cta-banner__content {
  position: relative;
  z-index: 10;
}

.r00t-cta-banner--left {
  text-align: left;
}

.r00t-cta-banner--left .r00t-cta-banner__content {
  max-width: 42rem;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.r00t-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .r00t-two-col { grid-template-columns: repeat(2, 1fr); }
}

.r00t-image-frame {
  position: relative;
  border: 1px solid var(--r00t-border);
  overflow: hidden;
}

.r00t-image-frame__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(74, 222, 128, 0.2);
  background: var(--r00t-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.r00t-image-frame__badge-text {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: rgba(74, 222, 128, 0.6);
}

/* ============================================
   VALUES GRID (2-col with gap-px)
   ============================================ */
.r00t-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--r00t-border);
}

@media (min-width: 768px) {
  .r00t-values-grid { grid-template-columns: repeat(2, 1fr); }
}

.r00t-value-card {
  background: var(--r00t-bg);
  padding: 2rem;
}

@media (min-width: 768px) {
  .r00t-value-card { padding: 2.5rem; }
}

.r00t-value-card__icon {
  width: 2rem;
  height: 2rem;
  color: var(--r00t-terminal);
  margin-bottom: 1rem;
}

.r00t-value-card__title {
  font-family: var(--r00t-font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--r00t-text);
  margin-bottom: 0.75rem;
}

.r00t-value-card__desc {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  line-height: 1.6;
}

/* ============================================
   BENEFITS GRID (4-col)
   ============================================ */
.r00t-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--r00t-border);
}

@media (min-width: 768px) {
  .r00t-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .r00t-benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.r00t-benefit {
  background: var(--r00t-bg);
  padding: 2rem;
}

.r00t-benefit__title {
  font-family: var(--r00t-font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--r00t-terminal);
  margin-bottom: 0.5rem;
}

.r00t-benefit__desc {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  line-height: 1.6;
}

/* ============================================
   FEATURES LIST (checkmark grid)
   ============================================ */
.r00t-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .r00t-features-grid { grid-template-columns: repeat(2, 1fr); }
}

.r00t-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--r00t-border);
  background: var(--r00t-bg);
}

.r00t-feature-item__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--r00t-terminal);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.r00t-feature-item__text {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
}

/* ============================================
   FAQ
   ============================================ */
.r00t-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.r00t-faq-item {
  border: 1px solid var(--r00t-border);
  padding: 1.5rem;
  background: var(--r00t-bg);
}

.r00t-faq-item__question {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--r00t-text);
  margin-bottom: 0.75rem;
}

.r00t-faq-item__prompt {
  color: var(--r00t-terminal);
  margin-right: 0.5rem;
}

.r00t-faq-item__answer {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  line-height: 1.6;
  padding-left: 1.25rem;
}

/* ============================================
   CASE STUDIES
   ============================================ */
.r00t-case-studies {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.r00t-case-study {
  border: 1px solid var(--r00t-border);
}

.r00t-case-study__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--r00t-border);
}

.r00t-case-study__tag-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--r00t-terminal);
}

.r00t-case-study__tag {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: var(--r00t-terminal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.r00t-case-study__body {
  padding: 2rem;
}

@media (min-width: 768px) {
  .r00t-case-study__body { padding: 2.5rem; }
}

.r00t-case-study__title {
  font-family: var(--r00t-font-mono);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--r00t-text);
  margin-bottom: 2rem;
}

.r00t-case-study__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .r00t-case-study__columns { grid-template-columns: repeat(2, 1fr); }
}

.r00t-case-study__col-label {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-terminal);
  margin-bottom: 0.75rem;
}

.r00t-case-study__col-text {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  line-height: 1.6;
}

.r00t-case-study__results {
  border-top: 1px solid var(--r00t-border);
  padding-top: 2rem;
}

.r00t-case-study__results-label {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-terminal);
  margin-bottom: 1.5rem;
}

.r00t-case-study__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.r00t-case-study__metric-value {
  font-family: var(--r00t-font-mono);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--r00t-terminal);
  margin-bottom: 0.25rem;
}

.r00t-case-study__metric-label {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: var(--r00t-text-muted);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.r00t-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .r00t-contact-grid { grid-template-columns: 3fr 2fr; }
}

.r00t-form-group {
  margin-bottom: 1.5rem;
}

.r00t-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .r00t-form-row { grid-template-columns: repeat(2, 1fr); }
}

.r00t-form-label {
  display: block;
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: var(--r00t-text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.r00t-form-input,
.r00t-form-select,
.r00t-form-textarea {
  width: 100%;
  background: var(--r00t-bg-card);
  border: 1px solid var(--r00t-border);
  padding: 0.75rem 1rem;
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  color: var(--r00t-text);
  border-radius: var(--r00t-radius);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.r00t-form-input::placeholder,
.r00t-form-textarea::placeholder {
  color: rgba(139, 143, 163, 0.5);
}

.r00t-form-input:focus,
.r00t-form-select:focus,
.r00t-form-textarea:focus {
  outline: none;
  border-color: var(--r00t-terminal);
}

.r00t-form-textarea {
  resize: none;
  min-height: 8rem;
}

.r00t-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8fa3' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Contact sidebar */
.r00t-contact-sidebar__box {
  border: 1px solid var(--r00t-border);
  padding: 2rem;
  margin-bottom: 2rem;
}

.r00t-contact-sidebar__box--bg {
  background: var(--r00t-bg-card-half);
}

.r00t-contact-sidebar__title {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--r00t-terminal);
  margin-bottom: 1.5rem;
}

.r00t-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.r00t-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.r00t-contact-info__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--r00t-terminal);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.r00t-contact-info__label {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: var(--r00t-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.r00t-contact-info__value {
  font-size: 0.875rem;
  color: var(--r00t-text);
}

.r00t-contact-info__value a {
  transition: color 0.2s;
}

.r00t-contact-info__value a:hover {
  color: var(--r00t-terminal);
}

/* Steps list */
.r00t-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.r00t-step {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
}

.r00t-step__number {
  font-family: var(--r00t-font-mono);
  color: var(--r00t-terminal);
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.r00t-footer {
  border-top: 1px solid var(--r00t-border);
  background: var(--r00t-bg-card);
}

.r00t-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .r00t-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .r00t-footer__grid { grid-template-columns: repeat(4, 1fr); }
}

.r00t-footer__brand-desc {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  line-height: 1.6;
}

.r00t-footer__heading {
  font-family: var(--r00t-font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--r00t-terminal);
  margin-bottom: 1rem;
}

.r00t-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.r00t-footer__link {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  transition: color 0.2s;
}

.r00t-footer__link:hover {
  color: var(--r00t-terminal);
}

.r00t-footer__contact-text {
  font-size: 0.875rem;
  color: var(--r00t-text-muted);
  margin-bottom: 0.5rem;
}

.r00t-footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--r00t-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .r00t-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.r00t-footer__copyright {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: var(--r00t-text-muted);
}

.r00t-footer__tagline {
  font-family: var(--r00t-font-mono);
  font-size: 0.75rem;
  color: rgba(74, 222, 128, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.r00t-cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--r00t-terminal);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.r00t-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.r00t-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.r00t-animate-delay-1 { transition-delay: 0.1s; }
.r00t-animate-delay-2 { transition-delay: 0.2s; }
.r00t-animate-delay-3 { transition-delay: 0.3s; }
.r00t-animate-delay-4 { transition-delay: 0.4s; }
.r00t-animate-delay-5 { transition-delay: 0.5s; }

/* ============================================
   UTILITIES
   ============================================ */
.r00t-mb-4 { margin-bottom: 1rem; }
.r00t-mb-6 { margin-bottom: 1.5rem; }
.r00t-mb-8 { margin-bottom: 2rem; }
.r00t-mb-10 { margin-bottom: 2.5rem; }
.r00t-mb-16 { margin-bottom: 4rem; }
.r00t-mt-16 { margin-top: 4rem; }
.r00t-max-w-2xl { max-width: 42rem; }
.r00t-max-w-3xl { max-width: 48rem; }
.r00t-mx-auto { margin-left: auto; margin-right: auto; }
.r00t-text-center { text-align: center; }

/* Spacer utility */
.r00t-pt-16 { padding-top: 4rem; }

/* WordPress admin bar fix */
body.admin-bar .r00t-navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .r00t-navbar {
    top: 46px;
  }
}

/* WP specific overrides */
.wp-block-image img {
  border: 1px solid var(--r00t-border);
}

/* Hide default WP page titles since we have custom heroes */
.r00t-hide-title .entry-title {
  display: none;
}
