/* Justificar títulos y textos en toda la página */
/* Centrado de títulos y textos en toda la página */
/* Centrado de títulos principales */
h1, h2, h3, h4, h5, h6 {
  text-align: center !important;
}
/* Justificar textos normales */
p, label, .contact-form-row input, .contact-form-row textarea, .contact-form-row button {
  text-align: justify !important;
}
/* Centrado absoluto del contenedor principal de Contactanos */
.contactanos-container {
  max-width: 400px;
  min-height: 60vh;
  margin: 48px auto 0 auto;
  background: rgba(35, 57, 93, 0.92);
  border-radius: 18px;
  padding: 40px 24px;
  box-shadow: 0 8px 32px #2a5298cc;
  color: #e0e6ed;
  backdrop-filter: blur(8px);
  border: 2px solid #2a5298;
  animation: fadeIn 0.7s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #23395d 0%, #1e3c72 60%, #2a5298 100%);
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #e0e6ed;
  text-align: justify;
  letter-spacing: 0.03em;
  transition: background 0.5s;
  animation: crazyBg 12s linear infinite alternate;
}

@keyframes crazyBg {
  0% { background-position: 0 0; }
  100% { background-position: 100vw 100vh; }
}

.header {
  background: rgba(35, 57, 93, 0.92);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 8px 32px #1e3c72cc;
  backdrop-filter: blur(8px);
  border-bottom: 2px solid #2a5298;
  border-radius: 0 0 24px 24px;
  margin-bottom: 0;
}

@keyframes crazyHeader {
  0% { box-shadow: 0 12px 48px #64ffda88, 0 2px 24px #1e3c72cc; }
  100% { box-shadow: 0 24px 96px #64ffdaee, 0 4px 48px #2a5298cc; }
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px auto;
  width: 100%;
}
.logo {
  max-width: 33vw;
  width: 33vw;
  min-width: 320px;
  max-height: 33vw;
  height: auto;
  display: block;
  margin: 32px auto 0 auto;
  filter: drop-shadow(0 8px 32px #2a5298cc) brightness(1.1);
  border-radius: 32px;
  background: #fff;
  padding: 18px;
}

@keyframes crazyLogo {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.08) rotate(-2deg); }
}
.contact-info {
  position: absolute;
  top: 24px;
  right: 40px;
  text-align: right;
  font-size: 1.08em;
  color: #e0e6ed;
  background: rgba(35,57,93,0.85);
  padding: 8px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 12px #2a5298cc;
  z-index: 20;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
  background: rgba(35, 57, 93, 0.85);
  border-radius: 12px;
  box-shadow: 0 2px 12px #2a5298cc;
  padding: 18px 0 18px 0;
  margin: 0 auto 0 auto;
  width: 100%;
  border: none;
  position: static;
}

@keyframes crazyNavbar {
  0% { box-shadow: 0 4px 24px #64ffda44; }
  100% { box-shadow: 0 8px 48px #2a5298cc; }
}
.nav-link {
  color: #e0e6ed;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 32px;
  border-radius: 8px;
  background: linear-gradient(90deg, #23395d 0%, #2a5298 100%);
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 12px #2a5298cc;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.nav-link:after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #64ffda44 0%, #2a529888 100%);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 10px;
  z-index: 0;
}
  .nav-link.active,
  .nav-link:hover,
  .nav-link:focus {
    background: linear-gradient(90deg, #2a5298 0%, #64ffda 100%);
    color: #fff;
    box-shadow: 0 4px 16px #64ffda88;
    transform: translateY(-2px) scale(1.04);
  }
.nav-link.active:after,
.nav-link:hover:after,
.nav-link:focus:after {
  opacity: 0.18;
}
.slider-container {
  max-width: 1100px;
  width: 92vw;
  margin: 40px auto 0 auto;
  background: rgba(35, 57, 93, 0.85);
  border-radius: 18px;
  padding: 28px 24px 32px 24px;
  box-shadow: 0 8px 32px #2a5298cc;
  color: #e0e6ed;
  backdrop-filter: blur(8px);
  border: 2px solid #2a5298;
  animation: fadeIn 0.7s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  font-weight: 400;
  text-align: justify;
}

/* Reusable buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
  box-shadow: 0 4px 14px #0004;
}
.btn-primary {
  background: linear-gradient(90deg,#0081ff,#00d4c7);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #00d4c788;
}

/* Simple grid for product cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: rgba(30, 60, 114, 0.55);
  border: 1.5px solid #2a5298;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 20px #10223e99;
}
.card h3 {
  margin-top: 0;
}
.card .actions {
  margin-top: 12px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.login-container {
  max-width: 320px;
  margin: 48px auto 0 auto;
  background: rgba(35, 57, 93, 0.92);
  border-radius: 18px;
  padding: 40px 24px;
  box-shadow: 0 8px 32px #2a5298cc;
  color: #e0e6ed;
  backdrop-filter: blur(8px);
  border: 2px solid #2a5298;
  animation: fadeIn 0.7s;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.08rem;
}
.login-container input:focus {
  border: 1.5px solid #64ffda;
  box-shadow: 0 2px 12px #64ffda44;
  outline: none;
}
.login-container button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #64ffda 0%, #2a5298 100%);
  color: #10131a;
  border: none;
  border-radius: 10px;
  font-size: 1.08rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 16px #64ffda44;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.login-container button:after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #64ffda44 0%, #2a529888 100%);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 10px;
  z-index: 0;
}
.login-container button:hover,
.login-container button:focus {
  background: linear-gradient(90deg, #2a5298 0%, #64ffda 100%);
  color: #fff;
  box-shadow: 0 8px 32px #64ffda88;
  transform: translateY(-2px) scale(1.04);
}
.login-container button:hover:after,
.login-container button:focus:after {
  opacity: 0.18;
}
@media (max-width: 800px) {
  .login-container {
    max-width: 98vw;
    padding: 14px 4px;
    border-radius: 10px;
    margin: 16px auto 0 auto;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .login-container h2 {
    font-size: 1.1em;
  }
  .login-container input {
    font-size: 1em;
    padding: 10px 8px;
  }
  .login-container button {
    font-size: 1em;
    padding: 12px;
    border-radius: 8px;
  }
  }
  .logo-container {
    margin-bottom: 10px;
  }
  .logo {
    max-width: 70px;
    height: auto;
  }
  .contact-info {
    position: static;
    text-align: left;
    font-size: 0.95em;
    margin-bottom: 8px;
    right: auto;
    top: auto;
  }
  .navbar {
    flex-direction: row;
    gap: 8px;
    padding: 8px 0;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .nav-link {
    padding: 8px 12px;
    font-size: 1em;
    border-radius: 7px;
    min-width: 90px;
    width: auto;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 0;
  }
  .slider-container {
    max-width: 98vw;
    margin: 16px auto 0 auto;
    padding: 14px 10px;
    border-radius: 10px;
    font-size: 1em;
  }
  .slider-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }
  .login-container {
    max-width: 98vw;
    padding: 10px 4px;
    border-radius: 8px;
    margin: 16px auto 0 auto;
  }
  .login-container input {
    width: 100%;
    font-size: 1.08rem;
    padding: 14px 12px;
    margin-bottom: 18px;
    border: 2px solid #2a5298;
    border-radius: 8px;
    background: rgba(35,57,93,0.85);
    color: #e0e6ed;
    box-shadow: 0 2px 8px #2a5298cc;
    transition: border 0.2s, box-shadow 0.2s;
  }
  .login-container button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #23395d 0%, #2a5298 100%);
    color: #e0e6ed;
    border: none;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px #2a5298cc;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
  }
.contact-form-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}
/* Contactanos form elements style */
.contact-form-row input,
.contact-form-row textarea {
  width: 100%;
  max-width: 340px;
  font-size: 1.08rem;
  padding: 14px 12px;
  margin-bottom: 8px;
  border: 2px solid #2a5298;
  border-radius: 8px;
  background: rgba(35,57,93,0.85);
  color: #e0e6ed;
  box-shadow: 0 2px 8px #2a5298cc;
  transition: border 0.2s, box-shadow 0.2s;
  resize: vertical;
  display: block;
}
.contact-form-row input:focus,
.contact-form-row textarea:focus {
  border: 1.5px solid #64ffda;
  box-shadow: 0 2px 12px #64ffda44;
  outline: none;
}
.contact-form-row button {
  width: 100%;
  max-width: 340px;
  padding: 14px;
  background: linear-gradient(90deg, #23395d 0%, #2a5298 100%);
  color: #e0e6ed;
  border: none;
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px #2a5298cc;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  display: block;
}
.contact-form-row button:hover,
.contact-form-row button:focus {
  background: linear-gradient(90deg, #2a5298 0%, #64ffda 100%);
  color: #fff;
  box-shadow: 0 8px 32px #64ffda88;
  transform: translateY(-2px) scale(1.04);
}