:root {
  --primary: #f08b2f;
  --primary-dark: #cf6c16;
  --navy: #14243c;
  --text: #20242b;
  --muted: #656d78;
  --line: #e9edf2;
  --white: #ffffff;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text span:first-child {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-text span:last-child {
  font-size: 0.98rem;
  font-weight: 700;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.9rem;
  color: #3d4653;
  min-width: 0;
}

.nav a {
  padding: 27px 0 24px;
  position: relative;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

.header-phone {
  background: linear-gradient(180deg, #ffa54e, #e17c1f);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(240, 139, 47, 0.24);
}

/* Page Heading */
.section-heading {
  text-align: center;
  margin: 30px 0;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Industries Grid */
.industries {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.industry-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-dark);
  border-left: 4px solid var(--primary-dark);
  padding-left: 10px;
}

.industry-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #1b2d49 0%, #132136 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.8fr;
  gap: 28px;
}

.footer-logo .logo-text span:first-child,
.footer-logo .logo-text span:last-child {
  color: var(--white);
}

.footer-copy {
  max-width: 340px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 6px 0 14px;
  color: var(--white);
  font-size: 1.06rem;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.76);
}

/* ===========================
   Responsive Media Queries
   =========================== */

/* Large desktops (≥1200px) */
@media (max-width: 1200px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }
  .header-phone {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Tablets & small laptops (≤992px) */
@media (max-width: 992px) {
  .header-inner,
  .hero-grid,
  .expertise-layout,
  .industries,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 20px;
    padding-bottom: 16px;
  }

  .industry-card {
    padding: 20px;
  }
}

/* Tablets portrait (≤768px) */
@media (max-width: 768px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    position: static;
  }

  .logo {
    gap: 8px;
  }

  .logo-image {
    width: 44px;
    height: 44px;
  }

  .logo-text span:first-child {
    font-size: 1rem;
  }

  .logo-text span:last-child {
    font-size: 0.82rem;
  }

  .industry-card h2 {
    font-size: 1.1rem;
  }
}

/* Mobile phones (≤576px) */
@media (max-width: 576px) {
  .nav {
    overflow-x: auto;
    white-space: nowrap;
    gap: 12px;
    padding-bottom: 6px;
  }

  .industry-card {
    padding: 16px;
  }

  .industry-card h2 {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: 1.6rem;
  }

  .section-heading p {
    font-size: 0.86rem;
  }
}
