/* ============================================================
   Main CSS File
   ============================================================ */

:root {
  --hdr-cyan: #3eb4da;
  --hdr-cyan-dark: #05a5d8;
  --hdr-cyan-darker: #0489b5;
  --hdr-white: #ffffff;
  --hdr-text: #333333;
  --hdr-border: rgba(255, 255, 255, 0.25);
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

a {
  text-decoration: none;
}

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
/* ============================================================
   1. INFO BAR
   ============================================================ */
.hdr-infobar {
  background: var(--hdr-cyan);
}

.hdr-infobar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.hdr-infobar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hdr-infobar__logo img {
  display: block;
  height: 60px;
  width: auto;
}

.hdr-infobar__contacts {
  display: flex;
  align-items: center;
  gap: 0;
}

.hdr-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  color: var(--hdr-white);
  font-size: 14px;
  border-left: 1px solid #000;
}

.hdr-contact-item:first-child {
  border-left: none;
}

.hdr-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--hdr-white);
  flex-shrink: 0;
}

.hdr-contact-icon svg {
  width: 100%;
  height: 100%;
}

.hdr-contact-text {
  color: var(--hdr-white);
  font-size: 18px;
  font-weight: 500;
}

.hdr-contact-phone {
  color: var(--hdr-white);
  font-size: 18px;
  font-weight: 600;
}

.hdr-contact-phone:hover {
  opacity: 0.8;
}

/* ============================================================
   2. NAV BAR
   ============================================================ */
.hdr-nav {
  background: var(--hdr-cyan-dark);
  position: relative;
  z-index: 1000;
  width: 100%;
}

.hdr-nav.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  animation: hdrSlideDown 0.25s ease;
}

@keyframes hdrSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.hdr-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.hdr-nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--hdr-white);
  flex-shrink: 0;
}

.hdr-nav__hamburger svg {
  fill: var(--hdr-white);
  width: 24px;
  height: 18px;
}

.hdr-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.hdr-nav__menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* Half-height dotted line with custom dot spacing */
.hdr-nav__menu > li::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background-image: linear-gradient(to bottom, #000 33%, transparent 33%);
  background-size: 1px 6px; /* dot size + gap */
  background-repeat: repeat-y;
}

.hdr-nav__menu > li:last-child::after {
  display: none;
}

.hdr-nav__menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  min-height: 50px;
  transition: background 0.2s ease;
}
/* .hdr-nav__menu > li > a:hover {
  color: #c4d114 !important;
} */

/* .hdr-nav__menu > li > a:hover,
.hdr-nav__menu > li.active > a {
  background: var(--hdr-cyan-darker);
} */

.hdr-sub-toggle {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.hdr-sub-toggle svg {
  fill: var(--hdr-white);
  width: 10px;
  height: 8px;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.has-sub:hover > a .hdr-sub-toggle svg,
.has-sub.sub-open > a .hdr-sub-toggle svg {
  transform: rotate(180deg);
}

.hdr-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--hdr-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--hdr-cyan-dark);
  display: none;
}

@media (min-width: 992px) {
  .hdr-nav__menu > li.has-sub:hover > .hdr-sub,
  .hdr-nav__menu > li.has-sub.sub-open > .hdr-sub {
    display: block;
  }
}

.hdr-sub li a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hdr-text);
  transition: all 0.15s ease;
  border-bottom: 1px solid #f0f0f0;
}

.hdr-sub li:last-child a {
  border-bottom: none;
}

.hdr-sub li a:hover {
  background: var(--hdr-cyan);
  color: var(--hdr-white);
  padding-left: 24px;
}

/* ============================================================
   3. RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  /* Info bar: stack logo + contacts */
  .hdr-infobar__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    min-height: auto;
  }

  .hdr-infobar__logo {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .hdr-infobar__contacts {
    order: 1;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hdr-contact-item {
    border-left: none;
    padding: 4px 12px;
    font-size: 13px;
  }

  .hdr-contact-icon {
    width: 18px;
    height: 18px;
  }

  .hdr-contact-text,
  .hdr-contact-phone {
    font-size: 13px;
  }

  /* Nav: hamburger visible, menu hidden */
  .hdr-nav__inner {
    justify-content: space-between;
    padding: 0 16px;
  }

  .hdr-nav__hamburger {
    display: flex;
  }

  .hdr-nav__menu {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 10;
    background: var(--hdr-cyan-dark);
  }

  .hdr-nav__menu.menu-open {
    display: flex;
  }

  .hdr-nav__menu > li {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--hdr-border);
    width: 100%;
    display: block;
  }

  .hdr-nav__menu > li:first-child {
    border-left: none;
  }

  .hdr-nav__menu > li > a {
    padding: 0 16px;
    min-height: 48px;
    font-size: 14px;
    justify-content: space-between;
    width: 95%;
  }

  .has-sub > a .hdr-sub-toggle {
    margin-left: auto;
  }

  .has-sub.sub-open > a .hdr-sub-toggle svg {
    transform: rotate(180deg);
  }

  .hdr-nav__menu > li.has-sub.sub-open > .hdr-sub {
    display: block;
  }

  .hdr-sub {
    position: static;
    border-top: none;
    box-shadow: none;
    background: #f0fafe;
    width: 100%;
    min-width: 100%;
    display: none;
  }

  .hdr-sub li a {
    padding: 12px 16px 12px 32px;
    font-size: 13px;
    color: var(--hdr-text);
    border-bottom: 1px solid #e5e5e5;
  }

  .hdr-sub li a:hover {
    background: #dbf6ff;
    color: var(--hdr-text);
    padding-left: 36px;
  }
}

@media (max-width: 767px) {
  .hdr-infobar__logo img {
    height: 50px;
  }

  .hdr-infobar__contacts {
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .hdr-contact-item {
    padding: 4px 0;
  }
}

/* ============================================================
   FOOTER — CTA bar + main footer + bottom bar
   Namespaced with `ftr-` to avoid clashing with `hdr-` header styles.
   Reuses --hdr-cyan tokens from main.css where it makes sense, and
   adds a few footer-only tokens below.
   ============================================================ */

/* ============================================================
   0. CTA BAR
   ============================================================ */
.ftr-cta {
  background: #05a5d8;
  padding: 34px 20px;
}

.ftr-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.ftr-cta__heading {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.ftr-cta__buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.ftr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0073ff;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.ftr-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.ftr-btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.ftr-btn__arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   1. MAIN FOOTER
   ============================================================ */
.site-footer-wrapper {
  width: 100%;
}

.site-footer {
  background: #0290bd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 48px;
}

.footer-col {
  min-width: 0;
}

/* -- headings + dividers, shared -- */
.footer-heading,
.footer-subheading {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
}

.ftr-divider {
  width: 46px;
  height: 2px;
  margin: 0 0 18px;
  background: var(--ftr-accent);
  border: none;
}

/* -- Column 1: brand -- */
.brand-col .footer-logo {
  display: inline-flex;
  margin-bottom: 18px;
}

.brand-col .footer-logo img {
  display: block;
  height: 56px;
  width: auto;
}

.footer-desc {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}

.footer-contact-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 15px;
}

.footer-contact-list a {
  color: #ffffff;
}

.footer-contact-list a:hover {
  color: var(--ftr-accent);
}

.ftr-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ftr-text-strong);
}

.ftr-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-social-heading {
  margin: 0;
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  color: #d5d5d5;
  line-height: 26px;
  position: relative;
  top: -5px;
  font-style: italic;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid white;
  color: #ffffff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-social-icons svg {
  /* width: 14px; */
  /* height: 14px; */
  fill: currentColor;
}

.footer-social-icons a:hover {
  background: var(--ftr-white);
  color: var(--ftr-blue);
  border-color: var(--ftr-white);
}

/* -- Columns 2 & 3: link lists -- */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links .ftr-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  color: var(--ftr-accent);
}

.footer-links .ftr-chevron svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #c4d114;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ============================================================
   2. BOTTOM BAR
   ============================================================ */
.footer-bottom {
  background: #05a5d8;
  padding: 20px;
}

.footer-bottom__inner {
  padding: 18px 0;
  display: flex;
  justify-content: center;
}

.copyright-left {
  color: #ffffff;
  font-size: 15px;
  text-align: center;
}

.copyright-left a {
  color: #ffffff;
  font-weight: 700;
}

.copyright-left a:hover {
  color: var(--ftr-accent);
}

/* ============================================================
   3. SCROLL TO TOP
   ============================================================ */
.scroll-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3eb4da;
  color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 900;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.scroll-to-top:hover {
  background: var(--ftr-cyan);
}

/* ============================================================
   4. RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .ftr-cta__heading {
    font-size: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    padding: 44px 0 36px;
  }

  .brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .ftr-cta {
    padding: 26px 16px;
  }

  .ftr-cta__buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .ftr-btn {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0 32px;
  }

  .footer-contact-list li {
    justify-content: center;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .ftr-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links li {
    justify-content: center;
  }
}

.inner-banner {
  background: #fff url(../images/rug_cleaning_bg.webp) 0 0 no-repeat;
  background-size: cover;
  padding: 45px 0;
  position: relative;
}
.inner-banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
}
.inner-banner .thm-container {
  position: relative;
  z-index: 1;
}
.inner-banner h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 40px;
  line-height: 55px;
  color: #000000;
  font-weight: 800;
  font-family: "Raleway", sans-serif;
  text-shadow: 0 4px 4px rgba(255, 255, 255, 0.6);
}
.inner-banner p {
  font-size: 20px;
  font-style: italic;
  font-family: "PT Serif", sans-serif;
  margin: 0;
  color: #323240;
}

/* =========================================
   1. HERO BANNER
   ========================================= */
.sa-hero {
  position: relative;
  width: 100%;
  /* height: 220px; */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  text-align: center;
}

.sa-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.sa-hero-content {
  position: relative;
  z-index: 2;
}

.sa-hero-content h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  /* font-family: "Georgia", serif; */
  letter-spacing: 1px;
}

/* Short yellow underline — exactly like screenshot */
.sa-hero-line {
  width: 54px;
  height: 4px;
  background: #13a0b2;
  border-radius: 2px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .sa-hero {
    height: 170px;
  }
  .sa-hero-content h1 {
    font-size: 30px;
  }
}
