/* ===== Variables ===== */
:root {
  --navy: #0b1f3a;
  --blue: #1a5fd6;
  --blue-light: #eaf1fd;
  --blue-mid: #4a86e8;
  --white: #ffffff;
  --gray-text: #4a5568;
  --gray-border: #e2e8f0;
  --radius: 10px;
  --max-width: 1140px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul { list-style: none; }

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.25;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--blue);
}

/* For buttons on light backgrounds (not hero) */
.split .btn-primary,
.contact .btn-primary {
  color: var(--white);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}

.logo-mark {
  color: var(--blue);
  display: flex;
}

.site-nav ul {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
  position: relative;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: #dbe6fb;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-shapes .shape {
  position: absolute;
  opacity: 0.08;
  color: var(--white);
}

.shape-1 {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -100px;
}

.shape-2 {
  width: 260px;
  height: 260px;
  bottom: -100px;
  right: 160px;
  opacity: 0.06;
}

/* ===== Intro ===== */
.intro {
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-border);
}

.intro p {
  max-width: 800px;
  font-size: 1.05rem;
}

/* ===== Section headings ===== */
section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

/* ===== Services ===== */
.services {
  padding: 80px 0;
  background: var(--blue-light);
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
}

/* ===== Industries ===== */
.industries {
  padding: 80px 0;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.industry-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 20px;
  font-weight: 600;
  color: var(--navy);
}

.industry-icon {
  color: var(--blue);
  flex-shrink: 0;
  display: flex;
}

/* ===== Split sections ===== */
.split {
  padding: 80px 0;
  background: var(--navy);
  color: #cdd9ee;
}

.split h2 {
  color: var(--white);
  text-align: left;
}

.split-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.split-text p {
  margin-bottom: 24px;
  font-size: 1.02rem;
}

.split-alt {
  background: var(--blue-light);
  color: var(--gray-text);
}

.split-alt h2 {
  color: var(--navy);
}

.split-alt .split-inner {
  grid-template-columns: 0.9fr 1.1fr;
}

.split-visual {
  color: var(--white);
  opacity: 0.9;
}

.split-alt .split-visual {
  color: var(--blue);
}

/* ===== Contact ===== */
.contact {
  padding: 80px 0;
}

.contact-sub {
  text-align: center;
  max-width: 600px;
  margin: -20px auto 36px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 214, 0.15);
}

.contact-form .btn {
  align-self: flex-start;
}

.form-note {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #a9bbdb;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand .logo-mark {
  color: var(--blue-mid);
}

.footer-address,
.footer-copy {
  font-size: 0.88rem;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .split-inner,
  .split-alt .split-inner {
    grid-template-columns: 1fr;
  }

  .split-visual {
    order: -1;
    max-width: 260px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav.open {
    max-height: 400px;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 10px 24px 20px;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--gray-border);
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  section h2 {
    font-size: 1.6rem;
  }
}
