/* ============================================================================
   Prudencia Seguros — Páginas de producto (alineado al sistema "Geométrico Moderno")
   ============================================================================ */

/* ── HERO de producto ────────────────────────────────────────────────────── */
.producto-hero {
  background: var(--ps-azul, #041879);
  background-size: cover;
  background-position: center;
  padding: 72px 56px 80px;
  position: relative;
  overflow: hidden;
}
.empresa-hero {
  padding: 48px 56px 52px;
}
.producto-hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(4,24,121,0.92) 0%, rgba(4,24,121,0.78) 60%, rgba(4,24,121,0.65) 100%);
  z-index: 0;
  pointer-events: none;
}
.producto-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  mask-image: linear-gradient(115deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.producto-hero::after {
  content: '';
  position: absolute;
  bottom: -160px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,108,242,0.4) 0%, transparent 65%);
  pointer-events: none;
}
.producto-hero-inner { position: relative; z-index: 1; max-width: 760px; }

.producto-breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.producto-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.producto-breadcrumb a:hover { color: white; }
.producto-breadcrumb span { margin: 0 8px; opacity: 0.5; }

.producto-icon-large {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: rgba(19,108,242,0.18);
  border: 1px solid rgba(126,170,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  color: #7EAAFF;
  margin-bottom: 22px;
}
.producto-icon-large svg { width: 30px; height: 30px; }
.producto-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: white;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.producto-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 30px;
  max-width: 620px;
}
.producto-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Contenido + sidebar ─────────────────────────────────────────────────── */
.producto-content {
  background: white;
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.producto-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ps-azul, #041879);
  margin-bottom: 16px;
  margin-top: 40px;
  letter-spacing: -0.5px;
}
.producto-body h2:first-child { margin-top: 0; }
.producto-body p {
  font-size: 14px;
  color: var(--ink-soft, #4a5266);
  line-height: 1.75;
  margin-bottom: 14px;
  font-weight: 400;
}
.producto-body p a { color: var(--ps-celeste, #136CF2); text-decoration: none; }
.producto-body p a:hover { text-decoration: underline; }
.producto-body ul { list-style: none; margin-bottom: 22px; }
.producto-body ul li {
  font-size: 14px;
  color: var(--ink-soft, #4a5266);
  padding: 11px 0;
  border-bottom: 1px solid var(--line, #ebeae5);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.55;
}
.producto-body ul li::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-top: 4px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23136CF2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.producto-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.sidebar-card {
  background: var(--bg-warm, #f5f4ef);
  border: 1px solid var(--line, #ebeae5);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 12px;
}
.sidebar-card h4 {
  font-size: 11px;
  font-weight: 600;
  color: var(--ps-azul, #041879);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.sidebar-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 13px;
  color: var(--ink-soft, #4a5266);
  font-weight: 400;
  line-height: 1.5;
}
.sidebar-contact-item:last-child { border-bottom: none; }
.sidebar-contact-item a { color: var(--ps-celeste, #136CF2); text-decoration: none; font-weight: 500; }
.sidebar-contact-item svg { flex-shrink: 0; margin-top: 2px; }

.sidebar-btn {
  display: block;
  width: 100%;
  background: var(--ps-celeste, #136CF2);
  color: white;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  margin-bottom: 10px;
}
.sidebar-btn:hover {
  background: #0d4fbd;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(19,108,242,0.3);
}
.sidebar-btn-outline {
  display: block;
  width: 100%;
  background: white;
  color: var(--ps-azul, #041879);
  border: 1px solid var(--line, #ebeae5);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  text-decoration: none;
  transition: all 0.18s;
}
.sidebar-btn-outline:hover { border-color: var(--ps-celeste, #136CF2); color: var(--ps-celeste, #136CF2); }

/* ── Highlights ──────────────────────────────────────────────────────────── */
.producto-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line, #ebeae5);
}
.producto-highlight {
  background: var(--bg-warm, #f5f4ef);
  border: 1px solid var(--line, #ebeae5);
  border-radius: 12px;
  padding: 20px 18px;
  transition: border-color 0.18s, transform 0.18s;
}
.producto-highlight:hover { border-color: var(--ps-celeste, #136CF2); transform: translateY(-2px); }
.producto-highlight-icon {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ps-celeste, #136CF2);
  width: 22px;
  height: 22px;
}
.producto-highlight-icon svg { width: 22px; height: 22px; }
.producto-highlight-val {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ps-azul, #041879);
  margin-bottom: 4px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.producto-highlight-label { font-size: 11px; color: var(--ink-mute, #6a7080); line-height: 1.5; font-weight: 400; }

/* ── Info box ────────────────────────────────────────────────────────────── */
.producto-infobox {
  background: rgba(19,108,242,0.06);
  border: 1px solid rgba(19,108,242,0.18);
  border-left: 3px solid var(--ps-celeste, #136CF2);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.producto-infobox p {
  font-size: 13px !important;
  color: var(--ink-soft, #4a5266) !important;
  margin: 0 !important;
  line-height: 1.65 !important;
}

/* ── Para quién ──────────────────────────────────────────────────────────── */
.para-quien-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  margin-top: 4px;
}
.para-quien-tag {
  background: #eef4ff;
  color: var(--ps-azul, #041879);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #d4e1f5;
}

/* ── Planes table ────────────────────────────────────────────────────────── */
.planes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 24px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line, #ebeae5);
}
.planes-table th {
  background: var(--ps-azul, #041879);
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.planes-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line, #ebeae5);
  color: var(--ink-soft, #4a5266);
  font-weight: 400;
  vertical-align: top;
  line-height: 1.5;
}
.planes-table tr:last-child td { border-bottom: none; }
.planes-table tr:hover td { background: var(--bg-warm, #f5f4ef); }
.planes-table .plan-name { font-weight: 600; color: var(--ps-azul, #041879); white-space: nowrap; }
.planes-table .check { color: #2e7d52; font-weight: 600; }

/* ── Hero entrance ──────────────────────────────────────────────────────── */
.producto-hero-inner {
  animation: heroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .producto-hero { padding: 56px 32px 64px; }
  .producto-content { padding: 56px 32px; gap: 40px; }
}
@media (max-width: 768px) {
  .producto-hero { padding: 48px 20px 56px; }
  .producto-hero h1 { font-size: 32px; }
  .producto-hero p { font-size: 14px; }
  .producto-hero-cta { flex-direction: column; align-items: stretch; }
  .producto-hero-cta .btn-primary,
  .producto-hero-cta .btn-outline { justify-content: center; }
  .producto-content { padding: 40px 20px; grid-template-columns: 1fr; gap: 32px; }
  .producto-sidebar { position: static; max-height: none; }
  .producto-highlights { grid-template-columns: repeat(2, 1fr); }
  .planes-table { font-size: 12px; }
  .planes-table th, .planes-table td { padding: 9px 10px; }
}
