
/*
 Theme Name:   Kadence Child
 Theme URI:    http://example.com/kadence-child
 Description:  Kadence Child Theme
 Author:       Tu Nombre
 Author URI:   http://example.com
 Template:     kadence
 Version:      1.0.0
*/

/* Aquí puedes añadir estilos adicionales para tu tema hijo */

.site-footer-wrap {
    background-color: #000;
}

ul#menu-footer-links li {
display: inline-block;
margin-right: 10px;
color: #fff;
}

body .background-light,
body .background-light *,
body .background-light .bg-light {    
    background-color: #fff!important;
}

/* Estilos para la cabecera de proyectos */
.proyectos-header {
    margin-bottom: 40px;
}
.proyectos-header .container {
    text-align: center;
}

.proyectos-header .container .proyectos-categoria,
.proyectos-header .container .proyectos-title,
.proyectos-header .container .proyectos-description {
    text-align: center;
}

.proyectos-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    display: inline-block;
}



.proyectos-description {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.7;
  
}

/* Estilos para los botones de categorías */
.categoria-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}






/* Estilos para las tarjetas de proyectos */
.content-wrap.grid-cols {
    display: grid;
    grid-gap: 30px;
}

.content-wrap.grid-sm-col-2 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .content-wrap.grid-sm-col-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .content-wrap.grid-lg-col-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.proyecto-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.proyecto-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.proyecto-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.proyecto-item:hover .proyecto-thumbnail img {
    transform: scale(1.05);
}

.proyecto-content {
    padding: 25px;
}

.proyecto-content h2.entry-title {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.proyecto-content h2.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.proyecto-content h2.entry-title a:hover {
    color: #0073aa;
}

.proyecto-categorias {
    margin-bottom: 15px;
}

.categoria-badge {
    background-color: #f0f0f0;
    padding: 4px 10px;
    margin-right: 6px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 5px;
}

.proyecto-excerpt {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}





/* Estilos para cuando no hay proyectos */
.no-proyectos {
    text-align: center;
    padding: 60px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 30px 0;
}

.no-proyectos h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.no-proyectos p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Estilos para la página individual de proyectos */
.proyecto-header-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 0;
}

.proyecto-header-image .proyecto-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.proyecto-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    display: flex;
    align-items: center;
}

.proyecto-header-content {
    color: #fff;
    width: 100%;
    max-width: 600px;
}

.proyecto-categorias-single {
    margin-bottom: 20px;
}

.proyecto-categorias-single .categoria-badge {
    background-color: #0073aa;
    color: #fff;
    padding: 5px 12px;
    margin-right: 8px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
}

.proyecto-title-single {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.proyecto-ubicacion {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 15px;
}

.proyecto-ubicacion p {
    margin: 0;
}

/* Cabecera simple sin imagen */
.proyecto-header-simple {
    background-color: #f7f7f7;
    padding: 80px 0;
    margin-bottom: 50px;
    text-align: center;
}

.proyecto-header-simple .proyecto-title-single {
    color: #333;
}

.proyecto-header-simple .categoria-badge {
    background-color: #0073aa;
    color: #fff;
}

/* Contenido del proyecto */
.proyecto-single-content {
   
}

.proyecto-content-main {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 60px;
}

.proyecto-content-main h2 {
    font-size: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
}

.proyecto-content-main h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #222;
}

.proyecto-content-main p {
    margin-bottom: 25px;
}

.proyecto-content-main img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.proyecto-content-main ul, 
.proyecto-content-main ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.proyecto-content-main li {
    margin-bottom: 10px;
}

.proyecto-content-main blockquote {
    border-left: 4px solid #0073aa;
    padding: 15px 25px;
    margin: 30px 0;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* Sección de experiencia */
.proyecto-experiencia-section {
    margin: 80px 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.experiencia-header {
    margin-bottom: 10px;
}

.experiencia-header p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 5px;
}

.experiencia-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.experiencia-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.experiencia-cta {
    margin-top: 20px;
}
.center-img img {
    margin: 0 auto;
}



/* Hero Noticias (cabecera blog) */
.noticias-hero {
    background: #fff;
    padding: 0;
    margin-bottom: 40px;
}
.noticias-hero__container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 360px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 2px 18px rgba(0,0,0,0.04);
    background: #fff;
}
.noticias-hero__texto {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px 48px 48px;
    background: #fff;
    align-items: flex-start;
}

.noticias-hero__titulo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
}
.noticias-hero__descripcion {
    font-size: 1.08rem;
    color: #333;
    margin-bottom: 32px;
    line-height: 1.5;
}
.noticias-hero__boton {
    display: inline-block;
    background: #ffd600;
    color: #222;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: background 0.2s, color 0.2s;
}
.noticias-hero__boton:hover {
    background: #ffb300;
    color: #111;
}
.noticias-hero__imagen {
    flex: 1 1 50%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 320px;
    background: #f2f2f2;
}
.noticias-hero__imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 900px) {
    .noticias-hero__container {
        flex-direction: column;
        min-height: unset;
    }
    .noticias-hero__texto {
        padding: 32px 20px 28px 20px;
        text-align: center;
    }
    .noticias-hero__imagen {
        min-height: 200px;
        height: 220px;
    }
}
@media (max-width: 600px) {
    .noticias-hero__titulo {
        font-size: 1.6rem;
    }
    .noticias-hero__container {
        border-radius: 0;
        box-shadow: none;
    }
}

/* Fichas Técnicas - sección estática en soluciones */
.fichas-tecnicas-section {
    background: #f7f7f7;
    padding: 80px 0 60px 0;
    margin-top: 60px;
}
.fichas-header {
    text-align: center;
    margin-bottom: 50px;
}
.fichas-categoria {
    text-transform: uppercase;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}
.fichas-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}
.fichas-description {
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 0;
}
.fichas-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Proyectos relacionados */
.proyectos-relacionados {
    background-color: #f7f7f7;
    padding: 80px 0;
    margin-top: 80px;
}

.relacionados-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #222;
}

.relacionados-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

/* Navegación entre proyectos */
.proyecto-navegacion {
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    max-width: 45%;
}

.nav-previous a,
.nav-next a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.nav-arrow {
    font-size: 20px;
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .proyecto-header-image {
        height: 350px;
    }
    
    .proyecto-title-single {
        font-size: 36px;
    }
    
    .proyecto-header-simple {
        padding: 50px 0;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .nav-links {
        flex-direction: column;
    }
}

.container-mg {
    max-width: 800px!important;
}

.kt-accordion-inner-wrap .wp-block-kadence-pane{
border-radius: 8px;
border: 1px solid #000000;
}

.kt-accordion-inner-wrap .wp-block-kadence-pane .kt-accordion-header-wrap{
    border-radius: 8px;
}
.kt-accordion-inner-wrap .wp-block-kadence-pane .kt-accordion-header-wrap button {
    border-radius: 8px!important;
}

.kt-accordion-inner-wrap .wp-block-kadence-pane .kt-accordion-panel{
    border-radius: 8px;
}

/* Estilos para formulario Contact Form 7 */
.intels-form {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

.intels-form .form-group {
    margin-bottom: 1.5rem;
}

.intels-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.intels-form .form-control {
    display: block;
    width: 100%;
    padding: 5px 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.intels-form .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.intels-form textarea.form-control {
    height: 150px;
    resize: vertical;
}
.intels-form p{
    margin-bottom: 0px;
}
.intels-form .form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.intels-form .form-check-input {

    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.intels-form .btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 7px 15px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.intels-form .btn-primary {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.intels-form .btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

/* Mensajes de validación */
.intels-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.intels-form .wpcf7-response-output {
    margin: 2em 0 1em;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
}

.intels-form .wpcf7-validation-errors,
.intels-form .wpcf7-acceptance-missing {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.intels-form .wpcf7-mail-sent-ok {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}