@charset "utf-8";

/*
Theme Name: WETwize Theme
Version: 1.0
Author: Rogelio Estrella
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: #000000;
}
h1, h2, h3, h4{
    font-weight: 700;
    font-style: italic;
}
.headertop{
    background-color: #34331e;
    height: 650px;
    width: 100%;
    display: block;
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.home .headertop{
    height: 800px;
    background-position: center top;
}
.headertop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); /* Negro al 35% de opacidad */
    z-index: 1; /* Encima del fondo */
}
.headertop::after {
    background-size: 100% 94px;
    content: '';
    width: 100%;
    height: 94px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-image: url(images/curva-header.png);
    background-repeat: no-repeat;
    background-position: center bottom;
}
.cabecera-sitio{
    height: auto;
    width: 100%;
    display: block;
    top: 0;
    left: 0;
    z-index: 10;
}
.marca-sitio{
    display: inline-table;
    width: 280px;
    margin: 50px 10px 10px 40px;
    z-index: 5;
    position: relative;
}
.marca-sitio h1{}
.custom-logo-link img{
    filter: brightness(10);
    width: 100%;
    height: auto;
}
.descripcion-sitio{
    color: rgba(0, 0, 0, 0);
    font-size: 2px;
    position: fixed;
    top: -100px;
    left: -1000px;
}
.site-footer{
    background-image: linear-gradient(to left top, #5c6f97, #52648a, #495a7e, #3f5072, #364666);
    color: #ffffff;
    display: block;
    min-height: 360px;
    position: relative;
    margin-top: 150px;
    box-sizing: border-box;
    padding: 180px 20px 30px 20px;
}
.site-footer::after {
    content: '';
    width: 100%;
    height: 94px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-image: url(images/curva-header-footer.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 94px;
}
.bloqueshome .wp-block-media-text__media{
    border-radius: 30px;
    overflow: hidden;
}
.bloqueshome{
    color: #767676;
}
.bloqueshome h2{
    color: #343434;
    font-size: 33px;
    line-height: 110%;
}
.bloqueshome h3{
    color: #85aab3;
    font-size: 20px;
    line-height: normal;
}
.wrap-principal{}
.posts-grid{}
.thumbnail-list{}


/* ==== MENÚ PRINCIPAL (solo desktop) ==== */
.primary-menu {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    display: inline-table;
    float: right;
    margin: 81px 30px 10px 10px;
    font-weight: 700;
    font-style: italic;
    position: relative;
    z-index: 9999; /* Muy alto */
}

.primary-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* permite salto si no cabe */
    position: relative;
    z-index: 9999;
}

.primary-menu-list > li {
    position: relative; /* para submenús */
}

/* Enlaces principales */
.primary-menu-list > li > a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease-in;
    font-size: 19px;
    letter-spacing: 1px;
    position: relative;
}

.primary-menu-list > li > a:hover,
.primary-menu-list > li:hover > a {
    color: #f0f0f0;
}
.primary-menu-list > li > a::before{
    content: "";
    background-image: url(images/iconmenu.png);
    background-size: contain;
    width: 25px;
    height: 30px;
    display: block;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%) scale(0) rotate(75deg);
    z-index: 2;
    filter: brightness(10);
    transition: all 0.2s ease-in;
}
.primary-menu-list > li:hover > a::before{
    transform: translateX(-50%) scale(1) rotate(0deg);
    top: -20px;
}
.primary-menu-list > .current-menu-parent > a::before,
.primary-menu-list > .current-menu-item > a::before{
    transform: translateX(-50%) scale(1) rotate(0deg);
    top: -20px;
    filter: brightness(1);
}
.primary-menu-list > li ul li:hover > a::before{
    display: none;
}
/* Ítem actual y ancestros */
.primary-menu-list .current-menu-item > a,
.primary-menu-list .current-menu-ancestor > a {
    color: #bdba6f;
}

/* ==== SUBMENÚS (niveles 2 y 3) ==== */
.primary-menu-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    border-radius: 10px;
    z-index: 10000;
}

/* Mostrar al hover en el li padre (mantiene estilo en padre) */
.primary-menu-list li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu-list ul a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.primary-menu-list ul a:hover {
    color: #72abb5;
}

/* Tercer nivel (a la derecha) */
.primary-menu-list ul ul {
    top: 0;
    left: 100%;
}

/* Ítems actuales en submenús */
.primary-menu-list .current-menu-item > a,
.primary-menu-list .current-menu-parent > a,
.primary-menu-list .current-menu-ancestor > a {

}
.logomovil{
    margin-left: 20px !important;
    margin-top: -50px !important;
    margin-bottom: 50px !important;
}
.taptap-by-bonfire ul li a{
    font-weight: 700;
    font-style: italic;
}
.taptap-by-bonfire .sub-menu a{
    font-weight: 400;
    font-style:normal;
}
.taptap-widgets-wrapper .wp-block-social-links{
    margin-left: 20px !important;
}
h1.entry-title{
    position: fixed;
    top: -300px;
    left: -150%;
}
.contepages{
    position: relative;
    z-index: 8;
    display: block;
    margin-top: 100px;
}
.herohome{
    max-width: 700px;
    margin: 0px 20px 0px 50px;
    color: #ffffff;
}
.herohome h1, .herohome h2{
    font-size: 50px;
    font-style: italic;
    line-height: 55px;
}
.herohome p{
    font-size: 16px;
    line-height: 24px;
}
.botonhero{
    gap: 30px;
}
.botonhero .wp-block-button__link{
    background-color: #ffffff;
    color: #272a2d;
    padding: 20px 40px;
    transition: all 0.2s ease-in;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(82, 112, 154, 0.25);
}
.botonhero .wp-block-button__link:hover{
    color: #ffffff;
    background-color: #52709a;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 4px 10px rgba(82, 112, 154, 0.8);
}
.botonserv .wp-block-button__link{
    background-color: #8cab2e;
    color: #ffffff;
    padding: 20px 40px;
    transition: all 0.2s ease-in;
    font-weight: 700;
    font-style: italic;
}
.botonserv .wp-block-button__link:hover{
    color: #ffffff;
    background-color: #52709a;
}
.footer-widgets{
    display: grid;
    grid-template-columns: auto auto auto 550px;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    max-width: 1500px;
    margin: auto;
    align-items:end;
}
.wp-block-social-links{
    margin: 0px;
}
.footer-widgets .wp-block-image{
    margin: 0px;
}
.fwrapie {
    max-width: 550px;
    margin: 0;
}
.textopie{
    line-height: 150%;
    font-size: 20px;
}
.textopie{
    margin-bottom: 0px !important;
}
.tfpie{
    color: #86a8ee;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 10px;
    margin-left: 10px;
}
.fwrapie p {
    margin: 0px !important;
    display: flex;
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.wpcf7-form-control-wrap {
    flex: 1;
    display: flex;
}

.formufieldpie {
    width: 100%;
    padding: 18px 180px 18px 25px; /* Espacio a la derecha para el botón */
    border: none;
    background-color: transparent;
    color: #333333;
    font-size: 16px;
    outline: none;
}

.formufieldpie::placeholder {
    color: #999999;
    font-style: italic;
}

.formufieldpie:focus {
    outline: none;
}

.sendpie {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 18px 40px;
    border: none;
    border-radius: 0 8px 8px 0;
    background-color: #8fb428;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sendpie:hover {
    background-color: #7a9922;
}

.wpcf7-spinner {
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    margin: 0;
}
.wrapcontenido{
    max-width: 1120px;
    margin: auto;
    display: block;
    box-sizing: border-box;
    padding: 0px 30px;
    line-height: 160%;
}
.wrapcontenido h1, .wrapcontenido h2, .wrapcontenido h3{
    line-height: normal;
}
.gridservicios{
    gap: 30px;
}
.gridservicios .wp-block-cover{
    border-radius: 30px;
    position: relative;
    box-sizing: border-box;
    padding: 30px 30px 50px 30px;
}
.gridservicios .wp-block-cover::before{
    content: '';
    width: 60px;
    height: 60px;
    background-image: url(images/icon-servicio.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}
.gridservicios .wp-block-cover h3{
    font-size: 23px;
    font-style: italic;
}
.gridservicios .wp-block-cover a{
    text-decoration: none;
    transition: 0.2s all ease-in;
}
.gridservicios .wp-block-cover a:hover{
    text-decoration: underline;
    color: #fffa74;
}
.linkmasinfo{
    margin: 0px;
    position: absolute;
    right: 15px;
    bottom: -40px;
}
.linkmasinfo a{
    background-color: rgba(255,255,255,1);
    color: #272a2d !important;
    padding: 15px 25px;
    font-size: 12px;
    line-height: 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 700;
    font-style: italic;
    transition: 0.1s all;
}
.linkmasinfo a:hover{
    text-decoration: none !important;
    color: #ffffff!important;
    background-color: rgba(40,40,40,0.8);
}
.colformu{
    gap: 100px;
}
.wrapformu p{
    margin: 0px;
}

.formufield {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    color: #333333;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

/* Hover suave */
.formufield:hover {
    border-color: #b5b5b5;
}

/* Focus elegante */
.formufield:focus {
    outline: none;
    border-color: #1f3c88; /* azul corporativo elegante */
    box-shadow: 0 0 0 3px rgba(31, 60, 136, 0.08);
}

/* Textarea un poco más alto */
textarea.formufield {
    min-height: 140px;
    resize: vertical;
}

/* Select */
select.formufield {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='18' height='18' viewBox='0 0 20 20' fill='%23333'%3E%3Cpath d='M5 7l5 6 5-6H5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    cursor: pointer;
}

/* Placeholder elegante */
.formufield::placeholder {
    color: #9a9a9a;
}


/* ====== BOTÓN ====== */

.formusend {
    background-color: #1f3c88; /* azul profundo */
    color: #ffffff;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-block;
    max-width: 350px;
    width: 100%;
}

/* Hover */
.formusend:hover {
    background-color: #162d66;
    transform: translateY(-1px);
}

/* Click */
.formusend:active {
    transform: translateY(0);
}

.taptap-main-menu-button::before,
.taptap-main-menu-button-middle::before,
.taptap-main-menu-button::after{
    box-shadow: 1px 1px 2px rgba(0,0,0,0.6) !important;
}
.wrapcontenido ul {
    margin: 0;
    padding: 0;
    list-style: none;         /* elimina las viñetas por defecto */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;                /* separación entre items */
    justify-content: flex-start;  /* alineado a la izquierda como pediste */
}

.wrapcontenido ul li {
    margin: 0;
    padding: 0;
    /* width: 100%;   ← quítalo o cámbialo si no quieres que ocupe toda la fila */
    position: relative;       /* necesario para posicionar el ::before */
    padding-left: 28px;       /* espacio para el check (ajusta según necesites) */
}

.wrapcontenido ul li::before {
    content: "✔";             /* check simple (Unicode U+2713) */
    /* O usa este para un check más grueso: content: "✔";  (U+2714) */
    /* O emoji moderno: content: "✅"; */
    position: absolute;
    left: 0;
    top: -2px;
    color: #8cab2e;           /* verde Bootstrap-style, puedes usar #2ecc71, #00cc00, etc. */
    font-size: 1.3em;         /* un poco más grande que el texto */
    line-height: 1.4;         /* alinea verticalmente mejor */
    font-weight: bold;        /* hace el check más visible */
}

/* Responsive */
@media (max-width: 1300px) {
    .headertop{
        background-attachment: scroll;
        background-size: cover;
    }
   .primary-menu-list > li > a{
    font-size: 16px;
   }
}
@media (max-width: 1200px) {
   .primary-menu-list > li > a{
    padding-left: 10px;
    padding-right: 10px;
   }
   .footer-widgets{
    grid-template-columns: auto auto auto auto;
   }
}
@media (max-width: 1100px) {
    .marca-sitio{
    width: 220px;
    margin-left: 20px;
    }
    .primary-menu{
    margin-top: 69px;
    margin-right: 20px;
    }
}
@media (max-width: 1015px) {
    .cabecera-sitio{
        text-align: center;
    }
    .marca-sitio{
    width: 220px;
    margin: 30px 10px 0px 10px;
    }
    .primary-menu{
    width: 100%;
    margin: 0px;
    }
    .primary-menu-list {
    justify-content: center;
    }
}
@media (max-width: 930px) {
    .footer-widgets{
    grid-template-columns: auto auto;
   }
}
@media (max-width: 780px) {
    .primary-menu{
    display: none;
    }
    .headertop::after{
    background-size: 150% 60px;
    height: 60px;
    }
    .site-footer::after{
    background-size: 150% 60px;
    height: 60px;
    }
    .herohome{
        max-width: 100%;
        margin: 0px;
        box-sizing: border-box;
        padding: 0px 30px;
    }
    .herohome p{
        font-size: 14px;
    }
    .gridservicios{
        grid-template-columns: 1fr !important;
    }
    .doscoltexto.wp-block-columns{
        gap: 0px !important;
        flex-direction: column !important;
    }
    .home .headertop {
    height: 740px;
    }
    .headertop {
    height: 600px;
    }
}
@media (max-width: 700px) {
    .footer-widgets{
    grid-template-columns: 1fr;
   }
   .herohome h1, .herohome h2{
    font-size: 35px;
    line-height: 120%;
   }
}
@media (max-width: 530px) {
    .herohome h1, .herohome h2{
    font-size: 28px;
    }
    .botonhero .wp-block-button__link{
        width: 100% !important;
    }
    .wp-block-button{
        flex-direction: column !important;
        width: 100% !important;
    }
    .herohome, .herohome p{
        text-align: center;
    }
    .linkmasinfo{
        width: 100%;
        text-align: center;
        right: 0px;
    }
    .wrapcontenido h1{
        font-size: 28px !important;
    }
    .bloqueshome h2{
        font-size: 25px;
    }
    
}
@media (max-width: 450px) {
    .home .headertop {
    height: 820px;
    }
    .headertop {
    height: 500px;
    }
    .separatop{
        height: 150px !important;
    }
    .separamedia{
        height: 50px !important;
    }
}
@media (max-width: 400px) {
    .cabecera-sitio{
        text-align: left;
    }
    .marca-sitio{
        margin: 20px;
    }
    .botonhero{
        gap: 15px;
    }
    .contepages{
        margin-top: 50px;
    }
    .bloqueshome .wp-block-media-text__content{
        padding-left: 0px;
        padding-right: 0px;
    }
    .tfpie{
        font-size: 16px;
        text-align: center;
    }
    .textopie{
        text-align: center;
    }
    .wp-container-core-social-links-is-layout-fdcfc74e {
    justify-content: center !important;
    }
    #block-11{
        text-align: center;
    }
}
@media (max-width: 320px) {
    .marca-sitio{
    width: 180px;
    }
}