/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== Base ===== */
html, body {
  height: 100%;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #E7E7E7;
  background-color: #202020;
  background-image: linear-gradient(rgba(32, 32, 32, 0.7), rgba(32, 32, 32, 0.7)), url('../img/wall.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  scroll-behavior: smooth;
  padding-bottom: 70px; /* espacio para bottom bar */
}

/* Accesibilidad: texto solo para lectores de pantalla (si lo necesitás) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Skip link para accesibilidad */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #982b2b;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 6px;
}

/* ===== Hero: logo y animación ===== */
.logo { display: flex; justify-content: center; align-items: center; height: 100vh; position: relative; }
.logo img { width: 50%; max-width: 300px; min-width: 200px; height: auto; opacity: 0; animation: fadeIn 1.8s ease-in-out forwards; }
@keyframes fadeIn { 
  from { opacity: 0; transform: scale(0.5) rotate(-10deg); } 
  to { opacity: 1; transform: scale(1) rotate(0deg); } 
}

/* Efecto de pulse sutil después del fadeIn */
.logo img.animated {
  animation: fadeIn 1.8s ease-in-out forwards, pulse 2s ease-in-out 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Flecha de acceso (sobre nav, clickeable) */
.arrow{
  position: absolute; bottom: 160px; left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem; color: #E7E7E7;
  background: transparent; border: none; cursor: pointer;
  animation: bounce 1.5s infinite;
  z-index: 1101; pointer-events: auto; opacity: 0;
  transition: all 0.3s ease;
}
@keyframes bounce { 
  0%,100% { transform: translateX(-50%) translateY(0); } 
  50% { transform: translateX(-50%) translateY(-10px); } 
}

.arrow:hover {
  color: #982b2b;
  transform: translateX(-50%) scale(1.2);
}

/* ===== Menú fijo (oculto inicialmente) ===== */
nav#menu {
  position: fixed; top: 0; left: 50%;
  width: 1400px; max-width: calc(100% - 50px); 
  background-color: #1d1d1d; padding: 10px 0; /* ===== Setear alto de menu bar === */
  width: 1400px; max-width: calc(100% - 40px);
  background-color: #1d1d1d; padding: 15px 0;
  z-index: 1000; opacity: 0; transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none; /* clave para no bloquear clics oculto */
}
nav#menu .menu-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 60px; }
nav#menu .menu-logo a{ color:#E7E7E7; text-decoration:none; font-weight:600; }
nav#menu .menu-links { display: flex; gap: 0; }
nav#menu .menu-links a { 
  background-color: #323232; 
  color: #E7E7E7; 
  text-decoration: none; 
  padding: 12px 30px; 
  border-radius: 0; 
  transition: background 0.3s;
}
nav#menu .menu-links a:hover { background-color: #982b2b; }
nav#menu .menu-links a:first-child { border-top-left-radius: 30px; border-bottom-left-radius: 30px; }
nav#menu .menu-links a:last-child { border-top-right-radius: 30px; border-bottom-right-radius: 30px; }
.hamburger { display: none; background: transparent; border: none; font-size: 1.8rem; color: #E7E7E7; cursor: pointer; }

/* ===== Secciones ===== */
section { max-width: 1400px; margin: 0 auto; padding: 120px 20px; text-align: left; }
section h2 { 
  font-size: 2rem; 
  margin-top: 0; 
  font-weight: 600;
  letter-spacing: -0.02em;
} /* títulos centrados y sin margen extra */
html {
  scroll-padding-top: 80px; /* espacio para el menú fijo */
}
/* Paleta unificada - todas las secciones como servicios */
#section1, #section2, #section3, #section4, #section5, #section6 { background-color: rgba(48, 48, 48, 0.6); }

/* ===== Secciones estandarizadas ===== */
.featured-section { padding: 4rem 0; }
.section-title { 
  text-align: center; 
  font-size: 2.5rem; 
  margin-bottom: 3rem; 
  font-weight: 700;
  letter-spacing: -0.03em;
<<<<<<< HEAD
}

/* ===== Animaciones de Scroll ===== */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animation para elementos en grid */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* Grid para servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  gap: 2rem; justify-content: center;
  max-width: 100%; margin: 0; padding: 0 20px;
}

/* Grid para contenido general (inicio, nosotros, proyectos, contacto) */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; justify-content: center;
  max-width: 100%; margin: 0; padding: 0 20px;
}

/* Grid especial para la sección inicio (logo + texto) */
.home-content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}

.home-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.home-text-section {
  background: rgba(64, 64, 64, 0.6);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Elementos de contenido general */
.content-item {
  background: #404040; 
  padding: 2rem; 
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center; 
  transition: transform 0.3s;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #E7E7E7;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.content-item p {
  line-height: 1.6;
  color: #E7E7E7;
}

/* Efecto hover removido de content-item */
.service-card {
  background: #404040; padding: 2rem; border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center; transition: transform 0.3s;
  padding: 40px;
  display: flex;
  flex-direction: column;     /* apila icono, h3 y p */
  gap: 10px;                  /* separación uniforme entre ellos */
}

.service-icon{ line-height: 1; }
.service-card h3 { 
  font-size: 1.5rem; 
  margin-bottom: 1rem; 
  color: #E7E7E7; 
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-card p{ line-height: 1.6; }


.service-card:hover { 
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 8px 25px rgba(152, 43, 43, 0.3);
}
/* Iconos de tarjetas: color y tamaño consistentes */
.service-icon { 
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  transition: transform 0.3s ease;
}
.service-icon i { 
  font-size: 2.5rem; 
  color: #982b2b;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon i {
  transform: scale(1.1) rotate(5deg);
}

/* ===== Bottom bar ===== */
.bottom-bar {
  position: fixed; bottom: 0; left: 50%;
  width: 1400px; max-width: calc(100% - 40px);
  background: #1d1d1d; z-index: 1000;
  opacity: 0; transform: translateX(-50%) translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none; /* no tapa contenido invisible */
  display: flex; justify-content: center; align-items: center;
  padding: 28px 0;
}
.bottom-bar .container {
  width: 1400px; max-width: 1400px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 0 60px; margin: 0 auto;
}
.bottom-bar .text { font-size: 0.9rem; color: #E7E7E7; white-space: nowrap; }
.bottom-bar .icons { display: flex; gap: 18px; align-items: center; }
/* Íconos de enlaces (heredan color y escalan en hover) */
.bottom-bar .icons a {
  color: #E7E7E7; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.25s ease, transform 0.12s ease;
}
.bottom-bar .icons a i { font-size: 1.4rem; line-height: 1; }
.bottom-bar .icons a:hover { transform: scale(1.3); }
/* Colores de marca en hover (coinciden con tu CSS original) */
.bottom-bar .icons a.whatsapp:hover { color: #25D366; } /* WhatsApp */
.bottom-bar .icons a.mail:hover     { color: #cd0000; } /* Email */
.bottom-bar .icons a.instagram:hover{ color: #E1306C; } /* Instagram */
.bottom-bar .icons a.facebook:hover { color: #1877F2; } /* Facebook */

/* Enlace nmato en el bottom bar */
.bottom-bar .text .nmato-link {
  color: #E7E7E7;
  text-decoration: none;
  transition: color 0.25s ease;
}
.bottom-bar .text .nmato-link:hover {
  color: #2e3ae4;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  nav#menu .menu-container { padding: 0 20px; }
  nav#menu .menu-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; right: 20px; background-color: #2f2f2f;
    padding: 0; border-radius: 0; gap: 0;
    border: 1px solid #404040;
  }
  /* Líneas entre botones eliminadas */
  nav#menu .menu-links a:first-child { border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  nav#menu .menu-links a:last-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
  .hamburger { display: block; }
}
@media (max-width: 1440px) {
  nav#menu { width: calc(100% - 40px); }
  .bottom-bar { width: calc(100% - 40px); }
  nav#menu .menu-container { padding: 0 40px; }
  .bottom-bar .container { padding: 0 40px; }
}

@media (max-width: 600px) {
  .logo img { width: 70%; }
  nav#menu .menu-links a { padding: 8px 14px; font-size: 16px; }
}

/* Logo del header en el menú fijo */
nav#menu .menu-logo a{
  display: inline-flex;        /* alinea verticalmente la imagen */
  align-items: center;         /* centra el SVG en la altura del nav */
  text-decoration: none;       /* evita subrayado accidental */
  background: transparent;     /* no aplicar fondos aquí */
  color: inherit;              /* no forzar color sobre el logo */
  padding: 0;                  /* sin padding para no deformar altura */
}

.header-logo{
  height: 60px;                /* ajustá según tu altura deseada */
  width: auto;                 /* mantiene proporciones del SVG */
  display: block;              /* elimina espacio fantasma inline */
}

/* Opcional: ajuste en móviles para no ocupar demasiado alto */
@media (max-width: 600px){
  .header-logo{ height: 28px; }
}

/* ===== Formulario de Contacto ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form-section {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #E7E7E7;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid #555;
  border-radius: 6px;
  background: #404040;
  color: #E7E7E7;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #982b2b;
  box-shadow: 0 0 0 2px rgba(152, 43, 43, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.submit-btn {
  background: #982b2b;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: #7a2222;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(152, 43, 43, 0.4);
}

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

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Información de Contacto */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  color: #982b2b;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  width: 20px;
}

.contact-item h4 {
  color: #E7E7E7;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-item p {
  color: #E7E7E7;
  line-height: 1.5;
  margin: 0;
}

/* Mapa */
.map-container {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive para formulario de contacto */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Responsive para sección inicio */
  .home-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .home-logo {
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .contact-container {
    padding: 0 10px;
  }
  
  .contact-form-section,
  .contact-details,
  .map-container {
    padding: 1.5rem;
  }
}

/* ===== Sección de Equipo ===== */
.team-section {
  margin-top: 3rem;
  padding: 0 20px;
}

.team-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #E7E7E7;
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}


.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animation para elementos en grid */
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* Grid para servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  gap: 2rem; justify-content: center;
  max-width: 100%; margin: 0; padding: 0 20px;
}

/* Grid para contenido general (inicio, nosotros, proyectos, contacto) */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; justify-content: center;
  max-width: 100%; margin: 0; padding: 0 20px;
}

/* Elementos de contenido general */
.content-item {
  background: #404040; 
  padding: 2rem; 
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center; 
  transition: transform 0.3s;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #E7E7E7;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.content-item p {
  line-height: 1.6;
  color: #E7E7E7;
}

/* Efecto hover removido de content-item */
.service-card {
  background: #404040; padding: 2rem; border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center; transition: transform 0.3s;
  padding: 40px;
  display: flex;
  flex-direction: column;     /* apila icono, h3 y p */
  gap: 10px;                  /* separación uniforme entre ellos */
}

.service-icon{ line-height: 1; }
.service-card h3 { 
  font-size: 1.5rem; 
  margin-bottom: 1rem; 
  color: #E7E7E7; 
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-card p{ line-height: 1.6; }


.service-card:hover { 
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 8px 25px rgba(152, 43, 43, 0.3);
}
/* Iconos de tarjetas: color y tamaño consistentes */
.service-icon { 
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  transition: transform 0.3s ease;
}
.service-icon i { 
  font-size: 2.5rem; 
  color: #982b2b;
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon i {
  transform: scale(1.1) rotate(5deg);
}

/* ===== Bottom bar ===== */
.bottom-bar {
  position: fixed; bottom: 0; left: 50%;
  width: 1400px; max-width: calc(100% - 40px);
  background: #1d1d1d; z-index: 1000;
  opacity: 0; transform: translateX(-50%) translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none; /* no tapa contenido invisible */
  display: flex; justify-content: center; align-items: center;
  padding: 28px 0;
}
.bottom-bar .container {
  width: 1400px; max-width: 1400px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 0 60px; margin: 0 auto;
}
.bottom-bar .text { font-size: 0.9rem; color: #E7E7E7; white-space: nowrap; }
.bottom-bar .icons { display: flex; gap: 18px; align-items: center; }
/* Íconos de enlaces (heredan color y escalan en hover) */
.bottom-bar .icons a {
  color: #E7E7E7; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.25s ease, transform 0.12s ease;
}
.bottom-bar .icons a i { font-size: 1.4rem; line-height: 1; }
.bottom-bar .icons a:hover { transform: scale(1.3); }
/* Colores de marca en hover (coinciden con tu CSS original) */
.bottom-bar .icons a.whatsapp:hover { color: #25D366; } /* WhatsApp */
.bottom-bar .icons a.mail:hover     { color: #cd0000; } /* Email */
.bottom-bar .icons a.instagram:hover{ color: #E1306C; } /* Instagram */
.bottom-bar .icons a.facebook:hover { color: #1877F2; } /* Facebook */

/* ===== Responsive ===== */
@media (max-width: 900px) {
  nav#menu .menu-container { padding: 0 20px; }
  nav#menu .menu-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; right: 20px; background-color: #2f2f2f;
    padding: 0; border-radius: 0; gap: 0;
    border: 1px solid #404040;
  }
  /* Líneas entre botones eliminadas */
  nav#menu .menu-links a:first-child { border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  nav#menu .menu-links a:last-child { border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
  .hamburger { display: block; }
}
@media (max-width: 1440px) {
  nav#menu { width: calc(100% - 40px); }
  .bottom-bar { width: calc(100% - 40px); }
  nav#menu .menu-container { padding: 0 40px; }
  .bottom-bar .container { padding: 0 40px; }
}

@media (max-width: 600px) {
  .logo img { width: 70%; }
  nav#menu .menu-links a { padding: 8px 14px; font-size: 16px; }
}

/* Logo del header en el menú fijo */
nav#menu .menu-logo a{
  display: inline-flex;        /* alinea verticalmente la imagen */
  align-items: center;         /* centra el SVG en la altura del nav */
  text-decoration: none;       /* evita subrayado accidental */
  background: transparent;     /* no aplicar fondos aquí */
  color: inherit;              /* no forzar color sobre el logo */
  padding: 0;                  /* sin padding para no deformar altura */
}

.header-logo{
  height: 40px;                /* ajustá según tu altura deseada */
  width: auto;                 /* mantiene proporciones del SVG */
  display: block;              /* elimina espacio fantasma inline */
}

/* Opcional: ajuste en móviles para no ocupar demasiado alto */
@media (max-width: 600px){
  .header-logo{ height: 28px; }
}

/* ===== Formulario de Contacto ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form-section {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #E7E7E7;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid #555;
  border-radius: 6px;
  background: #404040;
  color: #E7E7E7;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #982b2b;
  box-shadow: 0 0 0 2px rgba(152, 43, 43, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.submit-btn {
  background: #982b2b;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: #7a2222;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(152, 43, 43, 0.4);
}

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

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Información de Contacto */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  color: #982b2b;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  width: 20px;
}

.contact-item h4 {
  color: #E7E7E7;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-item p {
  color: #E7E7E7;
  line-height: 1.5;
  margin: 0;
}

/* Mapa */
.map-container {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive para formulario de contacto */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-container {
    padding: 0 10px;
  }
  
  .contact-form-section,
  .contact-details,
  .map-container {
    padding: 1.5rem;
  }
}

/* ===== Sección de Equipo ===== */
.team-section {
  margin-top: 3rem;
  padding: 0 20px;
}

.team-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #E7E7E7;
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

>>>>>>> a6987f09ae207283d34b49f63a0b71e7012a3b1b
.team-member {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(152, 43, 43, 0.2);
}

.member-photo {
  margin-bottom: 1rem;
}

.member-photo i {
  font-size: 4rem;
  color: #982b2b;
}

.team-member h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #E7E7E7;
  font-weight: 600;
}

.member-role {
  color: #982b2b;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.member-bio {
  color: #E7E7E7;
  line-height: 1.6;
  text-align: left;
}

/* ===== Sección de Proyectos ===== */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-card {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
<<<<<<< HEAD
=======
  border-left: 4px solid #982b2b;
>>>>>>> a6987f09ae207283d34b49f63a0b71e7012a3b1b
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px rgba(152, 43, 43, 0.25);
<<<<<<< HEAD
=======
  border-left-color: #c73535;
>>>>>>> a6987f09ae207283d34b49f63a0b71e7012a3b1b
}

.project-icon {
  margin-bottom: 1rem;
}

.project-icon i {
  font-size: 2.5rem;
  color: #982b2b;
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #E7E7E7;
  font-weight: 600;
}

.project-client {
  color: #982b2b;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.project-description {
  color: #E7E7E7;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: #982b2b;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transform: scale(0.8);
  animation: popIn 0.5s ease forwards;
}

.tech-tag:nth-child(1) { animation-delay: 0.1s; }
.tech-tag:nth-child(2) { animation-delay: 0.2s; }
.tech-tag:nth-child(3) { animation-delay: 0.3s; }

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== Sección de Clientes ===== */
.clients-section {
  margin-top: 3rem;
  padding: 0 20px;
}

.clients-subtitle,
.testimonials-subtitle {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #E7E7E7;
  font-weight: 600;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.client-logo {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.client-logo:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(152, 43, 43, 0.2);
}

.client-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.client-placeholder i {
  font-size: 2.5rem;
  color: #982b2b;
  transition: transform 0.3s ease;
}

.client-logo:hover .client-placeholder i {
  transform: scale(1.1);
}

.client-placeholder span {
  color: #E7E7E7;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Sección de Testimonios ===== */
.testimonials-section {
  margin-top: 4rem;
  padding: 0 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(64, 64, 64, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border-left: 4px solid #982b2b;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(152, 43, 43, 0.2);
}

.testimonial-content p {
  color: #E7E7E7;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.testimonial-author strong {
  color: #982b2b;
  font-size: 1.1rem;
}

.testimonial-author span {
  color: #999;
  font-size: 0.9rem;
}

/* Responsive para equipo y proyectos */
@media (max-width: 900px) {
  .team-grid,
  .projects-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .team-section,
  .projects-container {
    padding: 0 10px;
  }
  
  .team-member,
  .project-card {
    padding: 1.5rem;
  }
}
