/* Reset CSS */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
/* Estilos generales */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
}
.contenedor {
    width: 70%;
    margin: 0 auto;
}
/* Estilos navegación */
header {
    background-color: #33295a;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9em 0;
}
.logo {
    text-decoration: none;
}
.logo img {
    height: 2rem;
    width: auto;
    display: block;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5em;
}
.nav-links a {
    text-decoration: none;
    color: #824fc0;
    font-size: 0.9rem;
}
/* Estilos Hero */
.hero {
    background: linear-gradient(180deg, #6c5ce7, #ffce9c);
    color: #4ee6a3;
    text-align: center;
    padding: 4rem 0 5rem;
}
.hero-contenido h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.6rem;
}
.hero-contenido p {
    color: #9ab0bf;
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
}
.hero-contenido img {
    max-width: 50%;
    display: block;
    margin: 0 auto;
}
/* Estilos About Us */
.about {
    background-color: #43307d;
    padding: 4rem 0;
}
.about-contenido {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
.about-contenido h2 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #ff7cb5;
    margin-bottom: 1rem;
}
.about-texto {
    color: #d1a2b5;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.about-texto:last-of-type {
    margin-bottom: 0;
}
.about-img {
    max-width: 40%;
    display: block;
    margin: 0 auto 2rem;
}
/* Estilos Our Team */
.team {
    background-color: #ffce9c;
    padding: 4rem 0;
}
.team .about-contenido h2 {
    color: #0ca678;
}
.team .about-texto {
    color: #ac6f59;
}
.galeria-x4 {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.galeria-x4 figure {
    width: calc(25% - 1.25rem);
    text-align: center;
    display: flex;
    flex-direction: column;
}
.galeria-x4 figure figcaption {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.galeria-x4 figure img:not(.icono-mensaje) {
    width: 80%;
    margin: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #824fc0;
}
.galeria-x4 figure h3 {
    margin: 0.6rem 0 0.4rem;
    color: #0e9875;
    font-size: 1rem;
}
.galeria-x4 figure p {
    font-size: 0.85rem;
    color: #ac6f59;
    line-height: 1.7;
    flex-grow: 1;
}
.icono-mensaje-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #33295a;
    width: 4rem;
    height: 2rem;
    border-radius: 4px;
    margin-top: 0.8rem;
    align-self: center;
}
.icono-mensaje {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    display: block;
}
/* Estilos Portfolio */
.portfolio {
    background: linear-gradient(180deg, #33295a, #ff7cb5);
    padding: 4rem 0;
}
.galeria-x3 {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.portfolio-item {
    width: calc(33.333% - 1rem);
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 20px;
}
.portfolio-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0ca69ee2;
    padding: 0.6rem 0.8rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.portfolio-item figcaption h3 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: #ffffff;
}
.portfolio-item figcaption p {
    font-size: 0.8rem;
    color: #ffffff;
}
.portfolio-enlace {
    background-color: #0ca69ee2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 20px;
}
.portfolio-enlace img:not(.icono-enlace) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.portfolio-enlace .icono-enlace {
    position: absolute;
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    opacity: 1;
}
/* Estilos Filtros */
.filtros-portfolio {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem auto;
    flex-wrap: wrap;
}
.filtro {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-decoration: none;
    color: #bf3c7b;
    font-size: 0.85rem;
}
/* Estilos Formulario */
.formulario {
    background-color: #6c5ce7;
    padding: 4rem 0;
}
.formulario .about-contenido h2 {
    color: #4ee6a3;
}
.formulario .about-contenido p {
    color: #dc90b5;
    line-height: 1.7;
    max-width: 60%;
    margin: 0 auto;
}
form {
    width: 50%;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
form input, 
form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 3px solid #3c3cbf;
    border-radius: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    color: #000000;
    background-color: #ffce9c;
    display: block;
}
form textarea {
    min-height: 8rem;
    resize: none;
}
form label {
    display: none;
}
form button {
    font-size: 0.9rem;
    align-self: center;
    padding: 0.7rem 3rem;
    background-color: #43307d;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    margin-top: 2rem;
    cursor: pointer;
}
/* Estilos Footer */
footer {
    background-color: #33295a;
    text-align: center;
    padding: 2rem 0;
}
.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}
.footer-links a {
    text-decoration: none;
    color: #d1a2b5;
    font-size: 0.9rem;
}
.footer-slogan {
    font-size: 11px;
    color: #824fc0;
    font-size: 0.7rem;
}
.footer-links li::before {
    content: ":";
    margin-right: 1.5rem;
    color: #824fc0;
}
.footer-links li:first-child::before {
    content: none;
}
/* Media Queries */
/* Tablet: 768 a 991 */
@media screen and (max-width: 991px) {
    .galeria-x4 figure {
        width: calc(50% - 1.25rem);
    }
    .portfolio-item {
        width: calc(50% - 1rem);
    }
    .hero-contenido img {
        max-width: 70%;
    }
    .about-img {
        max-width: 60%;
    }
    .about-texto {
        max-width: 80%;
    }
    .icono-mensaje-wrap {
        width: 3.5rem;
        height: 2.3rem;
    }
    .icono-mensaje {
        width: 1.15rem;
        height: 1.15rem;
    }
    form {
        width: 70%;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
    .footer-links {
        gap: 1rem;
    }
}
/* Mobile: 0 a 767 */
@media screen and (max-width: 767px) {
    .galeria-x4 figure {
        width: 100%;
    }
    .portfolio-item {
        width: 100%;
    }
    .hero-contenido img {
        max-width: 90%;
    }
    .about-img {
        max-width: 80%;
    }
    .about-texto {
        max-width: 95%;
    }
    .icono-mensaje-wrap {
        width: 4rem;
        height: 2.6rem;
    }
    .icono-mensaje {
        width: 1.3rem;
        height: 1.3rem;
    }
    form {
        width: 90%;
    }
    .nav-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0;
    }
    .nav-links {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0 1rem;
        justify-content: center;
    }
    .footer-links a {
        font-size: 0.8rem;
    }
    .footer-links li::before {
        margin-right: 0.5rem;
    }
}