*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial, Helvetica, sans-serif;
background-image:url("../img/atiwood imagenes/atiwood_bg.jpg");
background-repeat:repeat;
background-position:center top;
}

.step-1{
background:#efefef;
width:min(92%,1400px);
margin:40px auto 0 auto;
padding:40px;
border-radius:4px;
}

.titulo{
text-align:center;
font-size:30px;
margin-bottom:40px;
}

.contenedor-modelos{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.tarjeta-modelo{
background:white;
border:1px solid #ddd;
padding:8px;
text-align:center;
transition:0.2s;
}

.tarjeta-modelo.seleccionado{
border:3px solid #218838;
}

.tarjeta-modelo img{
width:100%;
height:300px;
object-fit:contain;
display:block;
}

.tarjeta-modelo h4{
font-size:20px;
margin-top:15px;
}

.tarjeta-modelo p{
font-size:16px;
margin-top:10px;
margin-bottom:15px;
}

.boton{
background:white;
border:1px solid #aaa;
padding:10px 24px;
font-size:14px;
cursor:pointer;
border-radius:3px;
}

.boton:hover{
background:#ececec;
}

.zona-siguiente{
text-align:right;
margin-top:30px;
}

.step8-auto-box {
    display: block !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    text-align: right;
}

#step8-auto-promedio {
    display: inline-block !important;
    background: #2f8f46 !important;
    color: white !important;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

@media(max-width:900px){

.step-1{
width:96%;
margin:20px auto 0 auto;
padding:20px;
}

.contenedor-modelos{
grid-template-columns:1fr;
}

.tarjeta-modelo img{
height:230px;
}

.zona-siguiente{
text-align:center;
}

#boton-siguiente{
width:100%;
}

}
/* ===================================== */
/* TABLET */
/* ===================================== */

@media (max-width:900px){

.step-1{

width:95%;

padding:30px;

}

.contenedor-modelos{

display:grid;

grid-template-columns:1fr 1fr;

gap:20px;

}

.tarjeta-modelo img{

width:100%;

height:auto;

}

}


/* ===================================== */
/* MOBIL */
/* ===================================== */

@media (max-width:600px){

.step-1{

width:96%;

padding:20px;

}

.titulo{

font-size:34px;

margin-bottom:25px;

}

.contenedor-modelos{

display:grid;

grid-template-columns:1fr;

gap:20px;

}

.tarjeta-modelo{

padding:20px;

}

.tarjeta-modelo img{

width:100%;

max-height:250px;

object-fit:contain;

}

.zona-siguiente{

text-align:center;

}

#boton-siguiente{

width:100%;

height:55px;

font-size:18px;

}

}

/* STEP 2 */

.step-2{

background:#efefef;

width:min(92%,1400px);

min-height:650px;

margin:40px auto;

padding:40px;

border-radius:4px;

box-sizing:border-box;

}

.contenedor-modelos{

display:flex;

justify-content:space-between;

align-items:flex-start;

gap:25px;

}

.pared-col{

width:31%;

display:flex;

flex-direction:column;

align-items:center;

}

.tarjeta-modelo{

width:100%;

background:#efefef;

border:1px solid #ddd;

padding:12px;

text-align:center;

box-sizing:border-box;

}

.tarjeta-modelo img{

width:100%;

height:300px;

object-fit:contain;

}

.opciones-en-tarjeta{

width:100%;

margin-top:12px;

text-align:center;

}

.select-pared{

display:block;

width:min(92%,320px);

height:42px;

margin:8px auto;

padding:0 12px;

font-size:16px;

border:1px solid #ccc;

border-radius:4px;

background:white;

}

.nota-pared{

margin-top:10px;

font-size:13px;

color:#666;

text-align:center;

}

.zona-siguiente{
text-align:right;
margin-top:30px;
}
#boton-siguiente-step2{

background:#a8d9a8;

border:1px solid #96cb96;

color:white;

font-size:16px;

padding:12px 28px;

border-radius:3px;

cursor:default;

}

#boton-siguiente-step2.activo{

background:#218838;

border-color:#218838;

cursor:pointer;

}

@media(max-width:900px){

.contenedor-modelos{

flex-direction:column;

}

.pared-col{

width:100%;

}

.tarjeta-modelo img{

height:260px;

}

.select-pared{

width:95%;

height:48px;

}

}
/* ==================================================
   STEP 3 - TIPO DE CIMENTACIÓN
   ================================================== */

.step-3 {
    background: #efefef;
    width: min(96%, 1500px);
    min-height: 700px;
    margin: 40px auto;
    padding: 40px;
}

.step-3 .titulo {
    text-align: center;
    margin-bottom: 40px;
}

.zona-check-cimentacion {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.step-3 #cimentacion-opciones {
    margin-top: 20px;
}

.step-3 #cimentacion-cubierto,
.step-3 #cimentacion-tronco-info {
    margin-top: 35px;
    text-align: center;
}

.step-3 .cimentacion-acabado{

    width:min(92%,320px);

    height:42px;

    padding:0 12px;

    font-size:16px;

    border:1px solid #ccc;

    border-radius:4px;

    background:white;

    display:block;

    margin:8px auto;

}

.step-3 .zona-siguiente {
    text-align: right;
    margin-top: 40px;
}
.step-3 #next-step-3 {
    background: #9dd69f;
    color: white;
    border: none;
    padding: 14px 34px;
    border-radius: 3px;
    font-size: 22px;
    cursor: pointer;
}

.step-3 #next-step-3.activo {
    background: #5a9f5d !important;
}

.step-3 #next-step-3:disabled {
    background: #9dd69f;
    cursor: default;
}
.cimentacion-card{

    width:100%;

    background:#efefef;

    border:1px solid #ddd;

    padding:12px;

    text-align:center;

    box-sizing:border-box;

}
.cimentacion-card.seleccionado{

    border:3px solid #218838;

    outline:none;

    box-shadow:none;

}

.cimentacion-click.activo{

     background:#79c97b;

     color:white;

}
.cimentacion-click{

    font-size:16px;

    padding:12px 28px;

    min-width:120px;

    border-radius:3px;

    cursor:pointer;

}
.texto-cimentacion {
    text-align: center;
    font-size: 22px;
    margin-bottom: 12px;
}
/* =======================================================
   STEP 4 - MEDIDA DE CASA
======================================================= */

.step-4{
    width:94%;
    max-width:1400px;

    margin:30px auto;

    background:#f5f5f5;

    padding:40px;
    min-height:700px;
}

.step4-title{
    text-align:center;
    font-size:30px;
    font-weight:bold;
    margin-bottom:70px;
}

.step4-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:90px;
    align-items:start;
}

.step4-field{
    display:flex;
    flex-direction:column;
}

.step4-field label{
    font-weight:bold;
    margin-bottom:8px;
}

.step4-field input{
    width:100%;
    height:40px;
    padding:8px 12px;
    border:1px solid #ccc;
    border-radius:4px;
    font-size:15px;
}

#planta-alta-altura-box{
    margin-top:22px;
}

.step4-terraza-check{
    text-align:center;
    margin-top:55px;
    margin-bottom:35px;
    font-size:18px;
    font-weight:bold;
}

.step4-terraza-check input{
    margin-right:10px;
    transform:scale(1.2);
}

.step4-terraza-medidas{
    margin-top:25px;
}

.step4-terraza-grid{
    width:48%;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:45px;
}

.step-4 .error-step4{
    color:#d10000;
    font-weight:bold;
    margin-top:5px;
    min-height:18px;
    font-size:13px;
}

.step-4 .zona-siguiente{
    display:flex;
    justify-content:flex-end;
    margin-top:65px;
}

.step-4 #next-step-4{
    min-width:190px;
    height:46px;
    font-size:16px;
    background:#9dd69f;
    border:none;
    border-radius:4px;
    color:#fff;
}

.step-4 #next-step-4:enabled{
    background:#5a9f5d;
    cursor:pointer;
}

.step-4 #next-step-4:disabled{
    cursor:not-allowed;
}

/* ===========================
   STEP 4 - TABLET
=========================== */

@media (max-width:992px){

        .step-4{
        width:96%;
    }

    .step4-grid{
        gap:35px;
    }

    .step4-terraza-grid{
        width:75%;
        gap:30px;
    }

}

/* ===========================
   STEP 4 - MOBILE
=========================== */

@media (max-width:768px){
    .step-4{
     width:100%;
     margin:0;
    }

    .step-4{
        padding:25px;
    }

    .step4-title{
        font-size:26px;
        margin-bottom:40px;
    }

    .step4-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .step4-terraza-grid{
        width:100%;
        grid-template-columns:1fr;
        gap:22px;
    }

    .step-4 .zona-siguiente{
        justify-content:center;
    }

    .step-4 #next-step-4{
        width:100%;
    }

}

/* ==================================================
   STEP 5
================================================== */

.step-5 {
    background: #f2f2f2;
    min-height: 700px;
    padding: 35px 40px;
}

.step-5 .titulo-step {
    text-align: center;
    margin-bottom: 35px;
    font-size: 30px;
    font-weight: 600;
}

.step5-contenedor {
    display: flex;
    flex-direction: row;
    gap: 35px;
    align-items: flex-start;
}

.step5-info {
    width: 32%;
    background: #4d95c9;
    color: white;
    border-radius: 8px;
    padding: 28px;
    min-height: 420px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);

    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.step5-form {
    width: 68%;
    background: #ffffff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.step5-info h3,
.bloque-step5 h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.info-linea {
    border-bottom: 1px solid rgba(255,255,255,0.35);
    padding: 11px 0;
}

.info-linea span {
    display: block;
    font-size: 14px;
    opacity: 0.95;
}

.info-linea strong {
    display: block;
    margin-top: 4px;
    font-size: 19px;
}

.info-linea.restante strong {
    font-size: 26px;
}

.bloque-step5 {
    margin-bottom: 35px;
}

.bloque-step5 label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.select-step5 {
    width: 100%;
    max-width: 360px;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #bbb;
    border-radius: 6px;
    background: white;
}

.contenedor-estancias {
    margin-top: 25px;
}

.bloque-bano {
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.check-bano {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.check-bano input {
    width: 18px;
    height: 18px;
}

#zona-bano {
    display: none;
    margin-top: 20px;
}

.fila-estancia {
    border-bottom: 1px solid #ddd;
    padding: 22px 0;
}

.titulo-habitacion {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.numero-habitacion {
    background: #4d95c9;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.titulo-habitacion h4 {
    margin: 0;
    font-size: 18px;
}

.medidas-estancia {
    display: grid;
    grid-template-columns: 220px 220px;
    gap: 80px;
    align-items: end;
}

.medidas-estancia label {
    font-size: 14px;
    margin-bottom: 6px;
}

.input-step5 {
    width: 100%;
    height: 42px;
    padding: 8px 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 15px;
}

.error-step5 {
    margin-top: 8px;
    color: #b30000;
    font-size: 13px;
    font-weight: 600;
}
.step5-input-error {
    border: 2px solid #d93025 !important;
    background: #fff4f4;
    box-shadow: 0 0 0 3px rgba(217,48,37,0.12);
}

.zona-siguiente {
    text-align: right;
    margin-top: 35px;
}

.zona-siguiente button {
    background: #9dd69f;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 16px;
    cursor: not-allowed;
}

.zona-siguiente button:not(:disabled) {
    background: #5a9f5d;
    cursor: pointer;
}
#step5-error-superficie{
    display:none;
    background:#ffecec;
    border:2px solid #d93025;
    border-left:8px solid #d93025;
    color:#8b0000;
    padding:20px;
    margin-bottom:25px;
    border-radius:8px;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    animation:aparecer .25s ease;
}

#step5-error-superficie *{
    color:#8b0000;
}

#step5-error-superficie strong{
    display:block;
    font-size:22px;
    margin-bottom:10px;
}

#step5-error-superficie p{
    margin:0 0 10px 0;
    font-size:18px;
}

#step5-error-superficie ul{
    margin:0 0 0 25px;
    padding:0;
}

#step5-error-superficie li{
    margin:6px 0;
    font-size:18px;
}

.step5-error-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    background:#d93025;
    color:#ffffff !important;
    font-size:30px;
    font-weight:bold;
    line-height:48px;
    text-align:center;
    float:left;
    margin-right:18px;
}

@keyframes aparecer{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
    .step-5 {
        padding-bottom: 45vh;
    
}

/* TABLET */
@media (max-width: 1100px) {
    .step-5 {
        max-width: 96%;
        padding: 30px 24px;
    }

    .step5-contenedor {
        gap: 25px;
    }

    .step5-info {
        width: 34%;
        padding: 24px;
    }

    .step5-form {
        width: 66%;
        padding: 28px;
    }

    .medidas-estancia {
        grid-template-columns: 200px 200px;
        gap: 45px;
    }


/* TABLET KICSI */
@media (max-width: 900px) {
    }
    .step-5 {
        max-width: 96%;
        padding: 25px 18px;
    }

    .step5-contenedor {
        flex-direction: column;
    }

    .step5-info,
    .step5-form {
        width: 100%;
    }

    .select-step5 {
        max-width: 100%;
    }

    .medidas-estancia {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }


/* TABLET KICSI */
@media (max-width: 900px) {
    }
    .step-5 {
        max-width: 96%;
        padding: 20px 14px;
        margin: 20px auto;
    }

    .step-5 .titulo-step {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .step5-info,
    .step5-form {
        padding: 20px;
    }

    .medidas-estancia {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .zona-siguiente {
        text-align: center;
    }

    .zona-siguiente button {
        width: 100%;
        max-width: 300px;
    }

    #modelo3 .bloque-planta{
        padding:30px;
        border:1px solid #d6d6d6;
        border-radius:12px;
        background:#ffffff;
        box-shadow:0 2px 10px rgba(0,0,0,.08);
        margin-bottom:35px;
    }

    #bloque-planta-alta{
        background:#f3f7fb;
        border:2px solid #c7d9e8;
        margin-top:35px;
    }

    #modelo3 hr{
        margin:30px 0 25px;
        border:0;
        border-top:2px solid #d6d6d6;
    }

}    
  /* STEP5 - mobilon ne legyen lebegő információs blokk */
@media (max-width: 900px) {

    .step5-info {
        position: static;
        top: auto;
    }

    .step-5{
        padding-bottom:30vh;
    }
}

/* ================================================== */
/* STEP 6 - PUERTAS */
/* ================================================== */

.step-6{
    max-width:1300px;
    margin:0 auto;
    background:#f4f4f4;
    padding:40px 55px;
    min-height:700px;
}
.step6-contenedor{
    width:100%;
}

.step6-form{
    width:100%;
}

.step6-bloque,
.step6-card{
    background:#f5f5f5;
    border:1px solid #ddd;
    border-radius:8px;
    padding:22px;
    margin-bottom:20px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.step6-card h3,
.step6-bloque h3{
    margin:0 0 18px;
    font-size:20px;
    color:#333;
    border-bottom:1px solid #eee;
    padding-bottom:12px;
}

.step6-titulo-planta{
    max-width:1100px;
    margin:30px auto 18px;
    padding:18px 20px;

    background:#5a9f5d;
    color:white;

    border-radius:6px;

    font-size:36px;
    font-weight:800;
    text-align:center;

    display:block;
    width:100%;
}

.step6-fila{
    display:grid;
    grid-template-columns:220px 300px 300px;
    gap:25px;
    align-items:end;
    margin-bottom:16px;
}

.step6-fila select{
    width:300px !important;
    max-width:300px !important;
}

.step6-label{
    font-weight:600;
    color:#333;
    padding-bottom:10px;
}

.step6-campo label{
    display:block;
    font-size:14px;
    margin-bottom:6px;
    color:#555;
}

.step6-select{
    width:300px;
    max-width:300px;
    height:42px;
    padding:7px 10px;
    border:1px solid #ccc;
    border-radius:5px;
    background:#fff;
    font-size:15px;
}

.step6-select:focus{
    outline:none;
    border-color:#5a9f5d;
    box-shadow:0 0 0 2px rgba(90,159,93,0.15);
}

.step6-check{
    display:block;
    margin:18px 0 10px;
    padding:12px 14px;
    background:#f4faf5;
    border:1px solid #cfe8d5;
    border-radius:6px;
    font-weight:600;
}

.step6-check input{
    margin-right:8px;
}

.step6-terraza{
    display:none;
    margin-top:12px;
    padding-top:16px;
    border-top:1px dashed #cfe8d5;
}

.zona-siguiente{
    max-width:1100px;
    margin:25px auto 0;
    text-align:right;
}

#next-step-6{
    background:#9dd69f;
    color:#fff;
    border:0;
    border-radius:4px;
    padding:12px 35px;
    cursor:not-allowed;
}

#next-step-6:not(:disabled){
    background:#5a9f5d;
    cursor:pointer;
}
#step6-titulo-principal{
    display:block;
    width:100%;
    text-align:center !important;
    font-size:42px !important;
    font-weight:700 !important;
    margin:0 auto 35px auto !important;
}
.step-6{
    padding-bottom:45vh;
}

@media(max-width:700px){

    .step6-fila{
        grid-template-columns:1fr;
        gap:10px;
    }

    .step6-label{
        padding-bottom:0;
    }
    .step6-select.step6-seleccionado{
        border-color:#5a9f5d !important;
        box-shadow:0 0 0 1px rgba(90,159,93,0.25) !important;
    }

    .step-6{
        padding-bottom:30vh;
    }
}
/* ================================================== */
/* STEP 7 - VENTANAS */
/* ================================================== */

.step-7{
    max-width:1300px;
    margin:0 auto;
    background:#f4f4f4;
    padding:40px 55px;
    min-height:700px;
}

.step7-contenedor{
    width:100%;
}

.step7-form{
    width:100%;
}

.step7-bloque,
.step7-card{
    background:#f5f5f5;
    border:1px solid #ddd;
    border-radius:8px;
    padding:22px;
    margin-bottom:20px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.step7-card h3,
.step7-bloque h3{
    margin:0 0 18px;
    font-size:20px;
    color:#333;
    border-bottom:1px solid #eee;
    padding-bottom:12px;
}

.step7-titulo-planta{
    max-width:1100px;
    margin:30px auto 18px;
    padding:18px 20px;
    background:#5a9f5d;
    color:white;
    border-radius:6px;
    font-size:36px;
    font-weight:800;
    text-align:center;
    display:block;
    width:100%;
}

.step7-fila{
    display:grid;
    grid-template-columns:220px 300px 160px 160px;
    gap:25px;
    align-items:end;
    margin-bottom:16px;
}

.step7-fila select{
    width:300px !important;
    max-width:300px !important;
}

.step7-label{
    font-weight:600;
    color:#333;
    padding-bottom:10px;
}

.step7-campo label{
    display:block;
    font-size:14px;
    margin-bottom:6px;
    color:#555;
}

.step7-select,
.step7-input{
    width:300px;
    max-width:300px;
    height:42px;
    padding:7px 10px;
    border:1px solid #ccc;
    border-radius:5px;
    background:#fff;
    font-size:15px;
}

.step7-select:focus,
.step7-input:focus{
    outline:none;
    border-color:#5a9f5d;
    box-shadow:0 0 0 2px rgba(90,159,93,0.15);
}

.step7-ventanas-generadas{
    margin-top:18px;
}

.step7-ventana-item{
    background:#ffffff;
    border:1px solid #dcdcdc;
    border-radius:6px;
    padding:18px;
    margin-top:14px;
}

.step7-ventana-item h4{
    margin:0 0 14px;
    font-size:17px;
    color:#333;
}

#next-step-7{
    background:#9dd69f;
    color:#fff;
    border:0;
    border-radius:4px;
    padding:12px 35px;
    cursor:not-allowed;
}

#next-step-7:not(:disabled){
    background:#5a9f5d;
    cursor:pointer;
}

#step7-titulo-principal{
    display:block;
    width:100%;
    text-align:center !important;
    font-size:42px !important;
    font-weight:700 !important;
    margin:0 auto 35px auto !important;
}
.step7-zona-personalizada{
    grid-template-columns:220px 160px 160px !important;
    align-items:end;
}

.step7-zona-personalizada .step7-campo{
    width:160px;
}

.step7-zona-personalizada .step7-input{
    width:160px !important;
    max-width:160px !important;
}
.step7-error-medida{
    color:#b00020;
    font-size:14px;
    font-weight:600;
    margin-top:10px;
}
.step-7{
    padding-bottom:45vh;
}

@media(max-width:700px){

    .step7-fila{
        grid-template-columns:1fr;
        gap:10px;
    }

    .step7-label{
        padding-bottom:0;
    }

    .step7-select,
    .step7-input{
        width:100%;
        max-width:100%;
    }
    .step-7{
    padding-bottom:30vh;
    }
}
/* ==================================================
   STEP 8 - INSTALACIÓN ELÉCTRICA
================================================== */
.step-8 .titulo-step {
    text-align: center;
    font-size: 34px;
    margin-bottom: 40px;
}
.step-8 {
    background: #f3f3f3;
    min-height: 700px;
    padding: 40px;
}

.step8-contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.step8-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.step8-card h3 {
    margin: 0 0 18px 0;
    font-size: 22px;
    color: #2f5f3a;
}

.step8-fila {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.8fr;
    gap: 18px;
    align-items: start;
}

.step8-col label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.step8-select {
    width: 100%;
    max-width: 170px;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 16px;
}

.step8-estancia {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.step8-interruptores {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step8-luz-control {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    align-items: center;
}

.step8-info {
    color: #666;
    font-size: 15px;
    padding-top: 10px;
}

.step8-camaras-opciones {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.step8-btn-camara {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    background: #9dd69f;
    cursor: pointer;
    font-size: 16px;
}

.step8-btn-camara.activo {
    background: #5a9f5d;
    color: #fff;
}

#next-step-8 {
    background: #9dd69f;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    cursor: not-allowed;
}

#next-step-8.activo {
    background: #5a9f5d;
    cursor: pointer;
}

#next-step-8:disabled {
    opacity: 0.6;
}
.step8-auto-box {
    max-width: 1200px;
    margin: -20px auto 20px auto;
    text-align: right;
}

#step8-auto-promedio {
    background: #2f8f46;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 900px) {
    .step8-fila {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .step-8 {
        padding: 25px 15px;
    }

    .step8-fila {
        grid-template-columns: 1fr;
    }

    .step8-select {
        max-width: 100%;
    }
}
/* ===========================
   STEP 9 - Trabajos de baños
=========================== */

.step-9 {

    background: #f3f3f3;

    padding: 40px;

    min-height: 700px;

}

.step-9 h2 {

    text-align: center;

    font-size: 32px;

    margin-bottom: 20px;

    color: #333;

}

.step9-info {

    text-align: center;

    font-size: 18px;

    color: #555;

    margin-bottom: 35px;

}

#step9-banos {

    display: flex;

    flex-direction: column;

    gap: 30px;

}

.step9-bano {

    background: #ffffff;

    border-radius: 12px;

    padding: 25px;

    box-shadow: 0 3px 12px rgba(0,0,0,.12);

}

.step9-bano h3 {

    margin: 0 0 25px;

    font-size: 22px;

    color: #444;

}

.step9-opciones {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 25px;

}

.step9-opcion {

    background: #f8f8f8;

    border-radius: 10px;

    padding: 20px;

    text-align: center;

    border: 1px solid #ddd;

    transition: .3s;

}

.step9-opcion:hover {

    border-color: #5a9f5d;

    box-shadow: 0 0 8px rgba(90,159,93,.25);

}

.step9-opcion label {

    display: block;

    cursor: pointer;

}

.step9-opcion span {

    display: block;

    font-size: 17px;

    font-weight: bold;

    color: #444;

    margin-bottom: 18px;

}

.step9-opcion input[type="checkbox"] {

    width: 24px;

    height: 24px;

    cursor: pointer;

}

.zona-siguiente {

    display: flex;

    justify-content: flex-end;

    margin-top: 35px;

}

#next-step-9 {

    background: #9dd69f;

    color: #fff;

    border: none;

    border-radius: 8px;

    padding: 14px 35px;

    font-size: 18px;

    cursor: not-allowed;

    transition: .3s;

}

#next-step-9.activo {

    background: #5a9f5d;

    cursor: pointer;

}

#next-step-9:hover.activo {

    background: #4a8d4d;

}

/* ===========================
   TABLET
=========================== */

@media (max-width:900px) {

    .step9-bano {

        padding: 20px;

    }

    .step9-bano h3 {

        font-size: 20px;

    }

    .step9-opciones {

        grid-template-columns: repeat(2,1fr);

        gap: 20px;

    }

    .step9-opcion span {

        font-size: 16px;

    }

}

/* ===========================
   MÓVIL
=========================== */

@media (max-width:600px) {

    .step-9 {

        padding: 20px;

    }

    .step-9 h2 {

        font-size: 26px;

    }

    .step9-info {

        font-size: 16px;

        margin-bottom: 25px;

    }

    .step9-bano {

        padding: 18px;

    }

    .step9-bano h3 {

        font-size: 20px;

        margin-bottom: 18px;

    }

    .step9-opciones {

        grid-template-columns: 1fr;

        gap: 15px;

    }

    .step9-opcion {

        padding: 16px;

    }

    .step9-opcion span {

        font-size: 16px;

        margin-bottom: 14px;

    }

    .zona-siguiente {

        justify-content: center;

    }

    #next-step-9 {

        width: 100%;

        max-width: 280px;

    }

}
/* ===========================
   STEP 10 - Cubierta
=========================== */

.step-10 {

    background:#f3f3f3;

    padding:40px;

    min-height:700px;

}

.step-10 h2 {

    text-align:center;

    font-size:32px;

    margin-bottom:20px;

    color:#333;

}

.step10-info {

    text-align:center;

    font-size:18px;

    color:#555;

    margin-bottom:35px;

}

#step10-materiales{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.techo-card{

    background:#fff;

    border:2px solid #ddd;

    border-radius:12px;

    padding:20px;

    text-align:center;

    transition:.3s;

}

.techo-card:hover{

    border-color:#5a9f5d;

    box-shadow:0 0 10px rgba(90,159,93,.25);

}

.techo-card.seleccionado{

    border:3px solid #5a9f5d;

}

.techo-card img{

    width:100%;

    height:240px;

    object-fit:contain;

    margin-bottom:20px;

}

.techo-card h3{

    font-size:22px;

    color:#444;

    margin-bottom:20px;

}

.seleccionar-techo{

    background:#9dd69f;

    color:#fff;

    border:none;

    border-radius:8px;

    padding:12px 28px;

    font-size:17px;

    cursor:pointer;

}

.seleccionar-techo:hover{

    background:#5a9f5d;

}

#step10-colores{

    margin-top:40px;

}

.step10-color-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.step10-color-card{

    background:#fff;

    border:2px solid #ddd;

    border-radius:12px;

    padding:20px;

    text-align:center;

    transition:.3s;

}

.step10-color-card:hover{

    border-color:#5a9f5d;

    box-shadow:0 0 10px rgba(90,159,93,.25);

}

.step10-color-card.seleccionado{

    border:3px solid #5a9f5d;

}

.step10-color-muestra{

    width:100%;

    height:120px;

    border-radius:10px;

    margin-bottom:18px;

}

.color-burdeos{background:#7d1f26;}
.color-gris{background:#4a4a4a;}
.color-verde{background:#366b37;}
.color-negro{background:#111;}
.color-rojo{background:#b43b2d;}
.color-envejecida{background:linear-gradient(135deg,#8f4c2d,#b87b49,#6d3b21);}

.step10-color-card h4{

    font-size:20px;

    margin-bottom:18px;

    color:#444;

}

.zona-siguiente{

    display:flex;

    justify-content:flex-end;

    margin-top:35px;

}

#next-step-10{

    background:#9dd69f;

    color:#fff;

    border:none;

    border-radius:8px;

    padding:14px 35px;

    font-size:18px;

    cursor:not-allowed;

}

#next-step-10.activo{

    background:#5a9f5d;

    cursor:pointer;

}
.seleccionar-color {

    background:#fff;

    color:#000;

    border:1px solid #aaa;

    padding:10px 28px;

    font-size:16px;

    cursor:pointer;

}

.seleccionar-color:hover {

    background:#f1f1f1;

}

.seleccionar-techo{

    background:#ffffff;

    color:#000;

    border:1px solid #bdbdbd;

    border-radius:4px;

    width:125px;

    height:40px;

    font-size:16px;

    cursor:pointer;

}

.seleccionar-techo:hover{

    background:#f2f2f2;

}

/* ===========================
   TABLET
=========================== */

@media(max-width:900px){

    #step10-materiales,
    .step10-color-grid{

        grid-template-columns:1fr;

    }

}
.seleccionar-techo{

    background:#ffffff;

    color:#000;

    border:1px solid #bdbdbd;

    border-radius:4px;

    width:125px;

    height:40px;

    font-size:16px;

    cursor:pointer;

}

.seleccionar-techo:hover{

    background:#f2f2f2;

}
/* ===========================
   MOVIL
=========================== */

@media(max-width:600px){

    .step-10{

        padding:20px;

    }

    .step-10 h2{

        font-size:26px;

    }

    .step10-info{

        font-size:16px;

    }

}

/* =========================
   STEP 11 - RESUMEN FINAL
========================= */

.step-11 {
    max-width: 980px;
    margin: 40px auto;
    background: #ffffff;
    padding: 35px 45px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    font-family: Arial, sans-serif;
}

.step11-cliente {
    text-align: center;
}

.step11-cliente h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.step11-cliente h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.precio-final-cliente {
    font-size: 38px;
    font-weight: bold;
    margin: 10px 0 10px;
}

.step11-nota-precio {
    font-size: 13px;
    color: #555;
    max-width: 720px;
    margin: 0 auto 30px;
}

.step11-resumen-proyecto {
    text-align: left;
    max-width: 760px;
    margin: 35px auto;
}

.step11-resumen-proyecto h3 {
    text-align: left;
    font-size: 22px;
    margin-bottom: 18px;
}

.step11-section,
.step11-bloque {
    margin-bottom: 18px;
    border: 1px solid #ddd;
}

.step11-section h3,
.step11-bloque h4 {
    background: #e8eef3;
    padding: 12px 14px;
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
}

.step11-section p,
.step11-bloque p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 10px 14px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
}

.step11-section p:nth-child(even),
.step11-bloque p:nth-child(even) {
    background: #f8f8f8;
}

.step11-section strong,
.step11-bloque strong {
    color: #333;
}

.step11-botones {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.step11-botones button {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#step11-descargar-pdf {
    background: #2f80c8;
    color: white;
}

#step11-contacto {
    background: #3faf4a;
    color: white;
}
.step11-planta-titulo{
    background:#d8c9a3;
    padding:12px 20px;
    font-size:22px;
    font-weight:bold;
    margin-top:25px;
    margin-bottom:15px;
}
.step11-fila{
    display: grid;
    grid-template-columns: 45% 30% 25%;

    padding: 18px 15px;

    background: #f3f3f3;

    border-top: 1px solid #d8d8d8;

    font-size: 16px;
}

.step11-col-izq{
    font-weight: 700;
    text-align: left;
}

.step11-col-centro{
    text-align: center;
}

.step11-col-der{
    text-align: right;
}.step11-fila {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 14px 16px;
    background: #f4f4f4;
    border-top: 1px solid #ddd;
    font-size: 15px;
}

.step11-fila span:nth-child(2) {
    text-align: center;
}

.step11-fila span:nth-child(3) {
    text-align: right;
}

/* STEP11 - ELECTRICIDAD */

.step11-electricidad-tabla {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.step11-electricidad-header,
.step11-electricidad-fila {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
}

.step11-electricidad-header {
    background: #eaf1f6;
    font-weight: bold;
}

.step11-electricidad-fila {
    background: #f7f7f7;
}

.step11-electricidad-fila:last-child {
    border-bottom: none;
}

.step11-electricidad-interruptores div {
    margin-bottom: 4px;
}


/* STEP11 - BAÑOS */

.step11-bano {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 0;
    margin-bottom: 18px;
}

.step11-bano h4 {
    background: #eaf1f6;
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid #ddd;
}

.step11-bano-linea {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
}

.step11-si {
    color: green;
    font-weight: bold;
}

.step11-no {
    color: #999;
}
.step11-condiciones ul{
    display:inline-block;
    text-align:left;
    margin:15px auto;
    padding-left:25px;
}

.step11-condiciones li{
    margin-bottom:6px;
}

.step11-condiciones h3{
    text-align:center;
    margin-top:20px;
    margin-bottom:10px;
}
.step11-condiciones ul{
    display:inline-block;
    text-align:left;
    margin:15px auto;
    padding-left:25px;
}

.step11-contacto-panel{
    max-width:700px;
    margin:30px auto;
    padding:30px;
    background:#5f783f;
    border-radius:12px;
    box-sizing:border-box;
}

.step11-contacto-panel h3{
    color:white;
    text-align:center;
    margin-top:0;
    margin-bottom:25px;
}

.step11-contacto-panel label{
    display:block;
    color:white;
    margin-top:15px;
    margin-bottom:5px;
    font-weight:600;
}

.step11-contacto-panel input,
.step11-contacto-panel textarea{
    width:100%;
    padding:12px;
    border:none;
    border-radius:6px;
    box-sizing:border-box;
    font-size:16px;
    background:white;
}

.step11-contacto-panel textarea{
    resize:vertical;
    min-height:120px;
}

.step11-contacto-aviso{
    color:white;
    margin-top:15px;
    text-align:center;
    font-size:14px;
}

#step11-contacto-enviar{
    display:block;
    margin:25px auto 0 auto;
    padding:14px 40px;
    background:#2d8a3d;
    color:white;
    border:none;
    border-radius:6px;
    font-size:18px;
    cursor:pointer;
}
.contacto-logo{

    text-align:center;
    margin-bottom:20px;

}

.contacto-logo img{
    width:260px;
    max-width:90%;
    height:auto;
    display:block;
    margin:auto;
    background:#f5f5f5;
    padding:15px;
    border-radius:10px;
    border:1px solid #ddd;
}

.contacto-logo{
    text-align:center;
    margin-bottom:20px;
}

.contacto-logo img{
    width:260px;
    max-width:90%;
    height:auto;
    padding:12px;
    background:rgb(255, 255, 255);
    border:1px solid #dddddd;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.12);
}

@media (max-width:600px){

    .step11-condiciones ul{
        width:90%;
        display:block;
        margin:auto;
        padding-left:20px;
    }
    

}