/* --- COMPARADOR ANTES / DESPUÉS (SECCIÓN CONSERVADA) --- */
.comparison-section {
    padding: 100px 20px;
    background: var(--white);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-main);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header-center h2 {
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--slate-dark);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-header-center p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

.comparison-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-container {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    user-select: none;
    cursor: ew-resize;
}

.comparison-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before-image {
    width: 50%;
    overflow: hidden;
    border-right: 3px solid var(--yellow-accent);
    z-index: 2;
}

.before-image img {
    width: 1000px;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: 25px;
    padding: 8px 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    /*z-index: 5;*/
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.badge-after {
    right: 25px;
    background: var(--green-main);
    color: var(--white);
}

.badge-before {
    left: 25px;
    background: var(--slate-dark);
    color: var(--yellow-accent);
}

.comparison-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--yellow-accent);
    z-index: 10;
    pointer-events: none;
    transform: translateX(-50%);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--slate-dark);
    border: 3px solid var(--yellow-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-accent);
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}


/* --- SECCIÓN MODIFICADA: BENEFICIOS DE LA REFORMA INTEGRAL (Antes Estudio 3D) --- */
.reforma-studio-section {
    padding: 110px 20px;
    background: linear-gradient(135deg, #f7faf8 0%, #edf4ef 100%);
    position: relative;
    overflow: hidden;
}

.studio-container {
    max-width: 1200px;
    margin: 0 auto;
}

.studio-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.studio-content h2 {
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--slate-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.studio-content > p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 35px;
}

.studio-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon-box {
    width: 55px;
    height: 55px;
    background: var(--green-light);
    color: var(--green-main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-row:hover .feature-icon-box {
    background: var(--green-main);
    color: var(--yellow-accent);
}

.feature-row h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--slate-dark);
    margin-bottom: 6px;
}

.feature-row p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.studio-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.studio-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.studio-image-wrapper:hover .studio-main-img {
    transform: scale(1.05);
}

.studio-floating-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--slate-dark);
    color: var(--yellow-accent);
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(240, 228, 31, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}


/* --- NUEVA SECCIÓN: ¿QUÉ CONLLEVA UNA REFORMA INTEGRAL? --- */
.reforma-info-section {
    padding: 100px 20px;
    background: var(--bg-light);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    border-bottom: 4px solid transparent;
    flex: 1 1 300px;
    max-width: 350px;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--green-main);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: var(--green-light);
    color: var(--green-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: var(--green-main);
    color: var(--yellow-accent);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 15px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.6;
}


/* --- BOTÓN DE COTIZACIÓN --- */
.btn-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--green-main);
    color: var(--white);
    padding: 16px 35px;
    border-radius: var(--radius-pill);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    margin-top: 35px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(20, 94, 40, 0.2);
}

.btn-primary-action:hover {
    background: var(--slate-dark);
    color: var(--yellow-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(27, 38, 36, 0.3);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .studio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-header-center h2,
    .studio-content h2 {
        font-size: 2.2rem;
    }
}


/*SATE*/
/* Estilos para el texto descriptivo */
.section-description {
    font-size: 1.1rem;
    color: var(--slate-gray);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Ajuste de la grid de ventajas */
.info-grid {
    margin-top: 30px;
}

/* Estilos para la sección de comunidades */
.section-comunidades {
    background: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.header-comunidades {
    max-width: 850px;
    margin: 0 auto;
}

.comunidad-img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.comunidad-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

/*SUELOS*/
/* Estilos para las secciones de Suelos */
.info-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.info-card {
    text-align: left;
    max-width: none;
}

.info-icon { 
    margin: 0 0 20px 0; 
}

.info-card h3 {
     color: var(--green-main);
      margin-bottom: 20px; 
      font-size: 1.4rem; 
    }

.info-card ul {
     list-style: none; 
     padding: 0; display: flex;
      flex-direction: column; 
      gap: 12px; color: #64748b; 
    }

.info-card ul li i { 
    color: var(--green-main);
     margin-right: 8px; 
    }

.section-description {
     font-size: 1.1rem; 
     color: #64748b; 
     line-height: 1.7; 
     margin-bottom: 40px; 
    }

/* Asesoramiento */
.advice-wrapper {
     max-width: 850px; 
     margin: 0 auto; 
     display: flex; 
     flex-direction: column; 
     gap: 20px; 
    }

.advice-card { 
    background: var(--white);
     padding: 25px 30px; 
     border-radius: var(--radius-lg); 
     box-shadow: var(--shadow-soft); 
     display: flex; 
     align-items: center; 
     gap: 20px; 
    }

.advice-icon { 
    background: var(--green-light); 
    color: var(--green-main); 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem; 
    flex-shrink: 0; 
}

.advice-card h4 { 
    font-size: 1.1rem; 
    color: var(--slate-dark); 
    margin-bottom: 5px; 
}

.advice-card p { 
    color: #64748b; 
    margin: 0; 
    font-size: 0.98rem; 
}

.advice-footer {
     text-align: center;
      margin-top: 20px; 
    }

.advice-footer p { 
    font-size: 1.1rem; 
    color: var(--slate-dark);
     font-weight: 500;
     }

/* Sección Cierre */
.final-cta-section {
     background: var(--white);
      text-align: center; 
      padding: 100px 20px;
     }

.final-cta-section .section-header-center {
     max-width: 850px;
      margin: 0 auto;
     }

.gallery-grid { 
    display: flex; 
    gap: 20px; 
    justify-content: center;
     margin-bottom: 30px; 
     flex-wrap: wrap; 
    }

.gallery-grid img { 
    width: 30%; 
    border-radius: 8px;
     box-shadow: var(--shadow-soft);
     }

     /*PLADUR*/

     /* --- Estilos para Secciones de Reformas --- */

/* Ajustes para "Nuestros trabajos en pladur" */
.info-grid {
    margin-top: 30px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 25px;
}

.info-card {
    text-align: left; 
    max-width: none;
}

.info-icon {
    margin: 0 0 20px 0;
}

.info-card h3 {
    color: var(--slate-dark); 
    font-size: 1.2rem; 
    margin-bottom: 0;
}

/* Ajustes para "Ideas más pedidas" */
.ideas-wrapper {
    max-width: 850px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 20px;
}

.idea-item {
    background: var(--white); 
    padding: 22px 25px; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-soft); 
    display: flex; 
    align-items: center; 
    gap: 20px;
}

.idea-icon {
    background: var(--green-light); 
    color: var(--green-main); 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.1rem; 
    flex-shrink: 0;
}

.idea-text {
    color: var(--slate-dark); 
    margin: 0; 
    font-size: 1.02rem; 
    font-weight: 500;
}

/* Ajustes para "Contacto" */
#contacto-proyecto {
    background: var(--white);
}

.btn-primary-action {
    margin-top: 20px;
}

/*PINTURA*/

/* Estilos para CTA Image Section */
.cta-image-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.cta-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cta-img-item img {
    width: 100%;
    border-radius: 12px;
    height: 200px;
    object-fit: cover;
}

/* Estilos de margen para secciones */
.reforma-studio-section .info-grid {
    margin-top: 30px;
}

.comparison-section .comparison-wrapper .btn-wrapper {
    text-align: center; 
    margin-top: 30px;
}