/* DAVIZ SOLUTIONS — shared one-template industry page */
:root {
  --ind-blue: #2d43f5;
  --ind-blue-deep: #1e3a8a;
  --ind-gold: #ffbd23;
  --ind-ink: #070b16;
  --ind-paper: #ffffff;
  --ind-soft: #f6f8fc;
  --ind-muted: #526071;
  --ind-line: #dbe2ee;
  --ind-ease: cubic-bezier(.22, 1, .36, 1);
}

.ind-template-page {
  width: 100%;
  overflow-x: clip;
  background: var(--ind-paper);
  color: #111827;
  font-family: var(--font-sans, Inter, Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}

.ind-template-page *,
.ind-template-page *::before,
.ind-template-page *::after { box-sizing: border-box; }

.ind-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

.ind-section {
  position: relative;
  padding-block: clamp(56px, 6vw, 84px);
}

.ind-section--soft { background: var(--ind-soft); border-block: 1px solid var(--ind-line); }
.ind-section--dark { background: var(--ind-ink); color: #ffffff; }

/* Hero */
.ind-hero-banner {
  position: relative;
  display: flex;
  min-height: clamp(620px, 80vh, 760px);
  align-items: center;
  overflow: hidden;
  padding-block: clamp(110px, 12vw, 140px) clamp(48px, 6vw, 70px);
  background: #05070d;
  color: #ffffff;
}

.ind-hero-bg-img,
.ind-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.ind-hero-bg-img { z-index: 1; object-fit: cover; object-position: center; }
.ind-hero-overlay { z-index: 2; background: linear-gradient(90deg, rgba(5, 7, 13, .95), rgba(5, 7, 13, .78) 48%, rgba(5, 7, 13, .42)); }
.ind-hero-content { position: relative; z-index: 3; width: min(46vw, 680px); max-width: 680px; min-width: 0; }

.ind-hero-title { max-width: 680px; margin: 0; color: #ffffff; font-family: var(--font-display, Inter, Arial, sans-serif); font-size: clamp(2.35rem, 3.05vw, 3.25rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.12; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); text-wrap: balance; }
.ind-hero-lead { max-width: 760px; margin: 22px 0 28px; color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.65; }

/* Match the homepage's staged left-to-right entrance for the industry hero. */
.ind-hero-title.reveal-left { animation: introTitleFromLeft 900ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.ind-hero-lead.reveal-left { animation: introTitleFromLeft 900ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.ind-hero-cta.reveal-left { animation: introTitleFromLeft 900ms 220ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.ind-stats-row.reveal-left { animation: introTitleFromLeft 900ms 320ms cubic-bezier(0.16, 1, 0.3, 1) both; }

.ind-hero-cta,
.ind-cta-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  max-width: 250px;
  min-height: 0;
  padding: 8px 12px;
  overflow: hidden;
  border: 0;
  border-radius: 9999px;
  background: #242eed;
  color: #ffffff;
  font-family: var(--font-sans, Inter, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(36, 46, 237, 0.3);
  transition: color 300ms ease, box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms ease;
}

.ind-hero-cta::before,
.ind-cta-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #ffbd23;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ind-hero-cta > span,
.ind-cta-link > span {
  position: relative;
  z-index: 1;
}

.ind-hero-cta span[aria-hidden="true"],
.ind-cta-link span[aria-hidden="true"] {
  font-size: 1.35em;
  line-height: 1;
}

@media (min-width: 768px) {
  .ind-hero-cta,
  .ind-cta-link {
    min-width: 280px;
    max-width: none;
    padding: 12px 24px;
    font-size: 1rem;
  }
}

.ind-hero-cta:hover,
.ind-cta-link:hover {
  background: #242eed;
  color: #0b1220;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(255, 189, 35, 0.42);
}

.ind-hero-cta:hover::before,
.ind-cta-link:hover::before {
  transform: scaleX(1);
}

.ind-hero-cta:active,
.ind-cta-link:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 0 20px rgba(255, 189, 35, 0.45);
}

.ind-hero-cta:focus-visible,
.ind-cta-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.ind-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  animation: introTitleFromLeft 900ms 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ind-stat.stat-item,
.ind-stat {
  min-width: 0;
  padding: 0;
  border-left: 0;
}

.ind-stat.stat-item:hover,
.ind-stat:hover {
  transform: none;
}

.ind-stat-number.stat-number,
.ind-stat-number {
  display: block;
  margin: 0 0 5px;
  color: #3b82f6;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.ind-stat:nth-child(1) .ind-stat-number,
.ind-stat-number[data-tone="blue"] {
  color: #3b82f6 !important;
}

.ind-stat:nth-child(2) .ind-stat-number,
.ind-stat-number[data-tone="gold"] {
  color: #f2b827 !important;
}

.ind-stat:nth-child(3) .ind-stat-number,
.ind-stat-number[data-tone="white"] {
  color: #ffffff !important;
}

.ind-stat:nth-child(4) .ind-stat-number,
.ind-stat-number[data-tone="green"] {
  color: #00d49a !important;
}

.ind-stat-number.stat-number.counting,
.ind-stat-number.counting {
  text-shadow: none;
}

.ind-stat-label {
  display: block;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.56rem, 0.68vw, 0.68rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Reference blue label directly below the hero */
.ind-section--lead { padding-block: clamp(48px, 5vw, 64px) clamp(18px, 2vw, 28px); }
.ind-section--lead .ind-container { max-width: 1500px; }
.ind-lead-banner { display: flex; min-height: 134px; align-items: center; width: 100%; max-width: 1375px; margin: 0 auto; padding: clamp(24px, 2.2vw, 34px) clamp(28px, 3.2vw, 46px); border-radius: 24px; background: linear-gradient(98deg, #1b3bbb 0%, #2563eb 48%, #0d1e4c 78%, #040918 100%); box-shadow: 0 14px 34px rgba(29, 78, 216, .22); }
.ind-lead-banner-text { max-width: 1300px; color: #ffffff; font-family: var(--font-display, Inter, Arial, sans-serif); font-size: clamp(1.25rem, 1.7vw, 1.75rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.38; }
.ind-lead-banner-enterprises { display: block; }

.ind-value-section { padding-top: clamp(20px, 2.5vw, 34px); }
.ind-value-section .ind-section-heading { max-width: 1200px; }
.ind-value-section .ind-heading { max-width: 1250px; font-size: clamp(2rem, 3vw, 2.85rem); line-height: 1.12; letter-spacing: -0.035em; }

/* Value section: 6 Core Capabilities */
.ind-section-heading { max-width: 880px; }
.ind-kicker { display: inline-block; margin-bottom: 11px; color: var(--ind-blue); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ind-heading { margin: 0; color: #0f172a; font-family: var(--font-display, Inter, Arial, sans-serif); font-size: clamp(2rem, 3.2vw, 2.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; }
.ind-copy { max-width: 780px; margin: 16px 0 0; color: var(--ind-muted); font-size: clamp(0.96rem, 1.1vw, 1.05rem); line-height: 1.62; }
.ind-value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(26px, 4vw, 54px); row-gap: 36px; margin-top: 44px; }
.ind-value-card { position: relative; min-height: 112px; padding: 4px 0 6px 24px; border: 0; border-left: 3.5px solid #2563eb; border-image: linear-gradient(180deg, #ef4444 0%, #2563eb 100%) 1; border-radius: 0; background: transparent; box-shadow: none; display: flex; flex-direction: column; justify-content: flex-start; transition: transform 0.2s ease; }
.ind-value-card:hover { transform: translateX(4px); }
.ind-value-card h3 { margin: 0 0 10px; color: #2563eb; font-size: clamp(1.3rem, 1.65vw, 1.65rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.22; }
.ind-value-card p { margin: 0; color: #1e293b; font-size: clamp(.88rem, .96vw, .96rem); line-height: 1.6; max-width: 44ch; }

/* Solutions Section: Interactive Capabilities & Architecture */
.ind-section--dark .ind-heading { color: #ffffff; }
.ind-section--dark .ind-kicker { color: var(--ind-gold); }
.ind-section--dark .ind-copy { color: #a6b0bf; }
.ind-solutions-layout { display: grid; grid-template-columns: minmax(240px, .36fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 44px; align-items: start; }
.ind-tabs { display: flex; flex-direction: column; gap: 10px; }
.ind-tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); color: #cbd5e1; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 700; text-align: left; transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease; }
.ind-tab-num { color: var(--ind-gold, #ffbd23); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.ind-tab-title { flex: 1; }
.ind-tab-arrow { opacity: .5; transition: transform .2s ease, opacity .2s ease; }
.ind-tab:hover, .ind-tab:focus-visible { border-color: rgba(255,189,35,.75); color: #ffffff; background: rgba(255,255,255,.08); transform: translateX(3px); }
.ind-tab:hover .ind-tab-arrow, .ind-tab.is-active .ind-tab-arrow { opacity: 1; transform: translateX(3px); }
.ind-tab.is-active { border-color: var(--ind-blue); background: var(--ind-blue); color: #ffffff; }

.ind-solution-panel { display: none; }
.ind-solution-panel.is-active {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  animation: indPanelIn 420ms cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes indPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.ind-solution-kicker { display: inline-block; color: var(--ind-gold, #ffbd23); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.ind-solution-body h3 { margin: 0 0 14px; color: #ffffff; font-family: var(--font-display, Inter, Arial, sans-serif); font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.18; letter-spacing: -.025em; }
.ind-solution-body p { margin: 0; color: #a6b0bf; font-size: clamp(.88rem, .95vw, .95rem); line-height: 1.68; }
.ind-solution-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.ind-solution-tags span { display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.05); color: #f1f5f9; font-size: .78rem; font-weight: 600; }
.ind-solution-media-wrapper { width: 100%; }
.ind-solution-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 380px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  padding: 10px;
  box-sizing: border-box;
  display: block;
}

/* Section 5: 3-Stage Delivery Journey ("How We Engage") */
.ind-journey-section { margin-bottom: clamp(52px, 6vw, 76px); }
.ind-journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: 36px; }
.ind-journey-step { position: relative; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--ind-line); border-radius: 16px; background: #ffffff; box-shadow: 0 4px 18px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ind-journey-step:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(37,99,235,0.1); }
.ind-journey-num { display: inline-block; color: var(--ind-blue); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 10px; }
.ind-journey-step h3 { margin: 0 0 12px; color: #0f172a; font-size: clamp(1.2rem, 1.5vw, 1.45rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.ind-journey-step p { margin: 0 0 18px; color: var(--ind-muted); font-size: 0.92rem; line-height: 1.6; }
.ind-journey-deliverables { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ind-line); display: flex; flex-wrap: wrap; gap: 6px; }
.ind-journey-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ind-soft); color: #1e293b; font-size: 0.76rem; font-weight: 600; }

/* Case study and FAQ */
.ind-case-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: clamp(32px, 6vw, 84px); align-items: start; }
.ind-case-card { padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: linear-gradient(135deg, #0b1220 0%, #172a52 100%); color: #ffffff; box-shadow: 0 18px 44px rgba(5, 7, 13, .2); }
.ind-case-card .ind-kicker { color: var(--ind-gold); }
.ind-case-card h2 { margin: 0; font-family: var(--font-display, Inter, Arial, sans-serif); font-size: clamp(1.8rem, 2.7vw, 2.5rem); letter-spacing: -.035em; line-height: 1.15; }
.ind-case-card p { margin: 16px 0 0; color: #c1ccdc; font-size: clamp(.92rem, 1vw, 1rem); line-height: 1.65; }
.ind-case-card ul { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.ind-case-card li { position: relative; padding-left: 22px; color: #e7edf6; font-size: clamp(.88rem, .95vw, .95rem); line-height: 1.45; }
.ind-case-card li::before { position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--ind-gold); content: ''; }
.ind-faq-list { display: grid; gap: 12px; }
.ind-faq { overflow: hidden; border: 1px solid var(--ind-line); border-radius: 12px; background: #ffffff; transition: border-color .2s ease, box-shadow .2s ease; }
.ind-faq:hover { border-color: var(--ind-blue); box-shadow: 0 4px 14px rgba(37,99,235,0.06); }
.ind-faq button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 22px; border: 0; background: transparent; color: #0f172a; cursor: pointer; font: inherit; font-size: .95rem; font-weight: 700; text-align: left; }
.ind-faq button span:last-child { color: var(--ind-blue); font-size: 1.35rem; font-weight: 400; transition: transform .2s ease; }
.ind-faq.is-open button span:last-child { transform: rotate(45deg); color: #ef4444; }
.ind-faq-answer { display: none; margin: 0; padding: 0 22px 20px; color: var(--ind-muted); font-size: .92rem; line-height: 1.65; }
.ind-faq.is-open .ind-faq-answer { display: block; }

@media (max-width: 960px) {
  .ind-solutions-layout, .ind-case-layout { grid-template-columns: 1fr; }
  .ind-solution-panel.is-active { grid-template-columns: 1fr; }
  .ind-journey-grid { grid-template-columns: 1fr; }
  .ind-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .ind-hero-banner { min-height: auto; padding-top: 120px; }
  .ind-hero-content { width: 100%; max-width: 340px; }
  .ind-hero-title { max-width: 13ch; font-size: clamp(1.85rem, 9vw, 2.3rem); line-height: 1.1; }
  .ind-hero-cta, .ind-cta-link { width: 100%; }
  .ind-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; gap: 14px 18px; margin-top: 18px; }
  .ind-stat-number.stat-number, .ind-stat-number { font-size: 1.4rem; }
  .ind-stat-label { font-size: 0.56rem; }
  .ind-section--lead { padding-block: clamp(42px, 8vw, 52px) 18px; }
  .ind-value-section { padding-top: 24px; }
  .ind-lead-banner { min-height: 112px; padding: 22px 24px; border-radius: 18px; }
  .ind-lead-banner-text { max-width: 100%; font-size: clamp(1.05rem, 5vw, 1.35rem); }
  .ind-value-grid, .ind-tabs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ind-hero-title.reveal-left,
  .ind-hero-lead.reveal-left,
  .ind-hero-cta.reveal-left,
  .ind-stats-row.reveal-left { animation: none; }
}
