/* ── terminos.css — Wooden House ─────────────────────────────────
   Estilos específicos de la página /terminos.
   Requiere: variables.css + styles.css
   ──────────────────────────────────────────────────────────────── */

/* ── Override header (más compacto en esta página) ── */
.header-nav {
  padding: 0 32px;
  background: var(--color-surface, #242424);
  border-bottom: 1px solid #2e2e2e;
  box-shadow: none;
}

.header-nav .logo img {
  height: 70px;
  display: block;
}

.nav-links {
  gap: 24px;
}

.nav-links a {
  color: var(--color-text-muted, #a0a0a0);
  font-size: 14px;
  font-weight: normal;
}

.nav-links a:hover {
  color: var(--color-primary, #8b7355);
}

/* ── Override footer (más oscuro y sutil en esta página) ── */
.footer {
  background: #141414;
  padding: 28px 24px;
  color: #666;
  font-size: 13px;
  border-top: 1px solid #2a2a2a;
  margin-top: 0;
}

.footer p {
  color: #666;
  font-size: 13px;
}

.footer a {
  color: var(--color-primary, #8b7355);
  text-decoration: none;
}

/* ── Contenido ── */
.page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2e2e2e;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary, #8b7355);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--color-text-muted, #a0a0a0);
  font-size: 14px;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary, #8b7355);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.section h2 i {
  font-size: 14px;
  opacity: .8;
}

.section p,
.section li {
  font-size: 14px;
  color: var(--color-text-muted, #b0b0b0);
  margin-bottom: 8px;
}

.section ul {
  padding-left: 20px;
}

.section ul li {
  margin-bottom: 6px;
}

.highlight-box {
  background: #242424;
  border-left: 3px solid var(--color-primary, #8b7355);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 13px;
  color: var(--color-text-muted, #a0a0a0);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .header-nav { padding: 10px 16px; }
  .nav-links   { display: none; }
  .footer      { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .page-wrap   { padding: 32px 20px 80px; }
}

@media (max-width: 640px) {
  .page-wrap      { padding: 24px 16px 80px; }
  .page-header    { margin-bottom: 28px; padding-bottom: 20px; }
  .page-header h1 { font-size: 22px; }
  .section        { margin-bottom: 28px; }
  .section h2     { font-size: 15px; }
}

@media (max-width: 480px) {
  .page-wrap      { padding: 18px 12px 80px; }
  .page-header h1 { font-size: 19px; }
  .page-header p  { font-size: 13px; }
  .section h2     { font-size: 14px; gap: 7px; }
  .section p,
  .section li     { font-size: 13px; }
  .highlight-box  { padding: 12px 14px; font-size: 12px; }
  .footer         { padding: 16px 12px; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
  .page-wrap      { padding: 14px 10px 80px; }
  .page-header h1 { font-size: 17px; }
  .section h2     { font-size: 13px; }
  .section p,
  .section li     { font-size: 12px; }
}
