:root {
  --color-fondo: #0f0f0f;
  --color-texto: #f5f5f5;
  --color-accent: #ff6b35;
  --color-accent-light: #ff8c5a;
  --color-border: #2a2a2a;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  background-color: var(--color-fondo);
  color: var(--color-texto);
  font-family: var(--font-family);
  line-height: 1.6;
  font-size: 16px;
}

header {
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

header a:hover {
  color: var(--color-accent-light);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: var(--color-texto);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

nav a:hover {
  border-bottom-color: var(--color-accent);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

section {
  margin-bottom: 4rem;
}

section > h1,
section > h2 {
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

section > h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

section > h2 {
  font-size: 1.75rem;
}

section > p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #d0d0d0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #1a1a1a;
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: 8px;
}

label {
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

input[type="email"],
input[type="text"] {
  padding: 0.75rem;
  background-color: #2a2a2a;
  border: 1px solid var(--color-border);
  color: var(--color-texto);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

input[type="email"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

input[type="checkbox"] {
  margin-right: 0.75rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

button {
  padding: 0.75rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-fondo);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: inherit;
}

button:hover {
  background-color: var(--color-accent-light);
}

button:active {
  transform: scale(0.98);
}

form > p {
  font-size: 0.9rem;
  color: #b0b0b0;
}

form > p a {
  color: var(--color-accent);
  text-decoration: none;
}

form > p a:hover {
  text-decoration: underline;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul[role="list"] {
  list-style: none;
}

ul[role="list"] > li {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #1a1a1a;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

ul[role="list"] > li:hover {
  border-color: var(--color-accent);
}

ul[role="list"] h3 {
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

ul[role="list"] p {
  color: #d0d0d0;
  margin-bottom: 0.75rem;
}

ul[role="list"] a {
  display: inline-block;
  margin-top: 0.75rem;
}

footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 1rem;
  background-color: #0a0a0a;
  font-size: 0.9rem;
  color: #888;
  margin-top: 4rem;
}

footer p {
  margin-bottom: 0.75rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

footer a {
  color: var(--color-accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .descargo {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  section > h1 {
    font-size: 1.75rem;
  }

  section > h2 {
    font-size: 1.3rem;
  }

  header {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  form {
    padding: 1.5rem;
  }
}
