/* ==============================
   PRIVACIDAD PAGE
   ============================== */

.privacy-page {
  background: var(--color-bg, #f5f0e8);
  color: var(--color-text, #1a1a14);
}

.privacy-page__container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.privacy-page__content {
  width: min(760px, 100%);
  margin-right: auto;
}

.privacy-page__content--grid {
  width: 100%;
}

.privacy-page__closing .privacy-page__content {
  width: 100%;
  max-width: none;
}

.privacy-page__hero {
  padding: clamp(7rem, 13vw, 13rem) 0 clamp(3.5rem, 7vw, 7rem);
}

.privacy-page__hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.privacy-page__hero p {
  max-width: 640px;
  margin-top: 2rem;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.7;
  color: var(--color-muted);
}

.privacy-page__blocks {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.privacy-page__blocks .privacy-page__container {
  display: block;
}

.privacy-page__content--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.privacy-page__block {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(26, 26, 20, 0.1);
  background: rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.privacy-page__block::after {
  content: "";
  position: absolute;
  inset: auto 1.75rem 0.9rem 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(26, 26, 20, 0.18), rgba(26, 26, 20, 0));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.45s ease, opacity 0.35s ease;
  opacity: 0.55;
}

.privacy-page__block h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.privacy-page__block p {
  margin: 0;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  color: var(--color-muted);
}

.privacy-page__block p + p {
  margin-top: 1rem;
}

.privacy-page__block:hover {
  border-color: rgba(26, 26, 20, 0.18);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 34px rgba(26, 26, 20, 0.06);
}

.privacy-page__block:hover::after {
  transform: scaleX(1);
  opacity: 0.9;
}

.privacy-page__block a {
  color: var(--color-text);
  text-underline-offset: 3px;
}

.privacy-page__block a:hover {
  color: var(--color-muted);
}

.privacy-page__block code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(26, 26, 20, 0.06);
  padding: 0.1em 0.4em;
  border-radius: 2px;
}

.privacy-page__date {
  margin-top: 1.5rem !important;
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
  letter-spacing: 0.06em;
  opacity: 0.5;
}

.privacy-page__closing {
  padding: clamp(3.25rem, 6.5vw, 6.5rem) 0 clamp(4.5rem, 9vw, 8rem);
}

.privacy-page__actions {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .privacy-page__content--grid {
    grid-template-columns: 1fr;
  }

  .privacy-page__actions {
    flex-direction: column;
    gap: 1.25rem;
  }
}
