.section ul {
    margin-left: 0;
    padding-left: 22px;
}

.section ul li {
    margin-bottom: 8px;
}

.section p {
    line-height: 1.7;
    margin-bottom: 16px;
}

.section h2 {
    margin-top: 35px;
    margin-bottom: 10px;
}



.formula {
    background: #f4f6f8;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    margin: 15px 0;
}



.calculator-card {
  background: #0f172a; /* fondo negro/oscuro */
  border-radius: 16px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.calculator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.calculator-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #f8fafc;
  font-family: 'Poppins', sans-serif;
}

.calculator-card p {
  color: #cbd5f5;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* BOTÓN VERDE (branding) */
.calculator-card .btn-primary {
  display: inline-block;
  padding: 12px 18px;
  background: linear-gradient(135deg, #22c55e, #10b981);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.calculator-card .btn-primary:hover {
  background: linear-gradient(135deg, #16a34a, #059669);
  transform: scale(1.05);
}


/* Snippet box */

.snippet-box {
    background: #f1f5f9;
    border-left: 6px solid #2563eb;
    padding: 18px 20px;
    margin: 24px 0;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.7;
    color: #111827;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.snippet-box::before {
    content: "📌 Quick Answer";
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.snippet-box strong {
    font-weight: 700;
}



/* CARDS EJEMPLOS */

.quick-box {
  background: #f8fafc;
  border-left: 5px solid #16a34a;
  padding: 16px 18px;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}






/* TABLAS GLOBALES */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  font-size: 0.95rem;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* HEADER COLORIDO */


table th {
  padding: 16px;
  background: #0a2f5c;
  text-align: center;
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* CELDAS */
table td {
  padding: 14px;
  text-align: center;
  color: #374151;
  transition: all 0.2s ease;
}

/* FILAS CON MÁS COLOR (ZEBRA MÁS BONITA) */
table tbody tr:nth-child(odd) {
  background: #ffffff;
}

table tbody tr:nth-child(even) {
  background: #f1f5ff;
}

/* HOVER MÁS VIVO */
table tbody tr:hover {
  background: #dbeafe;
  transform: scale(1.01);
}

/* BORDES SUAVES */
table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

/* ÚLTIMA FILA */
table tbody tr:last-child {
  border-bottom: none;
}



/* EXPANSIÓN GUÍAS */


.guides-toggle {
  width: 100%;
  background: #111827;
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  text-align: left;
  transition: 0.3s;
}

.guides-toggle:hover {
  background: #1f2937;
}

.guides-list {
  display: none;
  margin-top: 12px;
  padding-left: 10px;
}

.guides-expand.active .guides-list {
  display: block;
}

.guides-list ul li {
  margin-bottom: 8px;
}