/* /css/global.css */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container,
.site-shell {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

/* Shared Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid #eadcc8;
  box-shadow: 0 4px 14px rgba(24, 56, 74, 0.045);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 205px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #18384a;
  font-size: 0.88rem;
  font-weight: 900;
}

.site-nav a {
  color: #18384a;
}

.site-nav a:hover {
  color: #47744e;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 10px 15px;
  border-radius: 7px;
  background: #ef7d3c;
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 900;
}

/* Shared Footer */

.site-footer {
  background: #123f5a;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr;
  gap: 34px;
  padding-bottom: 30px;
}

.footer-brand img {
  max-width: 210px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a:hover {
  color: #f1b646;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 16px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

/* Mobile */

@media (max-width: 860px) {
  .header-inner {
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    gap: 9px;
  }

  .brand-mark img {
    width: 220px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    font-size: 0.84rem;
  }
}

@media (max-width: 680px) {
  .container,
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

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