/*General*/
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

    body {
        font-family: Verdana, sans-serif;
        background-color: rgb(240,240,240);
    }


/*Ordenador*/
@media (min-width: 1025px){
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        height: 100px;
    }

    .header-padre {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
    }


    /*Header 1*/
    .logo img {
        height: 60px;
    }

    .contact-info {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .contact-info div {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .phone img {
        height: 30px;
    }

    .email img {
        height: 20px;
    }

    .contact-info a {
        font-size: 16px;
        color: black;
        text-decoration: none;
    }

    .contact-info a:hover {
        color: #0091FA;
    }


    /*Header 2*/
    .header2 {
        background-color: #0091FA;
        height: 70px;
    }

    .banderas {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 25px;
        padding-left: 25px;
    }

    .banderas img {
        height: 25px;
    }

    .banderas img:hover {
        height: 30px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .boton a {
        padding-right: 30px;
        text-decoration: none;
        color: black;
        background-color: #F9AD02;
        text-align: center;
        padding: 12px;
        border-radius: 20px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .boton a:hover {
        font-size: 17px;
        background-color: #e6a100;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }


    /*Foto portada*/
    .foto {
        position: relative;
        width: 100%;
        height: 650px;
        margin-top: 170px;
    }

    .foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .cuadrado-frase {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 800px;
        height: 400px;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(6px);
    }

    .foto p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        justify-content: baseline;
        color: white;
        font-size: 23px;
        width: 600px;
        max-width: 80%;
        line-height: 1.7;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
        font-weight: 500;
        text-align: center;
    }


    /*Reseñas de Google*/
    .reviews-section {
        max-width: 1200px;
        margin: auto;
        padding: 40px 20px;
    }

    .reviews {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .review {
        background: rgb(230, 229, 229);
        padding: 20px;
        border-radius: 4px;
        text-align: left;
        min-height: 100%;
    }

    .review-top {
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .purple { background: #7e57c2; }
    .red { background: #d81b60; }

    .review-top small {
        display: block;
        color: #777;
        font-size: 12px;
    }

    .google-icon {
        width: 18px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .stars {
        color: #fbbc04;
        margin: 7px 0;
        font-size: 24px;
    }

    .review p {
        font-size: 13.5px;
        line-height: 1.4;
    }


    /*Div "Autorizado"*/
    .autorizado {
        background-color: #0091FA;
    }

    .autorizado h1 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
    }



    /*Servicios*/
    .title-servicios {
        text-align: center;
    }

    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 10px;
        max-width: 1200px;
        margin: auto;
    }


    /* Tarjetas*/
    .card {
        perspective: 1000px;
    }

    .general {
        position: relative;
        width: 100%;
        height: 260px;
        transform-style: preserve-3d;
        transition: transform 0.8s;
    }

    .card:hover .general {
        transform: rotateY(180deg);
    }

    .front, .back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: solid 1.9px black;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .front {
        background-color: rgb(240,240,240);
    }

    .front img {
        width: 80%;
        height: 70%;
        object-fit: cover;
    }

    .front h3 {
        margin: 5px;
        text-align: center;
    }

    .back {
        background: black;
        color: white;
        padding: 20px;
        transform: rotateY(180deg);
        text-align: center;
    }


    /*Cargadores*/
    .cargador {
        background-color: #0091FA;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cargador h2 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        font-size: 27px;
    }

    .cargador img {
        height: 100%;
    }

    .vehiculos p, .placas-solares p {
        text-align: justify;
        margin-left: 17%;
        margin-right: 17%;
        line-height: 1.5;
    }

    .h2 {
        text-align: justify;
        margin-left: 16%;
        margin-right: 17%;
        color: #112945;
    }

    .vehiculos h3, .placas-solares h3 {
        text-align: justify;
        margin-left: 17%;
        margin-right: 17%;
        color: #2F3E55;
    }

    .vehiculos li, .placas-solares li {
        text-align: justify;
        margin-left: 19%;
        margin-right: 17%;
        line-height: 1.5;
    }

    .vehiculos li::marker, .placas-solares li::marker {
        color: #112945;
    }

    .carrusel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        width: 100%;
    }

    .carrusel img {
        width: 20%;
        height: 250px;
        object-fit: cover;
        display: block;
        border: solid #112945 1px;
        border-collapse: collapse;
    }

    .logos {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: #0E2642;
        height: 150px;
    }

    .logo1 {
        height: 90%;
        object-fit: contain;
    }

    .logo2 {
        height: 40%;
        object-fit: contain;
    }



    /*Placas solares*/
    .placas {
        background-color: #0091FA;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .placas h2 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
    }

    .placas img {
        height: 100%;
    }


    /*Footer*/
    footer {
        background-color: #63beff;
    }

    .div-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .logo-footer {
        padding-top: 40px;
        padding-bottom: 30px;
        padding-left: 70px;
    }

    .indice-footer {
        padding-top: 40px;
        padding-bottom: 30px;
        padding-right: 160px;
        line-height: 1.7;
    }

    .logo-footer img {
        height: 300px;
    }

    .indice-footer a {
        color: black;
        text-decoration: none;
    }

    .indice-footer a:hover {
        color: white;
    }

    .subtitulo {
        padding-left: 30px;
    }

    footer p {
        text-align: center;
        font-size: 13px;
    }
}








/*Portatil*/
@media (max-width: 1024px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        height: 100px;
    }

    .header-padre {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
    }


    /*Header 1*/
    .logo img {
        height: 55px;
    }

    .contact-info {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .contact-info div {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .phone img {
        height: 25px;
    }

    .email img {
        height: 19px;
    }

    .contact-info a {
        font-size: 15px;
        color: black;
        text-decoration: none;
    }

    .contact-info a:hover {
        color: #0091FA;
    }


    /*Header 2*/
    .header2 {
        background-color: #0091FA;
        height: 70px;
    }

    .banderas {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 25px;
        padding-left: 10px;
    }

    .banderas img {
        height: 25px;
    }

    .banderas img:hover {
        height: 30px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .boton a {
        padding-right: 30px;
        text-decoration: none;
        color: black;
        background-color: #F9AD02;
        text-align: center;
        padding: 10px;
        border-radius: 20px;
        font-size: 14px;
    }

    .boton a:hover {
        font-size: 15px;
        background-color: #e6a100;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }


    /*Foto portada*/
    .foto {
        position: relative;
        width: 100%;
        height: 650px;
        margin-top: 150px;
    }

    .foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .cuadrado-frase {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        height: 350px;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(6px);
    }

    .foto p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        justify-content: baseline;
        color: white;
        font-size: 23px;
        width: 550px;
        max-width: 80%;
        line-height: 1.7;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
        font-weight: 500;
        text-align: center;
    }


    /*Reseñas de Google*/
    .reviews-section {
        max-width: 1024px;
        margin: auto;
        padding: 10px 10px;
    }

    .reviews {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .review {
        background: rgb(230, 229, 229);
        padding: 12px;
        border-radius: 4px;
        text-align: left;
        min-height: 130px;
    }

    .review-top {
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
    }

    .avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .purple { background: #7e57c2; }
    .red { background: #d81b60; }

    .review-top small {
        display: block;
        color: #777;
        font-size: 11px;
    }

    .google-icon {
        width: 16px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .stars {
        color: #fbbc04;
        margin: 5px 0;
        font-size: 23px;
    }

    .review p {
        font-size: 13px;
        line-height: 1.3;
    }

    .review strong {
        font-size: 15px;
    }


    /*Div "Autorizado"*/
    .autorizado {
        padding: 10px;
        background-color: #0091FA;
    }

    .autorizado h1 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        font-size: 25px;
        text-align: center;
    }


    /*Servicios*/
    .title-servicios {
        text-align: center;
    }

    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 8px;
        max-width: 1024px;
        margin: auto;
    }


    /* Tarjetas*/
    .card {
        perspective: 1000px;
    }

    .general {
        position: relative;
        width: 100%;
        height: 240px;
        transform-style: preserve-3d;
        transition: transform 0.8s;
    }

    .card:hover .general {
        transform: rotateY(180deg);
    }

    .front, .back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: solid 1.9px black;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .front {
        background-color: rgb(240,240,240);
    }

    .front img {
        width: 80%;
        height: 70%;
        object-fit: cover;
    }

    .front h3 {
        margin: 5px;
        text-align: center;
        font-size: 18px;
    }

    .back {
        background: black;
        color: white;
        padding: 20px;
        transform: rotateY(180deg);
        text-align: center;
    }

    .back p {
        font-size: 14px;
    }


    /*Cargadores*/
    .cargador {
        background-color: #0091FA;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cargador h2 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        font-size: 26px;
    }

    .cargador img {
        height: 100%;
    }

    .vehiculos p, .placas-solares p {
        text-align: justify;
        margin-left: 17%;
        margin-right: 17%;
        line-height: 1.4;
        font-size: 15px;
    }

    .h2 {
        margin-left: 16%;
        margin-right: 17%;
        color: #112945;
        font-size: 22px;
    }

    .vehiculos h3, .placas-solares h3 {
        margin-left: 17%;
        margin-right: 17%;
        color: #2F3E55;
        font-size: 18px;
    }

    .vehiculos li, .placas-solares li {
        text-align: justify;
        margin-left: 19%;
        margin-right: 17%;
        line-height: 1.4;
        font-size: 15px;
    }

    .vehiculos li::marker, .placas-solares li::marker {
        color: #112945;
    }

    .carrusel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        width: 100%;
    }

    .carrusel img {
        width: 20%;
        height: 190px;
        object-fit: cover;
        display: block;
        border: solid #112945 1px;
        border-collapse: collapse;
    }

    .logos {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: #0E2642;
        height: 120px;
        max-width: 100%;
    }

    .logo1 {
        height: 94px;
        max-width: 100%;
        object-fit: contain;
    }

    .logo2 {
        height: 46px;
        max-width: 100%;
        object-fit: contain;
    }


    /*Placas solares*/
    .placas {
        background-color: #0091FA;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .placas h2 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        font-size: 20px;
    }

    .placas img {
        height: 100%;
    }


    /*Footer*/
    footer {
        background-color: #63beff;
    }

    .div-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .logo-footer {
        padding-top: 30px;
        padding-bottom: 20px;
        padding-left: 50px;
    }

    .indice-footer {
        padding-top: 30px;
        padding-bottom: 20px;
        padding-right: 50px;
        line-height: 1.7;
    }

    .logo-footer img {
        height: 230px;
    }

    .indice-footer a {
        color: black;
        text-decoration: none;
        font-size: 14px;
    }

    .indice-footer a:hover {
        color: white;
    }

    .subtitulo {
        padding-left: 30px;
    }

    footer p {
        color: black;
        text-align: center;
        font-size: 11px;
        margin-left: 20px;
        margin-right: 20px;
    }
}









/*Tablet*/
@media (max-width: 740px) {
    header {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        height: 130px;
    }

    .header-padre {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
    }


    /*Header 1*/
    .logo img {
        height: 50px;
    }

    .contact-info {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .contact-info div {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .phone img {
        height: 23px;
    }

    .email img {
        height: 17px;
    }

    .contact-info a {
        font-size: 13px;
        color: black;
        text-decoration: none;
    }

    .contact-info a:hover {
        color: #0091FA;
    }


    /*Header 2*/
    .header2 {
        background-color: #0091FA;
        height: 110px;
    }

    .banderas {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .banderas img {
        height: 25px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .banderas img:hover {
        height: 30px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .boton {
        padding-bottom: 10px;
    }

    .boton a {
        text-decoration: none;
        color: black;
        background-color: #F9AD02;
        text-align: center;
        padding: 10px;
        border-radius: 20px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        font-size: 13px;
    }

    .boton a:hover {
        font-size: 14px;
        background-color: #e6a100;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }


    /*Foto portada*/
    .foto {
        position: relative;
        width: 100%;
        height: 550px;
        margin-top: 230px;
    }

    .foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .cuadrado-frase {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 300px;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(6px);
    }

    .foto p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        justify-content: baseline;
        color: white;
        font-size: 23px;
        width: 600px;
        max-width: 80%;
        line-height: 1.7;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
        font-weight: 500;
        text-align: center;
    }


    /*Reseñas de Google*/
    .reviews-section {
        max-width: 550px;
        margin: auto;
        padding: 20px 10px;
    }

    .reviews {
        display: grid;
        grid-template-columns: repeat(1, 3fr);
        gap: 20px;
    }

    .review {
        background: rgb(230, 229, 229);
        padding: 16px;
        border-radius: 4px;
        text-align: left;
        min-height: 150px;
    }

    .review-top {
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .purple { background: #7e57c2; }
    .red { background: #d81b60; }

    .review-top small {
        display: block;
        color: #777;
        font-size: 12px;
    }

    .google-icon {
        width: 18px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .stars {
        color: #fbbc04;
        margin: 5px 0;
        font-size: 24px;
    }

    .review p {
        font-size: 13.5px;
        line-height: 1.3;
    }


    /*Div "Autorizado"*/
    .autorizado {
        padding: 10px;
        background-color: #0091FA;
    }

    .autorizado h1 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        font-size: 25px;
        text-align: center;
    }

    .autorizado img {
        height: 43px;
    }


    /*Servicios*/
    .title-servicios {
        text-align: center;
        font-size: 22px;
    }

    .servicios {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
        padding: 7px;
        max-width: 600px;
        margin: auto;
    }


    /* Tarjetas*/
    .card {
        perspective: none;
        width: 100%;
    }

    .general {
        transform: none !important;
        position: static;
        height: 270px;
        display: flex;
        flex-direction: column;
        background-color: rgb(240,240,240);
        border: solid 1.9px black;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        padding: 10px;
        box-sizing: border-box;
    }

    .front,
    .back {
        position: static;
        transform: none;
        backface-visibility: visible;
        box-shadow: none;
        border: none;
        height: auto;
        width: 100%;
    }

    .front img {
        width: 80%;
        height: 150px;
    }

    .front h3 {
        margin: 5px;
        margin-bottom: 10px;
        font-size: 15px;
    }

    .back {
        background: transparent;
        color: black;
        padding: 0;
    }

    .back p {
        font-size: 13px;
        text-align: center;
    }


    /*Cargadores*/
    .cargador {
        background-color: #0091FA;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .cargador h2 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        font-size: 19px;
    }

    .cargador img {
        height: 100%;
    }

    .vehiculos p, .placas-solares p {
        text-align: justify;
        margin-left: 13%;
        margin-right: 13%;
        line-height: 1.4;
        font-size: 14px;
    }

    .h2 {
        margin-left: 12%;
        margin-right: 13%;
        color: #112945;
        font-size: 20px;
    }

    .vehiculos h3, .placas-solares h3 {
        margin-left: 13%;
        margin-right: 13%;
        color: #2F3E55;
        font-size: 16px;
    }

    .vehiculos li, .placas-solares li {
        text-align: justify;
        margin-left: 15%;
        margin-right: 13%;
        line-height: 1.4;
        font-size: 14px;
    }

    .vehiculos li::marker, .placas-solares li::marker {
        color: #112945;
    }

    .carrusel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        width: 100%;
    }

    .carrusel img {
        width: 20%;
        height: 140px;
        object-fit: cover;
        display: block;
        border: solid #112945 1px;
        border-collapse: collapse;
    }

    .logos {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: #0E2642;
        height: 120px;
        max-width: 100%;
    }

    .logo1 {
        height: 70px;
        max-width: 100%;
        object-fit: contain;
    }

    .logo2 {
        height: 35px;
        max-width: 100%;
        object-fit: contain;
    }


    /*Placas solares*/
    .placas {
        background-color: #0091FA;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .placas h2 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        font-size: 19px;
    }

    .placas img {
        height: 100%;
    }


    /*Footer*/
    footer {
        background-color: #63beff;
    }

    .div-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .logo-footer {
        padding-top: 30px;
        padding-bottom: 20px;
        padding-left: 20px;
    }

    .indice-footer {
        padding-top: 30px;
        padding-bottom: 20px;
        padding-right: 20px;
        line-height: 1.5;
    }

    .logo-footer img {
        height: 200px;
    }

    .indice-footer a {
        color: black;
        text-decoration: none;
        font-size: 13px;
    }

    .indice-footer a:hover {
        color: white;
    }

    .subtitulo {
        padding-left: 30px;
    }

    footer p {
        color: black;
        text-align: center;
        font-size: 10px;
        margin-left: 20px;
        margin-right: 20px;
    }
}









/*Movil Grande*/
@media (max-width: 600px) {
    header {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        height: 130px;
    }

    .header-padre {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
    }


    /*Header 1*/
    .logo img {
        height: 50px;
    }

    .contact-info {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .contact-info div {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .phone img {
        height: 23px;
    }

    .email img {
        height: 17px;
    }

    .contact-info a {
        font-size: 13px;
        color: black;
        text-decoration: none;
    }

    .contact-info a:hover {
        color: #0091FA;
    }


    /*Header 2*/
    .header2 {
        background-color: #0091FA;
        height: 110px;
    }

    .banderas {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .banderas img {
        height: 25px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .banderas img:hover {
        height: 30px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .boton {
        padding-bottom: 10px;
    }

    .boton a {
        text-decoration: none;
        color: black;
        background-color: #F9AD02;
        text-align: center;
        padding: 10px;
        border-radius: 20px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        font-size: 13px;
    }

    .boton a:hover {
        font-size: 14px;
        background-color: #e6a100;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }


    /*Foto portada*/
    .foto {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 230px;
    }

    .foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .cuadrado-frase {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 250px;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(6px);
    }

    .foto p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        justify-content: baseline;
        color: white;
        font-size: 20px;
        width: 600px;
        max-width: 80%;
        line-height: 1.7;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
        font-weight: 500;
        text-align: center;
    }


    /*Reseñas de Google*/
    .reviews-section {
        max-width: 455px;
        margin: auto;
        padding: 20px 10px;
    }

    .reviews {
        display: grid;
        grid-template-columns: repeat(1, 3fr);
        gap: 20px;
    }

    .review {
        background: rgb(230, 229, 229);
        padding: 16px;
        border-radius: 4px;
        text-align: left;
        min-height: 150px;
    }

    .review-top {
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .purple { background: #7e57c2; }
    .red { background: #d81b60; }

    .review-top small {
        display: block;
        color: #777;
        font-size: 12px;
    }

    .google-icon {
        width: 18px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .stars {
        color: #fbbc04;
        margin: 5px 0;
        font-size: 24px;
    }

    .review p {
        font-size: 13.5px;
        line-height: 1.3;
    }


    /*Div "Autorizado"*/
    .autorizado {
        padding: 10px;
        background-color: #0091FA;
    }

    .autorizado h1 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        font-size: 21px;
        text-align: center;
    }

    .autorizado img {
        height: 40px;
    }


    /*Servicios*/
    .title-servicios {
        text-align: center;
        font-size: 20px;
    }

    .servicios {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 9px;
        padding: 7px;
        max-width: 450px;
        margin: auto;
    }


    /* Tarjetas*/
    .card {
        perspective: none;
        width: 100%;
    }

    .general {
        transform: none !important;
        position: static;
        height: 270px;
        display: flex;
        flex-direction: column;
        background-color: rgb(240,240,240);
        border: solid 1.9px black;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        padding: 10px;
        box-sizing: border-box;
    }

    .front,
    .back {
        position: static;
        transform: none;
        backface-visibility: visible;
        box-shadow: none;
        border: none;
        height: auto;
        width: 100%;
    }

    .front img {
        width: 80%;
        height: 170px;
    }

    .front h3 {
        margin: 5px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .back {
        background: transparent;
        color: black;
        padding: 0;
    }

    .back p {
        font-size: 14px;
        text-align: center;

    }


    /*Cargadores*/
    .cargador {
        background-color: #0091FA;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .cargador h2 {
        position: relative;
        color: transparent;
        text-align: center;
        text-shadow: none;
    }

    .cargador h2::after {
        content: "INSTAL·LACIÓ DE CARREGADORS ELÈCTRICS";
        color: white;
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        color: white;
        text-align: center;
    }

    .cargador img {
        height: 100%;
    }

    .vehiculos p, .placas-solares p {
        text-align: justify;
        margin-left: 10%;
        margin-right: 10%;
        line-height: 1.4;
        font-size: 13.5px;
    }

    .h2 {
        margin-left: 9%;
        margin-right: 10%;
        color: #112945;
        font-size: 19px;
    }

    .vehiculos h3, .placas-solares h3 {
        margin-left: 10%;
        margin-right: 10%;
        color: #2F3E55;
        font-size: 16px;
    }

    .vehiculos li, .placas-solares li {
        text-align: justify;
        margin-left: 11%;
        margin-right: 10%;
        line-height: 1.3;
        font-size: 13.5px;
    }

    .vehiculos li::marker, .placas-solares li::marker {
        color: #112945;
    }

    .carrusel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        width: 100%;
    }

    .carrusel img {
        width: 20%;
        height: 100px;
        object-fit: cover;
        display: block;
        border: solid #112945 1px;
        border-collapse: collapse;
    }

    .logos {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: #0E2642;
        height: 90px;
        max-width: 100%;
    }

    .logo1 {
        height: 50px;
        max-width: 100%;
        object-fit: contain;
    }

    .logo2 {
        height: 25px;
        max-width: 100%;
        object-fit: contain;
    }


    /*Placas solares*/
    .placas {
        background-color: #0091FA;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .placas h2 {
        position: relative;
        color: transparent;
        text-align: center;
        text-shadow: none;
    }

    .placas h2::after {
        content: "INSTAL·LACIÓ D'ENERGIA SOLAR";
        color: white;
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        color: white;
        text-align: center;
    }

    .placas img {
        height: 100%;
    }


    /*Footer*/
    footer {
        background-color: #63beff;
    }

    .div-footer {
        flex-direction: column;
        gap: 5px;
    }

    .logo-footer {
        order: 2;
        align-items: center;
        margin-right: 40px;
    }

    .indice-footer {
        order: 1;
        line-height: 1.4;
    }

    .logo-footer img {
        height: 200px;
    }

    .indice-footer a {
        color: black;
        text-decoration: none;
        font-size: 15px;
    }

    .indice-footer a:hover {
        color: white;
    }

    .subtitulo {
        padding-left: 30px;
    }

    footer p {
        color: black;
        text-align: center;
        font-size: 10px;
        margin-left: 20px;
        margin-right: 20px;
    }
}









/*Movil*/
@media (max-width: 480px) {
    header {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        height: 130px;
    }

    .header-padre {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: white;
    }


    /*Header 1*/
    .logo img {
        height: 50px;
    }

    .contact-info {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .contact-info div {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .phone img {
        height: 23px;
    }

    .email img {
        height: 17px;
    }

    .contact-info a {
        font-size: 13px;
        color: black;
        text-decoration: none;
    }

    .contact-info a:hover {
        color: #0091FA;
    }


    /*Header 2*/
    .header2 {
        background-color: #0091FA;
        height: 110px;
    }

    .banderas {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .banderas img {
        height: 25px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .banderas img:hover {
        height: 30px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }

    .boton {
        padding-bottom: 10px;
    }

    .boton a {
        text-decoration: none;
        color: black;
        background-color: #F9AD02;
        text-align: center;
        padding: 10px;
        border-radius: 20px;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        font-size: 13px;
    }

    .boton a:hover {
        font-size: 14px;
        background-color: #e6a100;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
    }


    /*Foto portada*/
    .foto {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: 239px;
    }

    .foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .cuadrado-frase {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 180px;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(6px);
    }

    .foto p {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        justify-content: baseline;
        color: white;
        font-size: 16px;
        width: 80%;
        max-width: 80%;
        line-height: 1.7;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
        font-weight: 500;
        text-align: center;
    }


    /*Reseñas de Google*/
    .reviews-section {
        max-width: 350px;
        margin: auto;
        padding: 20px 10px;
    }

    .reviews {
        display: grid;
        grid-template-columns: repeat(1, 3fr);
        gap: 15px;
    }

    .review {
        background: rgb(230, 229, 229);
        padding: 16px;
        border-radius: 4px;
        text-align: left;
        min-height: 150px;
    }

    .review-top {
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .purple { background: #7e57c2; }
    .red { background: #d81b60; }

    .review-top small {
        display: block;
        color: #777;
        font-size: 12px;
    }

    .google-icon {
        width: 18px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .stars {
        color: #fbbc04;
        margin: 5px 0;
        font-size: 24px;
    }

    .review p {
        font-size: 13.5px;
        line-height: 1.3;
    }


    /*Div "Autorizado"*/
    .autorizado {
        padding: 10px;
        background-color: #0091FA;
    }

    .autorizado h1 {
        color: white;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        font-size: 21px;
        text-align: center;
    }

    .autorizado img {
        height: 40px;
    }


    /*Servicios*/
    .title-servicios {
        text-align: center;
        font-size: 19px;
    }

    .servicios {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 9px;
        padding: 7px;
        max-width: 380px;
        margin: auto;
    }


    /* Tarjetas*/
    .card {
        perspective: none;
        width: 100%;
    }

    .general {
        transform: none !important;
        position: static;
        height: 270px;
        display: flex;
        flex-direction: column;
        background-color: rgb(240,240,240);
        border: solid 1.9px black;
        box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        padding: 10px;
        box-sizing: border-box;
    }

    .front,
    .back {
        position: static;
        transform: none;
        backface-visibility: visible;
        box-shadow: none;
        border: none;
        height: auto;
        width: 100%;
    }

    .front img {
        width: 80%;
        height: 170px;
    }

    .front h3 {
        margin: 5px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .back {
        background: transparent;
        color: black;
        padding: 0;
    }

    .back p {
        font-size: 14px;
        text-align: center;

    }

    
    /*Cargadores*/
    .cargador {
        background-color: #0091FA;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .cargador h2 {
        position: relative;
        color: transparent;
        text-align: center;
        text-shadow: none;
    }

    .cargador h2::after {
        content: "INSTAL·LACIÓ DE CARREGADORS ELÈCTRICS";
        color: white;
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        color: white;
        text-align: center;
    }

    .cargador img {
        height: 100%;
    }

    .vehiculos p, .placas-solares p {
        text-align: justify;
        margin-left: 10%;
        margin-right: 10%;
        line-height: 1.2;
        font-size: 13.5px;
    }

    .h2 {
        margin-left: 9%;
        margin-right: 10%;
        color: #112945;
        font-size: 18px;
    }

    .vehiculos h3, .placas-solares h3 {
        margin-left: 10%;
        margin-right: 10%;
        color: #2F3E55;
        font-size: 14.5px;
    }

    .vehiculos li, .placas-solares li {
        text-align: justify;
        margin-left: 14%;
        margin-right: 10%;
        line-height: 1.2;
        font-size: 13.5px;
    }

    .vehiculos li::marker, .placas-solares li::marker {
        color: #112945;
    }

    .carrusel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        width: 100%;
    }

    .carrusel img {
        width: 20%;
        height: 70px;
        object-fit: cover;
        display: block;
        border: solid #112945 1px;
        border-collapse: collapse;
    }

    .logos {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: #0E2642;
        height: 90px;
        max-width: 100%;
    }

    .logo1 {
        height: 50px;
        max-width: 100%;
        object-fit: contain;
    }

    .logo2 {
        height: 25px;
        max-width: 100%;
        object-fit: contain;
    }


    /*Placas solares*/
    .placas {
        background-color: #0091FA;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .placas h2 {
        position: relative;
        color: transparent;
        text-align: center;
        text-shadow: none;
    }

    .placas h2::after {
        content: "INSTAL·LACIÓ D'ENERGIA SOLAR";
        color: white;
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
        color: white;
        text-align: center;
    }

    .placas img {
        height: 100%;
    }


    /*Footer*/
    footer {
        background-color: #63beff;
    }

    .div-footer {
        flex-direction: column;
        gap: 5px;
    }

    .logo-footer {
        order: 2;
        align-items: center;
        margin-right: 40px;
    }

    .indice-footer {
        order: 1;
        margin-top: 10px;
        line-height: 1.4;
    }

    .logo-footer img {
        height: 200px;
    }

    .indice-footer a {
        color: black;
        text-decoration: none;
        font-size: 14px;
    }

    .indice-footer a:hover {
        color: white;
    }

    .subtitulo {
        padding-left: 30px;
    }

    footer p {
        color: black;
        text-align: center;
        font-size: 10px;
        margin-left: 20px;
        margin-right: 20px;
    }
}