@font-face {
    font-family: helvetica-w01-light;
    src: url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.eot");
    src: url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/e89eb1cff9eb261b0d77a4dea27f1ef1.svg#Helvetica W01 Light")format("svg");
}

html {
    padding: 0;
}

body {
    font-family: Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    background-color: rgb(250, 255, 254);
}

.Header {
    background-color: #FAF5F0;
    display: flex;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    padding-top: 10px;
    z-index: 100;
}

.Menu {
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0;
    align-items: center;
    justify-content: space-around;
    height: 50px;
    margin-top: 0;

}

.Menu li {
    font-size: 22px;

}

.Menu li a {
    padding: 10px;
    text-decoration: none;
    /* font-weight: bold; */
    color: #211A6E;
    letter-spacing: -1px;
}

.btn-rounded {
    border-radius: 30px;
}

.Menu li a:hover {
    color: #302C2A; 
}
.Menu2 {
    margin-bottom: 20px;
}

.Menu2 .btn {
    font-family: helvetica-w01-light, sans-serif;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    color: #211A6E;
    border-radius: 25px;
    border-color: #211A6E;
}
.Menu2 .btn:hover{
    background-color:#FAF5F0;
    border-color: #FAF5F0;
    color: #302C2A;
}

.logo {
    margin-top: -20px;
    width: 150px;
    height: auto;
}

.icon-circle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1%;
    font-size: 12px;
    border-radius: 50%;
    margin-right: 10px;
    border-color: #211A6E;
    border-style: solid;
}

.icon-circle-dark{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    border-color: #06025B;
    border-style: solid;
    background-color: #06025B;
    color: white;
}

.pink{
    color: #EF97C0;
}

.Portada {
    padding: 0;
    margin: 0;
    margin-top: 245px;
    width: 100%;
    z-index: 0;
}

.Portada h1 {
    font-family: helvetica-w01-light, sans-serif;
    font-weight: 400;
    font-size: 40px;
    text-align: center;
    color: #06025B;
    margin-bottom: 40px;
}
.Portada .subtitle {
    font-family: helvetica-w01-light, sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-align: center;
    color: #06025B;
    margin-top: -20px;
    margin-bottom: 20px;
}

.Listado {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

}

.Listado .search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px;
    width: 90%;
}

.Listado .input-group {
    display: flex;
    flex-direction: column;
    margin: 10px;
    align-items: center;
}

.Listado .input-group label {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
    text-align: center;
}

.input-group input[type="text"],
.input-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    width: 250px;
    height: 2.5em;
}

.search-button {
    padding: 10px 20px;
    background-color: rgb(123, 58, 145);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 10px;
}

.search-button:hover {
    background-color: #0c03b8;
}

.list-title {
    font-size: 30px;
    color: rgb(123, 58, 145);
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    letter-spacing: -1.5px;
}

.Tarjetasdoc {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    align-items: stretch;
    padding: 0 5% 20px;
}

.tarjeta {
    background-color: rgba(123, 58, 145, 0.7);
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    border-radius: 10px;
}

.foto {
    width: 198px;
    height: 198px;
    overflow: hidden;
    padding: 3px;
    align-items: center;
    display: flex;
    flex-shrink: 0;
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.info {
    margin: 10px;
    color: white;
    font-size: 0.8rem;
    width: 100%;
}

.info hr {
    width: 100%;
}

.info .Nombre {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.Especialidades,
.Cargos,
.Telefono,
.Ciudad {
    font-weight: 600;
}

/* Etiquetas de especialidades */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 12px;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
}

/* Filas inline para Teléfono y Ciudad */
.linea {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 4px 0;
}

.linea .Etiqueta {
    font-weight: 700;
    min-width: 55px;
}

/* Paginación pública: una sola línea, centrada y a lo ancho */
.paginacion {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 24px 0 40px;
}

.paginacion nav {
    width: 100%;
    max-width: 960px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
}

.paginacion nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.paginacion nav li {
    display: inline-flex;
}

.paginacion nav li span.active {
    background: #0c03b8;
}

.paginacion nav a,
.paginacion nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    text-decoration: none;
    background: rgba(123, 58, 145, 0.7);
    /* similar a tarjetas */
}

.paginacion nav a:hover {
    background: #0c03b8;
}

.paginacion nav span[aria-current] {
    background: rgb(123, 58, 145);
    border-color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
}

.paginacion nav span[aria-disabled="true"],
.paginacion nav a[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

footer {
    font-family: 'EB Garamond', serif;
    padding-top: 20px;
    background-color: #333;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #C5CAF0;
    text-decoration: none;
}

.footeritems {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-family: helvetica-w01-light, sans-serif;
    color: #E7EAFD
}

.footeritems h2 {
    color: #E7EAFD;
    margin-top: 0;
    text-align: left;
    font-size: 39px;
    font-family: helvetica-w01-light, sans-serif;
}

.footeritems a {
    text-decoration: none;
    color: #C5CAF0;
    font-size: 20px;
    margin: 0px;
}

.footeritems p {
    color: #C5CAF0;
    margin: 0px;
    font-family: helvetica-w01-light, sans-serif;
    font-size: 20px;
}

.footeritems>a {
    margin: 0px;
    font-family: helvetica-w01-light, sans-serif;
    font-size: 20px;
    text-decoration: underline;
}


.footeritems div {
    display: flex;
    flex-direction: column;
    align-items: left;
}

footer h2 {
    width: 100%;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.Social {
    margin-top: 20px;
    margin-bottom: 50px;
    text-align: center;
    align-items: center;
}

.Social .icon-social {
    padding: 5px 10px;
    margin: 20px;
    width: 20px;
    height: 20px;
    background-color: #ccc;
    color: #000;
    font-size: 18px;
    border-radius: 50%;
    text-align: center;
}

.MenuResp {
    display: none;
}

#menuToggle {
    display: none;
}

.SoloResp {
    display: none;
}

/*Burguer*/
@media only screen and (max-width: 900px) {

    .Tarjetasdoc {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    #menuToggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        top: 50px;
        right: 50px;
        z-index: 1;
        margin-right: 20px;
        -webkit-user-select: none;
        user-select: none;
    }

    #menuToggle input {
        display: block;
        width: 53px;
        height: 32px;
        position: absolute;
        /* top: -7px; */
        /* right: -5px; */
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }

    #menuToggle span {
        display: block;
        width: 40px;
        height: 4px;
        margin: 5px 0;
        position: relative;
        background: #06025B;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            opacity 0.55s ease;
    }

    #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #menuToggle input:checked~span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    #menutop {
        position: absolute;
        width: 100%;
        height: 100vh;
        top: 0;
        right: 0;
        padding: 50px;
        background: linear-gradient(#F8D4C4, #ffffff);
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        transform-origin: 0% 0%;
        transform: translate(110%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    #menutop li {
        padding: 10px 0;
        font-size: 22px;
        text-align: center;
    }

    #menutop li a {
        text-decoration: none;
        color: #211A6E ;
    }

    #menutop li a:hover {
        color: #211A6E ;
    }

    #menutop hr {
        color: #4D96D7;
    }

    #menuToggle input:checked~#menutop {
        transform: none;
    }

    body {
        width: 100%;
    }

    .Header {
        display: none;
    }

    .MenuResp {
        top: 0;
        display: flex;
        width: 100%;
        position: fixed;
        z-index: 100;
        height: auto;
    }

    .Logoresp {
        height: 100px;
        display: flex;
        padding: 15px;
        background-color: #fff;
    }

    .Portada {
        display: flex;
        flex-direction: column;
    }

    .Portada h1 {
        margin-top: -90px;
        font-size: 35px;
        text-shadow: 1px 1px 9px #565555;
    }

    .Portada img {
        margin: 0;
        margin-top: 0px;
        height: 280px;

    }

    .Listado .search-container {
        display: flex;
        flex-direction: column;
        margin: 0;
        margin-top: 15px;
        width: 100%;
    }

    .search-button {
        align-self: center;
    }

    .footeritems {
        text-align: center;
        padding: 0 10px;
    }
    .footeritems h2 {
        text-align: center;
        font-size: 30px;
    }
    .footeritems p {
        font-size: 20px;
    }
    
    .footeritems a {
        font-size: 20px;
    }

    .Social .icon-social {
        margin: 10px;
        font-size: 24px;
    }

    .Logoresp {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .Logoresp img {
        height: 100%;
        width: auto;
    }

    .tarjeta {
        flex-direction: column;
    }

    .foto {
        width: 100%;
    }

    .info {
        margin: 10px;
        width: 90%;
    }

    .SoloResp {
        display: flex;
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 20px;
        margin-top: 5px;
        margin-bottom: 0;
        font-weight: normal;

    }
}
