.services-content {
    margin: 5rem 2rem;
}

.services-content h1 {
    font-family: Gruppo;
    font-size: 1.8rem;
    color: var(--color-secondary-blue-gray);
}

.services-content h2 {
    font-family: Gruppo;
    font-size: 1.7rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    color: var(--color-secondary-blue-gray);
}

.services-content p {
    font-size: 1.1rem;
}

.services-content .subtitle, .toggle-container .subtitle {
    font-size: x-large;
    /*font-style: italic;*/
    font-weight: bold;
    margin-right: 10px;
    font-family: Gruppo;
}

.services-content .li-subtitle {
    color: var(--color-li-subtitle);
    font-family: Gruppo;
    font-size: larger;
    font-weight: bold;
}

.services-content hr {
    margin-top: 6rem; 
    border: 1px solid #abb1ae42;
}

.services-image-container {
    position: relative;
    width: 100%; 
    height: auto; 
    overflow: hidden;
}

.services-image-container img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0rem;
}

.services-image-container div {
    position: absolute; 
    background-color: #49494969;/*#eaffff73;*/
    color: #fff;
}

@media (max-width: 767px) {
    .services-image-container div {
        bottom: 0.2rem; 
        left: 0rem; 
        width: calc(100% - 1rem); 
        padding: 0.5rem; 
        font-size: 90%;
    }
}

@media (min-width: 768px) {
    .services-content {
        margin: 7rem 25% 5rem 25%;
    }

    .services-content h1 {
        font-size: 2.5rem;
    }

    .services-image-container div {
        bottom: 3rem; 
        right: 1rem; 
        width: 80%; 
        height: auto;
        padding: 2rem;
        font-size: 1.4rem;
    }

    .services-image-container img {
        margin: 1rem 0rem 2rem 0rem;
    }

    .services-content p {
        font-size: 1.2rem;
    }
}

/* Botón para reservar cita */
.cita-button {
    background-color: var(--color-accent-terracotta);
    color: white;
    padding: 10px 40px;
    /*margin: 3rem 0rem;*/
    border: none;
    cursor: pointer;
    float: right;
    border-radius: 9999px; /* Para hacerlo completamente redondo si el padding es igual */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-family: Quicksand;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.5s ease;;
    z-index: 1000;
}

.cita-button:hover {
    transform: translateY(-5px);
    background-color: var(--color-light-terracotta); /* Un tono más claro de terracota */
    color:#000;
}