.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 0;
  }
}

.nav > ul {
  display: flex;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  margin: 0;
}

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a,
.nav .current-menu-parent > a {
  color: var(--rojo);
}

.nav > ul > .current-menu-item > a::after,
.nav > ul > .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--rojo);
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer ul {
  list-style: none;
}

.elementor-widget-text-editor ul,
.entry-content ul {
  list-style: disc;
  padding-left: 1.2em;
}

.elementor-page .site-header,
.elementor-page .site-footer {
  display: block;
}

.elementor img {
  border-radius: 24px;
}

.elementor-widget-image-box .elementor-image-box-img img,
.elementor-widget-image img {
  border-radius: 24px;
}

.elementor .orteza-hero {
  overflow: hidden;
}

.wa-float,
.pdp-bar,
body.elementor-editor-active .wa-float {
  display: none !important;
}

/* Contraste: Elementor no debe apagar textos sobre fondos oscuros o claros */
.hero h1,
.hero .lead,
.page-hero h1,
.page-hero p,
.cta-band,
.cta-band h2,
.cta-band p,
.tile-copy,
.tile-copy h3,
.tile-copy p,
.media-card,
.industry,
.section-dark,
.section-dark h2,
.section-dark p,
.value,
.value h3,
.value p,
.aside-card,
.aside-card h3,
.aside-card p,
.aside-card li,
.aside-card a {
  color: #fff !important;
}

.site-footer,
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer .legal,
.site-footer .legal span {
  color: #e8eef3 !important;
}

.site-footer h3,
.site-footer a {
  color: #fff !important;
}

.intro-copy,
.prose,
.prose p,
.feature p,
.product .body p,
.timeline p,
.list-check li,
.split p {
  color: #2c3a46 !important;
}

.feature h3,
.section h2,
.intro-title,
.product h3 {
  color: var(--azul) !important;
}

.section-dark h2,
.section-dark p,
.value,
.value h3,
.value p {
  color: #fff !important;
}

.kicker {
  color: var(--rojo) !important;
}

.section-dark .kicker,
.contact-panel .kicker {
  color: #ffc9c9 !important;
}

.form-lead,
.form-note {
  color: #2c3a46 !important;
}

.form-note {
  color: #6b7c89 !important;
}

.contact-list span {
  color: rgba(255, 255, 255, 0.55) !important;
}

.contact-list strong,
.contact-list a {
  color: #fff !important;
}

.media-card .thumb,
.industry,
.product .visual,
.split .photo {
  position: relative;
}

.tile-media {
  position: absolute !important;
  inset: 0;
}

.tile-copy {
  position: absolute !important;
  z-index: 2;
}

.media-card img,
.industry img,
.product .visual img,
.product-card__media img,
.pdp-thumbs img,
.split .photo img,
.tile-media img,
.ficha-gallery img,
.ficha-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}

.pdp-main img,
.pdp-lightbox img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 78vh !important;
  object-fit: contain !important;
}

.pdp-thumbs img {
  object-fit: contain !important;
}
