:root {
  --site-green: #a4c639;
  --site-green-dark: #7da822;
  --site-dark: #0f1d14;
  --site-dark-soft: #17281d;
  --site-text: #203024;
  --site-muted: #66756c;
  --site-light: #f7f9f5;
  --site-border: rgba(20, 42, 26, 0.1);
  --site-shadow: 0 20px 50px rgba(6, 20, 12, 0.14);
  --hero-overlay: radial-gradient(ellipse at top left, rgba(7, 17, 12, 0.60) 0%, rgba(7, 17, 12, 0.42) 34%, rgba(7, 17, 12, 0.20) 68%);
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body.theme-site {
  min-width: 320px;
  color: var(--site-text);
  font-family: 'Poppins', sans-serif;
  background: #fff;
  overflow-x: hidden;
}

img,
video,
svg,
iframe {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(164, 198, 57, 0.2);
  touch-action: manipulation;
}

.sub-header,
.sub-footer {
  display: none !important;
}

#preloader {
  z-index: 999999;
}

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

.home-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.inner-header {
  background: linear-gradient(180deg, #132217 0%, #102014 100%);
  box-shadow: 0 14px 30px rgba(7, 17, 12, 0.16);
}

.site-header .navbar {
  padding: 22px 0;
  background: transparent !important;
}

.site-header .container {
  align-items: center;
}

.navbar-brand {
  display: inline-flex;
  flex-direction: column;
  margin-right: 24px;
  padding: 0;
}

.navbar-brand .brand-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.3px;
}

.navbar-brand .brand-tag {
  margin-top: 4px;
  color: var(--site-green);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.site-header .navbar .navbar-nav .nav-item {
  margin: 0 4px;
}

.site-header .navbar .navbar-nav .nav-link {
  position: relative;
  padding: 10px 12px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
}

.site-header .navbar .navbar-nav .nav-link:hover,
.site-header .navbar .navbar-nav .active > .nav-link {
  color: var(--site-green) !important;
}

.site-header .navbar .navbar-nav .active > .nav-link::after,
.site-header .navbar .navbar-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--site-green);
  border-radius: 999px;
}

.nav-call-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  color: #fff !important;
  background: linear-gradient(180deg, var(--site-green), var(--site-green-dark));
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(125, 168, 34, 0.32);
}

.nav-call-button:hover {
  text-decoration: none;
  filter: brightness(1.04);
}

.nav-item-mobile-call {
  display: none;
}

.site-header.background-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 25, 17, 0.96) !important;
  box-shadow: 0 14px 30px rgba(6, 20, 12, 0.18);
}

.site-header.background-header .navbar {
  padding: 14px 0;
}

.navbar-toggler {
  position: relative;
  width: 46px;
  height: 42px;
  margin-left: 14px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  content: "";
}

.navbar-toggler-icon {
  top: 19px;
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  top: 6px;
}

.site-hero {
  position: relative;
  min-height: 920px;
  padding: 170px 0 120px;
  background: url('../images/rainbow-home-index.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 12, 0.15);
}

.hero-container,
.site-page-hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 610px;
  color: #fff;
}

.hero-kicker,
.page-kicker,
.section-kicker {
  margin-bottom: 14px;
  color: var(--site-green);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero-content h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 76px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -1.6px;
}

.hero-content h1 span {
  display: inline-block;
}

.hero-content h2 {
  margin-bottom: 18px;
  color: var(--site-green);
  font-size: 26px;
  font-weight: 700;
}

.hero-copy,
.page-intro,
.section-heading p,
.content-card p,
.value-card p,
.service-card p,
.calc-help,
.contact-panel p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.75;
}

.content-card p,
.section-heading p,
.value-card p,
.service-card p,
.calc-help,
.contact-panel p,
.contact-list-item span,
.contact-form-wrap label,
.contact-form-wrap .form-control,
.callback-card p {
  color: var(--site-muted);
}

.hero-feature-list {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.hero-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}

.hero-feature-list i {
  margin-top: 2px;
  color: var(--site-green);
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.filled-button,
.outline-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.filled-button {
  color: #fff !important;
  background: linear-gradient(180deg, var(--site-green), var(--site-green-dark));
  box-shadow: 0 14px 32px rgba(125, 168, 34, 0.28);
}

.outline-button {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.filled-button:hover,
.outline-button:hover,
button.filled-button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.callback-band {
  position: relative;
  z-index: 3;
  margin-top: -84px;
  margin-bottom: 20px;
}

.callback-card,
.content-card,
.value-card,
.service-card,
.contact-form-wrap,
.contact-panel,
.calculator-shell {
  background: #fff;
  border: 1px solid var(--site-border);
  border-radius: 28px;
  box-shadow: var(--site-shadow);
}

.callback-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 30px 34px;
}

.callback-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.callback-icon,
.value-icon {
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  color: var(--site-green);
  background: rgba(164, 198, 57, 0.12);
  border-radius: 18px;
  font-size: 30px;
}

.callback-intro h3,
.value-card h3,
.service-card h3,
.contact-panel h2,
.calc-copy h2,
.content-card h2,
.section-heading h2,
.contact-form-wrap h2 {
  color: var(--site-dark);
}

.callback-intro h3 {
  margin: 0 0 4px;
  font-size: 30px;
  font-weight: 700;
}

.callback-intro p {
  margin: 0;
  font-size: 16px;
}

.callback-form-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
}

.form-control {
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid rgba(20, 42, 26, 0.14);
  border-radius: 12px;
  color: var(--site-text);
  font-size: 16px;
  background: #fff;
  box-shadow: none;
}

.form-control::placeholder {
  color: #8d9a92;
}

.form-control:focus {
  border-color: rgba(164, 198, 57, 0.85);
  box-shadow: 0 0 0 4px rgba(164, 198, 57, 0.12);
}

.section-block {
  padding: 90px 0;
}

.light-section {
  background: var(--site-light);
}

.section-heading.center {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.content-card h2,
.calc-copy h2,
.contact-panel h2,
.page-hero h1,
.site-page-hero h1 {
  margin-bottom: 16px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.value-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.value-card,
.service-card,
.content-card,
.contact-panel,
.contact-form-wrap,
.calculator-shell {
  padding: 34px;
}

.value-card h3,
.service-card h3 {
  margin: 22px 0 12px;
  font-size: 22px;
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 30px;
  align-items: center;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--site-shadow);
}

.check-list {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 30px;
  color: var(--site-text);
  font-size: 16px;
  line-height: 1.6;
}

.check-list li::before {
  content: "\f00c";
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--site-green);
  font-family: FontAwesome;
  font-size: 16px;
}

.compact-list {
  margin-bottom: 0;
}

.site-page-hero {
  position: relative;
  padding: 112px 0 88px;
  background: url('../images/rainbow-home.jpg') center center / cover no-repeat;
}

.site-page-hero h1,
.site-page-hero .page-intro {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-list-item i {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--site-green);
  background: rgba(164, 198, 57, 0.12);
  border-radius: 14px;
  font-size: 20px;
}

.contact-list-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--site-dark);
  font-size: 16px;
}

.contact-list-item a {
  color: inherit;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.contact-form-grid .full-width {
  grid-column: 1 / -1;
}

.contact-form-grid label,
.form-label-strong {
  display: block;
  margin-bottom: 8px;
  color: var(--site-dark);
  font-size: 15px;
  font-weight: 600;
}

textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.calculator-shell {
  padding: 24px;
}

.calc-copy {
  padding: 10px;
}

.calc-help {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.75;
}

.calc-total {
  padding: 38px 30px;
  color: #18301d;
  background: linear-gradient(180deg, #edf6d5 0%, #e5f0c2 100%);
  border-radius: 22px;
  text-align: center;
}

.calc-total .calc-total-label {
  color: #315206;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.calc-total .amount {
  margin: 16px 0;
  color: #18301d;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.phone-only-prompt {
  display: none;
}

.site-footer {
  padding: 26px 0;
  background: #101d14;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.site-footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--site-green);
  text-decoration: none;
}

@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 64px;
  }

  .callback-card {
    grid-template-columns: 1fr;
  }

  .callback-form-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar {
    padding: 18px 0;
  }

  .navbar-brand .brand-title {
    font-size: 22px;
  }

  .navbar-brand .brand-tag {
    font-size: 12px;
  }

  .nav-call-button {
    display: none !important;
  }

  .nav-item-mobile-call {
    display: list-item;
  }

  .site-header .navbar-collapse {
    margin-top: 18px;
    padding: 12px 16px;
    background: rgba(13, 25, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(6, 20, 12, 0.18);
  }

  .site-header .navbar .navbar-nav .nav-item {
    margin: 0;
  }

  .site-header .navbar .navbar-nav .nav-link {
    padding: 12px 8px;
  }

  .site-header .navbar .navbar-nav .active > .nav-link::after,
  .site-header .navbar .navbar-nav .nav-link:hover::after {
    display: none;
  }

  .site-hero {
    min-height: auto;
    padding: 150px 0 110px;
  }

  .hero-content h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    gap: 22px;
  }

  .site-page-hero {
    padding: 88px 0 72px;
  }

  .section-heading h2,
  .content-card h2,
  .calc-copy h2,
  .contact-panel h2,
  .site-page-hero h1 {
    font-size: 38px;
  }
}

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

  .navbar-brand {
    max-width: calc(100% - 70px);
  }

  .navbar-brand .brand-title {
    font-size: 20px;
  }

  .navbar-brand .brand-tag {
    font-size: 11px;
  }

  .site-hero {
    padding: 138px 0 100px;
    background-position: 62% center;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-content h2 {
    font-size: 22px;
  }

  .hero-copy,
  .page-intro,
  .section-heading p,
  .content-card p,
  .value-card p,
  .service-card p,
  .calc-help,
  .contact-panel p,
  .hero-feature-list li {
    font-size: 16px;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .callback-band {
    margin-top: -62px;
  }

  .callback-card,
  .value-card,
  .service-card,
  .content-card,
  .contact-panel,
  .contact-form-wrap,
  .calculator-shell {
    padding: 26px;
    border-radius: 22px;
  }

  .callback-form-inline,
  .contact-form-grid,
  .value-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 72px 0;
  }

  .section-heading.center {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .content-card h2,
  .calc-copy h2,
  .contact-panel h2,
  .site-page-hero h1 {
    font-size: 32px;
  }

  .split-media img {
    min-height: 300px;
  }

  .calc-total .amount {
    font-size: 42px;
  }

  .phone-only-prompt {
    display: block;
    margin-bottom: 10px;
  }

  .footer-links {
    gap: 8px 18px;
  }
}

@media (max-width: 575.98px) {
  .site-hero {
    padding-top: 132px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content h2 {
    font-size: 20px;
  }

  .hero-feature-list li {
    gap: 10px;
  }

  .filled-button,
  .outline-button,
  .callback-form-inline button,
  .calculator-form .filled-button,
  .contact-form-grid .filled-button {
    width: 100%;
  }

  .callback-card,
  .value-card,
  .service-card,
  .content-card,
  .contact-panel,
  .contact-form-wrap,
  .calculator-shell {
    padding: 22px;
  }
}

/* High-resolution brand and restored original service options */
.navbar-brand {
  width: 300px;
  max-width: 30vw;
  margin-top: 0 !important;
  flex: 0 0 auto;
}

.site-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-hero {
  background-image: url('../images/rainbow-home-index-hd.jpg');
  background-image: -webkit-image-set(
    url('../images/rainbow-home-index-hd.webp') 1x,
    url('../images/rainbow-home-index-2x.webp') 2x
  );
  background-image: image-set(
    url('../images/rainbow-home-index-hd.webp') 1x,
    url('../images/rainbow-home-index-2x.webp') 2x
  );
}

.site-page-hero {
  background-image: url('../images/rainbow-home-hd.jpg');
}

@supports (background-image: image-set(url('../images/rainbow-home-hd.webp') type('image/webp') 1x)) {
  .site-page-hero {
    background-image: image-set(
      url('../images/rainbow-home-hd.webp') type('image/webp') 1x,
      url('../images/rainbow-home-hd.jpg') type('image/jpeg') 1x
    );
  }
}

.services-tabs-section {
  padding: 90px 0;
  background: #f7f9f5;
}

.services-tabs-section #tabs {
  align-items: flex-start;
}

.service-tabs > ul {
  position: sticky;
  top: 118px;
  overflow: hidden;
  padding: 14px !important;
  background: #fff;
  border: 1px solid var(--site-border);
  border-radius: 24px;
  box-shadow: var(--site-shadow);
}

.services-tabs-section #tabs .service-tabs li {
  display: block;
  width: 100%;
  margin: 0 0 10px;
}

.services-tabs-section #tabs .service-tabs li:last-child {
  margin-bottom: 0;
}

.services-tabs-section #tabs .service-tabs li a {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--site-dark);
  background: rgba(164, 198, 57, 0.12);
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.services-tabs-section #tabs .service-tabs li a i {
  float: none;
  margin: 0 0 0 12px;
}

.services-tabs-section #tabs .service-tabs li.ui-tabs-active a,
.services-tabs-section #tabs .service-tabs li a:hover,
.services-tabs-section #tabs .service-tabs li a:focus {
  color: #fff;
  background: linear-gradient(180deg, var(--site-green), var(--site-green-dark));
  border-color: var(--site-green-dark);
  text-decoration: none;
}

.service-content-card {
  width: 100%;
  margin: 0 0 0 18px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--site-border);
  border-radius: 24px;
  box-shadow: var(--site-shadow);
}

.service-content-card article > img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 18px;
}

.service-content-card h2 {
  margin: 30px 0 18px;
  color: var(--site-dark);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.service-content-card h3 {
  margin: 28px 0 12px;
  color: var(--site-dark);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

.service-content-card p,
.service-content-card li {
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-content-card p {
  margin-bottom: 16px;
}

.service-content-card ul {
  margin: 0 0 22px;
  padding-left: 22px;
  list-style: disc;
}

.service-content-card li {
  margin-bottom: 7px;
}

.service-content-card li::marker {
  color: var(--site-green);
}

.service-content-card .service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.service-content-card .service-points li {
  margin: 0;
  padding: 9px 13px;
  color: #315206;
  background: rgba(164, 198, 57, 0.14);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.service-content-card .service-cta {
  margin-top: 28px;
  padding: 18px 20px;
  color: var(--site-dark);
  background: #f1f6e6;
  border-left: 4px solid var(--site-green);
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}

.service-content-card .service-cta a {
  color: var(--site-green-dark);
  font-weight: 800;
}

@media (max-width: 1199.98px) {
  .navbar-brand {
    width: 250px;
    max-width: 27vw;
  }

  .site-header .navbar .navbar-nav .nav-link {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 14px;
  }

  .nav-call-button {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand {
    width: 255px;
    max-width: calc(100% - 76px);
  }

  .service-tabs > ul {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px !important;
  }

  .services-tabs-section #tabs .service-tabs li {
    margin: 0;
  }

  .service-content-card {
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    width: 220px;
    max-width: calc(100% - 66px);
  }

  .site-hero,
  .site-page-hero {
    background-position: 62% center;
  }

  .services-tabs-section {
    padding: 68px 0;
  }

  .service-tabs > ul {
    grid-template-columns: 1fr;
    padding: 10px !important;
    border-radius: 18px;
  }

  .services-tabs-section #tabs .service-tabs li a {
    min-height: 54px;
    padding: 15px 17px;
    font-size: 16px;
  }

  .service-content-card {
    padding: 22px;
    border-radius: 20px;
  }

  .service-content-card h2 {
    font-size: 29px;
  }

  .service-content-card h3 {
    font-size: 19px;
  }

  .service-content-card article > img {
    max-height: 300px;
  }
}

@media (max-width: 399.98px) {
  .navbar-brand {
    width: 195px;
  }
}

/* Final cross-device header sizing */
.site-header .navbar .navbar-brand {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 330px !important;
  max-width: 330px !important;
  margin: 0 auto 0 0 !important;
  padding: 0 !important;
}

.site-header .navbar .navbar-toggler {
  position: static !important;
  top: auto !important;
  right: auto !important;
  flex: 0 0 46px;
  margin: 0 0 0 14px;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 1199.98px) {
  .site-header .navbar .navbar-brand {
    width: 270px !important;
    max-width: 270px !important;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar .container {
    min-height: 82px;
  }

  .site-header .navbar .navbar-brand {
    width: 270px !important;
    max-width: calc(100% - 74px) !important;
  }

  .site-header .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .site-header .navbar .container {
    min-height: 70px;
  }

  .site-header .navbar .navbar-brand {
    width: 225px !important;
    max-width: calc(100% - 68px) !important;
  }
}

@media (max-width: 399.98px) {
  .site-header .navbar .navbar-brand {
    width: 200px !important;
  }
}

/* Keep the mobile menu control aligned with the responsive logo. */
.site-header .navbar .navbar-toggler {
  position: relative !important;
}

@media (max-width: 991.98px) {
  .site-header .navbar .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 575.98px) {
  .site-header .navbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Ensure every navigation link remains visible in the opened phone/tablet menu. */
@media (max-width: 991.98px) {
  #navbarResponsive {
    background: rgba(13, 25, 17, 0.98) !important;
    background-color: rgba(13, 25, 17, 0.98) !important;
  }

  #navbarResponsive .navbar-nav {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  #navbarResponsive .navbar-nav .nav-item,
  #navbarResponsive .navbar-nav .nav-link {
    display: block;
    width: 100%;
    visibility: visible;
    opacity: 1;
  }

  #navbarResponsive .navbar-nav .nav-link {
    color: #fff !important;
  }

  #navbarResponsive .navbar-nav .active > .nav-link,
  #navbarResponsive .navbar-nav .nav-link:hover,
  #navbarResponsive .navbar-nav .nav-link:focus {
    color: var(--site-green) !important;
  }
}
