/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #141414;
  color: #e5e7eb;
  font-family: sans-serif;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}
.hidden {
  display: none !important;
}
.select {
  padding: 3px;
  margin: 10px 0px;
}
/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  background: #000000;
  overflow: hidden;
  box-shadow: 0 0px 16px rgb(0, 0, 0);
}
.banner-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.banner-title {
  position: relative;
  font-size: 3rem;
  font-weight: bold;
  color: #fbbf24;
  z-index: 1;
  text-shadow: 3px 3px 6px rgba(0,0,0,1);
}
.subtitle {
  position: relative;
  margin-top: 0.5rem;
  font-style: italic;
  font-family: 'Great Vibes', cursive;
  color: #80847d;
  font-size: 1.6rem;
  z-index: 1;
}
/* Contenedor principal */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* Bloques de contenido */
.content-box {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.section-text {
  margin-bottom: 1rem;
}
/* Area de formularios */
.area-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: #222222;
  border-radius: 0.8rem;
  padding: 22px;
  gap: 1rem;
  box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.5), 
          inset -2px -2px 3px rgba(255, 255, 255, 0.15);
}
@media (max-width: 767px) {
  .area-row {
    flex-direction: column;
  }
}
/* Encabezados */
.heading {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #fbbf24;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.7);
}
.heading-center {
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #646464;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
/* Enlaces */
.yellow-link {
  /* text-decoration: underline; */
  color: #fcd34d;
}
.gray-text {
  color: #9ca3af;
}
/* Thumbnail sin duplicidad – se escala al hacer hover */
.thumb {
  width: 200px;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.thumb:hover {
  transform: scale(2.2);
  position: relative;
  z-index: 10;
}
/* Formularios y botones */
.textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  color: #111827;
  outline: none;
  resize: none;
}
.error-message {
  margin-top: 0.5rem;
  color: #f00;
  display: none;
}
.yellow-btn {
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: #fbbf24;
  color: #111827;
  font-weight: 600;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.yellow-btn:hover {
  background: #f59e0b;
}
/* Footer */
.footer {
  background: #181818;
  padding: 1rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0px 16px rgb(0, 0, 0, 0.4);
}
.footer-logo {
  width: 80px;
}
.footer-text {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  color: #9ca3af;
}
/* Modales */
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 50;
}
.modal-content {
  background: #171717;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  font-size: 3rem;
  color: #fff;
  max-width: 90%;
  overflow: hidden;
}
.modal-message {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: #fbbf24;
}
.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-bottom: 1rem;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Modal de confirmación */
.confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
}
.confirm-box {
  background: #171717;
  color: #fbbf24;
  border: 1px solid #fbbf24;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  padding: 1rem;
  max-width: 300px;
  position: absolute;
}
.confirm-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}
.confirm-btn-ok {
  background: #fbbf24;
  color: #111827;
  font-weight: 600;
  border: none;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.confirm-btn-ok:hover {
  background: #f59e0b;
}
.confirm-btn-cancel {
  background: #262626;
  color: #fbbf24;
  font-weight: 600;
  border: 1px solid #fbbf24;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.confirm-btn-cancel:hover {
  opacity: 0.8;
}
/* Secciones colapsables */
.section-title {
  cursor: pointer;
  font-size: 1.25rem;
  color: #fb9a24;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title:hover {
  color: #ffdf8f;
}
.bullet {
  width: 60px;
  vertical-align: middle;
}
.bullet:hover {
  transform: scale(1.1);
  transition: transform 0.15s ease;
}
.bullet-section {
  width: 80px;
  vertical-align: middle;
  opacity: 0.07;
}
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.collapsible-content.expanded {
  max-height: 1000px;
  overflow: visible;
}
.collapsible-inner {
  padding: 0 0 1rem 0;
}