/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: #0c0c0c;
  color: #fff;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  padding: 20px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
}

.navbar.scrolled {
  background-color: #0c0c0c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-left {
  position: absolute;
  left: 40px;
}

.logo {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'Karla', sans-serif;
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #a084ff;
}

/* HERO */
.hero {
  background: url('../assets/img/fondo-hero.png') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-left: 60px;
}

.hero-content {
  max-width: 600px;
  animation: fadeIn 1.5s ease forwards;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffffff, #a084ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ddd;
}

.btn-neon {
  background: linear-gradient(90deg, #a084ff, #d985f5);
  padding: 14px 32px;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  display: inline-block;
  box-shadow: 0 0 15px rgba(160, 132, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-neon:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(160, 132, 255, 0.9);
}

/* NOSOTROS */
.nosotros {
  padding: 10px 40px;
  background: #111;
  text-align: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  gap: 30px;
}

.card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  height: 31px;
  margin-bottom: 10px;
}

.card h3 {
  margin-bottom: 10px;
}

.nosotros-texto-expandido {
  text-align: center;
  margin-top: 60px;
}

.nosotros-texto-expandido h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.nosotros-texto-expandido h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.nosotros-texto-expandido p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: #ddd;
}

.nosotros-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px; /* antes: demasiado espacio */
}

.nosotros-logos img {
  height: 40px;
  filter: brightness(1.1);
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.nosotros-logos img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* ¿POR QUÉ MONTEBIT? */
.porque-section {
  background: url('../assets/img/fondo-montebit-morado.png') center/cover no-repeat;
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
}

/* Sección contenedora */
.porque-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0d0d0e; /* fondo oscuro consistente */
  color: #ffffff;
}

.porque-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

.porque-section > p {
  max-width: 850px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #d0d0d0;
}

/* Contenedor de tarjetas */
.porque-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 10px;
}

/* Cada tarjeta */
.porque-card {
  background-color: #111; 
  border-radius: 16px;
  padding: 30px 20px;
  width: 260px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
  text-align: center;
}

.porque-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
}

/* Icono circular */
.porque-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .porque-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .porque-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
}
/*-------*/

/* Título */
.porque-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

/* Texto */
.porque-card p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

/* Responsive */

@media (max-width: 768px) {
  .porque-card {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 500px) {
  .porque-grid {
    flex-direction: column;
    align-items: center;
  }

  .porque-card {
    padding: 25px 15px;
  }

  .porque-card img {
    width: 60px;
    height: 60px;
  }

  .porque-section h2 {
    font-size: 1.6rem;
  }
}

/* Contacto seccion*/

.contacto-section {
  background-color: #151617;
  padding: 80px 20px;
  color: #fff;
}

.contacto-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contacto-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contacto-container p {
  color: #ccc;
  margin-bottom: 40px;
  font-size: 1rem;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 15px;
  background-color: #222;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
}

.formulario-contacto input::placeholder,
.formulario-contacto textarea::placeholder {
  color: #888;
}

.formulario-contacto button {
  background-color: #5555ff;
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-end;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #4444dd;
}

/* FOOTER */
footer {
  padding: 40px 20px;
  background-color: #000;
  text-align: center;
  font-size: 14px;
}

.footer-links a {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  color: #fff;
}


/* Gracias PAGE CSS*/
.gracias-page {
  background-color: #0d0d0e;
  color: white;
  text-align: center;
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
}

.gracias-container h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.gracias-container p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-volver {
  display: inline-block;
  background-color: #5b5bff;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.btn-volver:hover {
  background-color: #4040dd;
}
/*  Fin gracias*/



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

/* ----------------RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding-left: 20px;
    justify-content: center;
    text-align: center;
  }

  .nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cards {
    flex-direction: column;
  }

  .nosotros-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-left {
    position: static;
    margin-bottom: 10px;
  }
}

.montain-purple {
  background: url('../assets/img/fondo-morado.png') center center / contain no-repeat;
  height: auto;
  aspect-ratio: 16/6; 
  width: 100%;
  margin: 10px 0 10px 0; 
}

@media (max-width: 600px) {
     .cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .card {
    width: 90%;
    max-width: 350px;
  }

  .nosotros h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
    
  .porque-grid {
    flex-direction: column;
    align-items: center;
  }

  .porque-card {
    width: 90%;
  }
}
/* NAV - HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background-color: #0c0c0c;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-container {
    justify-content: space-between;
  }
}

footer .social-links {
  margin-bottom: 15px;
}

footer .social-links a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.2s ease;
}

footer .social-links a:hover {
  transform: scale(1.1);
}

footer .social-links img {
  height: 24px;
  width: 24px;
  vertical-align: middle;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icons img {
  width: 43.5px;
  height: 42px;
  filter: brightness(1.2);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
  filter: brightness(1.5);
}
.footer-legales {
  margin-top: 20px;
  font-size: 13px;
  color: #777;
}

.footer-legales p {
  margin: 4px 0;
  line-height: 1.4;
}
.footer-montebit {
  padding: 40px 20px;
  background-color: #000;
  text-align: center;
  color: #aaa;
  font-size: 14px;
}

.footer-social-icons {
  margin-bottom: 20px;
}

.footer-social-icons a img {
  width: 32px;
  margin: 0 8px;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.footer-social-icons a:hover img {
  transform: scale(1.1);
  opacity: 1;
}

.footer-logo {
  margin: 20px 0;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-nav a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-legales {
  margin-bottom: 10px;
}

.footer-legales a {
  color: #888;
  margin: 0 10px;
  text-decoration: none;
}

.footer-legales a:hover {
  color: #fff;
}

.footer-copyright p {
  margin: 4px 0;
  font-size: 12px;
  color: #777;
}




