/* ===========================================================
   Bloques de contenido de las páginas de producto — Esencia Marina®
   Mismos colores y tipografías del sitio (Saira / DM Sans, #16436f, #10b1b4)
   =========================================================== */

.em-sec { position: relative; margin-bottom: 56px; }
.em-lead { margin-bottom: 28px; }
.em-lead h2 { margin-bottom: 12px; }
.em-lead p { margin: 0; }
.em-kicker {
  display: inline-block; margin-bottom: 8px;
  font-family: 'Saira', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: #10b1b4;
}

/* Rejillas: 2 o 3 columnas en escritorio, 1 columna en el teléfono (mismo orden del texto) */
.em-grid { display: grid; gap: 22px; }
.em-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.em-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.em-grid-2 > .em-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Tarjeta */
.em-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e6ebed; border-radius: 12px;
  padding: 26px 24px 24px;
  box-shadow: 0 10px 30px rgba(22, 67, 111, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.em-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(22, 67, 111, 0.11); }
.em-card h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0 0 8px; }
.em-card p { font-size: 16px; line-height: 26px; margin: 0 0 10px; }
.em-card p:last-child { margin-bottom: 0; }

/* Número hexagonal (mismo estilo de los 01 · 02 · 03 del sitio) */
.em-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 42px; margin-bottom: 14px; flex-shrink: 0;
  font-family: 'Saira', sans-serif; font-size: 17px; font-weight: 700; color: #fff;
  background: #10b1b4;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Ícono hexagonal grande */
.em-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 56px; margin-bottom: 16px;
  font-size: 30px; color: #fff; background: #16436f;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Etiqueta pequeña y valor destacado */
.em-tag {
  align-self: flex-start; margin-bottom: 6px; padding: 2px 12px; border-radius: 20px;
  font-family: 'Saira', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase; color: #10b1b4; background: #e8f7f7;
}
.em-sub { font-size: 15px !important; line-height: 22px !important; color: #10b1b4; font-weight: 500; margin-bottom: 12px !important; }
.em-dato {
  align-self: flex-start; margin: -2px 0 12px; padding: 4px 14px; border-radius: 8px;
  font-family: 'Saira', sans-serif; font-size: 18px; font-weight: 700; color: #16436f; background: #eef5fa;
}

/* Tarjeta destacada (vías de uso, etapas) */
.em-via { background: #f8fbff; border-top: 4px solid #10b1b4; }

/* Lista con check */
.em-check { margin: 4px 0 0; padding: 0; list-style: none; }
.em-check li {
  position: relative; padding: 9px 0 9px 32px;
  font-size: 16px; line-height: 26px; border-bottom: 1px dashed #d5dbdf;
}
.em-check li:last-child { border-bottom: none; padding-bottom: 0; }
.em-check li:before {
  position: absolute; left: 0; top: 10px; content: "\f113";
  font-family: 'flaticon'; font-size: 17px; color: #10b1b4;
}
.em-check strong { color: #16436f; }

/* Subgrupos dentro de una tarjeta */
.em-subitem { padding-top: 12px; margin-top: 12px; border-top: 1px dashed #d5dbdf; }
.em-subitem:first-of-type { padding-top: 0; margin-top: 0; border-top: none; }
.em-subitem strong { color: #16436f; }

/* Bloque destacado oscuro (referente / garantía) */
.em-quote {
  position: relative; overflow: hidden; border-radius: 14px; padding: 36px 38px;
  background: linear-gradient(160deg, #1a2d4f 0%, #0d4b7a 100%);
}
.em-quote:after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: rgba(16, 177, 180, .18);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.em-quote .em-kicker { color: #4fd6d8; }
.em-quote h2 { color: #fff; position: relative; z-index: 1; }
.em-quote p { position: relative; z-index: 1; margin: 0; color: rgba(255, 255, 255, .88); }
.em-quote strong { color: #fff; }

/* Nota / aviso */
.em-note {
  margin-top: 22px; padding: 14px 18px; border-left: 4px solid #10b1b4; border-radius: 8px;
  background: #f8fbff; font-size: 15px; line-height: 24px; color: #5f6569;
}
.em-note strong { color: #16436f; }

/* Imágenes */
.em-figure { margin: 22px 0 0; }
.em-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.em-figs { margin-top: 22px; }
.em-figs .em-figure { margin: 0; }

/* Pantallas medianas: 3 columnas pasan a 1 para que el texto respire */
@media (max-width: 1199px) {
  .em-grid-3 { grid-template-columns: 1fr; }
}

/* Teléfono: una sola columna en el orden del texto */
@media (max-width: 767px) {
  .em-sec { margin-bottom: 44px; }
  .em-grid-2 { grid-template-columns: 1fr; }
  .em-grid-2 > .em-card:last-child:nth-child(odd) { grid-column: auto; }
  .em-card { padding: 22px 20px 20px; }
  .em-card h3 { font-size: 19px; line-height: 26px; }
  .em-quote { padding: 28px 22px; }
  .em-quote:after { width: 150px; height: 150px; right: -50px; top: -50px; }
}
