:root {
  --primary: #1aa6a1; /* verde azulado READY */
  --dark: #1f2933;
  --gray: #6b7280;
  --light: #f7f9fb;
}

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1f2933;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: #ffffff;
}

.navbar nav a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 28px;
  font-size: 14px;
  font-weight: 500;
}

.navbar nav a:hover {
  opacity: 0.8;
}

/* HERO / PORTADA */
.hero {
  height: 100vh;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url("assets/portada.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

/* TÍTULO GRANDE */
.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

/* TEXTO PEQUEÑO */
.hero-content p {
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

/* BOTONES */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* BOTÓN PRINCIPAL */
.btn.primary {
  background: #0fb9b1;
  color: #ffffff;
}

.btn.primary:hover {
  background: #0daaa3;
}

/* BOTÓN SECUNDARIO */
.btn.secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* SECCIONES GENERALES */
.section {
  padding: 100px 80px;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
}

.section p {
  max-width: 800px;
}

/* DOS COLUMNAS */
.two-cols {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 60px;
  align-items: center;
}

.two-cols img {
  width: 100%;
  border-radius: 12px;
}


/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 28px;
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--primary);
}

}

.card h3 {
  margin-bottom: 18px;
  color: #0f766e; /* verde más oscuro y visible */
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}



.card p {
  color: #4b5563;
  font-size: 15px;
}

/* EFECTO HOVER (cuando pasás el mouse) */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}


/* MEJORA CONTINUA */
.mejora-lista {
  margin-top: 30px;
  list-style: none;
}

.mejora-lista li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* CTA */
.cta {
  background: #0fb9b1;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  margin-bottom: 30px;
}

/* LOGOS */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  align-items: center;
}

.logos-grid img {
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.8;
}


/* ========================= */
/*        CONTACTO           */
/* ========================= */

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

/* LOGO */
.contact-logo img {
  max-width: 250px;
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }

  .contact-logo img {
    max-width: 180px;
  }
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}

.whatsapp img {
  width: 70px;
  height: 70px;
}


/* LOGO EMPRESA */
.empresa-logo img {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
}


.empresa-logo img {
  max-width: 280px;
  width: 100%;
}
.empresa-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.empresa-logo {
  max-width: 220px;
}

/* TITULO LA EMPRESA */
.empresa-right h2 {
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.empresa-right h2::after {
  content: "";
  width: 60%;
  height: 4px;
  background: var(--primary);
  position: absolute;
  left: 0;
  bottom: -10px;
  border-radius: 2px;
}
.empresa-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#empresa {
  padding: 120px 20px;
  position: relative;
  background: url("../assets/imagenes/laempresa.jpg") center/cover no-repeat;
  color: #ffffff;
}


/* Capa oscura elegante encima de la imagen */
#empresa::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
/* EMPRESA MÁS COMPACTA */
#empresa {
  padding: 80px 40px; /* antes era más grande */
}

#empresa h2 {
  font-size: 32px; /* título más chico */
}

#empresa p {
  font-size: 15px;
  line-height: 1.6;
}

#empresa .empresa-left img {
  max-width: 180px; /* logo un poco más chico */
}

/* Asegura que el contenido quede por encima */
#empresa * {
  position: relative;
  z-index: 1;
}

.la-empresa {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("assets/imagenes/laempresa.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



/* PORQUE ELEGIR READY */
.porque {
  background: #f7f9fb;
  text-align: center;
}

.porque-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}


.porque-item {
  position: relative;
  padding: 40px 30px;
  border-radius: 16px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: 0.3s ease;
  min-height: 420px;   /* hace el rectángulo vertical */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* texto abajo tipo banner */
}


.porque-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.porque-item h3,
.porque-item p {
  position: relative;
  z-index: 2;
}


.porque-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.porque-item h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 18px;
}


.porque-item p {
  color: #ffffff;
  font-size: 15px;
}

/* IMAGENES SECCION PORQUE */
.porque-imagenes {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.porque-imagenes img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transition: 0.4s ease;
}

.porque-imagenes img:hover {
  transform: scale(1.05);
}
/* ===== MEJORA CONTINUA CICLO ===== */

.mejora {
  text-align: left;
}
.mejora-contenido h2 {
  text-align: left;
  margin-bottom: 40px;
}


.ciclo-container {
  position: relative;
  width: 600px;
  height: 500px;
  margin: 60px auto;
}

.ciclo-centro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 110px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}



.ciclo-item {
  position: absolute;
  background: #ffffff;
  padding: 20px 30px;
  border-radius: 12px;
  font-weight: 500;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.ciclo-item:hover {
  transform: scale(1.05);
}

/* POSICIONES */

.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.right {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.ciclo-item {
  width: 180px;
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.ciclo-item h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 16px;
}

.ciclo-item p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}
/* ========================= */
/*        SERVICIOS          */
/* ========================= */

.servicios {
  padding: 100px 20px;
  text-align: center;
  position: relative;

  background-image: url("assets/imagenes/fondo-servicios.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.servicios::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* Oscurece la imagen */
}


.servicios-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}


.servicios-title {
  font-size: 42px;
  margin-bottom: 15px;
  color: #ffffff;
}

.servicios-subtitle {
  font-size: 18px;
  color: #6b6b6b;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* GRID */

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */

.servicio-card {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Hover efecto premium */

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Línea verde superior READY */

.servicio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: #1f9d8b;
}

/* Títulos */

.servicio-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #1f9d8b;
}

/* Lista */

.servicio-card ul {
  list-style: none;
  padding: 0;
}

.servicio-card ul li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #4a4a4a;
  position: relative;
  padding-left: 18px;
}

/* Puntito verde */

.servicio-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1f9d8b;
  font-weight: bold;
}

/* Responsive */

@media (max-width: 992px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================= */
/*      EXPERIENCIAS         */
/* ========================= */

.experiencias {
  padding: 100px 20px;
  background: #ffffff;
  text-align: center;
}

.experiencias-container {
  max-width: 1200px;
  margin: 0 auto;
}

.experiencias-title {
  font-size: 42px;
  margin-bottom: 15px;
  color: #1d1d1d;
}

.experiencias-subtitle {
  font-size: 18px;
  color: #6b6b6b;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.experiencias-img img {
  width: 100%;
  max-width: 1000px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: 0.4s ease;
}

.experiencias-img img:hover {
  transform: scale(1.02);
}
/* ========================= */
/*        RESPONSIVE         */
/* ========================= */

@media (max-width: 992px) {

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .servicio-card {
    text-align: center;
  }

}

@media (max-width: 768px) {

  h1 {
    font-size: 32px;
  }

  .servicios-title {
    font-size: 28px;
  }

  .servicios-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }

  .servicios {
    padding: 60px 20px;
  }

}
/* ========================= */
/*        MENU MOBILE        */
/* ========================= */

.menu-toggle {
  display: none;
  font-size: 28px;
  color: #ffffff;
  cursor: pointer;
}

/* Mobile */

@media (max-width: 992px) {

  .navbar {
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 30px 0;
  }

  .navbar nav a {
    margin: 15px 0;
    font-size: 16px;
  }

  .navbar nav.active {
    display: flex;
  }

}
@media (max-width: 992px) {

  .two-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}
/* ========================= */
/*   MEJORA CONTINUA MOBILE  */
/* ========================= */

@media (max-width: 768px) {

  .ciclo-container {
    width: 100%;
    height: auto;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .ciclo-centro {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 20px;
  }

  .ciclo-item {
    position: relative;
    width: 90%;
    transform: none !important;
  }

  .top,
  .right,
  .bottom,
  .left {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
  }

}
/* ========================= */
/*   CONTACTO RESPONSIVE     */
/* ========================= */

@media (max-width: 768px) {

  .contacto-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contacto-logo img {
    max-width: 200px;
    height: auto;
  }

  .contacto-info {
    text-align: left;
  }

  .contacto-form {
    width: 100%;
  }

  .contacto-form input,
  .contacto-form textarea {
    width: 100%;
  }

  .contacto-form button {
    width: 100%;
  }

}
/* ===== CONTACTO ===== */

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}
/* ========================= */
/*        CONTACTO           */
/* ========================= */

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}


.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-logo img {
  width: 220px;
  margin-bottom: 30px;
}

#contacto form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contacto input,
#contacto textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#contacto textarea {
  min-height: 120px;
  resize: vertical;
}

/* 📱 Responsive */

@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-logo img {
    width: 160px;
    margin: 0 auto 20px;
  }

  #contacto form {
    width: 100%;
  }
}
.porque-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.porque-item {
  position: relative;
  flex: 1;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
}


.porque-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.porque-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.porque-content {
  position: absolute;
  top: 0;
  left: 0;
  padding: 25px;
  color: white;
  z-index: 2;
}
.titulo-impacto {
  position: relative;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(40px);
  animation: aparecerTitulo 1s ease forwards;
}

.titulo-impacto::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 0;
  height: 4px;
  background: #1e3a8a; /* azul elegante */
  transform: translateX(-50%);
  animation: lineaTitulo 1s ease forwards;
  animation-delay: 0.8s;
}

@keyframes aparecerTitulo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineaTitulo {
  to {
    width: 120px;
  }
}
/* TITULO IMPACTO SCROLL */

.titulo-impacto {
  position: relative;
  font-size: 42px;
  font-weight: 800; /* más grueso */
  margin-bottom: 70px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.titulo-impacto.visible {
  opacity: 1;
  transform: translateY(0);
}

.titulo-impacto::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 0;
  height: 5px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width 0.8s ease;
}

.titulo-impacto.visible::after {
  width: 140px;
}
.titulo-impacto {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.titulo-impacto.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ============================= */
/*   TITULO IMPACTO SCROLL READY */
/* ============================= */

.titulo-impacto {
  font-size: 44px;
  font-weight: 900; /* súper grueso */
  text-align: center;
  margin-bottom: 70px;

  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.titulo-impacto.visible {
  opacity: 1;
  transform: translateY(0);
}

.titulo-impacto::after {
  content: "";
  display: block;
  width: 0;
  height: 5px;
  background: var(--primary);
  margin: 18px auto 0;
  transition: width 0.8s ease;
}

.titulo-impacto.visible::after {
  width: 160px;
}
/* ============================= */
/* VALOR DEL SERVICIO */
/* ============================= */

.valor-servicio {
  background-color: #f4f6f8;
  text-align: center;
  padding: 80px 20px;
}

.valor-servicio h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 800;
}

.valor-descripcion {
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 18px;
  color: #555;
}

.cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 28px;
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--primary);
}


.card h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
}

.card p {
  font-size: 15px;
  color: #555;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 992px) {
  .cards {
    flex-direction: column;
  }
}
/* ============================= */
/* VALOR DEL SERVICIO - NUEVO ESTILO */
/* ============================= */

.titulo-valor {
  text-align: center;
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 60px;
}

.valor-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 0 40px;
  flex-wrap: wrap;
}

.valor-item {
  position: relative;
  width: 23%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valor-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Oscurecido con degradado profesional */
.valor-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.2)
  );
}

.valor-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 40px 25px;
  max-width: 90%;
}

.valor-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.valor-content p {
  font-size: 16px;
  line-height: 1.6;
}
/* ============================= */
/* POR QUÉ ELEGIR READY */
/* ============================= */

.porque {
  padding: 100px 5%;
  text-align: center;
}

.titulo-impacto {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 60px;
}

.porque-grid {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.porque-item {
  position: relative;
  width: 23%;
  height: 500px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.porque-item:hover {
  transform: scale(1.03);
}

.porque-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Degradado elegante */
.porque-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.15)
  );
}

.porque-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 40px 25px;
  max-width: 90%;
}

.porque-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.porque-content p {
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .porque-item {
    width: 48%;
    margin-bottom: 25px;
  }
}

@media (max-width: 600px) {
  .porque-item {
    width: 100%;
  }

  .titulo-impacto {
    font-size: 28px;
  }
}
/* ===== FONDO GENERAL DESDE EMPRESA HACIA ABAJO ===== */

#empresa,
#beneficios,
#porque,
#mejora,
#experiencias,
#contacto {
  position: relative;
  z-index: 1;
}

/* ===== FONDO GENERAL DESDE LA EMPRESA HACIA ABAJO ===== */

body {
  background-image: url("assets/imagenes/fondo.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


/* Hero sin fondo transparente */
.hero {
  background-image: url("assets/portada.jpg"); /* TU imagen original */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}


/* Secciones con fondo transparente */
#empresa,
#beneficios,
#porque,
#mejora,
#experiencias,
#contacto {
  background: transparent;
  position: relative;
  z-index: 2;
}
/* ===== MEJORA CONTINUA NUEVO DISEÑO ===== */

.mejora-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.mejora-img {
  width: 40;
}

.mejora-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.mejora-contenido {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.mejora h2 {
  text-align: left;
  margin-bottom: 40px;
}
#mejora h2 {
  margin-left: 300px;
}
/* ===== COTIZACIÓN DESTACADA ===== */

.cotizacion-destacada {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cotizacion-destacada::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,255,200,0.08) 0%, transparent 60%);
  animation: girar 12s linear infinite;
}

@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cotizacion-contenido {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.cotizacion-destacada h2 {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.cotizacion-destacada p {
  font-size: 20px;
  color: #cbd5e1;
  margin-bottom: 40px;
}

.btn-cotizacion {
  display: inline-block;
  padding: 18px 40px;
  background: #00c2a8;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 15px 30px rgba(0, 194, 168, 0.4);
}

.btn-cotizacion:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 194, 168, 0.6);
}
/* ===== FONDO GLOBAL DE SECCIONES ===== */

body {
  background-color: #f4f6f8;
}

section:not(.hero) {
  position: relative;
  z-index: 1;
}

section:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 120, 115, 0.05),
    rgba(0, 120, 115, 0.02)
  );
  z-index: -1;
}
/* ===== EFECTO LUZ GIRATORIA GLOBAL ===== */

body {
  background: #f4f6f8;
  position: relative;
  overflow-x: hidden;
}

/* Contenedor de efecto */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    rgba(0, 80, 75, 0.12),
    rgba(0, 80, 75, 0.04),
    rgba(0, 80, 75, 0.12)
  );
  animation: girarLuz 18s linear infinite;
  z-index: 0;
  pointer-events: none;
}


/* Animación */
@keyframes girarLuz {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Asegura que el contenido esté por encima */
section,
header,
nav,
footer {
  position: relative;
  z-index: 1;
}
.la-empresa {
    background-image: url("assets/imagenes/laempresa.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#empresa {
  background-image: url("assets/imagenes/laempresa.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
#empresa.section.two-cols {
  background: url("assets/imagenes/laempresa.jpg") center center / cover no-repeat !important;
  position: relative;
  color: #ffffff;
}


#beneficios.section.valor-servicio {
  background: url("assets/imagenes/valor.jpg") center center / cover no-repeat !important;
  position: relative;
  color: #ffffff;
}
#beneficios.section.valor-servicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

#beneficios.section.valor-servicio > * {
  position: relative;
  z-index: 1;
}
#porque.section.porque {
  background: url("assets/imagenes/porque.jpg") center center / cover no-repeat !important;
  position: relative;
  color: #ffffff;
}
#porque.section.porque::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

#porque.section.porque > * {
  position: relative;
  z-index: 1;
}
/* ===== FONDO LADO DERECHO MEJORA CONTINUA ===== */

#mejora {
  position: relative;
  overflow: hidden;
}

#mejora::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;

  background: url("assets/imagenes/continua.jpg") center right / cover no-repeat;

  z-index: 0;
}

/* aseguramos que el contenido quede arriba */
#mejora > * {
  position: relative;
  z-index: 1;
}
#mejora .ciclo-container {
  margin-left: auto;
  margin-right: 8%;
}
.empresa-right {
  margin-left: -120px;
}

@media (max-width: 768px) {

  /* Sección empresa */
  #empresa {
    padding: 60px 20px;
    background-position: center;
  }

  /* Cambiamos las columnas a vertical */
  .two-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Texto izquierdo */
  .empresa-left {
    text-align: left;
  }

  .empresa-left p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Título */
  #empresa h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  /* Cards misión visión valores */
  .empresa-right {
    gap: 20px;
  }

  .empresa-right .card {
    padding: 20px;
  }

}
@media (max-width: 768px) {

  .two-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .empresa-left,
  .empresa-right {
    width: 100%;
  }

  #empresa {
    padding: 60px 20px;
  }

}
/* ========================= */
/*   MOBILE FIX GLOBAL READY */
/* ========================= */

@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    padding: 0 15px;
  }

  /* HERO */
  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 15px;
  }

  /* SECCIONES */
  .section {
    padding: 60px 20px;
  }

  /* EMPRESA */
  .empresa-right {
    margin-left: 0 !important;
  }

  /* VALOR DEL SERVICIO */
  .valor-grid {
    flex-direction: column;
    padding: 0;
  }

  .valor-item {
    width: 100% !important;
    height: 350px;
  }

  /* PORQUE */
  .porque-grid {
    flex-direction: column;
  }

  .porque-item {
    width: 100% !important;
    height: 350px;
  }

  /* MEJORA CONTINUA */
  .mejora-wrapper {
    flex-direction: column;
  }

  .mejora-contenido {
    width: 100%;
  }

  #mejora h2 {
    margin-left: 0;
    text-align: center;
  }

  /* CONTACTO */
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }

}
/* ===== FIX CARDS EMPRESA MOBILE ===== */

@media (max-width: 768px) {

  .cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    margin-top: 30px;
  }

  .card {
    width: 100% !important;
    min-height: auto !important;
  }

}
/* ===== FIX TITULOS EMPRESA ===== */

#empresa .card h3 {
  color: #0f172a !important; /* azul oscuro elegante */
}
/* ===== FIX TEXTO SERVICIOS ===== */

.servicios-subtitle {
  color: #ffffff !important;
}
/* ===== TITULO MEJORA CONTINUA GRANDE ===== */

#mejora h2 {
  font-size: 48px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  text-align: left;
}
/* ===== LOGO + TEXTO NAVBAR ===== */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
}

.logo span {
  font-weight: 700;
  font-size: 22px;
  color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
  .logo img {
    height: 34px;
  }

  .logo span {
    font-size: 18px;
  }
}
/* ===================================== */
/*   CONTACTO AZUL CORPORATIVO READY    */
/* ===================================== */

#contacto {
  background: linear-gradient(135deg, #0b3c5d, #145da0, #0b3c5d);
  background-size: 200% 200%;
  animation: luzMovimiento 8s ease infinite;
}

/* Animación de luz */
@keyframes luzMovimiento {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Texto blanco */
#contacto h2,
#contacto p,
#contacto strong,
#contacto a {
  color: #ffffff !important;
}

#contacto a {
  text-decoration: underline;
}
body {
  background: linear-gradient(135deg, #0f172a, #1e293b) !important;
}
#contacto {
  background: linear-gradient(135deg, #0f172a, #1e293b) !important;
}
#experiencias h2 {
  color: #ffffff !important;
}
/* ===== AJUSTE LOGO NAVBAR ===== */

.logo img {
  height: 115px;
  width: auto;
  display: block;
}
/* ===== LOGO SECCION EMPRESA ===== */

.empresa-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Logo sección empresa con fondo */
.empresa-logo {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 20px auto;
}
