@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
            --bg-color-dark: #e9e9e9;
            --text-color-light: #434343;
            --text-color-muted: rgb(90, 90, 90); 
            --text-color-alternative: rgb(89, 135, 192);
        }

        body {
            margin: 0;
            padding: 0;
            font-family: "Lato", sans-serif;
            background-color: var(--bg-color-dark);
            color: var(--text-color-light);
            line-height: 1.6;
            overflow-x: hidden; 
        }

        .container {
            max-width: 1200px; 
            margin: 0 auto;
            padding: 0 20px;
        }


        .header {
            padding: 24px 0;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            background-color: #e8e8e8b8;
            backdrop-filter: blur(15px);
            padding: 20px 40px 20px 40px;
            border-radius: 30px;
            top: 20px;
            width: 80%;
            box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.1);
            z-index: 2;
        }

        .logo {
            max-width: 200px;
        }
        .logo img {
            width: 200px;
        }

        .nav-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 40px; 
        }

        .nav-item a {
            text-decoration: none;
            color: var(--text-color-muted);
            font-size: 1.2rem;
            font-weight: 400;
            transition: color 0.3s ease; 
        }

        .nav-item a:hover {
            color: var(--text-color-alternative);
        }

        nav .hamburger {
             display: none;
        }

        .hero-section {
            text-align: center; 
            margin-top: -92px;
            margin-right: -3%;
            padding-top: 200px;
            padding-bottom: 100px;
            background: url(./img/light-wall.webp) center center no-repeat;
            background-size: cover;
        }

        .hero-title {
            font-size: 3.2rem; 
            font-weight: 300;
            color: #656565;
            line-height: 1.15; 
            margin-bottom: 40px; 
            letter-spacing: -1px;
        }
        .hero-subtitle{
            line-height: 0;
            margin-top: -10px;
            font-weight: 800;
            color: rgb(89, 135, 192);
            font-size: 4rem;
    
        }

        .container-carousel-hero{
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 20px;
            overflow-x: auto;
            width: 100%;
            padding-left: 9.8%;
            padding-bottom: 20px;
            gap: 50px;
            scroll-behavior: smooth;
        }
        .container-carousel-hero::-webkit-scrollbar {
            display: none;
        }

        .image-container {
            margin-top: 80px; 
            width: 60%;
            flex-shrink: 0;
            height: 500px;
            border-radius: 20px;  
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        }
        .img-1-hero {
            background: url(./img/header-2.jpg) center top no-repeat;
            background-size: cover;
        }
        .img-2-hero {
            background: url(./img/header.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-3-hero {
            background: url(./img/header-3.jpg) center top no-repeat;
            background-size: cover;
        }
        .container-btn-carousel-servicios {
            display: flex;
            justify-content: flex-start;
            padding-left: 20px;
        }

        .container-btn-carousel-servicios .btn-carousel-servicios{
        padding: 10px;
        background-color: #b9b9b9;
        border: none;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.5s;
        }
        .container-btn-carousel-servicios .btn-carousel-servicios:hover{
        background-color: #2a679b;
        }
        .container-btn-carousel-servicios .arw-left {
        margin-right: 10px;
        }
        .container-btn-carousel-servicios .btn-carousel-servicios img {
        width: 60%;
        }

        .container-btn-carousel-servicios {
        margin-left: 9%;
        margin-top: 20px;
        }

        .container-why {
            display: flex;
            margin-left: 11%;
            margin-right: 6%;
            gap: 40px;
            padding-top: 50px;
            padding-bottom: 100px;
        }
        .title-why {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-color-alternative);
            line-height: 1.2;
            margin-right: 30px;
        }
        .container-why-title-txt h4 {
            font-size: 1.2rem;
            color: #6b6b6b;
        }
        .container-why-title-txt p {
            font-size: 0.8rem;
        }

        .container-about-info {
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 100px;
        }

        .about-block {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            margin-left: 10%;
            margin-right: 10%;
        }


        .about-image {
        flex: 1;
        position: relative;
        }

    .about-image img {
      width: 100%;
      max-width: 550px;
      border-radius: 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .block-elec {
        margin-top: 100px;
        gap: 150px;
    }

    .about-text {
      flex: 1;
      max-width: 500px;
    }

    .about-text span {
      font-size: 14px;
      color: var(--text-color-alternative);
      letter-spacing: 1px;
      font-weight: bold;
      text-transform: uppercase;
    }

    .about-text h2 {
      font-size: 32px;
      margin: 15px 0 10px;
      color: #4d4d4d;
    }

    .about-text p {
      font-size: 16px;
      line-height: 1.6;
      color: #666;
      margin-bottom: 20px;
    }

    .about-text a {
      font-size: 14px;
      color: #f08a24;
      text-decoration: none;
      font-weight: 500;
    }


    .about-grid img {
      width: 40%;
      border-radius: 14px;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    }
    .container-carousel-service{
            margin-top: -70px;
            display: flex;
            gap: 20px;
            overflow-x: auto;
            width: 100%;
            padding-left: 10%;
            scroll-behavior: smooth;
        }
        .container-carousel-service::-webkit-scrollbar {
            display: none;
        }
        .image-container-service {
            margin-top: 80px; 
            width: 20%;
            flex-shrink: 0;
            height: 500px;
            border-radius: 20px;  
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        }
        .img-1-service {
            background: url(./img/trabajos-antes-despues/antes-1.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-2-service {
            background: url(./img/trabajos-antes-despues/ahora-1.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-3-service {
            background: url(./img/trabajos-antes-despues/antes-2.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-4-service {
            background: url(./img/trabajos-antes-despues/ahora-2.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-5-service {
            background: url(./img/trabajos-antes-despues/antes-3.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-6-service {
            background: url(./img/trabajos-antes-despues/ahora-3.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-7-service {
            background: url(./img/trabajos-antes-despues/antes-4.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-8-service {
            background: url(./img/trabajos-antes-despues/ahora-4.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-9-service {
            background: url(./img/trabajos-antes-despues/antes-5.jpg) center center no-repeat;
            background-size: cover;
        }
        .img-10-service {
            background: url(./img/trabajos-antes-despues/ahora-5.jpg) center center no-repeat;
            background-size: cover;
        }
        .btn-carousel-servicios-about {
            margin-top: -60px;
        }
        
    .container-footer {
        margin-top: 150px;
        margin-left: 10%;
        color: #7d7d7d;
    }

.Btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 65px;
  height: 65px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3;
  overflow: hidden;
  transition-duration: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background-color: #00d757;
}

.sign {
  width: 100%;
  transition-duration: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign svg {
  width: 29px;
}

.sign svg path {
  fill: white;
}
.text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.4em;
  font-weight: 600;
  transition-duration: 0.3s;
}

.Btn:hover {
  width: 250px;
  border-radius: 40px;
  transition-duration: 0.3s;
}

.Btn:hover .sign {
  width: 30%;
  transition-duration: 0.3s;
  padding-left: 10px;
}

.Btn:hover .text {
  opacity: 1;
  width: 70%;
  transition-duration: 0.3s;
  padding-right: 10px;
}
.Btn:active {
  transform: translate(2px, 2px);
}

.text a {
    text-decoration: none;
    color: white;
}



@media screen and (max-width: 768px) {

    .navbar img {
        width: 70%;   
        margin-right: 30px;
    }
    .navbar {
        width: 73%;
    }
    .navbar .hamburger{
        display: block;
    }
            
    .hamburger {
        cursor: pointer;
    }
    
    .hamburger input {
        display: none;
    }
    
    .hamburger svg {
        height: 3em;
        transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .line {
        fill: none;
        stroke: rgb(55, 55, 55);
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 3;
        transition:
        stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .line-top-bottom {
        stroke-dasharray: 12 63;
    }
    
    .hamburger input:checked + svg {
        transform: rotate(-45deg);
    }
    
    .hamburger input:checked + svg .line-top-bottom {
        stroke-dasharray: 20 300;
        stroke-dashoffset: -32.42;
    }

    #nav-options{
        flex-direction: column;
        position: absolute;
        top: 120px;
        left: 10px;
        background-color: rgba(233, 233, 233, 0.936);
        box-shadow: 0 70px 80px rgba(29, 29, 29, 0.535);
        width: 80%;
        border-radius: 20px;
        padding: 30px;
        opacity: 0;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        visibility: hidden;
        color: #555555;
        transition: opacity 0.3s ease;
        transform: translateY(-20px);
    }

    #nav-options.show{
        opacity: 1;
        visibility: visible; 
        transform: translateY(0);
    }
    #nav-options.close{
        opacity: 0; 
        visibility: hidden; 
        transform: translateY(-20px);
    }
        .hero-title {
            font-size: 2.8rem;
            width: 90%; 
            line-height: 1.15; 
            margin-bottom: 40px; 
            text-align: left;
            letter-spacing: -1px;
            margin-left: 5%;
        }
        .hero-subtitle{
            line-height: 1;
            width: 90%;
            margin-top: -10px;
            font-size: 3.4rem;
            text-align: left;
            margin-left: 5%;    
        }

        .hero-section {
            text-align: center; 
            margin-top: -92px;
            margin-right: 0;
            padding-top: 200px;
            padding-bottom: 100px;
            background: url(./img/background-phone.webp) center bottom no-repeat;
            background-size: cover;
        }

        .container-carousel-hero{
            padding-left: 7%;
            gap: 30px;
            scroll-behavior: smooth;
        }

        .container-why {
            display: flex;
            flex-wrap: wrap;
            margin-left: 11%;
            margin-right: 6%;
            gap: 40px;
            padding-top: 50px;
            padding-bottom: 100px;
        }
        .title-why {
            font-size: 2rem;
            font-weight: 800;
            color: var(--text-color-alternative);
            line-height: 1.2;
            margin-right: 30px;
        }
        .container-why-title-txt h4{
            font-size: 1.4rem;
        }
        .container-why-title-txt p{
            font-size: 1.1rem;
        }

        .container-about-info .about-block {
            flex-direction: column;
            gap: 60px;
        }

        .container-carousel-service{
            margin-top: -70px;
            display: flex;
            gap: 20px;
            overflow-x: auto;
            width: 100%;
            padding-left: 10%;
            scroll-behavior: smooth;
        }
        .image-container-service {
            margin-top: 80px; 
            width: 70%;
        }
        .img-elec {
            margin-top: -20px;
        }
        .container-btn-carousel-servicios {
            display: flex;
            padding-left: 0px;
        }
        .Btn {
            right: 30px;
        }
        .container-carousel-hero {
             padding-left: 20px;
             width: 95%;
        }
        .container-carousel-service {
             padding-left: 20px;
             width: 95%;
        }


}  