/* Heloise dedicated mobile/tablet layer.
   This file intentionally extends the template and desktop custom stylesheet.
   No desktop template behaviour is duplicated here. */

:root {
  --heloise-mobile-safe: 16px;
}

.heloise-mobile-site {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.heloise-mobile-site .header-area {
  min-height: 72px;
}

.heloise-mobile-site .background-header {
  min-height: 68px;
}

.heloise-mobile-site .header-area .main-nav {
  min-height: 72px;
}

.heloise-mobile-site .logo img {
  max-width: 146px;
  max-height: 54px;
  object-fit: contain;
}

.heloise-mobile-site .background-header .logo img {
  max-width: 132px;
}

.heloise-mobile-site .main-banner {
  padding-top: 128px;
}

.heloise-mobile-site .main-banner .left-content h2 {
  font-size: 34px;
  line-height: 1.18;
  margin-bottom: 18px;
}

.heloise-mobile-site .main-banner .left-content p {
  font-size: 15px;
  line-height: 1.8;
}

.heloise-mobile-site .white-button,
.heloise-mobile-site .gradient-button,
.heloise-mobile-site .border-button {
  width: 100%;
  margin-right: 0;
}

.heloise-mobile-site .white-button a,
.heloise-mobile-site .gradient-button a,
.heloise-mobile-site .border-button a,
.heloise-mobile-site footer #search button {
  width: 100%;
  text-align: center;
  justify-content: center;
  min-height: 48px;
}

.heloise-mobile-site .heloise-brand-pill {
  margin-bottom: 16px;
  font-size: 13px;
}

.heloise-mobile-site .heloise-photo-frame {
  margin-top: 34px;
  padding: 10px;
  border-radius: 24px;
}

.heloise-mobile-site .heloise-photo-frame img {
  width: 100%;
  height: 330px;
  border-radius: 18px;
}

.heloise-mobile-site .heloise-hero-stats {
  row-gap: 14px;
}

.heloise-mobile-site .heloise-stat {
  padding: 15px;
  border-radius: 16px;
}

.heloise-mobile-site .services,
.heloise-mobile-site .about-us,
.heloise-mobile-site .the-clients,
.heloise-mobile-site .pricing-tables,
.heloise-mobile-site .heloise-gallery {
  padding-top: 58px;
  padding-bottom: 58px;
}

.heloise-mobile-site .section-heading h4 {
  font-size: 26px;
  line-height: 1.28;
}

.heloise-mobile-site .service-item,
.heloise-mobile-site .box-item,
.heloise-mobile-site .pricing-item-regular,
.heloise-mobile-site .pricing-item-pro,
.heloise-mobile-site .heloise-route-card,
.heloise-mobile-site .heloise-contact-card {
  margin-bottom: 22px;
  border-radius: 22px;
}

.heloise-mobile-site .naccs .menu div {
  width: 100%;
  margin: 0 0 10px;
  text-align: left;
}

.heloise-mobile-site .naccs ul.nacc {
  min-height: auto !important;
  height: auto !important;
}

.heloise-mobile-site .naccs ul.nacc li {
  position: relative;
}

.heloise-mobile-site .heloise-route-pill {
  font-size: 12px;
  padding: 8px 10px;
}

.heloise-mobile-site .heloise-gallery-card {
  margin: 12px 4px;
  border-radius: 20px;
}

.heloise-mobile-site .heloise-gallery-card img {
  height: 240px;
  border-radius: 16px;
}

.heloise-mobile-site .heloise-video-card video {
  max-height: 420px;
}

.heloise-mobile-site .accordion-button {
  line-height: 1.45;
  padding: 16px;
}

.heloise-mobile-site .accordion-body {
  font-size: 14px;
  line-height: 1.8;
}

.heloise-mobile-site footer {
  padding-top: 70px;
}

.heloise-mobile-site footer #search input {
  margin-bottom: 12px;
  min-height: 48px;
}

.heloise-mobile-site .popupContainer {
  width: calc(100% - 28px);
  max-width: 420px;
}

.heloise-mobile-site .popupBody {
  max-height: 72vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.heloise-mobile-site .social_box {
  min-height: 52px;
}

.heloise-mobile-site .action_btns .one_half,
.heloise-mobile-site .action_btns .one_half.last {
  width: 100%;
  margin: 0 0 10px;
}

.heloise-mobile-site input,
.heloise-mobile-site select,
.heloise-mobile-site textarea,
.heloise-mobile-site button,
.heloise-mobile-site a {
  touch-action: manipulation;
}

.heloise-mobile-bottom-bar {
  display: none;
}

@media (max-width: 1024px) {
  .heloise-mobile-site .header-area .main-nav .nav {
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .heloise-mobile-site .main-banner .right-image {
    text-align: center;
  }

  .heloise-mobile-bottom-bar {
    position: fixed;
    z-index: 999;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(8, 95, 184, 0.16);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(8, 95, 184, 0.22);
    backdrop-filter: blur(10px);
  }

  .heloise-mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    border-radius: 15px;
    background: rgba(8, 95, 184, 0.08);
    color: var(--heloise-blue);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
  }

  .heloise-mobile-bottom-bar i {
    font-size: 18px;
  }

  .heloise-mobile-site footer {
    padding-bottom: 106px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .heloise-mobile-site .main-banner .left-content h2 {
    font-size: 44px;
  }

  .heloise-mobile-site .heloise-photo-frame img {
    height: 480px;
  }

  .heloise-mobile-site .heloise-gallery-card img {
    height: 300px;
  }

  .heloise-mobile-bottom-bar {
    left: 50%;
    right: auto;
    width: 560px;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .heloise-mobile-site .container {
    padding-left: var(--heloise-mobile-safe);
    padding-right: var(--heloise-mobile-safe);
  }

  .heloise-mobile-site .main-banner .left-content h2 {
    font-size: 30px;
  }

  .heloise-mobile-site .main-banner {
    padding-top: 112px;
  }

  .heloise-mobile-site .heloise-photo-frame img {
    height: 280px;
  }

  .heloise-mobile-site .heloise-gallery-card img {
    height: 210px;
  }
}

/* HELOISE_MOBILE_SPACING_FIX_20260605
   Purpose:
   - Space stacked hero CTA buttons on mobile/tablet.
   - Tighten the route section after the active nacc content so the gallery follows naturally.
   - Keep all fixes in the external mobile stylesheet; no inline CSS or duplicated JS. */

.heloise-mobile-site .main-banner .left-content .white-button {
  display: block;
  width: 100%;
  margin-right: 0;
  margin-bottom: 12px;
}

.heloise-mobile-site .main-banner .left-content .white-button:last-of-type {
  margin-bottom: 0;
}

.heloise-mobile-site .main-banner .left-content .white-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.heloise-mobile-site .the-clients {
  padding-bottom: 24px;
}

.heloise-mobile-site .the-clients .naccs {
  margin-bottom: 0;
}

.heloise-mobile-site .the-clients ul.nacc {
  margin-bottom: 0;
  padding-bottom: 0;
}

.heloise-mobile-site .the-clients ul.nacc li.active {
  margin-bottom: 0;
}

.heloise-mobile-site .the-clients .nacc .thumb,
.heloise-mobile-site .the-clients .nacc .thumb .down-content {
  margin-bottom: 0;
}

.heloise-mobile-site .heloise-gallery {
  padding-top: 30px;
}

@media (max-width: 480px) {
  .heloise-mobile-site .main-banner .left-content .white-button {
    margin-bottom: 14px;
  }

  .heloise-mobile-site .the-clients {
    padding-bottom: 18px;
  }

  .heloise-mobile-site .heloise-gallery {
    padding-top: 24px;
  }
}

/* === HELOISE_MOBILE_ROUTE_GALLERY_GAP_FIX_V2 START ===
   Purpose: tighten the mobile route-to-gallery transition without inline CSS.
   Root cause: the Chain App route/tab block and gallery block both carry section
   padding, while the active nacc panel keeps extra bottom spacing. On mobile this
   stacks into a large visual gap after "Main Coverage / Intercity service areas".
*/
@media (max-width: 1024px) {
  .heloise-mobile-site #routes.the-clients {
    padding-bottom: 14px;
    margin-bottom: 0;
  }

  .heloise-mobile-site #routes .naccs {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .heloise-mobile-site #routes .grid,
  .heloise-mobile-site #routes .row,
  .heloise-mobile-site #routes .col-lg-12,
  .heloise-mobile-site #routes .col-lg-5 {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .heloise-mobile-site #routes ul.nacc {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .heloise-mobile-site #routes ul.nacc li,
  .heloise-mobile-site #routes ul.nacc li.active,
  .heloise-mobile-site #routes ul.nacc li .thumb,
  .heloise-mobile-site #routes ul.nacc li .down-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .heloise-mobile-site #gallery.heloise-gallery {
    padding-top: 14px;
    margin-top: 0;
  }

  .heloise-mobile-site #gallery .section-heading {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .heloise-mobile-site #routes.the-clients {
    padding-bottom: 0px;
  }

  .heloise-mobile-site #gallery.heloise-gallery {
    padding-top: 14px;
  }
}
/* === HELOISE_MOBILE_ROUTE_GALLERY_GAP_FIX_V2 END === */

/* Mailbox integration */
.header-area .main-nav .nav li a.heloise-mailbox-link { font-weight: 700; }

/* HELOISE_TEAM_CONTACTS_BANKING_MOBILE_START */
.heloise-mobile-site .heloise-team-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.heloise-mobile-site .heloise-team-card {
  margin-bottom: 22px;
  border-radius: 22px;
  padding: 22px;
}

.heloise-mobile-site .heloise-team-card h4 {
  font-size: 20px;
}

.heloise-mobile-site .heloise-team-card p {
  font-size: 14px;
}
/* HELOISE_TEAM_CONTACTS_BANKING_MOBILE_END */

/* HELOISE HERO VIDEO START */
.heloise-mobile-site .header-area {
  top: 0;
  background: rgba(255, 255, 255, 0.84) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(8, 95, 184, 0.12);
}

.heloise-mobile-site .header-area .main-nav .logo img {
  max-width: 142px;
}

.heloise-mobile-site .heloise-video-hero {
  margin-top: 0;
  min-height: 620px;
}

.heloise-mobile-site .heloise-video-hero__content {
  min-height: 620px;
  padding-top: 98px;
  padding-left: var(--heloise-mobile-safe);
  padding-right: var(--heloise-mobile-safe);
}

.heloise-mobile-site .heloise-video-hero__video {
  left: 38%;
  width: 166%;
  height: 166%;
  object-position: 30% center;
}

.heloise-mobile-site .heloise-video-hero h1 {
  font-size: clamp(32px, 9vw, 42px);
  line-height: 1.02;
}

.heloise-mobile-site .heloise-video-hero__eyebrow {
  font-size: 10.5px;
}

.heloise-mobile-site .heloise-video-hero__button,
.heloise-mobile-site .heloise-video-hero__cta-buttons a {
  width: 100%;
  min-height: 48px;
}

.heloise-mobile-site .heloise-video-hero__cta-shape {
  border-radius: 24px;
  clip-path: none;
}

.heloise-mobile-site .main-banner.heloise-main-banner-after-video {
  padding-top: 60px;
}

@media (max-width: 420px) {
  .heloise-mobile-site .heloise-video-hero {
    min-height: 640px;
  }

  .heloise-mobile-site .heloise-video-hero__content {
    min-height: 640px;
  }
}
/* HELOISE HERO VIDEO END */


/* HELOISE_TEAM_PROFILE_PHOTOS_MOBILE_START */
.heloise-mobile-site .heloise-team-card {
  text-align: center;
  padding-top: 28px;
}

.heloise-mobile-site .heloise-team-card::before {
  height: 98px;
}

.heloise-mobile-site .heloise-team-photo {
  width: 118px;
  height: 118px;
  margin-bottom: 15px;
}
/* HELOISE_TEAM_PROFILE_PHOTOS_MOBILE_END */


/* HELOISE_ROUTES_CARD_LAYOUT_FIX_MOBILE_START */
.heloise-mobile-site .heloise-routes-cards-section,
.heloise-routes-cards-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.heloise-mobile-site .heloise-routes-cards-section::before,
.heloise-routes-cards-section::before {
  width: 190px;
  height: 190px;
  right: -92px;
  top: 24px;
}

.heloise-mobile-site .heloise-route-card,
.heloise-route-card {
  padding: 22px 18px;
  border-radius: 22px;
}

.heloise-mobile-site .heloise-route-card h5,
.heloise-route-card h5 {
  font-size: 19px;
}

.heloise-mobile-site .heloise-route-icon,
.heloise-route-icon {
  flex-basis: 44px;
  width: 44px;
  height: 44px;
}

.heloise-mobile-site .heloise-route-list,
.heloise-route-list {
  gap: 7px;
}

.heloise-mobile-site .heloise-route-list li,
.heloise-route-list li {
  font-size: 12px;
  padding: 6px 9px;
}
/* HELOISE_ROUTES_CARD_LAYOUT_FIX_MOBILE_END */


/* HELOISE_HEADER_TRANSPARENCY_TUNE_MOBILE_START */
.heloise-mobile-site .header-area,
.heloise-mobile-site .header-area.header-sticky,
.heloise-mobile-site .background-header,
.heloise-mobile-site .header-area.header-sticky.background-header {
  background: rgba(255, 255, 255, 0.62) !important;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 8px 24px rgba(0, 39, 89, 0.10) !important;
}

.heloise-mobile-site .header-area .main-nav .nav {
  background: rgba(255, 255, 255, 0.88) !important;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
}

.heloise-mobile-site .header-area .main-nav .nav li a,
.heloise-mobile-site .header-area.header-sticky .nav li a,
.heloise-mobile-site .background-header .main-nav .nav li a {
  color: #17243a !important;
  font-weight: 700;
}

.heloise-mobile-site .header-area .main-nav .nav li a.active,
.heloise-mobile-site .header-area .main-nav .nav li:hover a {
  color: #0066cc !important;
}
/* HELOISE_HEADER_TRANSPARENCY_TUNE_MOBILE_END */


/* HELOISE_HEADER_EXTRA_TRANSPARENCY_MOBILE_START */
.heloise-mobile-site .header-area,
.heloise-mobile-site .header-area.header-sticky,
.heloise-mobile-site .background-header,
.heloise-mobile-site .header-area.header-sticky.background-header {
  background: rgba(255, 255, 255, 0.34) !important;
  -webkit-backdrop-filter: blur(8px) saturate(120%) !important;
  backdrop-filter: blur(8px) saturate(120%) !important;
  box-shadow: 0 8px 22px rgba(0, 39, 89, 0.07) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.heloise-mobile-site .header-area .main-nav .nav {
  background: rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
  backdrop-filter: blur(10px) saturate(120%) !important;
}

.heloise-mobile-site .header-area .main-nav .nav li a,
.heloise-mobile-site .header-area.header-sticky .nav li a,
.heloise-mobile-site .background-header .main-nav .nav li a {
  color: #111827 !important;
  font-weight: 800 !important;
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.85),
    0 0 8px rgba(255, 255, 255, 0.46) !important;
}

.heloise-mobile-site .header-area .main-nav .menu-trigger span,
.heloise-mobile-site .header-area .main-nav .menu-trigger span::before,
.heloise-mobile-site .header-area .main-nav .menu-trigger span::after {
  background-color: #111827 !important;
}
/* HELOISE_HEADER_EXTRA_TRANSPARENCY_MOBILE_END */

/* HELOISE_MOBILE_BLUE_CARD_REFRESH_START */
.heloise-mobile-site .service-item,
.heloise-mobile-site .box-item,
.heloise-mobile-site .heloise-gallery-card,
.heloise-mobile-site .heloise-route-card,
.heloise-mobile-site .pricing-item-regular,
.heloise-mobile-site .pricing-item-pro,
.heloise-mobile-site .heloise-team-card,
.heloise-mobile-site .heloise-faq .accordion-item {
  background: linear-gradient(180deg, rgba(8, 95, 184, 0.14) 0%, rgba(8, 95, 184, 0.07) 100%) !important;
  border: 1px solid rgba(8, 95, 184, 0.20) !important;
  box-shadow: 0 10px 28px rgba(8, 95, 184, 0.12) !important;
}
/* HELOISE_MOBILE_BLUE_CARD_REFRESH_END */

/* HELOISE_MOBILE_STAT_CARDS_WHITE_START */
.heloise-mobile-site .heloise-stat {
  background: #ffffff !important;
  border: 1px solid rgba(8, 95, 184, 0.12) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08) !important;
}

.heloise-mobile-site .heloise-stat:hover {
  background: #ffffff !important;
  border-color: rgba(8, 95, 184, 0.22) !important;
}
/* HELOISE_MOBILE_STAT_CARDS_WHITE_END */
