/* ============================================
   Certificados Digitales — certificados_digitales.css
   ============================================ */

/* ---------- Page base ---------- */
.cd-page body { background: var(--sn-white); }

/* Header always solid on this page */
.cd-header {
  background: rgba(30,64,175,.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0 !important;
  box-shadow: 0 4px 30px rgba(37,99,235,.25);
}

/* ---------- Breadcrumb ---------- */
.cd-breadcrumb { margin-bottom: 20px; }
.cd-breadcrumb .breadcrumb {
  background: transparent; padding: 0; margin: 0;
}
.cd-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.65); font-size: 13px; }
.cd-breadcrumb .breadcrumb-item a:hover { color: var(--sn-white); }
.cd-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,.85); font-size: 13px; }
.cd-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---------- Hero ---------- */
.cd-hero {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
  padding: 130px 0 90px;
  overflow: hidden;
}
.cd-hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Price badge visual */
.cd-hero-badge-big {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  padding: 40px 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 350px;
}
.cd-hero-badge-big > i {
  font-size: 56px;
  color: #fbbf24;
  filter: drop-shadow(0 4px 12px rgba(251,191,36,.5));
}
.cd-hero-prices {
  display: flex; align-items: center; gap: 24px;
}
.cd-hero-price-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.cd-year {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: 1px;
}
.cd-price {
  font-size: 28px; font-weight: 900; color: var(--sn-white); line-height: 1;
}
.cd-hero-price-divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,.25);
}
.cd-cop-label {
  font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500;
}

/* ---------- Qué es section ---------- */
.cd-what { padding: 100px 0; }

.cd-highlight-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: #eff6ff;
  border-left: 4px solid var(--sn-primary);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-top: 24px;
}
.cd-highlight-box i {
  font-size: 22px; color: #fbbf24; margin-top: 2px; flex-shrink: 0;
}
.cd-highlight-box p {
  font-size: 15px; color: var(--sn-text); margin: 0; line-height: 1.65;
}

/* Uses grid */
.cd-uses-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.cd-use-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--sn-white);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius);
  padding: 20px;
  transition: var(--sn-ease);
}
.cd-use-item:hover { box-shadow: var(--sn-shadow); transform: translateY(-2px); }
.cd-use-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.cd-use-item h4 { font-size: 14px; font-weight: 700; color: var(--sn-heading); margin-bottom: 4px; }
.cd-use-item p  { font-size: 13px; color: var(--sn-muted); margin: 0; line-height: 1.5; }

@media (max-width: 576px) {
  .cd-uses-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.cd-pricing { background: var(--sn-bg); }

.cd-plan-card { overflow: visible; }

.cd-plan-price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 16px 0 4px;
}
.cd-price-amount {
  font-size: 38px; font-weight: 900; color: var(--sn-black); line-height: 1;
}
.sn-plan-card--popular .cd-price-amount { color: var(--sn-white); }
.cd-price-period {
  font-size: 14px; color: var(--sn-muted); font-weight: 500;
}
.sn-plan-card--popular .cd-price-period { color: rgba(255,255,255,.65); }
.cd-price-savings {
  display: inline-block;
  background: #dcfce7; color: #16a34a;
  font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 50px;
  margin-bottom: 16px;
}

/* Contact card */
.cd-contact-card {
  background: var(--sn-white);
  border: 2px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  padding: 36px 32px;
  height: 100%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.cd-contact-icon {
  width: 72px; height: 72px;
  background: #dcfce7; color: #16a34a;
  border-radius: 50%; font-size: 34px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.cd-contact-card h4 { font-size: 20px; font-weight: 700; color: var(--sn-heading); margin-bottom: 10px; }
.cd-contact-card p  { font-size: 14px; color: var(--sn-muted); margin-bottom: 20px; line-height: 1.6; }
.cd-contact-badges {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.cd-contact-badges span {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--sn-muted); font-weight: 500;
}
.cd-contact-badges span i { color: var(--sn-primary); }

/* ---------- How section ---------- */
.cd-how { background: var(--sn-white); }

/* ---------- Audience ---------- */
.cd-audience-card {
  background: var(--sn-white);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  padding: 32px 28px;
  text-align: center;
  height: 100%;
  transition: var(--sn-ease);
}
.cd-audience-card:hover {
  border-color: var(--sn-primary);
  box-shadow: var(--sn-shadow-lg);
  transform: translateY(-4px);
}
.cd-audience-card > i {
  font-size: 40px; color: var(--sn-primary);
  margin-bottom: 18px; display: block;
}
.cd-audience-card h4 { font-size: 17px; font-weight: 700; color: var(--sn-heading); margin-bottom: 10px; }
.cd-audience-card p  { font-size: 14px; color: var(--sn-muted); line-height: 1.65; margin: 0; }

/* ---------- Footer contact links ---------- */
.cd-footer-contact {
  display: flex; flex-direction: column; gap: 10px;
}
.cd-footer-contact a {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.75);
  text-decoration: none; transition: var(--sn-ease);
}
.cd-footer-contact a:hover { color: var(--sn-white); }
.cd-footer-contact a i { font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .cd-hero { padding: 110px 0 70px; }
  .cd-hero-badge-big { max-width: 100%; }
  .cd-what { padding: 60px 0; }
}
@media (max-width: 576px) {
  .cd-hero-prices { flex-direction: column; gap: 12px; }
  .cd-hero-price-divider { width: 60px; height: 1px; }
}
