body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  /* Aplicando el fondo proporcionado por el usuario */
  background: url("../img/Fondo2.png") center center fixed;
  background-size: cover;
  position: relative;
}

/* Agregando overlay para mejorar legibilidad */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Eliminando estilos de navegación */

/* Hero Section */
.hero {
  
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-dark);
  /* Agregando sombra de texto para mejor legibilidad */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.hero-stat {
  text-align: center;
  background: var(--background-section);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Playfair Display", serif;
}

.hero-stat .stat-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  height: 500px;
}

.hero-image-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px var(--shadow);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-image-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 35px 70px var(--shadow-hover);
  border-color: var(--color-orange);
}

.hero-image-item:first-child {
  grid-row: 1 / 3;
}

.hero-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 25%; 
  transition: var(--transition);
}

.hero-image-item:hover img {
  transform: scale(1.1);
}

/* Section Styles */
.section-title {
  text-align: center;
  position: relative;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-rainbow);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite; 
}
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
  padding: 120px 0;
  /*backdrop-filter: blur(20px); */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text {
  left: 0;
  transform: none;
}

.lead-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-description p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-features {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--background-section);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  transform: translateX(15px);
  box-shadow: 0 15px 40px var(--shadow);
  border-color: var(--color-orange);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgb(249, 115, 22), rgb(239, 68, 68));
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0;
}

.about-visual {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.about-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.about-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 1.2rem 1.8rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 15px 30px var(--shadow);
  backdrop-filter: blur(10px);
}

.about-badge span {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

.about-badge small {
  font-size: 0.8rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Education-Vision Section */
.education-vision {
  padding: 120px 0;
 /* backdrop-filter: blur(20px); */
}

.ev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.education-card,
.vision-card {
  background: var(--background-section);
  backdrop-filter: blur(15px);
  padding: 3.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-card:hover,
.vision-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px var(--shadow-hover);
  border-color: var(--color-orange);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.education-card h3,
.vision-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.education-card p,
.vision-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.education {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.education-specialties {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-accent);
  min-width: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  padding: 16px 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
}

.education-specialties:hover {
  opacity: .95;
}

.education-specialties .specialty{
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
  }
}
.vision-card-img {
  width: 220px;              /* tamaño fijo pequeño */
  height: 160px;             /* altura proporcional */
  border-radius: 12px;       /* esquinas redondeadas */
  overflow: hidden;          /* oculta lo que sobresalga */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;            /* centrado */
}

.vision-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* recorta sin deformar */
  display: block;
}


/* Projects Section */
.projects {
  padding: 120px 0;
/*  background: var(--background-section);
  backdrop-filter: blur(20px); */
}

.projects-header {
  text-align: center;
  margin-bottom: 5rem;
}

.project-category {
  margin-bottom: 5rem;
}

.category-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  padding-left: 2rem;
  border-left: 5px solid var(--color-orange);
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
}

.project-card {
  background: var(--background-section);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 35px 70px var(--shadow-hover);
  border-color: rgba(255, 179, 71, 0.3);
}

.project-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.15);
}

.project-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.project-info {
  padding: 2.5rem;
}

.project-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.project-location {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-info p:last-child {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

/* Clients Section */
.clients {
  padding: 120px 0;
 /* background: var(--background-section);
  backdrop-filter: blur(20px); */
}

.clients-content {
  max-width: 900px;
  margin: 0 auto;
}

.clients-categories {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.client-category {
  background: var(--background-section);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.client-category h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.client-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.client-item {
  padding: 1.2rem;
  background: var(--background-section);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  color: var(--text-light);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.client-item:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--shadow);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-image-grid {
    height: 400px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-text .section-title {
    text-align: center;
  }

}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .hero-image-grid {
    grid-template-columns: 1fr;
    height: 300px;
  }

  .hero-image-item:first-child {
    grid-row: auto;
  }

  .ev-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .clients-categories {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info .section-title {
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .about-features {
    gap: 1rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Agregando efectos adicionales para el fondo oscuro */
.glass-effect {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-effect {
  box-shadow: 0 0 20px rgba(247, 149, 51, 0.3);
}
