* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Lexend Deca', sans-serif;
  background-color:  linear-gradient(90deg, #000000 0%, #242424 50%, #000000 100%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;

  /* Sticky footer layout */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Contenedores 1 y 2 centrados uno al lado del otro con fondo negro */
.contenedores-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 0 auto 60px auto;
  color:white;
}

.contenedor1,
.contenedor2 {
  background: linear-gradient(90deg, #000000 0%, #242424 50%, #000000 100%);
  color: #ffffff;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  width: 450px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.contenedor1:hover,
.contenedor2:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ffffff;
  border-bottom: 3px solid #000000;
  padding-bottom: 8px;
  letter-spacing: 0.05em;
}

.contact-info .contact-item {
  margin-bottom: 18px;
}

.contact-info h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.contact-info p,
.contact-info a {
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.call-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  background-color: #000000;
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.call-btn:hover {
  background-color: #000000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.contacto-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group label {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1.8px solid #ffffff;
  border-radius: 8px;
  font-size: 1rem;
  color: #000000;
  transition: border-color 0.3s ease;
  font-family: 'Lexend Deca', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #000000;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

button[type="submit"] {
  background-color: #000000;
  color: #fff;
  font-weight: 700;
  padding: 14px 0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

button[type="submit"]:hover {
  background-color: #000000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* Responsividad */
@media (max-width: 980px) {
  .contenedor1,
  .contenedor2 {
    width: 90%;
  }
  .contenedores-wrapper {
    padding: 30px 10px;
  }
}



/* ==== FOOTER ==== */
footer {
    background: linear-gradient(90deg, #000000 0%, #242424 50%, #000000 100%);
    padding: 36px 0 18px 0;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Empuja el footer hacia abajo */
    position:static;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 0 18px;
}

.footer-redes {
    display: flex;
    gap: 18px;
    margin-bottom: 0;
}

.footer-icon {
    width: 38px;
    height: 38px;
    transition: all 0.3s;
    filter: brightness(0.8);
}

.footer-icon:hover {
    transform: scale(1.18);
    filter: brightness(1) drop-shadow(0 0 10px #ffff);
}

.footer-links {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 1rem;
}

.footer-links a {
    color: #ffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffff;
    text-shadow: 0 0 5px #ffff;
}

.footer-separator {
    color: #ffff;
    opacity: 0.5;
    font-size: 1.2em;
}
.footer-libro .libro-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffff;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-libro .libro-btn img {
    width: 38px;
    height: 38px;
}

.footer-libro .libro-btn:hover,
.footer-libro .libro-btn:focus {
    color: #ffff;
}

.footer-copyright {
    color: #ffff;
    font-size: 0.95em;
    margin-top: 10px;
}

/* ==== MODAL LIBRO DE RECLAMACIONES ==== */
.modal-libro {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-contenido {
    background: linear-gradient(90deg, #0000 0%, #242424 50%, #0000 100%);
    margin: 5% auto;
    padding: 32px 18px;
    border: 2px solid transparent;
    border-radius: 18px;
    width: 95%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-contenido h2 {
    color: #ffff;
    text-align: center;
    margin-bottom: 18px;
    text-shadow: 0 0 10px #ffff;
}

.libro-info {
    color: #a0d6ff;
    text-align: center;
    margin-bottom: 24px;
}

.libro-formulario {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.libro-formulario label {
    color: #ffff;
    font-weight: 500;
}

.libro-formulario input,
.libro-formulario select,
.libro-formulario textarea {
    padding: 10px;
    background: rgba(0, 26, 0, 0.8);
    border: 2px solid #ffff;
    border-radius: 8px;
    color: #a0d6ff;
    font-family: 'Inter', sans-serif;
}

.libro-formulario button {
    background: linear-gradient(90deg, #0000 0%, #242424 50%, #0000 100%);
    color: #ffff;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.libro-formulario button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.18);
}

.cerrar-modal {
    color: #ffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cerrar-modal:hover {
    color: #fff;
    text-shadow: 0 0 10px #ffff;
}