/* Estados Card Design - Adapted from User Request */
.est-card {
    position: relative;
    width: 100%;
    max-width: 240px;
    /* Increased slightly for better text fit */
    height: 254px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.est-top-card {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 65%;
    transition: height 0.3s ease;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon in top card */
.est-top-icon {
    font-size: 3rem;
    color: #ff7b00;
    /* Orange */
    transition: transform 0.3s ease;
}

.est-bottom-card {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 35%;
    transition: height 0.3s ease;
    background-color: #ff7b00;
    /* Orange */
    position: relative;
}

/* Curve effect */
.est-bottom-card::before {
    content: "";
    position: absolute;
    background-color: transparent;
    bottom: 89px;
    /* Matches user CSS logic roughly, adjusted for height change */
    height: 50px;
    width: 100%;
    /* Flexible width */
    max-width: 225px;
    /* Cap width to match card */
    transition: bottom 0.3s ease;
    border-bottom-left-radius: 20px;
    box-shadow: 0 30px 0 0 #ff7b00;
    /* Orange shadow */
    right: 0;
    /* Align right for the curve */
}

.est-card-content {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 100%;
    text-align: center;
}

.est-card-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.est-card-txt {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 0;
}

.est-card-btn {
    font-size: 13px;
    margin-top: 15px;
    text-decoration: none;
    color: white;
    background-color: transparent;
    border: solid 2px #fff;
    border-radius: 15px;
    padding: 5px 15px;
    opacity: 0;
    /* Hidden by default until hover */
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Hover Effects */
.est-card:hover {
    box-shadow: 0px 10px 25px rgba(255, 123, 0, 0.4);
    /* border: solid 1px #ff7b00; - User had this, but shadow is usually enough */
}

.est-card:hover .est-top-card {
    height: 35%;
}

.est-card:hover .est-top-icon {
    font-size: 2rem;
    transform: translateY(-10px);
}

.est-card:hover .est-bottom-card {
    height: 65%;
}

.est-card:hover .est-bottom-card::before {
    bottom: 164px;
    /* Move curve up */
}

.est-card:hover .est-card-btn {
    opacity: 1;
    transform: translateY(0);
}

.est-card-btn:hover {
    color: #ff7b00;
    background-color: #fff;
}