/* ── Global utilities usadas por los bloques del tema ── */

/* Eyebrow */
.ag-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #E5267B;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ag-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: #E5267B;
}

/* Botones globales (heredados del estático) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 53px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  white-space: nowrap;
  cursor: pointer;
}
.btn--brand {
  background: #E5267B;
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(229,38,123,.55);
}
.btn--brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(229,38,123,.65);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: #0A0B1A;
  border: 1.5px solid rgba(10,11,26,.18);
}
.btn--ghost:hover {
  border-color: #0A0B1A;
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 13px; }

/* WP button block con clase btn--brand */
.wp-block-button.btn--brand .wp-block-button__link {
  background: #E5267B;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 53px;
  padding: 0 26px;
  border-radius: 999px !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 12px 28px -12px rgba(229,38,123,.55);
  transition: transform .25s, box-shadow .25s;
}
.wp-block-button.btn--brand .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(229,38,123,.65);
  color: #fff !important;
}

/* Header */
.ag-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 100px;
  background: rgba(246,245,241,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10,11,26,.06);
  padding: 0 clamp(20px, 8vw, 155px);
}
.ag-header .wp-block-navigation a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #0A0B1A;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 999px;
  transition: color .15s;
}
.ag-header .wp-block-navigation a:hover,
.ag-header .wp-block-navigation .current-menu-item > a { color: #E5267B; }

/* Footer */
.ag-footer {
  background: #fff;
  border-top: 1px solid rgba(10,11,26,.1);
  padding: 64px 0 0;
}
.ag-footer__main { padding-bottom: 48px; flex-wrap: wrap; gap: 40px; }
.ag-footer__desc { font-size: 14px; color: #4A4D63; line-height: 1.55; max-width: 300px; margin: 12px 0 24px; }
.ag-footer__contact-info { display: flex; flex-direction: column; gap: 8px; }
.ag-footer__contact-info a { font-size: 14px; color: #0A0B1A; text-decoration: none; font-weight: 500; }
.ag-footer__contact-info a:hover { color: #E5267B; }
.ag-footer__contact-info p { font-size: 13px; color: #6B6E88; margin: 0; }
.ag-footer__nav .wp-block-navigation a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #4A4D63;
  text-decoration: none;
  line-height: 2;
  display: block;
}
.ag-footer__nav .wp-block-navigation a:hover { color: #E5267B; }
.ag-footer__bottom {
  border-top: 1px solid rgba(10,11,26,.08);
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.ag-footer__copyright { font-size: 13px; color: #6B6E88; margin: 0; }
.ag-footer__legal-nav .wp-block-navigation a { font-size: 13px; color: #6B6E88; text-decoration: none; padding: 0 10px; }
.ag-footer__legal-nav .wp-block-navigation a:hover { color: #E5267B; }

/* Reveal animation */
[data-reveal] { opacity: 1; transform: translateY(16px); transition: transform .7s cubic-bezier(.2,.7,.2,1); will-change: transform; }
[data-reveal].ag-in { transform: none; }
[data-reveal][data-reveal-delay="80"]  { transition-delay: .08s; }
[data-reveal][data-reveal-delay="100"] { transition-delay: .10s; }
[data-reveal][data-reveal-delay="120"] { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { transition: none; transform: none; } }

/* Blog */
.ag-post-card img { width: 100%; border-radius: 12px; margin-bottom: 12px; }
.ag-post-card .wp-block-post-title a { font-family: 'Sora', sans-serif; color: #0A0B1A; text-decoration: none; font-size: 18px; }
.ag-archive-title { font-family: 'Sora', sans-serif; font-size: 40px; color: #0A0B1A; margin-bottom: 40px; }
