/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }

body { background: #f8fafc; color: #333; }

/* HEADER SIN BOTÓN LOGIN */
.header {
  background: white;
  padding: 10px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Distribuye espacio entre logo, menu y spacer */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo, .header-spacer {
  flex: 0 0 150px; /* Ambos tienen el mismo ancho para que el menú quede al centro exacto */
}

.logo-small { height: 50px; width: auto; display: block; }

.menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
  white-space: nowrap;
}

.menu a:hover { color: #00d1b2; }

/* HERO SECCIÓN LIMPIA */
.hero {
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('../img/Fondo1.png');
  background-size: cover;
  background-position: center;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 10px; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero h1 span { color: #00d1b2; }
.hero p { font-size: 1.3rem; font-weight: 300; }

/* SERVICIOS Y CONTACTO */
.servicios-detallados { padding: 80px 5%; background: white; text-align: center; }
.section-title { font-size: 2.2rem; margin-bottom: 50px; color: #1e293b; }

.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.card-servicio {
  padding: 45px 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  transition: 0.3s;
}

.card-servicio:hover { transform: translateY(-8px); border-color: #00d1b2; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.servicio-img { font-size: 3.5rem; margin-bottom: 20px; }

.contacto-unificado { padding: 40px; background: #f8fafc; border-radius: 25px; display: inline-block; }
.btn-contacto-principal {
    display: inline-block;
    text-decoration: none;
    background: #1e88e5;
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-contacto-principal:hover { background: #00d1b2; transform: scale(1.05); }

.footer { background: #1a1a1a; color: white; padding: 30px; text-align: center; font-size: 0.9rem; }