:root {
  --navy: #06244a;
  --deep: #03152d;
  --blue: #084a9b;
  --teal: #13b9b1;
  --orange: #f7941d;
  --light: #f4f8fb;
  --text: #12223b;
  --muted: #65758b;
  --white: #ffffff;
  --border: #dbe5ef;
  --shadow: 0 14px 34px rgba(6, 36, 74, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

body,
button,
input,
select,
textarea {
  font: 16px/1.6 Arial, Helvetica, sans-serif;
}

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 360px;
  min-width: 0;
}

.logo-image {
  width: clamp(230px, 27vw, 350px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--orange);
}

.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px !important;
  color: var(--white) !important;
  background: var(--navy);
  border-radius: 8px;
}

.nav-cta.active,
.nav-cta:hover {
  background: var(--orange);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero,
.page-hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(2, 22, 47, 0.97), rgba(6, 36, 74, 0.84)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1700&q=82") center/cover;
}

.hero-home {
  min-height: 610px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding: 86px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.8vw, 64px);
  line-height: 1.06;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: #dbeaf5;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn,
.contact-form button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.primary {
  color: var(--white);
  background: var(--teal);
}

.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.hero-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
}

.hero-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.hero-card li {
  margin: 9px 0;
}

.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-heading {
  padding-top: 24px;
  text-align: center;
}

.stats-heading .eyebrow {
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats-grid div {
  min-height: 154px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 24px;
  border-right: 1px solid var(--border);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-icon {
  display: block;
  color: var(--orange);
  font-size: 30px;
  line-height: 1;
}

.stats-grid strong {
  display: block;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.1;
}

.stats-grid span {
  color: var(--muted);
}

.page-hero {
  min-height: 360px;
  display: grid;
  align-items: center;
}

.page-hero-content {
  padding: 78px 0;
}

.services-hero {
  background:
    linear-gradient(120deg, rgba(2, 22, 47, 0.97), rgba(6, 36, 74, 0.82)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1700&q=82") center/cover;
}

.industries-hero {
  background:
    linear-gradient(120deg, rgba(2, 22, 47, 0.97), rgba(6, 36, 74, 0.82)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1700&q=82") center/cover;
}

.process-hero {
  background:
    linear-gradient(120deg, rgba(2, 22, 47, 0.97), rgba(6, 36, 74, 0.82)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1700&q=82") center/cover;
}

.cases-hero,
.contact-hero {
  background:
    linear-gradient(120deg, rgba(2, 22, 47, 0.97), rgba(6, 36, 74, 0.82)),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1700&q=82") center/cover;
}

.section {
  padding: 78px 0;
}

.section-light {
  background: var(--light);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split h2,
.cta-strip h2,
.contact-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p:not(.eyebrow),
.split p,
.contact-panel p {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card,
.service-card,
.case-card,
.industry-grid article,
.process-list article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(6, 36, 74, 0.05);
}

.feature-card,
.service-card,
.industry-grid article,
.process-list article {
  padding: 24px;
}

.feature-card span,
.service-card span,
.process-list strong {
  color: var(--orange);
  font-weight: 900;
}

.feature-card h3,
.service-card h2,
.industry-grid h2,
.process-list h2,
.case-card h2 {
  margin: 12px 0 8px;
  color: var(--navy);
  line-height: 1.2;
}

.feature-card p,
.service-card p,
.industry-grid p,
.process-list p,
.case-card p {
  color: var(--muted);
}

.feature-card a {
  color: var(--blue);
  font-weight: 900;
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.case-card {
  min-height: 290px;
  padding: 28px;
}

.case-card > p:first-child {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card span {
  display: block;
  margin: 16px 0;
  color: var(--teal);
  font-size: 20px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal);
}

.cta-strip {
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--navy));
  padding: 62px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-strip h2 {
  color: var(--white);
  max-width: 760px;
}

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

.contact-panel {
  padding: 32px;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--navy));
  border-radius: 8px;
}

.contact-panel h2,
.contact-panel p {
  color: var(--white);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 900;
}

.contact-details a:hover {
  color: var(--orange);
}

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

.opening-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.opening-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 24px;
}

.job-location {
  margin: -4px 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.opening-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 19px;
  color: var(--muted);
}

.opening-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 900;
}

.opening-card a:hover {
  color: var(--orange);
}

.job-type {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label,
.contact-form .full {
  display: grid;
  gap: 7px;
}

.contact-form .full,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.contact-form small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-form textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(19, 185, 177, 0.2);
  border-color: var(--teal);
}

.contact-form button {
  color: var(--white);
  background: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 900;
}

.admin-shell {
  padding: 42px 0;
  background: var(--soft);
}

.admin-toolbar,
.admin-card,
.admin-login {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-toolbar h1,
.admin-card h2,
.admin-card h3 {
  margin: 0;
  color: var(--navy);
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-card {
  display: grid;
  gap: 16px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions button,
.admin-actions a,
.admin-toolbar a,
.admin-toolbar button {
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.admin-actions button,
.admin-toolbar button {
  color: var(--white);
  background: var(--teal);
}

.admin-actions .danger {
  background: #b42318;
}

.admin-actions a,
.admin-toolbar a {
  color: var(--navy);
  background: var(--soft);
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.unpublished {
  background: var(--muted);
}

.admin-message {
  margin: 0 0 18px;
  padding: 12px 14px;
  color: var(--navy);
  background: #e8f7f6;
  border: 1px solid rgba(19, 185, 177, 0.35);
  border-radius: 8px;
  font-weight: 900;
}

.admin-login {
  width: min(520px, calc(100% - 32px));
  margin: 70px auto;
}

.footer {
  color: var(--white);
  background: var(--deep);
  padding: 44px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo-image {
  width: min(420px, 100%);
  padding: 10px 14px;
  background: var(--white);
}

.footer h3 {
  margin: 0 0 12px;
}

.footer a {
  display: block;
  margin: 7px 0;
  color: #b7c4d4;
}

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

.copyright {
  width: min(1180px, calc(100% - 48px));
  margin: 30px auto 0;
  padding-top: 18px;
  color: #b7c4d4;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

@media (max-width: 1060px) {
  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

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

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

@media (max-width: 860px) {
  .container,
  .copyright {
    width: min(100% - 32px, 1180px);
  }

  .nav-wrap {
    min-height: 76px;
  }

  .logo {
    max-width: calc(100% - 58px);
  }

  .logo-image {
    width: min(230px, 62vw);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-grid,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .case-grid,
  .opening-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-strip-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body,
  button,
  input,
  select,
  textarea {
    font-size: 15px;
  }

  .hero-grid,
  .page-hero-content {
    padding: 58px 0;
  }

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

  .section {
    padding: 58px 0;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .feature-grid,
  .service-grid,
  .industry-grid,
  .process-list,
  .case-grid,
  .opening-grid,
  .stats-grid,
  .check-list,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stats-grid div:last-child {
    border-bottom: 0;
  }
}
