@charset "utf-8";

/*
Theme Name: Home Gleam Up
Version: 1.1
Author: Rogelio Estrella
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&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');

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: #000000;
}

.seriftext {
    font-family: "Noto Serif", serif !important;
}

/* ============================================
   CABECERA SITIO
   ============================================ */

.cabecera-sitio {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 260px 1fr;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    min-height: 80px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1500px;
}

/* --- Columna central: Logo + CTA (Glassmorphism) --- */

.marca-sitio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 16px 15px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 35px 35px;
    margin-top: -10px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.30);
    box-sizing: border-box;
    z-index: 10;
}

.marca-sitio .custom-logo-link {
    display: block;
}

.marca-sitio .custom-logo {
    width: 180px;
    height: auto;
    display: block;
}

.marca-sitio .descripcion-sitio {
    display: none;
}

.marca-sitio .bwhatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-image: linear-gradient(to top, #58a703, #73cd12);
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.1s;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0);
}

.marca-sitio .bwhatsapp::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.127.558 4.126 1.533 5.857L.057 23.428a.75.75 0 0 0 .915.915l5.571-1.476A11.95 11.95 0 0 0 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 21.75a9.697 9.697 0 0 1-4.951-1.355l-.355-.211-3.683.975.993-3.585-.231-.368A9.712 9.712 0 0 1 2.25 12C2.25 6.615 6.615 2.25 12 2.25S21.75 6.615 21.75 12 17.385 21.75 12 21.75z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.marca-sitio .bwhatsapp:hover {
    transform: scale(1.03);
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.25);
}

/* --- Columna izquierda: Menú nav (píldora azul) --- */

.primary-menu {
    justify-self: end;
    align-self: center;
    margin-top: -80px;
}

.primary-menu-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 10px 20px;
    background: rgba(74, 125, 189, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.primary-menu-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 4px 10px;
    border-radius: 50px;
    transition: background 0.2s ease;
    white-space: nowrap;
    display: block;
}

.primary-menu-list li:last-child a {
    font-weight: 700;
}

.primary-menu-list li a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- Columna derecha: Contacto (píldora teal) --- */

.contactop {
    justify-self: start;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 24px;
    background: rgba(74, 189, 172, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-top: -80px;
}

.contactop span {
    color: #fff;
    font-size: 18px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contactop span:first-child a {
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
}

.contactop span:last-child {
    gap: 8px;
}

.contactop span img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
    margin-top: 8px;
}

.contactop span img:hover {
    opacity: 0.75;
}

/* ============================================
   HERO
   ============================================ */

.page-thumbnail img {
    width: 100%;
    height: auto;
    margin: 0px;
}

.herotop {
    padding: 0px !important;
    background-position: right center;
}

.herotop :where(.wp-block-columns) {
    margin: 0px !important;
}

.homecontenthero {
    max-width: 1500px;
    box-sizing: border-box;
    padding: 35px 30px;
    margin: auto !important;
    width: 100%;
}
.homecontenthero.inside{
    max-width: 1000px;
}
.tituhome {
    font-size: 18px;
    font-weight: 400;
}

.sloganhome {
    font-size: 55px;
    line-height: 110%;
    font-weight: 400;
}

.badgehome {
    margin-top: -170px;
}

.botonhero {
    gap: 25px;
}

.botonhero a {
    transition: all 0.2s;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0);
}

.botonhero a:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.30);
}

/* ============================================
   SERVICIOS
   ============================================ */

.servicehome {
    margin: 0 auto;
    max-width: 1500px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 30px;
}
.servicehome.servinside{
    max-width: 1300px;
}

.servicehome h2 {
    font-size: 25px;
    line-height: 110%;
}

.servicehome h2 strong {
    font-size: 130%;
}

.sloganservice {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -1px;
}

.colser02,
.colser03 {
    border-radius: 25px;
    padding: 20px 35px 70px;
    position: relative;
}
.colser02.galleryserv{
    padding: 0px;
}

.colser01 .wp-block-list,
.colser02 .wp-block-list,
.colser03 .wp-block-list {
    list-style: none;
    padding-left: 0;
}

.colser01 .wp-block-list li,
.colser02 .wp-block-list li,
.colser03 .wp-block-list li {
    padding-left: 1.6rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.colser01 .wp-block-list li::before,
.colser02 .wp-block-list li::before,
.colser03 .wp-block-list li::before,
.conteserving .wp-block-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.colser02 .wp-block-button,
.colser03 .wp-block-button {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.colser02 .wp-block-button a,
.colser03 .wp-block-button a {
    white-space: nowrap;
}

/* ============================================
   STEPS
   ============================================ */

.stepbottom {
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    color: #fff;
    background-color: #4dbead;
    display: block;
    box-sizing: border-box;
    padding: 5px 10px;
}

.stepbottom a {
    color: #ffffff !important;
    text-decoration: none;
    margin: 0px 7px;
    background-position: left center;
    background-repeat: no-repeat;
    background-image: url(images/c-icon-01.png);
    padding-left: 22px;
}

.stepbottom a:nth-child(2) {
    background-image: url(images/c-icon-02.png);
}

.stepbottom a:nth-child(3) {
    background-image: url(images/c-icon-03.png);
    padding-left: 26px;
    margin-left: 12px;
}

.stepbottom a:hover {
    text-decoration: underline;
}

.colsteps {
    width: 100%;
    max-width: 1150px;
    box-sizing: border-box;
    padding: 0 15px;
    margin: auto !important;
    gap: 80px;
}

.itemstep {
    border-radius: 25px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.30);
    box-sizing: border-box;
    padding: 10px 15px 5px 15px;
    position: relative;
}

.itemstep h3 {
    color: #2c3761;
    font-size: 25px;
    line-height: 110%;
    margin-bottom: 5px;
}

.itemstep img {
    margin-top: -35px;
}

.number {
    position: absolute;
    top: 15px;
    left: 20px;
    font-weight: 900;
    color: #ade1d8;
    font-size: 35px;
    margin: 0px;
}

/* ============================================
   FORMULARIO (Contact Form 7)
   ============================================ */

.wpcf7 {
    background: #ffffff;
    border-radius: 16px;
    padding: 0px;
    max-width: 520px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif !important;
}

.wpcf7-form h2,
.cf7-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a2e4a;
    margin: 0 0 24px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
    background: #f4f5f7;
    border: 1.5px solid #f4f5f7;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    color: #1a2e4a;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 12px;
    display: block;
    appearance: none;
    -webkit-appearance: none;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #9aa3af;
}

.wpcf7-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3af' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    color: #9aa3af;
    cursor: pointer;
}

.wpcf7-form select.selected,
.wpcf7-form select:not([value=""]) {
    color: #1a2e4a;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #1fc8a0;
    background: #ffffff;
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 78px;
    max-height: 78px;
}

.wpcf7-form input[type="submit"],
.wpcf7-submit {
    width: 100%;
    background: #1fc8a0;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 16px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}

.wpcf7-form input[type="submit"]:hover {
    background: #17a885;
}

.wpcf7-form input[type="submit"]:active {
    transform: scale(0.98);
}

.cf7-footer-note {
    text-align: center;
    font-size: 13px;
    color: #9aa3af;
    margin-top: 14px;
}

.cf7-footer-note span {
    margin: 0 6px;
}

.wpcf7-not-valid-tip {
    color: #e24b4a;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 8px;
    display: block;
}

.wpcf7-response-output {
    border-radius: 5px;
    padding: 12px 16px !important;
    margin-top: 16px;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    background: #eaf3de;
    color: #3b6d11;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #fcebeb;
    color: #a32d2d;
}

/* ============================================
   SECCIÓN SERVING / LAST
   ============================================ */

.wraplast {
    max-width: 1300px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 30px;
    margin: auto;
    gap: 70px;
}

.serving {
    border-radius: 25px;
    overflow: hidden;
}

.serving :where(figure) {
    margin: 0px;
}

.conteserving {
    box-sizing: border-box;
    padding: 40px;
}

.conteserving h3 {
    font-size: 30px;
    line-height: 110%;
    margin-top: 5px;
}

.conteserving ul {
    margin-left: 0px;
    padding-left: 0px;
    margin-bottom: 0px;
    font-size: 20px;
    font-weight: 600;
    list-style: none;
}

.conteserving ul li {
    position: relative;
    padding-left: 1.6rem;
}

.callp {
    margin-bottom: 0px;
}

.socialcall {
    margin-top: 5px;
}

.callphone {
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
    color: #2c3761;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
    padding: 56px 0 32px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr 180px;
    gap: 40px;
    align-items: start;
}

.footer-widgets .widget {
    min-width: 0;
}

.footer-widgets .widget-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebebeb;
}

.footer-widgets .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widgets .menu li {
    margin-bottom: 10px;
}

.footer-widgets .menu li a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-widgets .menu li a:hover {
    color: #111;
}

.footer-widgets .wp-block-image img {
    width: 140px !important;
    height: auto;
    display: block;
}

.footer-widgets p.has-text-align-right {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    margin: 0;
}
.logomovil{
    filter: brightness(0) saturate(100%) invert(100%);
}
.gridservices{
    max-width: 1500px;
    box-sizing: border-box;
    padding: 0px 30px;
    margin: auto;
    gap: 20px;
}
.itemserv{
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}
.itemserv img{
    transition: all 0.2s ease-in;
}
.itemserv h2{
    font-size: 20px;
    font-weight: 700;
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;
}
.itemserv a{
    text-decoration: none;
}
.itemserv:hover img{
    transform: scale(1.05) translateY(-6px);
}
.colser02 img{
    border-radius: 10px;
}
/* ===== Language Switcher - Solo banderas ===== */
.lengswitch {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;                    /* Alineación horizontal */
    align-items: center;
    gap: 10px;
    position: absolute;                     /* Espacio entre banderas */
    top: 17px;
    right: 10px;
}

.lengswitch li {
    margin: 0;
}

.lengswitch a {
    display: block;
    line-height: 1;
    transition: all 0.3s ease;
}

.lengswitch img {
    width: 30px !important;                      /* Tamaño más bonito que el original */
    height: auto !important;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Efecto hover en las banderas (excepto la actual) */
.lengswitch a:hover img {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Idioma actual: opacidad 30% y desactivado */
.lengswitch .current-lang a,
.lengswitch .current-lang img {
    opacity: 0.6 !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* Opcional: quitar el subrayado del enlace */
.lengswitch a {
    text-decoration: none;
}
/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (max-width: 1370px) {
    .marca-sitio{
        position: absolute;
        left: 10px;
        top: 0px;
    }
    .primary-menu{
        position: absolute;
        left: 269px;
        top: 15px;
        transform: translateX(0);
        margin-top: 0;
    }
    .primary-menu-list{
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        border-top-right-radius: 50px;
        border-bottom-right-radius: 50px;
        background: rgba(74, 125, 189, 0.70);
    }
    .contactop{
        position: absolute;
        left: 269px;
        top: 80px;
        transform: translateX(0);
        margin-top: 0;
        background: rgba(74, 189, 172, 0.70);
    }
    .badgehome{
        position: absolute;
        margin: 0px;
        bottom: calc(100vh - 220px);
        right: 20px;
        width: 200px;
    }
}
@media (max-width: 1000px) {
    .badgehome{
        bottom: calc(100vh - 400px);
    }
    .homecontenthero{
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0px;
    }
    .botonhero{
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .sloganhome{
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .tituhome{
        font-size: 16px;
    }
}
/* --- Tablet (max 900px) --- */
@media (max-width: 900px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 820px) {
    .badgehome{
        bottom: calc(100vh - 190px);
        width: 170px;
    }
}
/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
    .cabecera-sitio {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 16px 20px;
        gap: 12px;
    }

    .primary-menu {
        justify-self: center;
    }

    .contactop {
        justify-self: center;
    }

}

/* --- Mobile small (max 540px) --- */
@media (max-width: 580px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    .sloganhome{
        font-size: 25px !important;
    }
    .marca-sitio .custom-logo{
        width: 150px;
    }
    .botonhero{
        grid-template-columns: 1fr 1fr !important;
    }
    .botonhero a{
        font-size: 14px !important;
    }
    #block-3 .has-text-align-right,
    #block-2 .wp-block-image img{
        text-align: center !important;
        width: 100%;
    }
    #block-2 .wp-block-image img{
        width: 100%;
        margin: auto !important;
    }
    .footer-widgets .menu li,
    .footer-widgets h3{
        text-align: center !important;
    }
    .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){
        width: 100% !important;
    }
}

/* --- Mobile XS (max 480px) --- */
@media (max-width: 480px) {
    .botonhero{
        grid-template-columns: 1fr !important;
    }
    .marca-sitio{
        width: 100%;
        left: 0px;
        border-radius: 0px !important;
        display: block;
    }
    .marca-sitio .custom-logo-link{
        float: right;
        margin-right: 0px;        
    }
    .marca-sitio .custom-logo {
    width: 100px;
    }
    .marca-sitio .bwhatsapp{
        font-size: 13px;
        position: absolute;
        bottom: 15px;
        left: 20px;
    }
    .badgehome{
        display: none;
    }
    .lengswitch{
        top: 38px;
        right: auto;
        left: 80px;
    }
}
/* ===== Polylang Language Switcher en el Footer ===== */
.widget_polylang {
    margin: 0;
    padding: 0;
}

.widget_polylang ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;        /* Centrado en el footer */
    gap: 18px;                      /* Espacio entre idiomas */
}

.widget_polylang li {
    margin: 0;
}

.widget_polylang a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    font-size: 15px;
}

.widget_polylang img {
    width: 26px;                    /* Tamaño más bonito para footer */
    height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-right: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Hover en los idiomas (menos el actual) */
.widget_polylang a:hover img {
    transform: scale(1.12);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.widget_polylang a:hover span {
    color: #000;                    /* Cambia el color del texto al pasar el mouse */
}

/* Idioma actual: atenuado y desactivado */
.widget_polylang .current-lang a,
.widget_polylang .current-lang img,
.widget_polylang .current-lang span {
    opacity: 0.6 !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .widget_polylang ul {
        gap: 14px;
        justify-content: center;
    }
    
    .widget_polylang img {
        width: 22px;
    }
    
    .widget_polylang a {
        font-size: 14px;
    }
}