:root {
  --primary-color: #D8A420;
  --secondary-color: #9D781B;
  --terceary-color: #D9D9D9;

  /* Dorado/Bronce de la imagen */
  --bg-color: #050505;
  --bg-color2: #161515;
  --text-color: #FFFFFF;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* --- Header General --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 80px;
  background-color: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(216, 164, 32, 0.1);
}

.logo img {
  height: 35px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: var(--primary-color);
  /* Blanco para mejor lectura */
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: var(--text-color);
}

.btn-contact {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  /* Tamaño corregido */
  text-decoration: none;
  transition: 0.3s;
}

/* Ocultar elementos de control en Desktop */
#menu-check,
.menu-icono {
  display: none;
}

/* =========================================
   RESPONSIVO MÓVIL (Media Query)
   ========================================= */
@media (max-width: 992px) {
  header {
    padding: 0 20px;
    height: 70px;
  }

  .logo img {
    height: 28px;
  }

  /* Mostrar botón hamburguesa */
  .menu-icono {
    display: block;
    cursor: pointer;
    order: 3;
    /* Lo mueve a la derecha */
  }

  .menu-icono span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
  }

  /* Estilo del menú lateral oculto */
  nav {
    position: fixed;
    top: 70px;
    right: -100%;
    /* Oculto a la derecha */
    width: 80%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    transition: 0.4s;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    gap: 40px;
  }

  nav a {
    font-size: 22px;
  }

  /* Reducir el botón de contacto para que quepa */
  .btn-contact {
    font-size: 12px;
    padding: 6px 15px;
    order: 2;
    margin-left: auto;
    margin-right: 15px;
  }

  /* Lógica para abrir el menú al hacer clic */
  #menu-check:checked~nav {
    right: 0;
  }

  /* Animación del icono (opcional) */
  #menu-check:checked~.menu-icono span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  #menu-check:checked~.menu-icono span:nth-child(2) {
    opacity: 0;
  }

  #menu-check:checked~.menu-icono span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* --- Hero Section --- */
.hero {
  width: 100%;
  height: auto;
  /* Ya no usamos 100vh */

  /* SUSTITUYE ESTO por las medidas reales de tu imagen: ancho / alto */
  /* Ejemplo si tu imagen mide 1920x800 px: aspect-ratio: 1920 / 800; */
  aspect-ratio: 16 / 9;

  background: url('public/hero.png') no-repeat center center;
  background-size: 100% 100%;
  /* Fuerza a que ocupe todo el espacio del ratio */
  position: relative;

  /* Si tu header es fijo, añade este margen para que no tape el inicio de la imagen */
  margin-top: 80px;
}

/* Gradiente Superior (25%) */
.hero-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to bottom, var(--bg-color) 17.31%, transparent 100%);
  z-index: 1;
}

/* Gradiente Inferior (25%) */
.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to top, var(--bg-color2) 17.31%, transparent 100%);
  z-index: 1;
}

@media (max-width: 768px) {
  .hero {
    /* En celulares que no sea tan alto para que la imagen no se estire */
    background-size: contain;
    /* Muestra la imagen completa sin recortar */
    background-color: #000;
    /* Rellena los huecos con negro */
  }
}

.linea-divisora {
  height: 1px;
  /* Grosor de la línea */
  width: 100%;
  /* Ancho de la línea */
  background: linear-gradient(to right,
      transparent,
      #d4af37,
      /* Dorado oscuro */
      #f9e1a1,
      /* Dorado brillante/luz en el centro */
      #d4af37,
      /* Dorado oscuro */
      transparent);
  box-shadow: 0px 1px 5px rgba(212, 175, 55, 0.4);
  /* Resplandor suave abajo */
  border: none;
}


/* --- About Section (Nosotros) --- */
.about {
  padding: 50px 5%;
  position: relative;
  /* Fondo de cuadrícula/grid sutil */
  background: url('public/CUADROS 2-01 1.png') no-repeat center center/cover;
  background-color: var(--bg-color2);
}

.about .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.2));
}

.about-content {
  flex: 1;
}

.section-label {
  color: var(--primary-color);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 15px;
  text-align: left;
}

.about-title {
  background: var(--primary-color);
  color: #000;
  padding: 12px 35px;
  border-radius: 12px;
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 35px;
  color: #eee;
}

.highlight {
  color: var(--primary-color);
  font-weight: bold;
  font-style: normal;
}

/* Tags Grid */
.tags-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.tag {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 20px;
  border-radius: 30px;
  text-align: center;
  font-weight: 600;
  font-style: italic;
  font-size: 0.95rem;
  background: rgba(197, 160, 89, 0.02);
}

/* --- Responsivo --- */
@media (max-width: 992px) {
  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .tags-container {
    grid-template-columns: 1fr;
  }
}


/* --- Sección ADN XPERIA --- */
.adn-section {
  padding: 100px 5%;
  background-color: var(--bg-color);
  text-align: center;
}

.adn-background-wrapper {
  background-image: url('public/adn_xperia.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 40px 20px 80px 20px;
}

.adn-badge {
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 47.6%, var(--secondary-color) 100%);
  color: #000;
  display: inline-block;
  padding: 2px 40px;
  border-radius: 12px;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 25px;
  box-shadow: 0px 15px 35px -5px rgba(179, 142, 68, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.adn-subtitle {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 60px;
  font-weight: 700;
}

.adn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.adn-card {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: left;
  position: relative;
  transition: transform 0.3s, border 0.3s;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.adn-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-header h4 {
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: bold;
}

.card-number {
  font-size: 2rem;
  color: rgba(197, 160, 89, 0.15);
  /* Número sutil de fondo */
  font-weight: 800;
}

.adn-card p {
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
}




/* --- Sección Servicios --- */
.services-section {
  padding: 80px 5%;
  text-align: center;
  background-color: var(--bg-color2);
}

.services-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(197, 160, 89, 0.05);
}

.service-icon {
  width: 120px;
  margin-bottom: 20px;
}

.service-tagline {
  font-size: 2rem;
  margin-bottom: 15px;
}

.highlight-italic {
  color: var(--primary-color) !important;
  font-style: italic !important;
  font-weight: bold !important;
}


/* --- Ajustes Móvil --- */
@media (max-width: 900px) {
  .adn-grid {
    grid-template-columns: 1fr;
  }

  .adn-badge {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }

  .services-title {
    font-size: 1.8rem;
  }
}



.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-intro {
  text-align: center;
  margin-bottom: 50px;
}

.services-main-title {
  font-size: 2.2rem;
  font-style: normal;
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin: 25px 0px;
}

.service-tagline {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
}


.service-desc {
  color: var(--terceary-color);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: normal;
}

.service-desc strong {
  font-weight: bold;
  font-style: italic;
}


/* --- GRID DE PRECIOS --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  background: #111;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.price-card:hover {
  border-color: var(--primary-color);
  transform: scale(1.02);
}

.card-plan-title {
  color: var(--primary-color);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.card-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.card-price span {
  font-size: 1rem;
  color: var(--terceary-color);
  font-weight: normal;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--terceary-color);
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.card-footer-info {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.card-footer-info p {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.card-footer-info p span {
  font-weight: bold;
}



.features-list,
.features-list-ph {
  list-style: none;
  flex-grow: 1;
  text-align: left;
  margin-top: 15px;
}

.features-list-ph {
  margin: auto;
}

.features-list-ph li {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--terceary-color);
  margin-bottom: 12px;
  padding-left: 25px !important;
  position: relative;
}

.features-list li {
  font-size: 0.9rem;
  color: var(--terceary-color);
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

/* Checkmark dorado */
.features-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.features-list-ph li strong::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.btn-buy {
  background: var(--primary-color);
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  margin-top: 25px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0px 10px 15px -5px rgba(179, 142, 68, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-buy:hover {
  background: #e0b86a;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

/* --- CARRUSEL (Tecnología & CRM) --- */
.carousel-container {
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color);
}

/* Soporte para WebKit (Chrome, Safari, etc.) */
.carousel-container::-webkit-scrollbar {
  height: 8px;
  /* Altura para scroll horizontal */
  width: 8px;
  /* Ancho para scroll vertical */
}

.carousel-container::-webkit-scrollbar-track {
  background: var(--primary-color);
  border-radius: 4px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 4px;
}


/* Contenedor que agrupa flechas y carrusel */
.carousel-main-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  /* Espacio para las flechas */
}

/* La "ventana" por donde se ven los cuadros */
.carousel-window {
  overflow-x: hidden;
  width: 100%;
  padding: 20px;
}

/* El riel que se mueve */
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

/* Ajuste para que entren exactamente 3 cuadros */
.price-card.mini {
  flex: 0 0 calc(25% - 14px);
  /* 33% del ancho menos el espacio del gap */
  min-width: 200px;
  /* Para que no se encojan demasiado en pantallas pequeñas */
}

/* Botones de navegación (Flechas) */
.nav-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 10;
  transition: 0.3s;
}

.nav-btn:hover {
  background: var(--primary-color);
  color: #000;
}

.nav-btn.prev {
  left: 0;
}

.nav-btn.next {
  right: 0;
}

/* Responsive móvil: mostrar de a 1 cuadro */
@media (max-width: 900px) {
  .price-card.mini {
    flex: 0 0 100%;
  }

  .carousel-main-container {
    padding: 0 40px;
  }
}



/* Contenedor de la sección de extras */
.extras-section {
  margin-top: 20px;
  margin-bottom: 25px;
  text-align: left;
}

/* Título "Extras Opcionales:" */
.extras-title {
  color: var(--primary-color);
  /* El dorado que estás usando */
  font-style: italic;
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Lista de extras */
.extras-list {
  list-style: none;
  /* Sin puntos ni checks */
  padding: 0;
  margin: 0;
}

.extras-list li {
  color: var(--terceary-color);
  /* Gris claro para el texto */
  font-size: 0.85rem;
  margin-bottom: 8px;
  padding-left: 15px;
}

/* El precio resaltado en dorado y negrita */
.extra-price {
  color: var(--primary-color);
  font-weight: bold;
  font-style: italic;
}













/* --- Sección Productos Adicionales --- */
.additional-products-section {
  padding: 100px 5%;
  background-color: #050505;
  /* Fondo de cuadrícula igual al de la sección "Nosotros" */
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  text-align: left;
}

.additional-products-section .container {
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-self: center;
}

/* Tarjeta Principal */
.add-product-card {
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid var(--primary-color);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Títulos */
.add-product-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.add-product-subtitle {
  font-style: italic;
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* Grilla de etiquetas doradas */
.products-tags-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  /* Columna derecha un poco más ancha */
  gap: 15px;
  margin-bottom: 50px;
}

.add-product-tag {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  background: rgba(197, 160, 89, 0.02);
  transition: 0.3s;
}

.add-product-tag:hover {
  background: rgba(197, 160, 89, 0.1);
  transform: translateY(-2px);
}

/* Divisor */
.card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.4), transparent);
  margin: 40px 0;
}

/* Pie de la tarjeta (Partner) */
.partner-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.partner-text {
  font-style: italic;
  color: #aaa;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.btn-quote-custom {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 35px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-quote-custom:hover {
  background: var(--primary-color);
  color: #000;
}

/* --- Ajustes para Móvil --- */
@media (max-width: 768px) {
  .main-extra-card {
    padding: 30px 20px;
  }

  .extra-title {
    font-size: 2.2rem;
  }

  .products-tags-grid {
    grid-template-columns: 1fr;
  }

  .partner-title {
    font-size: 1.8rem;
  }

  .add-product-title {
    font-size: 2rem;
  }

  .add-product-subtitle {
    font-size: 1rem;
  }

}




/* --- Sección Contacto --- */
.contact-section {
  padding: 100px 5%;
  background-color: var(--bg-color2);
  background-image: url('public/wave.png');
  /* Las líneas curvas del fondo */
  background-position: left center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .contact-container {
    flex-wrap: wrap;
  }

  .contact-title {
    font-size: 2rem;
  }
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

.contact-info {
  flex: 1;
}

.contact-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
}

.contact-subtitle {
  font-style: italic;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 40px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-details li {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: bold;
  font-style: italic;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Estilo Formulario */
.contact-form-wrapper {
  flex: 1.2;
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 15px;
  color: #fff;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.btn-send {
  background: var(--primary-color);
  color: #000;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
}

/* --- Footer --- */
.main-footer {
  background-color: #000;
  padding: 100px 5% 40px;
  /* Aumentamos padding superior por el robot REBECA */
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* --- Columna Izquierda: Logo y Texto --- */
.footer-left {
  flex: 1;
}

.footer-left .logo img {
  height: 45px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #eee;
  margin: 0;
}

/* --- Columna Central: REBECA --- */
.footer-center {
  flex: 1;
  text-align: center;
}

.rebeca-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 20px;
}

.rebeca-img {
  width: 130px;
  position: absolute;
  top: -100px;
  /* Ajuste para que sobresalga hacia arriba */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.btn-rebeca-s {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px;
  border-radius: 12px;
  font-weight: 800;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  margin-top: 20px;
}


.btn-rebeca {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-rebeca,
.btn-rebeca-s:hover {
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 20px rgba(179, 142, 68, 0.4);
}

.rebeca-text {
  font-size: 0.9rem;
  color: #888;
  margin-top: 15px;
  font-style: italic;
}

/* --- Columna Derecha: Redes Sociales --- */
.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-btn .icon-svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

.social-btn:hover .icon-svg {
  color: #000;
}

/* --- Barra Inferior: Copyright --- */
.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright {
  font-size: 0.9rem;
  color: #666;
}

/* =========================================
   RESPONSIVO MÓVIL (Media Query)
   ========================================= */
@media (max-width: 768px) {
  .main-footer {
    padding-top: 120px;
    /* Más espacio para que el robot no choque arriba */
  }

  .footer-container {
    flex-direction: column;
    /* Apila todo verticalmente */
    text-align: center;
    gap: 50px;
    /* Espacio entre secciones apiladas */
  }

  .footer-left {
    margin-bottom: 80px;
  }

  .footer-right {
    justify-content: center;
    /* Centra las redes sociales */
  }

  .footer-tagline {
    font-size: 1rem;
  }

  .rebeca-img {
    width: 110px;
    top: -90px;
  }

  .footer-bottom {
    margin-top: 40px;
  }
}





.staff-section {
  padding: 80px 10%;
  background-color: #000;
  text-align: center;
}

.staff-main-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
}


.staff-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Esto centra los 2 de abajo */
  gap: 40px;
  max-width: 1100px;
  /* Ajustamos el ancho máximo para que quepan 3 */
  margin: 0 auto;
}

.staff-card {
  /* Calculamos el ancho para que entren 3 por fila considerando el gap */
  /* (100% / 3) menos un poco de margen para el gap */
  width: calc(33.33% - 40px);
  min-width: 250px;
  /* Evita que se hagan muy flacos */
  max-width: 300px;
  /* Evita que crezcan demasiado */
  transition: transform 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-10px);
}

/* Contenedor de imagen con el borde dorado de Figma */
.staff-img-container {
  width: 100%;
  aspect-ratio: 1 /1.5;
  /* Cuadrado perfecto */
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(180deg, #A07A1B 0%, rgba(216, 164, 32, 0) 50%, #A07A1B 100%) border-box;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.staff-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ajusta la foto sin deformarla */
  filter: grayscale(30%);
  /* Toque elegante sutil */
  transition: filter 0.3s ease;
}

.staff-card:hover img {
  filter: grayscale(0%);
  /* Cobra color al pasar el mouse */
}

/* Info del Staff */
.staff-info h4 {
  color: #b38e44;
  /* Dorado */
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: bold;
}

.staff-info p {
  color: #ccc;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.4;
}


@media (max-width: 992px) {
  .staff-grid {
    gap: 20px;
  }

  .staff-card {
    /* En tablets, podemos pasar a 2 por fila si prefieres, 
       o dejar que el flexbox lo acomode */
    width: 45%;
  }
}

@media (max-width: 768px) {
  .staff-card {
    width: 45%;
    /* Tu configuración original para mobile */
  }
}

@media (max-width: 480px) {
  .staff-card {
    width: 100%;
    /* Tu configuración original para mobile */
  }
}









.membership-section {
  padding: 100px 10%;
  background-color: var(--bg-color2);
  text-align: center;
}

.membership-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Tarjeta con borde degradado premium */
.membership-card {
  background: linear-gradient(145deg, #0a0a0a 0%, #151515 100%);
  border-radius: 30px;
  padding: 60px;
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(#0a0a0a, #0a0a0a),
    linear-gradient(180deg, #b38e44 0%, transparent 50%, #b38e44 100%);
  box-shadow: 0 20px 50px rgba(179, 142, 68, 0.15);
}

/* Cabecera de Precios */
.membership-header {
  margin-bottom: 40px;
}

.membership-title {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.membership-pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background: rgba(179, 142, 68, 0.1);
  padding: 20px;
  border-radius: 20px;
  border: 1px dashed rgba(179, 142, 68, 0.3);
}

.price-item {
  display: flex;
  flex-direction: column;
}

.price-label {
  color: var(--terceary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.price-value {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: bold;
}

.divider {
  width: 1px;
  height: 50px;
  background-color: rgba(179, 142, 68, 0.3);
}

/* Lista de beneficios */
.membership-intro {
  color: var(--terceary-color);
  font-style: italic;
  margin-bottom: 30px;
}

.membership-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.membership-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--terceary-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.membership-list li::before {
  content: '✔';
  color: var(--primary-color);
  font-weight: bold;
}

.list-icon {
  width: 22px;
  margin-top: 5px;
}

/* Resaltado especial para el Agente X */
.agent-x-feature {
  background: rgba(179, 142, 68, 0.08);
  padding: 20px;
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
}

/* Botón de acción */
.btn-membership {
  display: inline-block;
  margin-top: 40px;
  padding: 20px 50px;
  background-color: var(--primary-color);
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(179, 142, 68, 0.4);
}

.btn-membership:hover {
  transform: scale(1.05);
  background-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(179, 142, 68, 0.6);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .membership-card {
    padding: 30px;
  }

  .membership-pricing {
    flex-direction: column;
    gap: 20px;
  }

  .divider {
    display: none;
  }

  .membership-title {
    font-size: 2rem;
  }
}















/* --- MODAL DEL WORKSHOP --- */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
  border-radius: 30px;
  padding: 40px;
  z-index: 2001;
  border: 2px solid var(--primary-color);
  box-shadow: 0 30px 80px rgba(179, 142, 68, 0.3);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2002;
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  background: var(--primary-color);
  color: #000;
  transform: rotate(90deg);
}

.modal-image {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.btn-register {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 18px 40px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 47.6%, var(--secondary-color) 100%);
  color: #000;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(179, 142, 68, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(179, 142, 68, 0.6);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .modal-content {
    padding: 25px;
    width: 95%;
  }

  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    top: 10px;
    right: 10px;
  }

  .btn-register {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
}

.modal-image {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.btn-register {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 18px 40px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 47.6%, var(--secondary-color) 100%);
  color: #000;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(179, 142, 68, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(179, 142, 68, 0.6);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .modal-content {
    padding: 25px;
    width: 95%;
  }

  .modal-close {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    top: 10px;
    right: 10px;
  }

  .btn-register {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
}












.social-icons {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-color);
  /* Tu dorado */
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

/* Estilo para el icono SVG */
.icon-svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  /* Color del borde del icono */
  transition: all 0.3s ease;
}

/* EFECTO HOVER */
.social-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(179, 142, 68, 0.4);
}

.social-btn:hover .icon-svg {
  color: #000;
  /* El icono se pone negro cuando el fondo es dorado */
}

/* --- FEEDBACK FORMULARIO --- */
.form-response {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  display: none;
  font-size: 0.95rem;
  text-align: center;
  font-weight: 500;
}

.form-response.success {
  display: block;
  background: rgba(0, 255, 0, 0.1);
  color: #4CAF50;
  border: 1px solid #4CAF50;
}

.form-response.error {
  display: block;
  background: rgba(255, 0, 0, 0.1);
  color: #f44336;
  border: 1px solid #f44336;
}

.form-response.loading {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}