/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0F0F14;
  color: #D8D9DA;
  line-height: 1.6;
}

/* Encabezado */
header {
  background-color: #1A1A2E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

#banner-texto h1 {
  font-size: 1.8rem;
  color: #D8D9DA;
}

#banner-texto .resaltado {
  color: #3E7CB1;
}

#logo img {
  height: 110px;
  border-radius: 50%; 
  object-fit: cover; 
  aspect-ratio: 1 / 1;
  border: 2px solid #28C7B5; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); 
}

/* Navegación */
nav {
  background-color: #1A1A2E;
  padding: 1rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #D8D9DA;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #E94560;
}

/* Contenido principal con layout de 2 columnas */
.contenido-principal {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Columna izquierda */
.columna-izquierda {
  background-color: #1A1A2E;
  padding: 1.5rem;
  border-radius: 12px;
}

.columna-izquierda h3 {
  color: #3E7CB1;
  margin-bottom: 1rem;
}

.columna-izquierda form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.columna-izquierda input {
  padding: 0.5rem;
  background-color: #0F0F14;
  border: none;
  border-radius: 6px;
  color: #D8D9DA;
}

.columna-izquierda button {
  background-color: #E94560;
  color: white;
  padding: 0.6rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.columna-izquierda ul {
  list-style: none;
  margin-top: 0.5rem;
}

.columna-izquierda li {
  padding: 0.3rem 0;
}

/* Columna centro con productos */
.columna-centro {
  padding: 1.5rem;
  background-color: #1A1A2E;
  border-radius: 12px;
}

.columna-centro h3 {
  color: #28C7B5;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Tarjetas de productos */
.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.tarjeta-servicio.mejorada {
  background-color: #0F0F14;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.tarjeta-servicio.mejorada:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.tarjeta-servicio.mejorada img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  filter: drop-shadow(1px 1px 2px #000);
}

.tarjeta-servicio.mejorada h4 {
  color: #3E7CB1;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.tarjeta-servicio.mejorada p {
  font-size: 0.95rem;
  color: #D8D9DA;
  text-align: justify;
}

/* Footer */
footer {
  background-color: #1A1A2E;
  color: #D8D9DA;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-nombre {
  font-size: 1.3rem;
  color: #28C7B5;
  font-weight: 700;
}

.footer-info {
  margin-top: 0.5rem;
}

.footer-derechos {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #999;
}

/* Responsive */
@media (max-width: 900px) {
  .contenido-principal {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .grid-servicios {
    grid-template-columns: 1fr;
  }
}
