/*
  lts-fixes.css  (test copy only)
  Loaded after every other stylesheet on every page. Each block is tagged with the
  REPORT.md item it addresses. Breakpoint system used everywhere:
    phone  <= 575.98px   |   tablet  576px - 991.98px   |   desktop >= 992px
*/

:root {
  --lts-header-h: 74px;
  --lts-red: #d00000;        /* white text 5.7:1 */
  --lts-red-dark: #a30000;   /* white text 8.3:1 */
  --lts-blue: #0062cc;       /* white text 5.8:1 */
  --lts-blue-dark: #004a99;  /* white text 8.6:1 */
  --lts-cyan: #45C9F5;
  --lts-ink: #061018;
  --lts-error: #c8102e;      /* on white 8.9:1 */
}

/* ---------- Accessibility: skip link, focus, motion ---------- */
.skip-link {
  position: absolute; left: 8px; top: -80px; z-index: 100000;
  background: #fff; color: #000 !important; padding: 12px 18px; border-radius: 8px;
  font: 700 15px/1.2 "Montserrat", Arial, sans-serif; text-decoration: none;
  box-shadow: 0 0 0 3px #0062cc;
}
.skip-link:focus { top: 8px; }
main:focus { outline: none; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible,
.nav-menu a:focus-visible, #mobile-nav a:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 0 !important;
  box-shadow: 0 0 0 6px #0062cc !important;
  border-radius: 4px;
}

.sr-only-lts {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0s !important; transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .wow { visibility: visible !important; }
  #call-tab, .scroll-indicator, .swipe-down-indicator { animation: none !important; }
}

/* ---------- Images: reserve space, keep ratio when width is constrained ---------- */
img { height: auto; }
img[width][height] { max-width: 100%; }

/* ---------- Header and navigation (one line from 1200px, drawer below) ---------- */
html, body { max-width: 100%; }
#header { height: auto !important; min-height: 0 !important; padding: 12px 0 !important; }
#header .container-fluid { min-height: 0; align-items: center; }
#logo { padding: 0; margin: 0; display: flex; align-items: center; }
#logo img, #logo .logo-wrap img { max-height: 46px; width: auto; height: auto; padding: 0; }
.logo-wrap { margin: 0; padding: 0; line-height: 1; font-size: 0; }
@media (max-width: 991.98px) {
  #header { padding: 8px 0 !important; }
  #logo img, #logo .logo-wrap img { max-height: 40px; }
}

body.lts-js-nav #header #nav-menu-container { display: block; }
body.lts-js-nav #header .nav-menu {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; margin: 0; padding: 0;
}
body.lts-js-nav #header .nav-menu > li { float: none; margin: 0; white-space: nowrap; }
body.lts-js-nav #header .nav-menu > li > a {
  display: inline-flex; align-items: center; padding: 10px 11px; line-height: 1.2;
  font-size: 13px; letter-spacing: .2px; white-space: nowrap; border-radius: 999px;
}
@media (min-width: 1200px) and (max-width: 1365.98px) {
  body.lts-js-nav #header .nav-menu > li > a { padding: 10px 8px; font-size: 12px; }
}

body.lts-js-nav #header .nav-menu .nav-cta > a {
  background: var(--lts-cyan); color: var(--lts-ink) !important; padding: 10px 18px;
  font-weight: 800; text-transform: uppercase; margin: 0 4px;
  box-shadow: 0 6px 18px rgba(69, 201, 245, .28);
}
body.lts-js-nav #header .nav-menu .nav-cta > a:hover { background: #8fdcf8; color: var(--lts-ink) !important; }

/* Instagram: icon, not a red block */
body.lts-js-nav #header .nav-menu .nav-instagram > a,
#mobile-nav .nav-instagram > a {
  background: none !important; animation: none !important; width: auto !important;
}
body.lts-js-nav #header .nav-menu .nav-instagram > a { width: 40px !important; height: 40px; justify-content: center; padding: 0; font-size: 20px; }
body.lts-js-nav #header .nav-menu .nav-instagram > a:hover { color: #fff; background: rgba(255, 255, 255, .12) !important; }
.fa-instagram, .fab.fa-instagram { background: none !important; }
.nav-instagram .nav-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
#mobile-nav .nav-instagram .nav-label {
  position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-left: 8px;
}

/* Hamburger: always visible when the desktop nav is hidden */
#mobile-nav-toggle {
  position: fixed; top: 0; right: 0; margin: 0; width: 56px; height: var(--lts-header-h);
  z-index: 10000; background: none; border: 0; color: #fff; font-size: 24px; line-height: 1;
  align-items: center; justify-content: center; cursor: pointer;
}
#mobile-nav-toggle i { color: #fff !important; font-size: 24px; }
@media (max-width: 1199.98px) {
  body.lts-js-nav #nav-menu-container { display: none !important; }
  body.lts-js-nav #mobile-nav-toggle { display: inline-flex !important; }
}
@media (min-width: 1200px) {
  #mobile-nav-toggle, #mobile-nav, #mobile-body-overly { display: none !important; }
}

/* Drawer starts below the header so the logo stays visible */
#mobile-nav {
  top: var(--lts-header-h); padding-top: 8px; width: 280px; left: -300px; z-index: 996;
  background: rgba(6, 12, 20, .97);
}
#mobile-nav ul { display: block; }
#mobile-nav ul li a { padding: 14px 20px; font-size: 14px; }
#mobile-nav .nav-cta > a {
  display: inline-block; width: auto; margin: 10px 20px; padding: 12px 22px; border-radius: 999px;
  background: var(--lts-cyan); color: var(--lts-ink) !important;
}
#mobile-body-overly { top: var(--lts-header-h); height: auto; bottom: 0; z-index: 995; }

/* ---------- Home hero ---------- */
.hero-title, .hero-sub {
  margin-left: auto !important; margin-right: auto !important; text-align: center;
}
#intro .hero-wrap { text-align: center; padding-top: calc(var(--lts-header-h) + 28px) !important; padding-bottom: 36px !important; }
.hero-badge {
  margin-left: auto; margin-right: auto;
  max-width: calc(100% - 32px); box-sizing: border-box;
  white-space: normal; text-align: center; justify-content: center; flex-wrap: wrap;
}
.hero-video { transition: opacity .4s ease; }

/* "Swipe up / Scroll down" pill sits in the flow below the hero buttons */
#intro .scroll-indicator,
#intro .swipe-down-indicator {
  position: relative !important; left: auto !important; right: auto !important; bottom: auto !important;
  transform: none !important; animation: none !important;
  display: block; width: max-content; max-width: calc(100% - 32px);
  margin: 8px auto 28px; padding: 8px 14px; font-size: 13px; font-weight: 700;
  color: #fff; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; box-shadow: none;
}

/* ---------- Foam feature image: contained, no overlap, no overflow ---------- */
.foam-feature-media {
  overflow: hidden !important; padding: 24px !important; min-width: 0;
}
.foam-feature-media img {
  width: 100% !important; max-width: 100% !important; height: auto !important;
  transform: rotate(-2deg) scale(.94) !important; margin: 0 !important;
}
.foam-feature-wrap > * { min-width: 0; }
@media (max-width: 991.98px) {
  .foam-feature-wrap { grid-template-columns: 1fr !important; }
}

/* ---------- Contrast ---------- */
#featured-services :is(h3, h4) { color: #fff; }
body[data-lts-page="yardcards"] #contact h3 { color: #595959; }
body[data-lts-page="home"] #footer .copyright { color: #a8a8a8; }
.section-subhead { font-size: 1.25rem; font-weight: 500; line-height: 1.2; margin: 0 0 .5rem; }
.lts-look-h1 { font-size: 2.5rem; }
.lts-look-h2 { font-size: 2rem; }
.lts-look-h3 { font-size: 1.75rem; }
#call-tab { background-color: var(--lts-blue) !important; color: #fff !important; }
#call-tab:hover { background-color: var(--lts-blue-dark) !important; }
.inquire-btn, .continue-btn { background-color: var(--lts-red); color: #fff; }
.inquire-btn:hover { background-color: var(--lts-red-dark); }
.continue-btn { background-color: #444; }
.zf-errorMessage { color: var(--lts-error) !important; font-weight: 600; }
.btn-primary, .btn-blue { background-color: var(--lts-blue); border-color: var(--lts-blue); color: #fff; }

/* ---------- Inquiry form ---------- */
.form-status { min-height: 1.4em; }
.form-status.lts-test-note {
  display: block; background: #fff8e1; color: #5a4300; border: 1px solid #f0c36d;
  border-radius: 10px; padding: 12px 16px; margin: 12px 0; font-weight: 700;
}
.zf-errorMessage[role="alert"] { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }
.zf-error-summary {
  display: none; border: 2px solid var(--lts-error); background: #fff5f6; color: #6b0a1a;
  border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-weight: 600;
}
.zf-error-summary.show { display: block; }
.zf-error-summary ul { margin: 6px 0 0 18px; padding: 0; font-weight: 500; }
.zf-error-summary a { color: #6b0a1a; text-decoration: underline; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--lts-error) !important; box-shadow: 0 0 0 1px var(--lts-error);
}
.zf-templateWrapper ul, .zf-subContWrap > ul { list-style: none; padding: 0; margin: 0; }
.zf-subContWrap > .zf-fields { display: block; }
.zf-required-note { font-size: 14px; margin: 0 0 14px; color: #3d4852; }
.zf-labelName .zf-important { color: var(--lts-error); font-style: normal; }
fieldset.zf-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.zf-group > legend { padding: 0; margin: 0 0 6px; width: auto; font-size: inherit; border: 0; }
@media (max-width: 575.98px) {
  .zf-templateWrapper, .zf-subContWrap, .zf-tempFrmWrapper, .zf-tempContDiv { padding-left: 0 !important; padding-right: 0 !important; }
  .form-card { padding: 14px !important; }
}

span.zf-labelName { display: block; }
.zf-fields { display: block; }
.zf-tempFrmWrapper > span.zf-labelName { margin: 0 !important; }

body[data-lts-page="yardcards"] #header { padding: 30px 0 !important; min-height: 92px !important; }

/* The hero is taller than a phone screen. Centering it slides the travel
   banner up underneath the fixed header. Keep the banner below the header. */
#intro {
  display: block !important;
  height: auto !important;
  min-height: 100vh;
  align-items: stretch !important;
}
#intro .intro-container,
#intro .carousel,
#intro .carousel-inner,
#intro .carousel-item {
  height: auto !important;
  min-height: 100vh;
}
#intro .carousel-inner { overflow: visible !important; }
#intro .carousel-container {
  position: relative !important;
  top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
  display: block !important;
  width: 100%;
  height: auto !important;
  align-items: flex-start !important;
}

body[data-lts-page="partyfavors"] #logo img { background: #fff; padding: 3px 10px; border-radius: 6px; }

/* ---- shared site footer (service area, activities, contact) ---- */
.lts-sitefoot{
  background:#070a1a;
  color:rgba(255,255,255,.82);
  border-top:1px solid rgba(255,255,255,.12);
  padding:36px 16px 22px;
  font-family:'Poppins','Open Sans',Arial,sans-serif;
  font-size:15px;
  line-height:1.6;
  text-align:left;
  clear:both;
}
.lts-sitefoot-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:28px;
}
.lts-sitefoot h2, .lts-sitefoot h3{
  font-family:'Poppins','Open Sans',Arial,sans-serif;
  color:#fff;
  margin:0 0 10px;
  font-size:1.05rem;
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
  line-height:1.3;
}
.lts-sitefoot p{ margin:0 0 8px; color:rgba(255,255,255,.82); }
.lts-sitefoot ul{ list-style:none; margin:0; padding:0; }
.lts-sitefoot li{ margin:0 0 4px; padding:0; }
.lts-sitefoot a{ color:#8fdcff; text-decoration:none; font-weight:600; }
.lts-sitefoot a:hover{ text-decoration:underline; color:#fff; }
.lts-sitefoot .lts-sitefoot-phone a{ font-size:1.15rem; color:#fff; font-weight:800; }
.lts-sitefoot-copy{
  max-width:1100px;
  margin:22px auto 0;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:.85rem;
  color:rgba(255,255,255,.7);
}
@media (max-width: 760px){
  .lts-sitefoot-inner{ grid-template-columns:1fr; gap:20px; }
}

.hero-sub-seo{ margin:0 auto 4px; text-align:center; font-weight:600; color:#fff; text-shadow:0 1px 6px rgba(0,0,0,.65); }

/* STEM hub mobile menu: keep the pills inside the viewport */
@media (max-width: 991.98px) {
  body[data-lts-page="stem"] .nav-menu li a {
    display: flex; box-sizing: border-box; width: auto; max-width: calc(100% - 24px); margin: 4px 12px;
  }
}

/* Yard cards contact block: pale grey headings fell just under AA contrast */
body[data-lts-page="yardcards"] .section-bg h3 { color: #555; }
