/*
Theme Name: Huventica Landing 2026
Author: @hablachecho
Author URI: https://graficovisual.com
Description: Tema Wordpress personalizado para Huventica.
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
    scroll-behavior: smooth;
}

/* Estilos globales */
body {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Poppins", sans-serif;
    line-height: 1.3;
}

#contenedor {
    width: 100%;
    min-height: 100vh;
    background: white;
}

/* Navegación */
#nav {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 96px;
    padding: 0 32px;
    background: white;
    box-shadow: 0 5px 8px #00000021;
    z-index: 1000;
}

#logo {
    align-content: center;
    max-height: 64px;
}

#logo img {
    max-height: 48px;
    width: auto;
}

#menu ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 21px;
    align-content: center;
    margin: 0;
    padding: 0;
}

#menu ul li {
    cursor: pointer;
}

#menu ul li a {
    text-decoration: none;
    font-weight: 500;
}

#menu ul li a,
#menu ul li a:link,
#menu ul li a:visited,
#menu ul li a:active {
    color: #3d1063;
}

#menu ul li a:hover {
    font-weight: 700;
}

/* Footer */
#footer {
    /* Estilos generales del footer */
}

.widget p a {
    color: white !important;
    text-decoration: none !important;
    cursor: pointer;
    font-size: 1.3rem;
}

#contacto {
    display: flex;
    position: relative;
    margin: 1rem 8rem;
    border-radius: 2rem;
    background: transparent linear-gradient(180deg, #3d1063 0%, #682c9d 100%) 0% 0% no-repeat padding-box;
    z-index: 10;
}

#contacto > div:first-child {
    flex: 0 1 50%;
    padding: 2rem 0 2rem 2rem;
}

#contacto > div:first-child a {
    display: block;
    padding: 2rem 3rem 1rem;
}

#contacto > div:first-child h2 {
    color: white;
    padding: 1rem 3rem 2rem;
    margin: auto;
    font-size: 16pt;
    line-height: 20pt;
}

#contacto > div:last-child {
    flex: 0 1 50%;
    padding: 2rem 5rem 2rem 0;
    align-content: center;
}

#contacto .footer-menu-container {
    display: flex;
    text-align: right;
    padding: 1rem 0;
    flex-direction: column;
}

#contacto .footer-menu-container ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 21px;
    align-content: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

#contacto .footer-menu-container:last-child ul {
    gap: 0.5rem;
}

#creditos {
    text-align: center;
}

#creditos p {
    font-size: 10pt;
    font-weight: 400;
    color: #d5d0d9;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos para las secciones del front-page */
.hero-section {
    display: flex;
    min-height: 480px;
    background-size: cover;
    background-position: 50% 50%;
    align-content: center;
}

.hero-content {
    width: 40%;
    align-content: center;
    padding: 4rem 2rem 4rem 8rem;
    color: white;
}

.cta a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    background: #c31977 0% 0% no-repeat padding-box;
    border-radius: 48px;
}
.color-violeta {
    color: #3d1063;
}

.cifra {
    flex-basis: 25%;
    font-size: 0.85rem;
    color: var(--violeta);
}
.cifra strong {
    display: block;
    font-size: 6rem;
    font-weight: 100;
    letter-spacing: -0.5rem;
    color: var(--gris);
}

.section-padding {
    padding: 4rem 8rem;
}

.section-padding-sm {
    padding: 3rem 8rem 1rem;
}

.section-padding-bottom {
    padding: 0 8rem 3rem;
}

.text-center {
    text-align: center;
}

.bg-primary-gradient {
    background: transparent linear-gradient(180deg, #3d1063 0%, #682c9d 100%) 0% 0% no-repeat padding-box;
}

/* Servicios cards */
.servicios-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.servicio-card {
    flex: 1 1 300px;
    min-height: 240px;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 13px #00000055;
}

.servicio-header {
    height: 240px;
    background-size: cover;
    background-position: 50% 50%;
    border-radius: 0 0 32px 32px;
    position: relative;
}

.servicio-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    border-radius: 0 0 32px 32px;
}

.servicio-content {
    padding: 0 2rem;
    flex-grow: 1;
}

.servicio-content h3 {
    color: #3d1063;
    margin-top: 1rem;
}

.servicio-content ul {
    font-size: 0.8rem;
    padding-left: 1.2rem;
}

.servicio-content li {
    margin-bottom: 0.3rem;
}

.btn-servicio {
    color: white;
    text-decoration: none;
    margin: auto;
    display: block;
    padding-bottom: 1.5rem;
}

.btn-servicio span {
    display: inline-block;
    padding: 12px 24px;
    background: #c31977;
    border-radius: 48px;
}

/* Nos destacamos */
.destacados-wrapper {
    min-height: 128px;
    background: gray;
    border-radius: 32px;
    padding: 2rem;
    display: flex;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.destacados-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    border-radius: 32px;
}

.destacados-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Proyectos destacados */
.proyectos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.proyecto-card {
    flex: 1 0 30%;
    box-sizing: border-box;
    min-height: 320px;
    background-size: cover;
    background-position: 50% 50%;
    align-content: flex-end;
    border-radius: 32px;
    position: relative;
}

.proyecto-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(61, 16, 99, 0), rgba(61, 16, 99, 0.9));
    border-radius: 32px;
}

.proyecto-card h4 {
    margin: 1rem auto;
    width: 60%;
    color: white;
    line-height: 1.1;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.proyecto-card a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-left: 1rem;
}

/* Empresas destacadas */
.empresas-section {
    display: flex;
    position: relative;
    top: -16rem;
    padding: 2rem 4rem;
    padding-top: 14rem;
    margin-bottom: -16rem;
    gap: 16px;
    justify-content: space-around;
    background: #d5d0d9;
    z-index: 3;
}

/* FAQ */
.faq-section {
    padding: 4rem 8rem;
    background-color: #f9f9f9;
}

.post-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
}
.post-header h1 {
    font-size: 3rem;
    margin: 0;
    max-width: 800px;
}
.post-content {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Media queries para responsive */
@media (max-width: 768px) {
    .hero-content {
        width: 80%;
        padding: 2rem;
    }
    .section-padding,
    .section-padding-sm,
    .section-padding-bottom,
    .faq-section,
    .empresas-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .proyecto-card {
        flex: 1 0 100%;
    }
    .servicio-card {
        flex: 1 0 100%;
    }
    .empresas-section {
        top: 0;
        padding-top: 2rem;
        margin-bottom: 0;
        flex-direction: column;
    }
    #contacto {
        margin: 1rem;
        flex-direction: column;
    }
    #nav {
        flex-direction: column;
    }
    #menu,
    #logo {
        margin: 1rem 0;
    }
    #contacto > div:first-child,
    #contacto > div:last-child {
        padding: 1rem;
        text-align: center;
    }
    #contacto .footer-menu-container {
        text-align: center;
    }
}

.borde-redondeado {
    border-radius: 1rem;
}