:root {
  --color-navy: #0b1f3a;
  --color-navy-light: #132d52;
  --color-teal: #0891b2;
  --color-teal-dark: #0e7490;
  --color-accent: #22d3ee;
  --color-bg: #f4f7fb;
  --color-bg-alt: #e8eef5;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-white: #ffffff;
  --color-border: #cbd5e1;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1120px;
  --header-height: 72px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 31, 58, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-teal);
  text-decoration: none;
}

a:hover {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-white);
  line-height: 1.15;
}

.logo:hover {
  color: var(--color-white);
  text-decoration: none;
}

.logo-main {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  text-decoration: none;
}

.site-nav .nav-cta {
  background: var(--color-teal);
  color: var(--color-white);
  margin-left: 0.5rem;
}

.site-nav .nav-cta:hover {
  background: var(--color-teal-dark);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--color-white);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero--home {
  background-image: url("../images/hero-home.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero--home::before {
  background:
    linear-gradient(to right, rgba(11, 31, 58, 0.92) 0%, rgba(11, 31, 58, 0.78) 42%, rgba(11, 31, 58, 0.4) 72%, rgba(11, 31, 58, 0.25) 100%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(8, 145, 178, 0.15) 0%, transparent 45%);
}

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

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--color-white);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
}

.section-eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: var(--color-navy);
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background: rgba(8, 145, 178, 0.1);
  color: var(--color-teal);
  border-radius: var(--radius);
  font-size: 1.4rem;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: var(--color-navy);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.card ul li + li {
  margin-top: 0.35rem;
}

/* Sectors */
.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sector-tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--color-text);
}

/* CTA band */
.cta-band {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 auto 1.75rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Page header */
.page-header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.page-header--about,
.page-header--services {
  background-size: cover;
  background-position: center;
}

.page-header--about {
  background-image: url("../images/header-about.jpg");
}

.page-header--services {
  background-image: url("../images/header-services.jpg");
}

.page-header--about::before,
.page-header--services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 31, 58, 0.9) 0%,
    rgba(11, 31, 58, 0.75) 45%,
    rgba(11, 31, 58, 0.55) 100%
  );
  pointer-events: none;
}

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

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48rem;
}

/* Content blocks */
.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  color: var(--color-navy);
}

.content-block h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.1rem;
  color: var(--color-navy-light);
}

.content-block p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.content-block ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.content-block li {
  margin-bottom: 0.4rem;
}

.two-col {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.highlight-box {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-teal);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Service sections */
.service-category {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.service-category:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-category h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--color-navy);
}

.service-category > p {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
}

.service-items {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.service-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--color-navy);
}

.service-item ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.925rem;
  color: var(--color-text-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1.4fr;
}

.contact-info h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  color: var(--color-navy);
}

.contact-detail {
  margin-bottom: 1.25rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.contact-detail span,
.contact-detail a {
  font-size: 1.05rem;
  color: var(--color-text);
}

.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  color: var(--color-navy);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group label .required {
  color: #dc2626;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-error {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #991b1b;
  font-size: 0.9rem;
}

/* Thank you */
.thank-you {
  text-align: center;
  padding: 5rem 0;
}

.thank-you-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  background: rgba(8, 145, 178, 0.12);
  color: var(--color-teal);
  border-radius: 50%;
  font-size: 2rem;
}

.thank-you h1 {
  margin: 0 0 0.75rem;
  color: var(--color-navy);
}

.thank-you p {
  margin: 0 auto 2rem;
  max-width: 32rem;
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 32ch;
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-navy-light);
    padding: 1rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

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

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

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

  .hero {
    padding: 3.5rem 0 3rem;
  }
}
