/**
 * desguace-garcia.com — visual polish layer
 * Overrides Webster template issues: footer contrast, floats, hierarchy.
 * Brand: forest green + WA green. Do not replace plugins-css.
 */

:root {
  --dg-green: #6fad2f;
  --dg-green-bright: #8fcf45;
  --dg-green-deep: #0b1f14;
  --dg-green-mid: #123222;
  --dg-wa: #25d366;
  --dg-wa-deep: #1ebe57;
  --dg-text: rgba(255, 255, 255, 0.94);
  --dg-text-soft: rgba(255, 255, 255, 0.78);
  --dg-line: rgba(255, 255, 255, 0.14);
  --dg-float-gap: 16px;
  --dg-float-size: 54px;
}

/* ========== PRELOADER ========== */
#pre-loader {
  background: var(--dg-green-deep) !important;
  z-index: 999999;
}
#pre-loader img {
  max-width: 72px;
  opacity: 0.9;
}

/* ========== FOOTER: readable over warehouse photo ========== */
footer.footer.transparent,
footer.footer.footer-topbar {
  position: relative;
  isolation: isolate;
  background-color: var(--dg-green-deep) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

/* Strong multi-stop scrim — kills muddy busy photo under text */
footer.footer.bg-overlay-black-60:before,
footer.footer.transparent:before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  height: 100% !important;
  width: 100% !important;
  left: 0 !important;
  top: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      165deg,
      rgba(6, 22, 14, 0.94) 0%,
      rgba(8, 28, 18, 0.88) 38%,
      rgba(5, 16, 11, 0.93) 72%,
      rgba(4, 12, 8, 0.97) 100%
    ) !important;
  /* slight blur via filter on pseudo not always supported for bg-image;
     photo stays sharp under solid-ish scrim instead */
  opacity: 1 !important;
}

/* Content above overlay */
footer.footer > .container,
footer.footer > .copyright,
footer.footer .container,
footer.footer .copyright {
  position: relative;
  z-index: 2;
}

footer.footer #logo-footer {
  max-height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

/* About blurb */
footer.footer .about-content p {
  color: var(--dg-text) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
  max-width: 34em;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-weight: 400;
}

footer.footer h6 {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

footer.footer h6::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--dg-green-bright), var(--dg-green));
}

footer.footer .usefull-link ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.footer .usefull-link ul li {
  padding: 4px 0 !important;
  line-height: 1.45 !important;
  border: 0 !important;
}

footer.footer .usefull-link ul li a {
  color: var(--dg-text-soft) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

footer.footer .usefull-link ul li a:hover {
  color: var(--dg-green-bright) !important;
  transform: translateX(3px);
}

/* ISO badges */
footer.footer img[src*="ISO"],
footer.footer img[src*="iso"] {
  width: 56px !important;
  height: auto !important;
  margin: 6px 8px 6px 0 !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  opacity: 0.95;
  vertical-align: middle;
}

/* Social — brand color per service + glass pill + darker hover */
footer.footer .social ul,
footer.footer .social.text-left ul,
footer.footer .social ul.list-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px !important;
  list-style: none;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

footer.footer .social ul li {
  display: inline-block;
  margin: 0 !important;
  padding: 0 !important;
}

footer.footer .social ul li a,
footer.footer .social ul li a i,
footer.footer .social ul li a:before,
footer.footer .social ul li a:after {
  color: #fff !important;
}

footer.footer .social ul li a {
  --dg-soc: #4b5563;
  --dg-soc-hi: #6b7280;
  --dg-soc-lo: #374151;
  --dg-soc-glow: rgba(75, 85, 99, 0.45);
  width: 42px !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  font-size: 16px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  background: var(--dg-soc) !important;
  background-image: linear-gradient(145deg, var(--dg-soc-hi), var(--dg-soc-lo)) !important;
  box-shadow:
    0 8px 18px var(--dg-soc-glow),
    0 0 0 3px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease !important;
  position: relative;
  overflow: hidden;
}

/* soft sheen */
footer.footer .social ul li a::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28) 0%, transparent 48%) !important;
  pointer-events: none !important;
  opacity: 0.9;
}

/* Facebook */
footer.footer .social ul li a:has(.fa-facebook),
footer.footer .social ul li a:has(.fa-facebook-f) {
  --dg-soc: #1877f2;
  --dg-soc-hi: #3b8ff5;
  --dg-soc-lo: #0f5dcc;
  --dg-soc-glow: rgba(24, 119, 242, 0.5);
}

/* Twitter / X */
footer.footer .social ul li a:has(.fa-twitter),
footer.footer .social ul li a:has(.fa-x-twitter) {
  --dg-soc: #1da1f2;
  --dg-soc-hi: #4db5f5;
  --dg-soc-lo: #0c85d0;
  --dg-soc-glow: rgba(29, 161, 242, 0.5);
}

/* Website / globe (template uses dribbble as 3rd slot) */
footer.footer .social ul li a:has(.fa-globe),
footer.footer .social ul li a:has(.fa-dribbble),
footer.footer .social ul li a:has(.fa-link) {
  --dg-soc: #6fad2f;
  --dg-soc-hi: #8fcf45;
  --dg-soc-lo: #4f8a1c;
  --dg-soc-glow: rgba(111, 173, 47, 0.5);
}

/* LinkedIn */
footer.footer .social ul li a:has(.fa-linkedin),
footer.footer .social ul li a:has(.fa-linkedin-in) {
  --dg-soc: #0a66c8;
  --dg-soc-hi: #2a7fd6;
  --dg-soc-lo: #084d96;
  --dg-soc-glow: rgba(10, 102, 200, 0.5);
}

/* HOVER = darker (not brighter — previous bug) */
footer.footer .social ul li a:hover,
footer.footer .social ul li a:focus {
  color: #fff !important;
  transform: translateY(-3px) scale(1.07);
  filter: brightness(0.82) saturate(1.08);
  background-image: linear-gradient(145deg, var(--dg-soc), var(--dg-soc-lo)) !important;
  box-shadow:
    0 12px 26px var(--dg-soc-glow),
    0 0 0 3px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  outline: none;
}

footer.footer .social ul li a:hover i,
footer.footer .social ul li a:focus i {
  color: #fff !important;
}

footer.footer .social ul li a:active {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(0.72);
}

/* Copyright bar */
footer.footer .copyright {
  margin-top: 40px !important;
  padding: 22px 0 28px !important;
  border-top: 1px solid var(--dg-line) !important;
  background: rgba(0, 0, 0, 0.22);
}

footer.footer.footer-topbar .copyright ul li,
footer.footer .copyright ul li,
footer.footer .copyright ul li a,
footer.footer .copyright p,
footer.footer .copyright p a {
  color: var(--dg-text-soft) !important;
  font-size: 13px !important;
  opacity: 1 !important;
}

footer.footer .copyright ul li a:hover,
footer.footer .copyright p a:hover {
  color: var(--dg-green-bright) !important;
}

footer.footer .copyright .list-inline-item {
  margin-right: 0.15rem;
}

/* Top row breathing room */
footer.footer .row.top {
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dg-line);
}

/* Disable jarallax jitter feel on footer if JS still runs */
footer.footer.parallax {
  background-attachment: scroll !important;
}

/* ========== BACK TO TOP (SUBIR) ========== */
#back-to-top {
  z-index: 99990;
}

#back-to-top .top,
#back-to-top a.top {
  position: fixed !important;
  right: 22px !important;
  bottom: calc(var(--dg-float-size) + var(--dg-float-gap) + 22px) !important;
  width: var(--dg-float-size) !important;
  height: var(--dg-float-size) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important; /* same round as WA */
  background: #25d366 !important;
  background-image: linear-gradient(145deg, #3ee87a, #1ebe57) !important;
  color: #fff !important;
  box-shadow:
    0 10px 28px rgba(37, 211, 102, 0.48),
    0 0 0 3px rgba(255, 255, 255, 0.18) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease !important;
  z-index: 99990 !important;
  line-height: 1 !important;
}

#back-to-top .top:hover,
#back-to-top a.top:hover {
  transform: translateY(-3px) scale(1.06) !important;
  filter: brightness(1.06);
  box-shadow:
    0 14px 32px rgba(37, 211, 102, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

#back-to-top i {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: block;
}

#back-to-top span {
  display: block !important;
  margin-top: 2px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase;
}

/* ========== WHATSAPP FLOAT ========== */
.dg-float-wa {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 99995 !important;
  font-family: "Poppins", system-ui, sans-serif !important;
}

.dg-float-btn {
  width: var(--dg-float-size) !important;
  height: var(--dg-float-size) !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #25d366 !important;
  background-image: linear-gradient(145deg, #3ee87a, #1ebe57) !important;
  color: #fff !important;
  box-shadow:
    0 10px 28px rgba(37, 211, 102, 0.48),
    0 0 0 3px rgba(255, 255, 255, 0.18) !important;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease !important;
  padding: 0 !important;
}

.dg-float-btn:hover,
.dg-float-btn:focus {
  transform: scale(1.06);
  filter: brightness(1.04);
  outline: none;
  box-shadow:
    0 14px 32px rgba(37, 211, 102, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.22) !important;
}

.dg-float-btn svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: #fff;
}

.dg-float-btn-wrap .dg-wa-pulse,
.dg-float-btn .dg-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: dg-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes dg-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.dg-float-wa {
  /* pulse child absolute needs relative */
}

.dg-float-btn-wrap {
  position: relative;
  display: inline-flex;
}

.dg-float-menu {
  display: none !important;
  position: absolute !important;
  right: 0 !important;
  bottom: calc(var(--dg-float-size) + 12px) !important;
  background: #fff !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22) !important;
  min-width: 220px !important;
  overflow: hidden !important;
  border: 1px solid #e6efe9;
}

.dg-float-menu.open {
  display: block !important;
}

.dg-float-menu::before {
  content: "WhatsApp · operadores";
  display: block;
  padding: 10px 14px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  background: #f4faf6;
  border-bottom: 1px solid #e6efe9;
}

.dg-float-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 14px !important;
  color: #0b1f14 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #eef2f0 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.12s ease;
}

.dg-float-menu a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dg-wa);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.dg-float-menu a:hover {
  background: #f0fdf4 !important;
}

.dg-float-menu a:last-child {
  border-bottom: 0 !important;
  background: #0b1f14 !important;
  color: #fff !important;
}

.dg-float-menu a:last-child::before {
  background: var(--dg-green-bright);
  box-shadow: none;
}

.dg-float-menu a:last-child:hover {
  background: #123222 !important;
  color: #fff !important;
}

/* ========== HEADER / TOPBAR ========== */
.topbar {
  position: relative;
  overflow: hidden;
}

.topbar .topbar-call ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar .topbar-call ul li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.3;
}

.topbar .topbar-call ul li.dg-top-wa {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px 10px !important;
  gap: 5px;
}

.topbar .topbar-call ul li.dg-top-wa i {
  color: #25d366 !important;
  font-size: 14px;
}

.topbar .topbar-call ul li.dg-top-wa a,
.topbar .topbar-call ul li.dg-top-wa a span {
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

.topbar .topbar-social ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar .topbar-social ul li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.topbar > img[src*="30ANIVERSARIO"],
.topbar img[src*="30ANIVERSARIO"] {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%);
  float: none !important;
  width: 36px !important;
  max-width: 40px !important;
  height: auto !important;
  padding: 0 !important;
  z-index: 2;
  opacity: 0.95;
}

body {
  scroll-behavior: smooth;
}

/* ========== MOBILE: topbar + menu + footer ========== */
@media (max-width: 991px) {
  .topbar {
    padding: 8px 0 10px !important;
  }

  .topbar .container {
    padding-left: 12px !important;
    padding-right: 48px !important;
  }

  .topbar .row {
    margin: 0 !important;
  }

  .topbar .col-lg-8,
  .topbar .col-md-8,
  .topbar .col-lg-4,
  .topbar .col-md-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .topbar .topbar-call {
    text-align: left !important;
  }

  .topbar .topbar-call ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px 8px !important;
    width: 100%;
  }

  .topbar .topbar-call ul li:first-child {
    grid-column: 1 / -1;
    white-space: normal;
    font-size: 12px;
    padding: 2px 0 !important;
    background: none;
    border: 0;
  }

  .topbar .topbar-call ul li.dg-top-wa {
    justify-content: flex-start;
    padding: 6px 8px !important;
    font-size: 12px !important;
    min-height: 36px;
  }

  .topbar .topbar-call ul li.dg-top-wa a span {
    font-size: 12px;
  }

  .topbar .topbar-social {
    text-align: center !important;
    margin-top: 8px !important;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .topbar .topbar-social ul li {
    display: block;
    font-size: 11px !important;
    line-height: 1.35;
  }

  .topbar img[src*="30ANIVERSARIO"] {
    right: 6px !important;
    width: 32px !important;
    max-width: 32px !important;
  }

  #header .mega-menu .menu-list-items {
    height: auto !important;
    min-height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
  }

  #header .mega-menu .menu-logo {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
  }

  #header .mega-menu .menu-logo img,
  #header #logo_img {
    height: 44px !important;
    max-height: 44px !important;
    max-width: min(58vw, 200px) !important;
    width: auto !important;
  }

  #header .mega-menu .menu-links > li > a {
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #eef2f0 !important;
    line-height: 1.3 !important;
  }

  footer.footer {
    padding-top: 36px !important;
  }

  footer.footer .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  footer.footer .row.top {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    gap: 12px 8px;
  }

  footer.footer .row.top > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
  }

  footer.footer .row.top > [class*="col-"]:first-child {
    flex: 1 1 auto !important;
    min-width: 0;
  }

  footer.footer #logo-footer {
    max-height: 40px !important;
    height: 40px !important;
    width: auto !important;
    margin: 0 !important;
  }

  footer.footer .row.top .social {
    text-align: right !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  footer.footer .row.top .social ul {
    padding: 6px 8px !important;
    gap: 6px !important;
  }

  footer.footer .social ul li a {
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }

  footer.footer .row:not(.top) {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  footer.footer .row:not(.top) > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    margin-bottom: 20px !important;
  }

  footer.footer .about-content p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    max-width: none !important;
  }

  footer.footer .usefull-link .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 0 !important;
  }

  footer.footer .usefull-link .row > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
  }

  footer.footer .usefull-link .row > [class*="col-"]:last-child {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-top: 8px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  footer.footer img[src*="ISO"],
  footer.footer img[src*="iso"] {
    width: 52px !important;
    margin: 0 !important;
  }

  footer.footer .copyright {
    text-align: left !important;
    margin-top: 24px !important;
    padding: 16px 0 72px !important;
  }
}

@media (max-width: 767px) {
  :root {
    --dg-float-size: 50px;
    --dg-float-gap: 12px;
  }

  #back-to-top .top,
  #back-to-top a.top {
    right: 14px !important;
    bottom: calc(var(--dg-float-size) + var(--dg-float-gap) + 14px) !important;
    border-radius: 50% !important;
  }

  .dg-float-wa {
    right: 14px !important;
    bottom: 14px !important;
  }
}

@media (max-width: 380px) {
  .topbar .topbar-call ul {
    grid-template-columns: 1fr;
  }

  footer.footer .row.top {
    flex-direction: column;
    align-items: flex-start !important;
  }

  footer.footer .row.top .social {
    text-align: left !important;
  }

  footer.footer .usefull-link .row {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dg-float-btn .dg-wa-pulse {
    animation: none;
  }
  #back-to-top .top,
  .dg-float-btn,
  footer.footer .usefull-link ul li a {
    transition: none !important;
  }
}

/* Icons stay white; brand bg comes from rules above (do NOT force WA green on socials) */
.footer .social ul li a i {
  color: #fff !important;
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* SUBIR stays WA green (same family as float WA) */
#back-to-top .top,
#back-to-top a.top {
  background: #25d366 !important;
  background-image: linear-gradient(145deg, #3ee87a, #1ebe57) !important;
}
#back-to-top .top:hover,
#back-to-top a.top:hover {
  /* darker on hover, not lighter */
  filter: brightness(0.86) !important;
  background-image: linear-gradient(145deg, #25d366, #128c3e) !important;
}

.dg-float-btn:hover,
.dg-float-btn:focus {
  filter: brightness(0.86) !important;
  background-image: linear-gradient(145deg, #25d366, #128c3e) !important;
}

/* ========== RESPONSIVE SAFETY (from stress suite) ========== */
/* Main logo locked — never explode on ultrawide / shrink to pin */
.mega-menu .menu-logo img,
#logo_img,
header img#logo_img {
  height: 60px !important;
  width: auto !important;
  max-width: min(70vw, 280px) !important;
  max-height: 60px !important;
  object-fit: contain !important;
}

/* Topbar anniversary badge was scaling with viewport (20→172px) */
.topbar img,
.header-topbar img,
.top-bar img {
  max-height: 40px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
}

/* Floats: never cover content edge-to-edge on tiny phones */
@media (max-width: 380px) {
  :root {
    --dg-float-size: 48px;
    --dg-float-gap: 10px;
  }
  footer.footer .social ul li a {
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }
}

/* Huge screens: keep header logo stable */
@media (min-width: 2000px) {
  .mega-menu .menu-logo img,
  #logo_img {
    height: 60px !important;
    max-height: 60px !important;
  }
  .topbar img,
  .header-topbar img {
    max-height: 44px !important;
  }
}

/* ========== HERO: classic Webster banner (hours-on-sign experiment ROLLED BACK) ========== */
.dg-hero-hours,
.dg-sign-hours,
.dg-hero-media,
.dg-hero-copy {
  /* dead selectors — markup removed from home.html */
  display: none !important;
}
