/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Exo 2', sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  text-align: center;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1a;
  padding: 20px;
}

.logo {
  font-size: 1.5rem;
  color: #00d2ff;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

nav a:hover {
  color: #00d2ff;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0 20px;
  background: linear-gradient(to right, #0f0f0f, #1a1a1a);
}

.btn-scroll {
  margin-top: 30px;
  display: inline-block;
  color: #00d2ff;
  font-size: 1.5rem;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: color 0.3s ease;
}

.btn-scroll:hover {
  color: #00b8e6;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Quiénes Somos */
.quienes-somos {
  background-color: #181818;
  color: #e0e0e0;
  padding: 80px 20px;
  text-align: center;
}

.quienes-somos h2 {
  font-size: 2.1rem;
  margin-bottom: 15px;
  color: #00d2ff;
}

.quienes-somos .intro,
.quienes-somos .bloque p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1rem;
  color: #aaa;
  /* Si prefieres justificado, descomenta esto */
  /* text-align: justify; */
}

.contenido {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.bloque h3 {
  font-size: 1.4rem;
  color: #00d2ff;
  margin-bottom: 15px;
  text-align: center;
}

.bloque p {
  text-align: center;
  line-height: 1.6;
  color: #aaa;
  /* Opcional: justifica texto largo */
  /* text-align: justify; */
}

/* Servicios */
.servicios {
  padding: 80px 20px;
  background-color: #121212;
  text-align: center;
}

.servicios h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #00d2ff;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.card {
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.icono {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #00d2ff;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #aaa;
  text-align: center;
  line-height: 1.5;
}

/* Contacto */
.contacto {
  background-color: #121212;
  color: #e0e0e0;
  padding: 80px 20px;
  text-align: center;
}

.contacto h2 {
  font-size: 2rem;
  color: #00d2ff;
  margin-bottom: 10px;
}

.contacto .intro {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-contenido {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.formulario {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.formulario input,
.formulario textarea {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 12px;
  color: #fff;
  border-radius: 6px;
  font-size: 0.95rem;
  width: 100%;
  max-width: 400px;
}

.formulario textarea {
  min-height: 120px;
  resize: vertical;
}

.formulario button {
  background-color: #00d2ff;
  color: #121212;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: fit-content;
}

.formulario button:hover {
  background-color: #00b8e6;
}

.datos-contacto {
  flex: 1;
  text-align: center;
}

.datos-contacto p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
    height: auto;
  }

  .contacto-contenido {
    flex-direction: column;
  }

  .formulario input,
  .formulario textarea {
    max-width: 100%;
  }
}

/* Separación entre secciones */
section {
  scroll-margin-top: 80px;
}

.hero,
.quienes-somos,
.servicios,
.contacto {
  margin-bottom: 60px;
}
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f0f0f;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
}

.contenido-hero {
  z-index: 2;
}

.hero h1 {
  font-size: 2.4rem;
  color: #00d2ff;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn-empezar {
  padding: 12px 30px;
  font-size: 1rem;
  background: linear-gradient(to right, #00d2ff, #00ffab);
  color: #121212;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: bold;
}

.btn-empezar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ffcc;
}

#fondo-particulas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
#fondo-particulas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.logo-hero {
  margin-bottom: 20px;
  animation: latido 2.8s ease-in-out infinite;
}

.logo-hero img {
  max-width: 200px;
  width: 60vw;
  height: auto;
  filter: drop-shadow(0 0 6px #00d2ff88);
  margin: 0 auto;
}

@media (max-width: 500px) {
  .logo-hero img {
    max-width: 140px;
    width: 70vw;
  }
}

@keyframes latido {
  0%, 100% { transform: scale(3); }
  20% { transform: scale(1.03); }
}

.encabezado {
  background: #0f0f0f;
  padding: 20px 15px;
  border-bottom: 1px solid #222;
}

.contenedor-header {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.titulo-marca {
  font-size: 2.5rem;
  color: #00d2ff;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
}

/* Responsive: para que no se parta en móviles */
@media (max-width: 500px) {
  .titulo-marca {
    font-size: 1.8rem;
    white-space: normal;
    line-height: 1.2;
  }
}
