/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #555;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3 {
  color: #2B3862;
  font-weight: 600;
  line-height: 1.2;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__logo-dark,
.nav__logo-light {
  display: none;
}

.nav--dark .nav__logo-dark {
  display: block;
}

.nav--light .nav__logo-light {
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.nav__links a:hover {
  opacity: 0.7;
}

.nav__cta {
  background: #E27D60;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

.nav__cta:hover {
  background: #d06a4e;
  opacity: 1 !important;
}

/* Nav dark (home) */
.nav--dark {
  background: #1e2a4a;
}

.nav--dark .nav__links a {
  color: rgba(255, 255, 255, 0.7);
}

.nav--dark .nav__links a.active {
  color: #fff;
}

/* Nav light (inner pages) */
.nav--light {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
}

.nav--light .nav__links a {
  color: #888;
}

.nav--light .nav__links a.active {
  color: #2B3862;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav--dark .nav__hamburger span {
  background: #fff;
}

.nav--light .nav__hamburger span {
  background: #2B3862;
}

.nav__hamburger span:nth-child(1) { top: 0; }
.nav__hamburger span:nth-child(2) { top: 9px; }
.nav__hamburger span:nth-child(3) { top: 18px; }

.nav__hamburger.open span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ===== Home / Hero ===== */
.hero {
  background: #2B3862;
  padding: 10rem 2rem 6rem;
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.hero__kicker {
  color: #49778D;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__headline {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__subline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.btn--coral {
  background: #E27D60;
  color: #fff;
}

.btn--coral:hover {
  background: #d06a4e;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ===== Home / Pills ===== */
.pills {
  background: #243058;
  padding: 1.5rem 2rem;
}

.pills__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== Home / Stats ===== */
.stats {
  background: #1e2a4a;
  padding: 5rem 2rem;
}

.stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats__item {
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stats__item:last-child {
  border-right: none;
}

.stats__number {
  display: block;
  color: #E27D60;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stats__label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.stats__body {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== Home / Trust ===== */
.trust {
  background: #141d33;
  padding: 3rem 2rem;
}

.trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.trust__label {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.trust__items {
  display: flex;
  gap: 2.5rem;
}

.trust__items span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Inner Pages / Page Header ===== */
.page-header {
  background: #2B3862;
  padding: calc(72px + 64px) 2rem 56px;
}

.page-header__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.page-header__kicker {
  color: #49778D;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-header__headline {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-header__subline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.page-header__descriptor {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Services Grid ===== */
.services-grid {
  padding: 5rem 2rem;
}

.services-grid__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.services-grid__item {
  padding: 3rem;
}

.services-grid__item:nth-child(1) { grid-column: 1 / 3; }
.services-grid__item:nth-child(2) { grid-column: 3 / 5; }
.services-grid__item:nth-child(3) { grid-column: 5 / 7; }
.services-grid__item:nth-child(4) { grid-column: 2 / 4; }
.services-grid__item:nth-child(5) { grid-column: 4 / 6; }

.services-grid__item:nth-child(1),
.services-grid__item:nth-child(2),
.services-grid__item:nth-child(3) {
  border-bottom: 1px solid #ebebeb;
}

.services-grid__item:nth-child(1),
.services-grid__item:nth-child(2),
.services-grid__item:nth-child(4) {
  border-right: 1px solid #ebebeb;
}

.services-grid__number {
  display: block;
  color: #E27D60;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-grid__title {
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.services-grid__body {
  color: #888;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.services-grid__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: transparent;
  color: #49778D;
  border: 1px solid #49778D;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== About / Header ===== */
.page-header--about .page-header__name {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header--about .page-header__role {
  color: #49778D;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.page-header--about .page-header__bio {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.7;
}

.page-header__right--stats {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-stat {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.about-stat:last-child {
  border-bottom: none;
}

.about-stat__number {
  color: #E27D60;
  font-size: 1.75rem;
  font-weight: 700;
  min-width: 80px;
}

.about-stat__desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
}

/* ===== About / Body ===== */
.about-body {
  padding: 5rem 2rem;
}

.about-body__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about-body__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2rem;
}

.about-body__label--second {
  margin-top: 3rem;
}

.about-body__list li {
  padding: 0.75rem 0;
  color: #555;
  font-size: 0.9375rem;
  border-bottom: 1px solid #ebebeb;
  padding-left: 1.25rem;
  position: relative;
}

.about-body__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E27D60;
}

.about-quote {
  background: #f7f8f8;
  padding: 3rem;
  border-radius: 4px;
}

.about-quote p {
  color: #2B3862;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.about-quote cite {
  color: #888;
  font-size: 0.875rem;
  font-style: normal;
}

/* ===== Portfolio / Case Studies ===== */
.case-studies {
  padding: 5rem 2rem;
}

.case-studies__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.case-studies__row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 0.5px solid #ebebeb;
  align-items: start;
}

.case-studies__row:first-child {
  border-top: 0.5px solid #ebebeb;
}

.case-studies__industry span {
  display: inline-block;
  background: #f7f8f8;
  color: #2B3862;
  padding: 0.375rem 1rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.case-studies__detail h3,
.case-studies__result h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.75rem;
}

.case-studies__detail p,
.case-studies__result p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #555;
}

/* ===== Contact / Header ===== */
.page-header--contact .page-header__right--email {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.page-header__email-label {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.page-header__email-link {
  color: #49778D;
  font-size: 1rem;
}

.page-header__email-link:hover {
  text-decoration: underline;
}

/* ===== Contact / Body ===== */
.contact-body {
  padding: 5rem 2rem;
}

.contact-body__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

/* Contact Form */
.contact-form__field {
  margin-bottom: 2rem;
}

.contact-form__field label {
  display: block;
  color: #888;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ebebeb;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-family: inherit;
  color: #2B3862;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-bottom-color: #49778D;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit {
  background: #2B3862;
  color: #fff;
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 5px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form__submit:hover {
  background: #1e2a4a;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form__status {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  min-height: 1.5rem;
}

.contact-form__status--success {
  color: #2e7d32;
}

.contact-form__status--error {
  color: #E27D60;
}

/* What to expect */
.contact-expect__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2rem;
}

.contact-expect__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ebebeb;
}

.contact-expect__item:first-child {
  border-top: 1px solid #ebebeb;
}

.contact-expect__item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-expect__item p {
  font-size: 0.9375rem;
  color: #888;
}

.contact-expect__item--availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2e7d32;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: none;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e7d32;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== Footer ===== */
.footer {
  background: #141d33;
  padding: 4rem 2rem 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer__center {
  display: flex;
  gap: 2rem;
}

.footer__center a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__center a:hover {
  color: #fff;
}

.footer__right {
  text-align: right;
}

.footer__email {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item:nth-child(2) {
    border-right: none;
  }

  .case-studies__row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav__hamburger {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .nav--dark .nav__links {
    background: #1e2a4a;
  }

  .nav--light .nav__links {
    background: #fff;
    border-bottom: 1px solid #ebebeb;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__cta {
    text-align: center;
  }

  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero__headline {
    font-size: 2.25rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .stats__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .trust__inner {
    flex-direction: column;
    text-align: center;
  }

  .trust__items {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .page-header {
    padding: 7rem 1.5rem 3rem;
  }

  .page-header__inner--split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-header__headline {
    font-size: 2rem;
  }

  .services-grid__inner {
    grid-template-columns: 1fr;
  }

  .services-grid__item:nth-child(1),
  .services-grid__item:nth-child(2),
  .services-grid__item:nth-child(3),
  .services-grid__item:nth-child(4),
  .services-grid__item:nth-child(5) {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid #ebebeb;
  }

  .services-grid__item:nth-child(5) {
    border-bottom: none;
  }

  .about-body__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .page-header__right--stats {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
  }

  .contact-body__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .page-header--contact .page-header__right--email {
    align-items: flex-start;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__center {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer__right {
    text-align: center;
  }
}
