/* ─────────────────────────────────────────────────────────────────────────────
   industries.css — Industries page styles
   Pixel-faithful translation of Figma node 4:126 (Industries page)
   ───────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --primary:         #076476;
  --primary-dark:    #054e5c;
  --primary-deep:    #004b59;
  /* Text */
  --text-heading:    #0f172a;
  --text-body:       #64748b;
  --text-secondary:  #555f6f;
  --text-muted:      #94a3b8;
  --white:           #ffffff;
  /* Backgrounds */
  --bg-hero-overlay: rgba(0, 0, 0, 0.3);
  --bg-section:      #f1f5f9;
  --bg-card:         #f9fafb;
  --bg-icon:         #f8fafc;
  /* Borders */
  --border-nav:      #f3f4f6;
  --border-card:     rgba(0, 0, 0, 0);
  /* Accent */
  --accent-light:    #97def3;
  /* Fonts */
  --font-display:    'Manrope', sans-serif;
  --font-body:       'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── HEADER ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border-nav);
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--primary); }

.nav-link--active {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  list-style: none;
  flex-direction: column;
  padding: 8px 32px 16px;
  border-bottom: 1px solid var(--border-nav);
  background: var(--white);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid var(--border-nav);
}

.nav-mobile li:last-child a { border-bottom: none; }
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile a[aria-current="page"] { color: var(--primary); font-weight: 700; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  position: absolute;
  top: -22.67%;
  left: 0;
  width: 100%;
  height: 213.33%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-hero-overlay);
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 672px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-heading {
  font-size: 60px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.025em;
}

.hero-sub {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  padding-bottom: 16px;
}

.btn-hero {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 16px 40px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  transition: background 0.15s, transform 0.1s;
  align-self: flex-start;
}

.btn-hero:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ─── SECTION HEADER ─────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.55;
  max-width: 672px;
  margin: 0 auto;
}

/* ─── TRANSFORM / CAPABILITIES SECTION ───────────────────────────────────── */

.transform-section {
  background: var(--white);
  padding: 96px 0;
}

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

.capability-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.capability-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.capability-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.capability-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  margin-bottom: 8px;
}

.capability-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.625;
}

/* ─── INDUSTRIES SECTION ─────────────────────────────────────────────────── */

.industries-section {
  background: var(--bg-section);
  padding: 96px 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  transition: box-shadow 0.2s, transform 0.15s;
}

.industry-card:hover {
  box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.industry-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-icon);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.industry-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.industry-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.5;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-inner { display: flex; flex-direction: column; gap: 48px; }

.footer-top {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  display: block;
}

.btn-primary {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-deep);
  background: var(--white);
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
  width: fit-content;
}

.btn-primary:hover { background: var(--accent-light); }

.footer-links {
  display: flex;
  gap: 64px;
  flex: 1;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal a:hover { color: var(--white); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { height: auto; min-height: 480px; padding: 80px 0; }
  .hero-img { top: 0; height: 100%; }
  .hero-heading { font-size: 40px; }
  .hero-sub { font-size: 17px; }

  .transform-section { padding: 64px 0; }
  .industries-section { padding: 64px 0; }

  .section-heading { font-size: 28px; }
  .section-sub { font-size: 16px; }
  .section-header { margin-bottom: 48px; }
}

@media (max-width: 640px) {
  .capabilities-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-heading { font-size: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .industries-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
}
