/* ==========================================================================
   VENDESPY — PÁGINA DE POLÍTICA DE PRIVACIDAD
   Misma línea de colores de la landing (Midnight Navy + Azul Eléctrico)
   ========================================================================== */

/* Menú móvil desplegable (igual que en /contacto) */
@media (max-width: 768px) {
  .navbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #040D1A;
    border-bottom: 1px solid rgba(0, 102, 255, 0.25);
    padding: 1rem 1.5rem 1.25rem;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .navbar.nav-open .nav-links a {
    font-size: 1rem;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.privacy-hero {
  padding: 6rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(0, 102, 255, 0.22) 0%, rgba(0, 102, 255, 0) 60%),
    var(--bg-dark);
  text-align: center;
}

.privacy-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.privacy-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin: 1.25rem 0 0.4rem;
}

.privacy-hero-date {
  color: #00D2FF;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 1.5rem;
}

.privacy-hero-subtitle {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.privacy-section {
  padding: 3rem 0;
}

.privacy-section .section-header {
  margin-bottom: 2rem;
}

/* Resumen */
.privacy-summary-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.07), rgba(0, 102, 255, 0.05));
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  position: relative;
  overflow: hidden;
}

.privacy-summary-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00D2FF, transparent);
}

.privacy-summary-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #00D2FF;
}

.privacy-summary-box p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.privacy-summary-box p b {
  color: var(--text-main);
}

/* ==========================================================================
   TABLA DE DATOS
   ========================================================================== */
.privacy-table-wrap {
  max-width: 980px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 620px;
}

.privacy-table thead th {
  background: rgba(0, 102, 255, 0.15);
  color: #00D2FF;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 102, 255, 0.35);
  white-space: nowrap;
}

.privacy-table tbody td {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
  vertical-align: top;
}

.privacy-table tbody tr:last-child td {
  border-bottom: none;
}

.privacy-table tbody tr {
  transition: var(--transition);
}

.privacy-table tbody tr:hover {
  background: rgba(0, 102, 255, 0.06);
}

.privacy-table tbody td:first-child {
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   TARJETAS (terceros)
   ========================================================================== */
.privacy-card-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  transition: var(--transition);
}

.privacy-card:hover {
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.12);
}

.privacy-card-head {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.privacy-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.privacy-card p b {
  color: var(--text-main);
}

/* ==========================================================================
   LO QUE NO HACE
   ========================================================================== */
.privacy-not-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.privacy-not-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.check-badge {
  font-size: 1.15rem;
  line-height: 1.4;
}

.privacy-not-item p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.privacy-not-item p b {
  color: var(--text-main);
}

/* ==========================================================================
   PERMISOS
   ========================================================================== */
.privacy-perm-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.perm-item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}

.perm-item code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #00D2FF;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid var(--border-cyan);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.perm-item p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ==========================================================================
   CONTROLES
   ========================================================================== */
.privacy-controls {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.control-item {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}

.control-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.14);
}

.control-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.control-item p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
}

.control-item p b {
  color: var(--text-main);
}

/* ==========================================================================
   CONTACTO DE PRIVACIDAD
   ========================================================================== */
.privacy-contact {
  padding-bottom: 5rem;
}

.privacy-contact-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.12), rgba(0, 210, 255, 0.06));
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.privacy-contact-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00D2FF, transparent);
}

.privacy-contact-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.privacy-contact-box p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto 1.75rem;
  max-width: 560px;
}

.privacy-contact-box a {
  color: #00D2FF;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .privacy-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 4.5rem 0 2.5rem;
  }
  .privacy-not-grid {
    grid-template-columns: 1fr;
  }
  .perm-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .privacy-table tbody td:first-child {
    white-space: normal;
  }
}
