/* ── Empresas — En construcción ─────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

.emp-coming {
  --emp-bg-0: #050b17;
  --emp-bg-1: #07101f;
  --emp-bg-2: #050a14;
  --emp-blue: #2563eb;
  --emp-blue-light: #4d9fff;
  --emp-text-muted: rgba(255, 255, 255, 0.62);
  min-height: 100vh;
  max-width: 100vw;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 42%, rgba(37, 99, 235, 0.09), transparent 34%),
    linear-gradient(180deg, var(--emp-bg-0) 0%, var(--emp-bg-1) 48%, var(--emp-bg-2) 100%);
  color: #fff;
  overflow-x: hidden;
}

.emp-coming__bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% 38%, rgba(37, 99, 235, 0.14), transparent 42%),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.045) 0.6px, transparent 0.6px);
  background-size: auto, 72px 100%, 22px 22px;
  opacity: 0.55;
}

.emp-coming__header {
  position: relative;
  z-index: 10;
  height: 88px;
  display: flex;
  align-items: center;
  padding-inline: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 11, 23, 0.92);
  backdrop-filter: blur(12px);
}

.emp-coming__header-inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.emp-coming__logo img {
  display: block;
  height: 52px;
  width: auto;
}

.emp-coming__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  border: 1.5px solid rgba(37, 99, 235, 0.75);
  border-radius: 12px;
  background: rgba(7, 15, 29, 0.6);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.emp-coming__menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--emp-blue-light);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.emp-coming__header.is-open .emp-coming__menu-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.emp-coming__header.is-open .emp-coming__menu-btn span:nth-child(2) {
  opacity: 0;
}

.emp-coming__header.is-open .emp-coming__menu-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.emp-coming__menu-btn:hover,
.emp-coming__menu-btn:focus-visible {
  border-color: var(--emp-blue-light);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.25);
  outline: none;
}

/* Nav desktop (visible ≥1024px) */
.emp-coming__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.emp-coming__nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.emp-coming__nav a:hover {
  color: var(--emp-blue-light);
}

/* Nav móvil/tablet: panel desplegable */
@media (max-width: 1023px) {
  .emp-coming__menu-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .emp-coming__nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    display: block;
    min-width: 220px;
    margin-left: 0;
    padding: 12px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 14px;
    background: rgba(7, 15, 29, 0.96);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 20;
  }

  .emp-coming__header.is-open .emp-coming__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .emp-coming__nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: normal;
  }

  .emp-coming__nav a:hover {
    background: rgba(37, 99, 235, 0.12);
    color: var(--emp-blue-light);
  }
}

.emp-coming__main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: 64px 24px 48px;
  text-align: center;
  overflow-x: clip;
}

.emp-coming__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  margin-bottom: 34px;
  border: 1px solid rgba(37, 99, 235, 0.55);
  border-radius: 999px;
  background: rgba(7, 15, 29, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emp-blue-light);
  animation: empFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.emp-coming__badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.emp-coming__title {
  margin: 0 0 24px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
  animation: empFadeUp 0.7s 0.06s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.emp-coming__title em {
  font-style: normal;
  color: var(--emp-blue-light);
}

.emp-coming__desc {
  max-width: 660px;
  margin: 0 auto 42px;
  padding-inline: 8px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--emp-text-muted);
  overflow-wrap: break-word;
  animation: empFadeUp 0.7s 0.12s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* ── Ilustración ── */
.emp-illus {
  position: relative;
  width: min(620px, calc(100% - 8px));
  max-width: 100%;
  height: 280px;
  margin: 0 auto 34px;
  overflow: hidden;
  animation: empFadeUp 0.8s 0.18s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.emp-illus__base {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.85), transparent);
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.45);
}

.emp-illus__base::before,
.emp-illus__base::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.5), transparent);
  animation: empLineDrift 4s ease-in-out infinite;
}

.emp-illus__base::before { left: 22%; }
.emp-illus__base::after { right: 24%; animation-delay: 1.4s; }

.emp-illus__window {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  width: min(340px, 52%);
  max-width: 340px;
  border: 2px solid rgba(37, 99, 235, 0.9);
  border-radius: 22px;
  background: rgba(7, 15, 29, 0.72);
  box-shadow:
    0 0 45px rgba(37, 99, 235, 0.18),
    inset 0 0 35px rgba(37, 99, 235, 0.04);
  overflow: hidden;
}

.emp-illus__win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.25);
}

.emp-illus__win-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.85);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

.emp-illus__win-body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.emp-illus__win-body svg {
  width: 56px;
  height: 56px;
  color: var(--emp-blue-light);
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.35));
}

.emp-illus__win-lines {
  width: 100%;
  max-width: 180px;
  display: grid;
  gap: 8px;
}

.emp-illus__win-lines span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.35);
}

.emp-illus__win-lines span:last-child {
  width: 72%;
  margin-inline: auto;
}

.emp-illus__logo-ring {
  position: absolute;
  right: 10%;
  top: 52px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.85);
  background: radial-gradient(circle at 50% 40%, rgba(37, 99, 235, 0.18), rgba(7, 15, 29, 0.95) 68%);
  box-shadow:
    0 0 40px rgba(37, 99, 235, 0.35),
    inset 0 0 24px rgba(37, 99, 235, 0.08);
  overflow: hidden;
  animation: empGlowPulse 3.6s ease-in-out infinite;
}

.emp-illus__logo-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #07080f;
}

.emp-illus__logo-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.12);
}

.emp-illus__barrier {
  position: absolute;
  left: 6%;
  bottom: 36px;
  width: 88px;
  height: 72px;
}

.emp-illus__barrier svg {
  display: block;
  width: 100%;
  height: auto;
}

.emp-illus__barrier-light {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd166 0%, #f59e0b 55%, transparent 72%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.75);
  animation: empLightPulse 2.2s ease-in-out infinite;
}

.emp-illus__cone {
  position: absolute;
  right: 10%;
  bottom: 28px;
  width: 52px;
  height: 64px;
}

.emp-illus__cone svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── CTA card ── */
.emp-cta {
  max-width: 860px;
  width: 100%;
  min-width: 0;
  margin: 0 auto 28px;
  padding: 24px 28px;
  box-sizing: border-box;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 22px;
  background: rgba(10, 18, 32, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  animation: empFadeUp 0.8s 0.24s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.emp-cta__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.emp-cta__text {
  text-align: left;
  min-width: 0;
}

.emp-cta__icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.45);
  background: rgba(7, 15, 29, 0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.12);
}

.emp-cta__icon svg {
  width: 26px;
  height: 26px;
  color: var(--emp-blue-light);
}

.emp-cta__title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.emp-cta__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--emp-text-muted);
}

.emp-cta__btn {
  min-width: 0;
  max-width: 100%;
  height: 54px;
  padding-inline: 28px;
  border: none;
  border-radius: 999px;
  background: var(--emp-blue);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.emp-cta__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 0 34px rgba(37, 99, 235, 0.55);
}

.emp-cta__btn:focus-visible {
  outline: 2px solid var(--emp-blue-light);
  outline-offset: 3px;
}

.emp-cta__form {
  display: none;
  width: 100%;
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  text-align: left;
}

.emp-cta.is-open .emp-cta__intro {
  display: none;
}

.emp-cta.is-open .emp-cta__form {
  display: block;
}

.emp-cta__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.emp-cta__input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 14px;
  background: rgba(5, 11, 23, 0.9);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.emp-cta__input:focus {
  outline: none;
  border-color: var(--emp-blue-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.emp-cta__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--emp-text-muted);
  min-width: 0;
}

.emp-cta__privacy span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.emp-cta__privacy input {
  margin-top: 3px;
  accent-color: var(--emp-blue);
}

.emp-cta__privacy a {
  color: var(--emp-blue-light);
  text-decoration: underline;
}

.emp-cta__submit {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 52px;
  padding-inline: 20px;
  border: none;
  border-radius: 999px;
  background: var(--emp-blue);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.38);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.emp-cta__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.emp-cta__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.emp-cta__msg {
  margin: 12px 0 0;
  font-size: 14px;
  min-height: 1.25em;
}

.emp-cta__msg.is-ok { color: #34d399; }
.emp-cta__msg.is-err { color: #f87171; }

.emp-cta__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ── Seguridad ── */
.emp-secure {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  text-align: left;
  animation: empFadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.emp-secure__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(7, 15, 29, 0.8);
  display: grid;
  place-items: center;
}

.emp-secure__icon svg {
  width: 20px;
  height: 20px;
  color: var(--emp-blue-light);
}

.emp-secure__title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.emp-secure__sub {
  margin: 0;
  font-size: 13px;
  color: var(--emp-text-muted);
}

@keyframes empFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes empGlowPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(37, 99, 235, 0.35), inset 0 0 24px rgba(37, 99, 235, 0.08); }
  50% { box-shadow: 0 0 52px rgba(37, 99, 235, 0.48), inset 0 0 30px rgba(37, 99, 235, 0.12); }
}

@keyframes empLightPulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes empLineDrift {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 0.75; transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .emp-coming__badge,
  .emp-coming__title,
  .emp-coming__desc,
  .emp-illus,
  .emp-cta,
  .emp-secure {
    animation: none;
  }

  .emp-illus__logo-ring,
  .emp-illus__barrier-light,
  .emp-illus__base::before,
  .emp-illus__base::after {
    animation: none;
  }
}

@media (max-width: 900px) {
  .emp-cta__intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .emp-cta__icon {
    margin-inline: auto;
  }

  .emp-cta__text {
    text-align: center;
  }

  .emp-cta__btn {
    width: 100%;
    white-space: normal;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .emp-coming__main {
    padding: 56px 28px 44px;
  }

  .emp-coming__title {
    font-size: clamp(38px, 5.5vw, 54px);
  }

  .emp-coming__desc {
    font-size: 17px;
    max-width: 580px;
  }

  .emp-illus {
    width: min(520px, calc(100% - 16px));
    height: 260px;
  }

  .emp-illus__logo-ring {
    width: 96px;
    height: 96px;
    right: 8%;
    top: 48px;
  }

  .emp-illus__window {
    width: min(300px, 48%);
  }

  .emp-illus__barrier {
    width: 76px;
    left: 5%;
  }

  .emp-illus__cone {
    width: 46px;
    right: 8%;
  }

  .emp-cta__btn {
    min-width: 132px;
    height: 50px;
    padding-inline: 22px;
  }
}

@media (max-width: 767px) {
  .emp-coming__header {
    height: 76px;
    padding-inline: 16px;
  }

  .emp-coming__logo img {
    height: 38px;
    max-width: min(210px, 52vw);
    width: auto;
    object-fit: contain;
  }

  .emp-coming__nav {
    right: 0;
  }

  .emp-coming__main {
    padding: 40px 16px 36px;
  }

  .emp-coming__badge {
    margin-bottom: 24px;
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 8px 12px;
    max-width: 100%;
  }

  .emp-coming__title {
    font-size: clamp(28px, 8.2vw, 40px);
    line-height: 1.06;
    margin-bottom: 16px;
    letter-spacing: -0.035em;
  }

  .emp-coming__desc {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
    padding-inline: 4px;
    max-width: 100%;
  }

  .emp-illus {
    width: min(100%, 320px);
    height: 200px;
    margin-bottom: 24px;
  }

  .emp-illus__window {
    width: min(210px, 58%);
    top: 22px;
  }

  .emp-illus__win-body {
    padding: 18px 16px 22px;
    gap: 10px;
  }

  .emp-illus__win-body svg {
    width: 42px;
    height: 42px;
  }

  .emp-illus__logo-ring {
    width: 72px;
    height: 72px;
    top: 38px;
    right: 6%;
  }

  .emp-illus__barrier {
    width: 56px;
    height: auto;
    left: 4%;
    bottom: 30px;
  }

  .emp-illus__cone {
    width: 36px;
    right: 6%;
    bottom: 24px;
  }

  .emp-cta {
    padding: 20px 20px;
  }

  .emp-cta__intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }

  .emp-cta__icon {
    margin-inline: auto;
  }

  .emp-cta__text {
    text-align: center;
  }

  .emp-cta__title {
    font-size: 16px;
  }

  .emp-cta__sub {
    font-size: 13px;
  }

  .emp-cta__btn {
    width: 100%;
    white-space: normal;
  }

  .emp-secure {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    max-width: 100%;
    padding-inline: 8px;
  }
}

@media (max-width: 374px) {
  .emp-coming__title {
    font-size: 26px;
  }

  .emp-coming__desc {
    font-size: 14px;
  }

  .emp-illus {
    width: min(100%, 290px);
    height: 185px;
  }

  .emp-illus__logo-ring {
    width: 64px;
    height: 64px;
    top: 34px;
  }

  .emp-illus__window {
    width: min(190px, 56%);
  }

  .emp-illus__barrier {
    width: 48px;
  }

  .emp-illus__cone {
    width: 32px;
  }
}
