

/*BASE *********************************************************************************************/

/*FONTS+++++++++++++++*/
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Major+Mono+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&display=swap');

/* *{
    cursor: none !important;
} */
body{
    margin: 0;
    padding: 0;
    
}

/*HEADER*******************************************************HEADER*************************************/

  .home-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.6); /* fallback */
    /* background-color: #C7C7C7; */
    background-color: transparent;
  }

  .home-header-container {
    width: 100%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
  }

  /* .home-header-logo {
    height: 30px;
  } */

  .home-header-nav {
    display: flex;
    gap: 30px;
    font-family: 'Albert Sans', sans-serif;
    font-size: 15px;
    
  }

 .home-header-nav a {
  color: #000;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.home-header-nav a:hover {
  text-decoration: line-through;
}



  .home-header-nav span {
    font-weight: bold;
  }

  .home-header-floating {
    top: 20px;
    width: 800px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    left: 0;
    right: 0;
  }

  .home-header-time {
  font-family: 'Albert Sans', sans-serif;
  font-size: 15px;
  
}




/*nuevo*/






/* Menú hamburguesa oculto en desktop */
.home-header-burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #000;
}

/* Menú móvil */
.home-header-mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  z-index: 9998;
}

.home-header-mobile-menu a,
.home-header-mobile-menu span {
  font-family: 'Albert Sans', sans-serif;
  color: #000;
  font-size: 18px;
  margin: 10px 0;
  text-decoration: none;
}

/* Versión responsive */
@media screen and (max-width: 768px) {
  .home-header-nav {
    display: none;
  }

  .home-header-burger {
    display: block;
  }
}


/* Corrección responsive del header flotante */
@media screen and (max-width: 768px) {
  .home-header-floating {
    top: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.95);
  }

  .home-header-mobile-menu {
    top: 60px; /* asegúrate de que este valor coincida con la altura del header flotante */
  }
}






/*FOOTER**********************************************************-----FOOTER----**********************************/
/* Frase en loop */
.home-footer-loop {
  width: 100%;
  overflow: hidden;
  background: white;
  border-top: 1px solid black;
}

.home-footer-loop-inner {
  display: inline-block;
  white-space: nowrap;
  animation: scrollLoopFooter 50s linear infinite;
  font-size: 50px;
  /* font-weight: 800; */
  text-transform: uppercase;
  /* font-family: "Antonio", sans-serif; */
  font-family: 'Albert Sans', sans-serif;
  color: black;
  padding: 10px 0;
}

@keyframes scrollLoopFooter {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer base */
.home-footer {
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border-top: 1px solid black;
  width: 100%;
  padding: 20px 30px;
}

.home-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1600px;
  margin: 0 auto;
}

.home-footer-left {
  display: flex;
  align-items: center;
}

.home-footer-right {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: 'Albert Sans', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
}

.home-footer-right a {
  color: white;
  text-decoration: none;
}

/* Hover solo para desktop */
@media (min-width: 769px) {
  .home-footer-right a:hover {
    text-decoration: line-through;
  }
}

.home-footer-copy {
  margin-left: 50px;
  font-weight: normal;
}

/* Responsive minimalista */
@media (max-width: 768px) {
  .home-footer-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .home-footer-left, .home-footer-right {
    justify-content: center;
  }

  .home-footer-right {
    gap: 20px;
  }

  .home-footer-copy {
    margin-left: 0;
  }
}










/*-CONTACT-CONTENEDOR-1-********************************************************************************************************************/

/* CONTENEDOR */
.hero-3d-container.contacto-contenedor-1 {
  position: relative;
  width: 100%;
  height: 730px;
  overflow: hidden;
  padding-left: 120px;
}

/* IFRAME SPLINE */
.hero-3d-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 0;
}

/* CAPA SOBRE IFRAME */
.hero-3d-overlay-text {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  padding: 5vh 5vw;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-overlay-text .container {
  pointer-events: all;
}

/* TIPOGRAFÍA Y ESTILOS DE TEXTO */
.contacto-contenedor-1-title {
  font-family: 'Antonio', sans-serif;
  font-size: 100px;
  font-weight: 800;
  text-transform: uppercase;
  color: black;
}

.contacto-contenedor-1-parrafo {
  font-family: 'Albert Sans', sans-serif;
  font-size: 25px;
  font-weight: 500;
  color: black;
}

.contacto-contenedor-1-dato {
  font-family: 'Albert Sans', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: black;
}

/* FORMULARIO */
.contact-form {
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  border-radius: 25px;
  padding: 2rem;
  font-family: 'Albert Sans', sans-serif;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
              0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Nueva clase para elevar el form */
.contact-form.lifted {
  transform: translateY(-15px);
  box-shadow: 0 12px 25px rgba(128, 0, 255, 0.6);
}

/* LABELS: uppercase, pequeñas y bold */
.contacto-contenedor-1-label {
  font-weight: 700;
  font-size: 14px;
  font-family: 'Albert Sans', sans-serif;
  text-transform: uppercase;
}

/* INPUTS: normal-case para lo que escribe el usuario */
.contact-form .form-control {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Albert Sans', sans-serif;
  color: white;
  padding: 6px 8px;
  line-height: 1.2;
  background: transparent;
  border: none;
  border-bottom: 1px solid white;
  border-radius: 0;
  text-transform: none; /* <-- cambio aquí para texto usuario normal */
}

/* Espaciado entre campos reducido */
.contact-form .mb-3 {
  margin-bottom: 0.8rem;
}

/* TEXTAREA */
.contact-form textarea.form-control {
  background-color: #fff;
  color: #000;
  border-radius: 15px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  resize: none;
  text-transform: none; /* <-- aquí también */
}

/* BOTÓN */
.my-work-btn-pro {
  font-size: 11px;
  padding: 5px 12px;
  background-color: #000;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Albert Sans', sans-serif;
  border: none;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

/* Cambio de estilos para botón cuando está enviado */
.my-work-btn-pro.sent {
  background-color: #B39DDB; /* morado claro */
  color: #fff;
  pointer-events: none; /* no se puede clicar mientras está "sent" */
}

.my-work-btn-pro:hover:not(.sent) {
  background-color: #fff;
  color: #000;
}

/* MENSAJE DE ÉXITO */
.form-success-message {
  display: none;
  background-color: #000;
  color: #fff;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  padding: 60px 20px;
  border-radius: 25px;
  animation: fadeInUp 0.6s ease forwards;
  margin-top: 1rem;
}

.form-success-visible {
  display: block !important;
}

.contact-form.fade-out {
  animation: fadeOutDown 0.5s ease forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutDown {
  0% {
    opacity: 1;
    transform: translateY(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* MEDIA QUERIES */

/* MÓVIL PEQUEÑO */
@media (max-width: 575.98px) {
  .hero-3d-container.contacto-contenedor-1 {
    height: auto;
    padding-bottom: 3rem;
    padding-left: 0;
  }
  .hero-3d-overlay-text {
    flex-direction: column;
    padding: 3rem 1rem;
  }
  .contacto-contenedor-1-title {
    font-size: 50px;
    text-align: center;
  }
  .contacto-contenedor-1-parrafo {
    font-size: 18px;
    text-align: center;
  }
  .contacto-contenedor-1-dato {
    font-size: 14px;
    text-align: center;
  }
  .contact-form {
    width: 100%;
    padding: 1.5rem;
    margin-top: 2rem;
  }
  .contact-form .form-control,
  .contacto-contenedor-1-label {
    font-size: 16px;
  }
  .contact-form .form-control {
    padding: 8px 12px;
  }
  .contact-form textarea.form-control {
    font-size: 16px;
    padding: 12px 15px;
  }
  .contact-form .mb-3 {
    margin-bottom: 1.2rem;
  }
}

/* TABLET */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-3d-container.contacto-contenedor-1 {
    height: auto;
    padding-bottom: 3rem;
    padding-left: 0;
  }
  .hero-3d-overlay-text {
    flex-direction: column;
    padding: 4rem 2rem;
  }
  .contacto-contenedor-1-title {
    font-size: 70px;
    text-align: center;
  }
  .contacto-contenedor-1-parrafo {
    font-size: 22px;
    text-align: center;
  }
  .contacto-contenedor-1-dato {
    font-size: 15px;
    text-align: center;
  }
  .contact-form {
    width: 80%;
    margin: 2rem auto 0 auto;
    padding: 2rem;
  }
  .contact-form .form-control,
  .contacto-contenedor-1-label {
    font-size: 16px;
  }
  .contact-form .form-control {
    padding: 8px 12px;
  }
  .contact-form textarea.form-control {
    font-size: 16px;
    padding: 12px 15px;
  }
  .contact-form .mb-3 {
    margin-bottom: 1.2rem;
  }
}

/* DESKTOP */
@media (min-width: 992px) {
  .hero-3d-overlay-text {
    flex-direction: row;
    padding: 5vh 5vw;
  }
  .contacto-contenedor-1-title {
    font-size: 100px;
    text-align: left;
  }
  .contacto-contenedor-1-parrafo {
    font-size: 25px;
    text-align: left;
  }
  .contacto-contenedor-1-dato {
    font-size: 15px;
    text-align: left;
  }
  .contact-form {
    width: 100%;
    max-width: 480px;
    margin: 0;
  }
  .hero-3d-container.contacto-contenedor-1 {
    padding-left: 120px;
  }
}
