@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* =========================================
   DESIGN TOKENS
========================================= */
:root {
  /* Colors */
  --color-brand: #1572ff;
  --color-brand-dark: #0a52cc;
  --color-dark: #07162f;
  --color-dark-deep: #030c1e;
  --color-dark-nav: #04101e;
  --color-surface: #f5f8fd;
  --color-border: #e2e8f2;
  --color-border-dark: #dce5f0;
  --color-text: #07162f;
  --color-text-muted: #52637d;
  --color-text-light: #8aaad4;
  --color-white: #ffffff;

  /* Header heights */
  --header-h: 76px;
  --header-h-md: 66px;

  /* Spacing scale */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-28: 28px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-56: 56px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-100: 100px;
  --sp-120: 120px;

  /* Typography scale */
  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 17px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --fs-2xl: 32px;
  --fs-3xl: 40px;
  --fs-4xl: 46px;
  --fs-5xl: 58px;
  --fs-6xl: 64px;

  /* Container */
  --container-max: 1280px;
  --container-px: 60px;
}

/* =========================================
   RESET & BASE
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
  font-size: var(--fs-base);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* Heading normalization */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
}

/* =========================================
   LAYOUT
========================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* =========================================
   SECTION SPACING SYSTEM
========================================= */
.section {
  padding: var(--sp-100) 0;
}

.section-sm {
  padding: 72px 0;
}

.section-lg {
  padding: var(--sp-120) 0;
}

/* =========================================
   SECTION TYPOGRAPHY
========================================= */
.section-label {
  font-size: var(--fs-xs);
  letter-spacing: 4px;
  color: var(--color-brand);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--sp-16);
  display: block;
}

.section-title {
  font-size: var(--fs-4xl);
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: var(--sp-20);
}

.section-subtitle {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 580px;
}

.section-head {
  margin-bottom: var(--sp-64);
}

.section-head-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--sp-80);
  align-items: end;
  margin-bottom: var(--sp-64);
}

/* Eyebrow — same as section-label, kept for markup compat */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 4px;
  color: var(--color-brand);
  font-weight: 700;
  margin-bottom: var(--sp-24);
  text-transform: uppercase;
}

/* =========================================
   HOMEPAGE HERO
========================================= */
.hero {
  width: 100%;
  min-height: 100vh;
  background:
    linear-gradient(105deg,
      rgba(2, 10, 28, 0.97) 0%,
      rgba(2, 10, 28, 0.90) 38%,
      rgba(2, 10, 28, 0.55) 65%,
      rgba(2, 10, 28, 0.15) 100%),
    url("../images/tgi-one.png") center right / cover no-repeat;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
}

/* Decorative grid overlay */
.hero-grid-deco {
  position: absolute;
  right: 40px;
  top: 80px;
  width: 600px;
  height: 560px;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(69, 170, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 170, 255, 0.5) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0;
}

.hero h1 {
  font-size: var(--fs-6xl);
  line-height: 1.05;
  letter-spacing: -2.5px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--sp-24);
}

.hero p.lead {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: #c8daf5;
  max-width: 520px;
  margin-bottom: var(--sp-40);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: var(--sp-16);
  flex-wrap: wrap;
}

/* Stats panel on hero */
.hero-panel {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-44%);
  width: 300px;
  z-index: 3;
}

.hero-panel-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 28, 58, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 68px;
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background 0.2s;
}

.hero-panel-item:hover {
  background: rgba(21, 114, 255, 0.18);
}

.hero-panel-item .panel-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #5aadff;
}

.scroll-hint {
  position: absolute;
  left: var(--container-px);
  bottom: 36px;
  font-size: 10px;
  letter-spacing: 3px;
  color: #7faad6;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 4;
}

/* =========================================
   INNER PAGE HERO (All non-home pages)
========================================= */
.page-hero {
  width: 100%;
  background:
    linear-gradient(105deg,
      rgba(2, 10, 28, 0.97) 0%,
      rgba(2, 10, 28, 0.88) 42%,
      rgba(2, 10, 28, 0.55) 70%,
      rgba(2, 10, 28, 0.2) 100%),
    var(--hero-bg, url("../images/tgi-one.png")) center center / cover no-repeat;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  padding-bottom: 72px;
  position: relative;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  margin-top: 20px;
}

.page-hero h1 {
  font-size: var(--fs-5xl);
  line-height: 1.06;
  letter-spacing: -2px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--sp-20);
}

.page-hero .lead {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: #c8daf5;
  max-width: 600px;
  font-weight: 400;
}

.page-hero .eyebrow {
  color: var(--color-brand);
  margin-bottom: var(--sp-20);
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: var(--color-brand);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--color-brand-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-blue-outline {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  border: 1.5px solid var(--color-brand);
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-blue-outline:hover {
  background: var(--color-brand);
  color: var(--color-white);
}

/* =========================================
   SERVICES CARDS (Home)
========================================= */
.services-section {
  background: var(--color-white);
  padding: var(--sp-80) 0 90px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.service-card {
  background: var(--color-white);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: background 0.2s;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: #fafcff;
}

.service-icon {
  font-size: 24px;
  color: var(--color-brand);
  margin-bottom: var(--sp-20);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  border-radius: 8px;
}

.service-card h3 {
  font-size: var(--fs-base);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.service-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  flex: 1;
}

.service-card .card-link {
  margin-top: 18px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--color-brand);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.service-card:hover .card-link {
  gap: 8px;
}

/* =========================================
   AI / DARK FEATURE SECTION
========================================= */
.ai-feature-section {
  background:
    linear-gradient(105deg, rgba(3, 12, 32, 0.97) 0%, rgba(3, 12, 32, 0.85) 50%, rgba(3, 12, 32, 0.5) 100%),
    url("../images/tgione-ai.png") center / cover no-repeat;
  color: var(--color-white);
  padding: var(--sp-120) 0;
  position: relative;
  overflow: hidden;
}

.ai-feature-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--sp-80);
  align-items: center;
}

.ai-feature-left .section-title {
  color: var(--color-white);
}

.ai-feature-left .section-subtitle {
  color: #c0d4ef;
  margin-bottom: 36px;
}

.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--sp-40);
}

.ai-tag {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
  font-weight: 600;
  color: #c0d4ef;
  letter-spacing: 0.3px;
}

.ai-stats-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.ai-stat-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: var(--sp-20);
}

.ai-stat-row:last-child {
  border-bottom: none;
}

.ai-stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  flex-shrink: 0;
  width: 90px;
}

.ai-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
}

.ai-stat-sub {
  font-size: 12px;
  color: #7faad6;
  margin-top: 3px;
}

/* =========================================
   INDUSTRIES SECTION
========================================= */
.industries-section {
  background: var(--color-white);
  padding: var(--sp-100) 0;
}

.industries-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--sp-80);
  align-items: start;
}

.industry-list {
  border-top: 1px solid var(--color-border-dark);
}

.industry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border-dark);
  text-decoration: none;
  color: var(--color-dark);
  transition: padding-left 0.2s;
}

.industry-row:hover {
  padding-left: 12px;
  color: var(--color-brand);
}

.industry-row span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.industry-row .ind-arrow {
  font-size: 18px;
  color: var(--color-brand);
  transition: transform 0.2s;
}

.industry-row:hover .ind-arrow {
  transform: translateX(6px);
}

/* =========================================
   ABOUT / STATS STRIP
========================================= */
.about-strip {
  background: var(--color-surface);
  padding: var(--sp-80) 0;
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-80);
  align-items: center;
}

.about-text .section-title {
  font-size: 38px;
}

.about-text p {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-top: var(--sp-16);
}

.about-text .btn-blue-outline {
  margin-top: var(--sp-32);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border-dark);
  border: 1px solid var(--color-border-dark);
}

.stat-cell {
  background: var(--color-white);
  padding: 32px 28px;
}

.stat-cell strong {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -1.5px;
  line-height: 1;
}

.stat-cell em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* =========================================
   CTA BANNER
========================================= */
.cta-banner {
  background: var(--color-dark);
  padding: var(--sp-80) 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-40);
}

.cta-banner h2 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--color-white);
  line-height: 1.1;
}

.cta-banner p {
  font-size: var(--fs-base);
  color: #8aaad4;
  margin-top: 10px;
  max-width: 460px;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* =========================================
   CAPABILITY CARDS (Inner pages)
========================================= */
.capability-section {
  background: var(--color-white);
  padding: var(--sp-100) 0;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cap-card {
  border: 1px solid var(--color-border);
  padding: 38px 32px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
  min-height: 240px;
  background: var(--color-white);
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--color-brand);
}

.cap-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 48px;
  background: var(--color-brand);
}

.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.cap-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.cap-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* =========================================
   PROCESS STEPS
========================================= */
.process-section {
  background: #041329;
  color: var(--color-white);
  padding: var(--sp-100) 0;
}

.process-section .section-title {
  color: var(--color-white);
}

.process-section .section-subtitle {
  color: var(--color-text-light);
}

.process-section .section-head {
  margin-bottom: var(--sp-56);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-20);
}

.process-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 32px 26px;
}

.process-num {
  font-size: var(--fs-xs);
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: var(--sp-24);
}

.process-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.process-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* =========================================
   SOLUTIONS CTA (inner pages bottom)
========================================= */
.solution-cta {
  background: var(--color-surface);
  padding: var(--sp-80) 0;
}

.solution-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-48);
}

.solution-cta h2 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--color-dark);
  line-height: 1.1;
}

.solution-cta p {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  margin-top: 10px;
  line-height: 1.7;
}

/* =========================================
   CONTENT SECTION (Simple text pages)
========================================= */
.content-section {
  padding: var(--sp-100) 0;
  background: var(--color-white);
}

.content-section-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-80);
  align-items: start;
}

.content-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.content-sidebar-nav {
  border-left: 2px solid var(--color-border);
  padding-left: var(--sp-20);
}

.content-sidebar-nav a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
  line-height: 1.4;
}

.content-sidebar-nav a:hover {
  color: var(--color-brand);
}

/* Rich text content body */
.content-body h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: var(--sp-16);
  margin-top: var(--sp-56);
  padding-top: var(--sp-56);
  border-top: 1px solid var(--color-border);
}

.content-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-body h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--sp-12);
  margin-top: var(--sp-32);
}

.content-body p {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-16);
}

.content-body p:last-child {
  margin-bottom: 0;
}

.content-body ul,
.content-body ol {
  margin: var(--sp-16) 0 var(--sp-24) var(--sp-20);
}

.content-body ul li {
  list-style: disc;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-8);
}

.content-body ol li {
  list-style: decimal;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-8);
}

.content-body strong {
  color: var(--color-dark);
  font-weight: 600;
}

.content-body a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-body a:hover {
  color: var(--color-brand-dark);
}

/* =========================================
   CONTACT PAGE
========================================= */
.contact-section {
  padding: var(--sp-100) 0;
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-block {
  padding: 48px 44px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.contact-info-block h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.8px;
  margin-bottom: var(--sp-24);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}

.contact-detail-item {
  display: flex;
  gap: var(--sp-16);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: #eef4ff;
  border: 1px solid #d6e6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--color-brand);
}

/* ---- Breadcrumbs (Corporate Style) ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.breadcrumb li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb li a:hover {
  color: #fff;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb li.active {
  color: #1572ff;
}

.contact-detail-text strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 4px;
}

.contact-detail-text span {
  display: block;
  font-size: var(--fs-base);
  color: var(--color-dark);
  font-weight: 500;
  line-height: 1.5;
}

.contact-assurance {
  margin-top: var(--sp-40);
  padding-top: var(--sp-32);
  border-top: 1px solid var(--color-border);
}

.contact-assurance p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.contact-form-block {
  padding: 48px 44px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.contact-form-block h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.contact-form-block p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-32);
  line-height: 1.6;
}

.form-group {
  margin-bottom: var(--sp-20);
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark);
  font-size: var(--fs-base);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group textarea {
  height: 130px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(21, 114, 255, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

.form-submit {
  margin-top: var(--sp-8);
}

.form-submit .btn-primary {
  width: 100%;
  justify-content: center;
  height: 52px;
  font-size: 13px;
  letter-spacing: 0.8px;
}

/* =========================================
   CASE STUDIES PAGE
========================================= */
.case-studies-section {
  padding: var(--sp-100) 0;
  background: var(--color-white);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.case-card-header {
  background: var(--color-dark);
  padding: 36px 32px 28px;
  position: relative;
  overflow: hidden;
}

.case-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-brand);
}

.case-card-sector {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-brand);
  display: block;
  margin-bottom: var(--sp-16);
}

.case-card-icon {
  font-size: 40px;
  line-height: 1;
  display: block;
}

.case-card-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--sp-12);
  line-height: 1.25;
}

.case-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  flex: 1;
}

.case-card-metric {
  margin-top: var(--sp-24);
  padding-top: var(--sp-20);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

.case-metric-num {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-brand);
  letter-spacing: -1px;
  line-height: 1;
}

.case-metric-label {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* =========================================
   SIMPLE INDUSTRY / SOLUTION PAGES
   (used on stub pages — healthcare, logistics etc.)
========================================= */
.intro-section {
  padding: var(--sp-100) 0;
  background: var(--color-white);
}

.intro-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--sp-80);
  align-items: start;
}

.intro-body p {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-20);
}

.intro-body p:last-child {
  margin-bottom: 0;
}

.feature-list {
  margin-top: var(--sp-28);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-16);
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--color-brand);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.feature-item-text strong {
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 3px;
}

.feature-item-text span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================================
   RESPONSIVE — 1440px
========================================= */
@media (max-width: 1440px) {
  :root {
    --container-px: 60px;
  }
}

/* =========================================
   RESPONSIVE — TABLET (max 1100px)
========================================= */
@media (max-width: 1100px) {
  :root {
    --container-px: 40px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .hero-panel {
    right: 40px;
    width: 260px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ai-feature-inner {
    grid-template-columns: 1fr 380px;
    gap: 56px;
  }

  .industries-layout {
    grid-template-columns: 280px 1fr;
    gap: 60px;
  }

  .section-head-split {
    grid-template-columns: 320px 1fr;
    gap: 60px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell strong {
    font-size: 36px;
  }

  .intro-inner {
    grid-template-columns: 300px 1fr;
    gap: 56px;
  }

  .content-section-inner {
    grid-template-columns: 220px 1fr;
    gap: 56px;
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    gap: 40px;
  }

  .contact-info-block,
  .contact-form-block {
    padding: 40px 36px;
  }
}

/* =========================================
   RESPONSIVE — MOBILE (max 768px)
========================================= */
@media (max-width: 768px) {
  :root {
    --container-px: 22px;
    --header-h: var(--header-h-md);
  }

  /* Hero */
  .hero-inner {
    padding-top: var(--header-h-md);
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .hero p.lead {
    font-size: var(--fs-base);
  }

  .hero-panel {
    display: none;
  }

  .hero-grid-deco {
    display: none;
  }

  .scroll-hint {
    display: none;
  }

  .hero-content {
    padding: 40px 0;
  }

  /* Page hero */
  .page-hero-inner {
    min-height: auto;
    padding-top: var(--header-h-md);
    padding-bottom: 52px;
  }

  .page-hero h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .page-hero .lead {
    font-size: var(--fs-base);
  }

  /* Sections */
  .section {
    padding: 64px 0;
  }

  .section-lg {
    padding: 80px 0;
  }

  .section-sm {
    padding: 52px 0;
  }

  .section-title {
    font-size: var(--fs-2xl);
    letter-spacing: -0.8px;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .section-head-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Services */
  .services-section {
    padding: 64px 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* AI section */
  .ai-feature-section {
    padding: 80px 0;
  }

  .ai-feature-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ai-stats-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ai-stat-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }

  .ai-stat-num {
    font-size: 32px;
  }

  /* Industries */
  .industries-section {
    padding: 64px 0;
  }

  .industries-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industry-row span {
    font-size: 18px;
  }

  /* About strip */
  .about-strip {
    padding: 64px 0;
  }

  .about-strip-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* CTA banner */
  .cta-banner {
    padding: 64px 0;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .cta-banner h2 {
    font-size: 30px;
  }

  .cta-banner-actions {
    flex-wrap: wrap;
  }

  /* Capabilities */
  .capability-section {
    padding: 64px 0;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-section {
    padding: 64px 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Solution CTA */
  .solution-cta {
    padding: 60px 0;
  }

  .solution-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .solution-cta h2 {
    font-size: 28px;
  }

  /* Buttons */
  .btn-primary,
  .btn-outline,
  .btn-blue-outline {
    height: 46px;
    padding: 0 24px;
  }

  .hero-ctas {
    gap: 12px;
  }

  /* Intro section */
  .intro-section {
    padding: 64px 0;
  }

  .intro-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Content section */
  .content-section {
    padding: 64px 0;
  }

  .content-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-sidebar {
    position: static;
  }

  /* Contact */
  .contact-section {
    padding: 64px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info-block,
  .contact-form-block {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Case studies */
  .case-studies-section {
    padding: 64px 0;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (max 480px)
========================================= */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .ai-stats-panel {
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}