/* =====================================================================
   FAQ NUBENET — diseño moderno (mismo sistema que nubenet.com.ar)
   ===================================================================== */

@font-face {
  font-family: 'Guton';
  src: url('fonts/Guton-Bold.woff2') format('woff2'),
       url('fonts/Guton-Bold.woff')  format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-0:   #07142d;
  --bg-1:   #0a1f44;
  --bg-2:   #122e5f;
  --accent: #66b2e5;
  --accent-2: #75b8e4;
  --accent-grad: linear-gradient(135deg, #66b2e5 0%, #3679c5 100%);
  --text:   #f1f5fb;
  --text-dim: #a9b8cf;
  --card-bg: rgba(255,255,255,.04);
  --card-bg-hover: rgba(255,255,255,.07);
  --border: rgba(255,255,255,.08);
  --shadow: 0 18px 40px rgba(0,0,0,.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(ellipse at top, var(--bg-2) 0%, var(--bg-1) 35%, var(--bg-0) 100%) fixed;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: clip;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.bg-orbs {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.bg-orbs::before, .bg-orbs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.bg-orbs::before {
  width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
  background: #66b2e5; opacity: .30;
  top: 0; left: 0; transform: translate(-25%, -25%);
}
.bg-orbs::after {
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: #3679c5; opacity: .22;
  bottom: 0; right: 0; transform: translate(25%, 25%);
}

/* =================== HEADER =================== */
.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.site-header .logo img { height: 42px; }
.site-header nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-header nav a { color: var(--text-dim); font-size: .92rem; }
.site-header nav a:hover { color: var(--accent); text-decoration: none; }

/* =================== HERO + BUSCADOR =================== */
.faq-hero {
  width: 100%;
  max-width: 760px;
  text-align: center;
  padding: 2.5rem 1.25rem 1.5rem;
}
.faq-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: .6rem;
  background: linear-gradient(135deg, #ffffff, #9bd3ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.faq-hero p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 1.5rem; }

.search-box {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.search-box input {
  width: 100%;
  padding: .95rem 1rem .95rem 3rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: none;
  transition: border-color .25s, background .25s;
  font-family: inherit;
}
.search-box input::placeholder { color: var(--text-dim); }
.search-box input:focus { border-color: var(--accent); background: var(--card-bg-hover); }
.search-box .search-icon {
  position: absolute;
  left: 1.1rem; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  fill: var(--text-dim);
}

/* =================== CHIPS DE CATEGORÍA =================== */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  max-width: 900px;
  margin: 1.5rem auto .5rem;
  padding: 0 1rem;
}
.cat-chip {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .85rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}
.cat-chip:hover { color: var(--text); border-color: var(--accent); }
.cat-chip.active { background: var(--accent-grad); color: #fff; border-color: transparent; }

/* =================== CONTENIDO FAQ =================== */
.faq-main {
  width: 100%;
  max-width: 820px;
  padding: 1.5rem 1.25rem 3rem;
}
.faq-category { margin-bottom: 2.2rem; }
.faq-category h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
}
.faq-category h2 .cat-emoji { font-size: 1.4rem; }

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: .9rem;
  margin-bottom: .6rem;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item:hover { border-color: rgba(102,178,229,.4); }
.faq-item.open { border-color: var(--accent); background: var(--card-bg-hover); }

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.05rem 3rem 1.05rem 1.15rem;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.4;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 1.15rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .25s;
}
.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--text-dim);
  padding: 0 1.15rem;
  font-size: .96rem;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 1.15rem 1.15rem; }
.faq-a a { color: var(--accent); }
.faq-a strong { color: var(--text); }
.faq-a br { content: ""; display: block; margin: .25rem 0; }

/* mensaje "sin resultados" */
.no-results {
  text-align: center;
  color: var(--text-dim);
  padding: 2rem;
  font-size: 1.05rem;
  display: none;
}
.no-results.show { display: block; }

/* highlight de búsqueda */
mark { background: rgba(102,178,229,.35); color: #fff; border-radius: 3px; padding: 0 2px; }

/* =================== CTA CONTACTO =================== */
.faq-cta {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
  background: var(--accent-grad);
  border-radius: 1.1rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.faq-cta h3 { font-size: 1.4rem; color: #fff; margin-bottom: .5rem; }
.faq-cta p { color: rgba(255,255,255,.9); margin-bottom: 1.2rem; }
.faq-cta .cta-buttons { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-white { background: #fff; color: var(--bg-1); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.4); }

/* =================== FOOTER =================== */
.site-footer {
  width: 100%;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-dim);
  font-size: .85rem;
  border-top: 1px solid var(--border);
}
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--accent); }

/* =================== RESPONSIVE =================== */
@media (max-width: 560px) {
  .site-header { justify-content: center; }
  .faq-q { font-size: .95rem; padding-right: 2.6rem; }
  .faq-item.open .faq-a { max-height: 900px; }
}
