:root {
  --dark-blue: #1c354f;
  --light-blue: #6c859d;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --ink: #1c354f;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-weight: 600;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Header ---------- */
header {
  background: var(--dark-blue);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-row {
  --header-logo-size: 72px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  min-height: calc(var(--header-logo-size) + 24px);
}

.brand {
  display: flex;
  align-items: center;
}
.logo_shell {
  display: flex;
  align-items: center;
  width: var(--header-logo-size);
  height: var(--header-logo-size);
}

.logo_shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
  

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
}
.hero .shell {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
nav ul {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}
@media (min-width: 860px) {
  nav ul {
    flex-direction: row;
    gap: 38px;
  }
}
nav a {
  display: flex;
  align-items: center;
  height: auto;
  font-size: 15px;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition:
    color 0.25s ease,
    font-weight 0.25s ease;
}
nav a:hover,
nav a:focus-visible {
  color: var(--light-blue);
  font-weight: 600;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--light-blue);
  transition: width 0.25s ease;
}
nav a:hover::after {
  width: 100%;
}
.header-cta {
  display: inline-flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  font-size: 13px;
}
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateX(-50%);
}
.nav-contact {
  padding: 10px 20px;
  font-size: 13px;
}
.nav-contact::after {
  display: none;
}
nav .nav-contact:hover,
nav .nav-contact:focus-visible {
  color: var(--white);
  font-weight: 600;
}
@media (min-width: 860px) {
  .nav-row {
    --header-logo-size: 104px;
  }
  .header-cta {
    display: inline-flex;
    position: static;
    transform: none;
    padding: 13px 30px;
    font-size: 15px;
  }
  .header-cta:hover,
  .header-cta:focus-visible {
    transform: translateY(-1px);
  }
  .nav-contact {
    padding: 13px 30px;
    font-size: 15px;
  }
}
/* ---------- Buttons (per style guide: outline -> filled swap) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--white);
  background: var(--white);
  color: var(--dark-blue);
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--light-blue);
  color: var(--white);
  border-color: var(--light-blue);
  transform: translateY(-1px);
}
@media (max-width: 859px) {
  .header-cta.btn:hover,
  .header-cta.btn:focus-visible {
    transform: translateX(-50%);
  }
}
.btn-outline-dark {
  border: 1.5px solid var(--dark-blue);
  background: transparent;
  color: var(--dark-blue);
}
.btn-outline-dark:hover {
  background: var(--dark-blue);
  color: var(--white);
  border-color: var(--dark-blue);
}

/* ---------- Mobile nav toggle ---------- */
.burger {
  display: flex;
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 860px) {
  .burger {
    display: none;
  }
}
nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0 32px;
  background: var(--dark-blue);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    max-height 0.3s ease,
    padding 0.3s ease,
    opacity 0.2s ease,
    transform 0.3s ease,
    visibility 0s linear 0.3s;
}
@media (min-width: 860px) {
  nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
}
nav.open {
  max-height: 360px;
  padding: 20px 32px 30px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
@media (min-width: 860px) {
  nav.open {
    max-height: none;
    padding: 0;
    transform: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 40px 24px;
  /* fill the screen below the sticky header (96px mobile, 128px desktop) */
  min-height: calc(100vh - 96px);
  min-height: calc(100svh - 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 860px) {
  .hero {
    min-height: calc(100vh - 128px);
    min-height: calc(100svh - 128px);
  }
}
.hero .shell {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
}

 .hero .logo_hero {
  margin: 0 auto;
  width: 100%;
  max-width: 540px;
}
.logo_hero img {
  width: 100%;
  height: auto;
  display: block;
}
.hero .btn {
  margin-top: 42px;
}

/* ---------- Section shells ---------- */
section {
  padding: 96px 0;
}
.section-dark {
  background: var(--dark-blue);
  color: var(--white);
}
.section-alt {
  background: var(--off-white);
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-blue);
  font-weight: 600;
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
}
section:not(.section-dark):not(.section-alt):not(.hero) h2 {
  color: var(--light-blue);
}
.section-alt h2 {
  color: var(--light-blue);
}
h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
}
p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: #425a72;
}
.section-dark p {
  color: #c9d5df;
}
strong {
  font-weight: 600;
  color: var(--light-blue);
}
.section-dark strong {
  color: var(--white);
}

/* ---------- Image blocks ---------- */
.ph {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-wide {
  aspect-ratio: 16/9;
}
.ph-square {
  aspect-ratio: 1/1;
}

/* ---------- Two-col split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.split.reverse .col-text {
  order: 1;
}
.split.reverse .col-img {
  order: 2;
}
@media (min-width: 860px) {
  .split.reverse .col-img {
    order: 1;
  }
  .split.reverse .col-text {
    order: 2;
  }
}

/* ---------- Quote banner + 3 pillars ---------- */
.quote-banner h2 {
  text-align: center;
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto 56px;
}
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pillar .ph {
  aspect-ratio: 4/3;
  margin-bottom: 18px;
}
.pillar h4 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 4px;
  font-weight: 600;
}
.pillar p {
  color: #c9d5df;
  font-size: 16px;
}

/* ---------- Clients cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--white);
  color: var(--dark-blue);
  border-radius: 16px;
  padding: 34px 30px;
  box-shadow: 0 18px 40px -22px rgba(28, 53, 79, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.card h3 {
  margin-bottom: 12px;
  color: var(--dark-blue);
}
.card p {
  font-size: 16px;
  color: #5b7188;
}

/* ---------- Testimonials ---------- */
.testi-track {
  display: flex;
  overflow: hidden;
}
.testi {
  flex: 0 0 100%;
  background: var(--off-white);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.5s ease;
}

.testi p {
  font-size: 16px;
  color: #425a72;
  margin-bottom: 16px;
}
.testi .who {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-blue);
}
.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c7cfd7;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.dot.active {
  background: var(--dark-blue);
  transform: scale(1.2);
}
/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 860px) {
  .contact-wrap {
    grid-template-columns: 1fr 1.2fr;
  }
}
.contact-info h4 {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-info p {
  color: #c9d5df;
  font-size: 16px;
  margin-bottom: 26px;
}
.contact-info a {
  color: var(--white);
}
.contact-info a:hover {
  color: var(--light-blue);
}
.contact-logo {
  display: flex;
  align-items: center;
  width: 190px;
  margin-top: 4px;
}
.contact-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.socials {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
/* .socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.socials a:hover {
  background: var(--light-blue);
  border-color: var(--light-blue);
}
.socials svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
} */

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.field::placeholder {
  color: var(--white);
}
.field:focus {
  border-color: var(--light-blue);
  background: rgba(255, 255, 255, 0.13);
}
textarea.field {
  resize: vertical;
  min-height: 120px;
}
.submit-btn {
  align-self: flex-start;
  padding: 14px 36px;
  border-radius: 999px;
  border: none;
  background: var(--white);
  color: var(--light-blue);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.submit-btn:hover {
  background: var(--light-blue);
  color: var(--white);
}
.form-note {
  font-size: 13px;
  color: #9db2c4;
  margin-top: 4px;
  min-height: 18px;
}

footer {
  background: var(--dark-blue);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
footer p {
  color: #8fa4b8;
  font-size: 13px;
  text-align: center;
}
