@charset "UTF-8";
/* ============================================================
   Sitio web público CPSC - estilos independientes del panel
   (no dependen del bundle de Tailwind del dashboard)
   ============================================================ */

:root {
  --accent: #1d4ed8;
  --accent-dark: #1e40af;
  --brand: #465fff;
  --brand-dark: #3641f5;
  --ink: #101828;
  --muted: #556580;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --border: #e4e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --font: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

.w-body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.w-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.w-narrow { max-width: 860px; }
.w-center { text-align: center; }
.w-mt-lg { margin-top: 32px; }

/* ---------------------------------------------------------- Header */
.w-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.w-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; height: 72px;
}
.w-brand { display: flex; align-items: center; flex-shrink: 0; }
.w-brand-logo { height: 48px; width: auto; }

.w-nav { flex: 1; }
.w-nav-list { display: flex; list-style: none; gap: 2px; align-items: center; }
.w-nav-link {
  display: block; padding: 10px 9px; text-decoration: none; white-space: nowrap;
  font-weight: 500; font-size: .9rem; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.w-nav-link:hover { background: var(--bg-alt); color: var(--accent); }
.w-nav-link.is-active { background: var(--bg-alt); color: var(--accent); }
.has-sub { position: relative; }
.has-sub > .w-nav-link::after { content: ' ▾'; opacity: .55; font-size: .7rem; }
.w-submenu {
  list-style: none; display: none; position: absolute; top: 100%; left: 0;
  min-width: 210px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow); padding: 8px 0;
}
.w-nav-item:hover .w-submenu { display: block; }
.w-submenu a {
  display: block; padding: 9px 18px; text-decoration: none; font-size: .92rem;
}
.w-submenu a:hover { background: var(--bg-alt); color: var(--accent); }
.w-submenu a.is-active { color: var(--accent); font-weight: 600; }

.w-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.w-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.w-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------------------------------------------------------- Hero */
.w-hero { position: relative; height: min(78vh, 640px); overflow: hidden; }
.w-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.w-hero-slide.is-active { opacity: 1; pointer-events: auto; }
.w-hero-bg { width: 100%; height: 100%; object-fit: cover; }
.w-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 18, 40, .78) 0%, rgba(10, 18, 40, .35) 60%, rgba(10, 18, 40, .15) 100%);
}
.w-hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; max-width: 1200px; margin: 0 auto; padding: 0 48px;
}
.w-hero-title {
  color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.12; font-weight: 700; max-width: 640px;
}
.w-hero-subtitle { color: rgba(255, 255, 255, .88); font-size: clamp(1rem, 2vw, 1.25rem); margin: 14px 0 24px; max-width: 560px; }
.w-hero-content .w-hero-slide > .w-hero-content > .w-btn { position: relative; }
.w-hero-content { align-items: flex-start; }
.w-hero-content > * { position: relative; z-index: 2; }

.w-hero-dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; z-index: 3;
}
/* Área táctil ≥24x24 (Lighthouse target-size); el punto visible se dibuja con ::before */
.w-hero-dots button {
  position: relative; width: 24px; height: 24px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; transition: .2s;
}
.w-hero-dots button::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .45); translate: -50% -50%;
  transition: .2s;
}
.w-hero-dots button:hover::before { background: rgba(255, 255, 255, .75); }
.w-hero-dots button.is-active::before { background: #fff; width: 22px; border-radius: 6px; }

/* ---------------------------------------------------------- Botones */
.w-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; font-family: var(--font);
  text-decoration: none; cursor: pointer; transition: .18s ease;
}
.w-btn-sm { padding: 8px 18px; font-size: .88rem; }
.w-btn-xs { padding: 4px 10px; font-size: .8rem; border-radius: 8px; }
.w-btn-lg { padding: 14px 32px; font-size: 1.02rem; }
.w-btn-accent {
  background: var(--brand); color: #fff; border-radius: 8px;
  padding: 9px 24px; font-size: .9rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}
.w-btn-accent:hover { background: var(--brand-dark); transform: translateY(-1px); }
.w-btn-outline {
  border-color: var(--accent); color: var(--accent); background: #fff;
  border-radius: 8px; padding: 9px 24px; font-size: .9rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}
.w-btn-outline:hover { background: var(--accent); color: #fff; }
.w-btn-light { background: #fff; color: var(--ink); }
.w-btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.w-btn-ghost { color: var(--muted); background: transparent; border-color: var(--border); }
.w-btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.w-btn-danger { background: #fee2e2; color: #b91c1c; }
.w-btn-danger:hover { background: #dc2626; color: #fff; }

/* ---------------------------------------------------------- Secciones */
.w-section { padding: 72px 0; }
.w-section-alt { background: var(--bg-alt); }
.w-main { min-height: 50vh; }

.w-gallery figcaption, .w-gallery-caption {
  font-size: .85rem; color: var(--text-muted, #5a6572); text-align: center; margin-top: 8px; padding: 0 8px;
}

/* Texto solo para lectores de pantalla/análisis SEO (no visible) */
.w-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Enlace "saltar al contenido" (accesibilidad): invisible salvo al navegar por teclado */
.w-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 0 0 6px 0; font-weight: 600;
}
.w-skip-link:focus { left: 0; text-decoration: none; }

.w-eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px;
}
.w-heading { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.2; }
.w-subheading { font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; }
.w-lead { color: var(--muted); font-size: 1.08rem; margin-top: 10px; }
.w-section .w-center + .w-grid-3,
.w-section .w-center + .w-grid-2,
.w-section .w-center + .w-timeline,
.w-section .w-center + .w-quick-links { margin-top: 36px; }

.w-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.w-checklist { list-style: none; margin: 22px 0; }
.w-checklist li { padding: 6px 0 6px 30px; position: relative; }
.w-checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  color: var(--accent); font-weight: 700;
}
.w-checklist { margin-bottom: 26px; }

.w-rounded-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------------------------------------------------------- Cards */
.w-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.w-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.w-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.w-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}
.w-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.w-card-body { padding: 22px; }
.w-card-img { width: 100%; height: 180px; object-fit: cover; }
.w-card-title { font-size: 1.08rem; font-weight: 700; margin: 6px 0 8px; }
.w-card-text { color: var(--muted); font-size: .95rem; }
.w-card-link .w-card-body { padding: 20px 24px; }
.w-more { color: var(--accent); font-weight: 600; font-size: .9rem; }
.w-meta { color: var(--muted); font-size: .84rem; }

/* ---------------------------------------------------------- Banda CTA */
.w-strip { background: var(--accent); color: #fff; padding: 34px 0; }
.w-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.w-strip-title { font-size: 1.5rem; font-weight: 700; }
.w-strip-text { opacity: .85; }

/* ---------------------------------------------------------- Pasos */
.w-steps {
  list-style: none; counter-reset: none;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 40px;
}
.w-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; position: relative; text-align: left;
}
.w-step-num {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  margin: 0 auto 14px;
}
.w-step { text-align: center; }
.w-step-num {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  margin: 0 auto 14px;
}
.w-step-title { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.w-step .w-card-text { text-align: left; }

/* ---------------------------------------------------------- Galería */
.w-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px;
}
.w-gallery-item { overflow: hidden; border-radius: 10px; cursor: pointer; }
.w-gallery-item img {
  width: 100%; height: 220px; object-fit: cover; transition: transform .35s ease;
}
.w-gallery-item:hover img { transform: scale(1.05); }
.w-gallery-wide { grid-column: span 2; }
.w-album { margin-bottom: 46px; }

/* ---------------------------------------------------------- Álbumes (eventos) */
.w-album-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px;
}
.w-album-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: block;
  transition: transform .18s ease, box-shadow .18s ease;
}
.w-album-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.w-album-card-media { position: relative; }
.w-album-card-media img { width: 100%; height: 200px; object-fit: cover; }
.w-album-card-placeholder {
  width: 100%; height: 200px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--accent); font-size: 3rem; font-weight: 800;
}
.w-album-card-count {
  position: absolute; bottom: 10px; right: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(10, 16, 40, .75); color: #fff; font-size: .78rem; font-weight: 600;
}
.w-album-card-body { padding: 18px 20px 20px; }
.w-album-card-title { font-size: 1.05rem; font-weight: 700; }
.w-album-card-date { display: inline-block; margin-top: 4px; color: var(--accent); font-size: .82rem; font-weight: 600; }
.w-album-card-text { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.w-album-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.w-album-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.w-album-date, .w-album-count {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-alt); color: var(--muted); font-size: .8rem; font-weight: 600;
}
.w-album-date { color: var(--accent); }

/* Lightbox navegable */
.w-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1;
  cursor: pointer; transition: background .15s ease; z-index: 2;
}
.w-lightbox-nav:hover { background: rgba(255, 255, 255, .25); }
.w-lightbox-prev { left: 18px; }
.w-lightbox-next { right: 18px; }
.w-lightbox-counter { margin-top: 8px; color: #dfe4ef; text-align: center; font-size: .85rem; }

@media (max-width: 1024px) {
  .w-album-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .w-album-grid { grid-template-columns: 1fr; }
  .w-lightbox-prev { left: 6px; }
  .w-lightbox-next { right: 6px; }
  .w-lightbox-nav { width: 38px; height: 46px; }
}

/* ---------------------------------------------------------- Cifras (stats) */
.w-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px;
}
.w-stat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 20px; text-align: center;
}
.w-stat-value {
  display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800;
  color: var(--accent); line-height: 1.1;
}
.w-stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }

/* ------------------------------------------------------ CTA central */
.w-cta-center { background: var(--bg-alt); padding: 64px 0; }
.w-cta-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.w-cta-text { color: var(--muted); margin: 12px 0 22px; }

/* ---------------------------------------------------------- FAQ */
.w-narrow { max-width: 780px; }
.w-faq { margin-top: 30px; display: grid; gap: 10px; }
.w-faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0;
}
.w-faq-item[open] { border-color: var(--accent); }
.w-faq-question {
  cursor: pointer; font-weight: 600; padding: 16px 20px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.w-faq-question::-webkit-details-marker { display: none; }
.w-faq-question::after { content: '+'; font-size: 1.3rem; color: var(--accent); }
.w-faq-item[open] .w-faq-question::after { content: '−'; }
.w-faq-answer { padding: 0 20px 16px; color: var(--muted); }

/* ---------------------------------------------------------- Testimonios */
.w-testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; margin: 0;
}
.w-testimonial-quote { margin: 0 0 18px; color: var(--ink); font-size: .97rem; line-height: 1.6; }
.w-testimonial-author { display: flex; align-items: center; gap: 12px; }
.w-testimonial-avatar {
  width: 44px; height: 44px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.w-testimonial-name { font-weight: 600; font-size: .92rem; }

/* ---------------------------------------------------------- Equipo */
.w-team-card { text-align: center; }
.w-team-photo {
  width: 120px; height: 120px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover;
  margin: 26px auto 0; display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--accent); font-size: 2.2rem; font-weight: 800;
}
.w-team-photo-placeholder { border: 1px dashed var(--border); }
.w-team-card .w-card-body { padding: 16px 20px 24px; }

/* ---------------------------------------------------------- Video */
.w-video {
  position: relative; margin-top: 34px; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--border); background: #000;
}
.w-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------- Timeline */
.w-timeline { list-style: none; margin: 40px 0 0; padding: 0 0 0 26px; border-left: 3px solid var(--accent); }
.w-timeline-item { position: relative; padding: 0 0 28px 26px; }
.w-timeline-item:last-child { padding-bottom: 0; }
.w-timeline-item::before {
  content: ''; position: absolute; left: -34.5px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.w-timeline-year { font-weight: 800; color: var(--accent); font-size: 1.05rem; }
.w-timeline-text { color: var(--muted); margin-top: 4px; }

/* ---------------------------------------------------------- Enlaces rápidos */
.w-quick-link { display: block; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.w-quick-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.w-quick-link .w-more { display: inline-block; margin-top: 12px; }

/* ---------------------------------------------------------- Logos */
.w-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.w-logo-chip {
  padding: 12px 22px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; font-weight: 600; color: var(--muted); font-size: .92rem;
}
.w-logos-cover { max-height: 140px; width: auto; border-radius: var(--radius); }

.w-mb-lg { margin-bottom: 30px; }

/* Lightbox */
.w-lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 12, 24, .9);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.w-lightbox[hidden] { display: none; }
.w-lightbox img { max-width: 90vw; max-height: 78vh; border-radius: 10px; margin: auto; }
.w-lightbox figcaption { color: #dfe4ef; text-align: center; margin-top: 12px; }
.w-lightbox-close {
  position: absolute; top: 18px; right: 26px; font-size: 2rem; color: #fff;
  background: none; border: 0; cursor: pointer;
}

/* ---------------------------------------------------------- Page head */
.w-pagehead {
  background: linear-gradient(120deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: #fff; padding: 44px 0 38px;
}
.w-pagetitle { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; margin-top: 8px; }
.w-pagehead .w-lead { color: rgba(255, 255, 255, .85); }
.w-band label,
.w-breadcrumbs { font-size: .86rem; opacity: .85; display: flex; gap: 8px; flex-wrap: wrap; }
.w-breadcrumbs a { color: #fff; text-decoration: none; }
.w-breadcrumbs a:hover { text-decoration: underline; }
.w-pagehead-post { background: var(--bg); color: var(--ink); padding: 48px 0 0; }
.w-pagehead-post .w-breadcrumbs a { color: var(--muted); }
.w-pagehead-post .w-breadcrumbs { opacity: 1; }
.w-pagehead-post .w-lead { color: var(--muted); }

.w-page-cover { margin-bottom: 30px; }
.w-pagehead-post + .w-section { padding-top: 16px; margin-top: 0; }

/* Filtros / chips */
.w-filters { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.w-chip {
  padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5);
  color: #fff; text-decoration: none; font-size: .88rem;
}
.w-chip.is-active { background: #fff; color: var(--accent); }
.w-chip.is-static { background: var(--bg-alt); color: var(--accent); border-color: var(--border); }
.w-pagehead .w-breadcrumbs { margin-bottom: 10px; }
.w-pagehead-post .w-chip:not(.is-static) { border-color: var(--border); color: var(--muted); }
.w-pagehead-post .w-chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------------------------------------------------------- Prose */
.w-prose { font-size: 1.02rem; color: #26324b; }
.w-prose p { margin-bottom: 16px; }
.w-prose h2, .w-prose h3, .w-prose h4 { margin: 26px 0 10px; }
.w-prose ul, .w-prose ol { margin: 0 0 16px 22px; }
.w-prose img { border-radius: 10px; margin: 18px 0; }
.w-prose blockquote {
  border-left: 4px solid var(--accent); padding: 8px 18px;
  background: var(--bg-alt); border-radius: 0 8px 8px 0; margin: 16px 0;
}
.w-prose a { color: var(--accent); }
.w-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.w-prose th, .w-prose td { border: 1px solid var(--border); padding: 8px 12px; }
.w-divider { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.w-related-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.w-related-head .w-subheading { margin-bottom: 0; }
.w-related-head + .w-grid-3 { margin-top: 18px; }

/* ---------------------------------------------------------- Formularios */
.w-form { display: grid; gap: 16px; }
.w-form-row { display: grid; gap: 6px; }
.w-form-label { font-weight: 600; font-size: .92rem; }
.w-form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 10px; font: inherit; background: #fff; transition: border .15s;
}
.w-form-input:focus { outline: none; border-color: var(--accent); }
.w-form-error { color: #b91c1c; font-size: .84rem; }
.w-form-help { color: var(--muted); font-size: .84rem; }
.has-error input, .has-error textarea, .has-error select { border-color: #ef4444; }

.w-contact-info .w-info-card {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 14px;
}
.w-info-card h2 { font-size: 1rem; margin-bottom: 6px; font-weight: 700; }
.w-info-card p { color: var(--muted); font-size: .95rem; }
.w-file-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.w-file-link:hover { text-decoration: underline; }

.w-contact-form { background: #fff; }
.w-success { padding: 60px 0; }
.w-check-icon {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: #dcfce7; color: #16a34a; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; font-weight: 700;
}

/* ---------------------------------------------------------- Footer */
.w-footer { background: #0c1226; color: #c7cede; margin-top: 40px; }
.w-footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 56px 24px 32px;
  display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr; gap: 36px;
}
.w-footer-logo { height: 64px; width: auto; display: block; margin: 0 0 14px; }
.w-footer-brand { text-align: left; }
.w-footer-brand .w-socials { justify-content: flex-start; }
@media (max-width: 780px) {
  .w-footer-logo { margin: 0 auto 14px; }
  .w-footer-brand { text-align: center; }
  .w-footer-brand .w-socials { justify-content: center; }
}
.w-footer-title { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.w-footer-text { font-size: .92rem; margin-bottom: 10px; }
.w-footer-links { list-style: none; }
.w-footer-links a { color: #c7cede; text-decoration: none; font-size: .92rem; display: block; padding: 4px 0; }
.w-footer-links a:hover { color: #fff; text-decoration: underline; }
.w-socials { display: flex; gap: 16px; margin-top: 8px; }
.w-socials a { color: #c7cede; text-decoration: none; font-size: .9rem; }
.w-socials a:hover { color: #fff; }
.w-socials-icons { gap: 12px; }
.w-socials-icons a svg { width: 22px; height: 22px; transition: .18s ease; }
.w-socials-icons a:hover svg { color: var(--accent); transform: translateY(-2px); }

/* ---------------- Redes sociales flotantes ---------------- */
.w-float-socials { position: fixed; left: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.w-float-list { display: flex; flex-direction: column; gap: 10px; }
.w-float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 20px rgba(10, 15, 30, .22); transition: transform .18s ease, box-shadow .18s ease; }
.w-float-btn:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 12px 26px rgba(10, 15, 30, .3); }
.w-float-btn svg { width: 22px; height: 22px; }
.w-float-btn.is-whatsapp { background: #25d366; }
.w-float-btn.is-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.w-float-btn.is-facebook { background: #1877f2; }
.w-float-btn.is-youtube { background: #ff0000; }
.w-float-toggle { background: #4f46e5; border: none; cursor: pointer; padding: 0; }
.w-float-toggle svg { transition: transform .2s ease; }
.w-float-socials.is-collapsed .w-float-list { display: none; }
.w-float-socials.is-collapsed .w-float-toggle svg { transform: rotate(45deg); }
@media (max-width: 640px) {
  .w-float-socials { left: 12px; bottom: 12px; }
  .w-float-btn { width: 42px; height: 42px; }
  .w-float-btn svg { width: 19px; height: 19px; }
}
.w-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center; padding: 18px; font-size: .84rem; color: #8e97ad;
}

/* ---------------------------------------------------------- Paginación */
.w-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.w-page-link {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  text-decoration: none; font-size: .9rem; color: var(--muted);
}
.w-page-link:hover { border-color: var(--accent); color: var(--accent); }
.w-page-link.is-current { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

/* ============================================================
   PANEL (staff)
   ============================================================ */
.w-admin-body { background: var(--bg-alt); }
.w-admin-head .w-brand { text-decoration: none; }
.w-admin-head .w-admin-logo { height: 40px; width: auto; margin-right: 12px; }
.w-admin-title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.w-admin-title a { font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.w-admin-main { padding: 20px 24px 50px; }
.w-admin-foot { padding: 12px 24px; color: var(--muted); font-size: .84rem; }

.w-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.w-search { display: flex; gap: 8px; margin-bottom: 14px; }
.w-input-sm { padding: 8px 12px; font-size: .9rem; }

.w-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); font-size: .92rem; }
.w-table th, .w-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.w-table thead { background: var(--bg-alt); }
.w-table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.w-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
tr.is-unread { background: #eff6ff; }
.w-empty { text-align: center; color: var(--muted); padding: 30px; }

.w-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; background: var(--bg-alt); color: var(--muted);
}
.w-badge-ok { background: #dcfce7; color: #15803d; }
.w-badge-new { background: #dbeafe; color: #1d4ed8; }

.w-mini-thumb { width: 74px; height: 44px; object-fit: cover; border-radius: 6px; }
.w-admin-thumb { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.w-admin-thumb img { width: 100%; height: 140px; object-fit: cover; }
.w-admin-thumb figcaption { padding: 10px 12px; display: grid; gap: 6px; font-size: .85rem; }

.w-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 34px; width: 100%; max-width: 860px; margin: 0 auto; }
.w-danger-card { border-left: 5px solid #ef4444; }
.w-form-card .w-form-label { margin-top: 12px; }
.w-form-row > input:not([type='checkbox']):not([type='radio']):not([type='file']),
.w-form-row > select,
.w-form-row > textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.w-form-row > input:focus, .w-form-row > select:focus, .w-form-row > textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
.w-flash { background: #dcfce7; color: #166534; padding: 12px 18px; border-radius: 10px; margin-bottom: 14px; font-weight: 600; }
.w-inline-form { display: inline; }
.w-message-meta { margin-bottom: 14px; color: var(--muted); font-size: .93rem; }
.w-message-body { margin-bottom: 10px; }
.w-form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Edición rápida del menú (panel > Páginas) */
/* Edición rápida del menú (panel > Páginas) */
.w-menu-hint { color: var(--muted); font-size: .88rem; max-width: 760px; margin-bottom: 14px; }
.w-th-order { width: 64px; }
.w-th-name { min-width: 240px; }
.w-menu-tree .w-menu-row.level0 { background: #f8fafc; }
.w-menu-tree .w-menu-row.level0 td { border-top: 2px solid var(--border); }
.w-menu-row.level1 .w-order-cell { padding-left: 34px; position: relative; }
.w-menu-row.level1 .w-order-cell::before {
  content: '↳'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .85rem;
}
.w-sub-title { display: flex; flex-direction: column; gap: 2px; }
.w-menu-name { display: flex; align-items: center; gap: 6px; }
.w-menu-rename { display: flex; gap: 4px; align-items: center; min-width: 220px; }
.w-menu-rename .w-input-sm { min-width: 160px; }
.w-icon-save { border-color: var(--accent); color: var(--accent); }
.w-order-cell { display: flex; gap: 4px; }
.w-menu-mini-form { display: inline; }
.w-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 6px;
  background: #fff; color: var(--muted); cursor: pointer; font-size: .7rem;
}
.w-icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.w-order-label { font-size: .78rem; color: var(--muted); }
.w-fixed-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; background: var(--bg-alt); color: var(--muted);
  border: 1px dashed var(--border);
}
.w-menu-off { margin-top: 18px; }
.w-menu-off summary { cursor: pointer; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.w-toggle {
  display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: var(--muted); font-size: .74rem; font-weight: 600; cursor: pointer;
}
.w-toggle.is-on { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.w-toggle-form { margin-right: 4px; }

/* El menú del panel es corto: mantenerlo inline hasta 860px
   (el breakpoint de 1180px es para el menú del sitio público) */
@media (min-width: 861px) and (max-width: 1180px) {
  .w-admin-head .w-burger { display: none; }
  .w-admin-head .w-nav {
    position: static; display: block;
    background: transparent; border: 0; box-shadow: none;
  }
  .w-admin-head .w-nav-list { flex-direction: row; align-items: center; padding: 0; gap: 2px; }
}

/* ---------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .w-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .w-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .w-split { grid-template-columns: 1fr; }
  .w-steps { grid-template-columns: repeat(2, 1fr); }
  .w-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .w-burger { display: flex; }
  .w-header { position: relative; }
  .w-nav {
    position: absolute; top: 100%; left: 0; right: 0; bottom: auto;
    background: #fff; border-bottom: 1px solid var(--border);
    display: none; box-shadow: var(--shadow);
    max-height: calc(100vh - 72px); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .w-nav.is-open { display: block; }
  .w-nav-list { flex-direction: column; align-items: stretch; padding: 12px 0; gap: 0; }
  .w-submenu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .w-header-actions { margin-left: auto; gap: 8px; }
  .w-header-actions .w-btn { padding: 8px 14px; }
  .w-header-actions .w-btn-outline { display: inline-flex; }
  .w-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .w-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .w-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 780px) {
  .w-header-actions .w-btn { padding: 8px 10px; font-size: .78rem; }
  .w-header-inner { gap: 12px; }
  .w-hero { height: 64vh; }
  .w-hero-content { padding: 0 24px; }
  .w-grid-2, .w-grid-3 { grid-template-columns: 1fr; }
  .w-gallery { grid-template-columns: repeat(2, 1fr); }
  .w-gallery-wide { grid-column: span 2; }
  .w-steps { grid-template-columns: 1fr; }
  .w-stats { grid-template-columns: repeat(2, 1fr); }
  .w-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .w-strip-inner { flex-direction: column; text-align: center; }
  .w-footer { text-align: center; }
  .w-footer-brand { align-items: center; justify-content: center; }
  .w-footer-text { text-align: center; }
  .w-socials { justify-content: center; }
}
@media (max-width: 560px) {
  .w-brand-logo { height: 36px; }
  .w-header-inner { padding: 0 14px; }
  .w-hero { height: 56vh; }
  .w-footer-inner { padding: 48px 20px 32px; word-break: break-word; }
  .w-header-actions { gap: 6px; }
  .w-header-actions .w-btn { padding: 7px 6px; font-size: .7rem; white-space: nowrap; }
}
@media (max-width: 370px) {
  .w-header-actions .w-btn-accent { display: none; }
}

/* Panel: chips de monitoreo + indicador en vivo */
.w-chip-ta {
  padding: 7px 16px; border-radius: 8px; border: 1px solid var(--border, #eaecf0);
  color: var(--muted, #6b7280); font-size: .875rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; transition: .15s ease;
  background: #fff;
}
.w-chip-ta:hover { border-color: #a8c5fa; color: #344054; }
.w-chip-ta.is-active { background: var(--color-brand-50, #eff4ff); color: var(--color-brand-700, #3538cd); border-color: #a8c5fa; }
.w-bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 220px; }
.w-bar-chart .w-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.w-bar-col .w-bar-val { font-size: .75rem; font-weight: 600; color: #344054; }
.w-bar-col .w-bar-fill { width: 100%; border-radius: 6px 6px 0 0; background: #465fff; opacity: .85; }
.w-bar-col .w-bar-label { font-size: .8rem; font-weight: 500; color: #667085; white-space: nowrap; }
.w-live-dot { width: 8px; height: 8px; border-radius: 999px; background: #17b26a; flex-shrink: 0; }


/* Cinta de comunicados */
.w-announce { background: var(--accent-secondary, var(--accent, #0019e6)); padding: 14px 0; font-size: .9rem; }
.w-announce.is-dark-bg { color: #fff; }
.w-announce.is-light-bg { color: #111827; }
.w-announce.is-light-bg .w-announce-link:hover { text-decoration: underline; }
.w-announce-inner { display: flex; align-items: center; gap: 16px; }
.w-announce-label { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.w-announce-caret { font-size: .7em; vertical-align: 2px; }
.w-announce-viewport { flex: 1; overflow: hidden; }
.w-announce-track { display: flex; width: max-content; animation: w-announce-scroll 25s linear infinite; }
.w-announce-group { display: flex; align-items: center; flex-shrink: 0; }
.w-announce-item { display: inline-flex; align-items: center; gap: 6px; padding: 0 28px; white-space: nowrap; font-weight: 500; }
.w-announce-dot { font-size: .5em; opacity: .55; }
.w-announce-link { color: inherit; font-weight: inherit; text-decoration: none; }
.w-announce-link:hover { text-decoration: underline; }
.w-announce:hover .w-announce-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .w-announce-track { animation: none; } }
@keyframes w-announce-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) { .w-announce { font-size: .85rem; } }
