/* ============================================
   V2 ADDITIONS — patterns introduced in the redesign
   - Lighter cream/sand sections for breathing room
   - Animated stat counters
   - Industry-card grid
   - Before/After comparison slider
   - News ticker / company updates column
   - FAQ accordion
   - AI chatbot widget shell
   - Newsletter popup modal
   - Modernized testimonials (photo + logo + role)
   - Visual implementation roadmap (5-step horizontal flow)
   ============================================ */

/* ───── Light sand alternating section ───── */
.section-sand {
  background: var(--color-cream);
  color: var(--color-cream-text);
  padding: var(--space-20) 0;
}
.section-sand h2, .section-sand h3 { color: var(--color-cream-text); }
.section-sand p { color: var(--color-cream-muted); }
.section-sand .eyebrow {
  color: var(--color-brand);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-sand .btn-secondary {
  border-color: var(--color-cream-rule);
  color: var(--color-cream-text);
}

/* ───── Mid-dark section with subtle gradient ───── */
.section-graphite {
  background: linear-gradient(180deg, #0A0A0A 0%, #141414 100%);
  padding: var(--space-20) 0;
}
.section-graphite-warm {
  background: linear-gradient(180deg, #0A0A0A 0%, #1a1410 100%);
  padding: var(--space-20) 0;
}

/* ───── Animated stat counters ───── */
.stat-counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-10) var(--space-5);
}
@media (max-width: 768px) {
  .stat-counter-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
.stat-counter {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border-left: 2px solid rgba(255, 92, 0, 0.25);
}
.stat-counter:first-child { border-left: none; }
@media (max-width: 768px) { .stat-counter { border-left: none; } }
.stat-counter-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stat-counter-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: var(--space-3);
  display: block;
}

/* ───── Industries grid ───── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (max-width: 980px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .industries-grid { grid-template-columns: 1fr; } }
.industry-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-8) var(--space-6);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
  display: block;
  min-height: 220px;
  overflow: hidden;
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand);
  background: var(--color-surface-2);
}
.industry-card-icon {
  width: 40px;
  height: 40px;
  color: var(--color-brand);
  margin-bottom: var(--space-5);
}
.industry-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
}
.industry-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}
.industry-card-arrow {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-6);
  color: var(--color-brand);
  opacity: 0.4;
  transition: opacity 0.25s, transform 0.25s;
}
.industry-card:hover .industry-card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ───── Before / After comparison slider ───── */
.ba-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}
@media (max-width: 768px) { .ba-comparison { grid-template-columns: 1fr; } }
.ba-half {
  padding: var(--space-8) var(--space-8);
  position: relative;
  display: flex;
  flex-direction: column;
}
.ba-half h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-5);
  max-width: 90%;
  min-height: 2.6em;
}
.ba-before h3 { color: rgba(255,255,255,0.55); }
.ba-after  h3 { color: var(--color-text); }
.ba-half + .ba-half {
  border-left: 1px solid var(--color-border);
}
@media (max-width: 768px) {
  .ba-half + .ba-half { border-left: none; border-top: 1px solid var(--color-border); }
}
.ba-half-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-5);
}
.ba-before .ba-half-label { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); }
.ba-after  .ba-half-label { background: var(--color-brand-dim); color: var(--color-brand); border: 1px solid rgba(255,92,0,0.3); }
.ba-before { background: linear-gradient(160deg, #141414 0%, #0e0e0e 100%); }
.ba-after  { background: linear-gradient(160deg, #1a1410 0%, #100c08 100%); }
.ba-half ul { list-style: none; padding: 0; margin: var(--space-3) 0 0; }
.ba-half li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.ba-half li:last-child { border-bottom: none; }
.ba-half li svg { flex-shrink: 0; margin-top: 2px; }
.ba-before li svg { color: rgba(255,255,255,0.25); }
.ba-after  li svg { color: var(--color-brand); }

/* ───── Implementation roadmap ───── */
.roadmap {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  position: relative;
}
@media (max-width: 900px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
.roadmap-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-6) var(--space-5);
  position: relative;
  text-align: center;
}
.roadmap-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}
.roadmap-step-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}
.roadmap-step-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ───── Modernized testimonial cards ───── */
.testimonial-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (max-width: 900px) { .testimonial-modern { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover {
  border-color: rgba(255,92,0,0.35);
  transform: translateY(-3px);
}
.testimonial-quote {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
  position: relative;
  padding-left: var(--space-5);
}
.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-family: Georgia, serif;
  font-size: 2.5rem;
  color: var(--color-brand);
  line-height: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-brand);
  flex-shrink: 0;
  font-size: var(--text-sm);
  border: 1px solid rgba(255,92,0,0.3);
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-meta { flex: 1; min-width: 0; }
.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: 2px 0 0;
}
.testimonial-company {
  height: 22px;
  opacity: 0.7;
  filter: brightness(1.2);
}

/* ───── Video testimonial slot ───── */
.video-testimonial {
  position: relative;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.video-testimonial:hover { border-color: var(--color-brand); }
.video-testimonial-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6;
}
.video-testimonial-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(255,92,0,0.5);
  transition: transform 0.2s;
}
.video-testimonial:hover .video-play-btn { transform: scale(1.08); }
.video-testimonial-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-5);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.video-caption-name { color: #fff; font-weight: 600; font-size: var(--text-base); margin: 0; }
.video-caption-role { color: rgba(255,255,255,0.7); font-size: var(--text-xs); margin: 4px 0 0; }

/* ───── News / company updates ticker column ───── */
.news-column {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  align-self: start;
  position: sticky;
  top: 100px;
}
@media (max-width: 900px) { .news-column { position: static; } }
.news-column h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-brand);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.news-item {
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: block;
  text-decoration: none;
}
.news-item:last-child { border-bottom: none; }
.news-date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
}
.news-title {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}
.news-item:hover .news-title { color: var(--color-brand); }

/* ───── FAQ accordion ───── */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-6) 0;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--color-brand); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-brand);
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ───── AI Chatbot widget ───── */
.chatbot-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-brand);
  border: none;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(255,92,0,0.4), 0 0 0 0 rgba(255,92,0,0.5);
  animation: chatbot-pulse 2.2s ease-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s;
}
.chatbot-fab:hover { transform: scale(1.05); }
@keyframes chatbot-pulse {
  0%   { box-shadow: 0 8px 30px rgba(255,92,0,0.4), 0 0 0 0 rgba(255,92,0,0.5); }
  70%  { box-shadow: 0 8px 30px rgba(255,92,0,0.4), 0 0 0 18px rgba(255,92,0,0); }
  100% { box-shadow: 0 8px 30px rgba(255,92,0,0.4), 0 0 0 0 rgba(255,92,0,0); }
}
.chatbot-panel {
  position: fixed;
  bottom: 100px; right: 24px;
  width: 380px;
  max-height: 540px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 998;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.chatbot-panel.open { display: flex; }
.chatbot-header {
  padding: var(--space-5);
  background: linear-gradient(135deg, var(--color-brand) 0%, #cc4900 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.chatbot-header-title { font-weight: 600; font-size: var(--text-base); margin: 0; }
.chatbot-header-subtitle { font-size: var(--text-xs); opacity: 0.85; margin: 2px 0 0; }
.chatbot-header-close {
  margin-left: auto;
  background: none; border: none;
  color: #fff; cursor: pointer;
  padding: 4px;
}
.chatbot-messages {
  flex: 1;
  padding: var(--space-5);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-surface-2);
}
.chatbot-msg {
  max-width: 80%;
  padding: var(--space-3) var(--space-4);
  border-radius: 14px;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.chatbot-msg.bot {
  background: var(--color-surface);
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chatbot-msg.user {
  background: var(--color-brand);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.chatbot-chip {
  font-size: var(--text-xs);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,92,0,0.12);
  color: var(--color-brand);
  border: 1px solid rgba(255,92,0,0.3);
  cursor: pointer;
  font-family: inherit;
}
.chatbot-input-row {
  display: flex;
  padding: var(--space-3);
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  gap: var(--space-2);
}
.chatbot-input {
  flex: 1;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: var(--space-3) var(--space-4);
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--text-sm);
}
.chatbot-send {
  background: var(--color-brand);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ───── Newsletter popup ───── */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  backdrop-filter: blur(6px);
}
.popup-overlay.open { display: flex; }
.popup-card {
  background: linear-gradient(160deg, #1a1410 0%, #0a0a0a 100%);
  border: 1px solid rgba(255,92,0,0.4);
  border-radius: 16px;
  padding: var(--space-10);
  max-width: 520px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 60px rgba(255,92,0,0.15);
}
.popup-close {
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  background: none; border: none;
  color: var(--color-text-faint);
  cursor: pointer;
  padding: 4px;
}
.popup-eyebrow {
  color: var(--color-brand);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.popup-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
  line-height: 1.2;
}
.popup-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-6);
  line-height: 1.6;
}
.popup-form {
  display: flex;
  gap: var(--space-2);
  max-width: 400px;
  margin: 0 auto;
}
.popup-input {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: var(--space-3) var(--space-4);
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--text-sm);
}
.popup-submit {
  background: var(--color-brand);
  border: none;
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* ───── Client logo strip (greyscale, modern) ───── */
.client-logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-8);
  align-items: center;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
  opacity: 0.7;
}
@media (max-width: 768px) { .client-logo-strip { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
.client-logo-strip img {
  max-height: 36px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(2);
  transition: filter 0.25s ease, opacity 0.25s;
  opacity: 0.6;
}
.client-logo-strip img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* ───── Modernized hero CTAs ───── */
.hero-cta-row {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: var(--space-3) var(--space-6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: var(--color-brand);
  background: var(--color-brand-dim);
}

/* ───── Spotlight tile (for AI / Redwood callout) ───── */
.spotlight-tile {
  position: relative;
  background: linear-gradient(135deg, rgba(255,92,0,0.10) 0%, rgba(255,92,0,0.02) 60%, transparent 100%), linear-gradient(180deg, #100c08 0%, #0a0a0a 100%);
  border: 1px solid rgba(255,92,0,0.3);
  border-radius: 16px;
  padding: var(--space-12) var(--space-10);
  max-width: var(--content-wide);
  margin: 0 auto;
  overflow: hidden;
}
.spotlight-tile::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,92,0,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.spotlight-tile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-10);
  align-items: center;
  position: relative;
}
@media (max-width: 900px) { .spotlight-tile-grid { grid-template-columns: 1fr; } }
.spotlight-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-brand-dim);
  color: var(--color-brand);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,92,0,0.35);
  margin-bottom: var(--space-5);
}

/* ───── Mobile menu fix ───── */
.nav-mobile-menu {
  padding-top: 72px;
}
.nav-mobile-menu a, .nav-mobile-menu button {
  display: block;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin: 0;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.nav-mobile-menu a.active { color: var(--color-brand); }
.nav-mobile-sub {
  padding-left: var(--space-4);
}
.nav-mobile-sub a {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ───── Industry icon vibe (when applied to .industry-card-icon SVG) ───── */
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--color-brand-dim);
  border: 1px solid rgba(255,92,0,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  margin-bottom: var(--space-5);
}

/* ───── Resource asset card ───── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (max-width: 900px) { .resource-grid { grid-template-columns: 1fr; } }
.resource-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}
.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,92,0,0.4);
}
.resource-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0;
}
.resource-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
}
.resource-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.resource-format {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.resource-download {
  color: var(--color-brand);
  font-size: var(--text-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ───── Team grid (extended leadership) ───── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-align: center;
  padding: var(--space-6);
  transition: border-color 0.25s, transform 0.25s;
}
.team-card:hover { border-color: var(--color-brand); transform: translateY(-3px); }
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  background: var(--color-surface-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-brand);
  font-size: var(--text-xl);
  border: 2px solid rgba(255,92,0,0.3);
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.team-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
.team-role {
  font-size: var(--text-xs);
  color: var(--color-brand);
  margin: 4px 0 var(--space-3);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.team-tenure {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: 0;
}
.team-linkedin {
  display: inline-flex;
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.team-linkedin:hover { color: var(--color-brand); }

/* ───── Awards / media strip ───── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (max-width: 768px) { .awards-grid { grid-template-columns: 1fr; } }
.award-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.award-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--color-brand-dim);
  border: 1px solid rgba(255,92,0,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
}
.award-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 4px;
}
.award-org {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: 0;
}

/* ───── Sand testimonial variant ───── */
section.section-sand .testimonial-modern .testimonial-card {
  background: #ffffff !important;
  border: 1px solid rgba(15,15,13,0.10) !important;
  padding: var(--space-6) !important;
  border-radius: 4px;
}
section.section-sand .testimonial-modern .testimonial-card:hover {
  border-color: rgba(255,92,0,0.40) !important;
}
section.section-sand .testimonial-modern .testimonial-quote {
  color: var(--color-cream-text);
}
section.section-sand .testimonial-modern .testimonial-quote::before {
  color: var(--color-brand);
}
section.section-sand .testimonial-modern .testimonial-name {
  color: var(--color-cream-text);
}
section.section-sand .testimonial-modern .testimonial-role {
  color: var(--color-cream-muted);
}
section.section-sand .testimonial-modern .testimonial-author {
  border-top-color: rgba(15,15,13,0.12);
}
section.section-sand .testimonial-modern .testimonial-avatar {
  background: var(--color-brand-dim);
  color: var(--color-brand);
  border: 1px solid rgba(255,92,0,0.40);
}

/* ───── Location cards (with phone) ───── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
@media (max-width: 900px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .locations-grid { grid-template-columns: 1fr; } }
.location-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
}
.location-region {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 var(--space-3);
}
.location-city {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
}
.location-addr {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0 0 var(--space-3);
}
.location-phone {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.location-phone:hover { color: var(--color-brand); }

/* ───── Common helpers ───── */
.eyebrow-center {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-3);
}
.section-title-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: inherit;
}
.section-sub-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-10);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.section-sand .section-sub-center { color: var(--color-cream-muted); }

/* ───── Arabic language toggle button in nav ───── */
.nav-lang-li { list-style: none; margin-left: var(--space-2); }
.nav-lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  min-width: 36px;
}
.nav-lang-toggle:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: rgba(255, 92, 0, 0.06);
}
.nav-lang-toggle span { line-height: 1; }

/* ───── Force hide dropdowns by default (fixes inheritance bug) ───── */
.nav .nav-links .nav-dropdown {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}
.nav .nav-links .nav-dropdown.open {
  display: block !important;
  opacity: 1;
  visibility: visible;
}
