@font-face {
  font-family: 'ZonaPro Bold';
  src: url('fonts/ZonaPro-Bold.otf') format('opentype');
  font-weight: bold;
}

@font-face {
  font-family: 'ZonaPro Thin';
  src: url('fonts/ZonaPro-Thin.otf') format('opentype');
  font-weight: 100;
}


@font-face {
  font-family: 'Comfortaa';
  src: url('fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 700; 
  font-style: normal;
}



html, body {
    overflow-x: hidden;
    width: 100%;
}

        body {
            margin: 0;
             font-family: 'fira-sans', sans-serif;
            width: 100%;
            background-color: #fef5ef;
        }

        .container {
            max-width: 1355px;
            margin: 0 auto;
            padding: 0 20px;
        }

        h1, h2, h3, h4 {
          font-family: 'fira-sans', sans-serif;

        }

        h1 {
            font-size: 53px;
            line-height: 1.2;
            margin-top: 0;
            color: #584b53;
            font-style: italic;

            margin-top: 20px;
        }

        p {
            font-size: 1.3125rem;
              font-family: 'fira-sans', sans-serif;
            line-height: 1.2;

        }

        .header, .row-formulario {
        
            text-align: center;
            padding: 30px 20px;
          
        }



        .header .container {
             display: flex;
        align-items: center;
        flex-direction: column;

        }

        .header .logo {
            grid-column: 2;
            justify-self: center;
        }


        .header .logo{
            width: auto;
        }
        


        .highlight {
            color: #584b53;
        }
        .italic-bold {
            font-style: italic;
            font-size: 2em;
            font-weight: 500;
        }
        .btn {
            display: inline-block;
            color: white;
            padding: 20px 72px;
            font-weight: 500;
            text-decoration: none;
            margin-top: 50px;
            font-size: 25px;
            border: 4px solid #9d5c63;
            transition: 0.5s ease;
            border-radius: 40px;
            background: #584b53;
        }

        .btn:hover{
            background-color: #584b53;
            color: white;
        }


        .section {
            background: #FEF5EF;
            padding: 50px 50px;
        }

        .fila-contenido {
            display: block;
            margin: 0 auto;
            text-align: center;
        }


        .fila-contenido h3, .fila-contenido p {
            color: #584b53;
            font-size: 4rem;
        }


        .fila-contenido p{
            font-weight: bold;
        }

        .section h2 {
            margin-top: 0;
            font-size: 53px;
        }

        h2 {
            font-size: 4em;
            font-weight: 600;
            line-height: 1.2;
            color: #584b53;
        }

        h3 {
            font-size: 2.2em;
            font-weight: 600;
        }


        .back-degradado{

            background-image: url(images/Insonorizacion-acustica.jpg);
            background-repeat: no-repeat;
            background-size: contain;
            background-position: left;
          color: white;
          margin: 50px 0px;
        }


        .back-degradado{
            position: relative;
        }



.back-degradado::before {
  content: "";
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 simplificado */
  background-image: url('images/mascara-imagen.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0; /* detrás del contenido */
  pointer-events: none;
  left: 38%;
}


        .section.back-degradado h2 {
            font-size: 30px;
            font-weight: 700;
            color: white;
        }

        .section.back-degradado p {
            font-size: 34px;
            font-weight: normal;
        }


        .back-degradado h4 {
            font-size: 2.5rem;
            margin-top: 0px;
        }


        .flex-container {
            display: flex;
            justify-content: space-between;
            max-width: 1355px;
            margin: 0 auto;
            flex-wrap: wrap;
        }


        .fila2 {
            width: 100%;
            background-image: url(images/equipamos-espacios-abre-integra.jpeg);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            display: block;
            height: auto;
            padding: 40px 20px 40px;
            color: white;
            overflow: hidden;
            position: relative;
            z-index: 0; 

        }




        div#formulario h3{
            color: white;
        }

        .fila2::after {
            content: "";
            position: absolute;
            top: 0; left: 0;
            width: 100%;
            height: 100%;
            background: #00000073; /* capa oscura, ajusta opacidad aquí */
            z-index: 1;
        }




.fila2 > * {
    position: relative;
    z-index: 2; /* Coloca el contenido por encima de ::after */
}

        .fila2 p {
            text-align: center;
            font-size: 4rem;
            margin: 0;
            z-index: 9;
            position: relative;
            font-weight: 700;
        }

        div#form-spinner img {
            border: none !important;
            width: 200px;
            height: auto;
        }

        
.fila3 {
    position: relative;
    background-image: url(images/equipamiento-abre-integra.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    display: block;
    height: auto;
    padding: 80px 130px;
    color: white; /* para que el texto encima se vea */
    overflow: hidden;
}

.fila3::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: #584b53cc; /* capa oscura, ajusta opacidad aquí */
    z-index: 1;
}



.small-column {
    width: 44%;
    color: #584b53;
    padding: 40px;
    margin-right: 5%;
    box-sizing: border-box;

    text-align: center;
    z-index: 9;
}


.small-column > div {
    width: 100%;
    background-color: white;
    color: #584b53;
    padding: 40px;
    margin-right: 5%;
    box-sizing: border-box;
    border: 4px solid #e4bb97;
    border-radius: 60px;
    z-index: 9;
}


/* Contenido encima del overlay */
.fila3 > * {
    position: relative;
    z-index: 2;
}


        .fila3 p{

              font-family: 'fira-sans', sans-serif;

            font-size: 3rem;
            color: white;
            text-align: center;
            font-weight: 600;
        }

        .fila3 p.italic {
            font-size: 30px;
            font-weight: 300;
        }

        .section.back-degradado.text-big p{
            font-size: 25px;
            text-align: left;
            padding-right: 40px;
        }

        .column {
            width: 50%;
            margin-top: 40px;
            margin-bottom: 40px;
        }

        .icon-text {
            display: flex        ;
            flex-direction: row;
            align-items: flex-start;
        }

        .icon-text h3 {
            margin-bottom: 10px;
            text-align: left;
            margin-top: 0;
            font-size: 38px;
        }
        
        .column.col1 .icon-text img, .column.col3 .icon-text img {
            float: left;
            padding: 13px 15px 0px 0px;
            height: 220px;
            margin-right: 42px;
        }

        .column.col2 .icon-text img, .column.col4 .icon-text img{
            float: left;
            padding: 13px 0px 0px 15px;
            height: 220px;
            margin-left: 42px;
        }


         .column.col1 h3, .column.col1 p, .column.col3 h3, .column.col3 p {
            text-align: left;
        }


        
        .column.col2 h3, .column.col2 p, .column.col4 h3, .column.col4 p {
            text-align: right;
        }




        .column.col1 .icon-text, .column.col3 .icon-text {
            padding-right: 60px;
        }

        .column.col2 .icon-text, .column.col4 .icon-text {
            padding-left: 60px;
        }

        .atencion {
            width: 150px;
        }

        .h3-text {
            font-size: 3em;
            margin-top: 30px;
            margin-bottom: 30px;
            line-height: 1;
            font-weight: 600;
        }

        p.medium {
            font-weight: 600;
        }

    .two-columns {
        display: flex;
        gap: 20px;
        align-items: stretch; 
    }


    .big-column {
        flex: 1; 
    }

    .small-column > div {
        display: flex;
        flex-direction: column; 
    }



    .italic{
        font-style: italic;
        font-size: 30px;
    }

        .small-column h3 {
            font-size: 55px;
            margin: 0;
            font-weight: 700;
            line-height: 1.1;
            color: #584b53;
            text-align: left;
        }

        .small-column p {
            margin: 30px 0px 0px;
        }

        p.text-destacado {
            font-size: 29px;
            line-height: 1;
            color: #584b53;
            font-weight: 700;
            margin-top: 0px;
        }



        .row-formulario h3 {
            font-weight: 700;
            font-size: 43px;
            margin: 0;
            color: #584b53;
            line-height: 1.2;
            padding-top: 60px;
        }


        h4.margin-top {
            margin-top: 60px;
            margin-bottom: 35px;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 30px;
            max-width: 700px;
            margin: 0 auto;
            margin-top: 100px;
        }
        
        .form-row {
            display: flex;
            gap: 15px;
        }
        
        .form-group {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        label {
            margin-bottom: 5px;
            text-align: center;
            color: white;
            font-weight: 600;
            font-size: 20px;
        }
        
        input, textarea {
            width: calc(100% - 20px);
            padding: 18px 10px;
            border: 2px solid #e4bb97;
            border-radius: 24px;
            font-size: 1em;
            background: transparent;
            color: white;


             font-family: 'fira-sans', sans-serif;
        }
        
        textarea {
            resize: vertical;
            min-height: 100px;

             font-family: 'fira-sans', sans-serif;
             font-size: 1em;
        }
        
        .checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .checkbox input {
            width: auto;
        }
        
        .form .btn {
            background: #584b53;
            color: black;
            padding: 10px 15px;
            border: none;
            border-radius: 5px;
            font-size: 1.2em;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        button#submit {
            width: auto;
            margin: 0 auto;
            padding: 20px 120px;
            font-size: 1.5em;
            border: none;
            color: white;
            background: #584b53;
            cursor: pointer;
            transition: background 0.3s ease;
        }


        label a {
            color: #e4bb97;
        }


        .img-big img {
            width: 100%;
        }

        .img-big h3 {
            font-size: 85px;
            line-height: 1.2;
            margin-bottom: 0px;
        }


        .mostrar-movil{
            display: none;
        }




        footer#footer{
            background: #2A2126;
            color: white;
            padding: 40px;
            text-align: center;
            margin-top: 1px;
        }

#footer p a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}



p.texto_mas_peque {
    font-size: 3rem;
}


        /* Pantallas menores a 1200px (Laptops y Tablets Grandes) */
@media (max-width: 1200px) {
    .flex-container {
        flex-direction: column;
        align-items: center;
    }

    .column {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Pantallas menores a 992px (Tabletas) */
@media (max-width: 992px) {



    .header h1, h2, .h3-text {
        font-size: 40px;
    }


.column.col1 .icon-text, .column.col3 .icon-text {
    padding-right: 0px;
}

.column.col2 .icon-text, .column.col4 .icon-text {
    padding-left: 0px;
}
    .section {
        padding: 40px 15px;
    }





    .column .icon-text img {
        height: 100px !important;
    }

    .fila3 {
        padding: 10px;
    }


    .fila3 p {
        font-size: 35px;
    }

    .img-big h3 {
        font-size: 35px;
    }


    .ocultar-movil{
        display: none;
    }

    .fila2 {
        display: grid;
        background-size: cover;
        background-position: top;
    }


    .fila2 p{
        font-size: 30px;
    }

    .mostrar-movil {
        display: inline;
        margin: 0 auto;
        text-align: center;
        margin-bottom: 60px;
    }

            .two-columns {
        flex-direction: column;
        gap: 30px;
    }

    .back-degradado::before{
        display: none;
    }

    .small-column{
        width: 100%;
        padding: 0px;
    }

        .fila2 {
        background-size: cover;
        padding-left: 0px;
        padding-right: 0px;
    }

    .fila-contenido h3 {
    font-size: 3rem;
    line-height: 1;
}

}

/* Pantallas menores a 768px (Móviles y tablets pequeñas) */
@media (max-width: 768px) {


    .back-degradado h4 {
        font-size: 1.5rem;
        margin-top: 0px;
    }

    .section h2, .icon-text h3 {
        font-size: 30px;
    }


        .small-column {
        margin-right: 0;
        text-align: center;
    }

    .small-column > div {
        justify-content: center;
    }

        .small-column {
        margin-right: 0;
        text-align: center;
        margin: 24px;
        width: auto;
    }





    
    .row-formulario h3 {
        font-size: 30px;
    }


    .contact-form{
        margin-top: 40px;
    }

    .header .logo {
        width: 200px !important;
    }

    .fila2 {
    background-size: cover;
}

    .header .container {
        display: flex;
        flex-direction: column;
    }

    h1 {
       font-size: 2rem;
    }

    .section.back-degradado h2 {
        font-size: 25px;
        font-weight: 700;
        color: white;
    }

    .section.back-degradado p {
        font-size: 24px !important;
    }


    .section.back-degradado.text-big p {

    padding-right: 0px;
}

.small-column h3{
    font-size: 40px;
    line-height: 1.1;
}

    .btn {
        font-size: 1.5em;
        padding: 8px 15px;
    }

    .icon-text {
        align-items: center;
        text-align: center;
    }

    .icon-text img {
        margin-bottom: 15px;
    }

    .icon-text p {
        text-align: center;
    }



    .small-column .green-text {
        font-size: 10em;
        padding-right: 0;
    }


    .form-row {
        flex-direction: column;
    }
}

/* Pantallas menores a 480px (Móviles pequeños) */
@media (max-width: 480px) {
    .header h1,
    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.8em;
    }

    .btn {
        font-size: 1.2em;
        padding: 6px 12px;
    }

    .small-column .green-text {
        font-size: 8em;
    }
}


  

/*Cambios landing 26-06-2026*/

.nueva-lnd h2{
    margin: 0px;
}

.titulo_h2{
    font-size: 40px;
}

.small-text{
    font-size: 30px;
}

.texto_hero p{
    font-size: 40px;
}

.texto_hero .small-text{
    font-size: 30px;
}

.fila-contenido .small-text{
    font-size: 25px;
}

.diagnostico {
    text-align: center;
    padding: 70px 20px;
    max-width: 1355px;
    margin: 0 auto;
}

.diagnostico-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9d5c63;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 15px;
}

.diagnostico-titulo {
    color: #584b53;
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 50px;
}

.diagnostico-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.diag-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 32px;
    flex: 1 1 300px;
    max-width: 360px;
    box-shadow: 0 12px 35px rgba(88, 75, 83, 0.10);
    text-align: center;
    box-sizing: border-box;
}

.diag-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #9d5c63;
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.diag-card h3 {
    color: #584b53;
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 14px;
}

.diag-card p {
    color: #584b53;
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .diagnostico-cards {
        flex-direction: column;
        align-items: center;
    }
    .diag-card {
        max-width: 420px;
        width: 100%;
    }
}

.casos {
    max-width: 1355px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.casos-titulo {
    text-align: center;
    color: #584b53;
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 60px;
}

.caso {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}

.caso:last-child {
    margin-bottom: 0;
}

.caso-inverso {
    flex-direction: row-reverse;
}

.caso-band {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #584b53;
    padding: 60px 0;
    margin-bottom: 70px;
}

.caso-band .caso {
    max-width: 1315px;
    margin: 0 auto;
    padding: 0 20px;
    color: #ffffff;
}

.caso-oscuro .caso-sub,
.caso-oscuro .caso-item p {
    color: #ffffff;
}

.caso-oscuro .caso-label,
.caso-oscuro .caso-etq {
    color: #e4bb97;
}

.caso-texto {
    flex: 1 1 45%;
}

.caso-fotos {
    flex: 1 1 55%;
    position: relative;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(88, 75, 83, 0.18);
}

.caso-fotos img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1s ease;
}

.caso-fotos img.is-active {
    opacity: 1;
}

.caso-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(88, 75, 83, 0.55);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.caso-arrow:hover {
    background: rgba(88, 75, 83, 0.85);
}

.caso-arrow-prev {
    left: 10px;
}

.caso-arrow-next {
    right: 10px;
}

.caso-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9d5c63;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.caso-sub {
    color: #584b53;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 24px;
}

.caso-item {
    margin-bottom: 18px;
}

.caso-etq {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #9d5c63;
    margin-bottom: 2px;
}

.caso-item p {
    color: #584b53;
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .caso, .caso-inverso {
        flex-direction: column;
        gap: 28px;
    }
    .caso-texto, .caso-fotos {
        flex: 1 1 100%;
        width: 100%;
    }
    .casos-titulo {
        font-size: 32px;
    }
}

.testimonios {
    max-width: 1355px;
    margin: 0 auto;
    padding: 40px 20px 90px;
}

.testimonios-titulo {
    text-align: center;
    color: #584b53;
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 55px;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.testi-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 12px 35px rgba(88, 75, 83, 0.10);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.testi-comillas {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    line-height: 0.5;
    color: #9d5c63;
    height: 30px;
}

.testi-estrellas {
    color: #e4bb97;
    font-size: 1.25rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.testi-texto {
    color: #584b53;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 22px;
    flex-grow: 1;
}

.testi-autor {
    color: #9d5c63;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.testimonios-cta {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

/* ---- Ajustes responsive globales (móvil) 2026-07-01 ---- */
@media (max-width: 768px) {
    .titulo_h2 {
        font-size: 28px;
    }
    .texto_hero p {
        font-size: 20px;
    }
    .texto_hero p.italic {
        font-size: 18px !important;
    }
    .texto_hero .small-text,
    .header .small-text {
        font-size: 18px;
    }
    .small-column h3 {
        font-size: 30px;
    }
    .small-column > div {
        padding: 28px;
        border-radius: 32px;
    }
    .diagnostico-titulo {
        font-size: 28px;
    }
    .diagnostico-label {
        font-size: 1.3rem;
    }
    .diag-card {
        padding: 30px 22px;
    }
    .diag-card h3 {
        font-size: 22px;
    }
    .caso-band {
        padding: 40px 0;
    }
    .caso-band .caso {
        padding: 0 22px;
    }
    .caso-sub {
        font-size: 1.5rem;
    }
    .testimonios-titulo {
        font-size: 28px;
    }
    .testi-card {
        padding: 26px 22px;
    }
    .btn {
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .titulo_h2 {
        font-size: 24px;
    }
    .diagnostico-titulo,
    .testimonios-titulo,
    .casos-titulo {
        font-size: 24px;
    }
    .small-column h3 {
        font-size: 26px;
    }
    .btn {
        font-size: 1.05em;
        padding: 12px 22px;
    }
}

/* Fix fila2 (hero + formulario) recortada en móvil/tablet */
@media (max-width: 992px) {
    .fila2 {
        display: block;
        overflow: visible;
        height: auto;
    }
}