/* ==========================================================================
   Header – Pro Movers Miami (Figma design)
   ========================================================================== */

   :root {
    --header-bg: #ffffff;
    --nav-color: #051634;
    --nav-color-hover: #2C6BCA;
    --cta-estimate-bg: #F7CA19;
    --cta-estimate-text: #000000;
    --cta-phone-bg: #2C6BCA;
    --cta-phone-text: #ffffff;
    --header-font: 'Open Sans', sans-serif;
    --header-font-size: 16px;
    --header-font-weight: 600;
    --header-line-height: 1.36181640625;
    --header-padding-y: 20px;
    --header-padding-x: 30px;
    --menu-gap: 20px;
    --cta-height: 58px;
    --cta-width: 197px;
    --cta-radius: 29px;
    /* Legacy vars for any other theme parts */
    --main-head-color: #051634;
    --main-head-color-hover: #2C6BCA;
    --main-head-bg: #fff;
    --main-head-submenu-bg: #ececec;
  }
  
  /* Header layout (Figma: row, space-between, align center) */
  .site-header.header-figma {
    position: relative;
    z-index: 9999;
    background-color: var(--header-bg);
    width: 100%;
  }
  
  .header-figma .header-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: var(--header-padding-y) var(--header-padding-x);
    max-width: 1920px;
    margin: 0 auto;
  }
  
  /* Logo (Figma: 176×65.5) */
  .header-figma .site-branding.logo_header {
    flex-shrink: 0;
  }
  
  .header-figma .site-branding a {
    display: block;
  }
  
  .header-figma .site-branding img {
    width: 176px;
    height: auto;
    max-height: 65.5px;
    object-fit: contain;
  }
  
  /* Header items: nav + CTAs (Figma: row, align center, gap 7px) */
  .header-figma .header_items {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
  }
  
  /* Navigation */
  .header-figma #site-navigation {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    margin: 0;
  }
  
  .header-figma .menu_items {
    padding: 0;
  }
  
  .header-figma .nav-menu,
  .header-figma #primary-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--menu-gap);
    list-style: none;
    margin: 0;
    padding: 0 15px;
  }
  
  .header-figma #primary-menu .menu-item a,
  .header-figma .nav-menu .menu-item a {
    font-family: var(--header-font);
    font-size: var(--header-font-size);
    font-weight: var(--header-font-weight);
    line-height: var(--header-line-height);
    color: var(--nav-color);
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    display: inline-block;
    letter-spacing: 0.02em;
    position: relative;
    transition: all 300ms ease-in-out;
  }
  
  .header-figma #primary-menu > .menu-item > a::after,
  .header-figma .nav-menu > .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -25px;
    width: 0;
    height: 2px;
    background-color: var(--nav-color-hover);
    transition: all 300ms ease-in-out;
  }
  
  .header-figma #primary-menu .menu-item a:hover,
  .header-figma .nav-menu .menu-item a:hover {
    color: var(--nav-color-hover);
  }
  
  .header-figma #primary-menu > .menu-item > a:hover::after,
  .header-figma .nav-menu > .menu-item > a:hover::after {
    width: 50px;
  }
  
  .header-figma #primary-menu a[aria-current="page"] {
    color: #2C6BCA;
  }
  
  /* Submenu (keep existing behavior) */
  .header-figma #primary-menu .menu-item-has-children > a {
    position: relative;
    margin-right: 18px;
  }
  
  .header-figma #primary-menu .menu-item-has-children > a::before {
    content: "\203A";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 24px;
  }
  
  .header-figma .menu-item-has-children .sub-menu {
    position: absolute;
    top: 72%;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
    background-color: var(--main-head-submenu-bg);
    border: 1px solid #ececec;
    box-shadow: 8px 12px 43px rgba(0, 0, 0, 0.09);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 999;
    min-width: 180px;
  }
  
  .header-figma #primary-menu .menu-item-has-children:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
  }
  
  .header-figma #primary-menu .menu-item-has-children .sub-menu a {
    display: block;
    padding: 5px 20px;
    text-transform: uppercase;
    font-size: 16px;
  }
  
  /* CTAs wrapper */
  .header-figma .header_ctas {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
  }
  
  /* CTA – Free Estimate (Figma: 197×58, #F7CA19, radius 29px) */
  .header-figma .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: var(--cta-height);
    min-width: var(--cta-width);
    padding: 0 20px;
    border-radius: var(--cta-radius);
    font-family: var(--header-font);
    font-size: var(--header-font-size);
    font-weight: var(--header-font-weight);
    line-height: var(--header-line-height);
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
  }
  
  .header-figma .cta:hover {
    filter: brightness(1.1);
  }
  
  .header-figma .cta:active {
    transform: scale(0.98);
  }
  
  .header-figma .cta-free-estimate {
    background-color: var(--cta-estimate-bg);
    color: var(--cta-estimate-text);
    transition: all 300ms ease-in-out;
  }
  
  /* CTA – Phone (Figma: 197×58, #2C6BCA, white text) */
  .header-figma .cta-phone {
    background-color: var(--cta-phone-bg);
    color: var(--cta-phone-text);
    transition: all 300ms ease-in-out;
  }
  
  .header-figma .cta-phone-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
  }
  
  .header-figma .cta-phone-number {
    white-space: nowrap;
  }

li#menu-item-291 .sub-menu,
li#menu-item-292 .sub-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-height: 340px;
    overflow-y: auto;
}

/* Scroll styling:*/

/* Firefox */
li#menu-item-291 .sub-menu,
li#menu-item-292 .sub-menu {
    scrollbar-width: thin;
    scrollbar-color: #8B8B8B transparent;
}

/* Chrome, Edge, Safari */
.sub-menu::-webkit-scrollbar,
.sub-menu::-webkit-scrollbar {
    width: 6px;
}

.sub-menu::-webkit-scrollbar-track,
.sub-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sub-menu::-webkit-scrollbar-thumb,
.sub-menu::-webkit-scrollbar-thumb {
    background-color: #8B8B8B;
    border-radius: 10px;
}

.sub-menu::-webkit-scrollbar-thumb:hover,
.sub-menu::-webkit-scrollbar-thumb:hover {
    background-color: #6f6f6f;
}


  
  /* Desktop (≥992px): phone button */
  @media screen and (min-width: 992px) {
    .header-figma .cta-phone {
      padding: 4px 3px;
      gap: 12px;
      justify-content: flex-start;
    }
    .header-figma .cta-phone .cta-phone-icon {
      width: 50px;
      height: 50px;
      margin: 0;
    }
  }
  
  /* Mobile-only block: visible only under 992px */
  .header-figma .md-before-header-div {
    display: none;
  }
  
  /* Hide desktop nav toggle on large screens */
  .header-figma .navbar-header {
    display: none;
  }
  
  /* --------------------------------------------------------------------------
     Responsive: below 1200px – smaller menu font, less spacing
     -------------------------------------------------------------------------- */

  @media screen and (max-width: 1300px) {
.header-figma .nav-menu, .header-figma #primary-menu {
    gap: 10px;
}
.header-figma #primary-menu .menu-item-has-children > a::before {
    right: -14px;
    top: 49%;
}
.header-figma .header-inner {
    padding-left: 15px;
    padding-right: 15px;
}

}

  @media screen and (max-width: 1200px) {
    .header-figma #primary-menu .menu-item a,
    .header-figma .nav-menu .menu-item a {
      font-size: 13px;
    }
    .header-figma #primary-menu .menu-item-has-children .sub-menu a {
      display: block;
      padding: 4px 20px;
      text-transform: uppercase;
      font-size: 13px;
    }
    .header-figma .nav-menu,
    .header-figma #primary-menu {
      gap: 10px;
      padding: 0 10px;
    }
    .header-figma .site-branding img {
      max-width: 160px;
    }
    .header-figma .header_items {
      gap: 0px;
    }
    .header-figma .cta {
      min-width: 160px;
      padding: 0 16px;
      font-size: 14px;
    }
    /* Phone CTA: keep icon spacing, slightly smaller icon to fit */
    .header-figma .cta-phone {
      padding: 4px 10px 4px 3px;
      gap: 12px;
      justify-content: flex-start;
    }
    .header-figma .cta-phone .cta-phone-icon {
      width: 46px;
      height: 46px;
      margin: 0;
    }
    .header-figma .cta-phone .cta-phone-number {
      font-size: 14px;
    }
  }
  
  /* --------------------------------------------------------------------------
     Responsive: mobile (collapse menu + show hamburger)
     -------------------------------------------------------------------------- */
  @media screen and (max-width: 991px) {
    .site-header.header-figma {
      box-shadow: 8px 12px 21px 0 rgba(0, 1, 1, 0.08);
    }
  
    /* Mobile-only phone bar: visible under 992px only */
    .header-figma .md-before-header-div {
      display: block;
      padding: 0;
      background-color: var(--cta-phone-bg);
      text-align: center;
    }
  
    .header-figma .md-before-header-div .md-mobile-phone-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      padding: 10px;
      font-family: var(--header-font);
      font-size: var(--header-font-size);
      font-weight: var(--header-font-weight);
      color: var(--cta-phone-text);
      text-decoration: none;
      white-space: nowrap;
      transition: all 300ms ease-in-out;
      background-color: var(--cta-phone-bg);
    }
  
    .header-figma .md-before-header-div .md-mobile-phone-link:hover {
      filter: brightness(1.1);
    }
  
    .header-figma .md-before-header-div .md-mobile-phone-icon {
      flex-shrink: 0;
      width: 40px;
      height: 40px;
    }
  
    /* Hide the desktop phone CTA in header_ctas on mobile; mobile phone is in md-before-header-div */
    .header-figma .cta-phone {
      display: none;
    }
  
    .header-figma .header-inner {
      flex-wrap: wrap;
      padding: 15px 20px;
    }
  
    .header-figma .site-branding img {
      max-width: 155px;
      height: auto;
    }
  
    .header-figma .navbar-header {
      display: block;
      position: absolute;
      top: 103px;
      right: 20px;
      transform: translateY(-50%);
    }
  
    .header-figma .navbar-header button {
      background: none;
      border: none;
      border-radius: 0;
      margin: 0;
      padding: 8px;
    }
  
    .header-figma .navbar-header button:hover,
    .header-figma .navbar-header button:focus,
    .header-figma .navbar-header button:active {
      background: none;
    }
  
    .header-figma .navbar-header .icon-bar {
      background-color: var(--nav-color);
      width: 28px;
      height: 3px;
      border-radius: 0;
      display: block;
    }
  
    .header-figma .navbar-header .icon-bar:not(:first-child) {
      margin-top: 6px;
    }
  
    .header-figma .navbar-header button.navbar-toggle:not(.collapsed) .icon-bar:first-of-type {
      transform: rotate(45deg) translate(5px, 6px);
    }
  
    .header-figma .navbar-header button.navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(2) {
      opacity: 0;
    }
  
    .header-figma .navbar-header button.navbar-toggle:not(.collapsed) .icon-bar:last-of-type {
      transform: rotate(-45deg) translate(6px, -8px);
    }
  
    .header-figma .header_items {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }
  
    /* CTAs hidden on mobile; phone is in md-before-header-div */
    .header-figma .header_ctas {
      order: -1;
      flex-direction: column;
      gap: 10px;
      padding: 0 0 15px 0;
      display: none;
    }
  
    .header-figma .cta-free-estimate {
      display: none;
    }
  
    .header-figma .md-navigation {
      order: 0;
    }
  
    .header-figma .md-navigation .collapse:not(.in) {
      display: none;
    }
  
    .header-figma .md-navigation .collapse.in {
      display: block;
      width: 100%;
    }
  
    .header-figma .md-navigation .collapse,
    .header-figma .menu_items {
      width: 100%;
    }
  
    .header-figma .nav-menu,
    .header-figma #primary-menu {
      flex-direction: column;
      align-items: flex-start;
      padding: 10px 0 0px;
      gap: 0;
      width: 100%;
    }
  
    span.menu-chevron {
      width: 30px;
      height: 30px;
      display: flex;
      align-content: center;
      justify-content: center;
      align-items: center;
      position: absolute;
      right: 7px;
      z-index: 999;
      top: 0px;
      font-size: 30px;
      transform: rotate(90deg);
    }
  
    .header-figma #primary-menu .menu-item {
      margin: 0;
      width: 100%;
      position: relative;
    }
  
    .header-figma #primary-menu .menu-item a {
      padding: 8px 0;
      width: 90%;
    }
  
    .header-figma #primary-menu > .menu-item > a::after,
    .header-figma .nav-menu > .menu-item > a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      margin-left: 0;
      width: 0;
      height: 2px;
      background-color: var(--nav-color-hover);
      transition: all 300ms ease-in-out;
    }
  
    .header-figma #primary-menu .menu-item-has-children > a::before {
      display: none;
    }
  
    .header-figma #primary-menu .menu-item-has-children .sub-menu,
    .header-figma .nav-menu .menu-item-has-children .sub-menu {
      position: static;
      display: none;
      box-shadow: none;
      border: none;
      background: #f4f4f4;
      margin: 8px 0 8px 10px;
      padding: 10px 0;
      border-radius: 10px;
      visibility: visible;
      opacity: 1;
      margin-right: 20px;
    }
  
    .header-figma .cta {
      width: 100%;
      min-width: 0;
    }
  }
  
  @media screen and (max-width: 400px) {
    .header-figma .site-branding img {
      max-width: 121px;
    }
    .header-figma .navbar-header {
      top: 97px;
    }
  }
  
  /* Header end */
  
  /* ==========================================================================
     Footer (Figma: Futer_section node 1-495)
     ========================================================================== */
  
  .site-footer.footer-figma {
    background-color: transparent;
    overflow: hidden;
  }
  
  .footer-figma .footer-figma-top {
    background-color: #121214;
    padding: 81px 84px;
  }
  
  .footer-figma .footer-inner {
    max-width: 1920px;
    margin: 0 auto;
  }
  
  .footer-figma .footer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 145px;
  }
  
  .footer-figma .footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 375px;
  }
  
  .footer-figma a {
    color: #fff;
    transition: color 0.2s;
  }
  
  .footer-figma a:hover {
    color: #F7CA19;
  }
  
  .footer-figma .footer-logo a {
    display: block;
  }
  
  .footer-figma .footer-logo-img {
    max-width: 315px;
    width: 100%;
    height: auto;
    display: block;
  }
  
  .footer-figma .footer-text {
    font-family: var(--header-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8125;
    color: #FFFFFF;
    margin: 0;
  }
  
  .footer-figma .footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 197px;
    height: 58px;
    background-color: #F7CA19;
    color: #000000;
    font-family: var(--header-font);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.36;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 29px;
    box-sizing: border-box;
    transition: all 300ms ease-in-out;
  }
  
  .footer-figma .footer-cta:hover {
    filter: brightness(1.1);
    color: #000;
  }
  
  .footer-figma .footer-col-company {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 421px;
  }
  
  .footer-figma .footer-heading {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.21;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
  }
  
  .footer-figma .footer-info .footer-heading {
    margin-bottom: 10px;
  }
  
  .footer-figma .footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-figma .footer-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .footer-figma .footer-info-label {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.8125;
    color: #FFFFFF;
    flex-shrink: 0;
  }
  
  .footer-figma .footer-info-value {
    font-family: var(--header-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8125;
    text-decoration: none;
    color: #fff;
    transition: all 300ms ease-in-out;
  }
  
  .footer-figma .footer-info-value:hover {
    text-decoration: none;
  }
  
  .footer-figma .footer-hours {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-figma .footer-heading-hours {
    margin: 0;
  }
  
  .footer-figma .footer-col-map {
    flex: 1;
    min-width: 280px;
    max-width: 645px;
  }
  
  .footer-figma .footer-map-img,
  .footer-figma .footer-map-embed iframe {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .footer-figma .footer-map-embed {
    width: 100%;
    height: 370px;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .footer-figma .footer-map-embed iframe {
    height: 100%;
    min-height: 200px;
    border: 0;
    vertical-align: top;
  }
  
  /* Footer legal bar (Figma: Privacy Policy_section node 1-544) */
  .footer-figma .footer-legal {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .footer-figma .footer-legal-text {
    font-family: var(--header-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8125;
    color: #050505;
    text-align: center;
    margin: 0;
  }
  
  .footer-figma .footer-legal-text a {
    color: #050505;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .footer-figma .footer-legal-text a:hover {
    color: #2C6BCA;
  }
  
  @media screen and (max-width: 1700px) {
    .footer-figma .footer-container {
      gap: 100px;
    }
  }
  
  @media screen and (max-width: 1600px) {
    .footer-figma .footer-container {
      gap: 80px;
    }
  }
  
  @media screen and (max-width: 1400px) {
    .footer-figma .footer-container {
      gap: 30px;
    }
  }
  
  @media screen and (max-width: 1300px) {
    .footer-figma .footer-col-brand {
      max-width: 20%;
    }
  }
  
  @media screen and (max-width: 1200px) {
    .footer-figma .footer-figma-top {
      padding: 60px 40px;
    }
    .footer-figma .footer-container {
      gap: 60px;
    }
  }
  
  @media screen and (max-width: 1100px) {
    .footer-figma .footer-container {
      flex-wrap: wrap;
      justify-content: space-between;
    }
    .footer-figma .footer-col-brand {
      max-width: 40%;
    }
    .footer-figma .footer-col-company {
      max-width: unset;
      width: 50%;
    }
    .footer-figma .footer-col-map {
      flex: 1;
      min-width: 280px;
      max-width: unset;
      width: 100%;
    }
  }
  
  @media screen and (max-width: 991px) {
    .footer-figma .footer-figma-top {
      padding: 50px 24px;
    }
    .footer-figma .footer-col-map {
      max-width: 100%;
      width: 100%;
    }
  }
  
  @media screen and (max-width: 768px) {
    .footer-figma .footer-figma-top {
      padding: 40px 20px;
    }
    .footer-figma .footer-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 40px;
    }
    .footer-figma .footer-col-brand,
    .footer-figma .footer-col-company {
      max-width: 100%;
    }
    .footer-figma .footer-cta {
      margin-bottom: 25px;
    }
    .footer-figma .footer-col-company {
      gap: 0px;
      width: 100%;
    }
    .footer-figma .footer-hours {
      gap: 0px;
      margin-bottom: 20px;
    }
    .footer-figma .footer-heading {
      font-size: 20px;
      margin-bottom: 20px;
    }
    .footer-figma .footer-info-row:has(.footer-info-phone) {
      margin-bottom: 40px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .footer-figma .footer-container {
      gap: 20px;
    }
  }
  
  
  