Library
/
QuoteForge
/
legal-actualizado.css


/* =========================================================
   QuoteForge — Legal pages (privacidad / términos / cookies)
   Legal-page styles built on QuoteForge's design tokens
   (css/styles.css), using the same token names:
     --page-bg     → --bg-0
     --page-text   → --text
     --page-text-2 → --text-2
     --page-border → --line-strong
   Lives in pages/ because the shared css/ folder must not be
   modified; the three legal pages link it directly.
   ========================================================= */

.bt-legal-page {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(107, 137, 178, 0.16), transparent 62%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg-0);
  background-size: auto, 48px 48px, 48px 48px, auto;
  color: var(--text);
}

.bt-legal-hero {
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--line-strong);
}

.bt-legal-hero h1 {
  max-width: 1100px;
  margin: var(--space-5) 0 var(--space-5);

  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.07em;

  color: var(--text);
}

.bt-legal-hero h1 span {
  background: linear-gradient(110deg, var(--steel) 0%, var(--steel-soft) 48%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bt-legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.65;
}

.bt-legal-content {
  padding-block: var(--space-8) var(--space-9);
}

.bt-legal-container {
  max-width: 980px;
}

/* --bg-card already adapts to light/dark, so one rule covers both themes. */
.bt-legal-card {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-2xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.bt-legal-updated {
  margin: 0 0 var(--space-7);
  color: var(--steel-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.bt-legal-card h2 {
  margin: var(--space-7) 0 var(--space-3);
  font-family: var(--font-display);
  color: var(--text);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.bt-legal-card h2:first-of-type {
  margin-top: 0;
}

.bt-legal-card p {
  max-width: 780px;
  margin-top: 20px;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
}

.bt-legal-card a {
  color: var(--steel-soft);
  font-weight: 600;
  text-decoration: none;
}

.bt-legal-card a:hover {
  color: var(--text);
}

/* =========================================================
   Contact form (contacto.html) — built on the same tokens.
   ========================================================= */
.bt-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.bt-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.bt-field label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.bt-field-optional {
  color: var(--text-3);
  font-weight: 400;
}

.bt-field input,
.bt-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bt-field input::placeholder,
.bt-field textarea::placeholder {
  color: var(--text-3);
}

.bt-field textarea {
  min-height: 130px;
  resize: vertical;
}

.bt-field input:focus,
.bt-field textarea:focus {
  outline: none;
  border-color: var(--steel-soft);
  box-shadow: 0 0 0 3px var(--info-soft);
}

.bt-contact-form .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* Overrides the .bt-legal-card p defaults (left-aligned, max-width 780). */
.bt-contact-alt {
  max-width: none;
  margin: var(--space-6) 0 0;
  text-align: center;
  font-size: 15px;
}

/* Mobile */
@media (max-width: 560px) {
  .bt-legal-hero {
    padding-block: var(--space-7) var(--space-6);
  }

  .bt-legal-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .bt-legal-card {
    padding: 24px 20px;
    border-radius: var(--radius-xl);
  }

  .bt-legal-card p {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* Contact page layout */
.bt-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.bt-contact-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-1);
}

.bt-contact-actions .btn {
  margin-top: 0;
}

.bt-contact-status {
  max-width: none;
  margin: 0;
  text-align: center;
  line-height: 1.6;
  white-space: pre-line;
}

@media (max-width: 720px) {
  .bt-contact-row {
    grid-template-columns: 1fr;
  }

  .bt-contact-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
