* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
}

.contenedor {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #000000;
    border-bottom: 1px solid #222222;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.menu > ul {
    display: flex;
    list-style: none;
    gap: 20px;
    white-space: nowrap;
}

.menu ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.menu ul li a:hover,
.menu ul li:active {
    color: #28a745;
}

.menu > ul > li {
    position: relative;
}

.menu ul li ul {
    display: none;            
    position: absolute;       
    top: 100%;
    left: 0;
    background-color: #000000;
    border: 1px solid #222222;
    list-style: none;
    padding: 8px 0;
    min-width: 170px;
    z-index: 1000;
}

.menu ul li ul li a {
    display: block;
    padding: 8px 16px;
    color: #ffffff;
    white-space: nowrap;
}

.menu ul li:hover > ul {
    display: block;
}

/* BODY */
.body {
    display: flex;
    gap: 25px;
    padding: 30px 0;
    align-items: stretch;
}

.titulo-proyectos {
    flex: 3;
}

.titulo-proyectos h2 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.parrafo-proyectos {
    font-size: 13.5px;
    color: #999999;
    line-height: 1.5;
    margin-bottom: 25px;
}

.contenedor-tarjetas {
    display: flex;
    gap: 20px;
    text-align: center;
}

.contenedor-tarjetas li {
    list-style: none;
}

.tarjeta {
    flex: 1;
    background-color: #161616;
    border: 1px solid #282828;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column; 
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.tarjeta:hover {
    transform: translateY(-4px);
    border-color: #383838;
}

.contenedor-aside:hover {
    transform: translateY(-4px);
    border-color: #383838;
}

.tarjeta img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
} 

.tarjeta ul {
    list-style: square;
    margin: 4px 0 15px 18px;
    font-size: 11.5px;
    color: #808080;
    line-height: 1.6;
}

/*ASIDE*/

.contenedor-aside {
    flex: 1;
    background-color: #161616;
    border: 1px solid #282828;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    
}

.bloque-aside:last-child {
    margin-top: 0;
    padding-top: 0;
}

.bloque-aside iframe {
    width: 100%;
    height: 180px; 
    border: none;
    border-radius: 8px;
    display: block;
    margin-top: 8px;
}

.tarjeta h3,
.bloque-aside h3 {
    color: #28a745;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.tarjeta p,
.bloque-aside p {
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.45;
    margin-bottom: 10px;
}

.valores-lista {
    list-style: none;
    font-size: 12.5px;
    color: #b0b0b0;
    line-height: 1.6;
}

.boton-wrap {
    margin-top: auto; 
    padding-top: 10px;
    text-align: center;
}

.boton-tarjeta {
    display: block;
    width: 100%;
    background-color: #28a745;
    color: #ffffff;
    padding: 9px 0;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
}

.boton-tarjeta:hover {
    background-color: #218838;
}

/* MULTIMEDIA */

.Multimedia {
    background-color: #161616;
    display: flex;
    padding: 70px 70px;
    justify-content:space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 200px;
}

.imagen-multimedia img{
    width: 100%;
    height: auto;
}

.video-multimedia iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.imagen-multimedia, .video-multimedia{
    flex: 1;
}

.imagen-multimedia:hover {
    transform: scale(1.05); 
}

.video-multimedia:hover {
    transform: scale(1.05);
}

/* FOOTER */

.footer {
    background-color: #0a0a0a;
    border-top: 1px solid #222222;
    padding: 30px 20px;
    text-align: center;
    color: #777777;
    font-size: 13px;
}

.footer p {
    margin-bottom: 6px;
}

.footer a {
    color: #28a745;
    text-decoration: none;
}

.redes-sociales {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.redes-sociales a {
    color: #cccccc;
    font-size: 13px;
}

.redes-sociales a:hover {
    color: #28a745;
}

/*CONTACTO*/

.contacto-seccion {
    display: flex;
    gap: 40px;
    padding: 40px 20px;
    align-items: center;
    text-align: center;
}

.contacto-info {
    flex: 1;
}

.contacto-info h2 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 12px;
}

.contacto-info p {
    font-size: 13.5px;
    color: #999999;
    line-height: 1.5;
    margin-bottom: 25px;
}

.info-detalles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item h4 {
    color: #28a745;
    font-size: 14px;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 0;
}

.contacto-formulario {
    flex: 1.2;
    background-color: #161616;
    border: 1px solid #282828;
    border-radius: 12px;
    padding: 25px;
}

.campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.campo label {
    font-size: 12px;
    font-weight: 600;
    color: #cccccc;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.campo input,
.campo select,
.campo textarea {
    background-color: #0d0d0d;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 10px 12px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
    resize: none;
}

.boton-enviar {
    width: 100%;
    background-color: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.boton-enviar:hover {
    background-color: #218838;
}

