:root {
  /* Colores principales */
  --primary-color: #004d99;
  --primary-light: rgba(0, 69, 138, 0.1);
  --primary-dark: #004799;
  
  --secondary-color: #d4af37;
  --secondary-light: rgba(212, 175, 55, 0.1);
  
  /* Escala de grises */
  --dark-color: #1a1a1a;
  --darker-color: #0d0d0d;
  --light-color: #ffffff;
  --lighter-color: #fcfcfc;
  --gray-color: #f5f5f5;
  --gray-dark: #e0e0e0;
  
  /* Texto */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #f8f8f8;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  
  /* Bordes */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* Transiciones */
  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Espaciados */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
}

/* Estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--gray-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #004d99; /* dorado */
  border-color: #EFB810;
  color: white;
  transform: translateY(-3px);
}


.btn-secondary {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.btn-secondary:hover {
  background-color: #EFB810; /* dorado */
  border-color: #004d99;
  color: white;
  transform: translateY(-3px);
}


.btn-outline {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

                                                /* Header */
/* Header general */
/* HEADER ACTUALIZADO */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #004d99;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.header.shrink {
  padding: 0.5rem 3rem;
  background-color: #003470;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* LOGO MÁS GRANDE */
.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  
  
}

.logo-img {
  height: 70px;
  max-height: 70px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 1.1rem;
  margin-left: auto;
}

.nav-link {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link.active {
  color: #f2c94c;
  font-weight: bold;
}

.nav-link i {
  margin-right: 6px;
}

.nav-link:hover {
  color: #d4af37;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #f2c94c, #f2994a);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #d4af37;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: left 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.show {
    left: 0;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.2rem;
  }
}


/* Hero Section */
/* Hero unificado */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  padding-top: 80px; /* Compensa el header fijo */
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; /* Opcional para efecto parallax */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .hero-slideshow .slide {
    background-position: center top;
    background-size: cover;
  }
}


.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-slideshow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}






.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--light-color), transparent);
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}



.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title span {
  color: var(--secondary-color);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero:hover .hero-title span::after {
  transform: scaleX(1);
  transform-origin: left;
}


.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}

.feature-item i {
  color: var(--secondary-color);
}

.hero-carousel {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.carousel-slide {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.slide-overlay h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Animación de flotación para el carrusel */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  90% { transform: translateY(-20px); }
}
@media (max-width: 768px) {
  .hero::before {
    background-position: center top;
  }
}




.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem 1.5rem;
  color: var(--light-color);
}

.slide-overlay h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
}



.hero-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: var(--light-color);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.btn-nav-whatsapp {
  background-color: #25D366;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  margin-left: 1rem;
  transition: background-color 0.3s ease;
}

.btn-nav-whatsapp:hover {
  background-color: #1ebe5c;
}
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Estilos para la página de proyectos */
/* Estilos para la sección de portafolio */
/* Estilos para la sección de portafolio */
.portfolio-section {
  padding: 6rem 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(249,249,249,0) 100%);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.section-title span {
  color: var(--primary-color);
  position: relative;
}

.section-title span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filtros mejorados */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.filter-btn {
  padding: 0.7rem 1.5rem;
  background-color: transparent;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  outline: none;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out, opacity 0.3s ease;
  opacity: 0;
}

.filter-btn:hover,
.filter-btn:focus {
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover::before,
.filter-btn:focus::before {
  transform: scaleX(1);
  transform-origin: left;
  opacity: 1;
}

.filter-btn.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Grid de proyectos mejorado */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.portfolio-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1;
  transform: translateY(0);
  will-change: transform, box-shadow;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.portfolio-card.hidden {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.portfolio-card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category {
  background-color: #f0f0f0;
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.85rem;
}

.date {
  color: #999;
  white-space: nowrap;
  font-size: 0.85rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #333;
  line-height: 1.3;
}

.card-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 1rem;
  flex-wrap: wrap;
}

.details-btn {
  padding: 0.6rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  flex-grow: 1;
  font-size: 0.9rem;
  min-width: 120px;
}

.details-btn:hover,
.details-btn:focus {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  outline: none;
}

.card-actions {
  display: flex;
  gap: 0.8rem;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  color: #666;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.action-btn:hover,
.action-btn:focus {
  background-color: var(--primary-color);
  color: white;
  outline: none;
}

.like-btn.active {
  background-color: #ff6b6b;
  color: white;
}

/* Botón cargar más */
.load-more-container {
  text-align: center;
  margin: 2rem 0 3rem;
}

.load-more-btn {
  padding: 0.8rem 2.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  font-size: 1rem;
}

.load-more-btn:hover,
.load-more-btn:focus {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  outline: none;
}

.load-more-btn:active {
  transform: translateY(0);
}

/* CTA mejorado */
.portfolio-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 2.5rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 1rem 3rem;
  color: white;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-content p {
  opacity: 0.9;
  margin: 0;
}

.cta-btn {
  padding: 0.8rem 2rem;
  background-color: white;
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid white;
  text-align: center;
  min-width: 200px;
}

.cta-btn:hover,
.cta-btn:focus {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* Efectos de carga */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

/* Retrasos para el efecto escalonado */
.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }
.portfolio-card:nth-child(7) { animation-delay: 0.7s; }
.portfolio-card:nth-child(8) { animation-delay: 0.8s; }
.portfolio-card:nth-child(9) { animation-delay: 0.9s; }
.portfolio-card:nth-child(10) { animation-delay: 1s; }

/* Responsive mejorado */
@media (max-width: 992px) {
  .portfolio-grid {
    gap: 1.8rem;
  }
  
  .portfolio-cta {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 4rem 0;
  }
  
  .portfolio-filter {
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1.2rem;
  }
  
  .card-image {
    height: 220px;
  }
  
  .card-content {
    padding: 1.2rem;
  }
  
  .portfolio-cta {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .cta-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .card-footer {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .details-btn {
    width: 100%;
  }
  
  .card-actions {
    width: 100%;
    justify-content: center;
  }
}




/* ==== Contacto - Formulario Personalizado ==== */
.contacto-form .form-container {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.contacto-form .form-image {
  flex: 1 1 50%;
  background: #f5f5f5;
}

.contacto-form .contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacto-form .form-content {
  flex: 1 1 50%;
  padding: 3rem;
  background-color: #fff;
}

.contacto-form .form-content h1 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contacto-form .form-content h2 {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  background: white;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group label {
  position: absolute;
  top: -10px;
  left: 14px;
  background: white;
  padding: 0 5px;
  font-size: 0.85rem;
  color: var(--text-medium);
  pointer-events: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}
.form-group select {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  background: white;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition);
  appearance: none;
}


/* Modal de éxito */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.submit-btn {
    background: #4a89dc;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    width: 100%;
}

.submit-btn:hover {
    background: #3a70c2;
    transform: translateY(-2px);
}


/* Responsive */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
    }
    
    .form-image {
        height: 200px;
    }
}






.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-info-icon {
  background: rgba(255, 126, 95, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: white;
}

.contact-info-content p, 
.contact-info-content a {
  opacity: 0.8;
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-content a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: #ff6a4b;
}


/* Footer */
.footer {
  background: linear-gradient(135deg, #1a202c, #2d3748);
  color: var(--light-color);
  padding: 5rem 5% 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1518455027359-f3f8164ba6bd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
  opacity: 0.05;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-col {
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-col p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  opacity: 0.8;
  transition: var(--transition);
  position: relative;
  padding-left: 20px;
}

.footer-links li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  transition: var(--transition);
  opacity: 0;
}

.footer-links li:hover {
  opacity: 1;
  padding-left: 25px;
}

.footer-links li:hover::before {
  opacity: 1;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-links i {
  margin-right: 0.8rem;
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-info-icon {
  background: rgba(255, 126, 95, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-content h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: white;
}

.contact-info-content p, 
.contact-info-content a {
  opacity: 0.8;
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-content a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-bottom p {
  margin-bottom: 1rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.logo-image {
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .quotation-content {
    flex-direction: column;
  }
  
  .quotation-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .form-container {
    flex-direction: column;
  }
  
  .form-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.show {
    left: 0;
  }
  
  .hero {
    padding-top: 80px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }
  
  .logo-img {
    height: 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .quotation-options {
    grid-template-columns: 1fr;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}