*,
*::before,
*::after {
    box-sizing: border-box;
}

.grecaptcha-badge {
    visibility: hidden !important;
    right: 14px !important; /* deja su posición original */
}
body {
    font-family: "Helvetica", sans-serif;
    font-weight: normal;
    overflow-x: hidden;
}

/* Menu */
nav {
    width: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
    background-color: #fea11f;
    height: 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow:
        rgba(27, 31, 35, 0.04) 0px 1px 0px,
        rgba(255, 255, 255, 0.25) 0px 1px 0px inset;
}
.menu ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin-left: 10%;
    width: 55%;
    height: 60%;
}
.menu ul li {
    width: auto;
    padding: 0 1%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}
.menu ul li:hover {
    box-shadow:
        -15px 0 25px -15px #ffb84d,
        15px 0 25px -15px #ff6600;
    cursor: pointer;
}
.menu ul li a {
    text-decoration: none;
    color: black;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu ul li a img {
    width: auto;
    margin: auto;
    height: 100%;
}
.imgW {
    width: 5.7vw;
    height: 70%;
    margin-right: 7%;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.imgW img {
    width: auto;
    height: 85%;
}
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 8px;
    background-color: #fff;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 6px;
    cursor: pointer;
    margin-right: 5%;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background-color: #ff6600;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}
/* Encabezado */
header {
    margin-top: 8vw;
    width: 100%;
    height: 40vw;
    display: flex;
}
.encabezado div {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img1E img {
    margin-right: 10%;
    width: 90%;
    height: 100%;
}
.img2E img {
    width: 65%;
    height: auto;
}

/* Contenedor Principal */
main {
    margin-top: 5vw;
    margin-bottom: 12vw;
    width: 100%;
    height: auto;
}

/* Primera sección */
.PS {
    width: 100%;
    height: 45vw;
    display: flex;
}
.PS div {
    width: 50%;
    height: 100%;
}
.textPS h1,
.SS h1 {
    font-size: 4.5vw;
    margin: 0;
    margin-left: 10%;
    font-weight: 200;
    color: #fea11f;
}
.textPS p,
.SS div p,
.SS div ul,
.tarjetasCS div p {
    font-size: 1.5vw;
    margin-top: 3vw;
    margin-left: 10%;
    width: 80%;
}
.textPS img {
    width: auto;
    height: 28%;
    float: right;
}
.imgPS img {
    width: 90%;
    margin-left: 10%;
    height: 100%;
}

/* Segunda sección */
.SS {
    width: 100%;
    height: 45vw;
    display: flex;
    margin-top: 7vw;
}
.FormContac {
    width: 45%;
    height: 100%;
    background-color: #dddddd;
}
.FormContac form {
    width: 90%;
    margin-left: 5%;
    margin-bottom: 8%;
}
#FC button {
    width: 40%;
    height: 2.5vw;
    background-color: #6eaa25;
    border: none;
    border-radius: 0.5vw;
    color: white;
    font-size: 1.5vw;
    margin-top: 1vw;
}
#FC hr {
    width: 95%;
    margin-top: 0.5vw;
    margin-bottom: 2vw;
    margin-right: 5%;
    color: #ff6600;
}
#FC div label {
    font-size: 1.2vw;
}
.TipodeS {
    width: 100%;
    height: auto;
    display: flex;
}
.TipodeS div {
    width: 50%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}
.TipodeS div select,
.TipodeS div select option {
    font-size: 1.2vw;
}
.TipodeS div select {
    width: 90%;
    height: 2vw;
    background-color: #f5e915;
    border: 0.1vw solid #6eaa25;
    border-radius: 0.5vw;
}
.TipodeS div label,
.FechaS > label {
    margin-bottom: 1vw;
}

.FechaS div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 1vw;
    height: auto;
}
.FechaS div label {
    width: 30%;
}
.FechaS div select {
    width: 70%;
    height: 2vw;
    background-color: #f5e915;
    border: 0.1vw solid #6eaa25;
    border-radius: 0.5vw;
    font-size: 1.2vw;
}
.DatosC > label {
    width: 90%;
}
.DatosC > label input {
    width: 77.2%;
    font-size: 1.2vw;
    margin-bottom: 1vw;
    background-color: #f5e915;
    border: 0.1vw solid #6eaa25;
    border-radius: 0.5vw;
}
.DatosC div {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1vw;
}
.DatosC div select,
.DatosC div select option,
.DatosC div input {
    font-size: 1.2vw;
    background-color: #f5e915;
    border: 0.1vw solid #6eaa25;
    border-radius: 0.5vw;
}
.TipoA {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 2vw;
}
.TipoA input {
    background-color: #f5e915;
    border: 0.1vw solid #6eaa25;
    border-radius: 0.5vw;
    width: 45%;
    font-size: 1.2vw;
}
.cheacks {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 1vw;
}
.cheacks label {
    width: 50%;
}
#FC h3,
.SS h3 {
    font-size: 2vw;
    font-weight: 400;
    margin-bottom: 2vw;
    color: #6eaa25;
}

.buscador {
    width: 55%;
    height: 100%;
    background-color: #6eaa25;
}
.buscador > div {
    width: 80%;
    height: 80%;
    margin: 10%;
}
.buscador div h1 {
    font-size: 4.2vw;
    color: #f5e915;
    -webkit-text-stroke: 0.5px white;
}
.buscador div h3 {
    font-size: 2.3vw;
    color: #3c3c3b;
    margin-bottom: 0;
}
.buscador div p {
    margin-top: 0.5vw;
    margin-bottom: 3vw;
}
.ContenedorSerch {
    width: 100%;
    height: 15%;
    display: flex;
    align-items: center;
    position: relative;
}
.ContenedorSerch img {
    width: auto;
    height: 80%;
    position: absolute;
    left: 0;
    margin-left: 1%;
}
.ContenedorSerch input {
    width: 100%;
    height: 100%;
    padding-left: 15%;
    border: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.abecedario {
    width: 100%;
    height: 15%;
    margin-top: 3vw;
}
.abecedario ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 1.5vw 5%;
    width: 90%;
    background-color: #b0c321;
    border-top-left-radius: 30px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 30px;
}
.abecedario ul li {
    width: auto;
    font-size: 1.5vw;
    font-weight: 700;
}
.abecedario ul li:hover {
    color: #f5e915;
    cursor: pointer;
}

/* Tercera Sección */
.TS {
    width: 100%;
    height: 55vw;
    display: flex;
    margin-top: 10vw;
}
.txtTS {
    width: 55%;
    height: 100%;
    position: relative;
}
.txtTS h1 {
    font-size: 4.5vw;
    margin: 0;
    margin-left: 0%;
    width: 75%;
    padding: 2vw 0;
    padding-left: 15%;
    border-top-right-radius: 8vw;
    border-bottom-right-radius: 8vw;
    border: 0.4vw solid #fea11f;
}
.txtTS h3,
.txtTS p,
.txtTS ul {
    margin-left: 15%;
    width: 75%;
}
.txtTS p {
    font-size: 1.5vw;
}
.txtTS h3 {
    font-size: 3vw;
    margin-top: 4vw;
    font-weight: 300;
}
.txtTS ul {
    padding: 0 2.5%;
}
.txtTS ul li {
    font-size: 1.5vw;
}
.txtTS > img {
    position: absolute;
    width: 25%;
    bottom: 0;
    right: -8%;
}
.imgTS {
    width: 45%;
    height: 100%;
}
.imgTS img {
    width: auto;
    margin-top: 12.5%;
    height: 90%;
    float: right;
}

/* Cuarta Sección */
.CS {
    width: 100%;
    height: 60vw;
    position: relative;
    margin-top: 10vw;
}
.CS1 {
    width: 100%;
    height: 60vw;
    position: relative;
    margin-top: -10vw;
}
.Fondo {
    width: 100%;
    height: 55%;
    background-image: url(../img/Recurso14.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: start;
    justify-content: center;
}
.Fondo h2 {
    margin-top: 5vw;
    margin-right: 2vw;
    font-size: 4.5vw;
    color: white;
}
.FondoQS {
    width: 100%;
    height: 55%;
    background-image: url(../img/QS4.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: start;
    justify-content: center;
}
.FondoQS h2 {
    margin-top: 5vw;
    margin-right: 2vw;
    font-size: 4.5vw;
    color: white;
}
.FondoSM {
    width: 100%;
    height: 55%;
    background-image: url(../img/SM4.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: start;
    justify-content: center;
}
.FondoSM h2 {
    margin-top: 5vw;
    margin-right: 2vw;
    font-size: 4.5vw;
    color: white;
}
.FondoCU {
    width: 100%;
    height: 55%;
    background-image: url(../img/CU3.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: start;
    justify-content: center;
}
.FondoCU h2 {
    margin-top: 5vw;
    margin-right: 2vw;
    font-size: 4.5vw;
    color: white;
}
.tarjetasCS {
    position: absolute;
    width: 100%;
    height: 70%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-around;
    bottom: 0;
}
.tarjetasCS > div {
    height: 100%;
    width: 25%;
    position: relative;
}
#T1 {
    background-image: url(../img/Recurso17.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T2 {
    background-image: url(../img/Recurso16.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T3 {
    background-image: url(../img/CU10.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#T1 div,
#T2 div,
#T3 div {
    position: absolute;
    width: 80%;
    margin-left: 7%;
    margin-right: 10%;
    top: 5%;
    height: auto;
}
#T1 div h4,
#T2 div h4,
#T3 div h4 {
    font-size: 1.35vw;
    color: white;
    margin: 0;
    padding: 1vw;
}
#T1 div ol,
#T2 div ol,
#T3 div ol {
    margin-top: 0;
    padding: 0;
    padding-left: 12%;
    font-size: 1vw;
    margin-bottom: 2vw;
}
#T1 div ol li,
#T2 div ol li,
#T3 div ol li {
    color: white;
    font-weight: 100;
}
#T1 div span,
#T2 div span,
#T3 div span {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    font-weight: 100;
    margin-bottom: 0;
}
#T1 div p,
#T2 div p,
#T3 div p {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    margin-top: 1vw;
    font-weight: 400;
}

#T1S {
    background-image: url(../img/SM5.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T2S {
    background-image: url(../img/SM6.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T3S {
    background-image: url(../img/SM7.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#T1S div,
#T2S div,
#T3S div {
    position: absolute;
    width: 80%;
    margin-left: 7%;
    margin-right: 10%;
    top: 5%;
    height: auto;
}
#T1S div h4,
#T2S div h4,
#T3S div h4 {
    font-size: 1.35vw;
    color: white;
    margin: 0;
    padding: 1vw;
}
#T1S div ol,
#T2S div ol,
#T3S div ol {
    margin-top: 0;
    padding: 0;
    padding-left: 12%;
    font-size: 1vw;
    margin-bottom: 2vw;
}
#T1S div ol li,
#T2S div ol li,
#T3S div ol li {
    color: white;
    font-weight: 100;
}
#T1S div span,
#T2S div span,
#T3S div span {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    font-weight: 100;
    margin-bottom: 0;
}
#T1S div p,
#T2S div p,
#T3S div p {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    margin-top: 1vw;
    font-weight: 400;
}

#T1C {
    background-image: url(../img/CU4.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T2C {
    background-image: url(../img/CU7.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T3C {
    background-image: url(../img/CU8.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#T1C div,
#T2C div,
#T3C div {
    position: absolute;
    width: 80%;
    margin-left: 7%;
    margin-right: 10%;
    top: 1%;
    height: auto;
}
#T1C div h4,
#T2C div h4,
#T3C div h4 {
    font-size: 1.35vw;
    color: white;
    margin: 0;
    padding: 1vw;
}
#T1C div ol,
#T2C div ol,
#T3C div ol {
    margin-top: 0;
    padding: 0;
    padding-left: 12%;
    font-size: 1vw;
    margin-bottom: 2vw;
}
#T1C div ol li,
#T2C div ol li,
#T3C div ol li {
    color: white;
    font-weight: 100;
}
#T1C div span,
#T2C div span,
#T3C div span {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    font-weight: 100;
    margin-bottom: 0;
}
#T1C div p,
#T2C div p,
#T3C div p {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    margin-top: 1vw;
    font-weight: 400;
}

#T4C {
    background-image: url(../img/CU8.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T5C {
    background-image: url(../img/CU5.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T6C {
    background-image: url(../img/CU6.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#T4C div,
#T5C div,
#T6C div {
    position: absolute;
    width: 80%;
    margin-left: 7%;
    margin-right: 10%;
    top: 0%;
    height: auto;
}
#T4C div h4,
#T5C div h4,
#T6C div h4 {
    font-size: 1.35vw;
    color: white;
    margin: 0;
    padding: 1vw;
}
#T4C div ol,
#T5C div ol,
#T6C div ol {
    margin-top: 0;
    padding: 0;
    padding-left: 12%;
    font-size: 1vw;
    margin-bottom: 2vw;
}
#T4C div ol li,
#T5C div ol li,
#T6C div ol li {
    color: white;
    font-weight: 100;
}
#T4C div span,
#T5C div span,
#T6C div span {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    font-weight: 100;
    margin-bottom: 0;
}
#T4C div p,
#T5C div p,
#T6C div p {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    margin-top: 1vw;
    font-weight: 400;
}

#T7C {
    background-image: url(../img/CU6.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T8C {
    background-image: url(../img/CU9.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#T9C {
    background-image: url(../img/CU10.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

#T7C div,
#T8C div,
#T9C div {
    position: absolute;
    width: 80%;
    margin-left: 7%;
    margin-right: 10%;
    top: 0%;
    height: auto;
}
#T7C div h4,
#T8C div h4,
#T9C div h4 {
    font-size: 1.35vw;
    color: white;
    margin: 0;
    padding: 1vw;
}
#T7C div ol,
#T8C div ol,
#T9C div ol {
    margin-top: 0;
    padding: 0;
    padding-left: 12%;
    font-size: 1rem;
    margin-bottom: 2vw;
}
#T7C div ol li,
#T8C div ol li,
#T9C div ol li {
    color: white;
    font-weight: 100;
}
#T7C div span,
#T8C div span,
#T9C div span {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    font-weight: 100;
    margin-bottom: 0;
}
#T7C div p,
#T8C div p,
#T9C div p {
    font-size: 1.3vw;
    color: white;
    padding-left: 1vw;
    margin-top: 1vw;
    font-weight: 400;
}

/* Quinta Sección */
.QS {
    width: 100%;
    height: 50vw;
    margin-top: 8vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.QS > div {
    width: 50%;
    height: 100%;
}
.imgQS img {
    height: 100%;
    width: auto;
}
.txtQS div {
    width: 90%;
    height: 100%;
    margin-left: 5%;
}
.txtQS div h1 {
    margin-bottom: 0;
    font-size: 4.8vw;
    margin-top: 1vw;
    color: #6eaa25;
}
.txtQS div h3 {
    font-size: 2.7vw;
    font-weight: 100;
    margin-top: 0;
}
.txtQS div h4 {
    font-size: 2.2vw;
    font-weight: 100;
    margin-top: 0;
    margin-bottom: 0;
}
.txtQS div h5 {
    font-size: 1.8vw;
    font-weight: 700;
    margin-top: 1vw;
    margin-bottom: 0;
    color: #6eaa25;
}
.txtQS div p {
    font-size: 1.3vw;
    margin-top: 1vw;
}
.txtQS div p span {
    font-weight: 700;
    color: #6eaa25;
}

/* Footer */
footer {
    width: 100%;
    padding: 3vw 5%;
    background-color: #b0c321;
    height: 32vw;
}
.pie h1 {
    font-size: 4.5vw;
    color: white;
    text-align: center;
    margin-top: 0;
}
.containerCaja {
    display: flex;
    align-items: start;
    justify-content: space-between;
    height: 70%;
}
.Sucursales {
    width: 40%;
    display: flex;
    align-items: start;
    justify-content: space-around;
    column-gap: 5%;
    margin-top: 2vw;
}
.Sucursales > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.Sucursales div ul {
    padding-left: 1vw;
    margin-top: 0;
}
.Sucursales > div > img {
    width: 4vw;
    margin: auto;
}
.Sucursales div h5 {
    font-size: 1.2vw;
    margin: 1vw 0;
    color: white;
    width: 98%;
    margin-right: 2%;
    text-align: left;
}
.Sucursales div ul li {
    font-size: 1vw;
    margin-bottom: 1vw;
    color: white;
    font-weight: 100;
}
.Sucursales > div {
    width: auto;
}
.img-wrapper {
    position: relative; /* Contenedor de la última imagen */
    cursor: pointer;
}
.img-wrapper img {
    display: block;
}
/* Estilo del número de teléfono */
.phone {
    position: absolute;
    left: 0;
    top: 50%;

    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    transition: transform 0.5s ease;
    opacity: 0;
    font-size: 1.3vw;
    font-weight: 100;
}

/* Al pasar el cursor sobre la imagen, el número se desliza */
.img-wrapper:hover .phone {
    transform: translateX(30%) translateY(-50%);
    opacity: 1;
}
.redesS {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 3%;
}
.redesS div {
    width: 30%;
    height: auto;
    display: flex;
    align-items: center;
}
.redesS div img {
    width: 60%;
    height: auto;
    margin-top: 10%;
    margin-bottom: 10%;
}
.logo {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.logo img {
    width: 100%;
    height: auto;
    margin: auto;
}
.logo p {
    text-align: center;
    font-size: 0.9vw;
    color: white;
    font-weight: 100;
}
/* Estilos para la seccion abecedario estudios */
#contenido {
    width: 1024px;
    margin-left: 0px;
    margin-top: 100px;
}
#contenido .conte {
    width: 1024px;
    margin-left: 0px;
    background-color: #e4e4e4;
    margin-top: 0px;
}
#contenido .conte1 .abecedario {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    color: #ffffff;
    font-weight: bold;
    background-color: #6eab34;
    font-size: 20px;
    margin-left: 50px;
    height: 30px;
    padding-top: 7px;
    padding-left: 20px;
    width: 830px;
    margin-top: 0px;
    top: 0px;
}
#contenido .conte1 .abecedario a {
    text-decoration: none;
    color: #ffffff;
}
#contenido .conte1 .abecedario a:hover {
    color: #f7ef34;
    text-decoration: none;
}

#collapsible-panels {
    width: 850px;
    margin-left: 50px;
}

#collapsible-panels h2 {
    width: 850px;
    border-top: 10px solid #f9f9f9;
    background-repeat: no-repeat;
    background-position: left center;
    padding-top: 10px;
    padding-right: 0;
    padding-bottom: 10px;
    padding-left: 0;
    margin: 0;
}
#collapsible-panels .change {
    background-repeat: no-repeat;
    background-position: left center;
    width: 850px;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 0px;
    border-top-width: 30px;
    border-top-style: solid;
    border-top-color: #6eab34;
}

#collapsible-panels h2.active {
    background-repeat: no-repeat;
    background-position: left center;
}
#collapsible-panels h2 a {
    text-decoration: none;
    color: #666666;
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0px;
    margin-left: 35px;
    height: auto;
    display: block;
}
#collapsible-panels div {
    width: 850px;
}

#contenido h1 {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 26px;
    color: #3b3b3c;
    text-align: left;
    font-weight: bold;
    margin-left: 50px;
}
#contenido p {
    font-family: "Maven Pro", sans-serif;
    font-size: 18px;
    color: #666666;
    text-align: left;
    font-weight: lighter;
    margin-top: 0px;
    line-height: 24px;
    margin-right: 50px;
    margin-left: 50px;
}
#contenido span {
    font-family: Arial, Helvetica, sans-serif;
    color: #6eab34;
    font-size: 18px;
}

#contenido p a {
    color: #666666;
    font-weight: lighter;
    text-decoration: underline;
}
#contenido p a:hover {
    color: #666666;
    font-weight: bold;
    text-decoration: underline;
}

#contenido ul {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    color: #6eab25;
    line-height: 30px;
    font-size: 18px;
    font-weight: bold;
    margin-right: 50px;
    margin-left: 35px;
}
#contenido .info {
    width: 670px;
    padding-bottom: 40px;
}

#contenido .botonlab {
    width: 5vw;
    height: auto;
    margin: 1vw 5vw;
    padding: 0.5vw;
    color: #fff;
}

#contenido .boton {
    text-decoration: none;
    text-align: center;
    height: 26px;
    width: 150px;
    margin-top: 25px;
    padding-top: 4px;
    background-color: #6eab34;
    margin-bottom: 25px;
    margin-left: 50px;
}
#contenido .boton a {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    height: 30px;
    width: 100px;
}
#contenido .boton a:hover {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #2f3339;
    text-decoration: none;
    text-align: center;
    height: 30px;
    width: 100px;
}

#IrArriba {
    position: fixed;
    bottom: 30px; /* Distancia desde abajo */
    right: 30px; /* Distancia desde la derecha */
}

#IrArriba span {
    width: 60px; /* Ancho del botón */
    height: 60px; /* Alto del botón */
    display: block;
    background: url(../img/flechaArriba.jpg) no-repeat center center;
}

/* Tablet */
@media (max-width: 1024px) {
    nav {
        height: 80px;
        padding: 0 16px;
    }
    .menu ul {
        width: 72%;
        margin-left: 0;
        height: 68%;
    }
    .menu ul li a img {
        height: 75%;
    }
    .imgW {
        width: 56px;
        height: 56px;
        margin-right: 0;
    }

    header {
        margin-top: 80px;
        height: auto;
        min-height: 380px;
        align-items: center;
    }
    main {
        margin-top: 40px;
        margin-bottom: 80px;
    }

    .PS,
    .SS,
    .TS,
    .CS,
    .CS1,
    .QS {
        height: auto;
    }

    .PS {
        flex-direction: column;
        gap: 24px;
    }
    .PS div {
        width: 100%;
    }
    .textPS h1 {
        font-size: 3rem;
    }
    .textPS p {
        font-size: 1.2rem;
        width: 86%;
    }
    .textPS img {
        float: none;
        display: block;
        margin: 20px auto 0 auto;
        height: auto;
        width: 180px;
    }
    .imgPS img {
        width: 86%;
        margin-left: 7%;
        height: auto;
    }

    .SS {
        flex-direction: column;
        margin-top: 64px;
    }
    .FormContac,
    .buscador {
        width: 100%;
    }
    .FormContac {
        padding: 18px 0;
    }
    #FC h3 {
        font-size: 2rem;
    }
    #FC div label,
    .TipodeS div select,
    .TipodeS div select option,
    .FechaS div select,
    .DatosC > label input,
    .DatosC div select,
    .DatosC div select option,
    .DatosC div input,
    .TipoA input {
        font-size: 1rem;
    }
    .TipodeS div select,
    .FechaS div select,
    #FC button {
        height: 42px;
    }
    #FC button {
        width: 45%;
        border-radius: 10px;
        font-size: 1.1rem;
    }

    .buscador > div {
        width: 88%;
        margin: 6%;
        height: auto;
        padding-bottom: 36px;
    }
    .buscador div h1 {
        font-size: 3.2rem;
        margin-top: 0;
    }
    .buscador div h3 {
        font-size: 1.8rem;
    }
    .buscador div p,
    .abecedario ul li {
        font-size: 1rem;
    }
    .abecedario {
        height: auto;
    }
    .abecedario ul {
        padding: 18px 5%;
    }
    .ContenedorSerch {
        height: 52px;
    }

    .TS {
        flex-direction: column;
        margin-top: 80px;
        gap: 28px;
    }
    .txtTS,
    .imgTS {
        width: 100%;
    }
    .txtTS h1 {
        width: 82%;
        font-size: 3rem;
        padding-left: 8%;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
        border-width: 4px;
    }
    .txtTS h3 {
        font-size: 2rem;
        margin-top: 32px;
    }
    .txtTS p,
    .SS div p,
    .SS div ul,
    .txtTS ul li {
        font-size: 1.15rem;
    }
    .txtTS > img {
        width: 140px;
        right: 2%;
        bottom: -14px;
    }
    .imgTS img {
        width: 74%;
        height: auto;
        float: none;
        display: block;
        margin: 0 auto;
    }

    .CS {
        margin-top: 64px;
    }
    .CS1 {
        margin-top: 64px;
    }
    .Fondo {
        height: 260px;
    }
    .Fondo h2 {
        font-size: 3rem;
        margin-top: 42px;
    }
    .FondoQS {
        height: 260px;
    }
    .FondoQS h2 {
        font-size: 3rem;
        margin-top: 42px;
    }
    .FondoSM {
        height: 260px;
    }
    .FondoSM h2 {
        font-size: 3rem;
        margin-top: 42px;
    }
    .FondoCU {
        height: 260px;
    }
    .FondoCU h2 {
        font-size: 3rem;
        margin-top: 42px;
    }
    .tarjetasCS {
        position: static;
        margin-top: -36px;
        padding: 0 3%;
        height: auto;
        gap: 18px;
    }
    .tarjetasCS > div {
        width: 32%;
        min-height: 430px;
    }
    #T1 div h4,
    #T2 div h4,
    #T3 div h4 {
        font-size: 1rem;
    }
    #T1 div ol,
    #T3 div ol,
    #T1 div span,
    #T3 div span,
    #T1 div p,
    #T2 div p,
    #T3 div p {
        font-size: 0.95rem;
    }

    #T1S div h4,
    #T2S div h4,
    #T3S div h4 {
        font-size: 1rem;
    }
    #T1S div ol,
    #T2S div ol,
    #T3S div ol,
    #T1S div span,
    #T2S div span,
    #T3S div span,
    #T1S div p,
    #T2S div p,
    #T3S div p {
        font-size: 0.95rem;
    }

    #T1C div h4,
    #T2C div h4,
    #T3C div h4 {
        font-size: 1rem;
    }
    #T1C div ol,
    #T2C div ol,
    #T3C div ol,
    #T1C div span,
    #T2C div span,
    #T3C div span,
    #T1C div p,
    #T2C div p,
    #T3C div p {
        font-size: 0.95rem;
    }

    #T4C div h4,
    #T5C div h4,
    #T6C div h4 {
        font-size: 1rem;
    }
    #T4C div ol,
    #T5C div ol,
    #T6C div ol,
    #T4C div span,
    #T5C div span,
    #T6C div span,
    #T4C div p,
    #T5C div p,
    #T6C div p {
        font-size: 0.95rem;
    }

    #T7C div h4,
    #T8C div h4 {
        font-size: 1rem;
    }
    #T7C div ol,
    #T8C div ol,
    #T9C div ol,
    #T7C div span,
    #T8C div span,
    #T9C div span,
    #T7C div p,
    #T8C div p,
    #T9C div p {
        font-size: 0.95rem;
    }

    .QS {
        margin-top: 80px;
        flex-direction: column;
        gap: 24px;
    }
    .QS > div {
        width: 100%;
    }
    .imgQS img {
        width: 86%;
        height: auto;
        margin: 0 7%;
    }
    .txtQS div h1 {
        font-size: 3.2rem;
    }
    .txtQS div h3 {
        font-size: 2rem;
    }
    .txtQS div h4 {
        font-size: 1.6rem;
    }
    .txtQS div h5 {
        font-size: 1.3rem;
    }
    .txtQS div p {
        font-size: 1.05rem;
    }

    footer {
        width: 100%;
        padding: 40px 4%;
        height: auto;
    }
    .pie h1 {
        font-size: 3.3rem;
    }
    .containerCaja {
        flex-direction: column;
        gap: 24px;
        height: auto;
    }
    .Sucursales,
    .logo {
        width: 94%;
    }
    .Sucursales {
        column-gap: 2%;
    }
    .Sucursales > div > img {
        width: 52px;
    }
    .Sucursales div h5 {
        font-size: 1.05rem;
    }
    .Sucursales div ul li {
        font-size: 0.95rem;
    }
    .phone {
        font-size: 1rem;
    }
    .logo img {
        width: 320px;
        max-width: 90%;
    }
    .logo p {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        height: 70px;
        padding: 0 10px;
        justify-content: space-between;
    }
    .menu-toggle {
        display: inline-flex;
        order: 2;
    }
    .menu ul {
        position: absolute;
        left: 0;
        top: 70px;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 10px 0;
        background-color: #fea11f;
        box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition:
            max-height 0.3s ease,
            opacity 0.25s ease;
        scrollbar-width: none;
    }
    .menu ul::-webkit-scrollbar {
        display: none;
    }
    .menu.menu-open ul {
        max-height: calc(100vh - 70px);
        opacity: 1;
        overflow-y: auto;
        pointer-events: auto;
    }
    .menu ul li {
        width: 100%;
        min-width: 0;
        height: 48px;
        padding: 0;
    }
    .menu ul li a {
        justify-content: center;
    }
    .menu ul li a img {
        display: none;
    }
    .menu ul li a::after {
        content: attr(data-label);
        font-size: 1.15rem;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.02em;
        color: #3c3c3b;
        text-transform: uppercase;
    }
    .menu ul li a:hover::after {
        color: #ffffff;
    }
    .menu.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .menu.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .imgW {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        margin-right: 8px;
        order: 1;
    }

    header {
        margin-top: 70px;
        min-height: 0;
        padding: 20px 0;
        flex-direction: column-reverse;
        row-gap: 20px;
    }
    .encabezado div {
        width: 100%;
    }
    .img1E img,
    .img2E img {
        margin: 0;
        width: 82%;
        height: auto;
    }

    .textPS h1,
    .SS h3 {
        font-size: 2.2rem;
        width: 88%;
    }
    .textPS p,
    .textPS ul li,
    .SS div p,
    .tarjetasCS div p {
        font-size: 1.2rem;
        width: 88%;
    }

    #FC {
        padding-right: 4%;
    }
    .TipodeS,
    .DatosC div,
    .cheacks {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 12px;
    }
    .TipodeS div,
    .DatosC > label,
    .DatosC div,
    .DatosC div label,
    .cheacks label,
    .TipoA,
    .TipoA input {
        width: 100%;
    }
    .FechaS div {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .FechaS div label {
        width: 100%;
    }
    .FechaS div select {
        width: 100%;
    }
    #FC button {
        width: 100%;
    }

    .buscador div h1 {
        font-size: 2.2rem;
        -webkit-text-stroke: 0;
    }
    .buscador div h3 {
        font-size: 1.35rem;
    }
    .abecedario ul {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 6px;
        padding: 14px 4%;
    }
    .abecedario ul li {
        text-align: center;
    }

    .txtTS h1,
    .SS h1 {
        width: 88%;
        font-size: 2.2rem;
    }
    .txtTS h3 {
        font-size: 1.45rem;
    }
    .txtTS p,
    .txtTS ul li {
        font-size: 1rem;
    }
    .txtTS > img {
        width: 110px;
        bottom: -18px;
    }

    .Fondo {
        height: 170px;
    }
    .Fondo h2 {
        font-size: 2.2rem;
        margin-top: 24px;
    }
    .FondoQS {
        height: 170px;
    }
    .FondoQS h2 {
        font-size: 2.2rem;
        margin-top: 24px;
    }
    .FondoSM {
        height: 170px;
    }
    .FondoSM h2 {
        font-size: 2.2rem;
        margin-top: 24px;
    }
    .FondoCU {
        height: 170px;
    }
    .FondoCU h2 {
        font-size: 2.2rem;
        margin-top: 24px;
    }
    .tarjetasCS {
        margin-top: 18px;
        flex-direction: column;
        gap: 14px;
    }
    .tarjetasCS > div {
        width: 94%;
        min-height: 360px;
    }

    .txtQS div {
        width: 92%;
        margin-left: 4%;
    }
    .txtQS div h1 {
        font-size: 2.3rem;
    }
    .txtQS div h3 {
        font-size: 1.5rem;
    }
    .txtQS div h4 {
        font-size: 1.25rem;
    }
    .txtQS div h5 {
        font-size: 1.05rem;
    }

    .pie h1 {
        font-size: 2.4rem;
    }
    .Sucursales {
        flex-direction: column;
        row-gap: 16px;
    }
    .redesS {
        justify-content: flex-start;
        column-gap: 14px;
    }
    .redesS div {
        width: 20%;
    }
    .phone {
        position: static;
        transform: none;
        opacity: 1;
        display: inline-block;
        margin-left: 8px;
        padding: 0;
    }
    .img-wrapper:hover .phone {
        transform: none;
    }
}

@media (max-width: 480px) {
    .textPS h1,
    .buscador div h1,
    .txtTS h1,
    .SS h3,
    .txtQS div h1 {
        font-size: 1.9rem;
    }
    #FC h3,
    .txtTS h3,
    .txtQS div h3 {
        font-size: 1.3rem;
    }
    .tarjetasCS > div {
        min-height: 520px;
    }
    #T1 div h4,
    #T2 div h4,
    #T3 div h4,
    #T1 div ol,
    #T3 div ol,
    #T1 div span,
    #T3 div span,
    #T1 div p,
    #T2 div p,
    #T3 div p {
        font-size: 0.88rem;
    }

    #T1S div h4,
    #T2S div h4,
    #T3S div h4,
    #T1S div ol,
    #T3S div ol,
    #T1S div span,
    #T3S div span,
    #T1S div p,
    #T2S div p,
    #T3S div p {
        font-size: 0.88rem;
    }

    #T1C div h4,
    #T2C div h4,
    #T3C div h4,
    #T1C div ol,
    #T3C div ol,
    #T1C div span,
    #T3C div span,
    #T1C div p,
    #T2C div p,
    #T3C div p {
        font-size: 0.88rem;
    }

    #T4C div h4,
    #T5C div h4,
    #T6C div h4,
    #T4C div ol,
    #T6C div ol,
    #T4C div span,
    #T6C div span,
    #T4C div p,
    #T5C div p,
    #T6C div p {
        font-size: 0.88rem;
    }

    #T7C div h4,
    #T8C div h4,
    #T9C div h4,
    #T7C div ol,
    #T7C div span,
    #T7C div p,
    #T8C div p,
    #T9C div p {
        font-size: 0.88rem;
    }
}
