/* Scoped SEO helpers — do not alter Foundation layout in app.css */
.answer-lead {
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.seo-faq {
  margin: 2.5rem auto 3.5rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.seo-faq-heading,
.seo-faq > h2 {
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 40rem;
  line-height: 1.3;
}
.seo-faq-list {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}
.seo-faq h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.seo-faq .callout {
  margin: 0 auto 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  text-align: left;
  max-width: 40rem;
}
.seo-faq .callout:last-child {
  margin-bottom: 0;
}
.seo-faq .callout p {
  margin-bottom: 0;
  line-height: 1.65;
}
.seo-faq .callout a {
  text-decoration: underline;
}
.service-area-grid {
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.service-area-block {
  margin: 0 0 2rem;
}
.service-area-grid h3,
.service-area-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.3;
}
.service-area-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.service-area-tiles li {
  margin: 0;
  padding: 0;
}
.service-area-tiles a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 0.75rem;
  text-align: center;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.service-area-tiles a:hover,
.service-area-tiles a:focus {
  background: rgba(0, 0, 0, 0.45);
  border-color: #ffffff;
  text-decoration: none !important;
  transform: translateY(-1px);
}
@media screen and (max-width: 63.9375em) {
  .service-area-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 39.9375em) {
  .service-area-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .service-area-tiles a {
    min-height: 3rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
  }
}
.seo-breadcrumbs {
  margin: 0.75rem 0 1rem;
  font-size: 0.9rem;
}
.seo-breadcrumbs a {
  text-decoration: underline;
}
.landing-cta {
  margin: 1.5rem 0 2rem;
}

/* ---- Sitewide white text (user request) ---- */
body,
body p,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body li,
body span,
body strong,
body em,
body small,
body label,
body .mid-abo,
body .home-abo,
body .home-quo,
body .home-serv,
body .serv-cont,
body .seo-faq,
body .answer-lead,
body .seo-breadcrumbs,
body .bot-footer,
body .top-footer,
body .callout,
body .hero-sz {
  color: #ffffff !important;
}

body a,
body a:link,
body a:visited,
body .menu a,
body .top-bar a,
body .social-icons a,
body .social-icons2 a,
body .nav2 a,
body .top-footer a,
body .home-serv a,
body .seo-breadcrumbs a,
body .callout a,
body .button.round,
body .button.hollow {
  color: #ffffff !important;
}

body a:hover,
body a:focus,
body .menu a:hover,
body .social-icons a:hover,
body .social-icons2 a:hover,
body .nav2 a:hover,
body .top-footer a:hover,
body .button.hollow:hover,
body .button.hollow:focus {
  color: #ffffff !important;
  opacity: 0.9;
}

/* InUnison credit — black text */
body .inunison-credit,
body .inunison-credit a,
body .inunison-credit a:link,
body .inunison-credit a:visited,
body .inunison-credit a:hover,
body .inunison-credit a:focus {
  color: #000000 !important;
  opacity: 1 !important;
}

/* FAQ/callout panels: transparent on red so white text stays readable */
body .callout {
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

body .button.hollow {
  border-color: #ffffff !important;
}

/* White logo readability on light hero photo */
.logo img,
.logo2 img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.85));
}

/* Inner pages: translucent nav over hero (same look as homepage) */
main {
  position: relative;
}
.main-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  z-index: 5;
}
.main-head .nav2 {
  background: transparent;
  min-height: 0;
  position: relative;
}
.main-head #tiger-menu.top-bar {
  background: rgba(10, 10, 10, 0.78) !important;
}

/* Cache-bust corrected (de-reddened) inner-page heroes */
.serv-hero,
.about-hero,
.contact-hero {
  height: 450px;
}
.serv-hero {
  background-image: url(../img/sandglo-serv.jpg?v=20260720m) !important;
}
.about-hero {
  background-image: url(../img/sandglo-about.jpg?v=20260720m) !important;
}
.contact-hero {
  background-image: url(../img/sandglo-contact.jpg?v=20260720m) !important;
}

/* Translucent bar over hero photos (home + inner) — desktop only uses flex */
.main-splash #tiger-menu.top-bar,
.main-head #tiger-menu.top-bar {
  background: rgba(10, 10, 10, 0.78) !important;
}
#tiger-menu.top-bar {
  background: rgba(10, 10, 10, 0.78) !important;
  height: auto !important;
  padding: 0.75rem 1rem !important;
}
#tiger-menu.top-bar ul {
  background: transparent !important;
}
#tiger-menu .top-bar-right {
  margin-top: 0 !important;
  float: none !important;
  width: auto;
}
#tiger-menu .menu > li > a {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
  padding: 0.85rem 0.95rem !important;
  opacity: 1 !important;
}
#tiger-menu .menu > li > a:hover,
#tiger-menu .menu > li > a:focus {
  color: #ffffff !important;
  text-decoration: underline;
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.14);
}
.logo,
.logo2 {
  z-index: 6;
}
.social-icons,
.social-icons2 {
  z-index: 6;
  top: 0.85rem !important;
}
.social-icons a,
.social-icons2 a {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  background: none !important;
  padding: 0;
  border-radius: 0;
  opacity: 1 !important;
}
.social-icons a:hover,
.social-icons2 a:hover {
  color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: underline;
}

/* Desktop / large: full horizontal nav */
@media screen and (min-width: 64.063em) {
  #tiger-menu.top-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-height: 130px !important;
  }
  .logo,
  .logo2 {
    width: 275px;
    margin-top: 0.85rem !important;
  }
}

/* Tablet + phone: hamburger menu (do NOT force display — Foundation toggles it) */
@media screen and (max-width: 64em) {
  .main-splash,
  .main-head {
    min-height: 5.25rem;
  }
  .main-splash::before,
  .main-head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5.25rem;
    background: rgba(10, 10, 10, 0.78);
    z-index: 2;
    pointer-events: none;
  }
  .logo,
  .logo2 {
    width: 180px;
    margin-top: 0.65rem !important;
    padding-left: 0.75rem;
  }
  .title-bar-right {
    position: absolute;
    right: 0.75rem;
    top: 1.35rem;
    z-index: 8;
  }
  .title-bar-right .menu-icon {
    width: 28px;
    height: 22px;
  }
  .title-bar-right .menu-icon::after {
    background: #ffffff;
    box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff;
  }
  .social-icons,
  .social-icons2 {
    right: 3.75rem !important;
    top: 1.35rem !important;
  }
  #tiger-menu.top-bar {
    min-height: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 5.25rem;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 7;
    background: rgba(10, 10, 10, 0.96) !important;
  }
  #tiger-menu .top-bar-right {
    width: 100%;
    float: none !important;
  }
  #tiger-menu .menu {
    width: 100%;
    margin: 0;
  }
  #tiger-menu .menu > li > a {
    display: block;
    padding: 0.95rem 1.15rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
    font-size: 1rem !important;
  }
}

@media screen and (max-width: 39.9375em) {
  .social-icons,
  .social-icons2 {
    display: none !important;
  }
}

/* Keep typed form fields dark-on-white for readability */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select,
#contactFormEmbedWrapper input,
#contactFormEmbedWrapper textarea {
  color: #333333 !important;
}

#contactFormEmbedWrapper,
#contactFormEmbedWrapper .contact-form-title-embed,
#contactFormEmbedWrapper p,
#contactFormEmbedWrapper button {
  color: #ffffff !important;
}

#contactFormEmbedWrapper input::placeholder,
#contactFormEmbedWrapper textarea::placeholder {
  color: #7f7f7f !important;
}
