/* DAKPLUS EMPRESAS */
/* Alineado visualmente con inicio.css */

/* HERO */
.empresas-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: calc(100vh - 120px);
    align-items: center;
}

.empresas-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.empresas-left {
  max-width: 580px;
}

.empresas-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.empresas-left h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text);
}

.empresas-left h1 span {
  color: var(--green);
}

.empresas-left p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 30px;
  max-width: 560px;
}

.empresas-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.emp-btn-primary,
.emp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  text-decoration: none;
}

.emp-btn-primary {
  background: var(--green);
  color: #ffffff;
  border: 1px solid var(--green);
}

.emp-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.emp-btn-outline {
  background: #ffffff;
  color: var(--green-dark);
  border: 1px solid var(--border);
}

.emp-btn-outline:hover {
  color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* HERO VISUAL */
.empresas-right {
  position: relative;
  min-height: 580px;
}

.emp-phone-stage {
  position: relative;
  width: 100%;
  height: 580px;
}

.emp-phone-img {
  position: absolute;
  width: 255px;
  transition: 0.25s ease;
}

.emp-phone-img img {
  width: 100%;
  display: block;
  border-radius: 34px;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.16));
}

.emp-phone-img:hover {
  transform: translateY(-6px);
}

.emp-phone-main {
  left: 20px;
  top: 20px;
  z-index: 2;
}

.emp-phone-person {
  right: 20px;
  bottom: 0;
  z-index: 2;
}

.emp-flow {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 3;
}

.emp-flow i {
  font-size: 1.2rem;
}

.emp-flow::before,
.emp-flow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 58px;
  border-top: 2px dotted var(--green);
  opacity: 0.55;
}

.emp-flow::before {
  right: 68px;
}

.emp-flow::after {
  left: 68px;
}

.emp-mock-stage {
  height: 620px;
}

.emp-phone-mock {
  position: absolute;
  width: 255px;
  min-height: 520px;
  padding: 18px 16px 20px;
  border: 6px solid #111827;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  transition: .25s ease;
}

.emp-phone-mock:hover {
  transform: translateY(-6px);
}

.emp-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 64px;
  height: 18px;
  border-radius: 999px;
  background: #020617;
  transform: translateX(-50%);
  z-index: 2;
}

.emp-company-cover {
  margin: -18px -16px 14px;
  padding: 52px 18px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #eefcf2 46%, #008514 47%, #006f13 100%);
  color: #ffffff;
  text-align: center;
}

.emp-mock-logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 22px;
  background: #ffffff;
  color: var(--green);
  font-size: 30px;
}

.emp-company-cover h3,
.emp-person-head h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.emp-company-cover span,
.emp-person-head span {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 800;
}

.emp-company-cover p {
  margin: 12px 0 0;
  font-size: .68rem;
  line-height: 1.45;
  opacity: .94;
}

.emp-mock-links {
  display: grid;
  gap: 8px;
}

.emp-mock-links span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 133, 20, 0.28);
  border-radius: 999px;
  color: #0f172a;
  font-size: .72rem;
  font-weight: 800;
}

.emp-mock-links i {
  color: var(--green);
}

.emp-mock-team {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #dceee1;
  text-align: center;
}

.emp-mock-team strong,
.emp-mock-team small {
  display: block;
}

.emp-mock-team strong {
  color: var(--text);
  font-size: .78rem;
}

.emp-mock-team small {
  color: var(--text-soft);
  font-size: .62rem;
}

.emp-mock-team div {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
}

.emp-mock-team div span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #e8f8ec;
  color: var(--green);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.emp-person-mock {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.emp-person-head {
  margin: -18px -16px 14px;
  padding: 62px 18px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #008514 43%, #006f13 100%);
  color: #ffffff;
  text-align: center;
}

.emp-person-avatar {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 5px solid #ffffff;
  border-radius: 999px;
  background: #e8f8ec;
  color: var(--green);
  font-size: 34px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
}

.emp-person-head small {
  display: block;
  margin-top: 3px;
  font-size: .68rem;
  font-weight: 800;
  color: #dcfce7;
}

.emp-person-copy {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.emp-person-copy p {
  display: flex;
  gap: 8px;
  margin: 0;
  color: #475569;
  font-size: .68rem;
  line-height: 1.35;
}

.emp-person-copy i {
  color: var(--green);
  margin-top: 2px;
}

/* SECCIONES GENERALES */
.empresas-section {
  padding: 100px 0;
  background: #ffffff;
}

.empresas-section.alt {
  background: #f9fbfa;
}

.emp-section-container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.emp-section-head {
  text-align: center;
  margin-bottom: 60px;
}

.emp-section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1px;
  margin-bottom: 10px;
  color: var(--text);
}

.emp-section-head p {
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* STEPS */
.emp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.emp-team-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 80px minmax(320px, 1.2fr);
  align-items: center;
  gap: 26px;
}

.emp-hub-card {
  min-height: 340px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 34px;
  border: 1px solid rgba(11, 143, 31, 0.18);
  border-radius: 28px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
}

.emp-hub-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 24px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 30px;
}

.emp-hub-card span,
.emp-network-panel span:first-child {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.emp-hub-card strong {
  display: block;
  margin: 8px 0 12px;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.1;
}

.emp-hub-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.emp-team-lines {
  display: grid;
  gap: 42px;
}

.emp-team-lines span {
  display: block;
  height: 2px;
  border-top: 2px dotted rgba(11, 143, 31, 0.45);
}

.emp-team-stack {
  display: grid;
  gap: 16px;
}

.emp-team-row {
  display: grid;
  grid-template-columns: 72px 1fr 18px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f9fbfa;
  transition: .25s ease;
  position: relative;
  overflow: hidden;
}

.emp-team-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 7px;
  border-radius: 0 999px 999px 0;
  background: var(--green);
}

.emp-team-row::after {
  content: "\f054";
  color: #94a3b8;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  justify-self: end;
}

.emp-team-row:hover {
  transform: translateX(5px);
  border-color: rgba(11, 143, 31, 0.25);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.emp-team-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--green);
  font-size: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.emp-team-row h3 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 1.05rem;
}

.emp-team-row p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* BENEFITS */
.emp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.emp-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
  transition: 0.25s ease;
}

.empresas-section.alt .emp-box {
  background: #ffffff;
}

.emp-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.emp-icon {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 16px;
}

.emp-box h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}

.emp-box p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* IDEAL PARA */
.emp-ideal-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 34px;
  position: relative;
  padding: 4px 0;
}

.emp-ideal-marquee::before,
.emp-ideal-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.emp-ideal-marquee::before {
  left: 0;
  background: linear-gradient(to right, #f9fbfa, transparent);
}

.emp-ideal-marquee::after {
  right: 0;
  background: linear-gradient(to left, #f9fbfa, transparent);
}

.emp-ideal-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: empMarquee 28s linear infinite;
}

.emp-ideal-marquee:hover .emp-ideal-track {
  animation-play-state: paused;
}

@keyframes empMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.emp-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(11, 143, 31, 0.18);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.emp-pill i {
  color: var(--green);
}

.emp-network-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(11, 143, 31, 0.16);
  border-radius: 24px;
  background: #ffffff;
}

.emp-network-panel h3 {
  margin: 6px 0 0;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.emp-network-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.emp-network-grid span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(11, 143, 31, 0.18);
  border-radius: 999px;
  background: #f9fbfa;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.emp-network-grid i {
  color: var(--green);
}


/* CTA */
.empresas-cta {
  padding: 70px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f8 100%);
}

.emp-cta-box {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border-radius: 28px;
  padding: 60px 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.emp-cta-box::before {
  content: "";
  position: absolute;
  inset: -100px;
  background: radial-gradient(circle, rgba(11, 143, 31, 0.15), transparent 60%);
  z-index: 0;
}

.emp-cta-box * {
  position: relative;
  z-index: 1;
}

.emp-cta-box h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text);
}

.emp-cta-box p {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.emp-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .empresas-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .empresas-left {
    max-width: 100%;
  }

  .empresas-left p {
    margin-left: auto;
    margin-right: auto;
  }

  .empresas-actions {
    justify-content: center;
  }

  .empresas-right {
    min-height: 560px;
  }

  .emp-phone-stage {
    width: min(100%, 620px);
    height: 560px;
    margin: 0 auto;
  }

  .emp-phone-mock,
  .emp-phone-img {
    width: 245px;
  }

  .emp-phone-main {
    left: 40px;
  }

  .emp-phone-person {
    right: 40px;
  }

  .emp-steps-grid,
  .emp-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .emp-team-map {
    grid-template-columns: 1fr;
  }

  .emp-team-lines {
    display: none;
  }

  .emp-network-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .emp-network-grid {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .empresas-hero {
    padding: 45px 0 60px;
  }

  .empresas-container,
  .emp-section-container {
    width: calc(100% - 24px);
  }

  .empresas-left h1 {
    font-size: 2.5rem;
    letter-spacing: -1.5px;
  }

  .empresas-left p {
    font-size: 1rem;
  }

  .empresas-actions a {
    width: 100%;
  }

  .empresas-right,
  .emp-phone-stage {
    min-height: auto;
    height: auto;
  }

  .emp-phone-stage {
    display: grid;
    justify-items: center;
    gap: 22px;
  }

  .emp-phone-mock,
  .emp-phone-img {
    position: relative;
    width: min(100%, 310px);
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .emp-phone-main,
  .emp-phone-person {
    transform: none;
  }

  .emp-phone-mock:hover,
  .emp-phone-img:hover {
    transform: none;
  }

  .emp-flow {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
  }

  .emp-flow::before,
  .emp-flow::after {
    display: none;
  }

  .empresas-section {
    padding: 70px 0;
  }

  .emp-steps-grid,
  .emp-benefits-grid {
    grid-template-columns: 1fr;
  }

  .emp-team-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .emp-team-row::after {
    display: none;
  }

  .emp-hub-card {
    min-height: auto;
    padding: 28px 20px;
  }

  .emp-network-panel {
    padding: 22px;
  }

  .emp-cta-box {
    width: calc(100% - 24px);
    padding: 44px 24px;
  }
}
