:root {
  --navy: #16283f;
  --navy-deep: #0d1b2b;
  --navy-mid: #24476e;
  --accent: #2a7fa3;
  --accent-deep: #1c5e7a;
  --grey-bg: #f6f8fa;
  --text: #33404e;
  --text-light: #6b7686;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans Pro', Arial, sans-serif; color: var(--text); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Poppins', 'Source Sans Pro', Arial, sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { background: #fff; box-shadow: 0 2px 12px rgba(15,25,40,.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 52px; }
nav ul { list-style: none; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
nav a { font-weight: 600; font-size: 14px; letter-spacing: .2px; color: var(--navy); position: relative; padding: 4px 0; transition: color .2s; }
nav a:not(.btn-contact)::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--accent); transition: width .25s;
}
nav a:not(.btn-contact):hover { color: var(--accent); }
nav a:not(.btn-contact):hover::after { width: 100%; }
.btn-contact { border: 1.5px solid var(--navy); padding: 9px 18px; border-radius: 3px; transition: all .2s; }
.btn-contact:hover { background: var(--navy); color: #fff; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; flex: 0 0 34px; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 1px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: linear-gradient(rgba(13,27,43,.72), rgba(13,27,43,.72)), url("images/hero-bg.jpg") center/cover no-repeat;
  padding: 90px 0 80px; text-align: center; color: #fff;
}
.hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 10px; font-family: 'Poppins', sans-serif; letter-spacing: .5px; }
.hero p.tagline { font-size: 15px; font-weight: 600; letter-spacing: .4px; margin-bottom: 34px; opacity: .92; max-width: 640px; margin-left: auto; margin-right: auto; }

section { padding: 90px 0; }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.section-title { text-align: center; font-size: 28px; color: var(--navy); margin-bottom: 16px; font-weight: 600; }
.section-sub { text-align: center; font-size: 15px; color: var(--text-light); max-width: 560px; margin: 0 auto 46px; }
.divider { width: 56px; height: 3px; background: var(--accent); margin: 0 auto 46px; border-radius: 2px; }
.grey { background: var(--grey-bg); }

/* Intro / adaptability */
.intro-text { max-width: 760px; margin: 0 auto 40px; text-align: center; font-size: 16px; }
.adapt-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1000px; margin: 0 auto; }
.adapt-item { background: #fff; border-radius: 8px; padding: 28px 24px; box-shadow: 0 4px 20px rgba(22,40,63,.07); border-top: 3px solid var(--accent); }
.adapt-item p { font-size: 14.5px; color: var(--text); }

/* Services */
.service-group { margin-bottom: 48px; }
.service-group:last-child { margin-bottom: 0; }
.service-group h3 { color: var(--navy); font-size: 18px; margin-bottom: 20px; padding-left: 14px; border-left: 4px solid var(--accent); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { background: #fff; border-radius: 6px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(22,40,63,.06); font-size: 14px; color: var(--text); display: flex; gap: 12px; align-items: flex-start; }
.service-card::before { content: "›"; color: var(--accent); font-weight: 700; font-size: 16px; line-height: 1.4; }

/* About group */
.about-group { text-align: center; max-width: 720px; margin: 0 auto; }
.about-group p { font-size: 16px; margin-bottom: 10px; }
.about-group .signature { margin-top: 26px; font-family: 'Poppins', sans-serif; color: var(--navy); font-size: 15px; }
.about-group .signature strong { color: var(--accent); }

/* Contact info block */
.contact-info { text-align: center; margin-bottom: 40px; }
.contact-info p { font-size: 15px; }

/* Forms */
form.simple-form { max-width: 700px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.simple-form .full { grid-column: 1 / -1; }
form.simple-form label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 6px; font-weight: 600; }
form.simple-form input, form.simple-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d7dee6; border-radius: 5px; font-family: inherit; font-size: 14.5px; background: #fff; color: var(--text);
}
form.simple-form input:focus, form.simple-form textarea:focus { outline: 2px solid var(--accent); }
form.simple-form textarea { min-height: 130px; resize: vertical; }
form.simple-form button {
  background: var(--accent); color: #fff; border: none; padding: 14px 24px; border-radius: 5px; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: .3px; transition: background .2s, transform .2s;
}
form.simple-form button:hover { background: var(--accent-deep); transform: translateY(-2px); }

/* Simple content pages */
.page-header { background: var(--navy-deep); color: #fff; padding: 60px 0 50px; text-align: center; }
.page-header h1 { font-size: 26px; font-weight: 600; }
.content-block { max-width: 820px; margin: 0 auto; }
.content-block h2 { color: var(--navy); font-size: 19px; margin: 34px 0 12px; }
.content-block h2:first-child { margin-top: 0; }
.content-block p { margin-bottom: 8px; font-size: 15px; }

/* Footer */
footer { background: var(--navy-deep); color: #8b9bad; padding: 26px 0; font-size: 12.5px; line-height: 1.7; text-align: center; }
footer .related-links { display: inline; }
footer .related-links a { color: #dfe6ec; margin: 0 4px; }
footer .related-links a:hover { color: #fff; }
.copyright { color: #8b9bad; }
.copyright a { color: #93a4b8; }
.copyright a:hover { color: #fff; }

@media (max-width: 900px) {
  .adapt-list { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  form.simple-form { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    box-shadow: 0 14px 26px rgba(15,25,40,.14); max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  header.nav-open nav { max-height: 480px; }
  nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0; }
  nav ul li { border-top: 1px solid #eef1f4; }
  nav ul li:first-child { border-top: none; }
  nav a { display: block; padding: 15px 24px; }
  nav a:not(.btn-contact)::after { display: none; }
  .btn-contact { display: block; margin: 12px 24px; text-align: center; }
  .hero h1 { font-size: 24px; }
  section { padding: 56px 0; }
}
