/* ═══════════════════════════════════════════
   pricing.css — estilos exclusivos de pricing.html
   Depende de styles.css (variables, nav, footer, reveal, wa, btn-orange, tag, grad, etc.)
   ═══════════════════════════════════════════ */

/* ── NAV fija en pricing (siempre sólida, sin hero detrás) ── */
.pricing-page nav {
  background: var(--blue-900) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.35) !important;
}

/* ── HERO ── */
.pricing-hero {
  padding: 130px 6% 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #0a1628 0%, #0f1f3d 45%, #122040 100%);
  text-align: center;
}
.pricing-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 80%, rgba(232,83,42,0.1) 0%, transparent 65%),
              radial-gradient(ellipse 50% 40% at 20% 20%, rgba(27,75,138,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.pricing-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.pricing-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.pricing-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── TABS STICKY ── */
.tabs-wrap {
  position: sticky; top: 72px; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(15,31,61,0.06);
}
.tabs {
  display: flex;
  max-width: 1180px; margin: 0 auto; padding: 0 6%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 18px 22px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--gray-500);
  background: none; border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.tab-btn:hover { color: var(--blue-700); }
.tab-btn.active { color: var(--orange-500); border-bottom-color: var(--orange-500); }

/* ── SECTION LAYOUT ── */
.pricing-section { padding: 80px 6%; }
.pricing-section:nth-child(even) { background: var(--gray-50); }
.pricing-inner { max-width: 1180px; margin: 0 auto; }

.sec-hd { margin-bottom: 48px; }
.sec-hd .tag { background: rgba(27,75,138,0.08); border-color: rgba(27,75,138,0.2); color: var(--blue-700); }
.sec-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 10px 0 12px;
}
.sec-sub {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 600px;
}

/* ── CHECK / X ICONS ── */
.ck {
  width: 16px; height: 16px; flex-shrink: 0;
  background: rgba(232,83,42,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.ck svg { width: 9px; height: 9px; stroke: var(--orange-500); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ck-blue { background: rgba(27,75,138,0.1); }
.ck-blue svg { stroke: var(--blue-700); }
.xx {
  width: 16px; height: 16px; flex-shrink: 0;
  background: rgba(156,163,175,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.xx svg { width: 9px; height: 9px; stroke: var(--gray-400); fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* ── COMBO CARDS ── */
.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.combo-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.combo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-300); }
.combo-card.featured { border-color: var(--orange-400); box-shadow: 0 8px 40px rgba(232,83,42,0.15); }

.featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange-grad);
  color: white;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 50px;
  white-space: nowrap;
}
.combo-chip {
  display: inline-flex; align-items: center;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 14px;
}
.combo-chip.gray { background: rgba(156,163,175,0.12); color: var(--gray-700); }
.combo-name { font-size: 1.15rem; font-weight: 700; color: var(--blue-900); line-height: 1.3; margin-bottom: 6px; }
.combo-hw { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 18px; line-height: 1.5; }
.combo-price { font-size: 2rem; font-weight: 800; color: var(--orange-500); letter-spacing: -0.02em; margin-bottom: 4px; }
.combo-price sup { font-size: 1rem; font-weight: 700; vertical-align: super; }
.combo-price-label { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 20px; }
.combo-includes { border-top: 1px solid var(--gray-100); padding-top: 18px; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.combo-includes li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.83rem; color: var(--gray-700); line-height: 1.4; }

.combo-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 22px; padding: 11px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
  background: var(--orange-grad); color: white;
  box-shadow: 0 2px 12px rgba(232,83,42,0.3);
  transition: opacity 0.2s, transform 0.15s;
  font-family: inherit; border: none; cursor: pointer;
}
.combo-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.combo-cta.ghost {
  background: none; border: 1.5px solid var(--orange-400);
  color: var(--orange-500); box-shadow: none;
}
.combo-cta.ghost:hover { background: rgba(232,83,42,0.05); }

.custom-note {
  padding: 18px 22px;
  background: var(--blue-100);
  border: 1px solid rgba(27,75,138,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--blue-800); line-height: 1.6;
}
.custom-note strong { color: var(--blue-700); }
.custom-note a { color: var(--blue-700); font-weight: 600; }

/* ── LICENCIAS ── */
.lic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.lic-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px; padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lic-card.featured { border-color: var(--orange-400); }
.lic-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(27,75,138,0.12), rgba(37,99,235,0.08));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.lic-icon svg { width: 24px; height: 24px; stroke: var(--blue-700); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lic-icon.orange { background: linear-gradient(135deg, rgba(232,83,42,0.15), rgba(245,130,42,0.1)); }
.lic-icon.orange svg { stroke: var(--orange-500); }
.lic-name { font-size: 1.05rem; font-weight: 700; color: var(--blue-900); margin-bottom: 6px; }
.lic-desc { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 18px; line-height: 1.6; }
.lic-price { font-size: 2rem; font-weight: 800; color: var(--blue-700); letter-spacing: -0.02em; margin-bottom: 4px; }
.lic-price.orange { color: var(--orange-500); }
.lic-sublabel { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 20px; }
.lic-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.lic-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.83rem; color: var(--gray-700); }
.lic-features li.muted { color: var(--gray-400); }

/* ── SERVICIOS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.svc-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: 16px; padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.svc-icon {
  width: 40px; height: 40px; background: var(--orange-grad);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.svc-icon svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-name { font-size: 0.95rem; font-weight: 700; color: var(--blue-900); }
.svc-desc { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; flex: 1; }
.svc-price { font-size: 1.5rem; font-weight: 800; color: var(--orange-500); letter-spacing: -0.01em; }
.svc-price-label { font-size: 0.75rem; color: var(--gray-400); }
.svc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700; text-decoration: none;
  padding: 9px 16px; border-radius: 50px;
  border: 1.5px solid var(--orange-400); color: var(--orange-500);
  transition: background 0.2s;
  font-family: inherit;
}
.svc-cta:hover { background: rgba(232,83,42,0.05); }

/* ── PÓLIZAS ── */
.polizas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.pol-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: 20px; padding: 28px 24px; box-shadow: var(--shadow);
  text-align: center; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pol-card.recommended { border-color: var(--orange-400); }
.pol-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange-grad); color: white;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  padding: 3px 14px; border-radius: 50px; white-space: nowrap;
}
.pol-period { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-700); margin-bottom: 8px; }
.pol-price { font-size: 2rem; font-weight: 800; color: var(--blue-900); letter-spacing: -0.02em; }
.pol-price sup { font-size: 1rem; vertical-align: super; font-weight: 700; }
.pol-per { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 6px; }
.pol-savings { font-size: 0.78rem; color: var(--orange-500); font-weight: 600; margin-bottom: 18px; }
.pol-includes { list-style: none; display: flex; flex-direction: column; gap: 7px; text-align: left; }
.pol-includes li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: var(--gray-700); }
.pol-includes .ck { width: 15px; height: 15px; }
.pol-includes .ck svg { width: 8px; height: 8px; }

/* ── DOCUMENTOS TABLE ── */
.docs-table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
}
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.88rem; }
thead tr { background: var(--blue-900); }
thead th {
  padding: 14px 20px; text-align: left;
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
tbody tr { border-bottom: 1px solid var(--gray-100); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--gray-50); }
tbody td { padding: 13px 20px; color: var(--gray-700); }
tbody td:first-child { font-weight: 600; color: var(--blue-900); }
tbody td:last-child { font-weight: 700; color: var(--orange-500); font-size: 0.95rem; }
.highlight-row { background: rgba(232,83,42,0.03) !important; }
.doc-note {
  margin-top: 18px; padding: 14px 18px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.83rem; color: var(--gray-500); line-height: 1.6;
}
.doc-note strong { color: var(--gray-700); }

/* ── OTROS / ESPECIALES ── */
.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.special-card {
  border-radius: 20px; padding: 36px 32px;
  position: relative; overflow: hidden;
}
.special-card.dark {
  background: linear-gradient(135deg, #0a1628 0%, #0f1f3d 100%);
  border: 1px solid rgba(255,255,255,0.08);
}
.special-card.light {
  background: var(--white); border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.special-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,83,42,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.special-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.special-badge.sub { background: rgba(232,83,42,0.15); color: var(--orange-400); border: 1px solid rgba(232,83,42,0.25); }
.special-badge.custom { background: rgba(27,75,138,0.1); color: var(--blue-700); border: 1px solid rgba(27,75,138,0.2); }
.special-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.special-card.dark .special-title { color: white; }
.special-card.light .special-title { color: var(--blue-900); }
.special-subtitle { font-size: 0.85rem; line-height: 1.7; margin-bottom: 22px; }
.special-card.dark .special-subtitle { color: rgba(255,255,255,0.6); }
.special-card.light .special-subtitle { color: var(--gray-500); }
.special-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.special-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.83rem; }
.special-features li::before { content: '→'; color: var(--orange-400); font-weight: 700; flex-shrink: 0; }
.special-card.dark .special-features li { color: rgba(255,255,255,0.75); }
.special-card.light .special-features li { color: var(--gray-700); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0a1628 0%, #0f1f3d 100%);
  padding: 72px 6%; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(232,83,42,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  color: white; margin-bottom: 14px; letter-spacing: -0.02em;
}
.cta-banner p { font-size: 1rem; color: rgba(255,255,255,0.6); margin-bottom: 30px; line-height: 1.7; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.85);
  padding: 13px 28px; border-radius: 50px;
  font-size: 0.92rem; font-weight: 600; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .combos-grid, .lic-grid, .services-grid, .polizas-grid, .special-grid { grid-template-columns: 1fr; }
  .tabs { gap: 0; }
  .tab-btn { padding: 16px 14px; font-size: 0.82rem; }
}