/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Tipografía y colores */
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
  }
  
  /* Contenedor general */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Header */
  .header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  .logo {
    width: 150px;
  }
  .cred-link {
    font-size: 1em;
    color: #db4938;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .cred-link:hover {
    color: #e59420;
  }
  .nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
  }
  .nav ul li a {
    color: #db4938;
    font-weight: bold;
    text-decoration: none;
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    background: url('../images/upc.jpg') center/cover no-repeat;
    color: #fff;
    padding: 80px 0;
    text-align: center;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  .hero-content {
    position: relative;
    z-index: 2;
  }
  .hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 1.2em;
  }
  
  /* FAQ Container */
  .faq-container {
    padding: 40px 0;
  }
  
  /* FAQ Index */
  .faq-index {
    margin-bottom: 30px;
  }
  .faq-index h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #db4938;
  }
  .faq-index ul {
    list-style: none;
  }
  .faq-index ul li {
    margin-bottom: 10px;
  }
  .faq-index a {
    text-decoration: none;
    color: #0052CC;
    transition: color 0.3s;
  }
  .faq-index a:hover {
    color: #e59420;
  }
  
  /* FAQ Items */
  .faq-entries {
    margin-bottom: 40px;
  }
  /* Contenedor de cada pregunta/respuesta */
  .faq-item {
    margin-bottom: 8px;
    border-bottom: none;
    padding-bottom: 0;
  }
  
  
  /* Botón de la pregunta */
  .faq-question {
    position: relative;         /* Para que el pseudo-elemento se posicione dentro */
    width: 100%;
    text-align: left;
    background-color: #e59420;
    color: #fff;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    outline: none;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    margin-bottom: 5px;         /* Reducimos el espacio inferior */
  }
  
  /* Flecha con pseudo-elemento */
  .faq-question::after {
    content: "\25BC";           /* Flecha Unicode hacia abajo */
    position: absolute;
    right: 15px;                /* Ubícalo a la derecha */
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.8em;           /* Ajusta tamaño si quieres */
  }
  
  /* Al estar activo (abierto), la flecha gira 180° */
  .faq-question.active::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  
  .faq-question:hover {
    background-color: #f28846;
  }
  
  /* Respuesta inicialmente oculta */
  .faq-answer {
    display: none;
    padding: 0 15px;
    font-size: 1em;
    color: #555;
    line-height: 1.4;
  }
  
  /* Clase que muestra la respuesta */
  .faq-answer.show {
    display: block;
  }
  
  /* Footer */
  .footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
  }
  .footer p {
    margin: 0;
  }
  