/* ---------- Paquetes Section 2026 ---------- */
.paquetes-container-2026 {
  background-color: #e6f4ff;
  padding: 80px 5%;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.texto-container-2026 {
  text-align: center;
  margin-bottom: 60px;
}

.tittle-principal-paquetes-2026 {
  color: #002955 !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  /* Bolder as in image */
  letter-spacing: -1.5px;
  /* More compact like the image */
  margin-bottom: 25px !important;
  /* Slightly more space */
  margin-top: 0;
  width: 110% !important;
  padding-right: 100px !important;
  line-height: 1.1;
}

.subtittle-principal-paquetes-2026 {
  color: #5A6B7C;
  font-size: 18px;
  margin: 0;
  font-weight: 400;
}

.steps-grid-2026 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1400px;
  width: 85%;
  margin: 0 auto 60px auto;
}

.step-card-2026 {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0 10px;
  gap: 10px;
  /* Reduced gap to bring them closer */
}

.step-number-bg {
  font-size: 150px;
  /* Slightly larger */
  font-weight: 900;
  color: #a8c8e8;
  line-height: 0.8;
  transition: color 0.3s ease;
  flex-shrink: 0;
  z-index: 1;
  opacity: 0.7;
  position: relative;
  right: -30px;
  transform: translateY(0px);
}

.step-card-2026:hover .step-number-bg {
  color: #A0B2C6;
}

.step-content-2026 {
  position: relative;
  margin-top: 15px;
  /* Alignment with the top of the number */
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.step-title-2026 {
  color: #0A2540;
  font-size: 21px;
  /* Slightly larger */
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.step-title-2026 .highlight-blue {
  color: #007BFF;
}

.step-text-2026 {
  color: #5A6B7C;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  max-width: 320px;
  margin-bottom: 5px;
  /* Reduced from default to pull up note slightly */
}

.step-note-2026 {
  color: #007BFF;
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 0;
  max-width: 320px;
  line-height: 1.4;
}

.paquetes-action-2026 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-ver-planes-2026 {
  background-color: #0A2540;
  /* Dark blue button */
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.2);
  transition: all 0.3s ease;
}

.btn-ver-planes-2026:hover {
  background-color: #1a3a5f;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
  color: #FFFFFF;
}

.paquetes-features-2026 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.feature-p-2026 {
  display: flex;
  align-items: center;
  color: #5A6B7C;
  font-size: 13px;
  font-weight: 500;
}

.feature-p-2026 svg {
  margin-right: 8px;
}

@media (max-width: 1440px) {
  .tittle-principal-paquetes-2026 {
    width: 110% !important;
    margin-bottom: 20px !important;
    padding-right: 80px !important;
  }

  .steps-grid-2026 {
    max-width: 1100px;
    gap: 40px;
    /* Reduced gap drastically to prevent overlapping */
  }

  .step-card-2026 {
    text-align: center;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
  }

  .step-number-bg {
    font-size: 150px;
    position: absolute;
    top: 10px;
    left: 50%;
    /* Perfectly center the number in the column */
    transform: translateX(-120%);
    z-index: 0;
    line-height: 1;
  }

  .step-title-2026 {
    font-size: 18px;
  }

  .step-text-2026 {
    font-size: 13px;
  }

  .step-content-2026 {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 260px;
  }

  .buttons-empresarios.buttons-empresarios-2026 {
    gap: 30px;
  }
}

@media (max-width: 1368px) {
  .features-timeline-wrapper-2026 {
    max-width: 90%;
  }

  .steps-grid-2026 {
    max-width: 1060px;
  }
}

/* Responsive Styles for Paquetes 2026 */
@media (max-width: 1024px) {
  .paquetes-container-2026 {
    padding: 60px 8%;
  }

  .steps-grid-2026 {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
    /* Constrain width for 1 col layot */
    margin: 0 auto;
    /* Center the grid */
    width: 100%;
  }

  .step-card-2026 {
    text-align: center;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    gap: 15px;
  }

  .step-number-bg {
    font-size: 160px;
    position: absolute;
    top: 10px;
    left: 20%;
    transform: translateX(-60%);
  }

  .btn-ver-planes-2026 {
    margin-top: 50px;
  }

  .step-note-2026 {
    margin-left: 70px;
  }

  .tittle-principal-paquetes-2026 {
    font-size: 32px;
  }

  .subtittle-principal-paquetes-2026 {
    font-size: 18px;
  }

  .step-title-2026 {
    font-size: 20px;
  }

  .step-text-2026 {
    font-size: 15px;
    margin-left: 0;
    max-width: none;
    text-align: center;
  }

  .step-content-2026 {
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 768px) {

  #paquetes h2 {
    font-size: 23px;
  }

  .step-content-2026 {
    width: 350px;
  }

  .paquetes-container-2026 {
    padding: 50px 8%;
  }

  .tittle-principal-paquetes-2026 {
    font-size: 26px;
    line-height: 1.3;
  }

  .subtittle-principal-paquetes-2026 {
    font-size: 15px;
  }

  .steps-grid-2026 {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 500px;
    margin: 0 auto;
  }

  .step-note-2026 {
    margin-left: 10px;
  }

  .step-card-2026 {
    text-align: center;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    gap: 10px;
  }

  /* But at 768px, force text left inside the column to overlap leftwards */
  .step-text-2026 {
    margin-left: 0;
    max-width: none;
    text-align: center;
  }


  .step-number-bg {
    font-size: 160px;
    top: 10px;
    left: 16%;
    transform: translateX(-50%);
  }

  .step-title-2026 {
    font-size: 18px;
  }

  .step-text-2026 {
    font-size: 14px;
    padding: 0 10px;
  }

  .paquetes-features-2026 {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .btn-ver-planes-2026 {
    font-size: 15px;
    padding: 14px 28px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 50px;
  }
}

@media (max-width: 425px) {

  #paquetes h2 {
    font-size: 15px;
  }

  .subtittle-principal-paquetes-2026 {
    font-size: 12px;
  }

  .step-content-2026 {
    width: 200px;
  }

  .paquetes-container-2026 {
    padding: 40px 5%;
  }

  .tittle-principal-paquetes-2026 {
    font-size: 24px;
  }

  .step-number-bg {
    font-size: 80px;
    top: 40px;
    transform: translateX(-40%);
  }

  .step-title-2026 {
    font-size: 13px;
  }

  .step-text-2026 {
    font-size: 10px;
  }
}

/* ---------- Features Timeline 2026 ---------- */
.features-container-2026 {
  padding: 80px 20px;
  background-color: #FFFFFF;
  text-align: center;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.features-title-2026 {
  color: #007BFF;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 50px;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.features-title-2026::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.features-timeline-wrapper-2026 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Base line connecting all steps */
.features-timeline-wrapper-2026::before {
  content: '';
  position: absolute;
  top: 30px;
  /* Center of the 60px circles */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-color: #E2E8F0;
  z-index: 1;
}

/* Blue progress line connecting completed steps */
.features-timeline-progress-2026 {
  position: absolute;
  top: 30px;
  left: 12.5%;
  height: 2px;
  background-color: #1A8CFF;
  z-index: 2;
  transition: width 2s ease-in-out;
}

.features-timeline-step-2026 {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 25%;
  cursor: default;
}

.features-step-circle-2026 {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.features-step-circle-2026 svg {
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Default Icon Path */
.features-step-circle-2026 .icon-path-2026 {
  stroke: #8C9BA9;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: transparent;
}

/* Completed Icon Path (Checkmark) -> Hidden by default */
.features-step-circle-2026 .check-path-2026 {
  stroke: #FFFFFF;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: none;
  fill: transparent;
}

/* The card below the circle */
.features-step-card-2026 {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 15px;
  width: 160px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.features-step-card-text-2026 {
  color: #5A6B7C;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

/* ---------- States: Completed & Active ---------- */

/* Completed State */
.features-timeline-step-2026.completed .features-step-circle-2026 {
  background-color: #1A8CFF;
  border-color: #1A8CFF;
}

.features-timeline-step-2026.completed .icon-path-2026 {
  display: none;
}

.features-timeline-step-2026.completed .check-path-2026 {
  display: block;
}

/* Active State */
.features-timeline-step-2026.active .features-step-circle-2026 {
  background-color: #FFFFFF;
  border-color: #3bb2eb;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 6px 20px rgba(59, 178, 235, 0.2);
}

.features-timeline-step-2026.active .icon-path-2026 {
  stroke: #3bb2eb;
}

.features-timeline-step-2026.active .features-step-card-2026 {
  border: 1px solid #3bb2eb;
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(59, 178, 235, 0.15);
}

.features-timeline-step-2026.active .features-step-card-text-2026 {
  color: #0A2540;
  /* Make text a bit darker/stronger when active */
}


/* ---------- Planes Header 2026 ---------- */
.header-planes-2026 {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.tittle-planes-2026 {
  color: #0A2540;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.subtittle-planes-2026 {
  color: #5A6B7C;
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- Buttons Paquetes 2026 Overlay ---------- */
.buttons-paquetes-wrapper-2026 {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* Override existing .buttons-paquetes */
.buttons-paquetes.buttons-paquetes-2026 {
  background-color: #FFFFFF;
  border-radius: 40px;
  padding: 6px;
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  gap: 0;
  transform: none;
  /* override previous translateY */
  position: relative;
  width: auto;
}

.buttons-paquetes.buttons-paquetes-2026 .button-p {
  background: transparent !important;
  border: none !important;
  border-radius: 35px;
  height: 50px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  margin: 0;
  max-width: none;
}

.buttons-paquetes.buttons-paquetes-2026 .button-p .text-button {
  margin: 0;
  font-size: 16px !important;
  font-weight: 700;
  color: #5A6B7C;
  transition: color 0.3s ease;
}

/* Slider bubble effect for Contadores/Empresarios */
.buttons-paquetes.buttons-paquetes-2026::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 160px;
  height: 50px;
  background-color: #0A2540;
  /* Dark blue pill */
  border-radius: 35px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

/* When Empresarios is active, slide to the right */
.buttons-paquetes.buttons-paquetes-2026:has(.empresarios.active)::before {
  transform: translateX(160px);
}

/* Active text colors */
.buttons-paquetes.buttons-paquetes-2026 .button-p.active .text-button {
  color: #FFFFFF;
}

/* Ensure hover state matches active status to prevent override */
.buttons-paquetes.buttons-paquetes-2026 .button-p.contadores:hover .text-button,
.buttons-paquetes.buttons-paquetes-2026 .button-p.empresarios:hover .text-button {
  color: #0A2540;
}

.buttons-paquetes.buttons-paquetes-2026 .button-p.active:hover .text-button {
  color: #FFFFFF;
}


/* ---------- Buttons Empresarios 2026 Overlay ---------- */
.sector-label-2026 {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #8c9ba9;
  letter-spacing: 1.5px;
  margin-right: 5px;
}

.buttons-empresarios.buttons-empresarios-2026 {
  display: flex !important;
  /* Will be toggled inline by scripts, this just ensures flex when shown */
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 50px;
}

.buttons-empresarios.buttons-empresarios-2026[style*="display: none"] {
  display: none !important;
}

.buttons-empresarios.buttons-empresarios-2026 .button-p-empresarios {
  background-color: #FFFFFF !important;
  border-radius: 30px;
  height: 40px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  max-width: none;
  width: auto;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.buttons-empresarios.buttons-empresarios-2026 .text-button-empresarios {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 700;
}

.buttons-empresarios.buttons-empresarios-2026 .button-p-empresarios svg {
  width: 16px;
  height: 16px;
}

/* Specific colors for Empresarios Buttons */
/* Punto de Venta: Orange (#DF6921) */
.buttons-empresarios.buttons-empresarios-2026 .puntoVenta {
  border: 1.5px solid #FBC0A6 !important;
  color: #DF6921 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .puntoVenta.active {
  background-color: #DF6921 !important;
  border-color: #DF6921 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(223, 105, 33, 0.3);
}

/* Servicios: Teal (#1A9B94) */
.buttons-empresarios.buttons-empresarios-2026 .servicios {
  border: 1.5px solid #A2DDD9 !important;
  color: #1A9B94 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .servicios.active {
  background-color: #1A9B94 !important;
  border-color: #1A9B94 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(26, 155, 148, 0.3);
}

/* Comercio: Purple (#8A5FA3) */
.buttons-empresarios.buttons-empresarios-2026 .comercio {
  border: 1.5px solid #D6BEE6 !important;
  color: #8A5FA3 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .comercio.active {
  background-color: #8A5FA3 !important;
  border-color: #8A5FA3 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(138, 95, 163, 0.3);
}

/* Manufactura: Dark Blue (#335071) */
.buttons-empresarios.buttons-empresarios-2026 .manuFactura {
  border: 1.5px solid #C4D2E1 !important;
  color: #335071 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .manuFactura.active {
  background-color: #335071 !important;
  border-color: #335071 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(51, 80, 113, 0.3);
}

/* Avoid !important conflicts if possible */
.buttons-empresarios.buttons-empresarios-2026 .puntoVenta:hover {
  background-color: #fef5f0 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .puntoVenta.active:hover {
  background-color: #DF6921 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .servicios:hover {
  background-color: #f0fafa !important;
}

.buttons-empresarios.buttons-empresarios-2026 .servicios.active:hover {
  background-color: #1A9B94 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .comercio:hover {
  background-color: #fbf8fd !important;
}

.buttons-empresarios.buttons-empresarios-2026 .comercio.active:hover {
  background-color: #8A5FA3 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .manuFactura:hover {
  background-color: #f2f5f8 !important;
}

.buttons-empresarios.buttons-empresarios-2026 .manuFactura.active:hover {
  background-color: #335071 !important;
}

@media (max-width: 900px) {
  .buttons-empresarios.buttons-empresarios-2026 {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .tittle-planes-2026 {
    font-size: 25px;
  }

  .subtittle-planes-2026 {
    font-size: 14px;
  }
}

/* ── BASE CARD ── */
.card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #dde8f2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(10, 37, 71, .07);
  transition: transform .25s, box-shadow .25s;
  animation: cardIn .5s ease forwards;
  opacity: 0;
  transform: translateY(16px);
  width: 340px;
  /* Fixed width for slider items */
  flex-shrink: 0;
}

.card:nth-child(1) {
  animation-delay: .05s;
}

.card:nth-child(2) {
  animation-delay: .15s;
}

.card:nth-child(3) {
  animation-delay: .25s;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 37, 71, .12);
}

/* featured */
.card.featured {
  border-color: transparent;
}

.card.featured:hover {
  box-shadow: 0 20px 50px rgba(196, 94, 26, .35);
}

/* ── COLOR BAR ── */
.card-bar {
  height: 5px;
  flex-shrink: 0;
}

/* ── HEADER ── */
.card-header {
  padding: 24px 24px 0;
}

.card-badge {
  display: inline-block;
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.card-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.4px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13.33px;
  line-height: 1.55;
  color: #6b7f96;
  margin-bottom: 20px;
  min-height: 48px;
}

.featured .card-desc {
  color: rgba(255, 255, 255, .75);
}

/* ── PRICING ── */
.card-price {
  padding: 0 24px;
  margin-bottom: 6px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 800;
}

.price-amount {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
}

.price-period {
  font-size: .75rem;
  font-weight: 600;
  color: #9aa8b8;
  margin-left: 2px;
}

.featured .price-period {
  color: rgba(255, 255, 255, .6);
}

.price-annual {
  font-size: 15px;
  color: #9aa8b8;
  margin-top: 3px;
  margin-bottom: 10px;
}

.featured .price-annual {
  color: rgba(255, 255, 255, .6);
}

.discount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0 24px;
}

.discount-pill {
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
}

.price-original {
  font-size: 13px;
  color: #b0bec8;
  text-decoration: line-through;
}

.featured .price-original {
  color: rgba(255, 255, 255, .45);
}

/* ── DIVIDER ── */
.card-divider {
  height: 1px;
  background: #edf2f7;
  margin: 0 24px 18px;
}

.featured .card-divider {
  background: rgba(255, 255, 255, .18);
}

/* ── HIGHLIGHTS ── */
.card-highlights {
  padding: 0 24px;
  margin-bottom: 16px;
}

.highlights-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #9aa8b8;
  margin-bottom: 10px;
}

.featured .highlights-label {
  color: rgba(255, 255, 255, .55);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

.highlight-item {
  font-size: 12px;
  font-weight: 700;
  color: #3a5068;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.3;
}

.featured .highlight-item {
  color: rgba(255, 255, 255, .9);
}

.hi-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── FEATURES ── */
.card-features {
  padding: 0 24px;
  margin-bottom: 16px;
}

.card-spacer {
  flex: 1;
}

.features-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #9aa8b8;
  margin-bottom: 10px;
}

.featured .features-label {
  color: rgba(255, 255, 255, .55);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  font-size: 13px;
  color: #3a5068;
  line-height: 1.35;
}

.feature-item:last-child {
  border-bottom: none;
}

.featured .feature-item {
  color: rgba(255, 255, 255, .88);
  border-bottom-color: rgba(255, 255, 255, .1);
}

.check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check svg {
  width: 9px;
  height: 9px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── EXTRAS ── */
.card-extras {
  padding: 0 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #8a9ab0;
  padding: 4px 0;
  border-top: 1px solid rgba(0, 0, 0, .05);
}

.featured .extra-item {
  color: rgba(255, 255, 255, .6);
  border-top-color: rgba(255, 255, 255, .1);
}

.extra-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.extra-icon svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── CTA ── */
.card-cta {
  padding: 0 24px 24px;
  margin-top: auto;
}

.cta-btn {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .25s;
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s;
}

.cta-btn:hover svg {
  transform: translateX(4px);
}

/* ── Feature groups (collapsible) ── */
.feat-group {
  border: 1.5px solid #edf2f7;
  margin-bottom: 8px;
  overflow: visible !important;
  border-radius: 10px;
}

.feat-group-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  cursor: pointer;
  background: #fafbfc;
  transition: background .2s;
  user-select: none;
  border-radius: 10px;
}

.feat-group-header:hover {
  background: #f3f6fa;
}

.feat-group-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-group-icon svg {
  width: 13px;
  height: 13px;
}

.feat-group-name {
  font-size: 13px;
  font-weight: 800;
  flex: 1;
}

.feat-group-count {
  font-size: 9px;
  font-weight: 700;
  color: #9aa8b8;
  background: #edf2f7;
  padding: 2px 7px;
  border-radius: 20px;
}

.feat-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform .25s;
}

.feat-group.open .feat-arrow {
  transform: rotate(180deg);
}

.feat-group-body {
  display: none;
  padding: 4px 12px 8px;
  border-top: 1px solid #edf2f7;
}

.feat-group.open .feat-group-body {
  display: block;
}

.feat-group-featured {
  border-color: rgba(255, 255, 255, .2);
}

.feat-group-featured .feat-group-header {
  background: rgba(255, 255, 255, .08);
}

.feat-group-featured .feat-group-header:hover {
  background: rgba(255, 255, 255, .15);
}

.feat-group-featured .feat-group-body {
  border-top-color: rgba(255, 255, 255, .15);
}



/* ---------- Cards Perso ---------- */

.perso-card-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: auto;
  margin-bottom: 24px;
  padding: 0 24px;
  box-sizing: border-box;
}

.btn-perso-card {
  color: #007BFF;
  font-size: 13px;
  font-weight: bold;
  width: 100%;
  height: 52px;
  border-radius: 10px;
  border: 1px solid #0097D6;
  background-color: white;
}

.tittle-des-perso-card {
  font-size: 13px;
  font-weight: bold;
  color: #0097D6;
  text-align: center;
}

.selec-des-perso-card-content {
  display: flex;
  background-color: #D5E9FF;
  border-radius: 20px;
  width: 100%;
  min-height: 120px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
  gap: 10px;
  margin-top: 10px;
}

.text-selec-des-perso-card {
  font-size: 13px;
  font-weight: bold;
  color: #0097D6;
  text-align: center;
}

.btn-selec-des-perso-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid #0097D6;
  border-radius: 10px;
  width: 100%;
  height: 45px;
  font-size: 14px;
  color: #007BFF;
  background-color: white;
  margin-bottom: 10px;
}

.selector-des-perso-card-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  background-color: #ECFBFE;
  padding: 15px;
  box-sizing: border-box;
  gap: 10px;
  margin-top: 15px;
  border-radius: 20px;
}

.text-selector-des-perso-card {
  font-size: 13px;
  font-weight: bold;
  color: #007BFF;
  text-align: center;
}

.text2-selector-des-perso-card {
  font-size: 13px;
  text-align: center;
  width: 100%;
  color: #00BFFF;
}

.input-selector-des-perso-card {
  width: 100%;
  height: 45px;
  border-radius: 10px;
  border: 1px solid #0097D6;
  text-align: center;
  color: #007BFF;
  background-color: white;
  font-size: 15px;
}

.ttl-des-perso-card-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 15px;
  width: 100%;
  padding: 20px 15px;
  box-sizing: border-box;
  border-radius: 20px;
  background: linear-gradient(to right, #00AAF8, #0071A5);
}

.tittle-ttl-des-perso-card {
  font-size: 13px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
  text-align: center;
}

.box-box-ttl-des-perso-card {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  width: 100%;
}

.text-box-ttl-des-perso-card {
  font-size: 13px;
  color: #EEF2F7;
  flex: 1;
}

.price-box-ttl-des-perso-card {
  font-size: 15px;
  font-weight: bold;
  color: #EEF2F7;
}

.separador {
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 100%;
}

.total-box-ttl-des-perso-card {
  font-size: 14px;
  font-weight: bold;
  color: #EEF2F7;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.btn-box-ttl-des-perso-card {
  width: 100%;
  height: 45px;
  border-radius: 10px;
  border: 1px solid #0097D6;
  background-color: white;
  font-size: 13px;
  font-weight: bold;
  color: #007BFF;
}

.des-perso-card-content {
  display: none;
}

.perso-card-content.active .des-perso-card-content {
  display: block;
}

.btn-perso-card {
  cursor: pointer;
}

.cards-slider {
  position: relative;
  /* removed overflow: hidden to allow arrows to show */
  padding: 0 20px;
  /* space for arrows */
}

.cards-viewport {
  overflow: hidden;
  width: 100%;
}

.cards-empresarios-punto,
.cards-empresarios-servicios,
.cards-empresarios-comercio,
.cards-empresarios-manufactura {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  transition: transform 0.4s ease;
  margin-top: 20px;
  margin-bottom: 70px;
}

.cards-contadores-punto,
.cards-contadores-servicios,
.cards-contadores-comercio,
.cards-contadores-manufactura {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.cards-contadores-track {
  overflow: hidden;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #dde8f2;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(10, 37, 71, .15);
  display: none;
  /* Controlled by JS */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #007bff;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #007bff;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
  left: 0px;
}

.slider-arrow.next {
  right: 0px;
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
}



/* ---------- Formulario ---------- */

.modal-formulario {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-contenido {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.btn-cerrar {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: #f0f2f5;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #65676b;
  transition: all 0.2s ease;
}

.btn-cerrar:hover {
  background: #e4e6eb;
  color: #050505;
  transform: scale(1.1);
}

.modal-contenido iframe {
  width: 100%;
  height: 100%;
}


#modalFormulario {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);

  display: none;
  /* se activa con JS */
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

#iframeFormulario {
  width: 100%;
  height: 710px;
  /* Altura suficiente para mostrar el formulario completo */
  border: none;
  background: transparent;
  display: block;
}

/* ---------- Features Timeline Mobile (800px and below) ---------- */
@media (max-width: 800px) {

  /* 1. Hide the blue underline below the title */
  .features-title-2026::after {
    display: none;
  }

  /* 2. Reduce title font size */
  .features-title-2026 {
    font-size: 26px;
    padding-bottom: 0;
    margin-bottom: 30px;
  }

  /* 3. Stack items in a single column */
  .features-timeline-wrapper-2026 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* 4. Hide the grey horizontal connector line */
  .features-timeline-wrapper-2026::before {
    display: none;
  }

  /* 5. Hide the blue progress line */
  .features-timeline-progress-2026 {
    display: none;
  }

  /* 6. Steps styled as horizontal rows in column layout */
  .features-timeline-step-2026 {
    width: 100%;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 0 10px;
  }

  .features-step-circle-2026 {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .features-step-card-2026 {
    width: auto;
    flex: 1;
    justify-content: flex-start;
    min-height: unset;
    padding: 12px 16px;
  }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Staggered Animation Delays for Grids ---------- */
/* Row 1 */
.areas-grid>div:nth-child(1),
.steps-grid-2026>div:nth-child(1),
.grid-testimonios-2026>div:nth-child(1),
.confianza-container-2026>div:nth-child(1),
.grid-poliza-2026>div:nth-child(1) {
  transition-delay: 0s;
}

.areas-grid>div:nth-child(2),
.steps-grid-2026>div:nth-child(2),
.grid-testimonios-2026>div:nth-child(2),
.confianza-container-2026>div:nth-child(2),
.grid-poliza-2026>div:nth-child(2) {
  transition-delay: 0.15s;
}

.areas-grid>div:nth-child(3),
.steps-grid-2026>div:nth-child(3),
.grid-testimonios-2026>div:nth-child(3),
.confianza-container-2026>div:nth-child(3),
.grid-poliza-2026>div:nth-child(3) {
  transition-delay: 0.3s;
}

.areas-grid>div:nth-child(4),
.grid-poliza-2026>div:nth-child(4),
.confianza-container-2026>div:nth-child(4) {
  transition-delay: 0.45s;
}

/* Row 2 */
.areas-grid>div:nth-child(5) {
  transition-delay: 0s;
}

.areas-grid>div:nth-child(6) {
  transition-delay: 0.15s;
}

.areas-grid>div:nth-child(7) {
  transition-delay: 0.3s;
}

.areas-grid>div:nth-child(8) {
  transition-delay: 0.45s;
}

/* ---------- Tooltip Informativo ---------- */
.tooltip-container {
  position: relative;
  display: inline-block !important;
  margin-left: 6px;
  cursor: help;
  vertical-align: middle;
}

.tooltip-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #0d8a8a;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.tooltip-container:hover .tooltip-icon {
  transform: scale(1.1);
}

.tooltip-bubble {
  position: absolute;
  right: 28px;
  left: auto;
  top: 50%;
  transform: translateY(-25%) scaleX(-1);
  width: 128px;
  height: 124px;
  background-image: url('imagenes/ContaPyme/pag-web/comunidad/Burguja.svg');
  background-size: contain;
  background-repeat: no-repeat;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 15px 35px 15px 15px;
  color: #0A2540;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  text-align: center;
  white-space: normal;
}

.tooltip-bubble span {
  position: relative;
  display: inline-block;
  transform: translateY(-70%) scaleX(-1);
  left: 16px !important;
}

.tooltip-container:hover .tooltip-bubble {
  opacity: 1;
  visibility: visible;
}