/* Estilos generales */
:root {
    --font-principal: 'Montserrat', sans-serif;
    --font-secundaria: 'Open Sans', sans-serif;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: var(--font-secundaria);
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
  }
  
 /* Estilos para Tarjetas Virtuales - Integrado con el sitio principal */


 





 /* Estilos mejorados para Tarjetas Virtuales */

:root {
    --font-principal: 'Montserrat', sans-serif;
    --font-secundaria: 'Open Sans', sans-serif;
  }
  
  /* Contenedor principal */
  .contenedor {
    max-width: 1170px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  /* Cabecera de la sección */
  .cabecera {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .cabecera h1 {
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-principal);
  }
  
  .descripcion {
    max-width: 800px;
    margin: 0 auto;
    color: #4a5568;
    font-size: 1.1rem;
    font-family: var(--font-secundaria);
  }
  
  /* Grid de tarjetas */
  .tarjetas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  
  /* Tarjeta individual */
  .tarjeta {

    --color-primario: #1a365d;
  --color-secundario: #e2e8f0;
  --color-acento: #4299e1;
  
  background-color: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e2e8f0 !important;
  }
  
  .tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  }
  
  .tarjeta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--color-primario, #1a365d);
  }
  

  
  /* Cabecera de la tarjeta */
  .tarjeta-cabecera {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .logo-empresa {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 1.25rem;
    background-color: var(--color-secundario, #e2e8f0);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .logo-empresa img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
  }
  
  .identificacion {
    margin-top: 1rem !important;
    text-align: center !important;
  }
  
  .tarjeta .nombre {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primario, #1a365d);
    margin-bottom: 0.25rem;
    font-family: var(--font-principal);
    line-height: 1.3;
  }
  
  .tarjeta .profesion {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
    font-family: var(--font-secundaria);
    line-height: 1.4;
  }
  
  .tarjeta .empresa {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-acento, #4299e1);
    font-family: var(--font-secundaria);
  }
  
  /* Cuerpo de la tarjeta */
  .tarjeta-cuerpo {
    margin-bottom: 1rem;
  }
  
  .informacion-contacto {
    margin-bottom: 1.5rem;
  }
  
  .item-contacto {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #4a5568;
    font-family: var(--font-secundaria);
  }
  
  .item-contacto:last-child {
    margin-bottom: 0;
  }
  
  .item-contacto i {
    width: 1.25rem;
    margin-right: 0.75rem;
    color: var(--color-acento, #4299e1);
    margin-top: 0.25rem;
  }
  
  .item-contacto a {
    color: var(--color-acento, #4299e1);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .item-contacto a:hover
    text-decoration: underline;
  }
  
  .especialidades, .idiomas {
    margin-bottom: 1.5rem;
  }
  
  .especialidades h3, .idiomas h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primario, #1a365d);
    margin-bottom: 0.75rem;
    font-family: var(--font-principal);
    position: relative;
    padding-left: 1rem;
  }
  
  .especialidades h3::before, .idiomas h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--color-acento, #4299e1);
    border-radius: 2px;
  }
  
  .especialidades ul, .lista-idiomas {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .especialidades ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .especialidades li {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-secundario, #e2e8f0);
    color: var(--color-primario, #1a365d);
    border-radius: 20px;
    font-family: var(--font-secundaria);
    font-weight: 500;
  }
  
  .lista-idiomas li {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    padding-left: 1rem;
    position: relative;
    font-family: var(--font-secundaria);
  }
  
  .lista-idiomas li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-acento, #4299e1);
  }
  
  /* Pie de la tarjeta */
  .tarjeta-pie {
    display: block !important;
    text-align: center !important;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #edf2f7;
  }
  
  .redes-sociales {
    display: inline-block !important;
    margin: 0.5rem !important;
  }
  
  .red-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: var(--color-secundario, #e2e8f0);
    color: var(--color-primario, #1a365d);
    transition: all 0.2s ease;
  }
  
  .red-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .red-social.linkedin:hover {
    background-color: #0077b5;
    color: white;
  }
  
  .red-social.twitter:hover {
    background-color: #1da1f2;
    color: white;
  }
  
  .red-social.facebook:hover {
    background-color: #1877f2;
    color: white;
  }
  
  .acciones {
    display: flex;
    gap: 0.75rem;
  }
  
  .boton-accion {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-principal);
    white-space: nowrap;
  }
  
  .boton-accion i {
    margin-right: 0.5rem;
  }
  
  .compartir {
    background-color: var(--color-secundario, #e2e8f0);
    color: var(--color-primario, #1a365d);
    border: none;
  }
  
  .compartir:hover {
    background-color: #cbd5e0;
  }
  
  .ver-mas {
    background-color: var(--color-primario, #1a365d);
    color: white;
    text-decoration: none;
  }
  
  .ver-mas:hover {
    background-color: #2c5282;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* QR code */
  .tarjeta-qr {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 100px;
    height: 100px;
    background-color: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
  
  /* Mensaje vacío */
  .mensaje-vacio {
    text-align: center;
    padding: 4rem 2rem;
    color: #718096;
    font-family: var(--font-secundaria);
    font-size: 1.1rem;
    background: #f9fafc;
    border-radius: 10px;
    border: 1px dashed #cbd5e0;
  }
  
  /* Paginación */
  .pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 0.5rem;
  }
  
  .pagination a, .pagination .on {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #4a5568;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: var(--font-principal);
    font-weight: 600;
  }
  
  .pagination a:hover {
    background-color: #e2e8f0;
  }
  
  .pagination .on {
    background-color: var(--color-primario, #1a365d);
    color: white;
  }
  
  /* Pie de página */
  .pie {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #718096;
    font-size: 0.9rem;
    font-family: var(--font-secundaria);
  }
  
  /* Notificación */
  .notificacion-temporal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primario, #1a365d);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: var(--font-principal);
    font-weight: 500;
    font-size: 0.95rem;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .tarjetas-grid {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .cabecera h1 {
      font-size: 2rem;
    }
    
    .tarjetas-grid {
      gap: 1.5rem;
    }
  }
  
  @media (max-width: 576px) {
    .tarjetas-grid {
      grid-template-columns: 1fr;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .tarjeta-cabecera {
      display: block !important;
      text-align: center !important;
      margin-bottom: 1rem !important;
    }
    
    .logo-empresa {
      margin-right: 0;
      margin-bottom: 1rem;
    }
    
    .tarjeta-pie {
      flex-direction: column;
      gap: 1rem;
    }
    
    .acciones {
      width: 100%;
      justify-content: center;
    }
  }
  
  /* Animaciones */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .tarjeta {
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
    opacity: 0;
  }







  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-principal);
    margin-bottom: 1rem;
  }
  
  a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--color-acento, #4299e1);
  }
  
  /* Cabecera */
  .cabecera {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .cabecera h1 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 0.5rem;
  }
  
  .descripcion {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #4a5568;
  }
  
  /* Grid de tarjetas */
  .tarjetas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  /* Tarjeta */
  .tarjeta {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
  }
  
  .tarjeta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }
  
  .tarjeta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--color-primario, #1a365d);
  }
  
  .tarjeta-contenido {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
  }
  
  /* Cabecera de tarjeta */
  .tarjeta-cabecera {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .logo-empresa {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secundario, #e2e8f0);
    border-radius: 50%;
    overflow: hidden;
  }
  
  .logo-empresa img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .identificacion {
    margin-top: 1rem !important;
    text-align: center !important;
  }
  
  .nombre {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d !important;
    margin-bottom: 0.25rem;
  }
  
  .profesion {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
  }
  
  .empresa {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-acento, #4299e1);
  }
  
  /* Cuerpo de tarjeta */
  .tarjeta-cuerpo {
    flex-grow: 1;
    margin-bottom: 1                                rem;
  }
  
  .informacion-contacto {
    margin-bottom: 1.5rem;
  }
  
  .item-contacto {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
  }
  
  .item-contacto i {
    width: 1.5rem;
    color: var(--color-acento, #4299e1);
    margin-right: 0.5rem;
  }
  
  .item-contacto a {
    color: var(--color-acento, #4299e1);
  }
  
  .item-contacto a:hover {
    text-decoration: underline;
  }
  
  .especialidades, .idiomas {
    margin-bottom: 1.5rem;
  }
  
  .especialidades h3, .idiomas h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primario, #1a365d);
    margin-bottom: 0.5rem;
  }
  
  .especialidades ul, .lista-idiomas {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: 0.5rem;
  }
  
  .especialidades li {
    font-size: 0.85rem;
    background-color: var(--color-secundario, #e2e8f0);
    color: var(--color-primario, #1a365d);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
  }
  
  .lista-idiomas li {
    font-size: 0.85rem;
    margin-right: 1rem;
  }
  
  .lista-idiomas li::before {
    content: '•';
    color: var(--color-acento, #4299e1);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
  }
  
  /* Pie de tarjeta */
  .tarjeta-pie {
    margin-top: auto;
    display: block !important;
    text-align: center !important;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .redes-sociales {
    display: flex;
    gap: 0.5rem;
  }
  
  .red-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-secundario, #e2e8f0);
    color: var(--color-primario, #1a365d);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .red-social:hover {
    background-color: var(--color-primario, #1a365d);
    color: white;
  }
  
  .red-social.linkedin:hover {
    background-color: #0077b5;
  }
  
  .red-social.twitter:hover {
    background-color: #1da1f2;
  }
  
  .red-social.facebook:hover {
    background-color: #1877f2;
  }
  
  .acciones {
    display: flex;
    gap: 0.75rem;
  }
  
  .boton-accion {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .boton-accion i {
    margin-right: 0.5rem;
  }
  
  .compartir {
    background-color: var(--color-secundario, #e2e8f0);
    color: var(--color-primario, #1a365d);
    border: none;
  }
  
  .compartir:hover {
    background-color: #cbd5e0;
  }
  
  .ver-mas {
    background-color: var(--color-primario, #1a365d);
    color: white;
  }
  
  .ver-mas:hover {
    background-color: #2c5282;
    color: white;
  }
  
  /* QR code */
  .tarjeta-qr {
    display: none; /* Inicialmente oculto, se mostrará via JavaScript */
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 100px;
    height: 100px;
    background-color: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  
  /* Mensaje vacío */
  .mensaje-vacio {
    text-align: center;
    padding: 3rem;
    color: #718096;
  }
  
  /* Paginación */
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
  }
  
  .pagination a, .pagination .on {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #4a5568;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .pagination a:hover {
    background-color: #e2e8f0;
  }
  
  .pagination .on {
    background-color: var(--color-primario, #1a365d);
    color: white;
  }
  
  /* Footer */
  .pie {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #718096;
    font-size: 0.9rem;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .tarjetas-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cabecera h1 {
      font-size: 2rem;
    }
    
    .tarjeta-cabecera {
      display: block !important;
  text-align: center !important;
  margin-bottom: 1rem !important;
    }
    
    .logo-empresa {
      margin-right: 0;
      margin-bottom: 1rem;
    }
    
    .tarjeta-pie {
      flex-direction: column;
      align-items: center;
    }
    
    .acciones {
      width: 100%;
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .tarjetas-grid {
      grid-template-columns: 1fr;
    }
    
    .tarjeta {
      max-width: 350px;
      margin: 0 auto;
    }
  }
  
  /* Animaciones y transiciones */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .tarjeta {
    animation: fadeIn 0.5s ease-out;
  }
  
  /* Para PWA */
  @media (display-mode: standalone) {
    body {
      padding-top: env(safe-area-inset-top);
      padding-bottom: env(safe-area-inset-bottom);
      padding-left: env(safe-area-inset-left);
      padding-right: env(safe-area-inset-right);
    }
  }
  
  /* Tema oscuro */
  body.theme-dark {
    background-color: #0f172a;
    color: #e2e8f0;
  }
  
  body.theme-dark .cabecera h1 {
    color: #e2e8f0;
  }
  
  body.theme-dark .descripcion {
    color: #94a3b8;
  }
  
  body.theme-dark .tarjeta {
    background-color: #1e293b;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  }
  
  body.theme-dark .tarjeta:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  }
  
  body.theme-dark .nombre {
    color: #e2e8f0;
  }
  
  body.theme-dark .profesion {
    color: #cbd5e0;
  }
  
  body.theme-dark .especialidades h3,
  body.theme-dark .idiomas h3 {
    color: #e2e8f0;
  }
  
  body.theme-dark .item-contacto {
    color: #cbd5e0;
  }
  
  body.theme-dark .especialidades li {
    background-color: #334155;
    color: #e2e8f0;
  }
  
  body.theme-dark .red-social {
    background-color: #334155;
    color: #e2e8f0;
  }
  
  body.theme-dark .pagination a {
    color: #cbd5e0;
  }
  
  body.theme-dark .pagination a:hover {
    background-color: #334155;
  }
  
  body.theme-dark .compartir {
    background-color: #334155;
    color: #e2e8f0;
  }
  
  body.theme-dark .compartir:hover {
    background-color: #475569;
  }
  
  body.theme-dark .mensaje-vacio {
    color: #94a3b8;
  }
  
  body.theme-dark .pie {
    border-top-color: #334155;
    color: #94a3b8;
  }


  
  /* Preferencias del sistema para el tema oscuro */
  @media (prefers-color-scheme: dark) {
    body:not(.theme-light) {
      background-color: #0f172a;
      color: #e2e8f0;
    }
    
    body:not(.theme-light) .cabecera h1 {
      color: #e2e8f0;
    }
    
    body:not(.theme-light) .descripcion {
      color: #94a3b8;
    }
    
    body:not(.theme-light) .tarjeta {
      background-color: #1e293b;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    }
    
    body:not(.theme-light) .tarjeta:hover {
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    }
    
    body:not(.theme-light) .nombre {
      color: #e2e8f0;
    }
    
    body:not(.theme-light) .profesion {
      color: #cbd5e0;
    }
    
    body:not(.theme-light) .especialidades h3,
    body:not(.theme-light) .idiomas h3 {
      color: #e2e8f0;
    }
    
    body:not(.theme-light) .item-contacto {
      color: #cbd5e0;
    }
    
    body:not(.theme-light) .especialidades li {
      background-color: #334155;
      color: #e2e8f0;
    }
    
    body:not(.theme-light) .red-social {
      background-color: #334155;
      color: #e2e8f0;
    }
    
    body:not(.theme-light) .pagination a {
      color: #cbd5e0;
    }
    
    body:not(.theme-light) .pagination a:hover {
      background-color: #334155;
    }
    
    body:not(.theme-light) .compartir {
      background-color: #334155;
      color: #e2e8f0;
    }
    
    body:not(.theme-light) .compartir:hover {
      background-color: #475569;
    }
    
    body:not(.theme-light) .mensaje-vacio {
      color: #94a3b8;
    }
    
    body:not(.theme-light) .pie {
      border-top-color: #334155;
      color: #94a3b8;
    }
  }


  /* Add to tarjeta.css */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.tarjeta .red-social:hover,
.tarjeta .boton-accion:hover,
.social-link:hover {
  animation: pulse 0.8s ease-in-out infinite;
}

.contact-item:hover i {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/* Add to tarjeta.css */
body, .tarjeta, .card-container, .card-header, .card-body, .contact-item,
.tag, .social-link, .red-social, .boton-accion, .compartir, .ver-mas {
  transition: all 0.3s ease;
}

/* To ensure text remains readable in dark mode */
body.theme-dark .tag {
  color: #1a365d;
  background-color: rgba(255, 255, 255, 0.8);
}

/* Agregar a la hoja de estilos tarjeta.css */
/* Ajustes específicos para macOS */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  /* Tema claro */
  body.theme-light {
    background-color: #f5f7fa !important;
    color: #333 !important;
  }
  
  /* Tema oscuro */
  body.theme-dark {
    background-color: #1a202c !important;
    color: #f7fafc !important;
  }
  
  body.theme-dark .tarjeta {
    background-color: #2d3748 !important;
    border-color: #4a5568 !important;
  }
  
  body.theme-dark .nombre {
    color: #f7fafc !important;
  }
  
  body.theme-dark .profesion,
  body.theme-dark .empresa {
    color: #e2e8f0 !important;
  }
  
  body.theme-dark .item-contacto {
    background-color: #4a5568 !important;
  }
  
  body.theme-dark .item-contacto i,
  body.theme-dark .item-contacto a {
    color: #90cdf4 !important;
  }
}