/* ==== ESTILO GENERAL ==== */
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  color: #000000;
  background-color: #ffffff;
}
/* ====== RESET Y FUENTES ====== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* ====== NAVBAR MEJORADO ====== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  overflow: visible;
}

.navbar:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* LOGO */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navbar .logo:hover {
  transform: scale(1.05);
}

.navbar .logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.navbar .logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* NAV LINKS */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 45px;
  align-items: center;
  margin: 0;
  padding: 0 20px 0 0;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  display: block;
  padding: 5px 0;
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
}

.navbar ul li a:hover {
  color: #ffd700;
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1002;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.hamburger:hover {
  background: rgba(0, 0, 0, 0.5);
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== HERO HEADER ===== */
.hero-header {
  position: relative;
  min-height: 60vh;
  height: auto;
  background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../img/headd.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #ffffff;
  border-radius: 100% 100% 0 0;
}

/* ====== Contenido del header ====== */
.hero-content {
  z-index: 1;
  max-width: 1000px;
  padding: 60px 20px;
  width: 100%;
}

/* ===== HERO ANIMATION ===== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-style: italic;
  font-size: 3.8em;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  animation: fadeUp 1.2s ease-out;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ===== EFECTO TYPING DINÁMICO ===== */
#typed-text {
  border-right: 3px solid #ffd700;
  padding-right: 5px;
  display: inline-block;
}

.cursor {
  display: inline-block;
  color: #ffd700;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-content p {
  font-style: inherit;
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
  animation: fadeUp 2s ease-out;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero {
  background-color: #ffd700;
  color: #000;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  animation: fadeUp 2.5s ease-out;
  display: inline-block;
}

.btn-hero:hover {
  background-color: #ffdf33;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* ====== Estilo para la sección de información destacada ====== */
.informacion-destacada {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 60px 300px;
  gap: 40px;
  flex-wrap: wrap;
}

.informacion-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.informacion-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.informacion-item .icono {
  width: 50px;
  height: 50px;
  margin-bottom: -20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.informacion-item:hover .icono {
  transform: scale(1.1);
}

.informacion-text .numero {
  margin-top: 16px;
  font-size: 2.3rem;
  font-weight: bold;
  color: #fed600;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.informacion-text p {
  font-size: 19px;
  color: #080061;
  line-height: 1.5;
  margin-top: 0px;
  opacity: 1;
  font-family: 'Poppins', sans-serif;
}

.informacion-item:first-child .icono {
  color: #00bfff;
}

.informacion-item:nth-child(2) .icono {
  color: #ff6347;
}

.informacion-item:nth-child(3) .icono {
  color: #32cd32;
}

.informacion-item:nth-child(4) .icono {
  color: #ff4500;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 1400px) {
  .navbar {
    padding: 15px 50px;
  }

  .navbar ul {
    gap: 40px;
    padding-right: 15px;
  }

  .hero-content h1 {
    font-size: 3.2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .informacion-destacada {
    padding: 50px 150px;
    gap: 35px;
  }
}

@media (max-width: 1200px) {
  .navbar {
    padding: 15px 40px;
  }

  .navbar ul {
    gap: 35px;
    padding-right: 10px;
  }

  .navbar ul li a {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 3.2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .informacion-destacada {
    padding: 45px 100px;
    gap: 30px;
  }

  .informacion-text .numero {
    font-size: 2rem;
  }

  .informacion-text p {
    font-size: 17px;
  }
}

@media (max-width: 968px) {
  .navbar {
    padding: 12px 30px;
  }

  .navbar .logo img {
    width: 45px;
    height: 45px;
  }

  .navbar .logo span {
    font-size: 22px;
  }

  .navbar ul {
    gap: 28px;
  }

  .navbar ul li a {
    font-size: 14px;
  }

  .hero-header {
    min-height: 65vh;
  }

  .hero-content h1 {
    font-size: 2.8em;
  }

  .hero-content p {
    font-size: 0.95em;
  }

  .informacion-destacada {
    padding: 40px 60px;
    gap: 25px;
  }

  .informacion-item {
    min-width: 180px;
  }

  .informacion-item .icono {
    width: 45px;
    height: 45px;
    margin-bottom: -15px;
  }

  .informacion-text .numero {
    font-size: 1.8rem;
  }

  .informacion-text p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 15px 25px;
  }

  .navbar .logo img {
    width: 42px;
    height: 42px;
  }

  .navbar .logo span {
    font-size: 20px;
  }

  .navbar ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 320px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    gap: 40px;
    padding: 60px 30px;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar ul.active {
    right: 0;
  }

  .navbar ul li {
    width: 100%;
    text-align: center;
  }

  .navbar ul li a {
    font-size: 18px;
    display: block;
    padding: 10px 0;
  }

  .navbar ul li a::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-header {
    min-height: 70vh;
    padding-top: 70px;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 2.4em;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .btn-hero {
    padding: 12px 35px;
    font-size: 14px;
  }

  .informacion-destacada {
    padding: 35px 40px;
    gap: 30px;
    justify-content: center;
  }

  .informacion-item {
    flex: 1 1 calc(50% - 15px);
    min-width: 150px;
  }

  .informacion-item .icono {
    width: 42px;
    height: 42px;
  }

  .informacion-text .numero {
    font-size: 1.7rem;
  }

  .informacion-text p {
    font-size: 15px;
  }
}

@media (max-width: 580px) {
  .informacion-destacada {
    padding: 30px 25px;
    gap: 25px;
  }

  .informacion-item {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .informacion-item .icono {
    width: 50px;
    height: 50px;
    margin-bottom: -10px;
  }

  .informacion-text .numero {
    font-size: 2rem;
  }

  .informacion-text p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 12px 20px;
  }

  .navbar .logo img {
    width: 38px;
    height: 38px;
  }

  .navbar .logo span {
    font-size: 18px;
  }

  .hamburger {
    padding: 8px;
    margin-right: 5px;
  }

  .hamburger span {
    width: 25px;
    height: 2.5px;
  }

  .navbar ul {
    width: 80%;
  }

  .hero-header {
    min-height: 75vh;
    padding-top: 70px;
  }

  .hero-header::after {
    height: 30px;
  }

  .hero-content {
    padding: 30px 15px;
  }

  .hero-content h1 {
    font-size: 2em;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.85em;
    margin-bottom: 25px;
  }

  .btn-hero {
    padding: 11px 30px;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .informacion-destacada {
    padding: 25px 20px;
    gap: 20px;
  }

  .informacion-item .icono {
    width: 45px;
    height: 45px;
  }

  .informacion-text .numero {
    font-size: 1.8rem;
  }

  .informacion-text p {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .navbar {
    padding: 10px 15px;
  }

  .navbar .logo img {
    width: 35px;
    height: 35px;
  }

  .navbar .logo span {
    font-size: 16px;
  }

  .hamburger span {
    width: 22px;
  }

  .hero-content h1 {
    font-size: 1.8em;
  }

  .hero-content p {
    font-size: 0.8em;
  }

  .btn-hero {
    padding: 10px 25px;
    font-size: 12px;
  }
}
/* ====== Estilo para la sección de información destacada ====== */
.informacion-destacada {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 60px 300px;
  gap: 40px;
  flex-wrap: wrap;
}

.informacion-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.informacion-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.informacion-item .icono {
  width: 50px;
  height: 50px;
  margin-bottom: -20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.informacion-item:hover .icono {
  transform: scale(1.1);
}

.informacion-text .numero {
  font-size: 2.3rem;
  font-weight: bold;
  color: #fed600;
  margin-bottom: 0px;
  font-family: 'Poppins', sans-serif;
}

.informacion-text p {
  font-size: 19px;
  color: #080061;
  line-height: 1.5;
  margin-top: 0px;
  opacity: 1;
  font-family: 'Poppins', sans-serif;
}

.informacion-item:first-child .icono {
  color: #00bfff;
}

.informacion-item:nth-child(2) .icono {
  color: #ff6347;
}

.informacion-item:nth-child(3) .icono {
  color: #32cd32;
}

.informacion-item:nth-child(4) .icono {
  color: #ff4500;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 1400px) {
  .informacion-destacada {
    padding: 50px 150px;
    gap: 35px;
  }
}

@media (max-width: 1200px) {
  .informacion-destacada {
    padding: 45px 100px;
    gap: 30px;
  }

  .informacion-text .numero {
    font-size: 2rem;
  }

  .informacion-text p {
    font-size: 17px;
  }
}

@media (max-width: 968px) {
  .informacion-destacada {
    padding: 40px 60px;
    gap: 25px;
  }

  .informacion-item {
    min-width: 180px;
  }

  .informacion-item .icono {
    width: 45px;
    height: 45px;
    margin-bottom: -15px;
  }

  .informacion-text .numero {
    font-size: 1.8rem;
  }

  .informacion-text p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .informacion-destacada {
    padding: 35px 40px;
    gap: 30px;
    justify-content: center;
  }

  .informacion-item {
    flex: 1 1 calc(50% - 15px);
    min-width: 150px;
  }

  .informacion-item .icono {
    width: 42px;
    height: 42px;
  }

  .informacion-text .numero {
    font-size: 1.7rem;
  }

  .informacion-text p {
    font-size: 15px;
  }
}

@media (max-width: 580px) {
  .informacion-destacada {
    padding: 30px 25px;
    gap: 25px;
  }

  .informacion-item {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .informacion-item .icono {
    width: 50px;
    height: 50px;
    margin-bottom: -10px;
  }

  .informacion-text .numero {
    font-size: 2rem;
  }

  .informacion-text p {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .informacion-destacada {
    padding: 25px 20px;
    gap: 20px;
  }

  .informacion-item .icono {
    width: 45px;
    height: 45px;
  }

  .informacion-text .numero {
    font-size: 1.8rem;
  }

  .informacion-text p {
    font-size: 15px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.servicios-section {
  margin-top: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(148, 148, 148, 0.08);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.servicios-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.servicios-intro {
  position: sticky;
  top: 40px;
}

/* ESTILO DESTACADO PARA INTRO */

.servicios-intro h1 {
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: 700;
  position: relative;
}

.servicios-intro h1 span {
  color: #fbbf24;
  position: relative;
}



.servicios-intro p {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.8;
  font-weight: 400;
   font-family: Georgia, serif;
  position: relative;
  padding-left: 10px;
}

.servicios-intro p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: #fbbf24;
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* Responsive */
@media (max-width: 768px) {
  .servicios-intro h1 {
    font-size: 2rem;
  }
  
  .servicios-intro p {
    font-size: 1rem;
    padding-left: 25px;
  }
  
  .servicios-intro p::before {
    font-size: 3rem;
  }
}

.servicios-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.servicio-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: #fff;
}

.servicio-card:hover {
  border-color: #93918d;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.4), 0 0 60px rgba(251, 191, 36, 0.2);
  transform: translateY(-5px);
}

.servicio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: all 0.4s;
}

.servicio-card:hover img {
  filter: brightness(0.4);
  transform: scale(1.05);
}

/* Estilo general del overlay */
.servicio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(90, 90, 90, 0.15), rgba(245, 158, 11, 0.15));
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Centrado vertical */
  align-items: center;      /* Centrado horizontal */
  text-align: center;       /* Centrar texto */
  transition: all 0.3s ease;
}

/* Título centrado en el overlay */
.servicio-overlay h3 {
  font-size: 1.4rem;
  margin-top: 76px;
  color: #ffffff;
  margin-bottom: -30px; /* Espacio debajo del título */
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.8), 0 2px 4px rgba(0,0,0,0.5);
  font-weight: 700;
  transform: translateY(0);
  transition: transform 0.4s ease; /* Movimiento del título */
}

/* Descripción inicialmente oculta */
.servicio-descripcion {
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.5;
  margin-top: 0;  /* Inicialmente no tiene margen */
  opacity: 0;     /* Inicialmente oculta */
  transform: translateY(20px); /* Colocamos la descripción fuera de la vista */
  transition: all 0.4s ease; /* Animación para la descripción */
  font-size: 0.90rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  width: 100%; /* Aseguramos que la descripción ocupe todo el ancho */
}

/* Hover: Título se mueve a la parte superior, descripción se mueve hacia abajo */
.servicio-card:hover .servicio-overlay h3 {
  transform: translateY(-30px); /* Mover el título hacia arriba */
}

.servicio-card:hover .servicio-descripcion {
  opacity: 1;
  transform: translateY(0); /* Desplazar la descripción hacia abajo */
  margin-top: 10px; /* Añadir espacio entre el título y la descripción */
}

/* Estilo para el botón "Leer más" */
.leer-mas {
  padding: 10px 24px;
  background: transparent;
  border: 2px solid #fbbf24;
  border-radius: 8px;
  color: #fbbf24;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(20px); /* Centrado del botón */
}

.servicio-card:hover .leer-mas {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: all 0.4s 0.1s;
}

.leer-mas:hover {
  background: #fbbf24;
  color: #1a1a1a;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}

@media (max-width: 1200px) {
  .servicios-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .servicios-intro {
    position: relative;
    top: 0;
    text-align: center;
  }
  
  .servicios-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .servicios-section .container {
    padding: 30px;
  }
  
  .servicios-intro h1 {
    font-size: 2rem;
  }
  
  .servicios-intro p {
    font-size: 1rem;
  }
  
  .servicios-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Importar fuente elegante */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

/* Sección Empresa */
.empresa-section {
  padding: 10px 100px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Contenedor de texto */
.empresa-content {
  flex: 1;
  max-width: 900px;
  text-align: center;
}

.empresa-content p {
  color: #54595F;
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
    font-weight: 200;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 1.2em;
    letter-spacing: 2px;
}

/* Palabras importantes en negrita y negro */
.empresa-content strong {
  font-weight: 700;
  color: #2c2c2c;
}

/* Contenedor de Misión, Visión, Valores */
.mision-vision-grid {
  display: block;
  margin-top: 35px;
}

/* Cada sección */
.mision, .vision, .valores {
  margin-bottom: 25px;
  text-align: center;
}

.mision:last-child, .vision:last-child, .valores:last-child {
  margin-bottom: 0;
}

.mision p, .vision p, .valores p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: #8a8a8a;
  font-family: 'Lato', sans-serif;
  margin: 0;
  text-align: center;
}

/* Palabras importantes dentro de misión/visión/valores */
.mision strong, .vision strong, .valores strong {
  font-weight: 700;
  color: #2c2c2c;
}

/* Contenedor del logo */
.empresa-logo {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empresa-logo img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Responsive - Tablets */
@media (max-width: 1200px) {
  .empresa-section {
    padding: 70px 60px;
    gap: 70px;
  }
  
  .empresa-content {
    max-width: 700px;
  }
  
  .empresa-logo {
    flex: 0 0 280px;
  }
  
  .empresa-logo img {
    max-width: 280px;
  }
}

/* Responsive - Móviles */
@media (max-width: 992px) {
  .empresa-section {
    flex-direction: column;
    padding: 60px 40px;
    gap: 50px;
  }
  
  .empresa-content {
    max-width: 100%;
  }
  
  .empresa-logo {
    flex: 0 0 auto;
    order: -1; /* Logo primero en móviles */
  }
  
  .empresa-logo img {
    max-width: 220px;
  }
}

@media (max-width: 576px) {
  .empresa-section {
    padding: 50px 30px;
  }
  
  .empresa-content p,
  .mision p, .vision p, .valores p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .mision-vision-grid {
    margin-top: 30px;
  }
  
  .mision, .vision, .valores {
    margin-bottom: 20px;
  }
}


/* === SECCIÓN PROYECTOS - CARRUSEL === */

.proyectos-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  overflow: hidden;
}

/* FONDO FIJO DE ENERGÍA RENOVABLE - NO CAMBIA NUNCA */
.proyectos-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background-image: url('../img/energia.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

/* Overlay oscuro sobre el fondo */
.proyectos-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 40, 55, 0.92), rgba(40, 55, 70, 0.88));
}

.proyectos-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

/* TARJETA/CUADRO PRINCIPAL - FONDO OSCURO */
.carrusel-proyectos {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(45, 52, 62, 0.95), rgba(35, 42, 52, 0.98));
  border-radius: 0px;
  padding: 50px 40px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.carrusel-wrapper {
  position: relative;
  width: 100%;
  min-height: 550px;
}

.proyecto-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.proyecto-slide.active {
  opacity: 1;
  visibility: visible;
}

/* IMAGEN GRANDE DEL PROYECTO */
.proyecto-imagen-grande {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.proyecto-imagen-grande img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.proyecto-slide.active .proyecto-imagen-grande img {
  animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* INFORMACIÓN DEL PROYECTO */
.proyecto-info {
  width: 100%;
}

.proyecto-titulo {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.proyecto-descripcion {
  font-size: 14.5px;
  color: #e5e5e5;
  line-height: 1.6;
  margin-bottom: 28px;
  padding: 0 10px;
}

.btn-proyecto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: #c9983f;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 12px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 6px 20px rgba(201, 152, 63, 0.3);
}

.btn-proyecto:hover {
  background: #e0ab4d;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224, 171, 77, 0.4);
}

/* CONTROLES DE NAVEGACIÓN */
.carrusel-controles {
  position: absolute;
  top: 50%;
  left: -25px;
  right: -25px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.carrusel-btn {
  pointer-events: all;
  width: 45px;
  height: 45px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carrusel-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* PAGINACIÓN (CONTADOR Y PUNTOS) */
.carrusel-paginacion {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.slide-contador {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.carrusel-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dot-item {
  width: 3px;
  height: 28px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.dot-item:hover {
  background: rgba(255, 255, 255, 0.55);
}

.dot-item.active {
  background: #c9983f;
  height: 45px;
  box-shadow: 0 0 12px rgba(201, 152, 63, 0.5);
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
  .carrusel-proyectos {
    max-width: 420px;
    padding: 40px 30px;
  }

  .carrusel-wrapper {
    min-height: 500px;
  }

  .proyecto-imagen-grande {
    height: 240px;
  }

  .proyecto-titulo {
    font-size: 26px;
  }

  .proyecto-descripcion {
    font-size: 13.5px;
  }

  .carrusel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .carrusel-controles {
    left: -20px;
    right: -20px;
  }
}

@media (max-width: 480px) {
  .carrusel-proyectos {
    max-width: 95%;
    padding: 35px 25px;
  }

  .carrusel-wrapper {
    min-height: 480px;
  }

  .proyecto-imagen-grande {
    height: 220px;
  }

  .proyecto-titulo {
    font-size: 24px;
  }

  .proyecto-descripcion {
    font-size: 13px;
    padding: 0 5px;
  }

  .carrusel-paginacion {
    top: 20px;
    left: 20px;
  }
}

 /* ===== SECCIÓN TESTIMONIOS ===== */
.testimonios-section {
  padding: 80px 40px;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.testimonios-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ===== LADO IZQUIERDO - TESTIMONIOS ===== */
.testimonios-content {
  padding-right: 40px;
}

.section-title-main {
  font-size: 2.8rem;
  color: #FFA500;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #999;
  margin-bottom: 50px;
  font-weight: 400;
  font-family: Arial, Helvetica, sans-serif;
}

/* Card del testimonio */
.testimonio-card {
  background: #f5f5f5;
  padding: 40px;
  border-radius: 0;
  margin-bottom: 40px;
  position: relative;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonio-card.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.testimonio-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonio-texto {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: normal;
  font-family: Arial, Helvetica, sans-serif;
}

.testimonio-autor-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.testimonio-nombre {
  font-size: 1.15rem;
  color: #FFA500;
  font-weight: 700;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
}

.testimonio-empresa {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

/* Controles del carrusel (puntos) */
.carrusel-dots {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background: #FFA500;
}

.dot:hover {
  background: #FFB84D;
}

/* ===== LADO DERECHO - IMAGEN ===== */
.testimonios-imagen-wrapper {
  position: relative;
}

.testimonios-imagen {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .testimonios-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .testimonios-content {
    padding-right: 0;
  }

  .testimonios-imagen {
    height: 450px;
  }

  .section-title-main {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .testimonios-section {
    padding: 60px 20px;
  }

  .section-title-main {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .testimonio-card {
    padding: 30px;
  }

  .testimonio-texto {
    font-size: 1rem;
  }

  .testimonios-imagen {
    height: 350px;
  }
}

 .nueva-empresa-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 20px;
    
}

/* Imagen de fondo */
.nueva-empresa-imagen {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nueva-empresa-imagen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        transparent 100%
    );
    z-index: 1;
}

.nueva-empresa-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

/* Contenido principal */
.nueva-empresa-contenido {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header con logo */
.nueva-empresa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nueva-empresa-logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.nueva-empresa-logo span {
    font-weight: 300;
    font-size: 14px;
    display: block;
    margin-top: 2px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* Sección central */
.nueva-empresa-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin: 60px 0;
}

/* Lado izquierdo - Título principal */
.nueva-empresa-info {
    flex: 1;
    max-width: 650px;
}

.nueva-empresa-titulo {
    font-size: 72px;
    font-weight: 300;
    color: white;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.nueva-empresa-cta {
    display: inline-block;
    padding: 16px 32px;
    background: white;
    color: #1a5490;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nueva-empresa-cta:hover {
    background: #ffd700;
    color: #1a5490;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* Lado derecho - Cards Misión y Visión */
.nueva-empresa-valores {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 420px;
}

.nueva-valor-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 40px;
    border-radius: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.nueva-valor-card:hover {
    background: white;
    transform: translateX(10px);
}

.nueva-valor-card::after {
    content: '←';
    font-size: 24px;
    color: #1a5490;
    transition: transform 0.3s ease;
}

.nueva-valor-card:hover::after {
    transform: translateX(5px);
}

.nueva-valor-content {
    flex: 1;
}

.nueva-valor-titulo {
    font-size: 22px;
    color: #1a5490;
    font-weight: 600;
    margin-bottom: 8px;
}

.nueva-valor-subtitulo {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Footer con contador */
.nueva-empresa-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.nueva-empresa-descripcion {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 160px;
    margin-top: -45px;
}

.nueva-empresa-contador {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 160px;
}

/* Responsive mejorado */
@media (max-width: 1200px) {
    .nueva-empresa-section {
        height: auto;
        min-height: 100vh;
    }

    .nueva-empresa-contenido {
        padding: 60px 50px;
    }

    .nueva-empresa-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
        margin: 40px 0;
    }

    .nueva-empresa-valores {
        width: 100%;
        max-width: 500px;
    }

    .nueva-empresa-titulo {
        font-size: 56px;
    }

    .nueva-empresa-descripcion {
        margin-bottom: 80px;
        margin-top: 0;
    }

    .nueva-empresa-contador {
        margin-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .nueva-empresa-section {
        height: auto;
        min-height: auto;
    }

    .nueva-empresa-contenido {
        padding: 40px 25px;
        min-height: 100vh;
    }

    .nueva-empresa-header {
        margin-bottom: 30px;
    }

    .nueva-empresa-logo {
        font-size: 24px;
    }

    .nueva-empresa-logo span {
        font-size: 12px;
    }

    .nueva-empresa-main {
        margin: 30px 0;
        gap: 40px;
    }

    .nueva-empresa-titulo {
        font-size: 38px;
        margin-bottom: 30px;
    }

    .nueva-empresa-cta {
        padding: 14px 28px;
        font-size: 14px;
    }

    .nueva-empresa-valores {
        width: 100%;
    }

    .nueva-valor-card {
        padding: 25px 30px;
    }

    .nueva-valor-titulo {
        font-size: 18px;
    }

    .nueva-valor-subtitulo {
        font-size: 13px;
    }

    .nueva-empresa-footer {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        margin-top: 40px;
    }

    .nueva-empresa-descripcion {
        margin-bottom: 0;
        margin-top: 0;
        font-size: 15px;
    }

    .nueva-empresa-contador {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .nueva-empresa-contenido {
        padding: 30px 20px;
    }

    .nueva-empresa-titulo {
        font-size: 32px;
    }

    .nueva-valor-card {
        padding: 20px 25px;
    }

    .nueva-valor-card::after {
        font-size: 20px;
    }

    .nueva-empresa-descripcion {
        font-size: 14px;
    }
}
 .footer {
      position: relative;
      min-height: 100vh;
      background: #000;
      color: white;
      overflow: hidden;
    }

    /* Imagen de fondo */
    .footer-background {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .footer-background::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 0, 0, 0.9) 100%
      );
      z-index: 1;
    }

    .footer-background img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.4;
    }

    /* Contenido principal */
    .footer-content {
      position: relative;
      z-index: 2;
      max-width: 1600px;
      margin: 0 auto;
      padding: 80px 60px;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 80px;
    }

    /* Sección izquierda - Logo y slogan */
    .footer-brand {
      grid-column: 1;
    }

    .footer-slogan {
      font-size: 32px;
      font-weight: 300;
      line-height: 1.3;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    .footer-coming {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.7);
      font-weight: 300;
    }

    /* Sección de contacto */
    .footer-section {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .footer-title {
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 10px;
      color: rgba(255, 255, 255, 0.9);
    }

    .footer-section a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      font-size: 15px;
      font-weight: 300;
      transition: color 0.3s ease;
      display: block;
      margin-bottom: 8px;
    }

    .footer-section a:hover {
      color: #ffd700;
    }

    .footer-section p {
      color: rgba(255, 255, 255, 0.7);
      font-size: 15px;
      font-weight: 300;
      line-height: 1.6;
    }

    .map-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
      font-size: 14px;
      text-decoration: underline;
    }

    .map-link:hover {
      color: white;
    }

    /* Newsletter */
    .newsletter-form {
      display: flex;
      gap: 0;
      margin-top: 15px;
    }

    .newsletter-input {
      flex: 1;
      padding: 14px 18px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      font-size: 14px;
      outline: none;
      transition: all 0.3s ease;
    }

    .newsletter-input:focus {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
    }

    .newsletter-input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .newsletter-button {
      padding: 14px 20px;
      background: white;
      border: none;
      color: #000;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 16px;
    }

    .newsletter-button:hover {
      background: #ffd700;
    }

    /* Redes sociales */
    .social-section {
      margin-top: 20px;
    }

    .social-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .social-handle {
      color: rgba(255, 255, 255, 0.7);
      font-size: 15px;
      font-weight: 300;
    }

    /* Texto gigante */
    .footer-giant {
      position: relative;
      z-index: 3;
      padding: 0 60px 60px;
      margin-top: -40px;
    }



    /* Footer bottom */
    .footer-bottom {
      position: relative;
      z-index: 3;
      padding: 30px 60px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: rgba(255, 255, 255, 0.5);
    }

    .footer-bottom a {
      color: rgba(255, 255, 255, 0.5);
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-bottom a:hover {
      color: white;
    }

    .footer-credits {
      display: flex;
      gap: 30px;
    }

    /* Responsive */
    @media (max-width: 1200px) {
      .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
      }

      .footer-brand {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 768px) {
      .footer-content {
        grid-template-columns: 1fr;
        padding: 50px 30px;
        gap: 40px;
      }

      .footer-giant {
        padding: 0 30px 40px;
      }

      .giant-text {
        font-size: clamp(60px, 18vw, 100px);
      }

      .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
        text-align: center;
      }

      .footer-credits {
        flex-direction: column;
        gap: 10px;
      }

      .newsletter-form {
        flex-direction: column;
      }
    }




/* ====== Estilo del Botón Flotante de WhatsApp ====== */
.contacto-flotante {
  position: fixed;  /* Fijo en el lado derecho */
  bottom: 30px;     /* A 30px desde el borde inferior */
  right: 30px;      /* A 30px desde el borde derecho */
  z-index: 1000;    /* Asegura que esté por encima de otros elementos */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out; /* Transición suave para la animación */
}

.whatsapp-button {
  display: flex;
  align-items: center;
  gap: 15px;          /* Espacio entre el icono y el texto */
  padding: 12px 20px;
  background-color: transparent; /* Fondo transparente */
  border: 2px solid #25d366;  /* Borde verde de WhatsApp */
  color: #25d366;
  border-radius: 50px;  /* Bordes redondeados */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Sombra suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease; /* Efectos de hover */
}

.contacto-flotante:hover .whatsapp-button {
  
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);  /* Aumenta la sombra */
  color: white; /* Cambiar color del texto a blanco */
  background-color: #25d366; /* Fondo verde cuando pasa el mouse */
}

/* Icono de WhatsApp */
.contacto-flotante img {
  width: 50px;  /* Tamaño inicial del icono */
  height: 50px; /* Mantener la proporción */
  border-radius: 50%;  /* Hacer la imagen redonda */
  transition: transform 0.3s ease; /* Transición suave para hover */
}

/* Texto junto al icono */
.contacto-flotante .whatsapp-text {
  color: #25d366; /* Color verde inicial */
  font-size: 1rem; /* Tamaño del texto */
  font-weight: bold;
  font-family: 'Roboto', sans-serif; /* Fuente limpia */
  text-transform: uppercase;  /* Texto en mayúsculas */
  transition: opacity 0.3s ease, color 0.3s ease; /* Transición para el texto */
}

/* Efecto de resplandor en hover */
.contacto-flotante:hover .whatsapp-text {
  opacity: 0.8;  /* Reduce un poco la opacidad en hover */
  color: white;  /* Cambia el color del texto a blanco */
}
/* Eliminar subrayado y color de enlace predeterminado */
.contacto-flotante a {
  text-decoration: none;  /* Eliminar subrayado */
  outline: none;  /* Eliminar el borde de enfoque */
}

/* Opcional: Cambiar color de texto cuando el enlace está enfocado */
.contacto-flotante a:focus {
  outline: none;
  text-decoration: none;
}

/* ====== RESPONSIVE - SOLO ICONO EN MÓVIL ====== */

@media (max-width: 768px) {
  .contacto-flotante {
    bottom: 25px;
    right: 25px;
    padding: 16px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    justify-content: center;
  }

  .contacto-flotante .whatsapp-text {
    display: none; /* Oculta el texto */
  }

  .contacto-flotante .whatsapp-icon {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .contacto-flotante {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    padding: 14px;
  }

  .contacto-flotante .whatsapp-icon {
    font-size: 26px;
  }
}

@media (max-width: 360px) {
  .contacto-flotante {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    padding: 12px;
  }

  .contacto-flotante .whatsapp-icon {
    font-size: 24px;
  }
}


/* Importar fuentes futuristas */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Aplicar fuentes estilo AVATR */
.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 5px;
}

.nav-menu a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  letter-spacing: 2px;
}

.banner-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 400;
  letter-spacing: 4px;
}

.banner-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
}

.btn-banner {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 3px;
}

/* Títulos principales */
.header-naranja h1,
.columna-izquierda h2,
.columna-derecha h3,
.beneficios-section h2,
.footer-cta h2,
h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
}

/* Texto normal y formularios */
.header-naranja p,
.columna-izquierda p,
.columna-derecha p,
.form-group label,
.beneficio-item p,
.info-item,
p, span, div {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 400;
}

/* Botones */
.btn-enviar,
.btn-footer {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
}

.beneficio-item h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
}

/* Encabezado Naranja */
.header-naranja {
  background: #ff6b35;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.header-naranja h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

.header-naranja p {
  font-size: 0.95rem;
}

/* Container Principal */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
}

/* Columna Izquierda - Queremos Escucharte */
.columna-izquierda {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.columna-izquierda h2 {
  color: #ff6b35;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.columna-izquierda p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.info-contacto {
  margin-top: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.info-item i {
  color: #ff6b35;
  margin-right: 10px;
  font-size: 1.1rem;
  margin-top: 2px;
}

.info-item div {
  flex: 1;
}

.info-item strong {
  display: block;
  margin-bottom: 3px;
  color: #333;
}

.info-item span {
  color: #666;
}

/* Mapa en la Columna Izquierda */
.mapa-mini {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.mapa-mini iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* Columna Derecha - Formulario */
.columna-derecha {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.columna-derecha h3 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.columna-derecha p {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 25px;
}

/* Formulario */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: 'Rajdhani', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b35;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.checkbox-group {
  margin: 20px 0;
}

.checkbox-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #333;
  font-weight: normal;
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
  margin-right: 8px;
}

.btn-enviar {
  width: 100%;
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-enviar:hover {
  background: #e55a2b;
}

.btn-enviar i {
  font-size: 1.2rem;
}

/* Sección de Beneficios */
.beneficios-section {
  background: white;
  padding: 60px 20px;
  margin-top: 40px;
}

.beneficios-container {
  max-width: 1200px;
  margin: 0 auto;
}

.beneficios-section h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.beneficio-item {
  background: #f9f9f9;
  padding: 25px;
  border-left: 4px solid #ff6b35;
  border-radius: 4px;
}

.beneficio-item h3 {
  color: #ff6b35;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.beneficio-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Footer CTA */
.footer-cta {
  background: #ff6b35;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

.footer-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-cta p {
  font-size: 1rem;
  margin-bottom: 25px;
}

.footer-cta .btn-footer {
  background: white;
  color: #ff6b35;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  text-transform: uppercase;
}

.footer-cta .btn-footer:hover {
  background: #f0f0f0;
}

/* Responsive */
@media (max-width: 968px) {
  .main-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
  }
}

/* === HEADER BANNER COMPLETO === */
.header-banner {
  position: relative;
  width: 100%;
  height: 470px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Overlay oscuro sobre la imagen */
.header-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 35, 0.75), rgba(25, 35, 50, 0.65));
  z-index: 1;
}

/* CURVA INFERIOR ASIMÉTRICA - Izquierda plana, Derecha sube pronunciada */
.header-banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 150px;
  background: #ffffff;
  clip-path: polygon(
    0% 35%,
    10% 33%,
    20% 31%,
    30% 29%,
    40% 27%,
    50% 25%,
    60% 22%,
    70% 18%,
    80% 12%,
    90% 5%,
    100% 0%,
    100% 100%,
    0% 100%
  );
  z-index: 2;
}

/* === NAVBAR SUPERIOR === */
.navbar-top {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  z-index: 10;
}

/* Logo con imagen */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1.5px;
  font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif;
  transition: all 0.3s ease;
}

.logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: rotate(360deg) scale(1.1);
}

.logo-text {
  display: flex;
  align-items: center;
}

.logo-ingelec {
  color: #ffffff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.logo-solar {
  color: #c9983f;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.logo:hover .logo-solar {
  color: #e0ab4d;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4),
               0 0 20px rgba(201, 152, 63, 0.4);
}

/* Menú de navegación */
.nav-menu {
  display: flex;
  gap: 45px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #c9983f;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #c9983f;
}

/* Menu Toggle (Hamburguesa para móvil) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 11;
  padding: 10px;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* === CONTENIDO CENTRAL DEL BANNER === */
.banner-content {
  position: relative;
  text-align: center;
  z-index: 3;
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

.banner-title {
  font-size: 64px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 10px;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
  animation: fadeInDown 1s ease-out;
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 20px;
  color: #e8e8e8;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  font-family: 'Poppins', 'Open Sans', 'Arial', sans-serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1.5s ease-out;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Botón CTA */
.banner-cta {
  animation: fadeInUp 1.8s ease-out;
}

.btn-banner {
  display: inline-block;
  padding: 16px 45px;
  background: #c9983f;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', 'Montserrat', 'Arial', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(201, 152, 63, 0.35);
  margin-top: -20px;

}

.btn-banner:hover {
  background: #e0ab4d;
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(224, 171, 77, 0.45);
}

/* Indicador de scroll animado */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 28px;
  color: #c9983f;
  filter: drop-shadow(0 0 12px rgba(201, 152, 63, 0.6));
}

/* === ANIMACIONES === */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-12px);
  }
  60% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* === RESPONSIVE === */

/* Tablets */
@media (max-width: 1024px) {
  .navbar-top {
    padding: 25px 35px;
  }
  
  .banner-title {
    font-size: 52px;
    letter-spacing: 6px;
  }
  
  .banner-subtitle {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-banner {
    height: 420px;
  }
  
  .header-banner::after {
    height: 100px;
    clip-path: polygon(
      0% 45%,
      20% 30%,
      40% 20%,
      60% 20%,
      80% 30%,
      100% 45%,
      100% 100%,
      0% 100%
    );
  }
  
  .navbar-top {
    padding: 20px 25px;
  }
  
  .logo {
    font-size: 26px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: rgba(20, 30, 45, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li a {
    font-size: 18px;
  }
  
  .banner-title {
    font-size: 42px;
    letter-spacing: 4px;
  }
  
  .banner-subtitle {
    font-size: 16px;
  }
  
  .btn-banner {
    padding: 14px 35px;
    font-size: 13px;
  }
  
  .scroll-indicator {
    bottom: 30px;
  }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  .header-banner {
    height: 380px;
  }
  
  .header-banner::after {
    height: 80px;
  }
  
  .navbar-top {
    padding: 18px 20px;
  }
  
  .logo {
    font-size: 22px;
  }
  
  .banner-title {
    font-size: 32px;
    letter-spacing: 3px;
  }
  
  .banner-subtitle {
    font-size: 15px;
  }
  
  .btn-banner {
    padding: 12px 28px;
    font-size: 12px;
  }
  
  .scroll-indicator i {
    font-size: 24px;
  }
}
/* Sección de Proyectos */
.proyectos-section {
  background: #f5f5f5;
  padding: 80px 20px;
}

.proyectos-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Header de Proyectos */
.proyectos-header {
  text-align: center;
  margin-bottom: 80px;
}

.proyectos-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.proyectos-header p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Detalle del Proyecto */
.proyecto-detalle {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  transition: transform 0.3s ease;
}

.proyecto-detalle:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.proyecto-detalle.reverse {
  grid-template-columns: 1fr 400px;
}

.proyecto-detalle.reverse .proyecto-info-principal {
  order: 2;
}

.proyecto-detalle.reverse .proyecto-galeria {
  order: 1;
}

/* Información del Proyecto */
.proyecto-info-principal {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proyecto-numero {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #ffd700;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 10px;
}

.proyecto-info-principal h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 25px;
  letter-spacing: 2px;
  line-height: 1.3;
}

.proyecto-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  color: #666;
}

.spec-item i {
  color: #ffd700;
  font-size: 1.2rem;
}

.proyecto-descripcion-completa {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Galería de Fotos */
.proyecto-galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  background: #ddd;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.galeria-item.principal {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  aspect-ratio: 2/1;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
  transform: translateY(0);
}

.galeria-overlay span {
  font-family: 'Rajdhani', sans-serif;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Sección CTA Final */
.proyectos-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.proyectos-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,215,0,0.1)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-icon {
  font-size: 4rem;
  color: #ffd700;
  margin-bottom: 30px;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.proyectos-cta h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.proyectos-cta p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 50px;
}

/* Estadísticas */
.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-numero {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffd700;
  line-height: 1;
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Botón CTA Grande */
.btn-cta-grande {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #ffd700;
  color: #000;
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-cta-grande:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-cta-grande i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.btn-cta-grande:hover i {
  transform: translateX(5px);
}

/* Footer */
.footer-proyectos {
  background: #000;
  color: #666;
  text-align: center;
  padding: 30px 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
  .proyecto-detalle,
  .proyecto-detalle.reverse {
    grid-template-columns: 1fr;
  }

  .proyecto-detalle.reverse .proyecto-info-principal,
  .proyecto-detalle.reverse .proyecto-galeria {
    order: 0;
  }

  .proyecto-info-principal {
    padding: 30px;
  }

  .proyectos-header h2 {
    font-size: 2rem;
  }

  .proyecto-info-principal h3 {
    font-size: 1.5rem;
  }

  .cta-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .proyectos-cta h2 {
    font-size: 2rem;
  }
}
/* === SECCIÓN PROYECTOS === */
.nueva-proyectos-section {
  margin-top: 60px;
  position: relative;
  min-height: 100vh;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(30, 40, 55, 0.95), rgba(40, 55, 70, 0.92));
  overflow: hidden;
   border-top-left-radius: 30px;  /* Redondea la esquina superior izquierda */
  border-top-right-radius: 30px; /* Redondea la esquina superior derecha */
}

.nueva-proyectos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/energia.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: 0;
}

.nueva-proyectos-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

/* === HEADER === */
.nueva-proyectos-header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
}

.nueva-proyectos-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nueva-proyectos-header p {
  font-size: 18px;
  color: #e5e5e5;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === TARJETA DE PROYECTO === */
.nueva-proyecto-card {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 40px;
  margin-bottom: 100px;
  align-items: stretch;
  min-height: 650px;
}

/* Efecto espejo para proyecto 2 */
.nueva-proyecto-card.reverse {
  grid-template-columns: 1fr 450px;
}

.nueva-proyecto-card.reverse .nueva-proyecto-izquierda {
  order: 2;
}

.nueva-proyecto-card.reverse .nueva-proyecto-carrusel {
  order: 1;
}

/* === PARTE IZQUIERDA (TARJETA PRINCIPAL) === */
.nueva-proyecto-izquierda {
  position: relative;
  background: linear-gradient(180deg, rgba(45, 52, 62, 0.95), rgba(35, 42, 52, 0.98));
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Número del proyecto */
.nueva-proyecto-numero-titulo {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 2;
}

.nueva-proyecto-numero {
  font-size: 20px;
  font-weight: 700;
  color: #c9983f;
  letter-spacing: 2px;
}

/* Imagen principal */
.nueva-proyecto-imagen-principal {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.nueva-proyecto-imagen-principal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nueva-proyecto-imagen-principal:hover img {
  transform: scale(1.05);
}

/* Info del proyecto */
.nueva-proyecto-info-box h3 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
  letter-spacing: 2px;
  line-height: 1.3;
}

.nueva-proyecto-detalles {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.nueva-detalle-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e5e5e5;
  font-size: 14px;
}

.nueva-detalle-item i {
  color: #c9983f;
  font-size: 16px;
}

.nueva-proyecto-descripcion {
  font-size: 14.5px;
  color: #d0d0d0;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Marca de agua */
.nueva-proyecto-marca {
  position: absolute;
  bottom: 20px;
  right: 30px;
  opacity: 0.15;
}

.nueva-marca-texto {
  font-size: 14px;
  font-weight: 700;
  color: #c9983f;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* === CARRUSEL DE IMÁGENES (LADO DERECHO) === */
.nueva-proyecto-carrusel {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(45, 52, 62, 0.85), rgba(35, 42, 52, 0.9));
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nueva-carrusel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.nueva-carrusel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.nueva-carrusel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.nueva-carrusel-slide.active {
  opacity: 1;
  visibility: visible;
}

.nueva-carrusel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Caption de las imágenes */
.nueva-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #ffffff;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nueva-carrusel-slide:hover .nueva-slide-caption {
  opacity: 1;
}

/* Botones de navegación */
.nueva-carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.nueva-carrusel-btn.prev {
  left: 15px;
}

.nueva-carrusel-btn.next {
  right: 15px;
}

.nueva-carrusel-btn:hover {
  background: rgba(201, 152, 63, 0.9);
  transform: translateY(-50%) scale(1.1);
  border-color: #c9983f;
}

/* Indicadores */
.nueva-carrusel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.nueva-indicator {
  width: 35px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nueva-indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.nueva-indicator.active {
  background: #c9983f;
  width: 50px;
  box-shadow: 0 0 10px rgba(201, 152, 63, 0.5);
}

/* Marca IngelecSolar debajo del carrusel */
.nueva-carrusel-marca {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  font-family: 'Montserrat', 'Arial', sans-serif;
  white-space: nowrap;
  animation: fadeInUp 1s ease-out;
}

.nueva-carrusel-marca-ingelec {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nueva-carrusel-marca-solar {
  color: #c9983f;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: glow 2s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
                 0 0 10px rgba(201, 152, 63, 0.3);
  }
  50% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3),
                 0 0 20px rgba(201, 152, 63, 0.6),
                 0 0 30px rgba(201, 152, 63, 0.4);
  }
}

/* === RESPONSIVE === */

@media (max-width: 1200px) {
  .nueva-proyecto-card,
  .nueva-proyecto-card.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .nueva-proyecto-card.reverse .nueva-proyecto-izquierda,
  .nueva-proyecto-card.reverse .nueva-proyecto-carrusel {
    order: 0;
  }
  
  .nueva-proyecto-izquierda {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .nueva-proyecto-carrusel {
    max-width: 800px;
    margin: 0 auto;
    height: auto;
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .nueva-proyectos-header h2 {
    font-size: 36px;
  }
  
  .nueva-proyectos-header p {
    font-size: 16px;
  }
  
  .nueva-proyecto-izquierda {
    padding: 30px;
  }
  
  .nueva-proyecto-imagen-principal {
    height: 220px;
  }
  
  .nueva-proyecto-info-box h3 {
    font-size: 24px;
  }
  
  .nueva-proyecto-carrusel {
    height: 400px;
  }
  
  .nueva-carrusel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .nueva-proyectos-section {
    padding: 60px 15px;
  }
  
  .nueva-proyectos-header {
    margin-bottom: 50px;
  }
  
  .nueva-proyectos-header h2 {
    font-size: 28px;
  }
  
  .nueva-proyecto-card {
    margin-bottom: 60px;
  }
  
  .nueva-proyecto-izquierda {
    padding: 25px;
    min-height: auto;
  }
  
  .nueva-proyecto-imagen-principal {
    height: 200px;
  }
  
  .nueva-proyecto-info-box h3 {
    font-size: 20px;
  }
  
  .nueva-proyecto-descripcion {
    font-size: 13.5px;
  }
  
  .nueva-proyecto-carrusel {
    height: 350px;
    padding: 15px;
  }
  
  .nueva-carrusel-btn.prev {
    left: 10px;
  }
  
  .nueva-carrusel-btn.next {
    right: 10px;
  }
  
  .nueva-carrusel-indicators {
    bottom: 15px;
  }
  
  .nueva-indicator {
    width: 25px;
  }
  
  .nueva-indicator.active {
    width: 35px;
  }
}
.nueva-proyectos-cierre {
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 800px;
  margin: 0 auto;
}

/* Marca IngelecSolar grande */
.nueva-cierre-marca {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 4px;
  font-family: 'Montserrat', 'Arial', sans-serif;
  margin-bottom: 30px;
  animation: fadeInScale 1s ease-out;
}

.nueva-cierre-ingelec {
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.nueva-cierre-solar {
  color: #c9983f;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Línea decorativa */
.nueva-cierre-linea {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    #c9983f 20%, 
    #c9983f 80%, 
    transparent
  );
  margin: 0 auto 35px;
  border-radius: 2px;
  animation: expandLine 1.5s ease-out;
}

/* Texto descriptivo */
.nueva-cierre-texto {
  font-size: 18px;
  color: #e5e5e5;
  line-height: 1.8;
  margin-bottom: 50px;
  font-weight: 300;
  letter-spacing: 0.5px;
  animation: fadeIn 1.8s ease-out;
}

/* Iconos decorativos */
.nueva-cierre-iconos {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  animation: fadeInUp 2s ease-out;
}

.nueva-cierre-icono {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.nueva-cierre-icono:hover {
  transform: translateY(-5px);
}

.nueva-cierre-icono i {
  font-size: 32px;
  color: #c9983f;
  transition: all 0.3s ease;
}

.nueva-cierre-icono:hover i {
  color: #e0ab4d;
  filter: drop-shadow(0 0 15px rgba(201, 152, 63, 0.6));
}

.nueva-cierre-icono span {
  font-size: 13px;
  color: #d0d0d0;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === ANIMACIONES === */

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4),
                 0 0 15px rgba(201, 152, 63, 0.3);
  }
  50% {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4),
                 0 0 30px rgba(201, 152, 63, 0.6),
                 0 0 40px rgba(201, 152, 63, 0.4);
  }
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 120px;
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
  .nueva-proyectos-cierre {
    padding: 60px 20px 30px;
  }
  
  .nueva-cierre-marca {
    font-size: 36px;
    letter-spacing: 3px;
  }
  
  .nueva-cierre-linea {
    width: 90px;
    margin-bottom: 25px;
  }
  
  .nueva-cierre-texto {
    font-size: 16px;
    margin-bottom: 40px;
  }
  
  .nueva-cierre-iconos {
    gap: 35px;
  }
  
  .nueva-cierre-icono i {
    font-size: 28px;
  }
  
  .nueva-cierre-icono span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .nueva-proyectos-cierre {
    padding: 50px 15px 25px;
  }
  
  .nueva-cierre-marca {
    font-size: 28px;
    letter-spacing: 2px;
  }
  
  .nueva-cierre-linea {
    width: 70px;
    height: 2px;
  }
  
  .nueva-cierre-texto {
    font-size: 15px;
    margin-bottom: 35px;
  }
  
  .nueva-cierre-iconos {
    gap: 25px;
  }
  
  .nueva-cierre-icono i {
    font-size: 24px;
  }
  
  .nueva-cierre-icono span {
    font-size: 11px;
  }
}
/* ====== Estilo para la sección de información destacada ====== */
.seccion-informacion {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 60px 300px;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: -15px;
}

.item-informacion {
  text-align: center;
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.item-informacion.animate {
  opacity: 1;
  transform: translateY(0);
}

.icono-informacion {
  width: 50px;
  height: 50px;
  margin-bottom: -20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.item-informacion:hover .icono-informacion {
  transform: scale(1.1);
}

.texto-informacion .numero-informacion {
  margin-top: 16px;
  font-size: 2.3rem;
  font-weight: bold;
  color: #fed600;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.texto-informacion p {
  font-size: 19px;
  color: #080061;
  line-height: 1.5;
  margin-top: 0px;
  opacity: 1;
  font-family: 'Poppins', sans-serif;
}

.item-informacion:first-child .icono-informacion {
  color: #00bfff;
}

.item-informacion:nth-child(2) .icono-informacion {
  color: #ff6347;
}

.item-informacion:nth-child(3) .icono-informacion {
  color: #32cd32;
}

.item-informacion:nth-child(4) .icono-informacion {
  color: #ff4500;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 1400px) {
  .seccion-informacion {
    padding: 50px 150px;
    gap: 35px;
    margin-top: 30px;
  }
}

@media (max-width: 1200px) {
  .seccion-informacion {
    padding: 45px 100px;
    gap: 30px;
  }

  .texto-informacion .numero-informacion {
    font-size: 2rem;
  }

  .texto-informacion p {
    font-size: 17px;
  }
}

@media (max-width: 968px) {
  .seccion-informacion {
    padding: 40px 60px;
    gap: 25px;
  }

  .item-informacion {
    min-width: 180px;
  }

  .item-informacion .icono-informacion {
    width: 45px;
    height: 45px;
    margin-bottom: -15px;
  }

  .texto-informacion .numero-informacion {
    font-size: 1.8rem;
  }

  .texto-informacion p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .seccion-informacion {
    padding: 35px 40px;
    gap: 30px;
    justify-content: center;
  }

  .item-informacion {
    flex: 1 1 calc(50% - 15px);
    min-width: 150px;
  }

  .item-informacion .icono-informacion {
    width: 42px;
    height: 42px;
  }

  .texto-informacion .numero-informacion {
    font-size: 1.7rem;
  }

  .texto-informacion p {
    font-size: 15px;
  }
}

@media (max-width: 580px) {
  .seccion-informacion {
    padding: 30px 25px;
    gap: 25px;
  }

  .item-informacion {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .item-informacion .icono-informacion {
    width: 50px;
    height: 50px;
    margin-bottom: -10px;
  }

  .texto-informacion .numero-informacion {
    font-size: 2rem;
  }

  .texto-informacion p {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .seccion-informacion {
    padding: 25px 20px;
    gap: 20px;
  }

  .item-informacion .icono-informacion {
    width: 45px;
    height: 45px;
  }

  .texto-informacion .numero-informacion {
    font-size: 1.8rem;
  }

  .texto-informacion p {
    font-size: 15px;
  }
}
