/* Layout utilities (replaces Webflow grid/nav primitives) */

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 940px;
}

.container::before,
.container::after {
  content: " ";
  display: table;
}

.container::after {
  clear: both;
}

.row {
  margin-left: -10px;
  margin-right: -10px;
}

.row::before,
.row::after {
  content: " ";
  display: table;
}

.row::after {
  clear: both;
}

.col {
  position: relative;
  float: left;
  width: 100%;
  min-height: 1px;
  padding-left: 10px;
  padding-right: 10px;
}

.col-6 {
  width: 50%;
}

.btn {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898ec;
  color: #fff;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}

/* Mobile navigation */

.nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

@media screen and (max-width: 1024px) {
  .container {
    max-width: 728px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    pointer-events: auto;
    background-color: #fff;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 8px 0 16px;
    gap: 0;
    box-sizing: border-box;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }

  .nav.is-open .nav-list {
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
  }

  .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .col {
    width: 100%;
    left: auto;
    right: auto;
  }

  .nav {
    max-width: 100%;
    overflow-x: visible;
    overflow-y: visible;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .nav-inner {
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-controls {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: clamp(15px, 4vw, 20px);
    padding-right: 0;
    margin-left: 0;
    pointer-events: none;
    z-index: 2;
  }

  .nav-logo {
    position: relative;
    order: 2;
    margin-left: auto;
    margin-right: 0;
    transform: none;
    overflow: visible;
    flex-shrink: 0;
    z-index: 3;
    max-width: calc(100% - 56px);
  }

  .nav-logo-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
    overflow: visible;
  }

  .nav-toggle {
    align-items: center;
    justify-content: center;
    position: static;
    top: auto;
    right: auto;
    transform: none;
    pointer-events: auto;
    flex-shrink: 0;
    z-index: 1002;
  }
}

@media screen and (max-width: 479px) {
  .container {
    max-width: none;
  }
}
