/* Loaded after legacy style.css — wins on fonts, header logo, nav carets */

:root {
  --font-default: var(--font-quicksand, 'Quicksand'), 'Quicksand', sans-serif;
  --font-heading: var(--font-quicksand, 'Quicksand'), 'Quicksand', sans-serif;
}

html body,
html body.upton-home-page,
html body.upton-marketing,
.upton-header,
.upton-home,
.upton-marketing-page {
  font-family: var(--font-quicksand, 'Quicksand'), 'Quicksand', sans-serif;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body button,
body input,
body textarea,
body select {
  font-family: inherit;
}

/* Single header logo — avoid legacy .logo stacking */
.upton-navbar .navbar-brand {
  display: flex;
  align-items: center;
  line-height: 1;
}

.upton-navbar .navbar-brand .upton-site-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(180px, 40vw);
}

.upton-navbar .navbar-brand img:not(.upton-site-logo) {
  display: none !important;
}

/* Prevent legacy .sticked from forcing white header */
.upton-header .upton-navbar.sticked,
.upton-header .upton-navbar.is-sticked {
  background: rgba(4, 22, 55, 0.97) !important;
}

.upton-header .upton-navbar .upton-nav-caret {
  display: inline-block;
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
}

/* Home hero centering */
.upton-home .banner-style-four .content {
  text-align: center;
}

.upton-home .banner-style-four .service-review {
  justify-content: center;
}

.upton-home .carousel-slide-content {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.upton-home .upton-overview-carousel {
  margin-left: auto;
  margin-right: auto;
}

/* Home footer only — layout fixes (marketing pages were already correct) */
body.upton-home-page footer.bg-dark.upton-footer {
  position: relative;
  z-index: 2;
}

body.upton-home-page footer ul,
body.upton-home-page footer ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

body.upton-home-page footer .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(var(--bs-gutter-x, 30px) * -0.5);
  margin-left: calc(var(--bs-gutter-x, 30px) * -0.5);
}

/* Home overview + process — Bootstrap row/cols (Tailwind reset) */
.upton-home .overview-area .row,
.upton-home .process-style-two-area .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(var(--bs-gutter-x, 30px) * -0.5);
  margin-left: calc(var(--bs-gutter-x, 30px) * -0.5);
}

/* Pricing cards — vertical gap matches horizontal column gutter */
.pricing-style-four-area .pricing-frequency-content > .row {
  row-gap: var(--bs-gutter-x, 30px);
}

/* About Us — single illustration (overrides legacy multi-image thumb layout) */
.upton-about-page .choose-us-thumb {
  padding-bottom: 0;
  float: none;
}

.upton-about-page .choose-us-thumb img {
  height: 500px;
  width: auto;
  max-width: 100%;
  float: none;
  object-fit: contain;
}
