@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Poppins:wght@400;500;600&family=Roboto:wght@400;500&display=swap');

:root { --verde-principal: #008000; }

body { font-family: 'Roboto', sans-serif; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; }

/* NAVBAR */
.custom-navbar { background-color: var(--verde-principal) !important; }

.custom-navbar .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 15px;
  color: rgba(255,255,255,0.7) !important;
  transition: all 0.3s ease;
  position: relative;
}

.custom-navbar .nav-link:hover { color: #fff !important; }
.custom-navbar .nav-link.active { color: #fff !important; font-weight: 700; }

@media (min-width: 992px) {
  .custom-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    bottom: 10px;
    left: 0;
    border-radius: 2px;
  }
}

@media (max-width: 991.98px) {
  .custom-navbar .navbar-collapse {
    background-color: var(--verde-principal);
    padding: 20px;
    border-radius: 0 0 15px 15px;
  }
  .custom-navbar .nav-link { margin: 4px 0; padding: 8px 12px; }
  .custom-navbar .nav-link.active::after { display: none; }
}

/* HERO */
.soporte-hero {
  margin-top: 75px;
  background: url('contenidos/fondo.jpeg') center center / cover no-repeat;
  min-height: calc(100vh - 75px - 130px);
  display: flex;
  flex-direction: column;
}

.soporte-overlay {
  background-color: rgba(0,0,0,0.55);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  gap: 30px;
}

/* TÍTULO */
.soporte-titulo {
  background-color: rgba(0,0,0,0.45);
  border-radius: 10px;
  padding: 20px 30px;
  max-width: 750px;
  width: 100%;
}

.soporte-titulo h2 { color: white; font-size: 1.6rem; }
.texto-sub { color: rgba(255,255,255,0.9); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* CONTENIDO */
.soporte-contenido { width: 100%; }

/* FAQ */
.faq-card {
  background-color: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(4px);
  color: white;
  height: 100%;
}

.faq-item {
  background: transparent;
  border: none;
  margin-bottom: 8px;
}

.faq-btn {
  background-color: rgba(255,255,255,0.2) !important;
  color: white !important;
  border-radius: 6px !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  border: none !important;
  box-shadow: none !important;
}

.faq-btn:not(.collapsed) {
  background-color: rgba(255,255,255,0.3) !important;
}

.faq-btn::after { filter: invert(1); }

.faq-body {
  background-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  border-radius: 0 0 6px 6px;
  line-height: 1.6;
}

/* FORMULARIO */
.contacto-card {
  background-color: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(4px);
  color: white;
  height: 100%;
}

.input-soporte {
  width: 100%;
  background-color: rgba(255,255,255,0.85);
  border: none;
  border-radius: 6px;
  padding: 12px 14px;
  color: #333;
  font-size: 0.9rem;
  outline: none;
  font-family: 'Roboto', sans-serif;
  resize: none;
}

.input-soporte::placeholder { color: #888; }
.input-soporte:focus { background-color: #fff; }

.btn-enviar {
  background-color: var(--verde-principal);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s;
  letter-spacing: 0.5px;
}

.btn-enviar:hover { background-color: #006600; }

/* ERROR */
.texto-error {
  color: #ff6b6b;
  font-size: 0.82rem;
  min-height: 18px;
  margin: 0;
}

/* ÉXITO */
.exito-mensaje {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exito-caja {
  background: white;
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  max-width: 380px;
  width: 90%;
}

/* FOOTER */
footer { background-color: #008000; }
footer a { text-decoration: none; }

@media (max-width: 991.98px) {
  .soporte-titulo h2 { font-size: 1.3rem; }
  .soporte-hero { min-height: auto; }
}

@media (max-width: 575.98px) {
  .soporte-titulo { padding: 16px; }
  .soporte-titulo h2 { font-size: 1.1rem; }
  .faq-card, .contacto-card { padding: 16px; }
  footer .row > div { text-align: center !important; }
  footer img { height: 50px !important; }
}