/* Moore Global brand tokens (from moore.af) */
:root {
  --primary: #02212e;
  --primary-light: #39bef6;
  --secondary: #5c0696;
  --secondary-light: #7a08c7;
  --prussian-blue: #004c6c;
  --grey-primary: #ededed;
  --grey-secondary: #b1b1b1;
  --grey-tertiary: #383838;
  --white: #fff;
  --black: #000;
  --success: #28a745;
  --text-color: var(--primary);
  --text-muted: var(--grey-tertiary);
  --border: #d9d9d9;
  --primary-gradient: linear-gradient(109.01deg, #552e91 40.11%, #2caae1 102.55%);
  --secondary-gradient: linear-gradient(106.01deg, #d64352 16.53%, #552e91 81.83%);
  --tertiary-gradient: linear-gradient(109.01deg, #004c6c 40.11%, #17b585 102.55%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text-color);
  line-height: 1.6;
  font-weight: 400;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-light);
  text-decoration: underline;
}

.container {
  width: min(1440px, 96%);
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.home .site-header {
  position: absolute;
  inset: 0 0 auto 0;
  background: transparent;
  border-bottom: 0;
}

.header-inner {
  display: grid;
  grid-template-columns: 44px auto 1fr;
  align-items: center;
  padding: 10px 0;
  gap: 16px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.nav-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: inherit;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.home .nav-toggle span {
  background: rgba(255, 255, 255, 0.92);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 0;
}

.brand-logo {
  width: 74px;
  height: 74px;
  display: block;
}

/* Site title removed (logo only) */

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--secondary);
  text-decoration: none;
}

.home .site-header .nav-list a {
  color: rgba(255, 255, 255, 0.92);
}

.home .site-header .nav-list a:hover,
.home .site-header .nav-list a[aria-current="page"] {
  color: var(--primary-light);
}

.nav-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 4px;
  background: var(--secondary);
  color: var(--white) !important;
  font-weight: 600;
}

.nav-cta a:hover {
  background: var(--secondary-light);
  text-decoration: none;
}

.search-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}

.search-btn:hover {
  background: #2aaee5;
  text-decoration: none;
}

.contact-hero {
  position: relative;
  padding: 74px 0;
  color: var(--white);
  background: linear-gradient(90deg, #5c0696 0%, #2caae1 100%);
  overflow: hidden;
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  inset: -40% -20% -40% -20%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(45deg, rgba(2, 33, 46, 0.16) 0%, rgba(2, 33, 46, 0) 60%);
  transform: rotate(-10deg);
  pointer-events: none;
}

.contact-hero::after {
  transform: rotate(12deg);
  opacity: 0.55;
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
}

.contact-hero p {
  margin: 0 0 12px;
  opacity: 0.92;
}

.contact-tabs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.95;
}

.contact-tabs a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.contact-tabs a.is-active {
  color: var(--white);
  border-bottom-color: var(--primary-light);
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 18px;
  backdrop-filter: blur(2px);
}

.contact-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(2, 33, 46, 0.12);
  color: var(--white);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.btn-solid {
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.contact-stats {
  padding: 34px 0 10px;
}

.contact-stats .kpi {
  background: transparent;
  border: 0;
}

.contact-stats .kpi strong {
  color: var(--primary);
}

.contact-stats .kpi span {
  color: var(--text-muted);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 88px 0 72px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
    url("../images/hero-home.png") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(90deg, rgba(92, 6, 150, 0.72) 0%, rgba(44, 170, 225, 0.72) 100%);
  opacity: 0.9;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.home .hero-actions {
  position: absolute;
  right: 0;
  bottom: 18px;
  z-index: 2;
}

/* Mobile menu drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 33, 46, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(360px, 88vw);
  background: var(--white);
  transform: translateX(-102%);
  transition: transform 0.22s ease;
  z-index: 50;
  padding: 18px 18px 28px;
  border-right: 1px solid var(--border);
  overflow: auto;
}

.nav-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.nav-drawer__close {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
}

.nav-drawer nav {
  margin-top: 14px;
}

.nav-drawer .nav-list {
  display: grid;
  gap: 10px;
}

.nav-drawer .nav-list a {
  display: block;
  padding: 10px 10px;
  border-radius: 4px;
  background: var(--grey-primary);
}

.nav-drawer .nav-cta a {
  background: var(--secondary);
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open .nav-drawer {
  transform: translateX(0);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 600;
}

.hero p {
  margin: 0;
  max-width: 640px;
  font-size: 1.05rem;
  font-weight: 400;
  opacity: 0.95;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 56px 0;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.pro-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px;
}

.pro-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--primary);
}

.cta-section {
  background: linear-gradient(90deg, #5c0696 0%, #2caae1 100%);
  color: var(--white);
  border-radius: 8px;
  padding: 36px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-section p {
  margin: 0;
  opacity: 0.95;
}

.cta-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
}

.section-intro {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--grey-secondary);
  box-shadow: 0 8px 24px rgba(2, 33, 46, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

.card h3 a {
  color: var(--primary);
}

.card h3 a:hover {
  color: var(--secondary);
}

.card-media {
  width: 100%;
  height: 170px;
  border-radius: 4px;
  object-fit: cover;
  margin-bottom: 12px;
}

.section-photo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.section-photo img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.kpi {
  background: var(--grey-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 16px;
  text-align: center;
}

.kpi strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.kpi span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.list-clean {
  margin: 0;
  padding-left: 18px;
}

.contact-card {
  background: var(--grey-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
}

.contact-card p {
  margin: 7px 0;
}

.site-footer {
  margin-top: 40px;
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 24px;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  font-weight: 600;
}

.site-footer a {
  color: var(--primary-light);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.footer-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(92, 6, 150, 0.1);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.page-title {
  padding: 40px 0 24px;
}

.page-title h1 {
  margin: 0;
  font-weight: 700;
  color: var(--primary);
}

.page-hero-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-top: 16px;
}

.page-banner {
  position: relative;
  padding: 62px 0 54px;
  color: var(--white);
  background: linear-gradient(90deg, #2caae1 0%, #5c0696 100%);
  overflow: hidden;
}

.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  inset: -40% -20% -40% -20%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(45deg, rgba(2, 33, 46, 0.18) 0%, rgba(2, 33, 46, 0) 55%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.page-banner::after {
  transform: rotate(12deg);
  opacity: 0.55;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: 0.02em;
}

.page-banner p {
  margin: 8px 0 0;
  max-width: 760px;
  opacity: 0.92;
}

.note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

input,
textarea,
select {
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 4px;
}

@media (max-width: 860px) {
  .footer-grid,
  .section-photo {
    grid-template-columns: 1fr;
  }

  .nav-list {
    gap: 12px;
  }

  .hero {
    min-height: 100vh;
    padding-top: 72px;
  }

  .header-inner {
    grid-template-columns: 44px 1fr;
  }

  .header-controls {
    display: none;
  }

  .hero {
    padding: 84px 0 72px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .home .hero-actions {
    position: static;
  }

  .contact-hero {
    padding: 56px 0;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form .row {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .cta-section {
    padding: 24px;
  }
}
