/* ══════════════════════════════════════════════════════
   LaboraYa — Info.css
══════════════════════════════════════════════════════ */

body { background: var(--gray-50); }

/* ── HEADER ── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.info-back {
  font-size: .875rem; font-weight: 600; color: var(--gray-600);
  transition: color .2s;
}
.info-back:hover { color: var(--orange); }

/* ── LAYOUT ── */
.info-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 24px 4rem;
  gap: 3rem;
  align-items: start;
}

/* ── SIDEBAR ── */
.info-sidebar {
  position: sticky;
  top: 88px;
}
.info-nav {
  display: flex; flex-direction: column; gap: .25rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem .75rem;
}
.info-nav-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem; font-weight: 600;
  color: var(--gray-600);
  transition: background .2s, color .2s;
}
.info-nav-item:hover { background: var(--gray-50); color: var(--orange); }
.info-nav-item.active { background: var(--orange-m); color: var(--orange); }

/* ── SECCIONES ── */
.info-content { display: flex; flex-direction: column; gap: 3rem; }

.info-section {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.info-section-header {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--gray-900) 0%, #2D1A0E 100%);
}
.info-icon { font-size: 2.5rem; }
.info-section-header h1 {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); margin-bottom: .25rem;
}
.info-fecha { font-size: .78rem; color: rgba(255,255,255,.5); }

.info-body {
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.info-body p { font-size: .9rem; line-height: 1.8; color: var(--gray-700); }
.info-body h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--gray-900); margin-top: .5rem;
  padding-left: .75rem;
  border-left: 3px solid var(--orange);
}

/* ── TABLA COOKIES ── */
.info-table {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-table-row {
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  padding: .75rem 1rem;
  font-size: .85rem; gap: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.info-table-row:last-child { border-bottom: none; }
.info-table-row.header {
  background: var(--gray-50);
  font-weight: 700; color: var(--gray-500);
  font-size: .75rem; text-transform: uppercase;
}

/* ── FAQ ── */
.faq-group { display: flex; flex-direction: column; gap: .5rem; }
.faq-group h3 {
  font-size: .9rem; font-weight: 700;
  color: var(--orange); margin-bottom: .25rem;
  border: none; padding: 0;
}
.faq-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--orange); }
.faq-pregunta {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  background: transparent; border: none;
  font-family: var(--font-body); font-size: .875rem; font-weight: 600;
  color: var(--gray-900); cursor: pointer; text-align: left;
  transition: background .2s;
}
.faq-pregunta:hover { background: var(--gray-50); }
.faq-item.open .faq-pregunta { background: var(--orange-l); color: var(--orange); }
.faq-pregunta span {
  font-size: 1.25rem; font-weight: 400;
  color: var(--orange); flex-shrink: 0;
}
.faq-respuesta {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  padding: 0 1.25rem;
}
.faq-item.open .faq-respuesta {
  max-height: 300px;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--orange-m);
}
.faq-respuesta p { font-size: .875rem; color: var(--gray-600); line-height: 1.7; }

/* ── SOPORTE ── */
.soporte-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: 1.5rem;
}
.soporte-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.soporte-ico { font-size: 2rem; }
.soporte-card h4 { font-size: .9rem; font-weight: 700; color: var(--gray-900); }
.soporte-card p { font-size: .82rem; color: var(--gray-600); line-height: 1.6; flex: 1; }
.soporte-badge {
  display: inline-block; padding: .25rem .65rem;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: var(--gray-200); color: var(--gray-600);
  width: fit-content;
}
.soporte-disponible { background: var(--green-l); color: var(--green); }
.soporte-aviso {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--orange-l);
  border: 1.5px solid rgba(255,87,34,.2);
  border-radius: var(--radius);
  font-size: .875rem; color: var(--gray-700); line-height: 1.6;
}
.soporte-aviso span { font-size: 1.25rem; flex-shrink: 0; }

/* ── CONTACTO ── */
.contacto-form {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.contacto-field { display: flex; flex-direction: column; gap: .35rem; }
.contacto-field label { font-size: .8rem; font-weight: 700; color: var(--gray-700); }
.contacto-field input,
.contacto-field select,
.contacto-field textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: .9rem;
  color: var(--gray-900); outline: none;
  background: var(--white);
  transition: border-color .2s;
}
.contacto-field input:focus,
.contacto-field select:focus,
.contacto-field textarea:focus { border-color: var(--orange); }
.contacto-field textarea { resize: vertical; min-height: 120px; }
.contacto-btn {
  padding: .85rem 1.75rem;
  background: var(--orange); color: var(--white);
  border: none; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: background .2s;
  box-shadow: 0 2px 8px rgba(255,87,34,.3);
  width: fit-content;
}
.contacto-btn:hover { background: var(--orange-d); }

.contacto-info {
  display: flex; flex-direction: column; gap: .75rem;
}
.contacto-info-item {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .875rem;
}
.contacto-info-item span { font-size: 1.25rem; flex-shrink: 0; }
.contacto-info-item strong { display: block; font-weight: 700; color: var(--gray-900); }
.contacto-info-item p { color: var(--gray-600); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .info-layout { grid-template-columns: 1fr; padding-top: 80px; }
  .info-sidebar { position: static; }
  .soporte-grid { grid-template-columns: 1fr; }
  .info-table-row { grid-template-columns: 1fr; }
}