/* ═══════════════════════════════════════════════
   INDUSTRY PAGES — Shared Stylesheet
   Devvista · industry.css
═══════════════════════════════════════════════ */

/* ── SHARED UTILITIES ── */
.text-accent { color: var(--accent); }

.section-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.section-kicker::before { content: ''; width: 20px; height: 2px; background: var(--accent); flex-shrink: 0; }
.section-kicker.on-cr { color: var(--accent); }
.section-kicker.on-cr::before { background: var(--accent); }

/* ── BUTTONS ── */
.btn-primary-custom { background: var(--cream); color: var(--dark); font-weight: 800; font-size: 0.82rem; padding: 0.9rem 2rem; border-radius: 6px; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; letter-spacing: 0.03em; transition: all 0.22s; }
.btn-primary-custom:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,58,26,0.35); }
.btn-outline-custom { background: transparent; color: var(--cream); font-weight: 700; font-size: 0.82rem; padding: 0.9rem 2rem; border-radius: 6px; border: 1.5px solid rgba(245,230,211,0.22); text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; transition: all 0.22s; }
.btn-outline-custom:hover { border-color: var(--cream); color: var(--white); background: rgba(245,230,211,0.05); }

.btn-accent {
  background: var(--accent); color: var(--white); font-weight: 800;
  font-size: 0.82rem; padding: 0.9rem 2rem; border-radius: 6px; border: none;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem;
  letter-spacing: 0.03em; transition: all 0.22s;
}
.btn-accent:hover { background: var(--accent-h); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,58,26,0.38); }

.btn-outline {
  background: transparent; color: var(--cream); font-weight: 700;
  font-size: 0.82rem; padding: 0.9rem 2rem; border-radius: 6px;
  border: 1.5px solid rgba(245,230,211,0.18); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.55rem; transition: all 0.22s;
}
.btn-outline:hover { border-color: var(--cream); color: var(--white); }

.btn-white {
  background: var(--white); color: var(--accent); font-weight: 800;
  font-size: 0.875rem; padding: 1rem 2.4rem; border-radius: 6px; border: none;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; transition: all 0.22s;
}
.btn-white:hover { background: var(--cream); color: var(--accent); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--white); font-weight: 700;
  font-size: 0.875rem; padding: 1rem 2.4rem; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.28); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.55rem; transition: all 0.22s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-dark {
  background: var(--dark); color: var(--cream); font-weight: 800;
  font-size: 0.82rem; padding: 0.9rem 2rem; border-radius: 6px; border: none;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; transition: all 0.22s;
}
.btn-dark:hover { background: var(--accent); color: var(--white); }

/* ── BREADCRUMB (matches service pages) ── */
.breadcrumb-bar { background: var(--dark-2); border-bottom: 1px solid var(--border); padding: 0.65rem 0; }
.breadcrumb { margin: 0; font-size: 0.77rem; }
.breadcrumb-item a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb-item a:hover { color: var(--cream); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* ── HERO ── */
.ind-hero { background: var(--dark); padding: 5.5rem 0 5rem; position: relative; overflow: hidden; }
.ind-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent) 0%, transparent 60%); }

.ind-hero h1 { font-size: clamp(2.8rem,5.5vw,5.2rem); font-weight: 900; color: var(--white); line-height: 1.0; letter-spacing: -2.5px; margin-bottom: 1.4rem; }
.hero-lead { font-size: 0.95rem; color: var(--muted, #787b78); line-height: 1.9; max-width: 500px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.25rem; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--dark-2); border-bottom: 1px solid rgba(245,230,211,0.08); padding: 1.1rem 0; }
.trust-inner { display: flex; align-items: center; gap: 0; overflow-x: auto; }
.trust-item { display: flex; align-items: center; gap: 0.55rem; padding: 0 2rem; border-right: 1px solid rgba(245,230,211,0.08); flex-shrink: 0; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }
.trust-item i { color: var(--accent); font-size: 0.85rem; }
.trust-item span { font-size: 0.72rem; font-weight: 700; color: rgba(245,230,211,0.38); white-space: nowrap; }
.trust-item strong { font-size: 0.72rem; font-weight: 900; color: rgba(245,230,211,0.58); white-space: nowrap; }

/* ── SOLUTIONS (interactive tab panel) ── */
.solutions-section { background: var(--dark-3, #1a1d1b); padding: 7rem 0; }
.sol-interface { display: grid; grid-template-columns: 240px 1fr; border: 1px solid rgba(245,230,211,0.08); margin-top: 3rem; }
.sol-nav { border-right: 1px solid rgba(245,230,211,0.08); }
.sol-btn {
  width: 100%; text-align: left; padding: 1.2rem 1.4rem;
  border: none; border-bottom: 1px solid rgba(245,230,211,0.08); background: transparent;
  cursor: pointer; transition: background 0.2s; display: flex; flex-direction: column; gap: 0.22rem;
}
.sol-btn:last-child { border-bottom: none; }
.sol-btn:hover { background: rgba(232,58,26,0.04); }
.sol-btn.active { background: rgba(232,58,26,0.08); border-left: 2.5px solid var(--accent); padding-left: calc(1.4rem - 2.5px); }
.sol-btn-num { font-size: 0.5rem; font-weight: 900; letter-spacing: 0.15em; color: rgba(245,230,211,0.18); text-transform: uppercase; transition: color 0.2s; }
.sol-btn-name { font-size: 0.78rem; font-weight: 700; color: rgba(245,230,211,0.42); transition: color 0.2s; line-height: 1.3; }
.sol-btn.active .sol-btn-name { color: var(--white); }
.sol-btn.active .sol-btn-num { color: rgba(232,58,26,0.45); }

.sol-panels { padding: 2.5rem 2.25rem; }
.sol-panel { display: none; }
.sol-panel.active { display: block; }
.sol-panel-head { font-size: clamp(1.5rem,2.5vw,2rem); font-weight: 900; color: var(--white); letter-spacing: -1px; line-height: 1.05; margin-bottom: 1.1rem; }
.sol-panel-body { font-size: 0.9rem; color: var(--muted, #787b78); line-height: 1.88; margin-bottom: 2rem; max-width: 580px; }
.sol-deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sol-del { display: flex; align-items: center; gap: 0.5rem; padding: 0.58rem 0.8rem; background: rgba(245,230,211,0.03); border: 1px solid rgba(245,230,211,0.08); font-size: 0.75rem; font-weight: 600; color: rgba(245,230,211,0.55); }
.sol-del i { color: var(--accent); font-size: 0.76rem; flex-shrink: 0; }

/* ── WHY DEVVISTA (cream) ── */
.why-section { background: var(--cream); padding: 7rem 0; }
.big-statement { font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 900; color: var(--dark); line-height: 1.15; letter-spacing: -1.2px; border-left: 4px solid var(--accent); padding-left: 1.5rem; margin-bottom: 3rem; }
.diff-rows { display: flex; flex-direction: column; gap: 0; border: 1px solid rgba(14,16,15,0.1); }
.diff-row-item { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.75rem; border-bottom: 1px solid rgba(14,16,15,0.1); transition: background 0.22s; }
.diff-row-item:last-child { border-bottom: none; }
.diff-row-item:hover { background: rgba(14,16,15,0.03); }
.diff-index { font-size: 0.55rem; font-weight: 900; letter-spacing: 0.15em; color: rgba(14,16,15,0.2); text-transform: uppercase; white-space: nowrap; padding-top: 0.15rem; width: 24px; flex-shrink: 0; }
.diff-row-content h4 { font-size: 0.92rem; font-weight: 900; color: var(--dark); letter-spacing: -0.2px; margin-bottom: 0.45rem; }
.diff-row-content p { font-size: 0.82rem; color: rgba(14,16,15,0.55); line-height: 1.78; margin: 0; }

/* Tech table (cream bg) */
.tech-table { margin-top: 2.5rem; border: 1px solid rgba(14,16,15,0.1); }
.tech-row-item { display: flex; align-items: center; gap: 0; border-bottom: 1px solid rgba(14,16,15,0.1); }
.tech-row-item:last-child { border-bottom: none; }
.tech-row-lbl { font-size: 0.58rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); width: 90px; flex-shrink: 0; padding: 0.82rem 1rem; background: rgba(14,16,15,0.03); border-right: 1px solid rgba(14,16,15,0.1); }
.tech-row-tags { display: flex; flex-wrap: wrap; gap: 5px; padding: 0.65rem 1rem; flex: 1; }
.t-tag { font-size: 0.68rem; font-weight: 700; color: rgba(14,16,15,0.5); background: rgba(14,16,15,0.04); border: 1px solid rgba(14,16,15,0.1); padding: 0.18rem 0.55rem; }
.t-tag.hl { color: var(--accent); background: rgba(232,58,26,0.06); border-color: rgba(232,58,26,0.18); }

/* ── PROCESS (vertical timeline) ── */
.process-section { background: var(--dark-2); padding: 7rem 0; }
.timeline { margin-top: 3rem; }
.tl-item { display: flex; gap: 2rem; padding-bottom: 2.5rem; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 52px; }
.tl-num { width: 52px; height: 52px; border: 1px solid rgba(245,230,211,0.08); background: var(--dark-3, #1a1d1b); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 900; color: var(--accent); letter-spacing: 0.1em; flex-shrink: 0; }
.tl-line { width: 1px; flex: 1; background: rgba(245,230,211,0.08); margin-top: 6px; min-height: 24px; }
.tl-item:last-child .tl-line { display: none; }
.tl-right { padding-top: 0.6rem; }
.tl-title { font-size: 1rem; font-weight: 900; color: var(--white); letter-spacing: -0.3px; margin-bottom: 0.55rem; }
.tl-body { font-size: 0.85rem; color: var(--muted, #787b78); line-height: 1.82; }
.tl-note { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; font-weight: 700; color: var(--accent); margin-top: 0.65rem; background: rgba(232,58,26,0.07); border: 1px solid rgba(232,58,26,0.18); padding: 0.22rem 0.6rem; }

/* ── FAQ ── */
.faq-section { background: var(--dark-3, #1a1d1b); padding: 7rem 0; }
.faq-section .accordion-item { background: var(--dark-2) !important; border: 1px solid rgba(245,230,211,0.08) !important; border-radius: 0 !important; margin-bottom: 3px; }
.faq-section .accordion-button { background: var(--dark-2) !important; color: var(--cream) !important; font-family: 'Montserrat', sans-serif; font-size: 0.88rem; font-weight: 700; padding: 1.25rem 1.5rem; letter-spacing: -0.1px; box-shadow: none !important; }
.faq-section .accordion-button::after { filter: brightness(0) invert(0.45); }
.faq-section .accordion-button:not(.collapsed) { color: var(--white) !important; background: rgba(232,58,26,0.07) !important; }
.faq-section .accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E83A1A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); filter: none; }
.faq-section .accordion-body { background: var(--dark-2); color: rgba(245,230,211,0.58); font-size: 0.87rem; line-height: 1.84; padding: 1.1rem 1.5rem 1.5rem; border-top: 1px solid rgba(245,230,211,0.08); }
.faq-section .accordion-body strong { color: var(--cream); }

/* ── CTA ── */
.cta-section { background: var(--dark); padding: 8rem 0; position: relative; overflow: hidden; border-top: 1px solid rgba(245,230,211,0.08); }
.cta-bg-word { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 22vw; font-weight: 900; white-space: nowrap; -webkit-text-stroke: 1px rgba(245,230,211,0.025); color: transparent; pointer-events: none; user-select: none; }
.cta-line { width: 56px; height: 3px; background: var(--accent); margin: 0 auto 2.25rem; }
.cta-section h2 { font-size: clamp(2.5rem,5vw,4.5rem); font-weight: 900; color: var(--white); line-height: 1.0; letter-spacing: -2px; margin-bottom: 1.4rem; }
.cta-section p { color: var(--muted, #787b78); font-size: 1rem; line-height: 1.85; max-width: 460px; margin: 0 auto 2.5rem; }
.cta-trust { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.25rem; }
.cta-trust span { font-size: 0.75rem; color: rgba(245,230,211,0.28); display: flex; align-items: center; gap: 0.4rem; font-weight: 600; }
.cta-trust i { color: var(--accent); }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.s1 { transition-delay: 0.07s; }
.s2 { transition-delay: 0.14s; }
.s3 { transition-delay: 0.21s; }

/* ── RESPONSIVE ── */
@media(max-width:991px) {
  .solutions-section, .why-section, .process-section, .faq-section { padding: 5rem 0; }
  .sol-interface { grid-template-columns: 1fr; }
  .sol-nav { border-right: none; border-bottom: 1px solid rgba(245,230,211,0.08); display: grid; grid-template-columns: repeat(3,1fr); }
  .sol-btn { border-bottom: none; border-right: 1px solid rgba(245,230,211,0.08); }
  .sol-btn:last-child { border-right: none; }
  .sol-btn.active { border-left: none; border-top: 2.5px solid var(--accent); padding-top: calc(1.2rem - 2.5px); }
  .tech-row-item { flex-wrap: wrap; }
  .tech-row-lbl { width: 100%; border-right: none; border-bottom: 1px solid rgba(14,16,15,0.1); }
}
@media(max-width:767px) {
  .ind-hero { padding: 3.5rem 0 4rem; }
  .ind-hero h1 { letter-spacing: -1.5px; }
  .sol-deliverables { grid-template-columns: 1fr; }
  .sol-nav { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta a { justify-content: center; }
  .sol-nav { grid-template-columns: 1fr 1fr; }
}
