/* Estilo base */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #050816;
  color: #e5e7eb;
}

/* Contenedores principales */
header,
section,
footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Barra superior */
.top-bar {
  background: #020617;
  border-bottom: 1px solid #111827;
  position: sticky;
  top: 0;
  z-index: 50;
}

.top-bar-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: bold;
  color: #f9fafb;
  letter-spacing: 1px;
}

.top-nav a {
  margin-left: 16px;
  text-decoration: none;
  color: #9ca3af;
  font-size: 14px;
}

.top-nav a:hover {
  color: #ffffff;
}

/* Tipografí responsivas */
h1 {
  font-size: clamp(24px, 5vw, 32px);
  margin-bottom: 12px;
  color: #f9fafb;
}

h2 {
  font-size: clamp(20px, 3.6vw, 24px);
  margin-top: 32px;
  margin-bottom: 12px;
  color: #f9fafb;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #e5e7eb;
}

p {
  line-height: 1.6;
  font-size: 15px;
}

/* Hero */
.hero {
  text-align: left;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Botórincipal */
.cta-button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.cta-button:hover {
  background: #1d4ed8;
}

/* Servicios (mobile first) */
.services {
  display: grid;
  gap: 16px;
}

.card {
  background: #0b1120;
  border-radius: 8px;
  padding: 16px 18px;
  border: 1px solid #1f2933;
}

/* Listas */
.graphics-list,
.bullet-list {
  padding-left: 18px;
  margin-top: 8px;
}

.graphics-list li,
.bullet-list li {
  margin-bottom: 6px;
  font-size: 15px;
}

/* Formularios */
form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

label {
  font-size: 14px;
}

input,
textarea,
select {
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  width: 100%;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background: #1d4ed8;
}

/* Footer */
footer {
  font-size: 14px;
  border-top: 1px solid #1f2933;
  margin-top: 32px;
  padding-bottom: 32px;
}

a {
  color: #60a5fa;
}

/* ===== MEDIA QUERIES ===== */

/* A partir de 600px: centramos hero un poco máancho */
@media (min-width: 600px) {
  .hero {
    text-align: left;
  }
}

/* A partir de 768px: 2 columnas para servicios */
@media (min-width: 768px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* A partir de 992px: 3 columnas para servicios */
@media (min-width: 992px) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}


.lang-switch {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 16px 0 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.lang-switch button {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 13px;
}

.lang-switch button.active-lang {
  background: #2563eb;
  border-color: #2563eb;
}

