* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #00a7ff 0%, #1735bb 100%);
  padding: 20px;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  /* ← Degradado sutil */
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: none;
  position: relative;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #FFD700 0%, #ff6d00 50%, #FFD700 100%);
  border-radius: 2px;
}

.logo-container {
  width: 100%;
  max-width: 400px;
  margin: 30px auto 0;
  padding-bottom: 20px;
}

.logo-container img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-logo {
  width: 100%;
  max-width: 160px;
  margin: 10px auto 40px;
  text-align: center;
  padding-top: 40px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-logo img:hover {
  opacity: 1;
}

.header h1 {
  color: #004cc6;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 5px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.header .subtitle {
  color: #666;
  font-size: 16px;
  font-weight: 400;
}

.header .version {
  background: #ff6d00;
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow:
    0 0px 4px rgba(255, 109, 0, 0.4),
    /* ← Sombra naranja original */
    0px 4px 0px rgba(255, 215, 0, 0.4);
  /* ← Sombra paralela amarilla suave */
}

.search-box {
  margin-bottom: 50px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 18px 24px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  border: 3.5px solid transparent;
  border-radius: 50px;
  outline: none;
  transition: all 0.3s;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(90deg, #0061ff 0%, #00cdff 50%, #0061ff 100%) border-box;
}

.search-input:focus {
  border: 3px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(90deg, #ff6d00 0%, #FFD700 50%, #ff6d00 100%) border-box;
  /* ← Invertido al hacer focus */
  box-shadow: 0 0 20px rgba(255, 109, 0, 0.3);
}

.search-input:focus {
  border-color: #ff6d00;
  box-shadow: 0 0 20px rgba(255, 109, 0, 0.3);
}

.search-results {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
  text-align: center;
  font-weight: 600;
}

.expand-all {
  text-align: center;
  margin-bottom: 30px;
}

.expand-all button {
  padding: 8px 20px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  background: white;
  border: 2px solid #004cc6;
  color: #004cc6;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  margin: 0 8px;
}

.expand-all button:hover {
  background: #004cc6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 76, 198, 0.3);
}

.category {
  margin-bottom: 25px;
}

.category-title {
  background: #004cc6;
  color: white;
  padding: 18px 25px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 3px solid transparent;
  /* ← Borde transparente */
  background:
    linear-gradient(#004cc6, #004cc6) padding-box,
    /* ← Fondo azul interno */
    linear-gradient(90deg, #00cdff 0%, #0061ff 50%, #00cdff 100%) border-box;
  /* ← Borde degradado */
}

.category-title:hover {
  background:
    linear-gradient(#003a9e, #003a9e) padding-box,
    /* ← Azul más oscuro al hover */
    linear-gradient(90deg, #ff6d00 0%, #FFD700 50%, #ff6d00 100%) border-box;
  /* ← Borde invertido */
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(255, 109, 0, 0.4);
  /* ← Sombra naranja */
}

.category-title .arrow {
  transition: transform 0.3s;
  font-size: 24px;
  color: #ff6d00;
}

.category-title.active .arrow {
  transform: rotate(180deg);
}

.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.category-content.active {
  max-height: 15000px;
}

.faq-item {
  background: #f8f9fa;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: #ff6d00;
}

.faq-item.hidden {
  display: none;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #004cc6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-question .icon {
  color: #ff6d00;
  font-size: 28px;
  font-weight: 700;
  transition: transform 0.3s;
  min-width: 28px;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 3000px;
  padding: 0 20px 25px 20px;
}

.faq-answer p {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.8;
}

.faq-answer strong {
  color: #004cc6;
  display: block;
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 15px;
}

.faq-answer ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.faq-answer li {
  margin-bottom: 8px;
  color: #555;
}

.note {
  background: #fff3e0;
  border-left: 4px solid #ff6d00;
  padding: 15px;
  margin-top: 15px;
  border-radius: 5px;
  font-size: 14px;
}

.note strong {
  color: #e65100;
}

.price-table {
  background: #f4f4f4;
  padding: 18px;
  border-radius: 8px;
  margin: 15px 0;
  font-size: 14px;
  line-height: 1.8;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ff6d00;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(255, 109, 0, 0.5);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 109, 0, 0.7);
  background: #e66200;
}

.highlight {
  background-color: #ffeb3b;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
}

.category-title,
.faq-question,
.expand-all button {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .container {
    padding: 25px;
  }

  .header h1 {
    font-size: 26px;
  }

  .category-title {
    font-size: 17px;
    padding: 15px 18px;
  }

  .faq-question {
    font-size: 15px;
    padding: 16px;
  }

  .expand-all button {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .logo-container {
    max-width: 250px;
  }

  .footer-logo {
    max-width: 120px;
    margin: 40px auto 30px;
  }
}