/* General */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  color: #222;
}

/* Navbar */
.navbar-custom {
  background-color: #600029;
  padding: 10px 0;
  color: white;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  height: 50px;
}

.navbar-right a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

.navbar-right a i {
  margin-right: 5px;
}

/* Subheader */
.subheader {
  background-color: #b2862f;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
}

.subheader a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 30px;
  background-color: #f5f5f5;
  color: #600029;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 18px;
  font-weight: normal;
  margin-top: 0;
}

/* Contenido */
.contenido {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.formulario input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 16px;
}

.formulario button {
  background-color: #600029;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.resultado {
  text-align: center;
  padding: 20px;
}

/* Footer */
footer.footer-decorado {
  position: relative;
  background-color: #600029;
  color: white;
  padding: 40px 20px 100px; /* deja espacio para el decorado */
  width: 100vw; /* asegura que ocupe todo el ancho real */
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
}

/* Fondo decorativo debajo del footer */
.footer-decorado::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 60px;
  background-image: url('/images/footer-bg.png');
  background-repeat: repeat-x;
  background-size: contain;
  background-position: center bottom;
  z-index: -1;
}

/* Contenido del footer centrado */
.footer-contenido {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.footer-contenido div {
  flex: 1 1 250px;
  margin-bottom: 20px;
}

.footer-contenido a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

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

.footer-firma {
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

/* Redes sociales */
.social-icons {
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-icons li {
  display: inline-block;
  margin-right: 15px;
}

.social-icons li a {
  color: white;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons li a:hover {
  color: #b38728;
}
