/* Página Características — narrativa comercial compacta (pasada 2) */
.feat-page {
  --feat-ink: #163a5f;
  --feat-accent: #1a8fd1;
  --feat-accent-deep: #0f6fa8;
  --feat-soft: #f3f8fc;
  --feat-muted: #5d6f82;
  --feat-line: #d7e6f2;
  --feat-content: 1180px;
  background: #fff;
  overflow-x: clip;
}

.feat-page .container {
  max-width: var(--feat-content);
}

.feat-page .section-title {
  margin-bottom: 2.25rem;
}

.feat-page .section-title h2 {
  color: var(--feat-ink);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: 0.65rem;
}

.feat-page .section-title .subtitle {
  color: var(--feat-muted);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.05rem;
}

.feat-page section {
  padding: 72px 0;
}

.feat-page .section-bg-soft {
  background: var(--feat-soft);
}

/* —— Hero —— */
.feat-hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--feat-soft) 0%, #fff 100%);
}

.feat-eyebrow {
  display: inline-block;
  color: var(--feat-accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.feat-hero h1 {
  color: var(--feat-ink);
  font-weight: 750;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.22;
  margin-bottom: 1rem;
}

.feat-hero-lead {
  color: var(--feat-muted);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 1.15rem;
}

.feat-hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.feat-hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--feat-ink);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.feat-hero-points i {
  color: var(--feat-accent);
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

.feat-hero-visual {
  max-width: 560px;
  margin-left: auto;
}

.feat-browser-mock {
  background: #fff;
  border: 1px solid var(--feat-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(22, 58, 95, 0.12);
}

.feat-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #eef4f9;
  border-bottom: 1px solid var(--feat-line);
}

.feat-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c5d4e2;
}

.feat-browser-bar span:nth-child(1) { background: #f2a4a4; }
.feat-browser-bar span:nth-child(2) { background: #f0cf8a; }
.feat-browser-bar span:nth-child(3) { background: #9fd4a8; }

.feat-browser-mock img {
  display: block;
  width: 100%;
  height: auto;
}

.feat-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.9rem;
}

.feat-hero-chips span {
  color: var(--feat-muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.feat-hero-chips span:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: #9eb6cb;
}

.feat-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.feat-cta-row .btn {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 600;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.feat-page .btn-primary {
  color: #fff;
  background: var(--feat-accent);
  border: 2px solid var(--feat-accent);
  box-shadow: 0 8px 18px rgba(26, 143, 209, 0.25);
}

.feat-page .btn-primary:hover,
.feat-page .btn-primary:focus {
  color: #fff;
  background: var(--feat-accent-deep);
  border-color: var(--feat-accent-deep);
}

.feat-page .btn-outline-primary {
  color: var(--feat-accent-deep);
  background: #fff;
  border: 2px solid var(--feat-accent-deep);
}

.feat-page .btn-outline-primary:hover,
.feat-page .btn-outline-primary:focus {
  color: #fff;
  background: var(--feat-accent-deep);
  border-color: var(--feat-accent-deep);
}

.feat-page .btn-outline-secondary,
.feat-page .feat-expand-btn {
  color: var(--feat-ink);
  background: #fff;
  border: 2px solid #9eb6cb;
}

.feat-page .btn-outline-secondary:hover,
.feat-page .feat-expand-btn:hover {
  color: #fff;
  background: var(--feat-ink);
  border-color: var(--feat-ink);
}

.feat-page .btn-light {
  color: var(--feat-ink);
  background: #fff;
  border: 2px solid #fff;
}

.feat-page .btn-light:hover,
.feat-page .btn-light:focus {
  color: var(--feat-accent-deep);
  background: #f3f8fc;
  border-color: #f3f8fc;
}

.feat-page .btn-success {
  color: #fff;
  background: #128c7e;
  border: 2px solid #128c7e;
}

.feat-page .btn-success:hover,
.feat-page .btn-success:focus {
  color: #fff;
  background: #0e7368;
  border-color: #0e7368;
}

.feat-audience-card .btn {
  width: 100%;
}

/* —— Demo / capturas / video —— */
.feat-demo-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.feat-demo-intro h2 {
  color: var(--feat-ink);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: 0.65rem;
}

.feat-demo-intro p {
  color: var(--feat-muted);
  margin: 0;
  line-height: 1.55;
  font-size: 1.05rem;
}

.feat-page #product-screenshots {
  padding-top: 0;
  padding-bottom: 24px;
  background: transparent;
}

.feat-page #product-screenshots .product-screenshot-card-body h3 {
  font-size: 1.05rem;
}

.feat-page #product-screenshots .product-screenshot-card-body p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.feat-videos-block {
  padding-top: 1.75rem;
  text-align: center;
}

.feat-video-title {
  color: var(--feat-ink);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  margin-bottom: 0.55rem;
}

.feat-video-lead {
  color: var(--feat-muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.feat-page .feat-inline-videos {
  padding: 0;
  background: transparent;
}

.feat-page .feat-inline-videos > .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.feat-page .feat-single-video .product-videos-featured {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.feat-page .feat-single-video .product-video-card-body h3 {
  font-size: 1.1rem;
}

.feat-page .feat-single-video .product-video-card-body p {
  font-size: 0.95rem;
}

.feat-videos-more {
  text-align: center;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.feat-videos-more a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--feat-accent-deep);
  text-decoration: none;
}

.feat-videos-more a:hover {
  text-decoration: underline;
}

.feat-expand-btn {
  border-radius: 10px;
  font-weight: 600;
  border-color: var(--feat-line);
  color: var(--feat-ink);
  min-height: 46px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* —— Seis áreas —— */
.feat-area {
  background: #fff;
  border: 1px solid var(--feat-line);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: 0 8px 22px rgba(22, 58, 95, 0.04);
  display: flex;
  flex-direction: column;
}

.feat-area-group {
  display: inline-block;
  align-self: flex-start;
  color: var(--feat-accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.feat-area-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(26, 143, 209, 0.1);
  color: var(--feat-accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feat-area h3 {
  color: var(--feat-ink);
  font-weight: 700;
  font-size: 1.15rem; /* ~18px */
  line-height: 1.3;
  margin: 0 0 0.7rem;
}

.feat-area > p {
  color: var(--feat-muted);
  font-size: 0.98rem; /* ~15.5px */
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.feat-area-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feat-area-list li {
  background: var(--feat-soft);
  border: 1px solid var(--feat-line);
  color: var(--feat-ink);
  font-size: 0.875rem; /* ~14px */
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.feat-area-more {
  color: var(--feat-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 0.9rem;
}

.feat-area-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--feat-accent-deep);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 2px solid rgba(15, 111, 168, 0.35);
  padding-bottom: 2px;
  margin-top: auto;
}

.feat-area-link:hover {
  color: var(--feat-ink);
  border-bottom-color: var(--feat-ink);
  text-decoration: none;
}

.feat-area-toggle {
  background: none;
  border: none;
  padding: 0.35rem 0;
  min-height: 44px;
  color: var(--feat-ink);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
  align-self: flex-start;
}

.feat-area-toggle:hover {
  color: var(--feat-accent-deep);
}

/* —— Automatización —— */
.feat-adv-card {
  background: #fff;
  border: 1px solid var(--feat-line);
  border-radius: 16px;
  padding: 1.65rem 1.4rem;
  height: 100%;
  box-shadow: 0 8px 20px rgba(22, 58, 95, 0.04);
}

.feat-adv-card h3 {
  color: var(--feat-ink);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.feat-adv-card p {
  color: var(--feat-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.feat-adv-note {
  text-align: center;
  color: var(--feat-muted);
  margin: 1.75rem 0 1rem;
  font-size: 0.95rem;
}

.feat-adv-cta {
  text-align: center;
}

/* —— Especialidades —— */
.feat-specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feat-specialty-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--feat-line);
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 100%;
}

.feat-specialty-card:hover {
  border-color: var(--feat-accent);
  box-shadow: 0 8px 20px rgba(26, 143, 209, 0.1);
  color: inherit;
  text-decoration: none;
}

.feat-specialty-card i {
  color: var(--feat-accent-deep);
  font-size: 1.3rem;
}

.feat-specialty-card h3 {
  color: var(--feat-ink);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.feat-specialty-card span {
  color: var(--feat-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.feat-specialty-more {
  text-align: center;
  margin-top: 1.5rem;
}

.feat-specialty-rest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.feat-specialty-rest a {
  display: block;
  background: #fff;
  border: 1px solid var(--feat-line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  color: var(--feat-ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.feat-specialty-rest a:hover {
  border-color: var(--feat-accent);
  color: var(--feat-accent-deep);
}

.feat-specialty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  justify-content: center;
}

.feat-specialty-chips span {
  background: var(--feat-soft);
  border: 1px solid var(--feat-line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--feat-muted);
  font-weight: 600;
}

/* —— Confianza —— */
.feat-trust-strip {
  padding: 48px 0 !important;
}

.feat-trust-inner {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto;
}

.feat-trust-inner h2 {
  color: var(--feat-ink);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.55rem;
}

.feat-trust-inner p {
  color: var(--feat-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.feat-trust-inner a {
  font-weight: 700;
  color: var(--feat-accent-deep);
  text-decoration: none;
  font-size: 0.98rem;
}

.feat-trust-inner a:hover {
  text-decoration: underline;
}

/* —— Audiencias —— */
.feat-audience-card {
  background: #fff;
  border: 1px solid var(--feat-line);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: 0 8px 22px rgba(22, 58, 95, 0.04);
  display: flex;
  flex-direction: column;
}

.feat-audience-card h3 {
  color: var(--feat-ink);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 0.7rem;
}

.feat-audience-card p {
  color: var(--feat-muted);
  line-height: 1.55;
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.feat-audience-price {
  color: var(--feat-ink);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
}

.feat-audience-card .btn {
  border-radius: 10px;
  font-weight: 600;
  min-height: 46px;
}

/* —— CTA final —— */
.feat-final-cta {
  background: linear-gradient(135deg, #163a5f 0%, #0f6fa8 100%);
  border-radius: 20px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  color: #fff;
}

.feat-final-cta h2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 0.75rem;
}

.feat-final-cta p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
  font-size: 1.02rem;
}

.feat-final-cta .feat-cta-row {
  justify-content: center;
  margin-bottom: 0;
}

.feat-cta-wrap {
  padding-bottom: 80px;
}

/* —— Tablet (hasta lg) —— */
@media (max-width: 991px) {
  .feat-cta-wrap {
    padding-bottom: 56px;
  }

  .feat-page section {
    padding: 56px 0;
  }

  .feat-hero {
    padding: 40px 0 48px;
    text-align: center;
  }

  .feat-hero h1 {
    font-size: clamp(1.55rem, 4.2vw, 2rem);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  .feat-hero-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.02rem;
  }

  .feat-hero-points {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .feat-hero-visual {
    margin: 1rem auto 0;
    max-width: 520px;
  }

  .feat-browser-mock {
    box-shadow: 0 12px 28px rgba(22, 58, 95, 0.1);
  }

  .feat-cta-row {
    justify-content: center;
  }

  .feat-area {
    padding: 1.75rem 1.4rem;
  }

  /* Especialidades: 2 cols solo si el ancho da para leer una línea cómoda */
  .feat-specialty-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .feat-specialty-rest {
    grid-template-columns: 1fr 1fr;
  }

  .feat-specialty-card {
    padding: 1.1rem 1rem;
  }

  .feat-specialty-card span {
    font-size: 0.9rem;
  }

  .feat-trust-strip {
    padding: 40px 0 !important;
  }

  .feat-final-cta {
    padding: 2rem 1.35rem;
    border-radius: 16px;
  }

  .feat-page #product-screenshots .product-screenshot-card-body p {
    font-size: 0.95rem;
  }

  .feat-adv-cta .btn {
    min-height: 46px;
  }
}

/* —— Móvil / phablet —— */
@media (max-width: 767px) {
  .feat-page section {
    padding: 48px 0;
  }

  .feat-page .section-title {
    margin-bottom: 1.75rem;
  }

  .feat-page .section-title .subtitle,
  .feat-demo-intro p,
  .feat-video-lead {
    font-size: 1rem;
  }

  .feat-hero {
    padding: 32px 0 40px;
  }

  .feat-hero h1 {
    font-size: clamp(1.45rem, 6.2vw, 1.75rem);
    line-height: 1.25;
  }

  .feat-hero-lead {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .feat-hero-points li {
    font-size: 0.98rem;
  }

  .feat-hero-visual {
    max-width: 100%;
    margin-top: 0.75rem;
  }

  .feat-hero-chips {
    margin-top: 0.75rem;
  }

  .feat-cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }

  .feat-cta-row .btn,
  .feat-final-cta .feat-cta-row .btn {
    width: 100%;
  }

  .feat-demo-intro {
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
  }

  .feat-page #product-screenshots {
    padding-bottom: 12px;
  }

  /* Capturas: una por fila, botón fácil de tocar */
  .feat-page #product-screenshots .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .feat-page #product-screenshots .feat-expand-btn,
  .feat-specialty-more .feat-expand-btn {
    width: 100%;
    max-width: 22rem;
  }

  .feat-videos-block {
    padding-top: 1.25rem;
  }

  .feat-page .feat-single-video .product-videos-featured {
    max-width: 100%;
  }

  .feat-page .feat-single-video .product-video-copy {
    text-align: left;
  }

  /* Áreas funcionales: una card por fila (ya col-lg-6); más aire */
  .feat-area {
    padding: 1.6rem 1.25rem;
  }

  .feat-area h3 {
    font-size: 1.12rem;
  }

  .feat-area > p {
    font-size: 0.98rem;
  }

  .feat-area-list {
    gap: 0.45rem;
  }

  .feat-area-list li {
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem;
  }

  .feat-area-toggle {
    font-size: 0.98rem;
    min-height: 48px;
  }

  /* Automatización: forzar una columna legible */
  #advanced-features .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .feat-adv-card {
    padding: 1.4rem 1.2rem;
  }

  .feat-adv-card h3 {
    font-size: 1.05rem;
  }

  .feat-adv-cta .btn {
    display: block;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .feat-adv-cta .btn.me-2 {
    margin-right: auto !important;
  }

  /* Especialidades: 1 columna — no forzar 2 cols con texto diminuto */
  .feat-specialty-grid,
  .feat-specialty-rest {
    grid-template-columns: 1fr;
  }

  .feat-specialty-card h3 {
    font-size: 1.05rem;
  }

  .feat-specialty-card span {
    font-size: 0.95rem;
  }

  .feat-trust-strip {
    padding: 36px 0 !important;
  }

  .feat-trust-inner {
    padding: 0 0.25rem;
  }

  /* Selector especialista / centro: una por fila */
  #feat-audiences .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .feat-audience-card {
    padding: 1.6rem 1.25rem;
  }

  .feat-final-cta {
    padding: 1.75rem 1.15rem;
    border-radius: 14px;
  }

  .feat-final-cta h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.55rem);
  }

  .feat-final-cta p {
    font-size: 0.98rem;
  }
}

@media (max-width: 575px) {
  .feat-eyebrow {
    font-size: 0.78rem;
  }

  .feat-browser-bar {
    padding: 8px 12px;
  }

  .feat-hero-chips span {
    font-size: 0.82rem;
  }

  .feat-specialty-chips span {
    font-size: 0.82rem;
  }
}
