/* OLDDAT Home Recibos de Sueldo V3 */

/* Navegación orientada al registro */
.nav-account-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 2px;
}

.nav-login-link {
  color: var(--navy-900);
  font-weight: 800;
  white-space: nowrap;
}

.nav-login-link:hover { color: var(--blue-700); }
.nav-register-cta { min-height: 46px; padding: 0 18px; white-space: nowrap; }
.nav-mobile-account { display: none; }

/* Hero principal de lanzamiento */
.launch-hero {
  padding: 70px 0 66px;
  overflow: hidden;
  position: relative;
}

.launch-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -240px;
  top: -250px;
  border-radius: 50%;
  border: 80px solid rgba(31, 155, 215, .07);
  pointer-events: none;
}

.launch-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: 64px;
  align-items: center;
}

.launch-copy h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 5.5vw, 4.65rem);
}

.launch-kicker-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.launch-kicker-row .eyebrow { margin: 0; }

.launch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #178b46, #21ad5c);
  box-shadow: 0 7px 18px rgba(23, 139, 70, .22);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.launch-copy .hero-text {
  margin: 24px 0 20px;
  max-width: 700px;
}

.launch-free-box {
  max-width: 690px;
  padding: 17px 18px;
  border: 1px solid rgba(23, 139, 70, .20);
  border-left: 5px solid #1b9a50;
  border-radius: 14px;
  background: rgba(240, 251, 245, .78);
}

.launch-free-box strong {
  display: block;
  margin-bottom: 3px;
  color: #116f39;
  font-size: 1rem;
}

.launch-free-box p {
  margin: 0;
  color: #395f4c;
  font-size: .94rem;
  line-height: 1.5;
}

.launch-actions { margin-top: 24px; }
.btn-launch { background: linear-gradient(135deg, #116f39, #1da558); }
.btn-launch:hover { box-shadow: 0 16px 32px rgba(17, 111, 57, .25); }

.launch-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  color: #31536d;
  font-size: .86rem;
  font-weight: 750;
}

.launch-assurances span::first-letter { color: #178b46; }

/* Recuadro visual destacado */
.payroll-showcase {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(6, 52, 95, .12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 4%, rgba(127, 209, 242, .22), transparent 30%),
    linear-gradient(145deg, #073a67, #052d52 70%);
  box-shadow: 0 26px 58px rgba(3, 27, 50, .24);
}

.showcase-topline,
.showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.showcase-topline {
  padding: 2px 2px 15px;
  color: rgba(255, 255, 255, .82);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.showcase-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ee68d;
  box-shadow: 0 0 0 5px rgba(78, 230, 141, .12);
}

.showcase-product { color: #8ed7f4; }

.receipt-window {
  overflow: hidden;
  border-radius: 20px;
  background: #edf7fc;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .18);
}

.receipt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: #fff;
  border-bottom: 1px solid #d9edf8;
}

.receipt-toolbar > div { display: flex; gap: 5px; }
.receipt-toolbar span { display: block; width: 8px; height: 8px; border-radius: 50%; background: #9ccde3; }
.receipt-toolbar small { color: #5f7387; font-weight: 700; }

.receipt-paper {
  margin: 18px;
  padding: 20px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(3, 27, 50, .08);
}

.receipt-brand-row,
.receipt-employee,
.receipt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.receipt-company-mark {
  color: var(--navy-900);
  font-weight: 900;
  letter-spacing: .08em;
}

.receipt-period { text-align: right; }
.receipt-period small,
.receipt-employee small { display: block; color: #7890a4; font-size: .65rem; }
.receipt-period strong { display: block; color: var(--navy-900); font-size: .78rem; }

.receipt-employee {
  justify-content: flex-start;
  margin: 16px 0;
  padding: 11px;
  border-radius: 10px;
  background: #f5fbfe;
}

.receipt-employee > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b68aa, #39aedf);
}

.receipt-employee b { display: block; color: #173b59; font-size: .72rem; }

.receipt-table-demo { border: 1px solid #e0eef5; border-radius: 9px; overflow: hidden; }
.receipt-row { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 8px; padding: 8px 10px; border-top: 1px solid #e7f1f6; color: #60778a; font-size: .62rem; }
.receipt-row:first-child { border-top: 0; }
.receipt-row-head { background: #f2f9fc; color: #244a67; font-weight: 800; }
.receipt-row span:nth-child(n+2) { text-align: right; }
.line-value { justify-self: end; align-self: center; width: 44px; height: 6px; border-radius: 99px; background: #8acde8; }
.line-value.short { width: 31px; }

.receipt-total {
  margin-top: 13px;
  padding: 11px 13px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #06345f, #0b68aa);
  font-size: .75rem;
}

.receipt-total strong { color: #fff; font-size: .9rem; }

.receipt-validation {
  margin-top: 10px;
  color: #1b7543;
  font-size: .64rem;
  font-weight: 750;
  text-align: center;
}

.receipt-validation span {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 4px;
  border-radius: 50%;
  color: #fff;
  background: #1b9a50;
}

.showcase-footer {
  padding: 16px 3px 1px;
  color: #fff;
}

.showcase-footer strong,
.showcase-footer small { display: block; }
.showcase-footer strong { font-size: .88rem; }
.showcase-footer small { color: #afd9eb; font-size: .73rem; }
.showcase-footer a { color: #fff; font-size: .82rem; font-weight: 900; }

/* Producto destacado */
.home-products { padding-top: 92px; }

.featured-payroll-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  overflow: hidden;
  border: 1px solid rgba(6, 52, 95, .13);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(3, 27, 50, .11);
}

.featured-payroll-copy { padding: 42px; }
.featured-payroll-copy > h2 { margin-top: 12px; }
.featured-payroll-copy > p { max-width: 760px; margin: 17px 0 26px; color: var(--muted); }

.featured-label,
.payment-card-label {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #126c3b;
  background: #eaf9f0;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .07em;
}

.featured-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.featured-benefits li { display: flex; gap: 12px; }
.featured-benefits li > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #0b68aa;
  font-size: .68rem;
  font-weight: 900;
}

.featured-benefits strong,
.featured-benefits small { display: block; }
.featured-benefits strong { color: var(--navy-900); font-size: .92rem; }
.featured-benefits small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.45; }

.featured-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.featured-text-link { color: var(--blue-700); font-weight: 850; }

.featured-payroll-summary {
  padding: 38px 32px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(127, 209, 242, .25), transparent 30%),
    linear-gradient(150deg, #06345f, #052742);
}

.summary-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .09);
  color: #8ed7f4;
  font-size: 1.8rem;
}

.featured-payroll-summary h3 { margin-bottom: 22px; color: #fff; font-size: 1.45rem; }
.summary-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.summary-item span { color: #b7d3e3; font-size: .84rem; }
.summary-item strong { color: #fff; font-size: .86rem; text-align: right; }
.summary-divider { height: 1px; margin: 20px 0; background: rgba(255,255,255,.14); }
.featured-payroll-summary p { color: #bcd9e7; font-size: .84rem; }
.summary-register { display: inline-flex; margin-top: 10px; color: #86e4ad; font-weight: 900; }

.other-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 50px 0 20px;
}

.other-products-heading .eyebrow { margin-bottom: 6px; }
.other-products-heading > p { max-width: 430px; margin: 0; color: var(--muted); text-align: right; }

.secondary-products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.secondary-product-card { min-height: auto; display: grid; grid-template-columns: 76px 1fr; gap: 22px; padding: 28px; }
.secondary-product-card .icon { margin: 0; }
.secondary-product-card p { margin: 10px 0 16px; }

.registration-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 25px 28px;
  border: 1px solid rgba(23, 139, 70, .2);
  border-radius: 22px;
  background: linear-gradient(135deg, #f5fcf8, #fff);
}

.registration-cta-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #178b46;
  font-size: 1.25rem;
  font-weight: 900;
}

.registration-cta .eyebrow { margin-bottom: 3px; color: #178b46; }
.registration-cta h3 { font-size: 1.28rem; }
.registration-cta p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); }

/* Flujo de prueba */
.trial-process { padding: 88px 0; background: linear-gradient(180deg, #f8fcfe, #fff); }
.trial-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.trial-step {
  position: relative;
  min-height: 270px;
  padding: 27px 20px 22px;
  border: 1px solid rgba(6,52,95,.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(3,27,50,.06);
}

.trial-step-number {
  position: absolute;
  top: 15px;
  right: 16px;
  color: #a4c6d9;
  font-size: 1.5rem;
  font-weight: 900;
}

.trial-step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  color: #0b68aa;
  background: #eaf8ff;
  font-size: 1.3rem;
  font-weight: 900;
}

.trial-step h3 { font-size: 1.05rem; }
.trial-step p { margin: 11px 0 18px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.trial-step small { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #126c3b; background: #eaf9f0; font-size: .68rem; font-weight: 850; }

.process-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 18px;
  color: #dceef7;
  background: linear-gradient(135deg, #06345f, #0b5f97);
}

.process-bottom-cta p { margin: 0; }
.process-bottom-cta strong { color: #fff; }
.process-bottom-cta .btn { color: var(--navy-900); background: #fff; box-shadow: none; white-space: nowrap; }

/* Créditos y prueba */
.home-payment { padding: 82px 0; }
.payment-trial-card { position: relative; }
.payment-trial-card h3 { margin: 12px 0 18px; font-size: 1.55rem; }
.start-requirements { display: grid; gap: 14px; margin: 0 !important; padding: 0 !important; list-style: none; }
.start-requirements li { display: flex; gap: 12px; margin: 0 !important; }
.start-requirements li > span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #178b46; font-size: .78rem; font-weight: 900; }
.start-requirements strong,
.start-requirements small { display: block; }
.start-requirements small { margin-top: 2px; color: var(--muted); font-size: .76rem; }
.payment-card-note { margin: 20px 0 0 !important; padding: 13px; border-radius: 12px; color: #325c49 !important; background: #effaf4; font-size: .8rem !important; }

/* Contacto secundario */
.home-contact { background: #fff; }
.contact-register-box {
  margin-top: 24px;
  padding: 21px;
  border: 1px solid rgba(11, 104, 170, .16);
  border-radius: 18px;
  background: #f7fcff;
}
.contact-register-box strong { display: block; color: var(--navy-900); font-size: 1.06rem; }
.contact-register-box p { margin: 4px 0 14px; font-size: .9rem !important; }
.contact-register-box .btn { min-height: 44px; }
.contact-form-head { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-form-head span { color: var(--blue-700); font-size: .73rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contact-form-head h3 { margin-top: 5px; font-size: 1.35rem; }

@media (max-width: 1180px) {
  .nav-wrap { gap: 18px; }
  .main-nav { gap: 16px; font-size: .9rem; }
  .nav-account-actions { gap: 10px; }
  .nav-register-cta { padding: 0 14px; font-size: .9rem; }
  .launch-hero-grid { gap: 40px; }
}

@media (max-width: 980px) {
  .nav-account-actions { display: none; }
  .nav-mobile-account { display: block !important; font-weight: 850; }
  .nav-mobile-register { margin-top: 5px; border-radius: 10px; color: #fff !important; background: linear-gradient(135deg, #116f39, #1da558); }
  .launch-hero-grid,
  .featured-payroll-card { grid-template-columns: 1fr; }
  .launch-copy { text-align: left; }
  .payroll-showcase { max-width: 620px; width: 100%; margin: 0 auto; }
  .featured-payroll-summary { padding: 32px 38px; }
  .trial-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  #recibos { scroll-margin-top: 18px; }
  .launch-hero { padding: 48px 0 50px; }
  .launch-hero-grid { gap: 36px; }
  .launch-copy h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .launch-assurances { display: grid; gap: 7px; }
  .payroll-showcase { padding: 14px; border-radius: 22px; }
  .receipt-paper { margin: 12px; padding: 14px; }
  .featured-payroll-copy { padding: 28px 22px; }
  .featured-benefits { grid-template-columns: 1fr; }
  .featured-payroll-summary { padding: 28px 22px; }
  .other-products-heading { display: block; }
  .other-products-heading > p { margin-top: 10px; text-align: left; }
  .secondary-products-grid { grid-template-columns: 1fr; }
  .secondary-product-card { grid-template-columns: 60px 1fr; gap: 16px; padding: 23px; }
  .secondary-product-card .icon { width: 58px; height: 58px; border-radius: 17px; }
  .registration-cta { grid-template-columns: auto 1fr; }
  .registration-cta .btn { grid-column: 1 / -1; }
  .trial-steps { grid-template-columns: 1fr; }
  .trial-step { min-height: auto; }
  .process-bottom-cta { display: block; }
  .process-bottom-cta .btn { margin-top: 18px; }
}

@media (max-width: 480px) {
  .showcase-topline { align-items: flex-start; }
  .showcase-product { max-width: 110px; text-align: right; }
  .receipt-row { grid-template-columns: 1.3fr .7fr .7fr; padding: 7px; }
  .receipt-total { font-size: .68rem; }
  .featured-actions { align-items: stretch; }
  .featured-actions .btn { width: 100%; }
  .registration-cta { grid-template-columns: 1fr; }
  .registration-cta-icon { margin-bottom: -6px; }
}


/* Ajustes V2: mensaje directo + preview real */
.launch-law-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 16px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 103, 175, .09);
  color: #125ea1;
  font-size: .88rem;
  font-weight: 800;
}

.launch-copy h1 {
  max-width: 760px;
  letter-spacing: -.03em;
}

.launch-copy h1 span {
  display: block;
  color: #1568f0;
}

.launch-copy .hero-text {
  max-width: 760px;
}

.receipt-window--image {
  background: #f4fbff;
}

.receipt-image-wrap {
  padding: 16px;
  background: linear-gradient(180deg, #edf7fc 0%, #f7fbfe 100%);
}

.receipt-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(3, 27, 50, .10);
}

@media (max-width: 1120px) {
  .launch-law-pill {
    margin-bottom: 14px;
  }
}

@media (max-width: 760px) {
  .launch-law-pill {
    min-height: 32px;
    padding: 0 12px;
    font-size: .82rem;
    line-height: 1.2;
  }

  .receipt-image-wrap {
    padding: 12px;
  }
}


/* Ajuste V3: mover referencia normativa junto al bono */
.showcase-law-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px 0;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #125ea1;
  font-size: .84rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(3, 27, 50, .10);
  max-width: fit-content;
}

@media (min-width: 981px) {
  .showcase-law-pill {
    margin-left: auto;
    margin-right: 12px;
  }
}

@media (max-width: 980px) {
  .showcase-law-pill {
    margin-left: 0;
    margin-right: 0;
    font-size: .8rem;
  }
}
