*{
margin: 0;
box-sizing: border-box;
font-family: 'Red Hat Display', sans-serif;
color: #ffeecd;
scroll-behavior: smooth;
}

body{
  background-color: #1C201A;
}


.header {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(180deg, #121411 0%, rgba(34,34,34,0) 100%);
  color: #ffeecd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}

.logo {
margin-left: 20px;
}

.logo img {
  width: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: #ffeecd;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  font-weight: bold;
}

.nav-links li a:hover {
  color: #c9bca2;
}

.btn {
  padding: 10px 18px;
  background: #E01F43;
  color: #ffeecd;
  text-decoration: none;
  border-radius: 15px;
  transition: background 0.3s ease;
  font-size: 1.2rem;
  font-weight: bolder;
  margin-right: 20px;
}

.btn:hover {
  background: #aa1732;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ffeecd;
  transition: all 0.3s ease;
}

.hamburger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero-mobile{
  display: none;
}

/*Sección Hero*/
.container {
   position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }
    .symbol, .letter {
      position: absolute;
      width: 120px;
      max-width: 15vw;
      height: auto;
      user-select: none;
      pointer-events: none;
    }
    .letter { 
    opacity: 0; 
  }


/*Sección Servicios*/
/* Contenedor principal */
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  max-width: 100%;
}

/* Contenedor de slides en fila */
.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}

.slide {
  min-width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.slide h2 {
  font-size: 3rem;
  font-weight: 900;
}

.slide h3{
  font-size: 2rem;
  font-weight: 900;
}

.slide1 h2 {
  font-weight: 900;
  color: #1C201A;
}

.slide p {
font-family: "Exo", sans-serif;
font-size: 1.5rem;
font-weight: 400;
}


.slide1 { background: url('img/FondoServ1.webp') no-repeat center/cover; }
.slide2 { background: url('img/FondoServ2.webp') no-repeat center/cover; }
.slide3 { background: url('img/FondoServ3.webp') no-repeat center/cover; }
.slide4 { background: url('img/FondoServ4.webp') no-repeat center/cover; }
.slide5 { background: url('img/FondoServ5.webp') no-repeat center/cover; }

/* Stickers flotantes */
.sticker {
  position: absolute;
  
  animation: float 6s ease-in-out infinite;
}
.sticker1 { top: 2%; left: 18%; width: 18%;}
.sticker2 { top: 40%; right: 5%; width: 15%; }
.sticker3 { top: -8%; left: -10%; width: 100%;}
.sticker4 { bottom: -10%; right: -3%; width: 100%;}
.sticker5 { top: 2%; right: 18%; width: 13%;}
.sticker6 { bottom: 0%; left: 5%; width: 20%; }
.sticker7 { top: 2%; left: 13%; width: 22%;}
.sticker8 {  bottom: 3%; left: 5%; width: 25%; }
.sticker9 {  top: 2%; right: 18%; width: 13%;}
.sticker10 { top: 70%; right: 10%; width: 15%; }
.sticker11 { top: 2%; left: 10%; width: 12%;}
.sticker12 { bottom: -8%; right: -3%; width: 90%;}

/* Botones de Slides */
.nav2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.nav2.prev {
   left: 20px; 
   background-image: url(img/ServFlechaIzq.png);
  }

  .nav2.prev:hover{
   background-image: url(img/ServFlechaIzqHover.png);
   transform: translateY(-50%) scale(1.5);
  }

.nav2.next {
   right: 20px; 
   background-image: url(img/ServFlechaDer.png);
  }
  
  .nav2.next:hover{
   background-image: url(img/ServFlechaDerHover.png);
   transform: translateY(-50%) scale(1.5);
  }

/*About Us*/
.about-us {
  background-color: #1C201A;
  color: #ffeecd;
  text-align: center;
  padding-bottom: 80px;
  height: 90%;
  background-image: url(img/FondoPAUT.webp) ;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 100%);
  mask-repeat: no-repeat;
  mask-size: cover;
  background-size: contain;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 0;
  margin-top: 50px;
}

.about-content h2 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 10px;
  margin-top: 90px;
}

.about-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.about-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 15px 0;
  font-family: "Exo", sans-serif;
}

.highlight-yellow {
  color: #f2a900;
  font-weight: 700;
}

.highlight-red {
  color: #E01F43;
  font-weight: 700;
}

.highlight-blue {
  color: #1e9bd8;
  font-weight: 700;
}


/*Formulario*/
.contact-section {

  position: relative;
  padding: 4rem 2rem;
  background-color: #E01F43;
  overflow: hidden;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.contact-form-box {
  flex: 1 1 450px;
  max-width: 500px;
  
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #FFEED0;
}

.form-wrapper {
  padding: 2rem;
  border-radius: 12px;
  border: 3px solid #222;
}

.form-wrapper h3 {
  margin-bottom: 0.5rem;
  color: #ffeecd;
  font-size: 2rem;
}

.form-wrapper p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #ffeecd;
}

form input,
form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 6px;
  background: #333;
  color: #fff;
}

form input:focus,
form textarea:focus {
  outline: 2px solid #E01F43;
}

.name-fields {
  display: flex;
  gap: 1rem;
}

.name-fields input {
  flex: 1;
}

form button {
  width: 100%;
  padding: 0.9rem;
  background: #ffeecd;
  color: #1C201A;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #cec0a4;
}

.contact-image {
  flex: 1 1 100px;
  text-align: right;
}

.contact-image img {
  max-width: 60%;
  height: auto;
}

.link-blocks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 80px 40px;
}

.block {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.block:hover {
  transform: scale(1.1);
}

.block img {
  width: 60px;
  height: auto;
  margin-bottom: 80px;
}

/*portfolio*/
#down {
  padding: 30px 20px;
  background-color: #1C201A;
  max-width: 100%;
}

.about-banner {
  margin-top: 20px;
  width: 100%;
  overflow: hidden;
}

.about-banner img {
  width: 100%;
  display: block;
}

.projects {
   display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
  justify-content: center;
  position: relative;
}

.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(var(--offset-y, 0px)) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
}

.project:hover {
  transform: scale(1.05) rotate(0deg) translateY(0);
}

.project-image {
    width: 450px;
  height: 300px;
  background-position: center;
  background-size: cover;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.project:hover .project-image {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.project-text {
  margin-top: 30px;
  text-align: center;
  color: #ffeecd;
}

.project-text h3 {
  font-size: 2rem;
  font-weight: 800;
}

.project-text p {
  font-size: 1.5rem;
  margin-top: 5px;
  font-family: "Exo", sans-serif;
}

/*footer*/
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1C201A;
  color: #fff;
  padding: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-block {
  flex: 1;
  min-width: 200px;
  padding: 10px;
}

.footer-block h3 {
  margin-bottom: 10px;
}

.footer-block a {
  color: #ffeecd;
  text-decoration: none;
}

.footer-block a:hover {
  text-decoration: underline;
}

.center-block img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .projects {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }
  .project-image {
    width: 380px;
    height: 250px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: #ffeecd;
    padding: 20px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .nav-links li a{
    color:#1C201A;
  }

  .content { max-width: 90%; font-size: 14px; }


  .slide h2 {
  font-size: 3rem;
}

.slide h3{
  font-size: 2rem;
}


.slide p {

font-size: 1.5rem;

}

.sticker1 { top: 10%; left: 18%; width: 18%;}
.sticker2 { top: 60%; right: 5%; width: 20%; }
.sticker3 { top: -3%; left: -5%; width: 100%;}
.sticker4 { bottom: -3%; right: -5%; width: 100%;}
.sticker5 { top: 8%; right: 18%; width: 20%;}
.sticker6 { bottom: 5%; left: 5%; width: 27%; }
.sticker7 { top: 7%; left: 13%; width: 28%;}
.sticker8 {  bottom: 7%; left: 5%; width: 30%; }
.sticker9 {  top: 8%; right: 13%; width: 23%;}
.sticker10 { top: 70%; right: 10%; width: 30%; }
.sticker11 { top: 6%; left: 10%; width: 23%;}
.sticker12 { bottom: -3%; right: -5%; width: 100%;}

.nav2 img {
  width: 20px;
  
}

  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-box {
    margin-bottom: 2rem;
  }


  .projects {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px 20px;
  }

  .project-image{
    width: 300px;
    height: 200px;
  }

  .project-text h3 {
    font-size: 2rem;
  }

  .project-text p {
    font-size: 1.2rem;
  }

  .about-content h2{
    font-size: 4rem;
  }

  .about-content h3{
    font-size: 2rem;
  }

  .about-content p{
    font-size: 1.5rem;
  }


  .section-title{
    font-size: 3rem;
  }

  .form-wrapper h3 {
    font-size: 2rem;
  }

  .form-wrapper p{
    font-size: 1.2rem;
  }

    .contact-image {
    text-align: center;
}
}


@media (max-width: 540px){
    .header {
        position: fixed;
        background-color: #1C201A;
    }
    
    .logo{
        margin-left: 0;
    }

    .logo img{
        width: 50px;
    }

    .btn{
        padding: 5px 10px;
    }

.hero-unit{
  display: none;
}

.hero-mobile{
  display: block;
  width: 100%;
  overflow: hidden;
}

.hero-mobile img {
  width: 100%;
  padding: 30% 0%;
  object-fit: cover; /* hace que el gif llene el hero */
}


  .slide h2 {
  font-size: 1.8rem;
}

.slide h3{
  font-size: 1.4rem;

}


.slide p {
font-size: 1rem;

}

.sticker1 { top: 10%; left: 18%; width: 30%;}
.sticker2 { top: 60%; right: 5%; width: 30%; }
.sticker3 { top: -1%; left: -5%; width: 100%;}
.sticker4 { bottom: -1%; right: -5%; width: 100%;}
.sticker5 { top: 8%; right: 18%; width: 25%;}
.sticker6 { bottom: 5%; left: 5%; width: 30%; }
.sticker7 { top: 7%; left: 13%; width: 50%;}
.sticker8 {  bottom: 7%; left: 5%; width: 50%; }
.sticker9 {  top: 8%; right: 13%; width: 25%;}
.sticker10 { top: 70%; right: 10%; width: 30%; }
.sticker11 { top: 6%; left: 10%; width: 33%;}
.sticker12 { bottom: -1%; right: -5%; width: 100%;}


.nav2 {
  width: 25px;
  height: 25px;
}

.nav2.next{
  right: 10px;
}

.about-banner img {
    width: 160%;
    display: block;
}

.project-text h3{
  font-size: 1.4rem;
}

    .project-text p {
        font-size: 1rem;
    }

.about-content h2 {
        font-size: 3rem;
    }

    .about-content h3 {
        font-size: 1.8rem;
    }

.about-content p{
  font-size: 1.2rem;
}

    .section-title {
        font-size: 2.5rem;
    }

.form-wrapper h2{
  font-size: 1.8rem;
}

}
