.crwda-footer {
  margin-top: 56px;
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  color: var(--text);
}

.crwda-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 28px;
}

.crwda-footer__brand {
  min-width: 0;
}

.crwda-footer__logo,
.crwda-footer__logoText {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.crwda-footer__logo .custom-logo {
  max-height: 52px;
  width: auto;
}

.crwda-footer__logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.crwda-footer__tagline {
  margin: 10px 0 0;
  max-width: 52ch;
  color: var(--muted);
}

.crwda-footer__nav {
  min-width: 0;
}

.crwda-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crwda-footer__menu a,
.crwda-footer__legal a {
  color: var(--text);
}

.crwda-footer__menu a:hover,
.crwda-footer__legal a:hover {
  color: var(--primary-700);
}

.crwda-footer__bottom {
  border-top: 1px solid var(--border);
}

.crwda-footer__bottomInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.crwda-footer__copy {
  color: var(--muted);
  font-size: 14px;
}

.crwda-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .crwda-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .crwda-footer__menu {
    justify-content: flex-start;
  }

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

/* === S5: footer expand === */
.crwda-footer {
  margin-top: 64px;
  background: #111111;
  color: #d9d9de;
  border-top: 0;
}

.crwda-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding: 56px 24px 40px;
  max-width: var(--container, 1240px);
  margin: 0 auto;
}

.crwda-footer__col {
  min-width: 0;
}

.crwda-footer__col--brand {
  max-width: 360px;
}

.crwda-footer__logoText {
  display: inline-flex;
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.crwda-footer__tagline {
  margin: 14px 0 0;
  color: #9aa1ad;
  font-size: 14px;
  line-height: 1.6;
}

.crwda-footer__h {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crwda-footer__menu,
.crwda-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crwda-footer__menu li,
.crwda-footer__list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.5;
}

.crwda-footer__list li {
  flex-direction: column;
}

.crwda-footer__hours li {
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
}

.crwda-footer__k {
  color: #6a7180;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crwda-footer__menu a,
.crwda-footer__list a {
  color: #d9d9de;
  text-decoration: none;
  transition: color 0.15s;
}

.crwda-footer__menu a:hover,
.crwda-footer__list a:hover {
  color: var(--primary);
}

.crwda-footer__bottom {
  border-top: 1px solid #2a2d34;
}

.crwda-footer__bottomInner {
  max-width: var(--container, 1240px);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.crwda-footer__copy {
  color: #6a7180;
  font-size: 13px;
}

.crwda-footer__legal {
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.crwda-footer__legal a {
  color: #9aa1ad;
  text-decoration: none;
}

.crwda-footer__legal a:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .crwda-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .crwda-footer__col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .crwda-footer__inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 28px;
  }
  .crwda-footer__bottomInner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* === S11: footer nav left-align === */
.crwda-footer__menu,
.crwda-footer__menu li,
.crwda-footer__menu a {
  text-align: left !important;
  justify-content: flex-start !important;
}
.crwda-footer__menu {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
}
.crwda-footer__list {
  align-items: flex-start !important;
  text-align: left !important;
}
.crwda-footer__list li {
  text-align: left !important;
  align-items: flex-start !important;
}
.crwda-footer__hours li {
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 16px !important;
}
.crwda-footer__hours .crwda-footer__k {
  min-width: 90px;
}

@media (max-width: 767px) {
  .crwda-footer__menu,
  .crwda-footer__menu li,
  .crwda-footer__list,
  .crwda-footer__list li {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
}
