.container {
  width: 100%;
  max-width: 1300px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Variables */
:root {
  --primary-blue: #0056b3;
  --dark-blue: #003d82;
  --corporate-orange: #ff7a00;
  --light-gray: #f8f9fa;
  --dark-gray: #2c3e50;
  --white: #ffffff;
  --transition: all 0.3s ease-in-out;
}

/* Navbar Container */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

/* Contenedor interno */
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1300px;
}

/* Logo - Marca */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--corporate-orange);
  font-weight: 800;
}

.logo-slogan {
  font-size: 0.7rem;
  color: var(--dark-gray);
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #ddd;
  font-weight: 400;
  line-height: 1.2;
}

/* Menú de Navegación */
.navbar {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  margin-left: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition);
}

.nav-link:hover:after {
  width: 100%;
}

/* Botón de Contacto */
.btn-nav {
  background-color: var(--primary-blue);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  margin-left: 1.5rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nav:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 86, 179, 0.2);
}

.btn-nav:active {
  transform: translateY(0);
}

.btn-nav i {
  margin-right: 8px;
}

/* Menú Mobile */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-blue);
  border-radius: 3px;
  transition: var(--transition);
}

/* Navbar Scroll Effect */
.header.scrolled {
  padding: 5px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo-text {
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  padding: 30px 0 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-image {
  flex: 1;
  position: relative;
  animation: fadeIn 1s ease-out;
  display: block;
}

.hero-image img {
  width: 80%; /* Reducir el tamaño al 80% (ajusta según necesites) */
  max-width: 500px; /* Opcional: Define un ancho máximo */
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* Elimina transform: perspective y rotateY */
  transform: none !important; /* Fuerza a que no haya transformaciones */
  transition: transform 0.5s ease;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 20%; /* 1/6 de la altura */
  background: linear-gradient(to top, rgb(236, 239, 241) 0%, rgba(255,255,255, 0) 100%);
  pointer-events: none; /* Permite interacción con la imagen */
  border-radius: 0 0 8px 8px; /* Coincide con el border-radius de la imagen */
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: #4a5568;
  margin-bottom: 30px;
  max-width: 90%;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 86, 179, 0.3);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-blue);
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 86, 179, 0.2);
}

.btn-secondary svg {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

/* Efectos decorativos */
.hero:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-color: rgba(0, 86, 179, 0.08);
  border-radius: 50%;
  z-index: 1;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background-color: rgba(255, 122, 0, 0.05);
  border-radius: 50%;
  z-index: 1;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Services Section */
.services {
  padding: 20px 0 20px !important;
  background-color: var(--white);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2 span {
  color: var(--primary-blue);
}

.section-header p {
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--corporate-orange));
  z-index: 2;
}

.service-icon {
  padding: 30px 0 20px;
  text-align: center;
  background-color: rgba(0, 86, 179, 0.03);
}

.service-icon img {
  width: 200px;
  height: 200px;
  object-fit: contain; /* Mantiene la imagen intacta */
  background-color: white; /* Rellena espacios vacíos (ajusta el color) */
  border-radius: 50%; /* Círculo perfecto */
  padding: 2px; /* Opcional: espacio interno entre imagen y borde */
  filter: drop-shadow(0 5px 10px rgba(0, 86, 179, 0.1));
  box-sizing: border-box; /* Asegura que el padding no afecte las dimensiones */
}

.service-card h3 {
  text-align: center;
  color: var(--dark-gray);
  font-size: 1.4rem;
  margin: 15px 0;
  padding: 0 20px;
}

.service-card p {
  color: var(--text-color);
  padding: 0 25px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card ul {
  padding: 0 30px 30px;
  list-style-type: none;
}

.service-card ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-color);
  line-height: 1.5;
}

.service-card ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: var(--primary-blue);
  border-radius: 50%;
}

/* Efecto de fondo decorativo */
.services:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}


/* Oculta el botón toggle en desktop */
.features-toggle {
  display: none;
}

/* Asegura que las características sean visibles */
.service-features {
  display: block !important;
  max-height: none !important;
}

/* Projects Section */
.projects {
  padding: 60px 0 !important;
  background-color: var(--white);
  position: relative;
}

.projects .section-header h2 span {
  color: var(--primary-blue);
}

/* Contenedor del carrusel */
.projects-swiper {
  width: 100%;
  padding: 30px 0 60px;
  position: relative;
}

.projects-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.project-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

/* Slides del carrusel */
.project-slide {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: auto;
}

.project-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.project-slide:hover img {
  transform: scale(1.02); /* Ligero zoom al pasar el mouse */
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  color: var(--dark-gray);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.project-info p {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.project-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-info ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-color);
}

.project-info ul li:before {
  content: "•";
  color: var(--corporate-orange);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}

/* Estilos de navegación del carrusel */
.swiper-pagination {
  position: relative;
  bottom: 0;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #d1d5db;
  opacity: 1;
  margin: 0 8px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-blue);
  transform: scale(1.2);
}

/* Botones de navegación */
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: scale(1.1);
}

/* Efecto hover para las slides */
.project-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Elementos decorativos */
.projects:before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

/* Contact Section */
.contact {
  padding: 20px 0;
  background-color: #f8fafc;
  position: relative;
}

.contact .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact .section-header h2 {
  color: var(--dark-gray);
}

/* Grid de contacto */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Formulario de contacto */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: block;
  text-align: center;
}

.btn-submit:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

/* Mapa y información de contacto */
.contact-map {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.map-container {
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item svg {
  flex-shrink: 0;
  margin-right: 15px;
  color: var(--primary-blue);
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.info-item p {
  color: var(--text-color);
  line-height: 1.6;
}

/* Elementos decorativos */
.contact:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

/* Footer Styles */
.footer {
  padding: 1.5rem 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: #333;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #007bff;
}

.footer-info {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.credits {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: #999;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  font-weight: 500;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.breadcrumbs {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}