/**
 * dach-theme.css — Estilos globales del tema DACH Institute
 * Animaciones, variables y clases especiales que Tailwind CDN no puede generar.
 */

/* ── Variables CSS globales ──────────────────── */
:root {
  --color-primary:   #CF433F;
  --color-secondary: #FBC12D;
  --color-surface:   #fcf9f8;
}

/* ── Animación: CTA Pulse ────────────────────── */
.cta-pulse {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(207, 67, 63, 0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(207, 67, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 67, 63, 0); }
}

/* ── Texto con brillo ────────────────────────── */
.text-glow {
  text-shadow: 0 0 25px rgba(207, 67, 63, 0.4);
}

/* ── Noise overlay (sección hero) ───────────── */
.noise-overlay {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* ── Scrollbar oculta ────────────────────────── */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Grid editorial 12 columnas ─────────────── */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* ── Hero Slider ─────────────────────────────── */
.hero-slide {
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-bg {
  transition: transform 8s ease-out;
}

/* ── Menú activo en mobile ───────────────────── */
#dach-nav-mobile.is-open {
  display: block;
}

/* ── Elementor: asegurar ancho completo ─────── */
.elementor-section.elementor-section-full_width .elementor-container {
  max-width: 100%;
}

/* ── Ocultar el título de la página en Elementor */
.elementor-page .entry-title {
  display: none;
}

/* ── Smooth scroll ───────────────────────────── */
html {
  scroll-behavior: smooth;
}

/* ── Focus visible accesible ─────────────────── */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
