:root {
  --black: #000000;
  --dark-gray: #0b0f1a;
  --bright-green: #5dd91c;
  --white: #ffffff;
  --medium-gray: #ccc;
  --soft-green: #4bc017;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-image: url("../imagenes/fondo_rgr.jpg");
  /* Mantén el resto de propiedades igual */
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  /* ... */
}

body::before {
  background-color: rgba(10, 12, 24, 0.3); /* Valor ajustado a 0.3 */
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 15, 26, 0.85);
  z-index: -1;
}

header {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--bright-green);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  margin-right: 50px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.logo .slogan {
  color: var(--bright-green);
  font-size: 14px;
  font-weight: 500;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--bright-green);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--bright-green);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 100px auto 50px;
  padding: 0 20px;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

section:last-child {
  border-bottom: none;
}

.hero {
  text-align: center;
  padding: 100px 0;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
  background: linear-gradient(to right, var(--white), var(--bright-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--medium-gray);
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  background: linear-gradient(to right, var(--white), var(--bright-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.btn {
  display: inline-block;
  background-color: var(--bright-green);
  color: var(--black);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--soft-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(93, 217, 28, 0.3);
}

.btn-center {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

.mission-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.mission,
.vision {
  flex: 1;
  min-width: 300px;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--bright-green);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mission h3,
.vision h3 {
  color: var(--bright-green);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.mission p,
.vision p {
  color: var(--medium-gray);
  line-height: 1.6;
}

.carousel {
  position: relative;
  max-width: 500px;
  margin: 10px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}



.brokers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.broker {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s;
  text-align: center;
  width: 180px;
}

.broker:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(93, 217, 28, 0.3);
  border: 1px solid var(--bright-green);
}

.broker img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.form-container {
  max-width: 600px;
  margin: 40px auto;
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-container h3 {
  color: var(--bright-green);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--medium-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--white);
  font-size: 16px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--bright-green);
  background: rgba(93, 217, 28, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

footer {
  background-color: var(--black);
  padding: 50px 0 20px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-links a {
  color: var(--white);
  font-size: 24px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--bright-green);
}

.copyright {
  color: var(--medium-gray);
  font-size: 14px;
  margin-top: 20px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--dark-gray);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  border: 1px solid var(--bright-green);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--medium-gray);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: var(--bright-green);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s;
  cursor: pointer;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
  color: white;
  font-size: 30px;
}

.whatsapp-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background-color: var(--dark-gray);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bright-green);
  padding: 15px;
  display: none;
}

.whatsapp-chat.active {
  display: block;
  animation: fadeIn 0.3s;
}

.whatsapp-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.whatsapp-header h4 {
  color: var(--bright-green);
  font-size: 16px;
}

.whatsapp-message {
  background-color: rgba(93, 217, 28, 0.1);
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.whatsapp-input {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--white);
  font-size: 14px;
  margin-bottom: 10px;
  resize: none;
}

.whatsapp-send {
  background-color: var(--bright-green);
  color: var(--black);
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.whatsapp-send:hover {
  background-color: var(--soft-green);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 15px;
  }

  .menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    background-color: var(--dark-gray);
    border-left: 2px solid var(--bright-green);
    height: calc(100vh - 80px);
    transition: right 0.3s;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 30px;
  }

  nav.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    font-size: 18px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .mission-vision {
    flex-direction: column;
  }

  .container {
    margin-top: 80px;
  }

  .form-container {
    padding: 30px 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-chat {
    width: 280px;
    right: -20px;
  }

  .logo h1 {
    font-size: 20px;
  }

  .logo .slogan {
    font-size: 12px;
  }
}

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
  color: var(--white);
  padding: 5rem 2rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../imagenes/fondo_rgr.jpg")
    center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-media {
  flex: 1;
  min-width: 300px;
}

.hero-subtitle {
  display: inline-block;
  color: var(--bright-green);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  font-weight: 700;
}

.highlight {
  color: var(--bright-green);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(93, 217, 28, 0.3);
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--bright-green);
  color: var(--black);
}

.btn-primary:hover {
  background-color: var(--soft-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(93, 217, 28, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--bright-green);
}

.btn-secondary:hover {
  background-color: rgba(93, 217, 28, 0.1);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bright-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.3rem;
}

.video-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  aspect-ratio: 16/9;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-overlay:hover {
  background: rgba(0, 0, 0, 0.1);
}

.play-button {
  width: 70px;
  height: 70px;
  background: var(--bright-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-button i {
  color: var(--black);
  font-size: 1.5rem;
  margin-left: 5px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.trust-badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(93, 217, 28, 0.1);
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  border: 1px solid var(--bright-green);
}

.badge i {
  color: var(--bright-green);
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-item {
    padding: 0.8rem 1rem;
    flex: 1;
    min-width: 120px;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

.mission-vision-section {
  padding: 5rem 2rem;
  background-color: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-title span {
  color: var(--bright-green);
  position: relative;
}

.section-title span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(93, 217, 28, 0.3);
  z-index: -1;
}

.section-subtitle {
  color: var(--medium-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.mv-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.mv-card {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(93, 217, 28, 0.15);
  border-color: rgba(93, 217, 28, 0.3);
}

.mv-mission {
  background: linear-gradient(
    135deg,
    rgba(11, 15, 26, 0.8) 0%,
    rgba(32, 42, 72, 0.4) 100%
  );
}

.mv-vision {
  background: linear-gradient(
    135deg,
    rgba(11, 15, 26, 0.8) 0%,
    rgba(42, 72, 52, 0.4) 100%
  );
}

.mv-icon {
  width: 60px;
  height: 60px;
  background: rgba(93, 217, 28, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mv-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--bright-green);
}

.mv-content h3 {
  font-size: 1.8rem;
  color: var(--bright-green);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.mv-content h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--bright-green);
}

.mv-text p {
  color: var(--white);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.mv-features {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.mv-features li {
  margin-bottom: 0.8rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
}

.mv-features i {
  color: var(--bright-green);
  font-size: 1.1rem;
}

.mv-highlight {
  background: rgba(93, 217, 28, 0.1);
  border-left: 3px solid var(--bright-green);
  padding: 1rem;
  font-style: italic;
  border-radius: 0 4px 4px 0;
  margin-top: 1.5rem;
}

.vision-goals {
  margin: 2rem 0;
}

.goal-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.goal-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bright-green);
  min-width: 40px;
}

.goal-text {
  color: var(--white);
  opacity: 0.9;
}

.mv-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.decoration-circle {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(93, 217, 28, 0.2);
}

.decoration-line {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-right: 2px solid rgba(93, 217, 28, 0.2);
  border-bottom: 2px solid rgba(93, 217, 28, 0.2);
}

.mv-values {
  max-width: 1200px;
  margin: 4rem auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.mv-values h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.mv-values h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--bright-green);
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-item:hover {
  background: rgba(93, 217, 28, 0.05);
  transform: translateY(-5px);
  border-color: rgba(93, 217, 28, 0.2);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: rgba(93, 217, 28, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bright-green);
}

.value-item h5 {
  color: var(--white);
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
}

.value-item p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mv-card {
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.mv-mission {
  animation-delay: 0.2s;
}

.mv-vision {
  animation-delay: 0.4s;
}

.value-item {
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.value-item:nth-child(1) {
  animation-delay: 0.2s;
}
.value-item:nth-child(2) {
  animation-delay: 0.3s;
}
.value-item:nth-child(3) {
  animation-delay: 0.4s;
}
.value-item:nth-child(4) {
  animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
  .mission-vision-section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .mv-card {
    padding: 1.8rem;
  }

  .mv-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .values-container {
    flex-direction: column;
    align-items: center;
  }

  .value-item {
    max-width: 100%;
    width: 100%;
  }
}

/* Estilos para la sección de libros */
.books-section {
  padding: 5rem 2rem;
  background-color: var(--black);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-header h2 span {
  color: var(--bright-green);
  position: relative;
}

.section-header h2 span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(93, 217, 28, 0.3);
  z-index: -1;
}

.section-subtitle {
  color: var(--medium-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.books-container {
  max-width: 1200px;
  margin: 0 auto 3rem;
  position: relative;
}

.carousel {
  position: relative;
  padding: 0 50px;
}

.carousel-inner {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
  scrollbar-width: none; /* Firefox */
}

.carousel-inner::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-item {
  flex: 0 0 calc(33.333% - 1.5rem);
  scroll-snap-align: start;
  min-width: 300px;
}

.book-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(93, 217, 28, 0.1);
  border-color: rgba(93, 217, 28, 0.3);
}

.book-cover {
  position: relative;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
}

.book-cover img {
  max-width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.book-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--bright-green);
  color: var(--black);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
}

.book-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.book-info h3 {
  color: var(--white);
  margin: 0 0 0.8rem 0;
  font-size: 1.3rem;
}

.book-info p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.book-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
}

.book-meta span {
  color: var(--bright-green);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.book-meta i {
  font-size: 1rem;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background: var(--bright-green);
  color: var(--black);
}

.carousel-control.prev {
  left: 0;
}

.carousel-control.next {
  right: 0;
}

.download-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-download {
  background: var(--bright-green);
  color: var(--black);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 5px 15px rgba(93, 217, 28, 0.3);
}

.btn-download:hover {
  background: var(--soft-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(93, 217, 28, 0.4);
}

.cta-note {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Estilos para el modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--dark-gray);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.modal-header h3 i {
  color: var(--bright-green);
}

.close-btn {
  background: none;
  border: none;
  color: var(--medium-gray);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 2rem;
}

.download-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.download-steps::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: var(--bright-green);
  color: var(--black);
  font-weight: bold;
}

.step-text {
  color: var(--medium-gray);
  font-size: 0.85rem;
  text-align: center;
}

.step.active .step-text {
  color: var(--white);
}

.modal-description {
  color: var(--medium-gray);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.download-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: var(--bright-green);
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--bright-green);
  box-shadow: 0 0 0 2px rgba(93, 217, 28, 0.2);
}

.phone-input {
  display: flex;
  gap: 0.5rem;
}

.country-code {
  flex: 0 0 100px;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  height: 1rem;
}

.form-footer {
  margin-top: 1rem;
}

.btn-submit {
  background: var(--bright-green);
  color: var(--black);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.btn-submit:hover {
  background: var(--soft-green);
  transform: translateY(-2px);
}

.privacy-text {
  color: var(--medium-gray);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.privacy-text i {
  color: var(--bright-green);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(50% - 1rem);
  }

  .modal-content {
    margin: 1rem;
  }

  .modal-header {
    padding: 1.2rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 100%;
  }

  .carousel {
    padding: 0 20px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .download-steps {
    margin-bottom: 1.5rem;
  }

  .step-text {
    font-size: 0.7rem;
  }
}
.brokers-section {
  position: relative;
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #0b0f1a 0%, #000000 100%);
  overflow: hidden;
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    center/cover no-repeat;
  opacity: 0.05;
}

.section-content {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-header h2 span {
  color: var(--bright-green);
  position: relative;
}

.section-header h2 span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(93, 217, 28, 0.3);
  z-index: -1;
}

.section-description {
  color: var(--medium-gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.brokers-slider {
  position: relative;
  margin: 0 auto;
  padding: 0 60px;
}

.slider-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-item {
  flex: 0 0 calc(33.333% - 1.5rem);
  scroll-snap-align: start;
  min-width: 320px;
}

.broker-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.broker-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(93, 217, 28, 0.1);
  border-color: rgba(93, 217, 28, 0.3);
}

.broker-logo {
  padding: 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

.broker-logo img {
  max-width: 100%;
  height: 90px;
  width: 90px;

  transition: all 0.3s ease;
}

.broker-card:hover .broker-logo img {
  filter: brightness(1) invert(0);
}

.broker-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--bright-green);
  color: var(--black);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: bold;
}

.broker-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.broker-info h3 {
  color: var(--white);
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  text-align: center;
}

.broker-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.broker-rating i {
  color: var(--bright-green);
  font-size: 0.9rem;
}

.broker-rating span {
  margin-left: 0.5rem;
  color: var(--medium-gray);
  font-size: 0.9rem;
}

.broker-features {
  margin: 0 0 1.5rem 0;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.broker-features li {
  margin-bottom: 0.8rem;
  color: var(--white);
  opacity: 0.9;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.5;
}

.broker-features i {
  color: var(--bright-green);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.broker-cta {
  background: var(--bright-green);
  color: var(--black);
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  margin-top: auto;
}

.broker-cta:hover {
  background: var(--soft-green);
  transform: translateY(-2px);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-nav:hover {
  background: var(--bright-green);
  color: var(--black);
}

.slider-nav.prev {
  left: 0;
}

.slider-nav.next {
  right: 0;
}

.broker-disclaimer {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 3px solid var(--bright-green);
  display: flex;
  gap: 1rem;
}

.broker-disclaimer i {
  color: var(--bright-green);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.broker-disclaimer p {
  color: var(--medium-gray);
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .slider-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .brokers-section {
    padding: 3rem 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .slider-item {
    flex: 0 0 100%;
    min-width: 280px;
  }

  .brokers-slider {
    padding: 0 40px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .broker-disclaimer {
    flex-direction: column;
    text-align: center;
  }

  .broker-disclaimer i {
    margin: 0 auto;
  }
}

.contact-section {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
  padding: 5rem 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.contact-header h2::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(93, 217, 28, 0.3);
  z-index: -1;
}

.subtitle {
  color: var(--medium-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
}

.contact-form h3 i {
  color: var(--bright-green);
}

.info-card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(93, 217, 28, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--bright-green);
  flex-shrink: 0;
}

.info-text h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: var(--white);
}

.info-text a {
  color: var(--medium-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.info-text a:hover {
  color: var(--bright-green);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.social-icon:hover {
  background: var(--bright-green);
  color: var(--black);
  transform: translateY(-3px);
}

.modern-form {
  display: grid;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-group.floating label {
  position: absolute;
  top: 16px;
  left: 0;
  color: var(--medium-gray);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-group.floating input:focus ~ label,
.form-group.floating input:valid ~ label,
.form-group.floating textarea:focus ~ label,
.form-group.floating textarea:valid ~ label {
  top: -18px;
  font-size: 0.8rem;
  color: var(--bright-green);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 0 5px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group .underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bright-green);
  transition: all 0.3s ease;
}

.form-group input:focus ~ .underline,
.form-group textarea:focus ~ .underline {
  width: 100%;
}

.submit-btn {
  background: var(--bright-green);
  color: var(--black);
  border: none;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: var(--soft-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(93, 217, 28, 0.2);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-card {
  opacity: 0;
  animation: fadeIn 0.6s forwards;
}

.info-card:nth-child(1) {
  animation-delay: 0.2s;
}
.info-card:nth-child(2) {
  animation-delay: 0.3s;
}
.info-card:nth-child(3) {
  animation-delay: 0.4s;
}
.social-links {
  animation: fadeIn 0.6s 0.5s forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1.5rem;
  }

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }
}

:root {
  --mtv-primary: #5dd91c;
  --mtv-dark: #0b0f1a;
  --mtv-black: #000000;
  --mtv-white: #ffffff;
  --mtv-gray: #cccccc;
  --mtv-soft-green: #4bc017;
}

/* Modal Container */
.mtv-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mtv-modal.active {
  opacity: 1;
  visibility: visible;
}

.mtv-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.mtv-modal-container {
  position: relative;
  background: var(--mtv-dark);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.mtv-modal.active .mtv-modal-container {
  transform: translateY(0);
}

.mtv-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--mtv-white);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.mtv-close-btn:hover {
  background: var(--mtv-primary);
  color: var(--mtv-black);
}

/* Tabs */
.mtv-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 2rem;
}

.mtv-tab {
  padding: 1.2rem 0;
  margin-right: 2rem;
  color: var(--mtv-gray);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.mtv-tab:hover {
  color: var(--mtv-white);
}

.mtv-tab.active {
  color: var(--mtv-primary);
}

.mtv-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--mtv-primary);
}

/* Form Containers */
.mtv-form-container {
  padding: 2rem;
  display: none;
}

.mtv-form-container.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mtv-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.mtv-form-header i {
  font-size: 2.5rem;
  color: var(--mtv-primary);
  margin-bottom: 1rem;
}

.mtv-form-header h3 {
  color: var(--mtv-white);
  margin: 0.5rem 0;
  font-size: 1.5rem;
}

.mtv-form-header p {
  color: var(--mtv-gray);
  margin: 0;
  font-size: 0.95rem;
}

/* Form Styles */
.mtv-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group.floating label {
  position: absolute;
  top: 16px;
  left: 0;
  color: var(--mtv-gray);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-group.floating input:focus ~ label,
.form-group.floating input:valid ~ label,
.form-group.floating textarea:focus ~ label,
.form-group.floating textarea:valid ~ label {
  top: -18px;
  font-size: 0.8rem;
  color: var(--mtv-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 0 5px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mtv-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group .underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mtv-primary);
  transition: all 0.3s ease;
}

.form-group input:focus ~ .underline,
.form-group textarea:focus ~ .underline {
  width: 100%;
}

.show-password {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--mtv-gray);
  cursor: pointer;
  font-size: 1rem;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -0.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
  color: var(--mtv-gray);
  font-size: 0.85rem;
  cursor: pointer;
}

.remember-me input {
  margin-right: 0.5rem;
}

.forgot-password {
  color: var(--mtv-primary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Submit Button */
.mtv-submit-btn {
  background: var(--mtv-primary);
  color: var(--mtv-black);
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.mtv-submit-btn:hover {
  background: var(--mtv-soft-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(93, 217, 28, 0.2);
}

/* Social Login */
.mtv-social-login {
  margin-top: 2rem;
  text-align: center;
}

.mtv-social-login p {
  color: var(--mtv-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  position: relative;
}

.mtv-social-login p::before,
.mtv-social-login p::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.mtv-social-login p::before {
  left: 0;
}

.mtv-social-login p::after {
  right: 0;
}

.social-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-btn {
  padding: 0.6rem 1rem;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-btn.google {
  background: #4285f4;
  color: white;
}

.social-btn.facebook {
  background: #3b5998;
  color: white;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Terms Checkbox */
.form-terms {
  margin-top: -0.5rem;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  color: var(--mtv-gray);
  font-size: 0.8rem;
  cursor: pointer;
  line-height: 1.5;
}

.terms-check input {
  margin-right: 0.5rem;
  margin-top: 0.2rem;
}

.terms-check a {
  color: var(--mtv-primary);
  text-decoration: none;
}

.terms-check a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .mtv-modal-container {
    margin: 1rem;
  }

  .mtv-tabs {
    margin: 0 1rem;
  }

  .mtv-form-container {
    padding: 1.5rem;
  }

  .social-buttons {
    flex-direction: column;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
  }
}
.mtv-modal {
  z-index: 1050; /* Menor que SweetAlert (1060) */
}
/* Estilos para la fila y columnas */
.form-row {
  display: flex;
  gap: 15px; /* Espacio entre campos */
  margin-bottom: 1rem; /* Espacio debajo de la fila */
}

.form-col {
  flex: 1; /* Ambos campos ocupan igual espacio */
  min-width: 0; /* Evita problemas de desbordamiento */
}

/* Ajustes para mantener el diseño floating */
.form-row .floating {
  position: relative;
  margin-bottom: 0; /* Elimina el margen inferior individual */
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
}
.modal {
  position: fixed; /* Fijo en la pantalla */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none; /* Por defecto oculto */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
  z-index: 9999; /* Muy arriba para que no quede debajo */
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #222;
  border-radius: 10px;
  max-width: 480px;
  width: 90%;
  padding: 20px;
  color: white;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  position: relative;
}

