.pedir-cita-section {
    padding-top: 3rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
    color: var(--color-accent-blue);
    background-color: var(--color-primary-sage);/*var(--color-accent-terracotta);*/
    text-align: center;
    margin-top: 2rem;
}

.pedir-cita-section #h2-cita-donde {
    position: relative; 
    margin-top: 3rem;
    color: var(--color-accent-blue);
    text-shadow: none;
}

.pedir-cita-presentacion {
    width: 100%;
    height: auto;
    position: relative;
}

.pedir-cita-presentacion video {
    width: 100%;
}

.pedir-cita-presentacion img {
    width: 100%;
}

.pedir-cita-section h2 {
    color: white;
    margin-block-start: 0em;
    font-size: 2rem;
    font-weight: 700;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 1);
};

.pedir-cita-section p {
    font-size: 1.125rem;
    max-width: 48rem;
}

.pedir-cita-section iframe {
    width: 100%;
    height: 250px; 
    border: 0;
}

.pedir-cita-section .toggle-container {
    width: 100%;
    margin-top: 3rem;
    background-color: aliceblue;
    width: calc(100% - 1.5rem);
    padding-left: 1rem;
}

.pedir-cita-section .toggle-container .arrow {
    color: var(--color-accent-blue);
}

.pedir-cita-tlf-whatsapp { 
    display: inline-flex; 
    flex-wrap: wrap;
    width: 100%; 
    height: auto; 
    background-color: white;
    border-radius: 0.75rem;
    border: none;
    overflow: hidden;
    margin-bottom: 1rem;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
}

.pedir-cita-tlf-whatsapp img { 
    width: 40px; 
    height: 40px; 
    margin: 1.5rem 1.5rem 2rem 2rem;
}

.pedir-cita-tlf-whatsapp span { 
    font-family: Quicksand;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
}

.pedir-cita-tlf-whatsapp .pedir-cita-button {
    width: 100%;
    margin: 0rem 2rem 2rem 2rem;
    background-color: var(--color-accent-terracotta);
    color: white;
    padding: 1rem 2rem;
    white-space: nowrap;
    border-radius: 9999px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.pedir-cita-tlf-whatsapp .pedir-cita-button:hover {
    color: var(--text-color-dark);
    background-color: var(--color-light-terracotta);
    font-weight: 400;
}

@media (max-width: 375px) {
    .pedir-cita-tlf-whatsapp .pedir-cita-button {
        margin: 0rem 1.5rem 2rem 1.5rem;
    }
}

@media (min-width: 768px) {
    .pedir-cita-section { margin-top: 3rem; }
    .pedir-cita-presentacion video { width: 95%; }
    .pedir-cita-presentacion img { width: 95%; }
    .pedir-cita-section iframe { height: 450px; }
    .pedir-cita-section h2 { font-size: 3.25rem; }
    .pedir-cita-section #h2-cita-donde { margin-top: 5rem; }
    .pedir-cita-section p { font-size: 1.25rem; }
    .pedir-cita-tlf-whatsapp { width: calc(50% - 3rem); margin: 1rem;}
    .pedir-cita-tlf-whatsapp img { 
        width: 50px; 
        height: 50px; 
        margin: 2rem 1.5rem 2.5rem 2.5rem;
    }
    .pedir-cita-tlf-whatsapp span { font-size: 1.5rem; }
    .pedir-cita-tlf-whatsapp .pedir-cita-button { margin: 0rem 5.5rem 2rem 5.5rem; font-size: 1.3rem; }
}

.toggle-content .pedir-cita-tlf-whatsapp {
    margin-top: 1rem;
}

.contact-form {
    max-width: 560px; /* max-w-xl */
    margin: 1rem auto 2rem auto;
    background-color: white;
    padding: 2rem; /* p-8 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: var(--shadow-medium);
    color: var(--text-color-dark);
}

.contact-form div {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
    font-family: Poppins;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#div-contact-privacity {
    text-align: left;
}

.contact-form #privacity {
    width: auto;
    cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary-sage);
    box-shadow: 0 0 0 2px rgba(160, 184, 160, 0.5);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-family: Quicksand;
    font-style: italic;
}

.contact-form button {
    display: inline-block;
    background-color: var(--color-secondary-blue-gray);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    font-weight: 400;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: var(--shadow-light);
}

.contact-form button:hover {
    color: var(--text-color-dark);
    background-color: #7fb5d6;
}

.contact-form span {
    float: left;
}

.contact-form .material-symbols-outlined {
    font-size: xx-large !important;
    margin-right: 1rem;
    font-weight: normal;
    color: var(--color-secondary-blue-gray);
}

.contact-form .title-por-correo {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

@media (min-width: 768px) { /* md:text-xl */
    .contact-form { margin: 1rem auto 3rem auto; }
    .contact-form .title-por-correo { font-size: 1.5rem; margin-top: 0; }
}