
:root {
    --color-primario-tarjeta: rgba(98, 119, 112, 0.8);
    --color-titulos: #EED3A8;
    --color-hex-vacio: rgba(98, 119, 112, 0.3);
    --color-hex-sombra: rgba(0, 0, 0, 0.15);
    --color-texto-blanco: #ffffff;
}


.contenedor-principal {
    display: flex;
    justify-content: center;
    width: 100vw;
    
    padding: var(--spacing-md) var(--spacing-sm);
}


.tarjeta-img {
    position: relative; 
    display: flex;      
    justify-content: flex-end; 
    width: 100vw;
    max-width: 80vw;
    margin: 0 auto;
    min-height: 80vh; 
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}


.imagen-contenedor {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}

.imagen-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}


.inf {
    position: relative; 
    z-index: 2;        
    width: 45%;       
    height: 100%;       
    
    background-color: rgba(98, 119, 112, 0.55); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    
    text-decoration: none;
    color: var(--color-titulos);
    transition: background-color 0.3s ease;
}

.inf:hover {
    background-color: rgba(98, 119, 112, 0.95);
}


.btn-mapa {
    margin-top: 5%;
    padding: 5% 10%;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: #e2b46b;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    
    animation: pulso-solar 2s infinite;
  }

  .btn-mapa:hover {
    
    background-color: #e7af53;
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: none; 
  }

  .btn-mapa:active {
    transform: translateY(-1px);
  }

  @keyframes pulso-solar {
    0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7);
    }
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 15px rgba(243, 156, 18, 0);
    }
    100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(243, 156, 18, 0);
    }
  }

.encabezado-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.icono-mapa img {
    width: 60px;
    height: auto;
}

.inf h3 {
    
    margin-top: 0rem;
    color: var(--color-titulos);
}
.inf h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin: 0;
    color: var(--color-titulos);
}

.inf p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.95;
    text-align: justify;
    color: var(--color-texto-blanco);
}

@media (max-width: 768px) {
    .tarjeta-img {
        max-width: 95vw;
        flex-direction: column;
        justify-content: flex-end;
    }

    .inf {
        width: 100%;
        height: auto;
        min-height: 40%;
        padding: 1.5rem;
        background-color: rgba(98, 119, 112, 0.55);
    }

    .encabezado-card {
        gap: 10px;
        margin-bottom: 5px;
    }

    .icono-mapa img {
        width: 40px;
    }

    .inf h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .inf h3 {
        font-size: 1rem;
    }

    .inf p {
        font-size: 1rem;
        line-height: 1.4;
        text-align: left;
    }
}