@import url("/fonts/roboto/roboto.css");

/* Rescue helpers for the static snapshot. Hide the Elementor dropdown nav on tablet/mobile until the hamburger is opened. */
@media (max-width: 1024px) {
  .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main.elementor-nav-menu--layout-horizontal {
    display: none !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-menu-toggle {
    display: flex !important;
    cursor: pointer;
  }
  .elementor-nav-menu--dropdown-tablet nav.elementor-nav-menu--dropdown {
    display: none !important;
  }
  .elementor-nav-menu--dropdown-tablet .elementor-menu-toggle.elementor-active + nav.elementor-nav-menu--dropdown,
  .elementor-nav-menu--dropdown-tablet nav.elementor-nav-menu--dropdown.elementor-active {
    display: block !important;
  }
}
/* Footer-style nav widgets that are dropdown-only should stay hidden unless opened. */
@media (max-width: 1024px) {
  .elementor-widget-nav-menu:not(.elementor-nav-menu--toggle) nav.elementor-nav-menu--dropdown {
    /* leave footer/desktop lists alone if they are meant to be visible */
  }
}


/* Partner workshops section and footer line */
.rescue-partners{
  margin:0;
  padding:6px 16px 14px;
  text-align:center;
  font-family:"Roboto",Sans-serif;
  font-size:12px;
  font-weight:300;
  color:#fff;
  background:#000;
  line-height:1.5;
}
.rescue-partners a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:2px;
}
.rescue-partners a:hover,
.rescue-partners a:focus{
  color:#db4b19;
}

.mm-partners{
  background:#1f2124;
  color:#fff;
  padding:64px 20px 56px;
  font-family:"Roboto",Sans-serif;
}
.mm-partners__inner{
  max-width:1120px;
  margin:0 auto;
}
.mm-partners__eyebrow{
  margin:0 0 10px;
  color:#db4b19;
  font-size:12px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.mm-partners__title{
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(1.7rem, 3vw, 2.35rem);
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  line-height:1.15;
}
.mm-partners__intro{
  margin:0 0 32px;
  max-width:720px;
  color:#e2e8f0;
  font-size:1.05rem;
  font-weight:400;
  line-height:1.6;
}
.mm-partners__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.mm-partner{
  background:#16181b;
  border:1px solid #3f444b;
  border-radius:8px;
  padding:24px;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.mm-partner__logo{
  display:flex;
  align-items:center;
  min-height:64px;
  margin:0 0 14px;
}
.mm-partner__logo img{
  max-height:64px;
  max-width:220px;
  width:auto;
  height:auto;
  display:block;
  object-fit:contain;
}
.mm-partner__name{
  margin:0 0 8px;
  color:#fff;
  font-size:1.35rem;
  font-weight:700;
  line-height:1.2;
}
.mm-partner__blurb,
.mm-partner__address,
.mm-partner__services{
  margin:0 0 12px;
  color:#cbd5e1;
  font-size:.95rem;
  line-height:1.55;
}
.mm-partner__address{
  color:#94a3b8;
  font-size:.9rem;
}
.mm-partner__services{
  font-size:.85rem;
  color:#94a3b8;
}
.mm-partner__map{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  margin:4px 0 14px;
  border-radius:6px;
  overflow:hidden;
  background:#111;
}
.mm-partner__map iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.mm-partner__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
  padding-top:8px;
}
.mm-partner__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:11px 18px;
  border-radius:3px;
  font-size:14px;
  font-weight:600;
  line-height:1;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.mm-partner__btn--visit{
  background:#db4b19;
  color:#fff;
  border:1px solid #db4b19;
}
.mm-partner__btn--visit:hover,
.mm-partner__btn--visit:focus{
  background:#c44316;
  border-color:#c44316;
  color:#fff;
}
.mm-partner__btn--phone{
  background:transparent;
  color:#fff;
  border:1px solid #db4b19;
}
.mm-partner__btn--phone:hover,
.mm-partner__btn--phone:focus{
  background:#db4b19;
  color:#fff;
}
.mm-partners--compact{
  padding:40px 20px 36px;
}
.mm-partners--compact .mm-partners__title{
  font-size:clamp(1.35rem, 2.6vw, 1.8rem);
}
.mm-partners--compact .mm-partners__intro{
  margin-bottom:20px;
  font-size:1rem;
}
.mm-partners--compact .mm-partner{
  padding:18px;
}
.mm-partners--compact .mm-partner__map{
  aspect-ratio:16/10;
}
@media (max-width: 767px){
  .mm-partners{
    padding:44px 16px 40px;
  }
  .mm-partners__grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .mm-partner__actions{
    flex-direction:column;
  }
  .mm-partner__btn{
    width:100%;
  }
}

/* Tidy-up: mobile header, forms, search */

/* Restore Elementor visibility classes (missing from some inlined pages). */
@media (max-width: 767px) {
  .elementor .elementor-hidden-mobile,
  .elementor .elementor-hidden-phone {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor .elementor-hidden-tablet {
    display: none !important;
  }
}
@media (min-width: 1025px) {
  .elementor .elementor-hidden-desktop {
    display: none !important;
  }
}

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
  #top img,
  .elementor-element-bad8acd img {
    max-width: 100%;
    height: auto;
  }
  .elementor-element-fefe191,
  .elementor-element-fefe191 > .e-con-inner {
    max-width: 100%;
    width: 100%;
    height: auto !important;
    min-height: 0;
    overflow: visible;
    box-sizing: border-box;
  }
  .elementor-element-fefe191 .e-con-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 10px 12px !important;
  }
  .elementor-element-fefe191 .elementor-widget-theme-site-logo {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: calc(100% - 56px);
    min-width: 140px;
    order: 1;
  }
  .elementor-element-fefe191 .elementor-widget-theme-site-logo img {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
  }
  .elementor-element-fefe191 .elementor-element-a7f0ee1 {
    flex: 0 0 44px !important;
    width: 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    margin-left: auto !important;
    order: 2;
    justify-content: center !important;
  }
  .elementor-element-d870500,
  .elementor-element-d870500 .elementor-widget-container,
  .elementor-element-d870500 .elementor-icon-box-wrapper {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }
  /* Keep the orange-bar hamburger a normal size if it is shown. */
  .elementor-element-d870500 .elementor-icon svg,
  .elementor-element-d870500 .e-font-icon-svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px;
    max-height: 22px;
  }
}

/* Compact call / email row, mobile only */
.mm-mobile-contact {
  display: none;
}
@media (max-width: 767px) {
  .mm-mobile-contact {
    display: flex !important;
    flex: 1 1 100% !important;
    order: 3 !important;
    gap: 8px;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
  }
  .mm-mobile-contact a {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 3px;
    background: #db4b19;
    color: #fff !important;
    text-decoration: none;
    font-family: "Roboto", Sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }
  .mm-mobile-contact a:hover,
  .mm-mobile-contact a:focus {
    background: #fff;
    color: #db4b19 !important;
  }
}

/* Form validation */
.mm-form-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #db4b19;
  background: #fbece5;
  color: #7a2a10;
  font-family: "Roboto", Sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.mm-form-error[hidden] {
  display: none !important;
}
.mm-field-invalid {
  outline: 2px solid #db4b19;
  outline-offset: 1px;
}

/* Search popup fallback (Elementor popup JS is not reliable on the static site). */
.mm-popup-open[data-elementor-type="popup"] {
  display: block !important;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #fff;
  overflow: auto;
  padding: 24px 16px 40px;
  -webkit-overflow-scrolling: touch;
}
.mm-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 100001;
  border: 0;
  background: #1f2124;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.mm-popup-close:hover,
.mm-popup-close:focus {
  background: #db4b19;
}
body.mm-popup-lock {
  overflow: hidden;
}

/* Search results */
.mm-search {
  max-width: 800px;
  margin: 48px auto 72px;
  padding: 0 20px;
  font-family: "Roboto", Sans-serif;
  color: #383838;
}
.mm-search h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  color: #1f2124;
}
.mm-search__query {
  margin: 0 0 24px;
  color: #334155;
}
.mm-search__form {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
}
.mm-search__form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  font-size: 16px;
}
.mm-search__form button {
  padding: 12px 18px;
  border: 0;
  border-radius: 3px;
  background: #db4b19;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.mm-search__form button:hover,
.mm-search__form button:focus {
  background: #c44316;
}
.mm-search-result {
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e2e8f0;
}
.mm-search-result h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.mm-search-result h2 a {
  color: #db4b19;
  text-decoration: none;
}
.mm-search-result h2 a:hover,
.mm-search-result h2 a:focus {
  text-decoration: underline;
}
.mm-search-result p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}
.mm-search-result__url {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 13px;
}
.mm-search__empty,
.mm-search__status {
  color: #334155;
}


/* v3: mobile top bar, tappable hamburger, readable hero headings */

/* Self-hosted Roboto is loaded via @import. Keep headings on that face. */
h1.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title {
  font-family: "Roboto", sans-serif;
}

/* Home hero: original design was 33px / 500 / uppercase / white over the photo. */
.elementor-2 .elementor-element.elementor-element-e211c9e .elementor-heading-title {
  font-family: "Roboto", sans-serif !important;
  font-size: clamp(1.75rem, 2.4vw + 1.1rem, 2.125rem) !important; /* 28-34px */
  font-weight: 500 !important;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: anywhere;
  max-width: 18em;
  text-transform: uppercase; /* archived original used uppercase */
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 0 16px rgba(0,0,0,.35);
}

h1.elementor-heading-title {
  font-family: "Roboto", sans-serif !important;
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

/* Other page hero H1s: same type scale on small screens, no giant overflow. */
@media (max-width: 767px) {
  h1.elementor-heading-title {
    font-size: clamp(1.625rem, 5.4vw, 2.125rem) !important;
    line-height: 1.2 !important;
    max-width: 100%;
  }
}

/* Subtle dark overlay so white hero type stays readable. */
.elementor-element-0aeabf3 {
  position: relative;
}
.elementor-element-0aeabf3::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.32) !important;
  opacity: 1 !important;
  pointer-events: none;
  z-index: 0;
}
.elementor-element-0aeabf3 > .e-con-inner {
  position: relative;
  z-index: 1;
}

/* Service / inner pages: if a boxed section has a background image and a white H1, add the same overlay. */
.elementor-widget-heading h1.elementor-heading-title {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  /* Payment logos clip on narrow screens; hide them here (still visible on tablet/desktop). */
  #top .elementor-element-ce88b69,
  #top img[alt="payment-logo"] {
    display: none !important;
  }

  #top,
  #top > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: 0 !important;
    padding: 6px 12px !important;
    box-sizing: border-box;
  }

  #top .elementor-element-988357d,
  #top .elementor-social-icons-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    width: auto !important;
    max-width: 100%;
  }

  #top .elementor-social-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    box-sizing: border-box;
    padding: 0 !important;
  }

  #top .elementor-social-icon svg,
  #top .elementor-social-icon i {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
  }

  /* Hamburger: fully on-screen, 44px tap target, padding from the edge. */
  .elementor-element-fefe191 > .e-con-inner {
    padding: 8px 12px 10px 12px !important;
    column-gap: 10px;
  }
  .elementor-element-fefe191 .elementor-element-a7f0ee1 {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
  }
  .elementor-element-d870500,
  .elementor-element-d870500 .elementor-widget-container,
  .elementor-element-d870500 .elementor-icon-box-wrapper,
  .elementor-element-d870500 .elementor-icon-box-icon {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
  .elementor .elementor-element.elementor-element-d870500 .elementor-icon,
  .elementor .elementor-element.elementor-element-d870500 a.elementor-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .elementor-element-d870500 .elementor-icon svg,
  .elementor-element-d870500 .e-font-icon-svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    margin: 0 !important;
  }

  /* Keep the logo from colliding with the hamburger at 338px. */
  .elementor-element-fefe191 .elementor-widget-theme-site-logo img {
    width: 140px !important;
    max-width: 140px !important;
    height: auto !important;
  }
}
