:root { --bg: #0b0a0a; --accent: #b98f2b; --muted: #d5c9a8; --emerald: #2b6f52; --glass: rgba(255, 255, 255, 0.08);}

* {box-sizing: border-box; margin: 0; padding: 0}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--muted);
  background: var(--bg);
  min-height: 100vh;
  background-image: linear-gradient(
      180deg,
      rgba(11,10,10,0.7),
      rgba(11,10,10,0.8)),
    url("fondodelcastillo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 2rem;
}

header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;}

header img { height: 80px; width: auto;}

.title-block h1 { font-size: clamp(1.4rem, 3vw, 2.3rem); color: white;}

.title-block h2 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--accent); font-weight: 500;}

main { background: rgba(0, 0, 0, 0.3); border-radius: 12px; padding: 2rem 2.5rem; max-width: 800px; margin-top: 1.5rem; box-shadow: 0 0 25px rgba(0,0,0,0.6);}

main p {font-size: 1.05rem; margin: 0.4rem 0;}

h3 {margin-top: 1.2rem; color: var(--accent);}

footer { margin-top: 2rem;}

.buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.buttons a {
  background: var(--emerald);
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
}

.buttons a:hover {
  background: #3c8b67;
}

@media (max-width: 600px) {
  header img {
    height: 60px;
  }
  main {
    padding: 1.2rem;
  }
}

