@import url("premium-v3-base.css");

/* Ajustes generales y estabilidad visual */
.hero-film { display: block !important; }
.hero-film-signature { display: none !important; }
.hero::before { display: none !important; animation: none !important; }
img { max-width: 100%; }

/* Página principal: reducir espacios excesivos entre bloques */
body:not([class*="theme-"]) .section {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}
body:not([class*="theme-"]) #soluciones {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}
body:not([class*="theme-"]) #informes {
  padding-top: 52px !important;
  padding-bottom: 40px !important;
}
body:not([class*="theme-"]) #lab {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
body:not([class*="theme-"]) #contacto {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}
body:not([class*="theme-"]) .closing {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}

/* Página principal: opción 3 aprobada para enlaces de ingreso */
body:not([class*="theme-"]) .text-link {
  align-items: center;
  min-height: 64px;
}
body:not([class*="theme-"]) .text-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 112px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(7, 22, 35, .65);
  border-radius: 999px;
  color: transparent;
  font-size: 0;
  line-height: 1;
  transform: none !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
body:not([class*="theme-"]) .text-link span::before {
  content: "VER MÁS";
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}
body:not([class*="theme-"]) .text-link span::after {
  content: "›";
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}
body:not([class*="theme-"]) .text-link:hover span {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateX(3px) !important;
}
body:not([class*="theme-"]) .text-link:hover span::before,
body:not([class*="theme-"]) .text-link:hover span::after {
  color: #fff;
}

/* Cleaning Lab: mismo indicador de acción opción 3 */
body:not([class*="theme-"]) .lab-link > span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 112px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(7, 22, 35, .65);
  border-radius: 999px;
  color: transparent;
  font-size: 0;
  line-height: 1;
  transform: none !important;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
body:not([class*="theme-"]) .lab-link > span:last-child::before {
  content: "VER MÁS";
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}
body:not([class*="theme-"]) .lab-link > span:last-child::after {
  content: "›";
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}
body:not([class*="theme-"]) .lab-link:hover > span:last-child {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateX(3px) !important;
}
body:not([class*="theme-"]) .lab-link:hover > span:last-child::before,
body:not([class*="theme-"]) .lab-link:hover > span:last-child::after {
  color: #fff;
}

/* Botones consistentes entre Hogar, Empresas y Provider */
.theme-hogar .hero-actions,
.theme-provider .hero-actions,
.theme-empresas .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px !important;
}
.theme-hogar .hero-actions .button,
.theme-provider .hero-actions .button,
.theme-empresas .hero-actions .button {
  width: auto !important;
  min-width: 188px;
  min-height: 52px;
  padding-inline: 24px;
  white-space: nowrap;
}

/* Evitar superposiciones entre hero y tarjetas */
.theme-hogar .channel-hero,
.theme-provider .channel-hero,
.theme-empresas .channel-hero { overflow: hidden; }
.theme-hogar .hero-layout,
.theme-provider .hero-layout,
.theme-empresas .hero-layout { padding-bottom: 100px !important; }
.theme-hogar .hero-note,
.theme-provider .hero-note,
.theme-empresas .hero-note { position: relative; z-index: 2; }
.theme-hogar .trust-bar,
.theme-provider .trust-bar,
.theme-empresas .trust-bar { margin-top: -34px; }

/* Envases completos y proporcionados */
.product-feature { min-height: 660px !important; overflow: hidden; }
.product-feature-image {
  object-fit: contain !important;
  object-position: 76% center !important;
  transform: scale(.82) !important;
  transform-origin: 76% center !important;
  background: #020810 !important;
}
.product-feature-shade {
  background:
    linear-gradient(90deg, rgba(1,7,13,.98) 0%, rgba(1,7,13,.87) 36%, rgba(1,7,13,.24) 69%, rgba(1,7,13,.08) 100%),
    linear-gradient(0deg, rgba(1,7,13,.70), transparent 42%) !important;
}

/* Logos de pie de página legibles */
.footer-brand img {
  width: 230px !important;
  height: auto !important;
  max-height: 112px !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  background: #fff !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Empresas que confiaron en Cleaning Services */
.clients-section {
  overflow: hidden;
  padding: 54px 0 28px;
  border-top: 1px solid rgba(7,26,43,.10);
  border-bottom: 1px solid rgba(7,26,43,.10);
  background: #fff;
}
.clients-heading {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 22px;
  text-align: center;
}
.clients-heading span {
  display: block;
  margin-bottom: 12px;
  color: #079bb3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.clients-heading h2 {
  margin: 0;
  color: #071a2b;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.clients-marquee {
  overflow: hidden;
  width: 100%;
  margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clientsLoop 30s linear infinite;
  will-change: transform;
}
.clients-group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}
.client-logo {
  width: 126px;
  height: 126px;
  flex: 0 0 126px;
  display: grid;
  place-items: center;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(7,26,43,.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(7,26,43,.08);
}
.client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.client-logo img[src$="starbucks.webp"] { transform: scale(1.10); }
.client-logo img[src$="la-veneciana.webp"] { transform: scale(1.16); }
.client-logo img[src$="toyota.webp"] { transform: scale(1.16); }
.client-logo img[src$="hotel-continental.webp"] { transform: scale(1.10); }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clientsLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.theme-empresas .clients-section + section {
  padding-top: 56px !important;
}

/* Correcciones de estructura compartida */
.symbol-card img { object-fit: contain !important; }
.contact-logo img,
.brand img,
.unit-logo img { object-fit: contain !important; }
.report-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
  .theme-hogar .hero-layout,
  .theme-provider .hero-layout,
  .theme-empresas .hero-layout { padding-bottom: 72px !important; }
  .theme-hogar .trust-bar,
  .theme-provider .trust-bar,
  .theme-empresas .trust-bar { margin-top: 0 !important; }
}

@media (max-width: 760px) {
  body:not([class*="theme-"]) .section,
  body:not([class*="theme-"]) #soluciones,
  body:not([class*="theme-"]) #informes,
  body:not([class*="theme-"]) #lab,
  body:not([class*="theme-"]) #contacto,
  body:not([class*="theme-"]) .closing {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }
  body:not([class*="theme-"]) .text-link span,
  body:not([class*="theme-"]) .lab-link > span:last-child {
    min-width: 104px;
    min-height: 36px;
    padding-inline: 14px;
  }
  .theme-hogar .hero-layout,
  .theme-provider .hero-layout,
  .theme-empresas .hero-layout { padding-bottom: 62px !important; }
  .theme-hogar .hero-actions,
  .theme-provider .hero-actions,
  .theme-empresas .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    gap: 12px !important;
  }
  .theme-hogar .hero-actions .button,
  .theme-provider .hero-actions .button,
  .theme-empresas .hero-actions .button {
    width: 100% !important;
    min-width: 0;
    min-height: 50px;
    padding-inline: 16px;
  }
  .theme-hogar .hero-note,
  .theme-provider .hero-note,
  .theme-empresas .hero-note {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
  }
  .product-feature { min-height: 650px !important; }
  .product-feature-image {
    object-position: center 14% !important;
    transform: scale(.70) !important;
    transform-origin: center 14% !important;
  }
  .product-feature-content { padding-block: 320px 58px !important; }
  .clients-section { padding: 48px 0 22px; }
  .clients-heading { width: min(100% - 34px, 1180px); margin-bottom: 18px; }
  .clients-heading h2 { font-size: clamp(32px, 10vw, 42px); }
  .client-logo {
    width: 102px;
    height: 102px;
    flex-basis: 102px;
    padding: 10px;
    border-radius: 15px;
  }
  .theme-empresas .clients-section + section {
    padding-top: 42px !important;
  }
  .footer-brand img { width: 220px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none !important; }
}
