/* Footer redesign — match Netlify mockup structure + visual polish */

/* ---------- Top split: QIP + Subscribe ---------- */
.combined-top-section {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.combined-top-section .combined-top-row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.footer-qip-col,
.footer-subscribe-col {
  float: none;
  width: 50%;
  min-height: 396px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.footer-qip-col {
  background-color: #3bb3ab;
  text-align: center;
}

.footer-qip-col h2 {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 25px;
  color: #fff;
  font-weight: 400;
  max-width: 560px;
  font-family: 'Ophian-Regular', Georgia, serif;
}

.footer-qip-badge {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.footer-subscribe-col {
  background-color: #2b3036;
}

.footer-subscribe-inner {
  max-width: 480px;
  width: 100%;
}

/* Force CF7 subscribe into stacked mockup layout */
.footer-subscribe-col .wpcf7,
.footer-subscribe-col .wpcf7-form,
.footer-subscribe-col .wpcf7-form > p,
.footer-subscribe-col .wpcf7-form .row,
.footer-subscribe-col .wpcf7-form .first,
.footer-subscribe-col .wpcf7-form .third,
.footer-subscribe-col .wpcf7-form .second,
.footer-subscribe-col .wpcf7-form .fourth {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.footer-subscribe-col .wpcf7-form .fourth {
  display: none !important;
}

.footer-subscribe-col .wpcf7-form .first .subscribe-text,
.footer-subscribe-col .wpcf7-form .first .subscribe-text p {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #fff !important;
  text-align: center !important;
  font-family: 'hk_groteskregular', Arial, sans-serif !important;
  letter-spacing: 0 !important;
  margin: 0 0 25px !important;
}

.footer-subscribe-col .wpcf7-form .first .subscribe-text em {
  color: #bfa15f !important;
  font-style: normal !important;
}

.footer-subscribe-col .wpcf7-form .third .subscribe-form {
  padding-top: 0 !important;
}

.footer-subscribe-col .wpcf7-form .third .subscribe-form .subscribe-form-inner {
  border-bottom: none !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.footer-subscribe-col .wpcf7-form .third .subscribe-form .subscribe-form-inner .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 0 15px !important;
}

.footer-subscribe-col .wpcf7-form .third .subscribe-form .subscribe-form-inner input[type="text"],
.footer-subscribe-col .wpcf7-form .third .subscribe-form .subscribe-form-inner input[type="email"] {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  padding: 12px 15px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
}

.footer-subscribe-col .wpcf7-form .third .subscribe-form .subscribe-form-inner input::placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
  opacity: 1 !important;
}

.footer-subscribe-col .wpcf7-form .third .subscribe-form .subscribe-form-inner input[type="submit"] {
  position: static !important;
  display: block !important;
  margin: 8px 0 0 auto !important;
  background-image: none !important;
  background-color: transparent !important;
  background-position: unset !important;
  color: #bfa15f !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 28px !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 4px !important;
  cursor: pointer;
  font-family: inherit !important;
}

.footer-subscribe-col .wpcf7-form .third .subscribe-form > p {
  font-size: 12px !important;
  margin: 25px 0 0 !important;
  text-align: center !important;
  color: #fff !important;
  line-height: 1.4 !important;
}

.footer-subscribe-col .wpcf7-form .ajax-loader {
  display: none !important;
}

.footer-subscribe-col .wpcf7-form div.wpcf7-response-output {
  margin: 12px 0 0 !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-align: center;
  color: #fff;
}

/* ---------- Link grid ---------- */
.footer-menus-redesign.menus-slogan-time-section {
  background: #f5f7fa;
  padding: 72px 0 92px;
}

.footer-menus-redesign .footer-slogan {
  display: none !important;
}

.footer-menus-container {
  padding: 0 15px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-menus-redesign .menus-time-section {
  background: transparent;
}

.footer-menus-redesign .menus-time-section-inner {
  padding: 40px 15px 20px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.footer-menus-redesign .custom-footer-col {
  float: none !important;
  width: 25%;
  margin: 0 0 30px;
  padding: 0 15px;
  box-sizing: border-box;
}

.footer-menus-redesign .custom-footer-col aside,
.footer-menus-redesign .widget {
  margin: 0 0 30px !important;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.footer-menus-redesign .custom-footer-col aside:last-child,
.footer-menus-redesign .widget:last-child {
  margin-bottom: 0 !important;
}

/* Mockup titles: Ophian serif, larger */
.footer-menus-redesign .widget-title {
  font-size: 24px !important;
  line-height: 1.1 !important;
  color: #252e36 !important;
  text-transform: uppercase !important;
  font-family: 'Ophian-Regular', Georgia, serif !important;
  font-weight: 500 !important;
  margin: 0 0 15px !important;
  letter-spacing: 0 !important;
}

.footer-menus-redesign .menu,
.footer-menus-redesign ul.menu,
.footer-menus-redesign .menus-time-section-inner ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-menus-redesign .menu li,
.footer-menus-redesign .menus-time-section-inner li {
  list-style: none !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
  font-size: inherit !important;
  line-height: normal !important;
  width: auto !important;
  background: transparent !important;
}

.footer-menus-redesign .menus-time-section-inner a:not(.btn-make-appointment) {
  font-size: 17px !important;
  line-height: 1.5 !important;
  color: gray !important;
  text-decoration: none !important;
  font-family: 'hk_groteskregular', Arial, sans-serif !important;
  transition: color 0.2s ease-in-out;
}

.footer-menus-redesign .menus-time-section-inner a:not(.btn-make-appointment):hover,
.footer-menus-redesign .menus-time-section-inner a:not(.btn-make-appointment):focus {
  color: teal !important;
}

/* Contact details */
.footer-contact-details.officenum-email span,
.footer-menus-redesign .officenum-email span {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 17px !important;
  color: gray !important;
  line-height: 1.45 !important;
}

.footer-menus-redesign .officenum-email span i {
  margin-right: 8px;
  color: gray;
  transition: color 0.2s ease;
}

.footer-menus-redesign .officenum-email span:hover i {
  color: teal;
}

.footer-inline-social {
  margin-top: 15px;
}

.footer-inline-social a {
  color: gray;
  font-size: 18px;
  margin-right: 12px;
  text-decoration: none !important;
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-inline-social a:hover,
.footer-inline-social a:focus,
.footer-inline-social a:hover i,
.footer-inline-social a:focus i {
  color: teal !important;
}

.footer-appointment-wrap {
  margin-top: 25px;
}

.btn-make-appointment {
  display: inline-block;
  background-color: #0aa5a5;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(10, 165, 165, 0.6);
  transition: all 0.3s ease-in-out;
  border: 2px solid transparent;
  font-family: 'hk_groteskregular', Arial, sans-serif;
}

.btn-make-appointment:hover,
.btn-make-appointment:focus {
  background-color: #fff;
  color: #0aa5a5 !important;
  box-shadow: none;
  border: 2px solid #0aa5a5;
}

/* Clinic info card — rounded + soft drop shadow like mockup */
.footer-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.footer-info-card .widget {
  margin-bottom: 0 !important;
}

.footer-info-card .widget-title {
  color: #333 !important;
  margin-bottom: 12px !important;
}

.footer-info-card .textwidget,
.footer-info-card .textwidget p,
.footer-info-card .textwidget strong {
  color: #555 !important;
  margin-bottom: 5px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.footer-info-card .textwidget strong {
  font-family: 'hk_groteskbold', Arial, sans-serif !important;
  font-weight: normal !important;
  color: #333 !important;
}

.footer-info-card .address-link {
  display: inline-block;
  margin-top: 5px;
  line-height: 1.5;
  color: gray !important;
  text-decoration: none !important;
}

.footer-info-card .address-link:hover,
.footer-info-card .address-link:focus {
  color: teal !important;
}

.footer-info-card .address-link .fa {
  margin-right: 8px;
  font-size: 1.2em;
}

.footer-three-best {
  margin: 22px 0 28px;
}

.footer-three-best img {
  max-width: 169px;
  height: auto;
  display: block;
}

.footer-opening-hours {
  margin-bottom: 0 !important;
}

/* Hide legacy full-width social bar */
footer > .social-icons {
  display: none !important;
}

/* Copyright */
footer .copyright .developeby {
  display: none !important;
}

footer .copyright {
  background: #fff;
  padding: 14px 4.166666666666667%;
  border-top: 1px solid #eef0f3;
}

footer .copyright .coprigth-text,
footer .copyright .coprigth-text p,
footer .copyright .coprigth-text a,
footer .copyright .bottom-menu ul li a {
  font-size: 14px;
  color: #7c8691;
  line-height: 18px;
}

footer .copyright .bottom-menu ul li a:hover,
footer .copyright .coprigth-text a:hover {
  color: #00938a;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .footer-menus-redesign .widget-title {
    font-size: 20px !important;
  }

  .footer-menus-redesign .menus-time-section-inner a:not(.btn-make-appointment) {
    font-size: 15px !important;
  }
}

@media (max-width: 991px) {
  .combined-top-section .combined-top-row {
    display: block !important;
  }

  .footer-qip-col,
  .footer-subscribe-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    min-height: 0;
    padding: 48px 24px;
  }

  .footer-menus-redesign.menus-slogan-time-section {
    padding: 48px 0 56px !important;
  }

  .footer-menus-redesign .menus-time-section-inner {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .footer-menus-redesign .custom-footer-col,
  .footer-menus-redesign .custom-footer-col.col-md-3,
  .footer-menus-redesign .custom-footer-col.col-sm-6 {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    float: none !important;
  }
}

@media (max-width: 767px) {
  /* Top band stacks full-bleed like mockup */
  .footer-qip-col,
  .footer-subscribe-col {
    width: 100% !important;
    padding: 40px 20px !important;
  }

  .footer-qip-col h2 {
    font-size: 18px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  .footer-qip-badge {
    max-width: 220px;
  }

  .footer-subscribe-inner {
    max-width: 100% !important;
  }

  .footer-subscribe-col .wpcf7-form .first .subscribe-text,
  .footer-subscribe-col .wpcf7-form .first .subscribe-text p {
    font-size: 16px !important;
  }

  .footer-subscribe-col .wpcf7-form .third .subscribe-form .subscribe-form-inner input[type="text"],
  .footer-subscribe-col .wpcf7-form .third .subscribe-form .subscribe-form-inner input[type="email"] {
    font-size: 16px !important; /* avoids iOS zoom */
    padding: 14px 15px !important;
  }

  /* Kill legacy responsive.css float/width rules inside redesign */
  .footer-menus-redesign.menus-slogan-time-section {
    padding: 34px 0 50px !important;
  }

  .footer-menus-redesign .menus-time-section-inner {
    display: block !important;
    padding: 10px 8px 0 !important;
    width: 100% !important;
  }

  .footer-menus-redesign .custom-footer-col,
  .footer-menus-redesign .custom-footer-col.col-md-3,
  .footer-menus-redesign .custom-footer-col.col-sm-6,
  .footer-menus-redesign .custom-footer-col.col-xs-12 {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    margin: 0 0 32px !important;
    clear: both !important;
  }

  .footer-menus-redesign .custom-footer-col:last-child {
    margin-bottom: 10px !important;
  }

  .footer-menus-redesign .widget-title {
    font-size: 22px !important;
    margin-bottom: 14px !important;
  }

  .footer-menus-redesign .menus-time-section-inner a:not(.btn-make-appointment) {
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .footer-menus-redesign .custom-footer-col aside,
  .footer-menus-redesign .widget {
    margin-bottom: 28px !important;
  }

  .footer-contact-details.officenum-email span,
  .footer-menus-redesign .officenum-email span {
    font-size: 15px !important;
    word-break: break-word;
  }

  .footer-inline-social a {
    font-size: 20px;
    margin-right: 16px;
    padding: 4px 0;
  }

  .footer-appointment-wrap {
    margin-top: 20px;
  }

  .btn-make-appointment {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 14px 20px;
  }

  .footer-info-card {
    margin-top: 0;
    padding: 22px 16px;
  }

  .footer-three-best {
    margin: 18px 0 22px;
  }

  .footer-three-best img {
    margin: 0 auto;
  }

  /* Copyright: centered stack; leave room for sticky mobile CTA */
  footer .copyright {
    padding: 16px 20px 70px !important;
    text-align: center;
  }

  footer .copyright .cpright-text-outer,
  footer .copyright .bottom-menu,
  footer .copyright .coprigth-text,
  footer .copyright .coprigth-text p {
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }

  footer .copyright .bottom-menu {
    margin-top: 10px !important;
  }

  footer .copyright .bottom-menu ul {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  footer .copyright .bottom-menu ul li {
    float: none !important;
    display: inline-block !important;
    margin: 0 12px 6px !important;
  }
}

@media (max-width: 480px) {
  .footer-qip-col,
  .footer-subscribe-col {
    padding: 36px 16px !important;
  }

  .footer-menus-redesign .custom-footer-col {
    padding: 0 12px !important;
  }

  .footer-menus-redesign .widget-title {
    font-size: 20px !important;
  }
}
