
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body, html {
      height: 100%;
      font-family: Arial, sans-serif;
      scroll-behavior: smooth;
      background-color: #111;
    }
    
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  transition: top 0.7s ease-in-out;
}
.logo img {
  height: 100px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #9e9d9d;
}

    .hero {
      position: relative;
      background-image: url('fondoporfa.jpg');
      background-size: cover;
      background-position: center;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1;
    }

    .hero h1 {
      font-size: 3em;
      color: white;
      text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
      position: relative;
      z-index: 2;
      animation: fadeIn 2s ease-in-out;
    }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.slogan {
  margin-top: 1rem;
  font-size: 1.5em;
  color: #e0e0e0;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  animation: fadeIn 2.5s ease-in-out;
}

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }


.slider {
  background-color: #3a3a3a;
  padding: 2em 0;
  text-align: center;
}

.slider-container {
  position: relative;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  display: none;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.slide.active {
  display: block;
}

/* Flechas */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 0.5em;
  color: white;
  font-weight: bold;
  font-size: 2em;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  z-index: 10;
}

.prev {
  left: 0.5em;
  border-radius: 3px 0 0 3px;
}

.next {
  right: 0.5em;
  border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}


    .section {
      position: relative;
      padding: 4em 2em;
      height: 550px;
      text-align: center;
      color: white;
      z-index: 1;
    }
 
    .section.bg1 {
     
      background-size: cover;
      background-position: center;
      background:linear-gradient(#fffefe,#757474);
    }

.contenedor{
  margin: 6rem;
}

.contenedor, p{
  font-size: 1.3rem;
}

.section.doble {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: white;
  background-color: #757474;
  background-size: cover;
  background-position: center;
  position: relative;
  background:linear-gradient(#757474,#111);
}

.section.doble::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.section.doble .columna {
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 1;
  text-align: left;
}

.section.doble h2 {
  margin-top: 1rem;
  text-align: center;
  font-size: 2.4 rem;
}

.section.doble p {
  margin: 3rem;
  padding-top: 10%;
  line-height: 1.6;
  text-align: center;
  font-size:1.3rem;
}
    

    .section::before {
      content: '';
      position: absolute;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 0;
    }

    .section h2, .section p {
      position: relative;
      z-index: 1;
    }

    .section h2 {
      margin-bottom: 1em;
    }

    .section p {
      line-height: 1.6;
    }

    .contacto {
  background-color: #080808e2;
  color: white;
  text-align: center;
  padding: 2em 1em;
  
}

.contacto h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contacto p {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.contacto a {
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
}

.contacto a:hover {
  color: white;
}

    footer {
      background-color: #222;
      color: white;
      padding: 1em;
      text-align: center;
    }
  