/*
Theme Name: Classy - Child
Version: 587
Description: A child theme of DMM by Almina
Template: mts_schema
Text Domain: schema
*/

/* Carousel */
@import url("../mts_schema/style.css");

/* general */

* {
  box-sizing: border-box;
}

/*
@font-face {
  font-family: "ProximaNova";
  src: url("assets/ProximaNova-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "ProximaNova";
  src: url("assets/ProximaNova-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "ProximaNova";
  src: url("assets/ProximaNova-Bold.ttf") format("truetype");
  font-weight: 700;
}
*/

#page {
  padding: 0px;
}

a.btn {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  background: rgb(0, 0, 0);
  color: #ffffff !important;
  border-radius: 4px;
  font-weight: bold;
}

#header a.btn {
  padding: 10px 15px;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0px 15px;
}
.anchor-fix {
  position: relative;
  top: -160px;
  width: 100%;
  height: 1px;
}
html #secondary-navigation > nav > ul > li:hover,
html #secondary-navigation > nav > ul > li.current-menu-item,
html #secondary-navigation > nav > ul li.current-menu-item,
html #secondary-navigation > nav > ul > li.current-menu-parent {
  background: transparent !important;
}

html #secondary-navigation > nav > ul > li:hover > a,
html #secondary-navigation > nav > ul > li.current-menu-item > a,
html #secondary-navigation > nav > ul > li.current-menu-parent > a,
html #secondary-navigation > nav ul.sub-menu > li.current_page_item > a,
html #secondary-navigation > nav > ul > li.current-menu-item > a {
  color: var(--pColor) !important;
}
.navigation ul ul {
  background: #fff !important;
}
.sub-menu .current_page_item:before {
  opacity: 0;
}
@keyframes fadeInUpa {
  0% {
    opacity: 0;
    transform: translate3d(0, 150px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUpa {
  animation-name: fadeInUpa;
}

@keyframes fadeInLefta {
  0% {
    opacity: 0;
    transform: translate3d(-150px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInLefta {
  animation-name: fadeInLefta;
}

/* Footer */
.copyrights {
  padding: 5vh 0px;
}

.copyrights p a {
  line-height: 1;
  display: inline-block;
}

.copyrights p {
  margin-bottom: 23px;
}

footer .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #000;
  background: #fff;
  display: inline-block;
  text-align: center;
  line-height: 40px;
}

.dm-full.footer-creds p {
  margin-bottom: 0px;
}

footer#site-footer {
  margin: 0px;
}

.copyrights .dm-flex {
  align-items: inherit;
}

.copyrights .dm-half {
  padding: 0px;
}

.copyrights iframe {
  height: 100%;
}

a#move-to-top {
  width: 40px;
  height: 40px;
}

.copyrights .dm-full {
  text-align: center;
  padding: 20px 0px;
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  opacity: 0.9;
}

.dm-col-3 {
  width: 40%;
}

.dm-col-3 span {
  border: 0px !important;
  padding: 0px !important;
  margin: 0px !important;
}

.dm-flex.dm-full {
  justify-content: space-between;
  margin-bottom: 50px;
}

.dm-flex.dm-full h4 {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 17px;
}

.dm-full.footer-contact-info img {
  max-width: 400px;
  margin: 0px auto;
  display: block;
  float: none;
}

.logo-wrap {
  margin: 0px;
  float: none;
  overflow: visible;
}

.dm-full.footer-contact-info {
  margin-bottom: 50px;
}

.copyrights .dm-half:nth-child(1) {
  padding-top: 80px;
  padding-bottom: 80px;
  font-size: 14px;
}

.footer-wrapper {
  max-width: 620px;
  margin-right: 0px;
  margin-left: auto;
  margin: 0px auto;
}

.dm-full.footer-creds p:nth-child(2) {
  margin: 0px;
}

.copyrights h3,
.copyrights h4 {
  color: #fff;
}

.copyrights {
  text-align: left;
}

.copyrights .dm-flex {
  max-width: 1300px;
  margin: 0px auto 20px;
}

section.visit-us-today {
  padding: 10vh;
}

section.visit-us-today ifraME {
  border-radius: 0px 50px;
  box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 14%);
  display: block;
}

section.visit-us-today .dm-flex {
  gap: 35px;
}

section.visit-us-today .dm-half {
  flex: 1;
}

section.visit-us-today h2 {
  font-size: 40px;
}

section.visit-us-today .dm-half li:before {
  opacity: 0;
  padding: 0px;
}

section.visit-us-today ul {
  padding: 0px;
}

section.visit-us-today li {
  margin-bottom: 22px;
  padding-left: 40px;
  position: relative;
}

section.visit-us-today i {
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 23px;
  color: var(--pColor);
}

section.visit-us-today a {
  display: block;
  line-height: 1;
}

/* Blog Section */
section.dm-blog-posts {
  padding: 100px 0px;
}

section.dm-blog-posts h4 {
  text-align: center;
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 1px;
}

.dm-blog-image {
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  border-radius: 9px;
  margin-bottom: 13px;
  position: absolute !important;
  top: 0px;
  left: 0px;
  width: 100%;
  opacity: 0.5;
}

.dm-blog-image p {
  font-size: 17px;
}

section.dm-blog-posts p {
  font-size: 16px;
  color: #000;
}

section.dm-blog-posts h3 {
  font-weight: bold;
}

section.dm-blog-posts .dm-flex {
  margin-top: 30px;
  align-items: inherit;
}

section.dm-blog-posts .dm-third:hover {
  background-color: #fff;
  box-shadow: 0 20px 30px -10px rgb(38 115 228 / 20%);
}

section.dm-blog-posts .dm-third {
  padding: 20px;
  border-radius: 10px;
  padding: 20px;
  border-radius: 10px;
  -webkit-transition: background-color 200ms ease, box-shadow 350ms ease,
    color 200ms ease;
  transition: background-color 200ms ease, box-shadow 350ms ease,
    color 200ms ease;
}

section.dm-blog-posts .dm-third:nth-child(2) {
  animation-delay: 0.2s;
}
section.dm-blog-posts .dm-third:nth-child(3) {
  animation-delay: 0.4s;
}

/* Services  */
.central-tab {
  flex: 1 1 16%;
  padding: 10px;
}

section.new-service-section .dm-half:nth-child(2),
section.n-s-section .dm-third:nth-child(2),
.central-tab:nth-child(2) {
  animation-delay: 0.2s;
}
section.new-service-section .dm-half:nth-child(3),
section.n-s-section .dm-third:nth-child(3),
.central-tab:nth-child(3) {
  animation-delay: 0.3s;
}
section.new-service-section .dm-half:nth-child(4),
.central-tab:nth-child(4) {
  animation-delay: 0.4s;
}
.central-tab:nth-child(5) {
  animation-delay: 0.5s;
}
.central-tab:nth-child(6) {
  animation-delay: 0.6s;
}
.central-tab:nth-child(7) {
  animation-delay: 0.7s;
}

.central-wrapper .central-tab img {
  border-radius: 10px;
}

.central-img-tabs {
  display: flex;
  justify-content: center;
  padding: 0px 15px;
  margin-top: -65px;
}

.central-img-tabs img {
  height: 140px !important;
  object-fit: cover;
  width: 100%;
  cursor: pointer;
  border-radius: 10px;
  text-align: center;
  display: block;
}

.central-img-tabs h3 {
  text-align: center;
  text-transform: uppercase;
  font-size: 15px;
}

.central-wrapper {
  background: #4e8abf;
  padding: 80px 0px 120px;
}

.central-wrapper .central-tab:nth-child(1) {
  display: block;
}

.central-wrapper .central-tab {
  display: none;
}

section.central-services .container-wide {
  max-width: 1300px;
  margin: 0px auto;
}

.central-img-tabs .central-tab-item > div {
  margin-bottom: 10px;
  border-radius: 10px;
  border: 3px solid rgba(0, 0, 0, 0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.central-img-tabs .central-tab-item > div:hover {
  border-color: var(--aColor);
}

.central-tab-item.active-service-button > div {
  border-color: var(--aColor);
}

section.new-service-section {
  padding: 6vh 0px;
}

section.new-service-section h2 {
  text-align: center;
  font-size: 45px;
  margin-bottom: 0px;
}

section.new-service-section .dm-half p {
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  margin: 10px 0px;
}

section.new-service-section h3 {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 0px;
  line-height: 1;
}

section.new-service-section span {
  text-transform: uppercase;
  letter-spacing: 0px;
  background: var(--pColor);
  color: #fff;
  font-weight: bold;
  padding: 5px 25px;
  border-radius: 4px;
  font-size: 17px;
}

section.new-service-section .dm-third {
  flex: 1 1 30%;
  width: auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 15px;
  border-radius: 20px 20px 0px 0px;
  flex-basis: 300px;
}

section.new-service-section .dm-flex {
  align-items: inherit;
}

section.new-service-section .dm-third:hover {
  background-image: initial;
  background-color: #ffffff;
  box-shadow: 0px 5px 15px -6px rgb(0 0 0 / 30%);
  transform: translateX(0px) translateY(-15px) !important;
}

/* Testimonials */
.main-head-wrap.header_fixed #regular-header {
}

.central-text-wrapper:nth-child(odd) .letter-wrap {
  background: var(--pColor);
}

.dm-half-plus .slick-dots button {
  background: rgb(17 17 17 / 19%);
}

.letter-wrap img {
  position: absolute;
  bottom: 0px;
  right: 0px;
  transform: scaleX(-1);
  max-width: 60px;
}

.central-text-wrapper {
  padding: 20px 10px;
}

section.classy-testimonials {
  padding: 6vh 0px;
  background: #ffffff;
  position: relative;
  background-size: 50%;
  background-position: 50% 50%;
  background-attachment: fixed;
}

.dm-half-plus {
  display: block;
  flex: 1 1 66.66%;
  width: 66.66%;
}

.classy-testimonials-wrapper.dm-flex {
  max-width: 1300px;
  margin: 0px auto;
}

.classy-testimonials-wrapper.dm-flex strong {
  font-size: 50px;
  line-height: 1;
  font-weight: 400;
  padding-right: 50px;
  display: block;
}

.letter-wrap {
  background-color: var(--aColor);
  border-radius: 0 22px 0 22px;
  overflow: hidden;
  padding-top: 30px;
  position: relative;
  padding-right: 25px;
  padding-bottom: 30px;
  padding-left: 25px;
  box-shadow: 0px 5px 10px -6px rgb(0 0 0 / 30%);
}

.letter-wrap p {
  font-size: 17px;
}

.letter-wrap h4 {
  font-size: 25px;
  border-top: 1px solid #000;
  padding-top: 10px;
}

section.central-testimonials {
  padding: 100px 0px;
  background-size: cover;
  background-position: 50% 0%;
  position: relative;
}

.central-testimonials-wrapper {
  margin: 0px auto;
  width: 52%;
  margin-right: 0px;
  padding: 50px 0px 30px;
  position: relative;
}

.central-testimonials-wrapper .dm-half {
  width: 47.5vw;
  max-width: 650px;
}

.central-testimonials-wrapper strong {
  display: block;
  margin-bottom: 40px;
}

.central-testimonials-wrapper p {
  font-size: 24px;
}

.central-test-content {
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 1.5;
}

.central-test-content + h4 {
}

section.central-services {
  margin-bottom: 80px;
}

section.central-testimonials:before {
  height: 100%;
  width: 100%;
  position: absolute;
  content: "";
  background: #000;
  top: 0px;
  left: 0px;
  opacity: 0.5;
}

section.central-testimonials * {
  color: #fff;
}

.central-testimonials-wrapper li:before {
  display: none;
}

.central-testimonials-wrapper .slick-dots {
  position: relative;
  bottom: 0px;
  text-align: left;
}

.central-testimonials-wrapper .slick-dots li button:before {
  opacity: 0.3 !important;
}

.central-testimonials-wrapper .slick-dots li button {
  opacity: 0.5;
}

.central-testimonials-wrapper .slick-dots .slick-active button {
  background: #fff !important;
  opacity: 1 !important;
}

.central-testimonials-wrapper {
  padding: 50px 0px 30px;
}

.central-tab-item {
  cursor: pointer;
}

/* Half Half  */
section.half-half-classy {
  padding: 10vh 0px;
  background: #f4f6f3;
}

section.half-half-classy img {
  border-radius: 50px 0px;
}

section.half-half-classy h2 {
  font-size: 41px;
}

section.half-half-classy p {
  font-weight: 300;
}

.main-head-wrap.header_fixed #header {
  background: rgb(255 255 255 / 95%);
}

/* CTA  */
.cta-content {
  border-radius: 45px 0 45px 0;
  width: 100%;
  max-width: 1000px;
  margin: 0px auto;
}

.cta-carrier {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0px auto;
  height: 45vw;
}

.cta-carrier h2 {
  font-size: 41px;
}

section.cta-classic {
  background-attachment: fixed;
  background-size: cover;
  background-position: 50% 50%;
}

/* Welcome */
section.central-welcome {
  padding: 3vh 0px;
}

section.central-welcome .container-wide {
}

section.central-welcome h2 {
  font-size: 55px;
  text-align: center;
}

.central-welcome .central-image img {
  width: 100%;
  height: 100% !important;
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / 20%);
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50px 0px;
}
section.central-welcome .dm-flex {
}

.central-image {
  position: relative;
  height: 100%;
}

section.central-welcome .dm-half:nth-child(1) {
  flex: 1 1 45%;
  position: relative;
  z-index: 1;
}

section.central-welcome .dm-half:nth-child(2) {
  flex: 1 1 55%;
  margin-top: -20px;
  max-width: 55%;
}

#site-header .container-wide {
}

.container-wide {
  max-width: 1300px;
  margin: 0px auto;
  width: 100%;
  padding: 0px 15px;
}

section.central-welcome h3 {
  color: #fff;
}

section.central-welcome blockquote {
  background: transparent;
  padding: 0px 20px;
  margin-bottom: 20px;
  border-left: 2px solid var(--aColor);
  font-style: italic;
  opacity: 0.9;
}

section.central-welcome blockquote:after {
  left: 10px;
  top: 10px;
  color: #fff;
  font-size: 90px;
  line-height: 90px;
  opacity: 0;
}

section.central-welcome blockquote p + p {
  font-weight: bold;
  font-size: 14px;
}

/* Mobile */
.mobile_cta_buttons.hide-d.mobile-btn p a {
  color: #fff;
  display: block;
  padding: 10px 20px;
}

.mobile_cta_buttons.hide-d.mobile-btn p {
  text-align: center;
  margin-bottom: 10px;
}

.mobile_cta_buttons.hide-d.mobile-btn div.header-social-icons a {
  color: #fff;
  margin: 0px 10px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  padding: 0px !important;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
  float: none;
}

.mobile_cta_buttons.hide-d.mobile-btn div.header-social-icons {
  background: transparent;
  width: 100%;
  float: none;
  text-align: center;
  margin: 0px;
}

.mobile_cta_buttons.hide-d.mobile-btn {
  padding: 20px 20px;
  display: none;
}

@media (min-width: 881px) {
  .main-head-wrap.header_fixed #regular-header {
    margin-top: -51px;
  }
  .mobile_cta_buttons.hide-d.mobile-btn div.header-social-icons:before {
    display: none;
  }
}

/* Header */

@media (min-width: 881px) {
  div#header nav {
    width: auto;
    margin: 0px auto;
    margin-right: 0px;
  }
}

#secondary-navigation #logo a {
  font-weight: bold;
  font-size: 26px;
}

html #header #logo {
  float: none !important;
  display: block !important;
}

div#header {
  background: #fff;
  padding: 10px 0px;
  float: none;
}

.regular_header #secondary-navigation {
  float: none;
}

div#regular-header i {
  margin-right: 8px;
}

.main-head-wrap {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
}
.header-spacer {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 881px) {
  .header-spacer {
    min-height: 161px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
}

#logo {
  float: none !important;
}

#logo a {
  padding: 0px !important;
  float: none;
  display: block;
}

div#secondary-navigation {
  float: none;
  display: flex;
  align-items: center;
}

#header .logo-wrap {
  padding: 0px;
  overflow: visible;
  max-width: 23%;
}

nav.navigation.clearfix #menu-main-menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-left: 30px;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

#logo img {
  float: none;
  max-width: 200px;
}

ul#menu-main-menu a {
}

#secondary-navigation a {
  padding: 10px 15px;
}

div#regular-header {
  background: var(--pColor);
}

div#regular-header * {
  color: #fff;
}

div#regular-header .container-wide.dm-flex p {
  margin: 0px;
}

div#regular-header .container-wide {
  padding: 0px;
}

.dm-third.social-header {
  text-align: right;
}

.dm-third.social-header a {
  margin-left: 10px;
}

.dm-third.address-header {
  text-align: center;
}

.dm-third.phone-header {
  text-align: left;
}

#regular-header {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.dm-full.footer-contact-info {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}

/* Video */
.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 1;
  max-width: 1300px;
  margin: 0px auto;
  left: 0px;
  right: 0px;
  text-align: left;
  padding: 0px 15px;
}

.carousel-caption span {
  color: #fff;
  font-size: 23px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.carousel-caption h2 p {
  font-weight: 400;
  line-height: 1.5;
  font-size: 24px;
  max-width: 700px;
  opacity: 0.9;
  margin: 10px auto 20px;
  margin-left: 0px;
}

.video_holder:before {
  height: 100%;
  width: 100%;
  position: absolute;
  content: "";
  background: #000;
  opacity: 1;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgb(0 0 0 / 53%) 100%
  );
}

.carousel-caption h2 {
  color: #fff;
  font-size: 60px;
  max-width: 720px;
  line-height: 1.2;
  margin-bottom: 25px;
}

html .video_holder {
  height: calc(100vh - 135px);
  width: 100%;
  min-height: 500px;
}

.carousel-caption a:hover {
  background: #000 !important;
}

.dm-slide-main .slide-caption p {
  text-shadow: 1px 2px 2px #000 !important;
}
.dm-slide-main .slide-caption a,
.central-wrapper h3,
.central-wrapper p {
  color: #fff;
}
html .slick-next {
  display: none;
}

/* Responsive */
@media (max-width: 1300px) {
  .container-wide {
    padding: 0px 15px;
  }
}

@media (max-width: 1025px) {
  .copyrights .dm-half {
    flex: 1 1 100%;
  }

  .copyrights .dm-half:nth-child(1) {
    order: 2;
  }

  .dm-full.footer-creds p {
    text-align: center;
  }

  .copyrights .dm-half iframe {
    height: 350px;
  }

  .central-welcome .central-image img {
    width: 100%;
  }

  .central-img-tabs img {
    height: 120px !important;
  }
}

@media (max-width: 991px) {
  html .dm-slide-main {
    height: 250px !important;
  }
  html .dm-slide-main .slide-caption {
    bottom: 10px;
  }
  html .dm-slide-main .slide-caption h2 {
    font-size: 26px !important;
  }
  html .dm-slide-main .slide-caption p {
    font-size: 14px;
  }
  .mobile_cta_buttons.hide-d.mobile-btn {
    display: block;
  }
  #secondary-navigation {
    height: auto !important;
  }
  .dm-blog-posts .dm-third {
    flex: 1 1 50%;
    flex-basis: 320px;
    max-width: 50%;
  }

  section.central-services {
    display: flex;
    flex-wrap: wrap;
  }

  section.central-services > .container-wide {
    order: 1;
  }

  .central-wrapper {
    order: 2;
    padding: 80px 0px;
  }

  .central-img-tabs {
    margin: 0px;
  }

  section.central-services {
    margin-bottom: 0px;
  }

  section.dm-blog-posts .dm-third {
    flex-basis: 320px;
  }
}
@media (max-width: 881px) {
  #page.homepage {
    padding: 0px !important;
  }
  html a#pull {
    width: auto;
    text-align: center;
    padding: 0px;
    color: #000 !important;
    background: transparent !important;
    font-size: 29px;
    position: relative;
    display: block;
    margin: 0px !important;
    margin-left: 15px !important;
  }

  html a#pull:after {
    position: relative;
    padding: 0px !important;
    left: 0px;
    right: 0px;
    top: 0px !important;
  }

  .regular_header #secondary-navigation {
    width: 100%;
    justify-content: space-between;
  }

  #header a.btn {
    margin: 0px auto;
    margin-right: 0px;
  }

  .dm-third.social-header {
    display: none;
  }

  nav.navigation.clearfix #menu-main-menu {
    margin: 0px !important;
  }
  #header .logo-wrap {
    max-width: initial;
  }

  .carousel-caption h2 p {
    display: none;
  }

  .carousel-caption {
    text-align: center;
  }

  section.central-welcome .container-wide {
    border: 0px;
    padding: 20px 10px;
  }

  section.central-welcome {
    padding: 5vh 0px;
  }

  .classy-testimonials-wrapper.dm-flex strong {
    padding: 0px;
    text-align: center;
    font-size: 40px;
  }

  .cta-carrier {
    padding: 10vh 0px;
  }

  .cta-content {
    width: 100%;
  }

  section.half-half-classy {
    padding: 5vh 0px;
  }

  section.visit-us-today {
    padding: 5vh 10px;
  }

  section.visit-us-today .dm-half {
    flex: 1 1 100%;
  }

  .dm-full.footer-creds p {
    width: 100%;
    text-align: center;
    flex: 1 1 100%;
    text-align: center !important;
    justify-content: center;
  }

  .copyrights .dm-full {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  html .video_holder {
    max-height: 500px !important;
  }
  .header-spacer {
    height: 95px;
  }
  div#regular-header {
    display: none;
  }
  .dm-blog-posts .dm-third {
    flex-basis: 320px;
    max-width: 100%;
  }
  section.central-welcome .dm-half:nth-child(1) {
    flex: 1 1 100%;
    margin-bottom: 30px;
  }

  .central-tab {
    flex: 1 1 33.33%;
  }

  .central-img-tabs {
    flex-wrap: wrap;
  }
  .central-wrapper {
    padding: 50px 0px;
  }

  .central-wrapper .dm-half {
    flex: 1 1 100%;
  }

  .central-testimonials-wrapper {
    padding: 15px;
    width: 100%;
    text-align: center;
  }

  .central-testimonials-wrapper .dm-half {
    width: 100%;
    max-width: 100%;
  }
  .copyrights .dm-half:nth-child(1) {
    padding: 40px 0px;
  }
  .central-testimonials-wrapper .slick-dots {
    text-align: center;
  }
  .dm-col-3 {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 640px) {
  div#header {
    padding: 10px 0px;
  }
  #header a.btn {
    display: none;
  }
}
@media (max-width: 540px) {
  footer .dm-full {
    padding: 0px 15px;
  }
  .dm-full.footer-contact-info img {
    width: 100%;
    max-width: 90%;
  }
  .central-tab {
    flex: 1 1 50%;
  }
  .carousel-caption h2 {
    font-size: 32px;
  }
  section.central-welcome h2 {
    font-size: 30px;
  }
  .central-img-tabs {
    padding: 0px;
  }
  .central-wrapper .dm-half {
    padding: 0px;
  }
}

/* MLoc */
.container-wide.dm-flex .dm-full {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.container-wide.dm-flex .dm-full p {
  padding: 0px 5px !important;
  font-size: 14px !important;
}

.container-wide.dm-flex p:after {
  content: "-";
  position: relative;
  right: -3px;
}

.container-wide.dm-flex p:last-of-type:after {
  display: none;
}

.container-wide.dm-flex .dm-full p:nth-child(1) a {
  font-weight: bold;
}

div#regular-header * {
  color: #000;
}

.dm-half.social-header {
  display: flex;
  justify-content: flex-end;
}

.social-header .social-icons a {
  padding: 0px 5px;
}

.dm-half.social-header .dm-rate-us {
  padding: 10px 15px;
  background: var(--aColor);
  margin: 0px;
}

.dm-half.social-header > * {
  padding: 10px 15px;
}

.dm-half.social-header .dm-rate-us span {
  text-transform: uppercase;
  font-size: 18px;
}

.video-location {
  max-width: 1300px;
  position: absolute;
  bottom: 10%;
  z-index: 1;
  margin: 0px auto;
  left: 0px;
  right: 0px;
  padding: 0px 15px;
}

.video-location i {
  color: #f4f4ea;
}

.video-location a {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
}

#header .header-inline-appt a {
  font-size: 14px !important;
  color: #fff !important;
}

section.home-icons {
  background-color: whitesmoke;
  padding: 11vh 0px;
  position: relative;
}

section.home-icons .dm-flex {
  align-items: inherit;
}

section.home-icons h4 {
  color: rgb(53, 52, 49);
  font-weight: bold;
  font-size: 30px;
}

section.home-icons h4:after {
  content: "";
  width: 100px;
  height: 2px;
  background: var(--pColor);
  display: block;
  margin: 15px 0px;
}

section.home-icons img {
  display: block;
  margin-bottom: 20px;
  max-width: 85px;
}

section.home-icons .dm-third {
  position: relative;
  padding-bottom: 55px;
}

section.home-icons a.btn {
  position: absolute;
  bottom: 0px;
  background: var(--pColor) !important;
}

section.home-icons .dm-third:nth-child(2) {
  animation-delay: 0.2s;
}

section.home-icons .dm-third:nth-child(3) {
  animation-delay: 0.4s;
}

section.central-welcome h5 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dm-flix {
  padding: 20px;
  background: var(--sColor);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.dm-flix .dm-half {
  order: inherit !important;
}

.dm-flix .dm-flex {
  align-items: center;
}

.dm-welcome-image img {
  display: block;
  max-width: 600px;
  margin: 0px auto;
  margin-right: 0px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.dm-welcome-image {
  position: relative;
  bottom: -20px;
}

.dm-welcome-content h3 {
  font-size: 40px;
  line-height: 1.2;
}

.dm-welcome-content p {
  color: #fff;
  font-size: 19px;
}

section.central-welcome h2 {
  margin-bottom: 0px;
  color: #000;
}

section.central-welcome .dm-full {
  padding-bottom: 80px;
}

.dm-welcome-image:before {
  content: "";
  background-image: url(/wp-content/uploads/2025/02/2589185_314.png);
  position: absolute;
  bottom: -50px;
  right: -70px;
  height: 100%;
  width: 100%;
  background-size: contain;
  opacity: 0.1;
  filter: brightness(0) invert(1);
  transform: scaleX(-1);
}

section.new-service-section h2 + p {
  text-align: center;
  margin-bottom: 70px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

section.new-service-section .dm-half:nth-child(1),
section.new-service-section .dm-half:nth-child(4) {
  flex: 1 1 60%;
}

section.new-service-section .dm-half {
  flex: 1 1 33%;
  margin-bottom: 30px;
}

section.new-service-section a {
  height: 396px;
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.6);
}

section.new-service-section a > * {
  position: relative;
  z-index: 1;
  color: #fff;
}

section.new-service-section a:hover {
  transform: scale(1.05);
}

section.new-service-section h3:after {
  margin: 10px 0px 0px;
  content: "";
  height: 2px;
  background: #fff;
  position: relative;
  display: block;
  width: 70px;
}

section.n-s-section {
  position: relative;
  padding: 7vh 0px;
  /* background: linear-gradient(180deg,var(--aColor) 0%,#fff 100.29%); */
}

section.n-s-section h2 {
  text-align: center;
  margin: 0px;
  font-size: 45px;
}

section.n-s-section h2 + p {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

section.n-s-section .dm-flex {
  align-items: inherit;
  padding-top: 60px;
}

section.n-s-section .dm-third {
  box-shadow: 9px 12px 20px 0px rgba(186, 183, 182, 0.35);
  flex: 1 1 calc(33.33% - 30px);
  margin: 0px 15px;
  padding: 40px;
  border-radius: 20px;
  border-bottom: 4px solid var(--pColor);
  background: #fbfbfb;
}

section.n-s-section .dm-third p {
  line-height: 1.6;
}

section.n-s-section .dm-third h3 {
  color: #000;
  position: relative;
  font-weight: 700;
}

section.n-s-section h3:after {
  content: "";
  width: 80px;
  background: var(--sColor);
  display: block;
  height: 2px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.full-list {
  margin-top: 70px;
  text-align: center;
  position: relative;
}

.full-list:before {
  width: calc(50% - (314px / 2));
  left: 0px;
  height: 1px;
  background: var(--pColor);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "";
}

.full-list:after {
  width: calc(50% - (314px / 2));
  right: 0px;
  height: 1px;
  background: var(--pColor);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "";
}

.full-list .no-bg {
  border: 2px solid var(--pColor);
  background: transparent !important;
  font-weight: bold !important;
  font-size: 15px;
  color: #000 !important;
}

section.n-s-section img {
  margin-bottom: 20px;
  display: block;
  max-width: 90px;
}

section.classy-testimonials h2 {
  font-size: 45px;
  text-align: center;
}

section.classy-testimonials h2 + p {
  text-align: center;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  margin-bottom: 65px;
}

span.hiddenRest {
  display: none;
}

.new-wrap {
  background: linear-gradient(
    239deg,
    rgba(255, 255, 255, 0.9) 17.93%,
    rgba(255, 255, 255, 0.9) 81.51%
  ) !important;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0px 1px 10px #0000001f;
}

.new-text-wrapper {
  padding: 20px;
}

.testimonial-stars i {
  color: #d3b013;
}

.testimonial-stars i {
  margin-right: 2px;
}

.testimonial-stars {
  margin-bottom: 5px;
}

section.classy-testimonials .dm-flex + .dm-full {
  margin-bottom: 55px;
}

.name-f {
  height: 60px;
  width: 60px;
  background: var(--pColor);
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.inline-tex {
  display: flex;
  align-items: center;
}

.inline-tex h4 {
  margin-left: 15px;
  margin-bottom: 0px;
  color: #000;
  font-size: 19px;
}

.pp-testimonials-content {
  font-size: 16px;
}

span.read_more {
  font-weight: bold;
  cursor: pointer;
}

section.classy-testimonials:before {
  bottom: 0px;
  right: 0px;
  height: 100%;
  width: 100%;
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  opacity: 0.9;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;
  background: #fff;
}

.copyrights {
  float: none;
}

.dm-full.footer-creds {
  position: relative;
  padding: 15px 0px;
}

.dm-full.footer-creds:before {
  height: 100%;
  width: 100%;
  position: absolute;
  content: "";
  background: #000;
  opacity: 0.4;
  top: 0px;
  left: 0px;
}

.dm-full.footer-creds * {
  color: #fff;
}

.bottom-footer {
  display: flex;
  flex-wrap: wrap;
}

.bottom-footer p {
  flex: 1 1 50%;
}

.bottom-footer p:nth-child(3) {
  flex: 1 1 100%;
  text-align: right;
}

.bottom-footer p:nth-child(2) {
  text-align: right;
}

.dm-full.footer-creds .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0px 15px;
}

.dm-full.footer-creds a {
  font-weight: bold;
}

section.visit-us-block {
  padding: 7vh 0px;
}

.visit-us-flex {
  margin-bottom: 50px;
}

.visit-us-flex:last-of-type {
  margin: 0px;
}

.visit-us-flex.welcomeright .dm-half:nth-child(1) {
  order: 2;
}

.visit-us-flex {
  border: 2px solid var(--pColor);
  border-radius: 20px;
  overflow: hidden;
  background: whitesmoke;
}

.visit-us-flex .dm-flex {
  margin: 0px -15px;
}

.visit-us-flex .dm-half:nth-child(2) {
}

html .middle {
  padding: 50px;
}

.visit-us-flex img {
  display: block;
}

.middle h3 {
  color: #000;
  font-size: 30px;
  line-height: 1;
}

.middle h3:after {
  content: "";
  width: 80px;
  background: var(--sColor);
  display: block;
  height: 2px;
  margin-top: 15px;
  margin-bottom: 15px;
}

html a.newbtn {
  margin: 0px;
  background: var(--pColor);
  color: #000;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
}

section.visit-us-block li a {
  color: #000;
  font-weight: bold;
}

.visit-us-flex li:before {
  display: none;
}

.visit-us-flex li {
  list-style: disc;
}

.visit-us-flex:last-of-type li {
  list-style: none;
  padding-bottom: 11px;
}

.visit-us-flex:last-of-type ul {
  padding-left: 0px;
}

.visit-us-flex iframe,
.visit-us-flex img {
  height: 550px !important;
  object-fit: cover;
}

a.sticks {
  border: 0px;
  background: var(--pColor);
  color: #000;
}

a.sticks:nth-child(2) {
  color: #fff;
  background: var(--sColor);
}

.home .wow {
  opacity: 0;
}

.home .wow.fadeInUp,
.home .wow.fadeInUpa {
  opacity: 0;
  transform: translate3d(0, 100%, 0);
}

.home .wow.animated {
  animation-fill-mode: forwards !important;
}

@media (max-width: 880px) {
  .copyrights .dm-fourth {
    margin-bottom: 30px;
  }

  section.home-icons .dm-third {
    margin-bottom: 40px;
  }

  section.n-s-section h2 {
    font-size: 35px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  section.n-s-section .dm-third {
    margin-bottom: 30px;
  }

  section.classy-testimonials h2 {
    font-size: 35px;
    line-height: 1.2;
  }

  .visit-us-flex iframe,
  .visit-us-flex img {
    height: 400px !important;
  }
  section.new-service-section .dm-half {
    flex: 1 1 100%;
  }
}

div#regular-header * {
  color: #fff;
}

section.home-icons:before {
  height: 100%;
  width: 100%;
  position: absolute;
  content: "";
  top: 0px;
  background-image: url(/wp-content/uploads/2025/04/marble.jpg);
  left: 0px;
  opacity: 0.2;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;
}

section.home-icons p {
  font-size: 21px;
}

html .wda_video_style .buttonToAuto {
  bottom: auto;
  text-align: right;
  top: 0px;
}

section.central-welcome h2 + h3 {
  text-align: center;
  color: var(--aColor);
  font-size: 34px;
}

footer .social-icons a:hover {
  background-color: var(--aColor);
}

section.central-welcome h4 {
  text-align: center;
  font-size: 30px;
  letter-spacing: 1px;
  opacity: 0.7;
}

@media (min-width: 881px) {
  li#menu-item-32 {
    display: none;
  }
}

@media (max-width: 880px) {
  section.central-welcome .dm-half:nth-child(2) {
    max-width: 100%;
  }
}

section.central-welcome .dm-flix:before {
  height: 100%;
  width: 100%;
  position: absolute;
  content: "";
  background-image: url(/wp-content/uploads/2025/04/marble.jpg);
  top: 0px;
  left: 0px;
  opacity: 0.4;
  background-attachment: fixed;
}

section.classy-testimonials .slick-dots button {
  background: var(--aColor);
}

/* =====================================================================
   BRANDON TMS & PSYCHIATRY — HOME PAGE
   Design styles for page-home.php. Every rule is scoped under .homepage
   (#page.homepage) so it never affects the DMM header/footer or inner pages.
   ===================================================================== */

/* Anchor offset under the sticky DMM header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
/* ============================================================
   Brandon TMS & Psychiatry — Theme Styles
   Organized for later conversion to a WordPress theme.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --cream: #fdfcf8;
  --cream-2: #f7f5ee;
  --sage-bg: #f2f9f2;
  --ink: #17212a;
  --ink-2: #1a232c;
  --ink-deep: #0f181f;
  --green: #2b6242; /* primary buttons / deep accent */
  --green-600: #234f36;
  --green-700: #1d4530;
  --green-heading: #2f6a47; /* heading accent on light bg */
  --sage: #8fb89c; /* accent on dark bg */
  --sage-soft: #a7c9b2;
  --chip-green: #e3efe4; /* light icon chip bg */
  --chip-green-2: #d9ebdd;
  --text: #46515b;
  --text-strong: #1f2830;
  --muted: #7c8791;
  --muted-2: #98a2ab;
  --card: #ffffff;
  --border: #eceadf;
  --border-2: #e4e1d5;
  --gold: #e2a52b;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(23, 33, 42, 0.05);
  --shadow: 0 10px 30px -12px rgba(23, 33, 42, 0.12);
  --shadow-lg: 0 30px 60px -24px rgba(23, 33, 42, 0.22);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1400px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
.homepage *,
.homepage *::before,
.homepage *::after {
  box-sizing: border-box;
}
.homepage * {
  margin: 0;
}
.homepage {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
.homepage {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* overflow-x: hidden; */
}
.homepage img,
.homepage svg {
  display: block;
  max-width: 100%;
}
.homepage a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}
.homepage a:hover {
  color: var(--green-700);
}
.homepage ul {
  list-style: none;
  padding: 0;
}
.homepage button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
.homepage input,
.homepage select,
.homepage textarea {
  font-family: inherit;
  font-size: inherit;
}
.homepage h1,
.homepage h2,
.homepage h3,
.homepage h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.homepage p {
  text-wrap: pretty;
}

/* ---------- Utilities ---------- */
.homepage .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
}
.homepage .container--narrow {
  max-width: 840px;
}
.homepage .icon {
  width: 1em;
  height: 1em;
  flex: none;
}
.homepage .inline-mark {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.12em;
  color: var(--green);
}
.homepage .accent {
  color: var(--green-heading);
}
.homepage .accent--light {
  color: var(--sage);
}

.homepage .section {
  padding: clamp(64px, 8vw, 118px) 0;
}
.homepage .section--sage {
  background: var(--sage-bg);
}
.homepage .section--dark {
  background: var(--ink-2);
}

.homepage .section__head {
  max-width: 720px;
  margin: 0 auto clamp(44px, 5vw, 72px);
  text-align: center;
}
.homepage .section__head--left {
  text-align: left;
  margin-inline: 0;
  max-width: 640px;
}
.homepage .eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-heading);
  margin-bottom: 18px;
}
.homepage .eyebrow--light {
  color: var(--sage);
}
.homepage .section__title {
  font-size: clamp(2rem, 4vw, 3rem);
}
.homepage .section--dark .section__title {
  color: #f4f6f4;
}
.homepage .section__subtitle {
  margin-top: 20px;
  font-size: 1.06rem;
  color: var(--muted);
}
.homepage .section--dark .section__subtitle {
  color: #9fb0ac;
}

/* ---------- Buttons ---------- */
.homepage .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 26px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}
.homepage .btn .icon {
  width: 18px;
  height: 18px;
}
.homepage .btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(43, 98, 66, 0.7);
}
.homepage .btn--primary:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-2px);
}
.homepage .btn--block {
  width: 100%;
  padding-block: 17px;
}
.homepage .btn--outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.homepage .btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.homepage .btn--outline-dark {
  background: #fff;
  color: var(--text-strong);
  border: 1.5px solid var(--border-2);
}
.homepage .btn--outline-dark:hover {
  color: var(--text-strong);
  border-color: var(--green);
  transform: translateY(-2px);
}
.homepage .btn--pill {
  padding: 11px 20px;
  font-size: 0.92rem;
}
.homepage .btn--light {
  background: #fff;
  color: var(--text-strong);
  box-shadow: var(--shadow-sm);
}
.homepage .btn--light:hover {
  color: var(--green);
  transform: translateY(-1px);
}
.homepage .btn--ghost-light {
  color: #eef2ef;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}
.homepage .btn--ghost-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   HEADER
   ============================================================ */
.homepage .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}
.homepage .site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.homepage .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.homepage .brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #3f7a56, #234f36);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.homepage .brand__mark .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}
.homepage .brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.homepage .brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.24rem;
  color: inherit;
  letter-spacing: -0.01em;
}
.homepage .brand__tag {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-top: 3px;
}

.homepage .main-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.homepage .main-nav__link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 15px;
  border-radius: 999px;
}
.homepage .main-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.homepage .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.homepage .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
}
.homepage .nav-toggle .icon {
  width: 26px;
  height: 26px;
  margin: auto;
}
.homepage .nav-toggle--close {
  display: none;
}

/* scrolled state */
.homepage .site-header.is-scrolled {
  background: rgba(253, 252, 248, 0.9);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 12px 30px -22px rgba(23, 33, 42, 0.4);
}
.homepage .site-header.is-scrolled .brand {
  color: var(--text-strong);
}
.homepage .site-header.is-scrolled .brand__tag {
  color: var(--green-heading);
}
.homepage .site-header.is-scrolled .main-nav__link {
  color: var(--text);
}
.homepage .site-header.is-scrolled .main-nav__link:hover {
  color: var(--green);
  background: var(--chip-green);
}
.homepage .site-header.is-scrolled .btn--light {
  background: var(--green);
  color: #fff;
}
.homepage .site-header.is-scrolled .btn--ghost-light {
  color: var(--text-strong);
  border-color: var(--border-2);
}
.homepage .site-header.is-scrolled .btn--ghost-light:hover {
  background: var(--chip-green);
  color: var(--green);
}
.homepage .site-header.is-scrolled .nav-toggle {
  color: var(--text-strong);
}

/* ============================================================
   HERO
   ============================================================ */
.homepage .hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.homepage .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Replace the gradient below with the real photo when available:
     background-image: url('assets/images/hero.jpg'); background-size: cover; background-position: center; */
  background: radial-gradient(
      120% 90% at 78% 12%,
      rgba(210, 196, 168, 0.55) 0%,
      rgba(210, 196, 168, 0) 42%
    ),
    linear-gradient(
      179deg,
      #2f3f47 0%,
      #465a5e 26%,
      #7d857c 44%,
      #c3b295 52%,
      #9aa197 60%,
      #55625c 74%,
      #212a2f 100%
    );
}
.homepage .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 28, 34, 0.32),
    rgba(20, 28, 34, 0) 30%,
    rgba(20, 28, 34, 0.55) 100%
  );
}
.homepage .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(15, 22, 28, 0.82) 0%,
    rgba(15, 22, 28, 0.5) 46%,
    rgba(15, 22, 28, 0.12) 100%
  );
}
.homepage .hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 90px;
  width: 100%;
}
.homepage .hero__content {
  color: #fff;
  max-width: 620px;
}
.homepage .badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(143, 184, 156, 0.16);
  border: 1px solid rgba(143, 184, 156, 0.4);
  color: #d7e7dc;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.homepage .badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fd39a;
  box-shadow: 0 0 0 4px rgba(127, 211, 154, 0.25);
}
.homepage .hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  color: #fff;
  line-height: 1.05;
}
.homepage .hero__title-mark {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  vertical-align: -0.08em;
  margin-right: 0.12em;
  color: var(--sage);
}
.homepage .hero__text {
  margin-top: 26px;
  font-size: 1.12rem;
  line-height: 1.66;
  color: rgba(238, 242, 239, 0.86);
  max-width: 540px;
}
.homepage .hero__note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--sage-soft);
  font-weight: 600;
  font-size: 0.96rem;
}
.homepage .hero__note .icon {
  width: 18px;
  height: 18px;
}
.homepage .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.homepage .hero__cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.homepage .info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(23, 33, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.7);
}
.homepage .info-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(143, 184, 156, 0.16);
  color: var(--sage-soft);
}
.homepage .info-card__icon .icon {
  width: 24px;
  height: 24px;
}
.homepage .info-card__title {
  font-family: var(--sans);
  font-weight: 800;
  color: #fff;
  font-size: 1.04rem;
}
.homepage .info-card__text {
  margin-top: 5px;
  color: rgba(220, 228, 224, 0.8);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ============================================================
   SERVICES
   ============================================================ */
.homepage .featured {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--ink-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.homepage .featured__body {
  padding: clamp(36px, 4vw, 56px);
}
.homepage .chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}
.homepage .chip .icon {
  width: 16px;
  height: 16px;
}
.homepage .chip--dark {
  background: rgba(143, 184, 156, 0.14);
  border: 1px solid rgba(143, 184, 156, 0.34);
  color: var(--sage);
}
.homepage .featured__title {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin-top: 24px;
}
.homepage .featured__text {
  color: rgba(214, 222, 218, 0.78);
  margin-top: 20px;
  font-size: 1.04rem;
  line-height: 1.7;
  max-width: 560px;
}

.homepage .stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.homepage .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.homepage .stat__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(143, 184, 156, 0.14);
  color: var(--sage);
  margin-bottom: 12px;
}
.homepage .stat__icon .icon {
  width: 21px;
  height: 21px;
}
.homepage .stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  color: #fff;
  line-height: 1;
}
.homepage .stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.homepage .checklist {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 15px;
}
.homepage .checklist__item {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(223, 230, 226, 0.9);
  font-size: 1rem;
}
.homepage .checklist__item .icon {
  width: 22px;
  height: 22px;
  color: var(--sage);
  flex: none;
}

.homepage .featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.homepage .featured__panel {
  background: #12191f;
  padding: clamp(30px, 3vw, 44px);
  display: flex;
  flex-direction: column;
}
.homepage .featured__panel-label {
  text-align: center;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}
.homepage .diagram {
  flex: 1;
  min-height: 340px;
  border-radius: var(--radius);
  background: #fff;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    135deg,
    #f4f5f2 0 12px,
    #eef0ec 12px 24px
  );
}
.homepage .featured__caption {
  margin-top: 20px;
  text-align: center;
  color: rgba(190, 199, 194, 0.7);
  font-size: 0.86rem;
  line-height: 1.55;
}
.homepage .placeholder-tag {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #7d8a80;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px dashed #b9c3b8;
}

.homepage .services-grid {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.homepage .service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.homepage .service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--chip-green-2);
}
.homepage .service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--chip-green);
  color: var(--green);
  margin-bottom: 22px;
}
.homepage .service-card__icon .icon {
  width: 26px;
  height: 26px;
}
.homepage .service-card__eyebrow {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-heading);
}
.homepage .service-card__title {
  font-size: 1.5rem;
  margin-top: 8px;
}
.homepage .service-card__text {
  margin-top: 14px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.62;
}
.homepage .service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.95rem;
}
.homepage .service-card__link .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}
.homepage .service-card__link:hover .icon {
  transform: translateX(3px);
}

/* ============================================================
   CONDITIONS
   ============================================================ */
.homepage .conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.homepage .condition-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.homepage .condition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.homepage .condition-card__icon {
  font-size: 30px;
  line-height: 1;
  display: block;
  margin-bottom: 22px;
}
.homepage .condition-card__title {
  font-size: 1.45rem;
}
.homepage .condition-card__text {
  margin-top: 12px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ============================================================
   ABOUT
   ============================================================ */
.homepage .about .section__head {
  margin-bottom: 34px;
}
.homepage .about__text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 22px;
}
.homepage .about__text p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #56616b;
}
.homepage .stat-card {
  width: max-content;
  margin: 44px auto 0;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 54px;
  box-shadow: var(--shadow);
}
.homepage .stat-card__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--text-strong);
  display: block;
  line-height: 1;
}
.homepage .stat-card__label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

.homepage .values-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin-inline: auto;
}
.homepage .value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(226, 239, 228, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.homepage .value__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--chip-green);
  color: var(--green);
}
.homepage .value__icon .icon {
  width: 22px;
  height: 22px;
}
.homepage .value__title {
  font-family: var(--sans);
  font-weight: 800;
  color: var(--text-strong);
  font-size: 1.02rem;
}
.homepage .value__text {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 3px;
}

/* ============================================================
   TEAM
   ============================================================ */
.homepage .team {
  background: var(--cream-2);
}
.homepage .team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 1040px;
  margin-inline: auto;
}
.homepage .provider {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.homepage .provider--lead {
  background: var(--ink-2);
  border-color: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.homepage .provider__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}
.homepage .provider__avatar {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  background: var(--chip-green);
  color: var(--green);
}
.homepage .provider--lead .provider__avatar {
  background: linear-gradient(150deg, #3f7a56, #234f36);
  color: #fff;
}
.homepage .provider__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: center;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(143, 184, 156, 0.16);
  color: var(--sage);
  border: 1px solid rgba(143, 184, 156, 0.3);
}
.homepage .provider__badge .icon {
  width: 14px;
  height: 14px;
}
.homepage .provider__name {
  font-size: 1.5rem;
}
.homepage .provider--lead .provider__name {
  color: #fff;
}
.homepage .provider__cred {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--green-heading);
  letter-spacing: 0.04em;
}
.homepage .provider--lead .provider__cred {
  color: var(--sage);
}
.homepage .provider__role {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.homepage .provider--lead .provider__role {
  color: #9fb0ac;
}
.homepage .provider__role .icon {
  width: 17px;
  height: 17px;
  color: var(--green);
}
.homepage .provider--lead .provider__role .icon {
  color: var(--sage);
}
.homepage .provider__text {
  margin-top: 16px;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--text);
}
.homepage .provider--lead .provider__text {
  color: rgba(214, 222, 218, 0.8);
}
.homepage .provider--lead .provider__text .inline-mark {
  color: var(--sage);
}

/* ============================================================
   PROCESS
   ============================================================ */
.homepage .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.homepage .step {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.homepage .step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.homepage .step__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(143, 184, 156, 0.14);
  color: var(--sage);
}
.homepage .step__icon .icon {
  width: 23px;
  height: 23px;
}
.homepage .step__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.6rem;
  color: rgba(143, 184, 156, 0.18);
  line-height: 1;
}
.homepage .step__title {
  color: #f4f6f4;
  font-size: 1.3rem;
}
.homepage .step__text {
  margin-top: 12px;
  color: #9fb0ac;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ============================================================
   INSURANCE
   ============================================================ */
.homepage .plan-group {
  margin-bottom: 44px;
}
.homepage .plan-group__head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.homepage .plan-group__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--chip-green);
  color: var(--green);
}
.homepage .plan-group__icon--filled {
  background: var(--chip-green-2);
}
.homepage .plan-group__icon .icon {
  width: 23px;
  height: 23px;
}
.homepage .plan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.homepage .plan-item {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 17px 22px;
  font-weight: 600;
  color: var(--text-strong);
  font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
}
.homepage .plan-item .icon {
  width: 21px;
  height: 21px;
  color: var(--green);
  flex: none;
}

.homepage .notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #e9f4ea;
  border: 1px solid #cfe6d4;
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-top: 8px;
}
.homepage .notice__icon {
  color: var(--green);
  flex: none;
}
.homepage .notice__icon .icon {
  width: 24px;
  height: 24px;
}
.homepage .notice__title {
  font-family: var(--sans);
  font-weight: 800;
  color: var(--text-strong);
  font-size: 1.05rem;
}
.homepage .notice__text {
  margin-top: 5px;
  color: #4c5b50;
  font-size: 0.98rem;
  line-height: 1.6;
}
.homepage .notice__text strong {
  color: var(--green-700);
}

.homepage .insurance__cta {
  text-align: center;
  margin-top: 44px;
}
.homepage .insurance__cta p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.homepage .testimonials {
  background: radial-gradient(
      60% 50% at 50% 0%,
      rgba(226, 239, 228, 0.55),
      rgba(226, 239, 228, 0) 70%
    ),
    var(--cream);
}
.homepage .testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.homepage .testi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.homepage .testi__quote-mark {
  color: #dfe6e0;
}
.homepage .testi__quote-mark .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1;
  fill: currentColor;
}
.homepage .testi__stars {
  display: flex;
  gap: 3px;
  margin: 16px 0;
  color: var(--gold);
}
.homepage .testi__stars .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}
.homepage .testi__quote {
  color: #4a555f;
  font-size: 1rem;
  line-height: 1.66;
}
.homepage .testi__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.homepage .testi__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--chip-green);
  color: var(--green);
  font-weight: 700;
}
.homepage .testi__name {
  font-weight: 800;
  color: var(--text-strong);
  font-size: 0.98rem;
}
.homepage .testi__role {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.homepage .contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.homepage .contact__lead {
  margin-top: 20px;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.66;
  max-width: 480px;
}
.homepage .contact-list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}
.homepage .contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-strong);
  font-weight: 600;
}
.homepage .contact-item a {
  color: var(--text-strong);
}
.homepage .contact-item a:hover {
  color: var(--green);
}
.homepage .contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--chip-green);
  color: var(--green);
}
.homepage .contact-item__icon .icon {
  width: 21px;
  height: 21px;
}
.homepage .contact__chip {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  background: #e9f4ea;
  border: 1px solid #cfe6d4;
  border-radius: 14px;
  padding: 15px 20px;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.95rem;
}
.homepage .contact__chip .icon {
  width: 19px;
  height: 19px;
}
.hero__bg:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  background-image: url(/wp-content/uploads/2026/07/calm-nature-SFqYnrmqPVVVK4vcor9TiQ.webp);
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: 50% 50%;
}
a.brand:after {
  content: "Brandon TMS & Psychiatry";
  font-family: "Playfair Display";
}
.homepage .form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 3vw, 44px);
  box-shadow: var(--shadow);
}
.homepage .form-card__title {
  font-size: 1.7rem;
}
.homepage .form-card__sub {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.98rem;
}
.homepage .form {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}
.homepage .form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.homepage .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.homepage .field__label {
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #55606a;
}
.homepage .field__optional {
  color: var(--muted-2);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.homepage .field input,
.homepage .field select,
.homepage .field textarea {
  width: 100%;
  background: #f7f6f0;
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text-strong);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.homepage .field textarea {
  resize: vertical;
  min-height: 110px;
}
.homepage .field input::placeholder,
.homepage .field textarea::placeholder {
  color: #a2acaf;
}
.homepage .field input:focus,
.homepage .field select:focus,
.homepage .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 98, 66, 0.1);
}
.homepage .field input.is-invalid,
.homepage .field textarea.is-invalid {
  border-color: #c9553d;
  box-shadow: 0 0 0 4px rgba(201, 85, 61, 0.1);
}
.homepage .form__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 2px;
}
.homepage .form__note.is-success {
  color: var(--green);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.homepage .site-footer {
  background: var(--ink-deep);
  color: #b9c2ca;
  padding: clamp(56px, 6vw, 84px) 0 34px;
}
.homepage .footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr;
  gap: 44px;
}
.homepage .brand--footer {
  color: #fff;
  margin-bottom: 20px;
}
.homepage .brand--footer .brand__mark {
  width: 38px;
  height: 38px;
}
.homepage .brand--footer .brand__name {
  font-size: 1.16rem;
}
.homepage .footer__desc {
  font-size: 0.96rem;
  line-height: 1.66;
  color: #96a2ac;
  max-width: 330px;
}
.homepage .footer-contact {
  margin-top: 22px;
  display: grid;
  gap: 13px;
}
.homepage .footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #a6b1ba;
}
.homepage .footer-contact .icon {
  width: 18px;
  height: 18px;
  color: var(--sage);
  flex: none;
}

.homepage .footer__heading {
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.homepage .footer-links {
  display: grid;
  gap: 12px;
}
.homepage .footer-links--cols {
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.homepage .footer-links a {
  color: #9aa6af;
  font-size: 0.93rem;
}
.homepage .footer-links a:hover {
  color: var(--sage-soft);
}

.homepage .footer-hours {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.homepage .hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}
.homepage .hours-row span:first-child {
  color: #9aa6af;
}
.homepage .hours-row span:last-child {
  color: #e6ebe8;
  font-weight: 600;
}
.homepage .crisis {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #96a2ac;
}
.homepage .crisis strong {
  color: #e6ebe8;
}

.homepage .footer__share {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.homepage .footer__share > span {
  color: #9aa6af;
  font-size: 0.95rem;
}
.homepage .social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.homepage .social__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #cdd5db;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.homepage .social__btn:hover {
  background: var(--green);
  color: #fff;
}
.homepage .social__btn .icon {
  width: 18px;
  height: 18px;
}
.homepage .social__btn--icon {
  width: 40px;
  padding: 0;
  justify-content: center;
}

.homepage .footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  color: #8b97a1;
}
.homepage .footer__bottom .inline-mark {
  color: var(--sage);
}
.homepage .footer__legal {
  display: flex;
  gap: 26px;
}
.homepage .footer__legal a {
  color: #8b97a1;
}
.homepage .footer__legal a:hover {
  color: var(--sage-soft);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  :root {
    --header-h: 76px;
  }

  /* mobile navigation */
  .homepage .nav-toggle {
    display: grid;
    place-items: center;
  }
  .homepage .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 84vw);
    z-index: 120;
    background: var(--cream);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.4);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 88px 30px 30px;
    overflow-y: auto;
  }
  .homepage .main-nav.is-open {
    transform: translateX(0);
  }
  .homepage .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .homepage .main-nav__link {
    color: var(--text-strong);
    font-size: 1.05rem;
    padding: 14px 16px;
    border-radius: 12px;
  }
  .homepage .main-nav__link:hover {
    background: var(--chip-green);
    color: var(--green);
  }
  .homepage .nav-toggle--close {
    display: grid;
    position: absolute;
    top: 18px;
    right: 18px;
    color: var(--text-strong);
  }
  .homepage .header-actions .btn--ghost-light {
    display: none;
  }
  .homepage.nav-open {
    overflow: hidden;
  }
  .homepage .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(15, 22, 28, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  .homepage .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 1080px) {
  .homepage .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .homepage .hero__cards {
    max-width: 560px;
  }
  .homepage .featured {
    grid-template-columns: 1fr;
  }
  .homepage .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .homepage .services-grid,
  .homepage .conditions-grid,
  .homepage .plan-list,
  .homepage .testi-grid,
  .homepage .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .homepage .team-grid,
  .homepage .contact__grid {
    grid-template-columns: 1fr;
  }
  .homepage .values-grid {
    grid-template-columns: 1fr;
  }
  .homepage .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 84vw);
    z-index: 120;
    background: var(--cream);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.4);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 88px 30px 30px;
    overflow-y: auto;
  }
}

@media (max-width: 640px) {
  .homepage .header-actions .btn--light {
    display: none;
  }
  .homepage .container {
    padding-inline: 22px;
  }
  .homepage {
    font-size: 16px;
  }
  .homepage .services-grid,
  .homepage .conditions-grid,
  .homepage .plan-list,
  .homepage .testi-grid,
  .homepage .steps {
    grid-template-columns: 1fr;
  }
  .homepage .form__row {
    grid-template-columns: 1fr;
  }
  .homepage .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .homepage .footer-links--cols {
    grid-template-columns: 1fr 1fr;
  }
  .homepage .stats {
    gap: 26px;
  }
  .homepage .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .homepage .footer__share {
    flex-direction: column;
    text-align: center;
  }
  .homepage .hero {
    min-height: 0;
    padding-block: 0;
  }
  .homepage .hero__title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
}

/* ---------- Reveal animation ---------- */
.homepage .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.homepage .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .homepage .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .homepage {
    scroll-behavior: auto;
  }
}

/* Gravity Forms inside the appointment card */
.homepage .form-embed {
  margin-top: 8px;
}
.homepage .form-card .gform_wrapper,
.homepage .form-card .gform_wrapper form {
  margin: 0;
}
.homepage .form-card .gfield {
  margin-bottom: 16px;
}
.homepage .form-card .gfield_label,
.homepage .form-card legend.gfield_label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #55606a;
  margin-bottom: 8px;
}
.homepage
  .form-card
  input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.homepage .form-card select,
.homepage .form-card textarea {
  width: 100%;
  background: #f7f6f0;
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text-strong);
  font-family: var(--sans);
}
.homepage .form-card input:focus,
.homepage .form-card select:focus,
.homepage .form-card textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 98, 66, 0.1);
}
.homepage .form-card .gform_footer {
  padding: 8px 0 0;
}
.homepage .form-card .gform_button,
.homepage .form-card button[type="submit"],
.homepage .form-card input[type="submit"] {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 17px 26px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.homepage .form-card .gform_button:hover,
.homepage .form-card input[type="submit"]:hover {
  background: var(--green-700);
}

/* =====================================================================
   GLOBAL HEADER & FOOTER (all pages) — not scoped to .homepage
   Uses design classes that don't collide with the parent theme's
   #site-header / #site-footer / .copyrights markup.
   ===================================================================== */
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

/* Fixed header offset: inner pages clear the header; front page overlays the hero. */
body {
  padding-top: var(--header-h);
}
body.home {
  padding-top: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  font-family: var(--sans);
  background: rgba(253, 252, 248, 0.95);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 12px 30px -22px rgba(23, 33, 42, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 9999;
}
.site-header .container {
  max-width: 1400px;
  padding-inline: 40px;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  text-decoration: none;
}
.brand__logo {
  max-height: 54px;
  width: auto;
  display: block;
}
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #3f7a56, #234f36);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.brand__mark .icon {
  width: 24px;
  height: 24px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.24rem;
  color: inherit;
  letter-spacing: -0.01em;
}
.brand__tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-heading);
  margin-top: 3px;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__list li {
  margin: 0;
}
.main-nav__list a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 15px;
  border-radius: 999px;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav__list a:hover,
.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_item > a {
  color: var(--green);
  background: var(--chip-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.18s ease;
}
.hbtn .icon {
  width: 18px;
  height: 18px;
}
.hbtn--light {
  background: var(--green);
  color: #fff;
}
.hbtn--light:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-1px);
}
.hbtn--ghost {
  color: var(--text-strong);
  border: 1.5px solid var(--border-2);
}
.hbtn--ghost:hover {
  background: var(--chip-green);
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--text-strong);
  background: var(--pColor);
  border: none;
  cursor: pointer;
	
}
.nav-toggle .icon {
  width: 26px;
  height: 26px;
  margin: auto;
}
.nav-toggle--close {
  display: none;
}

/* Front-page overlay state (transparent until scrolled) */
.site-header--overlay:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.site-header--overlay:not(.is-scrolled) .brand {
  color: #fff;
}
.site-header--overlay:not(.is-scrolled) .brand__tag {
  color: var(--sage-soft);
}
.site-header--overlay:not(.is-scrolled) .main-nav__list a {
  color: rgba(255, 255, 255, 0.9);
}
.site-header--overlay:not(.is-scrolled) .main-nav__list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.site-header--overlay:not(.is-scrolled) .hbtn--light {
  background: #fff;
  color: var(--text-strong);
}
.site-header--overlay:not(.is-scrolled) .hbtn--ghost {
  color: #eef2ef;
  border-color: rgba(255, 255, 255, 0.32);
}
.site-header--overlay:not(.is-scrolled) .hbtn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.site-header--overlay:not(.is-scrolled) .nav-toggle {
  color: #fff;
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 84vw);
    z-index: 120;
    background: var(--cream);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.4);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 88px 30px 30px;
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav__list a,
  .site-header--overlay:not(.is-scrolled) .main-nav__list a {
    color: var(--text-strong);
    font-size: 1.05rem;
    padding: 14px 16px;
  }
  .main-nav__list a:hover {
    background: var(--chip-green);
    color: var(--green);
  }
  .nav-toggle--close {
    display: grid;
    position: absolute;
    top: 18px;
    right: 18px;
  }
  .header-actions .hbtn--ghost {
    display: none;
  }
  body.nav-open {
    overflow: hidden;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(15, 22, 28, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 640px) {
  .header-actions .hbtn--light {
    display: none;
  }
}

/* Footer */
.site-footer {
  background: var(--ink-deep);
  color: #b9c2ca;
  padding: clamp(56px, 6vw, 84px) 0 34px;
  font-family: var(--sans);
}
.site-footer .container {
  max-width: 1280px;
  padding-inline: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr;
  gap: 44px;
}
.brand--footer {
  color: #fff;
  margin-bottom: 20px;
  display: inline-flex;
}
.brand--footer .brand__mark {
  width: 38px;
  height: 38px;
}
.brand--footer .brand__name {
  font-size: 1.16rem;
  color: #fff;
}
.footer__desc {
  font-size: 0.96rem;
  line-height: 1.66;
  color: #96a2ac;
  max-width: 330px;
}
.footer-contact {
  margin-top: 22px;
  display: grid;
  gap: 13px;
  list-style: none;
  padding: 0;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #a6b1ba;
}
.footer-contact li a {
  color: inherit;
  text-decoration: none;
}
.footer-contact li a:hover {
  color: var(--sage-soft);
}
.footer-contact .icon {
  width: 18px;
  height: 18px;
  color: var(--sage);
  flex: none;
}
.footer__heading {
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links--cols {
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.footer-links li {
  margin: 0;
}
.footer-links a {
  color: #9aa6af;
  font-size: 0.93rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--sage-soft);
}
.footer-hours {
  margin-bottom: 22px;
}
.footer-hours p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
  color: #9aa6af;
  margin: 0 0 10px;
}
.footer-hours p strong,
.footer-hours p b {
  color: #e6ebe8;
  font-weight: 600;
}
.crisis {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #96a2ac;
}
.crisis strong {
  color: #e6ebe8;
}
.footer__share {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__share > span {
  color: #9aa6af;
  font-size: 0.95rem;
}
.site-footer .social,
.site-footer .social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.site-footer .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #cdd5db;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-footer .social-icons a:hover {
  background: var(--green);
  color: #fff;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  color: #8b97a1;
}
.footer__bottom p {
  margin: 0;
}
.footer__bottom .icon {
  width: 15px;
  height: 15px;
  color: var(--sage);
}
.footer__legal {
  display: flex;
  gap: 26px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__legal li {
  margin: 0;
}
.footer__legal a {
  color: #8b97a1;
  text-decoration: none;
}
.footer__legal a:hover {
  color: var(--sage-soft);
}
@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__share {
    flex-direction: column;
    text-align: center;
  }
}

/* Neutralize the parent theme's `a.btn { color:#fff !important }` for home buttons */
.homepage .btn {
  text-transform: none;
  letter-spacing: normal;
}
.homepage a.btn--outline-dark {
  color: var(--text-strong) !important;
}
.homepage a.btn--outline-dark:hover {
  color: var(--text-strong) !important;
}
.homepage a.btn--outline-light {
  color: #fff !important;
}
.homepage a.btn--ghost-light {
  color: #eef2ef !important;
}
