:root {
  --main-color: #2d9cdb; /* azul brillante */
  --dark: #1e293b;
  --gray: #666;
  --bg-light: #f9f9f9;
  --white: #fff;
}


::selection {
  background-color: #87CEFA; /* azul celeste */
  color: #000000; /* color del texto durante la selección */
}

.separador {
  height: 2px;
  background: linear-gradient(to right, #87CEFA, #1E90FF, #00BFFF);
}
h1 {
  font-size: 3rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Questrial', 'Roboto', sans-serif;
  line-height: 1.6;
  background-color: var(--white);
  color: var(--dark);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 80px;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}



header nav a {
  margin-left: 5px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
  margin-right: 50px;
}

header nav a:hover {
  color: var(--main-color);
}

.logocito {
  height: 30px;
  width: auto;
  margin-right: 10px;
  margin-left: 0;
}

.logo {
  height: 60px;
  width: auto;
}

.hero {
  position: relative;
  height: 90vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5); /* Oscurece el video para mejorar contraste */
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: bold;
  line-height: 1.2;
}

.hero-content h1 span {
  display: block;
}
 

.intro {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.intro p {
  max-width: 800px;
  margin: auto;
  font-size: 28px;
  color: var(--gray);
}



.services {
  padding: 60px 40px;
  text-align: center;
  background: #f7f7f7;
}

.services h2 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #1e293b;
}

.services p {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 18px;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-card {
  width: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  background-color: var(--white);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: white;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.logo-slider-container {
  overflow: hidden;
  width: 100%;
  background-color: var(--bg-light, #f5f5f5);
  padding: 30px 0;
}

.logo-slider-track {
  display: flex;
  gap: 40px;
  animation: scroll-left 25s linear infinite;
  padding: 0 20px;
}

.logo-slider-track img {
  height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-slider-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Animación para mover los logos a la izquierda */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  header nav {
    margin-top: 10px;
  }

  header nav a {
    margin: 10px 10px 0 0;
  }
}

.projects-section {
  padding: 60px 40px;
  background-color: var(--white);
  text-align: center;
}

.projects-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--white);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-description {
  font-size: 14px;
  max-width: 220px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .projects-title {
    font-size: 28px;
  }

  .project-image {
    height: 160px;
  }
}

.team-section {
  text-align: center;
  padding: 60px 20px;
  color: #f2f6fa;
}

.team-title {
  font-size: 48px;
  font-weight: bold;
  color: #999;
}

.team-title .changing-word {
  color: #2d9cdb; /* azul brillante */
  display: inline-block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.team-member {
  width: 220px;
  text-align: center;
}

.image-wrapper {
  width: 220px;
  height: 320px; /* Más alto que ancho */
  overflow: hidden;
  border-radius: 50% / 20%; /* Forma cápsula vertical */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.image-wrapper:hover {
  transform: scale(1.05);
}


.team-member h3 {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
}

.team-member p {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
}

/* Animación para cambiar palabras */
@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}


.team-title .animated-word {
  color: var(--main-color);
  display: inline-block;
  min-width: 150px;
  position: relative;
  overflow: hidden;
  height: 1em;
}

:root {
  --dark: #222;
  --gray: #666;
  --white: #fff;
}

.team-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.team-title {
  font-size: 45px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 60px;
}

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
}

.team-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-photo:hover {
  transform: scale(1.02);
}

.team-name {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
}

.team-role {
  font-size: 16px;
  color: var(--gray);
}

/* Animación de palabra */
.word-slide {
  display: inline-block;
  transform: translateY(100%);
  animation: slideWord 0.5s forwards;
}

@keyframes slideWord {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .team-title {
    font-size: 32px;
  }

  .team-card {
    width: 200px;
  }
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f7f7;
}

.hero-section {
  background-color: #f7f7f7;
  padding: 80px 5%;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.text-content {
  flex: 1 1 400px;
  max-width: 500px;
}

.text-content h2 {
  font-size: 20px;
  color: #555;
  margin-bottom: 0.2em;
}

.text-content h1 {
  font-size: 48px;
  color: #007BFF;
  margin: 0 0 20px;
}

.text-content p {
  font-size: 16px;
  color: #888;
  line-height: 1.6;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  flex: 1 1 400px;
}

.grid-img {
  width: 180px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  object-fit: cover;
}

.grande {
  width: 220px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  margin-top: 60px;
}

.counters {
  background-color: var(--bg-light);
}

.zigzag {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 80px;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.zigzag:nth-of-type(even) {
  flex-direction: row-reverse;
}

.zigzag img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.zigzag-text {
  flex: 1;
  min-width: 280px;
}

.zigzag p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}
.zigzag-text h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.zigzag-text p {
  font-size: 1rem;
  line-height: 1.6;
}
.zigzag-text p strong {
  color: #005fa3; /* Azul corporativo elegante */
}

    .seccion-carrusel {
  padding: 100px 0 60px; /* Mucho más espacio arriba y abajo */
  background-color: #f9fbfd;
}

.carrusel-container {
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 40px;
  position: relative;
}

.carrusel-linea {
  display: inline-block;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #333;
}

.linea1 {
  animation-name: moverIzquierda;
  animation-duration: 25s;
}

.linea2 {
  animation-name: moverDerecha;
  animation-duration: 30s;
}

.linea3 {
  animation-name: moverIzquierda;
  animation-duration: 28s;
}

@keyframes moverIzquierda {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes moverDerecha {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.carrusel-linea span {
  margin: 0 60px;
  cursor: default;
  transition: color 0.3s ease;
}

.carrusel-linea span:hover {
  color: #005bbd; /* Azul corporativo elegante */
}



.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;   /* Centra horizontalmente y da espacio arriba y abajo */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 40px 20px;   /* Espacio interior elegante */
}

    

    
    .contenedor-principal {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: auto;
      background-color: white;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      margin-top: 100px;
      margin-bottom: 1px;
    }

    .texto-llamada {
      flex: 1;
      min-width: 300px;
      margin-right: 40px;
    }

    .texto-llamada h2 {
      font-size: 2.2rem;
      margin-bottom: 20px;
      color: #0078D7;
    }

    .texto-llamada p {
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .formulario-contacto {
      flex: 1;
      min-width: 320px;
    }

    .formulario-contacto h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 1.8rem;
      color: #333;
    }

    .form-group {
      margin-bottom: 25px;
      position: relative;
    }

    .form-group label {
      position: absolute;
      top: -20px;
      left: 0;
      font-size: 0.9rem;
      color: #666;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      border: none;
      border-bottom: 2px solid #ccc;
      padding: 10px 5px;
      font-size: 1rem;
      background: transparent;
      outline: none;
      transition: border-color 0.3s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-bottom: 2px solid #0078D7;
    }

    button {
      width: 100%;
      padding: 12px;
      border: none;
      background-color: #0078D7;
      color: white;
      font-size: 1rem;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s, transform 0.2s;
    }

    button:hover {
      background-color: #005fa3;
      transform: scale(1.02);
    }

    .thanks-message {
      text-align: center;
      margin-top: 20px;
      color: green;
      display: none;
    }

    @media screen and (max-width: 768px) {
      .contenedor-principal {
        flex-direction: column;
      }

      .texto-llamada {
        margin-right: 0;
        margin-bottom: 30px;
      }
    }

    .notes-container {
      flex: 1.2;
      background: #fdfdfd;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      position: relative;
    }

    .notes-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      width: 90%;
      height: 100%;
      background: url('https://i.ibb.co/xJ0DzGk/paper-texture.jpg') center/cover no-repeat;
      opacity: 0.1;
      z-index: 0;
    }

    .note {
      background: #fff7c0;
      padding: 15px 20px;
      border-radius: 10px;
      box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
      margin: 10px 0;
      width: 80%;
      position: relative;
      z-index: 1;
      font-size: 1rem;
      transform: rotate(-1deg);
    }

    .note:nth-child(even) {
      background: #d1f7e1;
      transform: rotate(1.5deg);
    }

    .sticker {
      width: 60px;
      height: 60px;
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 2;
    }

    @media (max-width: 900px) {
      .container {
        flex-direction: column;
      }
      .notes-container {
        order: 2;
        padding: 20px;
      }
    }


.yellow { background: #fff9c4; }
.pink   { background: #ffcdd2; }
.green  { background: #c8e6c9; }
.blue   { background: #bbdefb; }

.image-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.about-section {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      padding: 60px 20px;
      background: linear-gradient(to right, #ffffff, #f1f1f1);
    }

    .about-text {
      flex: 1 1 400px;
      max-width: 600px;
      padding: 20px;
      opacity: 0;
      transform: translateY(50px);
      transition: all 0.6s ease;
    }

    .about-text.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .about-text h2 {
      font-size: 2.5rem;
      color: #1e1e1e;
      margin-bottom: 20px;
    }

    .about-text p {
      font-size: 1.1rem;
      line-height: 1.6;
      color: #555;
    }

    .highlight {
      color: #2d9cdb;
      font-weight: bold;
    }

    .about-image {
      flex: 1 1 400px;
      max-width: 500px;
      padding: 20px;
      opacity: 0;
      transform: scale(0.9);
      transition: all 0.6s ease;
    }

    .about-image.visible {
      opacity: 1;
      transform: scale(1);
    }

    .about-image img {
      width: 100%;
      border-radius: 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
      .about-section {
        flex-direction: column-reverse;
        text-align: center;
      }

      .about-text h2 {
        font-size: 2rem;
      }
    }



.footer {
  background: linear-gradient(to bottom, #f9fafb, #f1f5f9);
  color: #ccc;
  font-family: 'Helvetica Neue', sans-serif;
  padding: 60px 40px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-column h3 {
  color: #007BFF;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.footer-column h4 {
  color: #007BFF;
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-column p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #2c3e50;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #2c3e50;
}

.footer-column ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-column a {
  text-decoration: none;
  color: #2c3e50;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #007BFF;
}

.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid #111;
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.8rem;
  color: #111;
}


.sectores-servicio {
  padding: 100px 20px;
  background: linear-gradient(to bottom, #f9fafb, #f1f5f9);
  text-align: center;
}

.sectores-titulo {
  font-size: 40px;
  color: #1e293b;
  margin-bottom: 60px;
  font-weight: 700;
  position: relative;
  margin-top: 40px;
}

.sectores-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sectores-descripcion {
  font-size: 18px;
  color: #475569;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sector-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  padding: 45px 30px;
  flex: 1 1 260px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 0.8s ease forwards;
}

.sector-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.sector-icono {
  font-size: 48px;
  margin-bottom: 20px;
}

.sector-nombre {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 15px;
  font-weight: 600;
}

.sector-card p {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .sector-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .sectores-titulo {
    font-size: 28px;
  }
  .sector-card {
    flex: 1 1 100%;
  }
}

/* Estilos de colores únicos por tarjeta */
.sector-card:nth-child(1) {
  border-top: 6px solid #7c3aed; /* Morado - Aguas */
}
.sector-card:nth-child(2) {
  border-top: 6px solid #60a5fa; /* Azul claro - Alimenticio */
}
.sector-card:nth-child(3) {
  border-top: 6px solid #06b6d4; /* Turquesa - Petroquímico */
}
.sector-card:nth-child(4) {
  border-top: 6px solid #fb7185; /* Rosa - Farmacéutico */
}
.sector-card:nth-child(5) {
  border-top: 6px solid #4ade80; /* Verde - Energético */
}


.seccion-experiencia-destacada {
  background-color: #1e3a8a; /* azul más claro y corporativo */
  color: #f1f5f9;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contenido-experiencia {
  max-width: 800px;
  width: 100%;
  animation: fadeInUp 0.8s ease-in-out;
}

.barra-decorativa {
  width: 60px;
  height: 4px;
  background-color: #38bdf8; /* celeste decorativo */
  margin: 0 auto 24px auto;
  border-radius: 10px;
}

.contenido-experiencia h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: #f8fafc;
}

.contenido-experiencia p {
  font-size: 16px;
  color: #e0e7ff;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Centrado del formulario */
.formulario-unete {
  max-width: 800px;
  width: 100%;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.formulario-unete form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.formulario-unete label,
.formulario-unete input,
.formulario-unete textarea,
.formulario-unete button {
  width: 100%;
  max-width: 600px;
}
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 600px) {
    .contenido-experiencia h2 {
      font-size: 26px;
    }

    .contenido-experiencia p {
      font-size: 15px;
    }
  }

        .portada-principal {
      padding: 60px 5%;
      position: relative;
      overflow: hidden;
    }

    .portada-contenido {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .bloque-texto {
      flex: 1 1 45%;
      z-index: 2;
      min-width: 300px;
    }

    .bloque-texto .subtitulo {
      font-size: 1.1rem;
      font-weight: 600;
      color: #444;
      margin-bottom: 10px;
    }

    .bloque-texto .titulo {
      font-size: 3rem;
      font-weight: 900;
      margin: 0 0 20px;
      color: #000;
    }

    .bloque-texto .descripcion {
      font-size: 1.1rem;
      color: #444;
      line-height: 1.6;
    }

    .galeria-imagenes {
      flex: 1 1 50%;
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
      z-index: 2;
    }

    .galeria-imagenes img {
      width: 30%;
      min-width: 140px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    

    @media (max-width: 900px) {
      .portada-contenido {
        flex-direction: column;
        text-align: center;
      }

      .galeria-imagenes {
        justify-content: center;
      }

      .bloque-texto, .galeria-imagenes {
        flex: 1 1 100%;
      }

      .bloque-texto .titulo {
        font-size: 2.2rem;
      }

      .galeria-imagenes img {
        width: 80%;
      }
    }

.historia-seccion {
  background: #f2f6fa;
  padding: 100px 20px;
  position: relative;
}

.historia-titulo {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: #1a1a1a;
}

.linea-tiempo {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.linea-tiempo::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #007BFF;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.evento {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.evento .contenido {
  background-color: white;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  position: relative;
}

.evento.izquierda {
  left: 0;
  text-align: right;
}

.evento.derecha {
  left: 50%;
  text-align: left;
}

.evento::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #007BFF;
  border-radius: 50%;
  top: 20px;
  z-index: 1;
}

.evento.derecha::before {
  left: -10px;
  right: auto;
}

.evento h3 {
  font-size: 1.5rem;
  color: #007BFF;
  margin-bottom: 10px;
}

.evento p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

/* Animación al hacer scroll (opcional si usas animate.css o similar) */
.evento {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.evento:nth-child(1) { animation-delay: 0.2s; }
.evento:nth-child(2) { animation-delay: 0.4s; }
.evento:nth-child(3) { animation-delay: 0.6s; }
.evento:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .linea-tiempo::after {
    left: 20px;
  }

  .evento {
    width: 100%;
    padding-left: 50px;
    padding-right: 25px;
  }

  .evento.izquierda,
  .evento.derecha {
    left: 0;
    text-align: left;
  }

  .evento::before {
    left: 0;
  }
}

* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    #loader-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #111; /* Fondo oscuro mientras carga */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Tu loader personalizado */
.loader {
  width: 8px;
  height: 40px;
  border-radius: 4px;
  display: block;
  margin: 20px auto;
  position: relative;
  background: currentColor;
  color: #fff;
  box-sizing: border-box;
  animation: animloader 0.3s 0.3s linear infinite alternate;
}

.loader::after, .loader::before {
  content: '';
  width: 8px;
  height: 40px;
  border-radius: 4px;
  background: currentColor;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  box-sizing: border-box;
  animation: animloader 0.3s 0.45s linear infinite alternate;
}

.loader::before {
  left: -20px;
  animation-delay: 0s;
}

@keyframes animloader {
  0% { height: 48px } 
  100% { height: 4px }
}

.formulario-unete {
  background: #ffffff;
  padding: 2.5rem;
  max-width: 600px;
  margin: 3rem auto;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 50, 100, 0.08);
  border: 1px solid #dce9f9;
}

.form-titulo {
  text-align: center;
  color: #255a9c;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-subtitulo {
  text-align: center;
  color: #1E90FF;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.formulario-unete label {
  display: block;
  margin-bottom: 0.4rem;
  color: #2c3e50;
  font-size: 0.95rem;
}

.formulario-unete input,
.formulario-unete textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.4rem;
  border: 1px solid #cbdcf0;
  border-radius: 10px;
  background: #f8fbff;
  font-size: 1rem;
  color: #34495e;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.formulario-unete input:focus,
.formulario-unete textarea:focus {
  border-color: #2980b9;
  background: #ffffff;
  outline: none;
}

.formulario-unete textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-enviar {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  background-color: #2980b9;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: #1e5e8f;
}

 .logo-strip-wrapper {
      overflow: hidden;
      background-color: #ffffff;
      padding: 30px 0;
    }

    .logo-strip {
      display: flex;
      gap: 30px;
      animation: moveLeft 40s linear infinite;
      width: max-content;
    }

    @keyframes moveLeft {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    .logo-box {
      flex: 0 0 auto;
      width: 120px;
      height: 120px;
      background-color: #fff;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, filter 0.3s ease;
      filter: grayscale(100%);
      cursor: pointer;
    }

    .logo-box:hover {
      transform: scale(1.1);
      filter: grayscale(0%);
    }

    .logo-box img {
      max-width: 80%;
      max-height: 80%;
      object-fit: contain;
    }


#bloque-servicios {
  position: relative;
  width: 50vw; /* ancho casi total de la pantalla */
  max-width: 1200px; /* límite máximo */
  margin: 30px auto;
  text-align: center;
}

#bloque-servicios img {
  width: 100%;
  height: auto; /* mantiene proporción */
  border-radius: 20px;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#texto-servicio {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background-color: rgba(0, 0, 0, 0.45);
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 1.8rem;
  font-weight: bold;
}

 #contenedor {
      background: #f2f6fa;
      padding: 40px 20px;
      color: #333;
    }

    #titulo {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 40px;
      color: #007BFF;
    }

    #galeria {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    div[id^="item"] {
      position: relative;
      overflow: hidden;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      transition: transform 0.3s ease;
    }

    div[id^="item"] img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.5s ease;
    }

    div[id^="item"]:hover img {
      transform: scale(1.1);
    }

    div[id^="caption"] {
      position: absolute;
      bottom: 0;
      width: 100%;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
      color: #fff;
      padding: 15px;
      font-size: 1.1rem;
      font-weight: 500;
    }

#nuestro-equipo {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      padding: 80px 40px;
      gap: 60px;
      background: #f7f7f7;
    }

    #contenido-texto {
      max-width: 500px;
    }

    #contenido-texto h2 {
      font-size: 2.5rem;
      color: #222;
      margin: 0 0 10px;
    }

    #contenido-texto p {
      font-size: 1.1rem;
      color: #555;
      line-height: 1.6;
    }

    #foto-equipo {
      max-width: 500px;
    }

    #foto-equipo img {
      width: 100%;
      border-radius: 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
      object-fit: cover;
    }

    @media (max-width: 768px) {
      #nuestro-equipo {
        flex-direction: column;
        padding: 60px 20px;
        text-align: center;
      }

      #contenido-texto h2 {
        font-size: 2rem;
      }

      #foto-equipo {
        margin-top: 30px;
      }
    }

    

 /* ----- SECCIÓN DE CONTACTO ----- */
    .contacto-section {
      padding: 80px 20px;
      background: #f1f5f9;
    }

    .contacto-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
      align-items: flex-start;
    }

    .contacto-form, .contacto-info {
      flex: 1 1 45%;
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      padding: 40px;
      position: relative;
    }

    .contacto-form::before,
    .contacto-info::before {
      content: "";
      display: block;
      height: 6px;
      width: 100%;
      background: #3b82f6;
      position: absolute;
      top: 0;
      left: 0;
      border-top-left-radius: 20px;
      border-top-right-radius: 20px;
    }

    .contacto-form h2,
    .contacto-info h2 {
      margin-top: 0;
      font-size: 28px;
      margin-bottom: 20px;
    }

    .contacto-form input,
    .contacto-form textarea {
      width: 100%;
      padding: 14px;
      margin-bottom: 20px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      font-size: 16px;
    }

    .contacto-form button {
      background-color: #3b82f6;
      color: white;
      padding: 14px 30px;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .contacto-form button:hover {
      background-color: #2563eb;
    }

    .contacto-info p {
      margin: 10px 0;
      color: #475569;
      font-size: 16px;
    }

    .success-message {
      display: none;
      color: green;
      margin-top: 15px;
      font-weight: 500;
    }

    /* ----- SECCIÓN DE MAPA ----- */
    .mapa-section {
      width: 100%;
      height: 400px;
      overflow: hidden;
      margin-top: 60px;
    }

    .mapa-section iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    @media (max-width: 900px) {
      .contacto-container {
        flex-direction: column;
      }
      .contacto-form,
      .contacto-info {
        flex: 1 1 100%;
      }
    }

    .confianza-inoxmag {
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.confianza-inoxmag::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  filter: blur(60px);
}

.confianza-contenido h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.confianza-contenido p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto 60px;
}

.reseñas-clientes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.reseña {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 25px;
  max-width: 300px;
  flex: 1 1 250px;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease;
}

.reseña:hover {
  transform: translateY(-8px);
}

.reseña p {
  font-style: italic;
  margin-bottom: 10px;
  color: #f1f5f9;
}

.reseña span {
  font-size: 14px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .confianza-contenido h2 {
    font-size: 28px;
  }
  .reseñas-clientes {
    flex-direction: column;
    align-items: center;
  }
}



contenedor {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
  padding: 60px;
  background: #f9f9f9;
  font-family: 'Georgia', serif;
}

/* Tarjetas principales */
movil {
  width: 280px;
  height: 500px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: black;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* Segundo móvil más alto */
movil:nth-of-type(2) {
  height: 550px;
  transform: translateY(-20px);
}

/* Fondo de imagen */
photo {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(60%);
}

/* Título */
titulo {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  color: white;
  font-size: 22px;
  z-index: 2;
}

/* Botón */
boton {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: black;
  border: none;
  border-radius: 20px;
  padding: 10px 24px;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
  font-family: inherit;
}

.clientes {
    text-align: center;
    padding: 50px 0;
}

.clientes h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.logos-clientes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.logos-clientes img {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logos-clientes img:hover {
    opacity: 1;
}

.colaborador-installnox {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.colaborador-installnox img {
    max-width: 150px;
    height: auto;
}

.colaborador-installnox p {
    font-size: 0.85rem;
    color: #555;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

.colaborador-installnox:hover {
    opacity: 1;
}



/* Sección general */
.trust-section {
  padding: 100px 20px;
  background-color: #f4f7fa;
}

/* Contenedor */
.trust-container {
  max-width: 1200px;
  margin: auto;
}

/* Título */
.trust-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: #1e293b;
  margin-bottom: 80px;
  position: relative;
}

.trust-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #1e40af;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Card estilo dividido */
.split-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.split-card:hover {
  transform: translateY(-6px);
}

/* Imagen optimizada */
.trust-image-large {
  flex: 1 1 60%;
  max-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Área de contenido */
.trust-content-box {
  flex: 1 1 40%;
  padding: 40px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.trust-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #0f172a;
}

/* Lista de checkmarks */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list li {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.checkmark {
  color: #16a34a;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 900px) {
  .split-card {
    flex-direction: column;
  }

  .trust-image-large {
    max-height: none;
    height: auto;
  }

  .trust-content-box {
    padding: 30px;
    text-align: center;
  }

  .trust-list li {
    justify-content: center;
  }
}


/* Sección general */
.iso-section {
  padding: 30px 20px;
  background-color: #f9fafb;
}

/* Contenedor central */
.iso-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.iso-description {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 5px;
  line-height: 1.8;
}

/* Título */
.iso-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 60px;
  position: relative;
}

.iso-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: #1e40af;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Contenedor de tarjetas */
.iso-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Tarjeta individual */
.iso-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  padding: 30px;
  max-width: 340px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iso-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Imagen del certificado */
.iso-image {
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 12px;
}

.iso-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Títulos y textos */
.iso-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 15px;
}

.iso-card p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 960px) {
  .iso-cards {
    flex-direction: column;
    align-items: center;
  }

  .iso-card {
    max-width: 90%;
  }
}

/* style.css */
* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}



 .titulo-azul {
    color: #007BFF !important;
  }

  .form-subtitulo {
  color: #475569 !important; /* Naranja brillante, cambia el color si quieres */
}

/* =========================
   QUALITY POLICY
========================= */

.policy-section {
    position: relative;
    padding: 120px 25px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    overflow: hidden;
}

/* Decorative background */
.policy-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 280px;
    height: 280px;
    border: 14px solid rgba(0, 123, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.policy-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border: 10px solid rgba(70, 130, 180, 0.06);
    border-radius: 50%;
    z-index: 0;
}

.policy-container {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
    padding: 70px 60px;
    background: rgba(255,255,255,0.92);
    border-radius: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,123,255,0.08);
    backdrop-filter: blur(10px);
}

/* Small decorative detail */
.policy-container::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-top: 5px solid rgba(0,123,255,0.12);
    border-right: 5px solid rgba(0,123,255,0.12);
    border-radius: 0 20px 0 0;
    transform: rotate(12deg);
}

.policy-title {
    font-size: 3rem;
    font-weight: 700;
    color: #007bff;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.policy-container p {
    font-size: 1.05rem;
    line-height: 2;
    color: #555;
    text-align: justify;
    margin-bottom: 28px;
}

.policy-container strong {
    color: #007bff;
    font-weight: 600;
}

/* Date / signature */
.policy-footer {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(0,123,255,0.1);
    color: #777;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {

    .policy-section {
        padding: 90px 20px;
    }

    .policy-container {
        padding: 45px 30px;
        border-radius: 24px;
    }

    .policy-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }

    .policy-container p {
        font-size: 1rem;
        line-height: 1.9;
    }
}

@media (max-width: 480px) {

    .policy-section {
        padding: 70px 15px;
    }

    .policy-container {
        padding: 35px 22px;
    }

    .policy-title {
        font-size: 1.8rem;
    }

    .policy-container p {
        text-align: left;
    }

    .policy-section::before,
    .policy-section::after {
        opacity: 0.4;
    }
}