/* =============================== Footer Base ================================ */
.hw-footer-main {
  background: #0e182a;
  color: #e5e7eb;
  padding: 16px 12px 0;
}

.hw-footer-main a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 15px;
}

.hw-footer-main a:hover {
  color: #ff6a00;
  text-decoration-line: underline;
}

.hw-footer-main .container {
  max-width: 1260px;
}

/* =============================== Newsletter 区域（FINAL） ================================ */
.hw-footer-newsletter {
  max-width: 960px;
  margin: 28px auto 42px;
  padding: 18px 28px;
  border-radius: 18px;
  background: #2c373f;
  box-sizing: border-box;
  overflow-x: clip;
}

.hw-footer-newsletter .container {
  max-width: 100%;
  padding: 0;
}

.hw-footer-newsletter .newsletter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hw-footer-newsletter .newsletter-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  white-space: nowrap;
}

.hw-footer-newsletter .newsletter-form {
  flex: 1;
  min-width: 0;
}

.hw-footer-newsletter .newsletter-form .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  max-width: none;
}

/* =============================== INPUT (关键稳定版) ================================ */
.hw-footer-newsletter .newsletter-form .form-control {
  height: 48px;
  line-height: 48px;
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  padding: 0 18px;
  font-size: 16px;
  border: 1px solid #101010;
  background: #ffffff;
  color: #111827;
  border-right: 0;
  border-radius: 13px 0 0 13px !important;
  overflow: hidden;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-clip: padding-box;
}

.hw-footer-newsletter .newsletter-form .form-control::placeholder {
  color: #6b7280;
}

.hw-footer-newsletter .newsletter-form .form-control:focus {
  outline: 2px solid rgba(255, 106, 0, .35);
  outline-offset: 0;
  border-color: #ff6a00;
}

.hw-footer-newsletter .newsletter-form .form-control.is-invalid {
  outline: 2px solid rgba(220, 53, 69, .45);
  outline-offset: 0;
  border-color: #dc3545;
}

/* =============================== BUTTON ================================ */
.hw-footer-newsletter .newsletter-btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  min-height: 48px;
  border: none;
  background-color: #ff5c13;
  border-radius: 0 13px 13px 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  cursor: pointer;
}

.hw-footer-newsletter .newsletter-btn,
.hw-footer-newsletter .newsletter-btn:hover,
.hw-footer-newsletter .newsletter-btn:active,
.hw-footer-newsletter .newsletter-btn:focus {
  box-shadow: none !important;
  transform: none !important;
}

.hw-footer-newsletter .newsletter-btn[disabled] {
  opacity: .7;
  cursor: not-allowed;
}

.hw-footer-newsletter .nw-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hw_spin .8s linear infinite;
}

@keyframes hw_spin {
  to { transform: rotate(360deg); }
}

/* =============================== MESSAGE ================================ */
#footer-newsletter-msg {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

#footer-newsletter-msg[hidden] {
  display: none !important;
}

#footer-newsletter-msg[data-state="success"] {
  background: #e8fff1;
  color: #0f5132;
  border: 1px solid #b7f3cf;
}

#footer-newsletter-msg[data-state="error"] {
  background: #fff0f0;
  color: #842029;
  border: 1px solid #ffd0d0;
}

/* =============================== DESKTOP ≥ 992px ================================ */
@media (min-width: 992px) {
  .hw-footer-newsletter .newsletter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    align-items: center;
  }

  .hw-footer-newsletter .newsletter-title {
    white-space: normal;
    text-align: left;
  }

  #footer-newsletter-msg {
    grid-column: 2;
    width: 100%;
  }
}

/* =============================== MOBILE ≤ 768px ================================ */
@media (max-width: 768px) {
  .hw-footer-newsletter {
    max-width: calc(100% - 32px);
    padding: 16px 18px;
    border-radius: 20px;
  }

  .hw-footer-newsletter .newsletter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hw-footer-newsletter .newsletter-title {
    text-align: center;
    white-space: normal;
    margin-bottom: 8px;
  }

  .hw-footer-newsletter .newsletter-form {
    width: 88%;
    margin: 0 auto;
  }

  .hw-footer-newsletter .newsletter-form .input-group {
    flex-direction: column;
  }

  .hw-footer-newsletter .newsletter-form .form-control {
    width: 100%;
    border-right: 1px solid #101010;
    border-radius: 13px !important;
    text-align: center;
    margin-bottom: 8px;
  }

  .hw-footer-newsletter .newsletter-btn {
    width: 100%;
    border-radius: 13px !important;
  }

  #footer-newsletter-msg {
    width: 88%;
    margin: 0 auto;
  }

  .hw-footer-newsletter input,
  .hw-footer-newsletter textarea {
    font-size: 16px;
  }
}

.hw-footer-body {
  padding-bottom: 24px;
}

.hw-footer-col {
  padding: 18px 10px 12px;
}


/* =============================== Social Icons ================================ */
.hw-social {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.hw-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff4f00;
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}

/* =============================== Insurance / Hours ================================ */
.hw-insurance {
  margin: 18px 0;
}

.hw-insurance img {
  max-width: 128px;
}

.hw-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  font-size: 15px;
  color: #cbd5f5;
  align-items: baseline;
}

.hw-hours__label {
  font-weight: 600;
  color: rgba(255, 79, 0, 0.82);
  font-size: 16px;
  white-space: nowrap;
  margin-bottom: 8px;
}

.hw-hours__value {
  white-space: nowrap;
}
/* =============================== Contact（右侧） ================================ */
.hw-contact {
  display: grid;
  gap: 2px;
}

.hw-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px;
  margin-bottom: 2px;
}

.hw-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff4f00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hw-contact-text span {
  display: block;
  font-weight: 500;
  color: rgba(255, 79, 0, 0.82);
  font-size: 15px;
}

.hw-contact-text-a {
  color: #f9fafb;
  text-decoration: none;
  font-size: 15px;
}

.hw-contact-text-a:hover {
  color: #ff6a00;
}

/* =============================== Desktop ≥ 992px ================================ */

@media (min-width: 1200px){
  .hw-footer-newsletter .newsletter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 24px;
  }

  .hw-footer-newsletter .newsletter-title {
    white-space: normal;
    text-align: left;
  }

  .hw-footer-newsletter .newsletter-form {
    width: 100%;
  }

  .newsletter-form .input-group {
    width: 100%;
    max-width: none;
  }
}


/* =============================== Mobile ≤ 768px ================================ */
@media (max-width: 768px) {
  .hw-footer-newsletter {
    width: calc(100% - 32px);
    margin: 24px auto 32px;
    padding: 16px 18px;
    border-radius: 20px;
  }

  .hw-footer-newsletter .newsletter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hw-footer-newsletter .newsletter-title {
    white-space: normal;
    text-align: center;
    margin-bottom: 8px;
  }

  .hw-footer-newsletter .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .newsletter-form .input-group {
    flex-direction: column;
    width: 88%;
    margin: 0 auto;
  }

  .newsletter-row .newsletter-btn {
    width: 100%;
    justify-content: center;
    border-radius: 13px !important;
  }
}

/* =============================== Copyright ================================ */
footer.hw-footer-main .hw-copyright {
  padding: 5px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}

footer.hw-footer-main .hw-copyright p {
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
  color: rgb(123 123 123 / 52%);
}

footer.hw-footer-main .hw-copyright a {
  color: rgb(123 123 123 / 52%);
  text-decoration-line: underline;
  text-decoration-color: rgba(226, 232, 240, .16);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .18s ease, text-decoration-color .18s ease;
  text-decoration: none;
}

p {
    margin-top: 0;
    margin-bottom: 8px;
}
/* =============================== Menu Links（中间那一列） ================================ */
/* ========================== Titles ========================== */
.hw-footer-main .hwf-title,
.hw-footer-body h3.footer-links-title{
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 79, 0, 0.82);
  white-space: nowrap;
  margin: 0 0 12px;
}

/* ========================== Lists ========================== */
.footer-links-list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-menu ul,
.footer-links-information ul,
.footer-links-location ul{
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links-menu li,
.footer-links-information li,
.footer-links-location li{
  margin: 0;
}
.footer-links-back{
  margin-bottom: 6px;
}
/* ========================== Link Base ========================== */
.footer-links-state a,
.footer-links-region a,
.footer-links-utility a,
.footer-links-tertiary a,
.footer-links-secondary a,
.footer-links-back a,
.footer-links-list a{
  font-size: 15px;
  color: #cbd5f5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 12px;
}

.footer-links-list a::before,
.footer-links-back a::before,
.footer-links-region a::before,
.footer-links-state a::before,
.footer-links-utility a::before,
.footer-link-disabled::before,
.footer-links-subtitle::before{
  content: "›";
  position: absolute;
  left: 0;
  width: auto;
  opacity: 1.4;
  font-size: 18px;
  line-height: 1;
}

/* ========================== Hover / Focus ========================== */
.footer-links-back a:hover,
.footer-links-region a:hover,
.footer-links-state a:hover,
.footer-links-utility a:hover,
.footer-links-secondary a:hover,
.footer-links-tertiary a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links-back a:focus-visible,
.footer-links-region a:focus-visible,
.footer-links-state a:focus-visible,
.footer-links-utility a:focus-visible,
.footer-links-secondary a:focus-visible,
.footer-links-tertiary a:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ========================== Disabled / Subtitle ========================== */
.footer-link-disabled{
  font-size: 14px !important;
  display: inline-flex;
  align-items: center;
  color: #cbd5f5 !important;
  cursor: default;
  white-space: nowrap;
  position: relative;
  padding-left: 12px;
}

.footer-links-subtitle{
  font-size: 14px !important;
  display: inline-flex;
  align-items: center;
  color: #cbd5f5 !important;
  cursor: default;
  white-space: nowrap;
  position: relative;
  padding-left: 12px;
}

/* ========================== Utility / Meta ========================== */
.footer-links-utility{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-meta{
  display: flex;
  flex-direction: column;
  padding-left: 12px;
}

.footer-links-meta a{
  font-size: 14px;
  margin-top: 9px;
}

/* ========================== Menu Text ========================== */
.hw-footer-body h3.footer-menu-title{
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 79, 0, 0.82);
  margin: 0 0 8px;
}

.footer-menu-text__sub,
.footer-menu-text{
  font-size: 15px;
  color: #82aeff;
  margin: 0 0 8px;
  display: block;
  font-weight: 500;
}

.footer-menu-desc a{
  font-size: 14px;
  display: inline;
  color: #cbd5f5;
  text-decoration: none;
  padding-left: 12px;
  margin-bottom: 10px;
}

/* =============================== Footer Grid ================================ */
@media (min-width: 992px){
  .hw-footer-grid{
    display: grid;
    grid-template-columns: 30% 40% 30%;
    column-gap: 60px;
    align-items: start;
  }
  /* 防止内容溢出 */
  .hw-footer-grid > *{
    min-width: 0;
  }

  .hw-footer-grid > .hw-footer-col--right{
    justify-self: start;
    padding-left: 30px;   /* ⭐ 微调距离：32 / 40 / 48 / 60 都可 */
    text-align: left;
  }
}

@media (max-width: 991.98px){
  .hw-footer-grid{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
}
/* =============================== MID Column ================================ */
.hw-footer-col--mid{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hw-footer-col--mid .footer-links-information,
.hw-footer-col--mid .footer-links-menu,
.hw-footer-col--mid .footer-links-location,
.hw-footer-col--mid .footer-links-utility-block{
  width: 100%;
  max-width: 360px;
  margin-inline: 0; 
}

/* ========================== Location Link (block links) ========================== */
.footer-links-menu a,
.footer-links-information a,
.footer-links-location a{
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: #cbd5f5;
  display: block;
  position: relative;
  padding-left: 12px;
  padding-top: 4px;
  padding-bottom: 6px;
  text-decoration: none;
  white-space: normal;
}

