/* ─────────────────────────────────────────────
   it-consulting.css
   Page-specific styles — relies on style.css
   variables and base rules.
───────────────────────────────────────────── */

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.itc-hero {
  position: relative;
  padding: 9rem 2rem 4rem;
  overflow: hidden;
  background: var(--bg);
}

.itc-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Breadcrumb */
.itc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.itc-breadcrumb a { color: var(--orange); font-weight: 600; transition: opacity var(--trans); }
.itc-breadcrumb a:hover { opacity: 0.75; }

/* Title */
.itc-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
.itc-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.itc-hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.75;
  animation: fadeUp 0.7s 0.2s ease both;
}
.itc-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* Right process steps */
.itc-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.7s 0.25s ease both;
}

.itc-process {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 420px;
}

.itc-process__step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all var(--trans);
  opacity: 0;
  transform: translateX(20px);
  position: relative;
  z-index: 1;
}
.itc-process__step.visible {
  opacity: 1;
  transform: translateX(0);
}
.itc-process__step:hover {
  border-color: rgba(231,92,35,0.3);
  transform: translateX(-4px);
  box-shadow: var(--shadow-orange);
}

.itc-process__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

.itc-process__body h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}
.itc-process__body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.itc-process__connector {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, var(--orange), var(--orange-light));
  margin-left: calc(1.5rem + 20px);
  opacity: 0.4;
}

/* Stats strip */
.itc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.itc-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--trans);
}
.itc-stat:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}
.itc-stat .stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.3;
}

/* ═══════════════════════════════
   BENEFITS
═══════════════════════════════ */
.itc-benefits {
  padding: 1rem 0;
  background: var(--bg2);
}

.itc-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 820px;
  margin-bottom: 3rem;
}

.itc-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.itc-benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.itc-benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.itc-benefit-card:hover::before { transform: scaleX(1); }
.itc-benefit-card:hover {
  border-color: rgba(231,92,35,0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange);
}
.itc-benefit-card__icon { font-size: 2.2rem; margin-bottom: 1rem; }
.itc-benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.itc-benefit-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════
   FOCUS DARK BAND
═══════════════════════════════ */
.itc-focus {
  padding: 1rem 0;
  background: #0f172a;
  overflow: hidden;
}
.itc-focus__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.itc-focus__text .section-title { color: #fff; }
.itc-focus__text .section-label::before { background: var(--orange-light); }
.itc-focus__text p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 0.5rem;
}
.itc-focus__cta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.itc-focus__review {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}
.itc-focus__stars { color: #F59E0B; font-size: 1.3rem; }

/* ═══════════════════════════════
   CLIENTS
═══════════════════════════════ */
.itc-clients {
  padding: 5rem 0;
  background: var(--bg2);
}

/* ═══════════════════════════════
   RELATED / ACCORDION
═══════════════════════════════ */
.itc-related {
  padding: 1rem 0;
  background: var(--bg);
}
.itc-related__sub {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.itc-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.itc-acc-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.itc-acc-item.open {
  border-color: rgba(231,92,35,0.3);
}

.itc-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--trans);
}
.itc-acc-header:hover { background: var(--orange-pale); }
.itc-acc-item.open .itc-acc-header { background: var(--orange-pale); }

.itc-acc-icon { font-size: 1.4rem; flex-shrink: 0; }

.itc-acc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  flex: 1;
}

.itc-acc-arrow {
  font-size: 1rem;
  color: var(--orange);
  transition: transform var(--trans);
  flex-shrink: 0;
}
.itc-acc-item.open .itc-acc-arrow { transform: rotate(180deg); }

.itc-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.35s ease;
  padding: 0 1.75rem;
}
.itc-acc-item.open .itc-acc-body {
  max-height: 800px;
  padding: 0.75rem 1.75rem 1.5rem;
}

/* reuse ms-list from managed-services */
.itc-acc-body .ms-list { gap: 0.85rem; }
.itc-acc-body .ms-list li { font-size: 0.9rem; }
.itc-acc-body .ms-list__dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ═══════════════════════════════
   FORM EXTRAS
═══════════════════════════════ */
.itc-privacy { flex-direction: row; align-items: flex-start; }
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.check-label input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--orange);
}
.check-label a { color: var(--orange); text-decoration: underline; }

.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #065f46;
  margin-top: 0.5rem;
}
.form-success.show { display: flex; }

/* ═══════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════ */
.reveal {
  opacity: 1;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger benefit cards */
.itc-benefits__grid .itc-benefit-card:nth-child(2) { transition-delay: 0.08s; }
.itc-benefits__grid .itc-benefit-card:nth-child(3) { transition-delay: 0.16s; }
.itc-benefits__grid .itc-benefit-card:nth-child(4) { transition-delay: 0.24s; }

/* Stagger accordion items */
.itc-accordion .itc-acc-item:nth-child(2) { transition-delay: 0.06s; }
.itc-accordion .itc-acc-item:nth-child(3) { transition-delay: 0.12s; }
.itc-accordion .itc-acc-item:nth-child(4) { transition-delay: 0.18s; }
.itc-accordion .itc-acc-item:nth-child(5) { transition-delay: 0.24s; }
.itc-accordion .itc-acc-item:nth-child(6) { transition-delay: 0.30s; }

/* ═══════════════════════════════
   DARK MODE
═══════════════════════════════ */

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .itc-hero__inner       { grid-template-columns: 1fr; gap: 2.5rem; }
  .itc-hero__visual      { display: none; }
  .itc-stats             { grid-template-columns: repeat(2, 1fr); }
  .itc-benefits__grid    { grid-template-columns: repeat(2, 1fr); }
  .itc-focus__inner      { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .itc-hero              { padding: 5rem 1.5rem 3rem; }
  .itc-stats             { grid-template-columns: repeat(2, 1fr); }
  .itc-benefits__grid    { grid-template-columns: 1fr; }
  .itc-hero__cta         { 
    flex-direction: column;
        align-items: center;
        width: 100%;
  }
    .itc-hero__cta .btn {
        width: 100%;
        max-width: 260px; /* controls button size */
        justify-content: center; /* centers text inside button */
    }
  }
  .itc-acc-header        { padding: 1rem 1.25rem; }
  /* .itc-acc-item.open .itc-acc-body { padding: 0.5rem 1.25rem 1.25rem; } */
@media (max-width: 480px) {
  .itc-stats             { grid-template-columns: 1fr 1fr; }
}
