/* ============================================================================
   CSS SOLO PARA PÁGINA VIGAS ESTRUCTURALES (ID: 1314)
   TODOS los selectores usan body.page-id-1314 para NO afectar otras páginas
   ============================================================================ */

/* Reset básico - SOLO página 1314 */
body.page-id-1314 * {
    box-sizing: border-box;
}

/* Forzar ancho completo y ocultar sidebar - SOLO página 1314 */
body.page-id-1314 .container,
body.page-id-1314 #main-content,
body.page-id-1314 .et_pb_row,
body.page-id-1314 .et_pb_section,
body.page-id-1314 .entry-content,
body.page-id-1314 .entry-content-wrapper,
body.page-id-1314 .et_pb_column {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page-id-1314 .sidebar,
body.page-id-1314 #sidebar,
body.page-id-1314 .et_pb_sidebar,
body.page-id-1314 .widget-area,
body.page-id-1314 aside.sidebar,
body.page-id-1314 .et_right_sidebar,
body.page-id-1314 .et_left_sidebar {
    display: none !important;
    width: 0 !important;
    visibility: hidden !important;
}

body.page-id-1314 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fondo blanco y texto oscuro - SOLO página 1314 */
body.page-id-1314,
body.page-id-1314 .entry-content,
body.page-id-1314 .section,
body.page-id-1314 .section-problema,
body.page-id-1314 .section-solucion,
body.page-id-1314 .card,
body.page-id-1314 .proceso-card,
body.page-id-1314 .garantia,
body.page-id-1314 .highlight-box {
    background-color: #FFFFFF !important;
    color: #333333 !important;
}

body.page-id-1314 {
    font-family: 'Open Sans', sans-serif;
    color: #333333 !important;
    line-height: 1.6;
    font-size: 16px;
    background-color: #FFFFFF !important;
}

:root {
    --color-primary: #f25b3a;
    --color-primary-alt: #f25c3a;
    --color-secondary: #D4924A;
    --color-success: #27ae60;
    --color-danger: #e74c3c;
    --color-dark: #333333;
    --color-light: #f8f9fa;
    --color-white: #FFFFFF;
}

/* Hero Section - SOLO página 1314 */
body.page-id-1314 .hero {
    background: linear-gradient(135deg, #f25c3a 0%, #D4924A 100%);
    background-image: url('https://restauracionhogar.es/wp-content/uploads/2025/12/cambio-vigas-estructurales-tarragona-principal_hero-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--color-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    min-height: 500px;
}

body.page-id-1314 .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(242, 92, 58, 0.4) 0%, rgba(212, 146, 74, 0.4) 100%);
    z-index: 1;
}

body.page-id-1314 .hero .container {
    position: relative;
    z-index: 2;
}

body.page-id-1314 .hero h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.4em;
    margin-bottom: 20px;
}

body.page-id-1314 .hero p {
    font-size: 20px;
    line-height: 2em;
    margin-bottom: 15px;
}

body.page-id-1314 .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

body.page-id-1314 .btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Open Sans', sans-serif;
}

body.page-id-1314 .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

body.page-id-1314 .btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

body.page-id-1314 .btn-whatsapp {
    background-color: #2d8659;
    color: var(--color-white);
}

body.page-id-1314 .btn-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Secciones - SOLO página 1314 */
body.page-id-1314 .section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

body.page-id-1314 .section-problema {
    background-color: var(--color-white);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 45px 40px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.page-id-1314 .section-problema:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--color-danger);
}

body.page-id-1314 .section-problema h2 {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

body.page-id-1314 .section-problema h3 {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
}

body.page-id-1314 .section-problema p {
    font-size: 17px;
    line-height: 1.5;
    color: #333333 !important;
    margin-bottom: 20px;
}

body.page-id-1314 .section-solucion {
    background-color: var(--color-white);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 45px 40px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.page-id-1314 .section-solucion:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--color-success);
}

body.page-id-1314 .section-solucion h2 {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

body.page-id-1314 .section-solucion h3 {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
}

body.page-id-1314 .section-solucion p {
    font-size: 17px;
    line-height: 1.5;
    color: #333333 !important;
    margin-bottom: 20px;
}

body.page-id-1314 .section h2 {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    margin-top: 0;
    text-align: center;
    line-height: 1.3;
}

body.page-id-1314 .section h3 {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}

body.page-id-1314 .section p {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 17px;
    color: #333333 !important;
    text-align: left;
}

body.page-id-1314 .section ul {
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    list-style: none;
    padding-left: 30px;
}

body.page-id-1314 .section li {
    margin-bottom: 12px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
    font-size: 17px;
    color: #333333 !important;
}

body.page-id-1314 .section-problema ul,
body.page-id-1314 .section-solucion ul {
    margin-top: 25px;
    margin-bottom: 25px;
    padding-left: 30px;
}

body.page-id-1314 .section-problema li,
body.page-id-1314 .section-solucion li {
    padding-left: 20px;
    margin-bottom: 14px;
}

body.page-id-1314 .section-problema ul li::before,
body.page-id-1314 .section-solucion ul li::before,
body.page-id-1314 .section ul li.check::before,
body.page-id-1314 .section ul li.bullet::before,
body.page-id-1314 .garantia ul li.check::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

/* Cards - SOLO página 1314 */
body.page-id-1314 .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

body.page-id-1314 .card {
    background-color: var(--color-white);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.page-id-1314 .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(242, 91, 58, 0.15);
    border-color: var(--color-primary);
}

body.page-id-1314 .card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 700;
}

body.page-id-1314 .card p {
    font-size: 17px;
    line-height: 1.5;
    color: #333333 !important;
    margin-bottom: 15px;
}

body.page-id-1314 .card ul {
    margin-top: 15px;
}

/* Imágenes - SOLO página 1314 */
body.page-id-1314 .image-container {
    margin: 30px 0;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
}

body.page-id-1314 .image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
    cursor: pointer;
}

body.page-id-1314 .image-container img:hover,
body.page-id-1314 .image-container img:active {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

body.page-id-1314 .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

body.page-id-1314 .image-grid > div {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

body.page-id-1314 .image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    display: block;
}

body.page-id-1314 .image-grid img:hover,
body.page-id-1314 .image-grid img:active {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Proceso - SOLO página 1314 */
body.page-id-1314 .proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

body.page-id-1314 .proceso-card {
    background-color: var(--color-white);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.page-id-1314 .proceso-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(242, 91, 58, 0.15);
    border-color: var(--color-primary);
}

body.page-id-1314 .proceso-card h3 {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

body.page-id-1314 .proceso-card p {
    font-size: 17px;
    line-height: 1.5;
    color: #333333 !important;
    margin-bottom: 0;
}

/* Garantía - SOLO página 1314 */
body.page-id-1314 .garantia {
    background-color: var(--color-white);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 40px 35px;
    margin: 40px auto;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.page-id-1314 .garantia:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.15);
    border-color: var(--color-success);
}

body.page-id-1314 .garantia h2 {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    margin-top: 0;
}

body.page-id-1314 .garantia p {
    font-size: 17px;
    line-height: 1.5;
    color: #333333 !important;
    margin-bottom: 15px;
}

body.page-id-1314 .garantia ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

body.page-id-1314 .garantia ul li {
    padding-left: 28px;
}

/* FAQ - SOLO página 1314 */
body.page-id-1314 .faq-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
    transition: padding-left 0.3s ease;
}

body.page-id-1314 .faq-item:hover {
    padding-left: 10px;
}

body.page-id-1314 .faq-item:last-child {
    border-bottom: none;
}

body.page-id-1314 .faq-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 700;
}

body.page-id-1314 .faq-item p {
    font-size: 17px;
    line-height: 1.5;
    color: #333333 !important;
    margin-bottom: 15px;
}

body.page-id-1314 .faq-item ul {
    margin-top: 15px;
}

/* CTA Final - SOLO página 1314 */
body.page-id-1314 .cta-final {
    background: linear-gradient(135deg, #f25c3a 0%, #D4924A 100%);
    background-image: url('https://restauracionhogar.es/wp-content/uploads/2025/12/obra-vigas-finalizada-tarragona.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: var(--color-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

body.page-id-1314 .cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(242, 92, 58, 0.4) 0%, rgba(212, 146, 74, 0.4) 100%);
    z-index: 1;
}

body.page-id-1314 .cta-final > * {
    position: relative;
    z-index: 2;
}

body.page-id-1314 .cta-final h2 {
    color: var(--color-white);
    font-size: 42px;
    margin-bottom: 20px;
}

body.page-id-1314 .cta-final p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Highlight boxes - SOLO página 1314 */
body.page-id-1314 .highlight-box {
    padding: 30px 35px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--color-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.page-id-1314 .highlight-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

body.page-id-1314 .highlight-box.success {
    background-color: #d4edda;
}

body.page-id-1314 .highlight-box.danger {
    background-color: #fff5f5;
}

body.page-id-1314 .highlight-box p {
    font-size: 17px;
    line-height: 1.5;
    color: #333333 !important;
    margin: 0;
}

/* Responsive - SOLO página 1314 */
@media (max-width: 768px) {
    body.page-id-1314 .hero {
        padding: 60px 15px;
        min-height: 400px;
        display: flex;
        align-items: center;
    }
    
    body.page-id-1314 .hero h1 {
        font-size: 28px;
        line-height: 1.3em;
        margin-bottom: 15px;
    }
    
    body.page-id-1314 .hero p {
        font-size: 15px;
        line-height: 1.6em;
        margin-bottom: 12px;
    }
    
    body.page-id-1314 .section {
        padding: 40px 15px;
    }
    
    body.page-id-1314 .section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    body.page-id-1314 .section h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    body.page-id-1314 .section p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    body.page-id-1314 .section-problema h2,
    body.page-id-1314 .section-solucion h2 {
        font-size: 26px;
    }
    
    body.page-id-1314 .section-problema,
    body.page-id-1314 .section-solucion {
        padding: 30px 25px;
        margin: 30px 15px;
    }
    
    body.page-id-1314 .section-problema p,
    body.page-id-1314 .section-solucion p {
        font-size: 15px;
    }
    
    body.page-id-1314 .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-top: 30px;
    }
    
    body.page-id-1314 .btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    body.page-id-1314 .cards-container,
    body.page-id-1314 .proceso-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.page-id-1314 .card {
        padding: 30px 25px;
    }
    
    body.page-id-1314 .proceso-card {
        padding: 30px 25px;
    }
    
    body.page-id-1314 .image-container {
        margin: 20px 0;
        overflow: hidden;
        border-radius: 8px;
    }
    
    body.page-id-1314 .image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    body.page-id-1314 .image-grid img {
        height: 200px;
    }
    
    body.page-id-1314 .image-container img:active {
        transform: scale(1.05);
    }
    
    body.page-id-1314 .image-grid img:active {
        transform: scale(1.08);
    }
    
    body.page-id-1314 .garantia {
        padding: 35px 25px;
        margin: 30px 15px;
    }
    
    body.page-id-1314 .cta-final {
        padding: 60px 15px;
    }
    
    body.page-id-1314 .cta-final h2 {
        font-size: 28px;
    }
    
    body.page-id-1314 .cta-final p {
        font-size: 16px;
    }
    
    body.page-id-1314 .section ul {
        margin-left: 0;
        margin-top: 12px;
        padding-left: 25px;
    }
    
    body.page-id-1314 .section li {
        margin-bottom: 10px;
        line-height: 1.5;
        font-size: 16px;
        padding-left: 18px;
    }
    
    body.page-id-1314 .section-problema ul,
    body.page-id-1314 .section-solucion ul {
        padding-left: 25px;
    }
    
    body.page-id-1314 .section-problema li,
    body.page-id-1314 .section-solucion li {
        padding-left: 18px;
    }
    
    body.page-id-1314 .section li::before {
        width: 7px;
        height: 7px;
        top: 7px;
    }
    
    body.page-id-1314 .highlight-box {
        padding: 25px 20px;
        margin: 15px 0;
    }
    
    body.page-id-1314 .highlight-box p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body.page-id-1314 .hero {
        padding: 50px 12px;
        min-height: 350px;
    }
    
    body.page-id-1314 .hero h1 {
        font-size: 24px;
    }
    
    body.page-id-1314 .hero p {
        font-size: 14px;
    }
    
    body.page-id-1314 .section {
        padding: 30px 12px;
    }
    
    body.page-id-1314 .section h2 {
        font-size: 24px;
    }
    
    body.page-id-1314 .section h3 {
        font-size: 17px;
    }
    
    body.page-id-1314 .section p {
        font-size: 15px;
    }
    
    body.page-id-1314 .section-problema h2,
    body.page-id-1314 .section-solucion h2 {
        font-size: 24px;
    }
    
    body.page-id-1314 .section-problema p,
    body.page-id-1314 .section-solucion p {
        font-size: 15px;
    }
    
    body.page-id-1314 .section li {
        font-size: 15px;
    }
    
    body.page-id-1314 .btn {
        padding: 12px 18px;
        font-size: 15px;
    }
    
    body.page-id-1314 .card,
    body.page-id-1314 .proceso-card {
        padding: 25px 20px;
    }
    
    body.page-id-1314 .section-problema,
    body.page-id-1314 .section-solucion {
        padding: 25px 20px;
    }
    
    body.page-id-1314 .garantia {
        padding: 30px 20px;
    }
    
    body.page-id-1314 .highlight-box {
        padding: 20px 18px;
    }
    
    body.page-id-1314 .image-container img:active {
        transform: scale(1.03);
    }
    
    body.page-id-1314 .image-grid img:active {
        transform: scale(1.05);
    }
    
    body.page-id-1314 .section ul {
        margin-left: 0;
        padding-left: 20px;
    }
    
    body.page-id-1314 .section li {
        font-size: 15px;
        padding-left: 16px;
    }
    
    body.page-id-1314 .section-problema ul,
    body.page-id-1314 .section-solucion ul {
        padding-left: 20px;
    }
    
    body.page-id-1314 .section-problema li,
    body.page-id-1314 .section-solucion li {
        padding-left: 16px;
    }
}
/* Reducir espacio superior después del menú */
body.page-id-1314 #main-content {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

body.page-id-1314 .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-1314 #et-main-area {
    padding-top: 20px !important;
}

body.page-id-1314 .et_pb_section:first-child {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* Reducción AGRESIVA de espacio superior */
body.page-id-1314 #main-content .container {
    padding-top: 0 !important;
}

body.page-id-1314 .container {
    padding-top: 0 !important;
}

body.page-id-1314 #left-area {
    padding-top: 0 !important;
}

body.page-id-1314 article {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.page-id-1314 #main-content {
    padding-top: 0 !important;
}

body.page-id-1314 .entry-content {
    padding-top: 0 !important;
}

/* Eliminar márgenes del primer elemento */
body.page-id-1314 .entry-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Eliminar viñetas estándar para evitar doble punto */
body.page-id-1314 .section ul,
body.page-id-1314 .card ul {
    list-style: none !important;
    padding-left: 0 !important;
}

body.page-id-1314 .bullet {
    position: relative !important;
    padding-left: 20px !important;
    list-style-type: none !important;
}

/* Asegurar que no aparezca el bullet por defecto de Divi/WP */
body.page-id-1314 .entry-content ul li::before {
    display: none; /* Desactiva posibles bullets del tema */
}

/* Pero reactivar el nuestro específico */
body.page-id-1314 .section ul li.bullet::before {
    display: block !important;
    content: "" !important;
}
