/* custom.css — Animaciones, blueprint grid, overrides CF7/GLightbox */

/* ── Mobile nav ──────────────────────────────────────────── */
.site-nav.is-open { display: block !important; }

/* ── Blueprint grid background ───────────────────────────── */
.blueprint-grid {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Animaciones ─────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fadein {
  animation: fadein 0.8s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .animate-float,
  .animate-fadein {
    animation: none;
  }
}

/* ── Logo glow (coming-soon) ─────────────────────────────── */
.logo-glow::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Gradiente divisor ───────────────────────────────────── */
.divider-gradient {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563EB, transparent);
}

/* ── Contact Form 7 ──────────────────────────────────────── */
.wpcf7-form p {
  margin-bottom: 0.75rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0B1E3D;
  transition: border-color 0.2s;
  background: #fff;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  background: #2563EB;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7 input[type="submit"]:hover {
  background: #0B1E3D;
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* ── Single post content ─────────────────────────────────── */
.hgic-entry-content h2,
.hgic-entry-content h3 {
  color: #0B1E3D;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.hgic-entry-content h2 { font-size: 1.5rem; }
.hgic-entry-content h3 { font-size: 1.2rem; }

.hgic-entry-content p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.hgic-entry-content a {
  color: #2563EB;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hgic-entry-content ul,
.hgic-entry-content ol {
  color: #475569;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.hgic-entry-content ul { list-style: disc; }
.hgic-entry-content ol { list-style: decimal; }

.hgic-entry-content blockquote {
  border-left: 3px solid #2563EB;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: #64748b;
  font-style: italic;
}

.hgic-entry-content img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

.hgic-entry-content figure {
  margin: 1.5rem 0;
}

.hgic-entry-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* ── GLightbox caption ───────────────────────────────────── */
.glightbox-clean .gslide-description {
  background: #0B1E3D;
}
