#loader {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 99999;
}
#loader div {
  position: absolute;
  left: calc(50% - 30px);
  top: calc(50% - 30px);
  border: 0px solid #eee;
  border-top: 5px solid #0e3d8a;
  border-bottom: 5px solid #0e3d8a;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*FUENTES */

@font-face {
    font-family: 'Google-Regular';
    src: url('fonts/GoogleSansFlex120pt-Regular.woff2') format('woff2');
    font-display: optional;
}

@font-face {
    font-family: 'Google-Medium';
    src: url('fonts/GoogleSansFlex120pt-Medium.woff2') format('woff2');
    font-display: optional;
}

@font-face {
    font-family: 'Google-Bold';
    src: url('fonts/GoogleSansFlex120pt-Bold.woff2') format('woff2');
    font-display: optional;
}

@font-face {
    font-family: 'Google-ExtraBold';
    src: url('fonts/GoogleSansFlex120pt-ExtraBold.woff2') format('woff2');
    font-display: optional;
}

@font-face {
    font-family: 'Google-Black';
    src: url('fonts/GoogleSansFlex120pt-Black.woff2') format('woff2');
    font-display: optional;
}





/* SECCION2 */
.seccion2 {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.seccion2 p {
  margin: 60px 0 0 0;
  color: var(--text);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.seccion2 button, .seccion2 a{
  display: inline-block;
  margin: 0 0 60px 0;
}

hr.hr-left-right {
  border: 0;
  height: 8px;
  background: linear-gradient(to right,
    rgba(0, 150, 255, 0) 0%,
    rgba(0, 150, 255, 0.6) 50%,
    rgba(0, 150, 255, 0) 100%
  );
  border-radius: 50px;
}

hr.hr-right-left {
  border: 0;
  height: 8px;
  background: linear-gradient(to left,
    rgba(0, 150, 255, 0) 0%,
    rgba(0, 150, 255, 0.6) 50%,
    rgba(0, 150, 255, 0) 100%
  );
  border-radius: 50px;
}






/* SECCION 3 */
.seccion3 {
  padding: 5rem 0;
}

.seccion3 h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.7rem;
  font-family: 'Google-Bold', sans-serif;
}

.content-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1020px;
  margin: 0 auto;
}

.card {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 127, 0.2);
  background: linear-gradient(
    145deg,
    rgba(30,41,59,0.4),
    rgba(2,6,23,0.8)
  );
  transition: 0.3s;
}

.contImgCard{
  width: 100%;
  max-width: 6rem;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background: rgba(25, 36, 53, 0.6);
  margin: 1.4rem auto;
  padding: 15px 0;
}
.contImgCard img{
  width: 50px;
  height: 50px;
}

.card:hover {
  border-color: var(--accent);
}

.card h3 {
  text-align: center;
  font-family: 'Google-ExtraBold', sans-serif;
  font-size: 1.4rem;
  max-width: 280px;
  margin: 0 auto 1.5rem auto;
  color: var(--text);
}

.card ul {
  list-style: none;
}

.card li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0 3rem 0;
  color: var(--text);
  font-size: 1.2rem;
  font-family: 'Google-Medium', sans-serif;
  
}

.card li img{
  width: 25px;
  height: 25px;
}

/* FOOTER */
.footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  background-color: #000000;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 1rem;
  align-items: center;
  grid-template-areas: 
    "logoFooter  textFooter1    botonFooter"
    "siguenos    textImgFooter2 botonFooter"
    "hrFooter    hrFooter       hrFooter"
    "finalFooter finalFooter    finalFooter";
}

.contLogoFooter {
  grid-area: logoFooter;
  width: 100%;
  display: flex;
  justify-content: left;
  padding: 0.7rem;
}
.contLogoFooter img {
  width: 100%;
  height: auto;
  max-width: 200px;
}
.contTextFooter{
  grid-area: textFooter1;
  display: flex;
  justify-content: center;
  max-width: 550px;
  margin: 0 auto;
}
.contTextFooter p{
  color: var(--text);
  font-family: 'Google-ExtraBold', sans-serif;
  font-size: 0.9rem;
}
.contBotonFooter{
  grid-area: botonFooter;
  display: flex;
  justify-content: right;
}
.siguenos{
  grid-area: siguenos;
  display: flex;
  justify-content: center;
  padding: 0.7rem;
  flex-flow: column wrap;
  gap: 1rem;
}
.siguenos h3{
  color: var(--text);
  font-family: 'Google-ExtraBold', sans-serif;
  font-size: 0.9rem;
  text-align: center;
}
.contIconosFooter{
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.contIconosFooter a{
  color: var(--text);
  font-size: 1.5rem;
}

.contTextImgFooter2{
  grid-area: textImgFooter2;
  display: flex;
  justify-content: center;
  flex-flow: column wrap;
  max-width: 550px;
  margin: 0 auto;
}

.contTextImgFooter2 p{
  color: var(--text);
  font-family: 'Google-ExtraBold', sans-serif;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contTextImgFooter2 p img{
  width: 100%;
  height: auto;
  max-width: 15px;
}
.contTextImgFooter2 img{
  width: 100%;
  height: auto;
  max-width: 90px;
  margin: 0.2rem auto;
}

hr.hr-footer {
  grid-area: hrFooter;
  border: 0;
  height: 3px;
  background: linear-gradient(to right,
    rgba(0, 150, 255, 0) 0%,
    rgba(0, 150, 255, 0.6) 50%,
    rgba(0, 150, 255, 0) 100%
  );
  border-radius: 50px;
}

.contFinalFooter{
  grid-area: finalFooter;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.contFinalFooter p, .contFinalFooter a{
  color: var(--text);
  font-family: 'Google-Medium', sans-serif;
  font-size: 0.7rem;
  text-decoration: none;
}



/*CONTACTO FROMULARIO*/
.contacto{
  width: 100%;


}

.contacto h1{
  color: var(--text);
  font-family: 'Google-Bold', sans-serif;
  font-size: 1.4rem;
  text-align: center;
  margin: 1rem 0;
}
.contFormImg{
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-around;
  align-items: center;
  margin: 2rem auto;
  gap: 5rem;
  max-width: 940px;
  padding: 0 10px;
}
.contImgFormulario{
  width: 100%;
  max-width: 480px;
}
.contImgFormulario img{
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}


/* CAMPOS */
.form-group {
  margin-bottom: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  margin-bottom: 6px;
  font-size: 14px;
  opacity: 0.85;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(255, 255, 255, 1);
  padding: 12px 14px;
  border-radius: 6px;
  color: #000;
  font-size: 15px;
  outline: none;
  transition: 0.25s ease;
  font-family: 'Google-Medium', sans-serif;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00ff9d;
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contBotonFormulario {
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  margin-top: -4rem;
}

/*EXITO CONTACTO */

.contExitoContacto{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column wrap;
  gap: 4rem;
}

.contImgexito{
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.contImgexito img{
  width: 100%;
  height: auto;
}

.textoExito{
  display: flex;
  justify-content: center;
  max-width: 350px;
}

.textoExito p{
  color: var(--text);
  font-family: 'Google-Bold', sans-serif;
  font-size: 1.7rem;
  text-align: center;
}

.botonRegresoHome{
  margin-bottom: 3rem;
}


/* ERROR 404 */

.e404 {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 1fr;
    padding: 40px 5%;
    max-width: 1000px;
    margin: 0 auto;
    min-height: calc(100vh - 100px);
    gap: 10px;
}

.error {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out;
    display: flex;
    justify-content: center;
}

.error a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.error a:hover {
    border-bottom: 2px solid var(--primary);
}

/* Imagen */
.contimg404 img {
    width: 100%;
    max-width: 450px;
    display: block;
    margin: auto;
    border-radius: 20px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
    animation: float 3s ease-in-out infinite;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* Esconder Recaptcha */
.grecaptcha-badge {
  opacity:0
}