/* ============================================================
   styles.css — PonleWeb
   Estilos compartidos: reset, variables, cursor, nav, botones,
   footer, tipografía base y estilos de páginas legales.
   ============================================================ */

/* RESET + VARIABLES
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #1A1A2E;
  --darker: #111122;
  --yellow: #F7C948;
  --yellow-dark: #E0B030;
  --coral: #FF5C3A;
  --coral-dark: #E04828;
  --white: #FAFAF7;
  --off: #F0EFE8;
  --mid: #6B6B80;
  --light: #E2E2DA;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(250,250,247,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--dark);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.nav-logo span {
  background: var(--yellow);
  padding: 0 4px;
  border-radius: 4px;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--mid);
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }
.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s !important;
  display: inline-block;
}
.nav-cta:hover { background: var(--coral-dark) !important; transform: translateY(-1px); }


/* BOTONES GLOBALES
   ============================================================ */
.btn-main {
  background: var(--coral);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
  transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-main:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  padding: 1rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
  transition: all 0.15s;
}
.btn-outline:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); background: var(--off); }

.btn-white {
  background: var(--white);
  color: var(--dark);
  padding: 1rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1rem;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
  transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-white:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1rem;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  transition: all 0.15s;
}
.btn-dark:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(0,0,0,0.4); }


/* TIPOGRAFÍA COMPARTIDA
   ============================================================ */
.section-tag {
  display: inline-block;
  background: var(--dark);
  color: var(--yellow);
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}
.big-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.03em;
}


/* FOOTER
   ============================================================ */
footer {
  background: var(--darker);
  padding: 2rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--white); text-decoration: none;
}
.footer-logo span { background: var(--yellow); color: var(--dark); padding: 0 4px; border-radius: 4px; }
footer p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }


/* PÁGINAS LEGALES (privacidad y términos)
   ============================================================ */
.page-hero {
  padding: 9rem 3rem 5rem;
  border-bottom: 2px solid var(--dark);
  position: relative;
  overflow: hidden;
}
.page-hero-inner { max-width: 800px; position: relative; z-index: 1; }

.page-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  border: 2px solid var(--dark);
  background: var(--yellow);
  color: var(--dark);
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.7;
}

.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 3rem 6rem;
}

.update-note {
  background: var(--yellow);
  border: 2px solid var(--dark);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  margin-bottom: 3rem;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 600;
}

.section-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--light);
}
.section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.content-wrap h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.content-wrap p {
  font-size: 0.97rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 0.85rem;
}
.content-wrap p:last-child { margin-bottom: 0; }
.content-wrap p strong { color: var(--dark); font-weight: 700; }

.content-wrap ul {
  list-style: none;
  margin: 0.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.content-wrap ul li {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  padding-left: 1.4rem;
  position: relative;
}
.content-wrap ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.info-card,
.highlight-box {
  background: var(--off);
  border: 2px solid var(--dark);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  margin-top: 1.2rem;
}
.info-card p,
.highlight-box p {
  font-size: 0.93rem;
  margin-bottom: 0.5rem;
}
.info-card p:last-child,
.highlight-box p:last-child { margin-bottom: 0; }

.warning-box {
  background: var(--yellow);
  border: 2px solid var(--dark);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  margin: 1.2rem 0;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.6;
}


/* MOBILE
   ============================================================ */
@media (max-width: 860px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  footer { padding: 1.5rem; flex-direction: column; text-align: center; }

  /* Páginas legales mobile */
  .page-hero { padding: 7rem 1.5rem 3.5rem; }
  .content-wrap { padding: 3rem 1.5rem 4rem; }
}
