/* Small layout overrides on top of dist/css/style.css */

/* Pages/sections: reduce heavy top padding so content starts sooner */
.section-inner {
  padding-top: 24px;
}

@media (min-width: 641px) {
  .section-inner {
    padding-top: 40px;
  }
}

/* Feature icons: match old site's simple icon style */
.feature-icon {
  align-items: center;
  min-height: 100px;
}

.feature-icon i {
  font-size: 56px;
  line-height: 1;
  color: #0270D7;
}

/* Footer brand stack (logo + copyright) */
.site-footer .footer-brand {
  flex-direction: column;
}

/* Footer: mobile brand centered */
@media (max-width: 640px) {
  .site-footer .footer-brand {
    align-items: center;
  }
}

/* Footer: remove the two-row desktop layout; keep links + copyright aligned */
@media (min-width: 641px) {
  .site-footer-inner {
    flex-wrap: nowrap;
    align-items: flex-end;
  }

  .site-footer .footer-brand {
    flex: 1 1 auto;
    width: auto;
    margin-bottom: 0;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .site-footer .footer-brand a {
    align-self: flex-start;
  }

  .site-footer .footer-links {
    flex: 0 0 auto;
    width: auto;
    margin-bottom: 0;
    order: 1;
    justify-content: flex-end;
  }
}

.site-footer .footer-brand .footer-copyright {
  display: block;
  margin-top: 8px;
}

/* Footer: mobile layout tidy-up (wrap links, avoid odd spacing) */
@media (max-width: 640px) {
  .site-footer .footer-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .site-footer .footer-links li + li {
    margin-left: 0;
  }
}

/* Contact form */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.required {
  color: #00BFFB;
}

/* Inputs: dark typed text, lighter placeholders */
.input,
.textarea {
  color: #1D2026;
}

.input::placeholder,
.textarea::placeholder {
  color: #8A94A7;
}

/* Select placeholder (first empty option) */
select.input:invalid {
  color: #8A94A7;
}

select.input {
  color: #1D2026;
}

.submit-button {
  width: 100%;
}

@media (min-width: 641px) {
  .submit-button {
    width: auto;
  }
}

.form-message {
  border: 1px solid rgba(138, 148, 167, 0.24);
  background: #242830;
  padding: 12px 16px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.form-message.success {
  border-color: rgba(2, 203, 177, 0.7);
}

.form-message.error {
  border-color: rgba(0, 191, 251, 0.7);
}

/* Ensure header background overlay doesn't block taps/clicks */
.site-header::before {
  pointer-events: none;
}

.site-header-inner {
  position: relative;
  z-index: 1;
}

/* Header: mobile menu (logo + name + menu button) */
.site-header .header-brand a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-header .header-brand-text {
  display: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.1px;
}

.site-header .header-menu-toggle {
  display: none;
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 0;
  }

  .site-header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-header .header-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header .header-brand-text {
    display: inline-block;
    white-space: nowrap;
  }

  .site-header .header-logo-image {
    height: 32px;
    width: auto;
    flex-shrink: 0;
  }

  /* Use the .js class added by dist/js/main.min.js */
  .js .site-header .header-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: transparent;
    border: 1px solid rgba(138, 148, 167, 0.24);
    color: #fff !important;
  }

  .js .site-header .header-menu-toggle i {
    font-size: 18px;
    line-height: 1;
  }

  .js .site-header .site-nav {
    display: none;
    flex: 0 0 100%;
    width: 100%;
  }

  .js .site-header.is-menu-open .site-nav {
    display: block;
  }

  .js .site-header .header-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .js .site-header .header-links li {
    display: flex;
  }

  .js .site-header .header-links a:not(.button) {
    padding: 12px 8px;
  }

  .js .site-header .header-links a {
    width: 100%;
  }

  .js .site-header .header-links .button.button-sm {
    width: 100%;
  }
}
