/* =======================
   Variables e Importes
   ======================= */
   :root {
    --primary: #1446a0;
    --primary-dark: #7a1cd2;
    --primary-light: #9a3bf2;
    --secondary: #9983e6;
    --secondary-dark: #3159d1;
    --secondary-light: #5179f1;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --warning: #f59e0b;
    --border-radius: 0.5rem;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
  }
  
  * { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior: smooth; }
  body { font-family:'Inter',sans-serif; line-height:1.5; color:var(--gray-800); background:#fff; }
  img, video { max-width:100%; display:block; }
  a { text-decoration:none; color:inherit; }
  ul { list-style:none; }
  
  /* =======================
     Layout / Containers
     ======================= */
  .container {
    max-width:1200px;
    margin:0 auto;
    padding:0 1rem;
    width:100%;
  }
  
  /* =======================
     Typography
     ======================= */
  h1, h2, h3, h4 { margin-bottom:.5rem; line-height:1.2; font-weight:700; }
  h1 { font-size:3rem; }
  h2 { font-size:2rem; }
  h3 { font-size:1.5rem; }
  p { margin-bottom:1rem; color:var(--gray-600); }
  
  /* =======================
     Buttons & Badge
     ======================= */
  .btn {
    display:inline-flex; align-items:center; justify-content:center;
    padding:.6rem 1.2rem; border:none; border-radius:var(--border-radius);
    cursor:pointer; transition:var(--transition); font-weight:500;
  }
  .btn i { margin-left:.5rem; }
  .btn-white { background:#fff; color:var(--primary); }
  .btn-white:hover { background:var(--gray-100); }
  .btn-outline {
    background:transparent;
    border:2px solid var(--primary);
    color:var(--primary);
  }
  .btn-outline:hover {
    background:var(--primary-light);
    color:#fff;
  }
  .btn { background:var(--primary); color:#fff; }
  .btn:hover { background:var(--primary-dark); }
  
  .badge {
    display:inline-block;
    background:#fff; color:var(--primary);
    padding:.2rem .6rem;
    border-radius:9999px;
    font-size:.75rem; font-weight:600;
    margin-bottom:1rem;
  }
  
  /* =======================
     Header & Nav
     ======================= */

     .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2rem;
      background: #fff;
      border-bottom: 1px solid var(--gray-200);
      flex-wrap: wrap;
      gap: 1rem;
    }
    
    .logo-section {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .logo-img {
      height: 100px; /* Aumentado el tamaño */
      width: 100px;
      object-fit: cover;
      border-radius: 50%; /* Circular */
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
      transition: transform 0.4s ease, filter 0.3s ease;
    }
    
    .logo-img:hover {
      transform: scale(1.15);
      filter: brightness(1.2);
    }
    
    .titulo-efecto {
      font-family: 'Montserrat', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      text-transform: uppercase;
      position: relative;
      margin: 0;
    }
    
    .titulo-efecto::after {
      content: "";
      position: absolute;
      bottom: -6px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 4px;
      background: var(--primary);
      transition: width 0.4s ease;
    }
    
    .titulo-efecto:hover::after {
      width: 60%;
    }
    
    .main-nav ul {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    
    .main-nav a {
      text-decoration: none;
      font-weight: 600;
      color: var(--text-color);
      transition: color 0.3s;
    }
    
    .main-nav a:hover {
      color: var(--primary-dark);
    }
    
    .menu-actions {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .btn-primary {
      background: var(--primary);
      color: #fff;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;
    }
    
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 1.8rem;
      cursor: pointer;
    }
    
    @media (max-width: 768px) {
      .header {
        flex-direction: column;
        align-items: flex-start;
      }
    
      .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
      }
    
      .menu-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 1rem;
      }
    
      .mobile-menu-btn {
        display: block;
      }
    }
    

  /* =======================
     Hero Section
     ======================= */
  .hero {
    background:linear-gradient(to bottom, var(--primary), var(--secondary));
    color:#fff;
    padding:4rem 0;
  }
  .hero-content {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:2rem;
    align-items:center;
  }
  .hero h1 { font-size:2.5rem; }
  .hero p { font-size:1.25rem; opacity:.9; }
  
  
 /* Carousel */
.hero-carousel {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: var(--box-shadow);
  background: #fff;
  width: 100%;
  max-width: 300px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%; /* Hace que cada slide ocupe todo el ancho visible */
  padding: 0.5rem;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 1.5rem;
}

/* Botones mejor posicionados */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  color: var(--primary-dark);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Botones específicos */
.prev-btn {
  left: 0.5rem;
}

.next-btn {
  right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-carousel {
    max-width: 100%;
  }
}


  /* =======================
     Sections general
     ======================= */
     .section-header {
      max-width: 700px;
      margin: 0 auto 3rem;  /* centrado horizontal y espacio abajo */
      padding: 0 1rem;      /* margen interno para móviles */
      text-align: center;
    }
    
  .section-header p {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    font-size: 1.1rem;
    color: var(--gray-600);
  }
 
  
 
/* Contenedor principal */
.intro-section {
  background-color: var(--white);
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
}

.intro-container {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

/* Encabezado */
.intro-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.intro-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

/* Imagen */
.intro-image {
  max-width: 600px;
  margin: 0 auto 3rem;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.intro-image img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.intro-image img:hover {
  transform: scale(1.05);
}

/* Infografía */
.intro-infografia {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.intro-recuadro {
  background: var(--secondary);
  color: var(--white);
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  text-align: center;
}

.intro-recuadro:hover {
  transform: translateY(-6px);
  filter: brightness(1.1);
}

 
  /* =======================
   Features Section
   ======================= */
   
   .features-section {
    background-color: var(--gray-100); /* un gris claro suave */
    padding: 4rem 2rem;
    text-align: center;
  }
  
  
  .features-container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .features-header {
    margin-bottom: 3rem;
  }
  
  .features-header h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary);
  }
  
  .features-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
  }
  
  .features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .feature-card {
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    text-align: center;
    width: 280px;
    transition: var(--transition);
    box-shadow: none;
  }
  
  .feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--box-shadow);
  }
  
  .feature-icon {
    font-size: 2rem;
    background: var(--primary-light);
    color: var(--primary);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s;
  }
  
  .feature-icon:hover {
    transform: scale(1.2);
  }
  @media (max-width: 768px) {
    .features-grid {
      flex-direction: column;
      align-items: center;
    }
  
    .feature-card {
      width: 100%;
      max-width: 320px;
    }
  
    .features-header h2 {
      font-size: 1.6rem;
    }
  
    .features-header p {
      font-size: 1rem;
      padding: 0 1rem;
    }
  }

  /* Team Section */

  .team {
   
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }
  
  .team-wrapper {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .team-header h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
  }
  
  .team-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
  }
  
  .team-member {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
  }
  
  .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
  }
  
  .team-member:hover .member-avatar {
    transform: scale(1.05);
  }
  
  .member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .member-info h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
    line-height: 1.3;
  }
  
  .member-info p {
    color: var(--gray-700);
    font-size: 1rem;
    margin: 0;
  }
  
  .team-cta {
    margin-top: 2rem;
  }
  
  .team-cta .btn-outline {
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .team-cta .btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }
  
  
 /* Benefits */
.benefits {
  background: linear-gradient(to right, var(--secondary), var(--primary));
  color: #fff;
  padding: 4rem 1rem;
}

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

.benefits-header.light h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.benefits-header.light p {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(4px);
}

.benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  font-size: 1.8rem;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.benefit-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f9f9f9;
}

 
/* Reviews */
.reviews {
  background: #f9f9f9;
  padding: 4rem 1rem;
}

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

.reseña-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}



.reseña-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.review-card {
  background: #fff;
  border: 2px solid var(--gray-200, #eaeaea);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-align: left;
}

.review-card:hover {
  border-color: var(--primary, #4e73df);
  transform: translateY(-6px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary, #4e73df);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-info h3 {
  font-size: 1rem;
  margin: 0;
}

.reviewer-info p {
  font-size: 0.875rem;
  color: #777;
  margin: 0;
}

.review-rating {
  color: var(--warning, #f1c40f);
  margin: 1rem 0;
}

.review-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

  
  /* Downloads */
  
  /* Main */
main {
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-family: 'Inter', sans-serif;
}

/* Secciones */
section {
    margin-bottom: 30px;
}

h1, h2 {
    color: #0056b3;
}

/* Descargas */
.download-buttons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.download-buttons img {
    width: 150px;
    height: auto;
    display: block;
}
/* Ocultar radios */
input[type="radio"] {
    display: none;
}

/* Ocultar contenido por defecto */
.tab-pane {
    display: none;
}

/* Mostrar según radio seleccionado */
#tab-ios:checked ~ .tab-content .ios {
    display: block;
}

#tab-android:checked ~ .tab-content .android {
    display: block;
}

/* Estilos de botones */
.tab-btn {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

#tab-ios:checked ~ .tabs label[for="tab-ios"],
#tab-android:checked ~ .tabs label[for="tab-android"] {
    border-color: #000;
    font-weight: bold;
}




/* Help cards */
.help-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.help-card {
    flex: 1 1 250px;
    background: #d1e4ff;
    padding: 15px;
    border-radius: 8px;
}
.requirements-layout {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.system-requirements {
    flex: 1;
}
.image-preview {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -20px;
    margin-right: 70px;
}

.image-preview img {
   max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #0056b3;
    color: #fff;
}

/* Responsive */
@media(max-width: 768px){
    .help-cards {
        flex-direction: column;
    }
     .image-preview {
        flex: 1 1 100%;
        margin-top: 20px;
    }
}

  
/*otras paginas */
 
/*pagina del team */

/* 🎯 Contenedor general */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 🧭 Cabecera de sección */
.team-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

.team-header h1 {
  font-size: 2.5rem;
  color: #4a1382;
  margin-bottom: 0.5rem;
}

.team-header p {
  font-size: 1.1rem;
  color: #666;
}

/* 🧩 Grid de tarjetas */
.team-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; /* Reducimos el espacio entre tarjetas */
  justify-items: center; /* Centra el contenido de cada celda */
  align-items: start;    /* Alinea verticalmente desde arriba */
  padding: 0 1rem;       /* Un poco de espacio lateral */
}


/* 🧾 Tarjeta individual */
.team-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 🖼️ Imagen del equipo */
.team-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* 📝 Información de la tarjeta */
.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.4rem;
  color: #4a1382;
  margin-bottom: 0.3rem;
}

.team-role {
  font-weight: 600;
  color: #555;
  font-size: 0.95rem;
}

.team-bio {
  display: block;
  color: #888;
  font-size: 0.9rem;
  margin: 0.8rem 0;
  text-decoration: none;
}

.team-bio:hover {
  text-decoration: underline;
}

/* 🌐 Redes sociales */
.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.8rem;
}

.team-social a {
  font-size: 1.3rem;
  color: #4a0562;
  transition: color 0.3s;
}

.team-social a:hover {
  color: #053262;
}

/* 📱 Responsive: Tablet (<= 900px) */
@media (max-width: 900px) {
  .section-header h1 {
    font-size: 2.2rem;
  }

  .section-header p {
    font-size: 1rem;
  }
}

/* 📱 Responsive: Móvil (<= 600px) */
@media (max-width: 600px) {
  .team-image img {
    height: 250px;
  }

  .section-header h1 {
    font-size: 1.8rem;
    margin-top: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .team-info h3 {
    font-size: 1.2rem;
  }

  .team-role {
    font-size: 0.9rem;
  }

  .team-bio {
    font-size: 0.85rem;
  }

  .team-social a {
    font-size: 1.1rem;
  }
}

/*faq pagina ^/
/* 🎯 Títulos y descripción */
.faq-header h1 {
  font-size: 2.5rem;
  color: #1446a0;
  margin-bottom: 0.5rem;
  text-align: center;
}

.faq-header p {
  font-size: 1.1rem;
  color: #888;
  margin-top: 0.5rem;
  text-align: center;
}

/* 🧱 Layout principal */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  margin-top: 2rem;
}

/* 📌 Sidebar de categorías */
.faq-sidebar {
  position: sticky;
  top: 5rem;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-sidebar h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #1446a0;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.category-item span {
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.category-item:hover {
  background-color: #f0f0f0;
  color: #1446a0;
  transform: translateX(5px);
}

/* 🧩 Contenido de FAQ */
.faq-content {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-card {
  padding: 1rem 0;
}

/* 📂 Accordion */
.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background-color: #f9f9f9;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #1446a0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #ececec;
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.accordion-content.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

/* ✨ Animación */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .faq-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-headerr h1 {
    font-size: 2rem;
  }

  .section-headerr p {
    font-size: 1rem;
  }

  .faq-sidebar,
  .faq-content {
    width: 100%;
  }

  .accordion-header {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }

  .accordion-content {
    padding: 0 1.25rem 1.25rem;
  }
}




/*agradecimientos pagina*/



/* Estilos para la sección */
.agra-header h1 {
  text-align: center;
  color: #4a1382;
}



/* Grid de fundaciones */
.blog-grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 2rem 4rem;
}

/* Tarjeta de fundación */
.blog-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 25px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 50%;
}



.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background: white;
}

.blog-image img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.blog-image .clase { 
  max-width: 200%;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.5s ease;
  position: relative;
  top: -2em;
  
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.blog-content h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.blog-content p {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

/* Autor / metadatos */
.blog-meta {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  color: #777;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.author-info h4 {
  font-size: 0.95rem;
  color: var(--text-color);
  margin: 0;
}

.author-info p {
  font-size: 0.8rem;
  color: #999;
}
.author-inf h4 { 

  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: -0.5em;
  position: relative;;
  right: 1em;
  
} 
.blog-content .letra {
 margin-top: -2.7em;


}

/* --- Responsive para móviles y tablets --- */
@media (max-width: 1024px) {
  .blog-grid {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem 2rem;
  }

  .blog-card {
    width: 100%;
    max-width: 420px;
  }

  .section-header h1 {
    margin-right: 0;
    font-size: 2rem;
    text-align: center;
  }

  .blog-content {
    padding: 1rem;
  }

  .blog-content h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .blog-content p {
    font-size: 0.95rem;
  }

  .author-info h4,
  .author-inf h4 {
    font-size: 0.9rem;
    text-align: center;
  }

  .blog-image img,
  .blog-image .clase {
    max-width: 100%;
    height: auto;
    top: 0;
    position: relative;
  }

  .footer-images img {
    max-width: 120px;
    height: auto;
    margin: 0.5em;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-buttons {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 1em;
  }
}





/* Contacto Pagina */


.contact-header h1 {
  font-size: 2.8rem;
  color: #1446a0; 
  margin-bottom: 0.5rem;
  
  text-align: center;
}

.contact-header p {
  font-size: 1.2rem;
  color: #666;
 
  text-align: center;
}


/* Información de contacto */
.contact-info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: start;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
  grid-template-areas: "info reps" "map map";
}
.contact-info {
  grid-area: info;
}

.campus-reps {
  grid-area: reps;
}

.map-container {
  grid-area: map;
}
.contact-info, .campus-reps, .map-container {
  display: flex;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex-direction: column;
  text-align: center;
  align-items: center;
}


.contact-info h2, .campus-reps h2 {
  color: #571599;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
  text-align: left
}

.info-icon {
  font-size: 1.5rem;
  color: #8a28cb;
}
.map-container iframe {
  width: 100%;
  border-radius: 12px;
  height: 100%;
  min-height: 300px;
}

.info-content h3 {
  margin: 0;
  font-size: 1rem;
  color: #222;
}

.info-content p {
  margin: 0.3rem 0 0;
  color: #555;
}

/* Botón */
.btn-primary{
  background-color: #07478c;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #560d7d;
}



/* CONTACTO RESPONSIVE */

@media (max-width: 768px) {
  .section-header h1 {
    font-size: 2rem;
    margin-left: 0;
    text-align: center;
  }

  .section-header .par {
    font-size: 1rem;
    left: 0;
    text-align: center;
    margin-top: 0.5rem;
  }

  .contact-info-container {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "info"
      "reps"
      "map";
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .contact-info,
  .campus-reps,
  .map-container {
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .info-items {
    gap: 1rem;
  }

  .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-icon {
    font-size: 1.3rem;
  }

  .info-content h3 {
    font-size: 1rem;
  }

  .btn-primary {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
  }

  .map-container iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .section-header h1 {
    font-size: 1.8rem;
  }

  .section-header .par {
    font-size: 0.95rem;
    margin-left: 0;
  }

  .info-content p {
    font-size: 0.9rem;
  }

  .contact-info h2,
  .campus-reps h2 {
    font-size: 1.3rem;
  }

  .btn-primary {
    font-size: 0.95rem;
  }
}


/* Página de descarga */

.page-content.downloads-page {
  background-color: var(--gray-50);
  padding: 4rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--gray-800);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h1,
.section-header h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-700);
  /* Eliminamos position relative y left para centrar con margin */
}

/* Downloads Layout */
.downloads-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* texto | phones */
  gap: 4rem;
  align-items: start; /* 🔥 CLAVE */
}


.downloads-info {
  flex: 1 1 60%;
  min-width: 280px;
}

.phone-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas */
  gap: 3rem; /* separación entre los phones */
  justify-items: center;
  align-items: center;
  padding: 2rem;
}

.phone-frame {
  width: 200px;
  height:300px;
  border: 10px solid var(--black);
  border-radius: 2rem;
  padding: 0.75rem;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
  display:flex;
  align-items:center;
  justify-contentr:center;
  overflow:hidden;
}


.phone-frame:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 1.4rem;
  overflow: hidden; 
}

.phone-screen img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  display: block;
  object-fit:cover
}
@media (max-width: 768px) {
  .phones-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Download Buttons */
.download-buttonss {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  justify-content: flex-start;
}

.app-store-btn,
.play-store-btn {
  display: inline-flex;
  align-items: center;
  height: 55px;
  background-color: var(--black);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0 1rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.app-store-btn img,
.play-store-btn img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  user-select: none;
}

.app-store-btn:hover,
.play-store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Tabbed Requirements */
.tabs {
  margin-top: 2.5rem;
}

.tab-headers {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  background-color: var(--gray-100);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-800);
  transition: background-color 0.3s, color 0.3s;
  user-select: none;
  border-bottom: 3px solid transparent;
}

.tab-btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.tab-btn.active,
.tab-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-bottom-color: var(--primary-dark);
}

.tab-content {
  background-color: var(--white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-height: 180px;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-list li {
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  font-size: 1rem;
  line-height: 1.4;
}

.requirements-list i {
  color: var(--primary);
  margin-right: 0.7rem;
  font-size: 1.2rem;
  min-width: 20px;
  text-align: center;
}

/* Help Section */
.help-section {
  margin-top: 4.5rem;
}

.help-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.help-card {
  background-color: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 280px;
  max-width: 320px;
  cursor: default;
  user-select: none;
}

.help-card:hover,
.help-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.help-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  user-select: none;
}

.help-card h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.help-card p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.5;
  min-height: 80px;
}

.help-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.help-link:hover,
.help-link:focus-visible {
  color: var(--primary-dark);
  outline: none;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .downloads-layout {
    flex-direction: column;
    align-items: center;
  }

  .downloads-info,
  .phone-preview {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .section-header p {
    max-width: 100%;
    padding: 0 1rem;
    text-align: center;
    left: auto;
    position: static;
  }

  .download-buttons {
    justify-content: center;
  }

  .tab-headers {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .help-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .help-card {
    width: 100%;
    max-width: none;
  }

  .phone-frame {
    width: 220px;
  }
}


/* Footer */
.footer {
  background: linear-gradient(145deg, #f3f4f6, #e4e7eb); /* Fondo degradado suave */
  padding: 2rem 0;
  border-top: 2px solid var(--gray-200);
  color: #333;
}

/* Contenido del footer */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-images {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-img {
  width: 170px; 
  height: auto;
  transition: transform 0.3s ease;
}


/* Efecto hover en los logos */
.footer-img:hover {
  transform: scale(1.1); /* Aumento suave en el tamaño */
}

/* Información de la empresa */
.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #4a4a4a;
}

.footer-logo i {
  margin-right: 0.5rem;
  font-size: 1.5rem; /* Tamaño del ícono */
  color: var(--primary); /* Puedes cambiar el color según tu paleta */
}

.footer-logo p {
  margin: 0;
  font-size: 1rem;
  margin-left: 7rem;
  color: var(--gray-500);
}

/* Navegación del footer */
.footer-nav ul {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 1rem;
  color: var(--gray-500);
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* Hover en los enlaces */
.footer-nav a:hover {
  text-decoration: underline;
  color: var(--primary);
}



/* Ajustar el footer para móviles */
@media (max-width: 768px) {
  .footer-content {
    text-align: center;  /* Centra todo el contenido del footer */
    padding: 2rem 1rem;
  }

  .footer-images {
    display: flex;
    flex-direction: column;  /* Coloca las imágenes una debajo de la otra */
    align-items: center;  /* Centra las imágenes */
    gap: 1rem;  /* Añade un espacio entre las imágenes */
  }

  .footer-nav ul {
    display: flex;
    justify-content: center;  /* Centra los enlaces del footer */
    gap: 1.5rem;  /* Espaciado entre los enlaces */
    padding: 0;
  }

  .footer-nav ul li a {
    font-size: 1rem;  /* Ajusta el tamaño de la fuente para pantallas pequeñas */
  }
}

/* Page Content */
.page-content {
  padding: 3rem 0;
}

/* --- Correcciones Responsivas para Móviles --- */
@media (max-width: 768px) {
  .downloads-layout {
    flex-direction: column;
    align-items: center;
  }

  .section-header p {
    left: 0;
    padding: 0 1rem;
    text-align: center;
  }

  .downloads-info,
  .phone-preview {
    width: 100%;
  }

  .phone-frame {
    width: 90%;
    max-width: 300px;
  }

  .tab-headers {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tab-btn {
    width: 100%;
  }

  .help-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .help-card {
    width: 100%;
  }

  .download-buttons {
    justify-content: center;
  }
}
