/* ==========================================================================
   Reality-Craft "Our Expertise" — reality-craft Inspired Design System
   ========================================================================== */

/* --- Font & Base Tokens --- */
:root {
  --rc-bg-dark: #07090e;
  --rc-bg-card-dark: #0e131f;
  --rc-border-dark: rgba(255, 255, 255, 0.1);
  --rc-border-hover: rgba(37, 99, 235, 0.5);
  --rc-text-muted-dark: rgba(255, 255, 255, 0.55);
  --rc-mono-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

/* --- reality-craft Global Helpers --- */
.rc-mono {
  font-family: var(--rc-mono-font);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.rc-header-line {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.rc-header-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.rc-header-line.rc-header-line--dark::after {
  background: rgba(255, 255, 255, 0.12);
}

/* --- Hero Section (Services Overview Page) --- */
.rc-hero {
  position: relative;
  padding: clamp(6rem, 10vw, 10rem) 0 clamp(4rem, 6vw, 6rem);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.rc-hero__ambient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(124, 58, 237, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.rc-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.rc-hero__eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rc-hero__eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent-primary);
  font-family: var(--rc-mono-font);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.rc-hero__eyebrow-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: rcPulse 2s infinite;
}

@keyframes rcPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.rc-hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #0b1329;
  margin-bottom: 1.75rem;
}

.rc-hero__title-accent {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rc-hero__desc {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: #334155;
  max-width: 860px;
  margin-bottom: 2.5rem;
}

.rc-hero__meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem clamp(2rem, 4vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}

.rc-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rc-hero__meta-val {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.rc-hero__meta-label {
  font-family: var(--rc-mono-font);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

/* --- Filter Bar --- */
.rc-filter-section {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  padding: 1rem 0;
  transition: all 0.25s ease;
}

.rc-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.rc-filter-wrap::-webkit-scrollbar {
  display: none;
}

.rc-filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.rc-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.rc-filter-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.rc-filter-pill.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.rc-filter-pill__count {
  font-family: var(--rc-mono-font);
  font-size: 0.72rem;
  opacity: 0.75;
  background: rgba(0, 0, 0, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.rc-filter-pill.is-active .rc-filter-pill__count {
  background: rgba(255, 255, 255, 0.2);
}

.rc-filter-info {
  font-family: var(--rc-mono-font);
  font-size: 0.8rem;
  color: #64748b;
  flex-shrink: 0;
  display: none;
}

@media (min-width: 900px) {
  .rc-filter-info {
    display: block;
  }
}

/* --- Signature Pillar Showcase (Overview Page) --- */
.rc-pillar-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  background: var(--bg-secondary);
}

.rc-pillar-section:nth-child(even) {
  background: var(--bg-primary);
}

.rc-pillar-card {
  display: block;
  max-width: 100%;
}

.rc-pillar-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.rc-pillar-num {
  font-family: var(--rc-mono-font);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
}

.rc-pillar-num span {
  color: #94a3b8;
  font-weight: 400;
}

.rc-pillar-tag {
  font-family: var(--rc-mono-font);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 4px;
  color: var(--accent-primary);
  font-weight: 600;
}

.rc-pillar-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.12;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.rc-pillar-desc {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.5;
  color: #475569;
  margin-bottom: 2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.rc-pillar-subservices-title {
  font-family: var(--rc-mono-font);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
}

/* Service links chip grid */
.rc-subservices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.rc-service-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.rc-service-chip:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.rc-service-chip__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.rc-service-chip:hover .rc-service-chip__arrow {
  background: #2563eb;
  color: #ffffff;
  transform: translateX(3px);
}

/* --- reality-craft Signature Shuffle Button --- */
.rc-btn-shuffle {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.5rem 0.75rem 0.85rem;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.rc-btn-shuffle:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.rc-btn-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.rc-btn-shuffle:hover .rc-btn-dot {
  transform: rotate(-45deg);
  background: #ffffff;
  color: #2563eb;
}

.rc-btn-shuffle--light {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.rc-btn-shuffle--light:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.rc-btn-shuffle--light .rc-btn-dot {
  background: #0f172a;
  color: #ffffff;
}

.rc-btn-shuffle--light:hover .rc-btn-dot {
  background: #ffffff;
  color: #0f172a;
}

/* ==========================================================================
   Homepage Sticky Stacking Services Showcase (.rc-home-services-wrapper)
   ========================================================================== */
.rc-home-services-wrapper {
  position: relative;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-soft);
  overflow: visible;
}

.rc-home-services-header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.rc-home-services-deck {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: clamp(2rem, 3.5vw, 3rem);
}

.rc-home-service-card {
  position: sticky;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.rc-home-service-card:nth-child(1) {
  top: clamp(80px, 11vh, 105px);
  z-index: 10;
}
.rc-home-service-card:nth-child(2) {
  top: clamp(105px, 14vh, 130px);
  z-index: 20;
}
.rc-home-service-card:nth-child(3) {
  top: clamp(130px, 17vh, 155px);
  z-index: 30;
}

.rc-home-subservices-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 540px) {
  .rc-home-subservices-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .rc-home-subservices-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1140px) {
  .rc-home-subservices-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rc-home-subservice-item {
  display: flex;
  height: 100%;
}

.rc-home-subservice-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.85rem;
  padding: 0.9rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: #0f172a;
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.35;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    color 0.2s ease;
}

.rc-home-subservice-item a span:first-child {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rc-home-subservice-item a .custom-arrow {
  flex-shrink: 0;
  color: rgba(15, 23, 42, 0.35);
  font-size: 1rem;
  margin-left: auto;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* ==========================================================================
   Theme Alignment
   ========================================================================== */

/* 1. AI in Microsoft 365 (Aqua / Mint / Teal #0da283) */
.service-theme-ai .rc-pillar-num {
  color: #0da283;
}
.service-theme-ai.rc-home-service-card:hover {
  border-color: rgba(13, 162, 131, 0.35);
  box-shadow: 0 30px 65px rgba(13, 162, 131, 0.12);
}
.service-theme-ai .rc-home-subservice-item a {
  border-color: rgba(13, 162, 131, 0.12);
  background: rgba(13, 162, 131, 0.01);
}
.service-theme-ai .rc-home-subservice-item a:hover {
  border-color: #0da283 !important;
  background: rgba(13, 162, 131, 0.04) !important;
  box-shadow: 0 12px 28px rgba(13, 162, 131, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  color: #0da283 !important;
  transform: translateY(-4px);
}
.service-theme-ai .rc-home-subservice-item a:hover .custom-arrow {
  color: #0da283 !important;
  transform: translate(3px, -3px);
}

/* 2. Migration & Automation (Sapphire Blue #2972FF) */
.service-theme-migration .rc-pillar-num {
  color: #2972FF;
}
.service-theme-migration.rc-home-service-card:hover {
  border-color: rgba(41, 114, 255, 0.35);
  box-shadow: 0 30px 65px rgba(41, 114, 255, 0.12);
}
.service-theme-migration .rc-home-subservice-item a {
  border-color: rgba(41, 114, 255, 0.12);
  background: rgba(41, 114, 255, 0.01);
}
.service-theme-migration .rc-home-subservice-item a:hover {
  border-color: #2972FF !important;
  background: rgba(41, 114, 255, 0.04) !important;
  box-shadow: 0 12px 28px rgba(41, 114, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  color: #2972FF !important;
  transform: translateY(-4px);
}
.service-theme-migration .rc-home-subservice-item a:hover .custom-arrow {
  color: #2972FF !important;
  transform: translate(3px, -3px);
}

/* 3. Power BI & Analytics (Amber / Gold #d97706) */
.service-theme-analytics .rc-pillar-num {
  color: #d97706;
}
.service-theme-analytics.rc-home-service-card:hover {
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 30px 65px rgba(217, 119, 6, 0.12);
}
.service-theme-analytics .rc-home-subservice-item a {
  border-color: rgba(217, 119, 6, 0.12);
  background: rgba(217, 119, 6, 0.01);
}
.service-theme-analytics .rc-home-subservice-item a:hover {
  border-color: #d97706 !important;
  background: rgba(217, 119, 6, 0.04) !important;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  color: #d97706 !important;
  transform: translateY(-4px);
}
.service-theme-analytics .rc-home-subservice-item a:hover .custom-arrow {
  color: #d97706 !important;
  transform: translate(3px, -3px);
}

/* --- "How We Work" Section (Dark Modern Accordion) --- */
.rc-how-we-work-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: #090d16;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.rc-accordion-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rc-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease;
}

.rc-accordion-item.is-open {
  background: rgba(255, 255, 255, 0.025);
}

.rc-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  background: transparent;
  border: none;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.rc-accordion-trigger:hover {
  opacity: 0.85;
}

.rc-accordion-title-group {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.rc-accordion-num {
  font-family: var(--rc-mono-font);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.rc-accordion-title {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.rc-accordion-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rc-accordion-item.is-open .rc-accordion-icon {
  transform: rotate(45deg);
  background: #2563eb;
  border-color: #2563eb;
}

.rc-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rc-accordion-content {
  padding-left: clamp(2rem, 5vw, 5rem);
  padding-bottom: 2rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: #94a3b8;
  max-width: 850px;
}

/* --- Enterprise Tech Ecosystem Marquee --- */
.rc-tech-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.rc-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.rc-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: rcMarquee 35s linear infinite;
}

.rc-marquee-track--reverse {
  animation: rcMarqueeReverse 38s linear infinite;
}

.rc-marquee-wrap:hover .rc-marquee-track {
  animation-play-state: paused;
}

@keyframes rcMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes rcMarqueeReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.rc-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.rc-tech-badge:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
}

.rc-tech-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Industries We Empower Section --- */
.rc-industries-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-soft);
}

.rc-industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rc-industry-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rc-industry-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.rc-industry-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.rc-industry-card__num {
  font-family: var(--rc-mono-font);
  font-size: 0.8rem;
  color: #94a3b8;
}

.rc-industry-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.rc-industry-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.rc-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rc-industry-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: #f1f5f9;
  border-radius: 4px;
  color: #475569;
  font-weight: 500;
}

/* --- Collaboration Models --- */
.rc-collab-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-soft);
}

.rc-collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.rc-collab-card {
  padding: 2.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rc-collab-card:hover {
  border-color: #0f172a;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.rc-collab-card__num {
  font-family: var(--rc-mono-font);
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.rc-collab-card__title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.rc-collab-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 1.5rem;
}

/* --- High Impact Dark CTA Section --- */
.rc-cta-section {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background: #060910;
  color: #ffffff;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.rc-cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.rc-cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.rc-cta-eyebrow {
  font-family: var(--rc-mono-font);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 1.5rem;
}

.rc-cta-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 2rem;
}

.rc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.rc-cta-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem clamp(2rem, 5vw, 4rem);
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rc-partner-badge {
  font-family: var(--rc-mono-font);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Responsiveness & Polishes --- */
@media (max-width: 768px) {
  .rc-hero__meta-strip {
    gap: 1.5rem;
  }
  .rc-subservices-grid,
  .rc-home-subservices-list {
    grid-template-columns: 1fr;
  }
  .rc-visual-stats {
    grid-template-columns: 1fr;
  }
  .rc-home-service-card {
    position: relative;
    top: 0 !important;
  }
}
