/* Merius — harbour-blue on warm ivory. Chain-link and bridge theme. */
:root {
  --ivory: #F6F4EF;
  --ink: #23262E;
  --ink-soft: #4A4F58;
  --harbour: #2B6CB0;
  --white: #FFFFFF;
  --sand: #E2D5BC;
  --hairline: #E3DCCD;
  --footer-muted: #B9BEC9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.7;
  background-color: #F6F4EF;
  color: #23262E;
  margin: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: #2B6CB0;
  text-decoration: none;
}

/* ---------- Chain link motif ---------- */
.chain-link {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 13px;
  vertical-align: middle;
  flex: 0 0 auto;
}
.chain-link::before,
.chain-link::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 13px;
  background: currentColor;
  border-radius: 9px;
}
.chain-link::before {
  left: 0;
}
.chain-link::after {
  right: 0;
}

/* ---------- Scroll reveal (safe without JS) ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Centered wordmark nav ---------- */
.center-nav {
  position: relative;
  background-color: #F6F4EF;
  border-bottom: 1px solid #E3DCCD;
  padding: 30px 24px 20px;
  text-align: center;
}
.center-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #23262E;
}
.center-nav .brand .chain-link {
  color: #2B6CB0;
}
.center-nav .nav-toggle {
  display: none;
  position: absolute;
  top: 26px;
  right: 20px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #2B6CB0;
  border-radius: 6px;
  background-color: #FFFFFF;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.center-nav .nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #2B6CB0;
}
.center-nav .nav-links {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.center-nav .nav-links a {
  color: #23262E;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.center-nav .nav-links a:hover,
.center-nav .nav-links a.active {
  color: #2B6CB0;
  border-bottom-color: #2B6CB0;
}

/* ---------- Banner-strip hero ---------- */
.banner-hero {
  background-color: #F6F4EF;
}
.banner-strip {
  background-color: #2B6CB0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 24px;
  color: #FFFFFF;
  overflow: hidden;
}
.hero-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 60px;
}
.eyebrow {
  display: inline-block;
  background-color: #2B6CB0;
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 16px;
  margin: 0;
}
.hero-main h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
  color: #23262E;
  max-width: 840px;
  margin: 26px 0 22px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: #4A4F58;
  max-width: 760px;
  margin: 0 0 16px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-primary {
  background-color: #2B6CB0;
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: #1F5488;
}
.btn-outline {
  border: 2px solid #23262E;
  color: #23262E;
}
.btn-outline:hover {
  background-color: #23262E;
  color: #FFFFFF;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #2B6CB0;
  margin-top: 56px;
}
.stat-block {
  border-left: 1px solid #2B6CB0;
  padding: 24px 26px 8px;
}
.stat-block:first-child {
  border-left: none;
  padding-left: 0;
}
.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: #2B6CB0;
  margin: 0;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #23262E;
  margin: 6px 0 0;
}

/* ---------- Step progression ---------- */
.step-progression {
  background-color: #F6F4EF;
  padding: 88px 24px;
}
.section-head {
  max-width: 1120px;
  margin: 0 auto;
}
.kicker {
  color: #2B6CB0;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 700;
}
.section-head h2 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: #23262E;
  margin: 0 0 18px;
}
.section-head p {
  color: #4A4F58;
  font-size: 17px;
  max-width: 720px;
  margin: 0;
}
.step-list {
  max-width: 1120px;
  margin: 48px auto 0;
}
.step-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  border-bottom: 1px solid #2B6CB0;
  padding: 44px 30px;
}
.step-block.on-white {
  background-color: #FFFFFF;
}
.step-block.on-ivory {
  background-color: #F6F4EF;
}
.step-block:first-child {
  border-top: 1px solid #2B6CB0;
}
.step-number {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px #2B6CB0;
  margin: 0;
  flex: 0 0 auto;
  width: 140px;
}
.step-body h3 {
  font-size: 26px;
  font-weight: 700;
  color: #23262E;
  margin: 4px 0 12px;
}
.step-body p {
  color: #4A4F58;
  margin: 0;
  max-width: 760px;
}

/* ---------- Metric band ---------- */
.metric-band {
  background-color: #2B6CB0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 64px 24px;
}
.metric {
  text-align: center;
  border-left: 1px solid #F6F4EF;
  padding: 8px 20px;
}
.metric:first-child {
  border-left: none;
}
.metric-value {
  font-size: 48px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}
.metric-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 8px 0 0;
}

/* ---------- Statement band ---------- */
.statement-band {
  background-color: #E2D5BC;
  padding: 96px 24px;
}
.statement-band blockquote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}
.statement-band blockquote p {
  font-size: 28px;
  line-height: 1.55;
  font-weight: 600;
  color: #23262E;
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background-color: #FFFFFF;
  padding: 96px 24px;
  text-align: center;
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
}
.bridge-arc {
  position: relative;
  display: block;
  width: 160px;
  height: 80px;
  margin: 0 auto 28px;
  border-top: 6px solid #2B6CB0;
  border-left: 6px solid #2B6CB0;
  border-right: 6px solid #2B6CB0;
  border-radius: 90px 90px 0 0;
}
.bridge-arc::before,
.bridge-arc::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 78px;
  background-color: #2B6CB0;
}
.bridge-arc::before {
  left: 18px;
}
.bridge-arc::after {
  right: 18px;
}
.cta-inner h2 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: #23262E;
  margin: 0 0 18px;
}
.cta-inner p {
  color: #4A4F58;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 34px;
}

/* ---------- Two-column wide footer ---------- */
.two-col-footer {
  background-color: #23262E;
  color: #B9BEC9;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 64px 24px;
}
.footer-col-about {
  flex: 0 0 58%;
  max-width: 640px;
}
.footer-brand {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 16px;
}
.footer-brand .chain-link {
  color: #2B6CB0;
  margin-right: 8px;
}
.footer-blurb {
  color: #B9BEC9;
  max-width: 560px;
  margin: 0 0 26px;
}
.footer-legal {
  color: #FFFFFF;
  font-size: 13px;
  margin: 0;
}
.footer-legal a {
  color: #FFFFFF;
  border-bottom: 1px solid #2B6CB0;
}
.footer-legal a:hover {
  color: #E2D5BC;
}
.footer-col-contact {
  flex: 1;
  min-width: 260px;
}
.footer-contact-title {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-contact {
  color: #B9BEC9;
  line-height: 1.9;
  margin: 0 0 24px;
}
.footer-contact a {
  color: #B9BEC9;
}
.footer-contact a:hover {
  color: #FFFFFF;
}
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-links-row a {
  color: #FFFFFF;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-links-row a:hover {
  color: #E2D5BC;
}

/* ---------- Services page ---------- */
.services-hero {
  background-color: #2B6CB0;
  color: #FFFFFF;
  padding: 72px 24px;
  text-align: center;
}
.services-hero h1 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 16px;
}
.services-hero p {
  color: #F6F4EF;
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
}
.service-list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
}
.service-item {
  background-color: #FFFFFF;
  border: 1px solid #E3DCCD;
  border-top: 4px solid #2B6CB0;
  padding: 36px;
  margin-bottom: 32px;
}
.service-item h2 {
  font-size: 26px;
  font-weight: 700;
  color: #23262E;
  margin: 0 0 14px;
}
.service-item h2 span {
  color: #2B6CB0;
  margin-right: 10px;
}
.service-item p {
  color: #4A4F58;
  margin: 0 0 12px;
}
.service-item p:last-child {
  margin-bottom: 0;
}
.process-overview {
  background-color: #E2D5BC;
  padding: 80px 24px;
}
.process-overview .section-head h2 {
  color: #23262E;
}
.process-overview .section-head p {
  color: #4A4F58;
}
.process-steps {
  max-width: 1120px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  background-color: #FFFFFF;
  border: 1px solid #E3DCCD;
  padding: 28px;
}
.process-step .step-number {
  font-size: 40px;
  width: auto;
}
.process-step h3 {
  font-size: 19px;
  color: #23262E;
  margin: 14px 0 10px;
}
.process-step p {
  color: #4A4F58;
  font-size: 15px;
  margin: 0;
}

/* ---------- Contact page ---------- */
.contact-hero {
  background-color: #2B6CB0;
  color: #FFFFFF;
  padding: 72px 24px;
  text-align: center;
}
.contact-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 16px;
}
.contact-hero p {
  color: #F6F4EF;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}
.contact-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-panel h2,
.contact-info-panel h2 {
  font-size: 26px;
  font-weight: 700;
  color: #23262E;
  margin: 0 0 20px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #23262E;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D8D2C4;
  border-radius: 4px;
  background-color: #FFFFFF;
  color: #23262E;
  font-size: 16px;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2B6CB0;
  box-shadow: 0 0 0 2px #2B6CB0;
}
.form-status {
  color: #23262E;
  font-weight: 700;
  margin: 14px 0 0;
}
.contact-detail {
  background-color: #FFFFFF;
  border: 1px solid #E3DCCD;
  border-left: 4px solid #2B6CB0;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.contact-detail h3 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2B6CB0;
  margin: 0 0 8px;
}
.contact-detail p {
  color: #23262E;
  margin: 0;
  line-height: 1.8;
}
.contact-detail a {
  color: #2B6CB0;
}
.faq-panel {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.faq-panel h2 {
  font-size: 26px;
  font-weight: 700;
  color: #23262E;
  margin: 0 0 24px;
}
.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E3DCCD;
  margin-bottom: 14px;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 700;
  color: #23262E;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question::after {
  content: "+";
  font-size: 22px;
  color: #2B6CB0;
  flex: 0 0 auto;
}
.faq-item.open .faq-question::after {
  content: "-";
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  margin: 0;
  padding: 0 22px 20px;
  color: #4A4F58;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-main h1 {
    font-size: 36px;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    border: none;
  }
  .stat-block {
    border: none;
    border-top: 1px solid #2B6CB0;
    padding-left: 0;
    padding-right: 20px;
  }
  .stat-block:first-child {
    border-top: 1px solid #2B6CB0;
    padding-left: 0;
  }
  .metric-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }
  .metric:nth-child(3) {
    border-left: none;
  }
  .metric {
    padding: 8px 12px;
  }
  .step-block {
    flex-direction: column;
    gap: 14px;
  }
  .step-number {
    width: auto;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .footer-col-about {
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .center-nav {
    text-align: center;
    padding-top: 22px;
  }
  .center-nav .nav-toggle {
    display: flex;
  }
  .center-nav .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 18px;
  }
  .center-nav .nav-links.open {
    display: flex;
  }
  .center-nav .nav-links li {
    border-top: 1px solid #E3DCCD;
  }
  .center-nav .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: none;
  }
  .center-nav .nav-links a:hover,
  .center-nav .nav-links a.active {
    color: #2B6CB0;
  }
  .banner-strip {
    height: 72px;
    gap: 14px;
  }
  .hero-main {
    padding-top: 48px;
  }
  .hero-main h1 {
    font-size: 30px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .btn-primary,
  .btn-outline {
    text-align: center;
  }
  .stat-number {
    font-size: 32px;
  }
  .section-head h2,
  .cta-inner h2 {
    font-size: 28px;
  }
  .statement-band blockquote p {
    font-size: 21px;
  }
  .metric-value {
    font-size: 36px;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .services-hero h1,
  .contact-hero h1 {
    font-size: 32px;
  }
  .two-col-footer {
    flex-direction: column;
    gap: 32px;
  }
  .metric:nth-child(2) {
    border-left: none;
  }
  .metric:nth-child(4) {
    border-left: 1px solid #F6F4EF;
  }
}
