/* Traductor de mascotas — sección cinemática con video de fondo */
#pet-translator.pet-mode-section {
  position: relative;
  z-index: 15;
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #0a1628;
  color: #fff;
  isolation: isolate;
}

.pet-mode-section__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.pet-mode-section__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  pointer-events: none;
}

.pet-mode-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.25) 42%, rgba(10, 22, 40, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 22, 40, 0.45) 0%, rgba(10, 22, 40, 0.12) 50%, rgba(10, 22, 40, 0.5) 100%);
  pointer-events: none;
}

.pet-mode-section__content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 1.25rem 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  pointer-events: auto;
}

.pet-mode-section__title-wrap {
  grid-column: 1 / -1;
  grid-row: 1;
  text-align: center;
}

.pet-mode-section__title {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 3.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.pet-mode-section__title span {
  color: #00d4ff !important;
}

.pet-mode-section__qualities {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pet-mode-section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.pet-mode-section__tag svg {
  width: 0.85rem;
  height: 0.85rem;
  color: #00d4ff;
  flex-shrink: 0;
}

.pet-mode-section__benefits {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  max-width: 560px;
}

.pet-mode-section__benefits h3,
.pet-mode-section__tech h3,
.pet-mode-section__rotator-label {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00d4ff !important;
}

.pet-mode-section__benefits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pet-mode-section__benefits li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95) !important;
}

.pet-mode-section__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00d4ff;
}

.pet-mode-section__rotator {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  max-width: 560px;
  min-height: 4.5rem;
}

.pet-mode-section__rotator-text {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.5;
  font-weight: 600;
  color: #fff !important;
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pet-mode-section__rotator-text.is-fading {
  opacity: 0 !important;
  transform: translateY(6px) !important;
}

.pet-mode-section__tech {
  grid-column: 2;
  grid-row: 3 / 5;
  align-self: stretch;
  max-width: 520px;
  justify-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pet-mode-section__tech p {
  margin: 0 0 0.65rem;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88) !important;
}

.pet-mode-section__cta-wrap {
  grid-column: 1 / -1;
  grid-row: 5;
  text-align: center;
  padding-top: 0.5rem;
}

.pet-mode-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid #00d4ff;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff !important;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pet-mode-section__cta:hover {
  background: #00d4ff;
  color: #03060d !important;
}

@media (max-width: 768px) {
  .pet-mode-section__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto;
  }

  .pet-mode-section__benefits,
  .pet-mode-section__rotator,
  .pet-mode-section__tech {
    grid-column: 1;
    max-width: none;
    text-align: left;
    justify-self: stretch;
  }

  .pet-mode-section__benefits { grid-row: 3; }
  .pet-mode-section__tech { grid-row: 4; justify-content: flex-start; }
  .pet-mode-section__rotator { grid-row: 5; }
  .pet-mode-section__cta-wrap { grid-row: 6; }
}
