/* ======================================================
   Estela.app – Condiciones del Servicio SaaS
   Hoja de estilos v2.3 – Fondo estrellado fix (path absoluto)
   Fecha: 11 julio 2025
   ====================================================== */

/* ------------------ Reset ------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ------------------ Variables & Base ------------------ */
:root {
  --c-primary: #00aaff;
  --c-primary-dark: #0077cc;
  --c-border: #ffffff2b;
  --c-text: #f0f0f0;
  --c-text-muted: #bcbcbc;
  --c-shadow: rgba(0, 170, 255, 0.35);
  --c-surface: rgba(0, 0, 0, 0.55);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", Arial, sans-serif;
  background: url("/recursos/imagenes/fondo_estelado.png") no-repeat center/cover fixed;
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: -1;
}

/* ------------------ Layout ------------------ */
.container {
  max-width: 820px;
  margin: 80px auto 96px;
  padding: 2rem 1.75rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  animation: fadeInUp 0.7s ease forwards;
}
@media (max-width: 768px) {
  .container { margin: 64px 1rem 72px; padding: 1.5rem 1rem; }
}

header { text-align: center; margin-top: 40px; }
header .logo img { width: 140px; height: auto; opacity: 0.95; filter: drop-shadow(0 0 8px rgba(0,0,0,0.6)); }

/* ------------------ Typography ------------------ */
h1, h2, h3, h4 {
  color: #fff;
  margin-top: 0;
  font-weight: 600;
}

h1 { font-size: 2.3rem; margin-bottom: 1.25rem; }
@media (max-width: 768px) { h1 { font-size: 1.9rem; } }

h2 {
  font-size: 1.4rem;
  margin: 2.4rem 0 1.1rem;
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 0.4rem;
}

p { margin: 0 0 1.25rem 0; }
ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }

/* ------------------ Links & Buttons ------------------ */
a { color: var(--c-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--c-primary-dark); text-decoration: underline; }

/* ------------------ Animations ------------------ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
