html, body{
    height: 100%;
}
body {
     background-color: #0d1117; 
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     margin: 0;
}
.traduccion{
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.traduccion img{
    width: 18px;
    height: auto;
    display: inline-block;
}

.idioma-icon{
    width: 20px;
    height: auto;
}

.idioma-arrow{
    width: 20px;
    height: 20px;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.idioma{
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    position: relative;
    background-color: #f0f0f0;
    z-index: 1001;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
.idioma:hover{
    background-color: #e4e4e4;
}

/* dropdown (cover both class names used in project) */
.idiomas,
.opciones{
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    overflow: hidden;
    min-width: 140px;
}

.idiomas li,
.opciones li{
    width: auto;
    list-style: none;
}

.idiomas li a,
.opciones li a{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    padding-left: 14px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    cursor: pointer;
}
.idiomas li a:hover,
.opciones li a:hover{
    background-color: #eee;
}
.idiomas li a:active,
.opciones li a:active{
    background-color: #ddd;
}

.idiomas li img,
.opciones li img{
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.toggle{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.container1 {
    background-color: #000000;
    position: relative;
    padding: 20px 0;
    margin-top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.Titulo1{
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    text-align: center;
    width: 100%;
}
.container1 img {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: auto;
}
.container-main {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    background-color: #0d1117;
    position: relative;
    flex: 1;
    margin-bottom: 50px;
}
.container-main p {
    color: #ddd;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    text-align: center;
    width: 100%;
    padding: 5% 10% 5%;
}
.tarjeta1 {
    position: relative;
    width: 25%;
    margin: 20px;
}
.tarjeta1 img {
    margin-top: auto;
    background-color: #f8f8f8;
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 8px 8px 3px 3px;
    box-shadow: #0072ff 0px 0px 10px, #00c6ff 0px 0px 20px;
}
.tarjeta1 article {
     background-color: rgba(109, 108, 108, 0.671);
    transition: max-height 0.3s ease;
    border-radius: 3px 3px 10px 10px;
    position: relative;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.tarjeta1-titulo, .tarjeta1-parrafo {
    width: 100%;
}
.tarjeta1:hover article {
    max-height: 500px;
}

.tarjeta2 {
    position: relative;
    width: 25%;
    margin: 20px;
}
.tarjeta2 img {
    background-color: #f8f8f8;
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 8px 8px 3px 3px;
    box-shadow:  #7700ff 0px 0px 20px, #e27a04ef 0px 0px 40px;
}
.tarjeta2 article {
     background-color: rgba(109, 108, 108, 0.671);
    transition: max-height 0.3s ease;
    border-radius: 3px 3px 10px 10px;
    position: relative;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.tarjeta2-titulo, .tarjeta2-parrafo {
    width: 100%;
}
.tarjeta2:hover article{
    max-height: 500px; 
}
.tarjeta1-boton {
    border-radius: 50px;
    color: #ddd;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    width: 150px;
    height: 50px;
    margin-bottom: 10%;
    border: none;
    margin-top: auto;
}
.tarjeta1-boton:hover{
    background-color: rgba(78, 78, 78, 0.966);
    box-shadow: #0072ff 0px 0px 10px, #00c6ff 0px 0px 20px;
}
.tarjeta1-boton2 {
    border-radius: 50px;
    color: #ddd;
    background: linear-gradient(90deg, #7700ff, #e27a04ef);
    box-shadow: 0 4px 15px rgba(226, 122, 4, 0.4);
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    width: 150px;
    height: 50px;
    margin-bottom: 10%;
    border: none;
    margin-top: auto;
}
.tarjeta1-boton2:hover {
    background-color: rgba(78, 78, 78, 0.966);
    box-shadow: #7700ff 0px 0px 20px, #e27a04ef 0px 0px 40px;
}
.tarjeta2-boton{
    border-radius: 50px;
    color: #ddd;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    width: 150px;
    height: 50px;
    margin-bottom: 10%;
    border: none;
    margin-top: auto;
}
.tarjeta2-boton:hover{
    background-color: rgba(78, 78, 78, 0.966);
    box-shadow: #0072ff 0px 0px 10px, #00c6ff 0px 0px 20px;
}
.tarjeta2-boton2 {
    border-radius: 50px;
    color: #ddd;
    background: linear-gradient(90deg, #7700ff, #e27a04ef);
    box-shadow: 0 4px 15px rgba(226, 122, 4, 0.4);
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    width: 150px;
    height: 50px;
    margin-bottom: 10%;
    border: none;
    margin-top: auto;
}
.tarjeta2-boton2:hover {
    background-color: rgba(78, 78, 78, 0.966);
    box-shadow: #7700ff 0px 0px 20px, #e27a04ef 0px 0px 40px;
}
.tarjeta1 h2{
    color: #ddd;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
}
.tarjeta1 p {
    color: #ddd;
    text-align: center;
    padding: 1%;
    font-family: 'Times New Roman', Times, serif;
}
.tarjeta2 h2{
    color: #ddd;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
}
.tarjeta2 p{
    color: #ddd;
    text-align: center;
    padding: 1%;
    font-family: 'Times New Roman', Times, serif;
}

svg {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3 ease;
    filter: drop-shadow(0 0 10px #25d36699);
    z-index: 900;
}
svg:hover{
    transform: translateY(8px);
}

.btn-wa {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 900;
}

.btn-wa svg{
    position: relative;
    width: 50px;
    height: 50px;
    z-index: 900;
    background: rgba(3, 3, 3, 0.616);
    padding: 10px;
    border-radius: 50%;
    animation: latido-neon 3s infinite;
    align-self: end;
}
.btn-wa svg:hover {
    transform: translateY(8px);
    background: rgba(3, 3, 3, 0.8);
}

.btn-wa h1{
    color: #ddd;
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    position: relative;
    font-size: 20px;
}





@keyframes latido-neon {
    0% {
        filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.6));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(37, 211, 102, 1));
        transform: scale(1.05); 
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.6));
        transform: scale(1);
    }
}

footer{
    background-color: #020202;
    width: 100%;
    left: 0;
    right: 0;
    display: block;
    margin-top: auto;
    color: aliceblue;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
}
p{
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    text-align: center;
}
footer a {
    text-decoration: none;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
}

/* RESPONSIVE DESIGN */

/* Tablets - 768px y menores */
@media (max-width: 768px) {
    .container1 {
        min-height: 100px;
        padding: 15px 0;
    }
    
    .container1 img {
        width: 60px;
    }
    
    .Titulo1 {
        font-size: 24px;
    }
    
    .container-main p {
        padding: 5% 5% 5%;
        font-size: 16px;
    }
    
    .tarjeta1, .tarjeta2 {
        width: 45%;
        margin: 15px;
    }
    
    .tarjeta1-boton, .tarjeta1-boton2, .tarjeta2-boton, .tarjeta2-boton2 {
        width: 130px;
        height: 45px;
        font-size: 14px;
    }
    
    .tarjeta1:hover article, .tarjeta2:hover article {
        max-height: 600px;
    }
    
    .btn-wa {
        bottom: 10px;
        right: 10px;
        gap: 10px;
        padding: 15px;
    }
    
    .btn-wa h1 {
        font-size: 16px;
    }
    
    .btn-wa svg {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    footer {
        font-size: 16px;
    }
    
    footer a, p {
        font-size: 16px;
    }
}

/* Móviles medianos - 600px y menores */
@media (max-width: 600px) {
    .container1 {
        min-height: 80px;
        padding: 10px 0;
    }
    
    .container1 img {
        width: 50px;
        left: 8px;
    }
    
    .Titulo1 {
        font-size: 20px;
    }
    
    .container-main {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .container-main p {
        padding: 3% 5% 3%;
        font-size: 14px;
    }
    
    .tarjeta1, .tarjeta2 {
        width: 90%;
        margin: 10px auto;
    }
    
    .tarjeta1 article, .tarjeta2 article {
        padding: 0 8px;
        gap: 10px;
    }
    
    .tarjeta1-titulo, .tarjeta1-parrafo, .tarjeta2-titulo, .tarjeta2-parrafo {
        font-size: 14px;
    }
    
    .tarjeta1-boton, .tarjeta1-boton2, .tarjeta2-boton, .tarjeta2-boton2 {
        width: 120px;
        height: 40px;
        font-size: 12px;
        margin-bottom: 5%;
    }
    
    .tarjeta1:hover article, .tarjeta2:hover article {
        max-height: 700px;
    }
    
    .btn-wa {
        bottom: 8px;
        right: 8px;
        gap: 8px;
        padding: 12px;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .btn-wa h1 {
        font-size: 14px;
    }
    
    .btn-wa svg {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    
    footer {
        font-size: 14px;
        padding-top: 20px;
    }
    
    footer a, p {
        font-size: 14px;
    }
}

/* Móviles pequeños - 480px y menores */
@media (max-width: 480px) {
    html, body {
        height: auto;
    }
    
    .container1 {
        min-height: 70px;
        padding: 8px 0;
    }
    
    .container1 img {
        width: 45px;
        left: 6px;
    }
    
    .Titulo1 {
        font-size: 18px;
    }
    
    .container-main {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .container-main p {
        padding: 2% 4% 2%;
        font-size: 12px;
    }
    
    .tarjeta1, .tarjeta2 {
        width: 95%;
        margin: 8px auto;
    }
    
    .tarjeta1 img, .tarjeta2 img {
        border-radius: 6px 6px 2px 2px;
    }
    
    .tarjeta1 article, .tarjeta2 article {
        padding: 0 6px;
        gap: 8px;
        border-radius: 2px 2px 8px 8px;
    }
    
    .tarjeta1-titulo, .tarjeta1-parrafo, .tarjeta2-titulo, .tarjeta2-parrafo {
        font-size: 12px;
    }
    
    .tarjeta1-boton, .tarjeta1-boton2, .tarjeta2-boton, .tarjeta2-boton2 {
        width: 100px;
        height: 35px;
        font-size: 11px;
        margin-bottom: 3%;
    }
    
    .tarjeta1:hover article, .tarjeta2:hover article {
        max-height: 650px;
    }
    
    .btn-wa {
        bottom: 5px;
        right: 5px;
        gap: 5px;
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-wa h1 {
        font-size: 12px;
        text-align: center;
    }
    
    .btn-wa svg {
        width: 30px;
        height: 30px;
        padding: 5px;
    }
    
    footer {
        font-size: 12px;
        padding-top: 15px;
    }
    
    footer a, p {
        font-size: 12px;
    }
    
    p {
        font-size: 12px;
    }
}