/* ==========================================================================
   Carrera del Parachico 2026 · Hoja de estilos principal
   Identidad visual basada en el logo oficial y las fotografías del evento.
   ========================================================================== */

:root {
  --pc-ink: #0b2239;
  --pc-navy: #0d2b45;
  --pc-navy-2: #123a5c;
  --pc-teal: #0d7f86;
  --pc-teal-dark: #0a5f66;
  --pc-turq: #16b3a3;
  --pc-coral: #e63946;
  --pc-coral-dark: #c62d38;
  --pc-orange: #f77f00;
  --pc-sun: #fcbf49;
  --pc-cream: #faf6ee;
  --pc-paper: #ffffff;
  --pc-muted: #5c6b7a;
  --pc-line: #e8e1d5;

  --pc-radius: 18px;
  --pc-radius-sm: 12px;
  --pc-shadow: 0 10px 30px rgba(11, 34, 57, .08);
  --pc-shadow-lg: 0 22px 48px rgba(11, 34, 57, .16);

  --pc-font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --pc-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Alias usados por plantillas con estilos propios */
  --primary: var(--pc-teal);
  --primary-dark: var(--pc-teal-dark);
  --accent: var(--pc-coral);
  --secondary: var(--pc-sun);
  --white: #ffffff;
  --dark: var(--pc-ink);
  --light: #f4efe6;
  --red: var(--pc-coral);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--pc-font-body);
  color: var(--pc-ink);
  background-color: var(--pc-cream);
  background-image:
    radial-gradient(circle at 100% 0, rgba(252, 191, 73, .10), transparent 38%),
    radial-gradient(circle at 0 100%, rgba(22, 179, 163, .08), transparent 42%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pc-font-display);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--pc-ink);
}

a { color: var(--pc-teal-dark); }
a:hover { color: var(--pc-coral-dark); }

:focus-visible {
  outline: 3px solid rgba(22, 179, 163, .55);
  outline-offset: 2px;
}

::selection { background: var(--pc-sun); color: var(--pc-ink); }

img { max-width: 100%; }

/* --------------------------------------------------------------------------
   Barra superior, cabecera y navegación
   -------------------------------------------------------------------------- */
.pc-topbar {
  background: var(--pc-navy);
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  letter-spacing: .04em;
  padding: .5rem 0;
}

.pc-topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.pc-topbar span { display: inline-flex; align-items: center; gap: .4rem; }
.pc-topbar svg { width: 14px; height: 14px; opacity: .9; }
.pc-topbar strong { color: #fff; font-weight: 600; }

.pc-header {
  background: var(--pc-paper);
  padding: 1rem 0;
  border-bottom: 1px solid var(--pc-line);
}

.pc-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.pc-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
  color: inherit;
}

.pc-brand:hover { color: inherit; }

.pc-brand img {
  height: 92px;
  width: auto;
  filter: drop-shadow(0 8px 14px rgba(11, 34, 57, .14));
}

.pc-brand-text { display: flex; flex-direction: column; line-height: 1; }

.pc-brand-kicker {
  font-family: var(--pc-font-display);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pc-coral-dark);
  margin-bottom: .35rem;
}

.pc-brand-title {
  font-family: var(--pc-font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--pc-navy);
  line-height: .92;
}

.pc-brand-sub {
  font-size: .85rem;
  color: var(--pc-muted);
  margin-top: .45rem;
  letter-spacing: .02em;
}

.pc-header-seal {
  align-items: center;
  gap: 1rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--pc-line);
}

.pc-header-seal img { height: 104px; width: auto; }

.pc-flag-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--pc-coral) 0 33%, var(--pc-sun) 33% 66%, var(--pc-teal) 66% 100%);
}

.pc-nav {
  background: rgba(13, 43, 69, .97);
  backdrop-filter: blur(8px);
  padding: .45rem 0;
  box-shadow: 0 10px 24px rgba(11, 34, 57, .18);
}

.pc-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, .25);
  padding: .35rem .6rem;
}

.pc-nav .navbar-toggler:focus { box-shadow: none; }

.pc-nav .nav-link {
  font-family: var(--pc-font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  padding: .55rem .9rem;
  position: relative;
  transition: color .18s ease;
}

.pc-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .28rem;
  height: 2px;
  background: var(--pc-sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.pc-nav .nav-link:hover,
.pc-nav .nav-link.active { color: #fff; }

.pc-nav .nav-link:hover::after,
.pc-nav .nav-link.active::after { transform: scaleX(1); }

.pc-nav .nav-link.pc-nav-cta {
  background: var(--pc-coral);
  color: #fff !important;
  border-radius: 999px;
  padding: .5rem 1.25rem;
  margin: .2rem .25rem .2rem .6rem;
  box-shadow: 0 8px 18px rgba(230, 57, 70, .35);
}

.pc-nav .nav-link.pc-nav-cta::after { display: none; }
.pc-nav .nav-link.pc-nav-cta:hover { background: var(--pc-coral-dark); }

.pc-nav .nav-link.pc-nav-quiet {
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
  letter-spacing: .06em;
  font-size: .9rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.pc-main-home { padding: 0; }

.pc-hero {
  position: relative;
  min-height: clamp(440px, 62vh, 620px);
  background: var(--pc-navy);
  overflow: hidden;
}

.pc-hero-carousel,
.pc-hero-carousel .carousel-inner,
.pc-hero-carousel .carousel-item {
  position: absolute;
  inset: 0;
}

.pc-hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(7, 26, 44, .95) 0%, rgba(7, 26, 44, .82) 38%, rgba(7, 26, 44, .30) 72%, rgba(7, 26, 44, .18) 100%),
    linear-gradient(0deg, rgba(7, 26, 44, .78) 0%, rgba(7, 26, 44, 0) 45%);
}

.pc-hero-content {
  position: relative;
  z-index: 3;
  min-height: clamp(440px, 62vh, 620px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
}

.pc-hero-content .container { width: 100%; }

.pc-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--pc-sun);
  color: var(--pc-ink);
  font-family: var(--pc-font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.pc-hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: .005em;
  text-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  margin-bottom: 1rem;
}

.pc-hero h1 em {
  font-style: normal;
  color: var(--pc-sun);
}

.pc-hero-lead {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

.pc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .9rem;
  margin-bottom: 1.8rem;
}

.pc-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: .45rem .85rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.pc-hero-meta svg { width: 16px; height: 16px; color: var(--pc-sun); }

.pc-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.pc-hero .carousel-indicators {
  z-index: 4;
  margin-bottom: 1.25rem;
}

.pc-hero .carousel-indicators [data-bs-target] {
  width: 26px;
  height: 4px;
  border-radius: 99px;
  background-color: rgba(255, 255, 255, .5);
  border: 0;
  opacity: 1;
  transition: width .25s ease, background-color .25s ease;
}

.pc-hero .carousel-indicators .active {
  width: 44px;
  background-color: var(--pc-sun);
}

.pc-hero .carousel-control-prev,
.pc-hero .carousel-control-next {
  z-index: 4;
  width: 3.2rem;
  opacity: .9;
}

.pc-hero .carousel-control-prev-icon,
.pc-hero .carousel-control-next-icon {
  width: 1.6rem;
  height: 1.6rem;
  background-color: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  padding: .75rem;
  background-size: 45%;
}

/* --------------------------------------------------------------------------
   Cuenta regresiva
   -------------------------------------------------------------------------- */
.pc-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.pc-hero-copy { min-width: 0; }

.pc-countdown {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.25rem);
  border-radius: 22px;
  background: var(--pc-navy);
  color: #fff;
  text-align: left;
}

.pc-countdown-kicker {
  margin: 0 0 .65rem;
  font-family: var(--pc-font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--pc-sun);
}

.pc-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
}

.pc-countdown-box {
  padding: .7rem .25rem .6rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .10);
  text-align: center;
}

.pc-countdown-box strong {
  display: block;
  font-family: var(--pc-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pc-countdown-box span {
  display: block;
  margin-top: .3rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

.pc-countdown-date {
  margin: .8rem 0 0;
  font-size: .8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .72);
}

.pc-countdown-noscript {
  margin: .6rem 0 0;
  font-size: .78rem;
  color: rgba(255, 255, 255, .72);
}

/* Variante sobre la fotografía del hero */
.pc-countdown-hero {
  width: 100%;
  max-width: none;
  margin: 0 0 0 auto;
  padding: 1rem 1.1rem;
  background: rgba(13, 43, 69, .52);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .30);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pc-countdown-hero .pc-countdown-box {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .12);
}

.pc-countdown-hero .pc-countdown-date { color: rgba(255, 255, 255, .78); }

@media (max-width: 991.98px) {
  .pc-hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pc-countdown-hero {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 420px) {
  .pc-countdown { padding: .9rem .75rem; border-radius: 18px; }
  .pc-countdown-grid { gap: .35rem; }
  .pc-countdown-box { padding: .6rem .15rem .5rem; border-radius: 12px; }
  .pc-countdown-box strong { font-size: 1.65rem; }
  .pc-countdown-box span { font-size: .6rem; letter-spacing: .1em; }
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--pc-font-display);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .65rem 1.5rem;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

.btn:active { transform: translateY(1px); }

.btn-pc-primary,
.btn-success {
  background: linear-gradient(135deg, var(--pc-coral) 0%, #ef5b3f 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px rgba(230, 57, 70, .30);
}

.btn-pc-primary:hover,
.btn-pc-primary:focus,
.btn-success:hover,
.btn-success:focus {
  background: linear-gradient(135deg, var(--pc-coral-dark) 0%, var(--pc-coral) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(230, 57, 70, .38);
}

.btn-pc-ghost {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff;
}

.btn-pc-ghost:hover,
.btn-pc-ghost:focus {
  background: #fff;
  color: var(--pc-navy);
  border-color: #fff;
}

.btn-primary {
  background: var(--pc-teal);
  border-color: var(--pc-teal);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--pc-teal-dark);
  border-color: var(--pc-teal-dark);
}

.btn-outline-primary {
  color: var(--pc-teal-dark);
  border-color: var(--pc-teal);
}

.btn-outline-primary:hover {
  background: var(--pc-teal);
  border-color: var(--pc-teal);
  color: #fff;
}

.btn-dark { background: var(--pc-navy); border-color: var(--pc-navy); }

.btn-pc-sun {
  background: var(--pc-sun);
  border: 0;
  color: var(--pc-ink);
  box-shadow: 0 10px 24px rgba(252, 191, 73, .35);
}

.btn-pc-sun:hover { background: #f7b32b; color: var(--pc-ink); }

.btn-lg { padding: .8rem 1.9rem; font-size: 1.1rem; }
.btn-sm { padding: .35rem .9rem; font-size: .85rem; }

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */
.pc-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.pc-section-tight { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }

.pc-kicker {
  display: inline-block;
  font-family: var(--pc-font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pc-coral-dark);
  margin-bottom: .55rem;
}

.pc-section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: .75rem;
}

.pc-section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: .7rem;
  border-radius: 99px;
  background: var(--pc-sun);
}

.pc-text-center .pc-section-title::after,
.text-center .pc-section-title::after { margin-left: auto; margin-right: auto; }

/* Título usado por la convocatoria */
.section-title {
  font-family: var(--pc-font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: var(--pc-navy);
  margin: .6rem 0 1rem;
}

.pc-lead {
  color: var(--pc-muted);
  font-size: 1.03rem;
  max-width: 46rem;
}

/* Tarjetas */
.pc-card {
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  padding: 1.6rem;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}

.pc-card:hover { transform: translateY(-4px); box-shadow: var(--pc-shadow-lg); }

.pc-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--pc-teal), var(--pc-turq));
  box-shadow: 0 10px 20px rgba(13, 127, 134, .25);
}

.pc-card-icon svg { width: 26px; height: 26px; }

.pc-card h3 {
  font-size: 1.28rem;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.pc-card p { color: var(--pc-muted); margin-bottom: 0; font-size: .96rem; }

/* Fotografías y contenido editorial */
.pc-photo {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pc-photo:hover { transform: translateY(-3px); box-shadow: var(--pc-shadow-lg); }


.pc-prose p {
  color: var(--pc-muted);
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.pc-prose p:last-child { margin-bottom: 0; }

.pc-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 .2rem;
  border-left: 2px solid var(--pc-line);
}

.pc-timeline li {
  position: relative;
  padding: 0 0 1.05rem 1.1rem;
}

.pc-timeline li:last-child { padding-bottom: 0; }

.pc-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: .35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pc-sun);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--pc-line);
}

.pc-timeline strong {
  display: block;
  font-size: .84rem;
  color: var(--pc-navy);
  letter-spacing: .02em;
}

.pc-timeline span {
  display: block;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--pc-muted);
}

.pc-people { display: grid; gap: .9rem; }

/* Distribuye los integrantes para ocupar la altura disponible de la tarjeta */
.pc-people-fill {
  flex: 1 1 auto;
  align-content: space-evenly;
  row-gap: .5rem;
}

.pc-person {
  border-left: 3px solid var(--pc-sun);
  padding-left: .9rem;
}

.pc-person strong { display: block; font-size: .95rem; overflow-wrap: anywhere; }
.pc-person span { font-size: .84rem; color: var(--pc-muted); overflow-wrap: anywhere; }

.pc-card-auto { height: auto; }

.pc-card .btn { max-width: 100%; }

/* Distancias */
.pc-distance {
  position: relative;
  overflow: hidden;
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  padding: 1.4rem 1.5rem 1.5rem;
  height: 100%;
  box-shadow: var(--pc-shadow);
}

.pc-distance::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--pc-teal);
}

.pc-distance.is-2k::before { background: var(--pc-coral); }
.pc-distance.is-5k::before { background: var(--pc-teal); }
.pc-distance.is-15k::before { background: var(--pc-orange); }

.pc-distance strong {
  display: block;
  font-family: var(--pc-font-display);
  font-weight: 800;
  font-size: 2.7rem;
  line-height: 1;
  color: var(--pc-navy);
  margin-bottom: .25rem;
}

.pc-distance span {
  display: block;
  font-family: var(--pc-font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pc-muted);
  margin-bottom: .7rem;
}

.pc-distance p { margin: 0; font-size: .92rem; color: var(--pc-muted); }

/* Franja con foto */
.pc-band {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--pc-radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  box-shadow: var(--pc-shadow-lg);
}

.pc-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 30, 50, .92) 0%, rgba(9, 30, 50, .72) 45%, rgba(9, 30, 50, .15) 100%);
}

.pc-band-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.75rem, 5vw, 3rem);
  max-width: 46rem;
}

.pc-band-content h2 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.pc-band-content p { color: rgba(255, 255, 255, .86); margin-bottom: 1.2rem; }

/* Pasos */
.pc-step {
  position: relative;
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  padding: 1.6rem 1.5rem 1.5rem;
  height: 100%;
  box-shadow: var(--pc-shadow);
}

.pc-step-number {
  position: absolute;
  top: -18px;
  left: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--pc-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--pc-ink);
  background: var(--pc-sun);
  box-shadow: 0 8px 18px rgba(252, 191, 73, .45);
}

.pc-step h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 1rem 0 .4rem;
}

.pc-step p { color: var(--pc-muted); font-size: .95rem; margin: 0; }

/* Banda CTA */
.pc-cta-band {
  position: relative;
  overflow: hidden;
  background: var(--pc-navy);
  border-radius: calc(var(--pc-radius) + 6px);
  padding: clamp(1.9rem, 5vw, 3rem);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--pc-shadow-lg);
}

.pc-cta-band::before,
.pc-cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pc-cta-band::before {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(230, 57, 70, .55), transparent 68%);
}

.pc-cta-band::after {
  width: 260px;
  height: 260px;
  left: -70px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(22, 179, 163, .45), transparent 68%);
}

.pc-cta-band > * { position: relative; z-index: 2; }

.pc-cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.pc-cta-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 36rem; }

.pc-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* --------------------------------------------------------------------------
   Formularios
   -------------------------------------------------------------------------- */

.pc-form-card {
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: calc(var(--pc-radius) + 4px);
  box-shadow: var(--pc-shadow-lg);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.pc-form-section + .pc-form-section {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px dashed var(--pc-line);
}

.pc-form-section-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.2rem;
}

.pc-form-section-head span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--pc-font-display);
  font-weight: 800;
  color: #fff;
  background: var(--pc-teal);
}

.pc-form-section-head h2,
.pc-form-section-head h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}

.form-label,
.form-group label {
  font-family: var(--pc-font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pc-navy);
  margin-bottom: .35rem;
}

.form-control,
.form-select,
.form-group select {
  border: 1.5px solid var(--pc-line);
  border-radius: var(--pc-radius-sm);
  padding: .65rem .85rem;
  font-size: .97rem;
  color: var(--pc-ink);
  background-color: #fffdf9;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.form-control:focus,
.form-select:focus,
.form-group select:focus {
  border-color: var(--pc-teal);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(22, 179, 163, .16);
}

.form-control:disabled,
.form-select:disabled {
  background-color: #f1ede5;
  color: #8b96a2;
}

.form-text,
.form-group small {
  font-size: .8rem;
  color: var(--pc-muted);
}

.form-check-input {
  border-color: #c7bfae;
  width: 1.15em;
  height: 1.15em;
  margin-top: .22em;
}

.form-check-input:checked {
  background-color: var(--pc-teal);
  border-color: var(--pc-teal);
}

.form-check-input:focus {
  border-color: var(--pc-teal);
  box-shadow: 0 0 0 4px rgba(22, 179, 163, .18);
}

.form-check-label { font-size: .93rem; }

.invalid-feedback,
.errorlist {
  color: var(--pc-coral-dark);
  font-size: .85rem;
  font-weight: 500;
  margin: .3rem 0 0;
  padding-left: 0;
  list-style: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--pc-coral);
  background-image: none;
}

#resultado {
  background-color: #fdecec;
  color: var(--pc-coral-dark);
  border: 1px solid #f5c2c7;
  border-radius: 10px;
  font-family: var(--pc-font-body);
  font-size: .78rem;
  font-weight: 600;
  padding: .55rem .7rem;
  margin: .45rem 0 0;
  white-space: pre-wrap;
  min-height: 0;
}

#resultado:empty { display: none; }

#resultado.ok {
  background-color: #e6f6f1;
  color: #0a6b52;
  border-color: #b7e4d6;
}

.pc-checklist { list-style: none; padding: 0; margin: 0; }

.pc-checklist li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: .55rem;
  font-size: .93rem;
  color: var(--pc-muted);
}

.pc-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--pc-teal);
}

.pc-auth .btn-link {
  color: var(--pc-muted);
  text-decoration: none;
  font-family: var(--pc-font-body);
  text-transform: none;
  letter-spacing: 0;
}

.pc-auth .btn-link:hover { color: var(--pc-teal-dark); }

.pc-note {
  background: linear-gradient(135deg, rgba(13, 127, 134, .08), rgba(252, 191, 73, .12));
  border-left: 4px solid var(--pc-teal);
  border-radius: 0 var(--pc-radius-sm) var(--pc-radius-sm) 0;
  padding: 1rem 1.1rem;
  font-size: .9rem;
  color: var(--pc-navy);
}

.pc-term-box {
  background: #fffdf9;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-sm);
  padding: 1rem 1.1rem;
}

.pc-doc-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem .95rem;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-sm);
  background: #fffdf9;
  color: var(--pc-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.pc-doc-link:hover {
  border-color: var(--pc-teal);
  background: #fff;
  color: var(--pc-teal-dark);
  transform: translateY(-2px);
}

.pc-doc-link svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--pc-coral); }
.pc-doc-link small { display: block; font-weight: 400; color: var(--pc-muted); font-size: .78rem; }

/* --------------------------------------------------------------------------
   Encabezado de páginas interiores
   -------------------------------------------------------------------------- */
.pc-page-head {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1rem, 2.5vw, 1.5rem);
  text-align: center;
}

.pc-page-head h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.pc-page-head p {
  color: var(--pc-muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Boleto / comprobante de inscripción
   -------------------------------------------------------------------------- */
.pc-ticket {
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: calc(var(--pc-radius) + 4px);
  box-shadow: var(--pc-shadow-lg);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}

.pc-ticket-head {
  background:
    radial-gradient(circle at 88% 0, rgba(252, 191, 73, .28), transparent 55%),
    linear-gradient(135deg, var(--pc-navy) 0%, var(--pc-navy-2) 100%);
  color: #fff;
  padding: 1.5rem 1.7rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.pc-ticket-logo {
  height: 84px;
  width: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .3));
}

.pc-ticket-kicker {
  font-family: var(--pc-font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pc-sun);
  margin: 0 0 .25rem;
}

.pc-ticket-title {
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.pc-ticket-sub {
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
  margin: .4rem 0 0;
}

.pc-ticket-body { padding: clamp(1.4rem, 3vw, 2rem); }

.pc-ticket-greeting {
  font-size: .98rem;
  margin-bottom: 1.2rem;
}

.pc-ticket-greeting strong { color: var(--pc-navy); }

.pc-ticket-clave {
  border: 1.5px dashed var(--pc-teal);
  border-radius: var(--pc-radius-sm);
  background: rgba(22, 179, 163, .07);
  padding: .9rem 1rem;
  text-align: center;
  margin-bottom: 1.4rem;
}

.pc-ticket-clave span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pc-teal-dark);
  margin-bottom: .25rem;
}

.pc-ticket-clave strong {
  font-family: var(--pc-font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  letter-spacing: .22em;
  color: var(--pc-navy);
  line-height: 1;
}

.pc-ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .9rem 1.2rem;
  margin: 0 0 1.4rem;
}

.pc-ticket-grid dt {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pc-muted);
  margin-bottom: .15rem;
}

.pc-ticket-grid dd {
  font-size: .98rem;
  font-weight: 600;
  color: var(--pc-ink);
  margin: 0;
}

.pc-ticket-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  border-top: 1px dashed var(--pc-line);
  padding-top: 1.4rem;
}

.pc-ticket-qr img {
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(11, 34, 57, .14);
  background: #fff;
}

.pc-ticket-qr p {
  font-size: .78rem;
  color: var(--pc-muted);
  text-align: center;
  max-width: 26rem;
  margin: 0;
}

.pc-ticket-meta {
  text-align: center;
  font-size: .74rem;
  color: #93a0ad;
  margin: .9rem 0 0;
}

/* Ficha de participante (personal interno) */
.pc-profile {
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  overflow: hidden;
}

.pc-profile-head {
  background: linear-gradient(135deg, var(--pc-navy), var(--pc-navy-2));
  color: #fff;
  padding: 1.2rem 1.5rem;
}

.pc-profile-head h2 {
  color: #fff;
  font-size: 1.45rem;
  text-transform: uppercase;
  margin: 0;
}

.pc-profile-body { padding: 1.4rem 1.5rem; }

.pc-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .85rem 1.2rem;
}

.pc-profile-grid dt {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pc-muted);
  font-weight: 700;
}

.pc-profile-grid dd { margin: 0 0 .5rem; font-weight: 600; }

.pc-profile-qr { text-align: center; padding: 1rem 0 0; }

/* --------------------------------------------------------------------------
   Búsqueda y autenticación
   -------------------------------------------------------------------------- */
.pc-search-card {
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  padding: clamp(1.3rem, 3vw, 2rem);
  max-width: 760px;
  margin: 0 auto;
}

/* Nivela los textos de ayuda para que los campos queden a la misma altura */
.pc-search-card .form-text { min-height: 2.4em; }

@media (max-width: 767.98px) {
  .pc-search-card .form-text { min-height: 0; }
}

.pc-auth {
  max-width: 430px;
  margin: 1rem auto;
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: calc(var(--pc-radius) + 4px);
  box-shadow: var(--pc-shadow-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
}

.pc-auth img { height: 120px; margin-bottom: 1rem; }
.pc-auth h1 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: .3rem; }
.pc-auth p { color: var(--pc-muted); font-size: .9rem; margin-bottom: 1.4rem; }
.pc-auth form { text-align: left; }

/* --------------------------------------------------------------------------
   Panel de mensajes
   -------------------------------------------------------------------------- */
.pc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pc-stat {
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-top: 4px solid var(--pc-teal);
  border-radius: var(--pc-radius-sm);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--pc-shadow);
}

.pc-stat strong {
  display: block;
  font-family: var(--pc-font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--pc-navy);
  margin-bottom: .3rem;
}

.pc-stat span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pc-muted);
}

.pc-stat.is-pending { border-top-color: #f59e0b; }
.pc-stat.is-progress { border-top-color: #3b82f6; }
.pc-stat.is-done { border-top-color: #22c55e; }

.pc-filter-card { padding: 1.2rem; margin-bottom: 1.5rem; }

.pc-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: .9rem;
  align-items: end;
}

.pc-filter-actions { display: flex; gap: .5rem; }
.pc-filter-actions .btn { white-space: nowrap; }

.pc-table-card {
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  overflow: hidden;
}

.pc-table-card .table { margin: 0; }

.pc-table-card .table thead th {
  background: #fffdf9;
  padding: .9rem 1rem;
  vertical-align: middle;
  white-space: nowrap;
}

.pc-table-card .table td { padding: .85rem 1rem; vertical-align: middle; }
.pc-table-card .table tbody tr:last-child td { border-bottom: 0; }

.pc-truncate {
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-badge {
  display: inline-block;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pc-badge-pendiente { background: #fef3c7; color: #92400e; }
.pc-badge-en_proceso { background: #dbeafe; color: #1e40af; }
.pc-badge-resuelto { background: #dcfce7; color: #166534; }
.pc-badge-cerrado { background: #e5e7eb; color: #374151; }

.pc-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.pc-pagination .btn { padding: .45rem .9rem; font-size: .85rem; }
.pc-pagination .is-current { color: var(--pc-muted); font-size: .85rem; padding: 0 .5rem; }

.pc-empty { text-align: center; padding: 3rem 1.5rem; color: var(--pc-muted); }
.pc-empty svg { width: 44px; height: 44px; color: #c9c0b0; margin-bottom: .8rem; }
.pc-empty h2 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: .35rem; }

.pc-subject-list { display: grid; gap: .55rem; }

.pc-subject-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .9rem;
  background: #fffdf9;
  border: 1px solid var(--pc-line);
  border-radius: 10px;
  font-size: .9rem;
}

.pc-subject-row strong {
  font-family: var(--pc-font-display);
  color: var(--pc-teal-dark);
}

.pc-info-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--pc-line);
}

.pc-info-row:last-child { border-bottom: 0; }

.pc-info-row dt,
.pc-info-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pc-muted);
}

.pc-info-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.pc-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pc-quote {
  background: #fffdf9;
  border-left: 4px solid var(--pc-teal);
  border-radius: 0 var(--pc-radius-sm) var(--pc-radius-sm) 0;
  padding: 1.1rem 1.2rem;
  color: var(--pc-ink);
  line-height: 1.7;
}

.pc-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }

@media (max-width: 991.98px) {
  .pc-stats { grid-template-columns: repeat(2, 1fr); }
  .pc-filter-grid { grid-template-columns: 1fr 1fr; }
  .pc-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .pc-stats { grid-template-columns: 1fr; }
  .pc-filter-grid { grid-template-columns: 1fr; }
  .pc-info-row { grid-template-columns: 1fr; gap: .15rem; }
  .pc-truncate { max-width: 160px; }
}

/* --------------------------------------------------------------------------
   Patrocinadores
   -------------------------------------------------------------------------- */
.pc-sponsor-tier {
  margin-bottom: 2.5rem;
  padding-top: 1.4rem;
  border-top: 3px solid var(--pc-line);
}

.pc-sponsor-tier.is-tier-1 { border-top-color: var(--pc-sun); }
.pc-sponsor-tier.is-tier-2 { border-top-color: #b8c0c8; }
.pc-sponsor-tier.is-tier-3 { border-top-color: #cd7f32; }
.pc-sponsor-tier.is-tier-4 { border-top-color: var(--pc-teal); }
.pc-sponsor-tier.is-tier-5 { border-top-color: var(--pc-navy-2); }

.pc-tier-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  margin-bottom: 1.2rem;
}

.pc-tier-head h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
}

.pc-tier-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pc-muted);
  background: #fffdf9;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  padding: .25rem .7rem;
}

.pc-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.pc-sponsors-grid.is-featured {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.pc-sponsor-card {
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius-sm);
  box-shadow: var(--pc-shadow);
  padding: 1.2rem 1rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pc-sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pc-shadow-lg);
  border-color: var(--pc-teal);
}

.pc-sponsor-card img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.is-featured .pc-sponsor-card { min-height: 185px; }
.is-featured .pc-sponsor-card img { max-height: 105px; }

.pc-sponsor-card span {
  font-family: var(--pc-font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--pc-navy);
}

/* --------------------------------------------------------------------------
   Listado completo de participantes
   -------------------------------------------------------------------------- */
.pc-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-bottom: 1rem;
}

.pc-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--pc-muted);
}

.pc-scroll-hint svg { width: 16px; height: 16px; flex: 0 0 16px; }

.pc-table-scroll {
  max-height: 72vh;
  overflow: auto;
}

.pc-table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fffdf9;
  box-shadow: inset 0 -1px 0 var(--pc-line);
}

.pc-data-table {
  width: 100%;
  margin: 0;
  font-size: .8rem;
  white-space: nowrap;
}

.pc-table-card .table.pc-data-table thead th,
.pc-table-card .table.pc-data-table tbody td {
  padding: .5rem .65rem;
  vertical-align: middle;
}

.pc-data-table tbody tr:nth-child(even) { background: rgba(13, 127, 134, .035); }
.pc-data-table tbody tr:hover { background: rgba(252, 191, 73, .14); }
.pc-data-table tbody td { color: var(--pc-ink); }

.pc-table-legend {
  font-size: .78rem;
  color: var(--pc-muted);
  margin-top: .75rem;
}

/* --------------------------------------------------------------------------
   Dashboard
   -------------------------------------------------------------------------- */
.pc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.pc-kpi {
  position: relative;
  overflow: hidden;
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  box-shadow: var(--pc-shadow);
  padding: 1.2rem 1.3rem 1.2rem 1.55rem;
}

.pc-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--pc-teal);
}

.pc-kpi.is-done::before { background: #22c55e; }
.pc-kpi.is-pending::before { background: #f59e0b; }
.pc-kpi.is-progress::before { background: var(--pc-coral); }

.pc-kpi-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pc-muted);
}

.pc-kpi strong {
  display: block;
  font-family: var(--pc-font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--pc-navy);
  margin: .45rem 0 .3rem;
}

.pc-kpi-foot { font-size: .8rem; color: var(--pc-muted); }

.pc-progress {
  height: 8px;
  border-radius: 99px;
  background: #ece5d8;
  overflow: hidden;
  margin-top: .6rem;
}

.pc-progress-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pc-teal), var(--pc-turq));
}

.pc-progress-bar.is-coral { background: linear-gradient(90deg, var(--pc-coral), var(--pc-orange)); }
.pc-progress-bar.is-sun { background: linear-gradient(90deg, var(--pc-sun), var(--pc-orange)); }

.pc-dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.pc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-bottom: .75rem;
}

.pc-card-head h2,
.pc-card-head h3 {
  font-size: 1.22rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0;
}

.pc-dash-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .32rem 0;
  border-bottom: 1px dashed var(--pc-line);
  font-size: .9rem;
  color: var(--pc-muted);
}

.pc-dash-row:last-of-type { border-bottom: 0; }

.pc-dash-row strong {
  font-family: var(--pc-font-display);
  font-size: 1.05rem;
  color: var(--pc-navy);
}

.pc-dash-section { margin-bottom: 2rem; }

.pc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-bottom: 1rem;
}

.pc-section-head .pc-section-title { margin-bottom: 0; }

.pc-dash-table .pc-progress { min-width: 110px; margin-top: 0; }
.pc-dash-table th { white-space: nowrap; }
.pc-dash-table td { vertical-align: middle; }

.pc-rank-scroll {
  max-height: 320px;
  overflow: auto;
  margin-top: .4rem;
}

.pc-rank-table {
  width: 100%;
  font-size: .88rem;
  border-collapse: collapse;
}

.pc-rank-table td {
  padding: .45rem .2rem;
  border-bottom: 1px dashed var(--pc-line);
  color: var(--pc-ink);
}

.pc-rank-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--pc-teal-dark);
  white-space: nowrap;
}

.pc-rank-table tr:last-child td { border-bottom: 0; }
.pc-rank-empty { font-size: .88rem; color: var(--pc-muted); margin: .5rem 0 0; }

.pc-chart {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.2rem;
}

.pc-chart-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}

.pc-chart-value {
  font-family: var(--pc-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pc-navy);
}

.pc-chart-track {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: flex-end;
  background: #f4efe6;
  border-radius: 10px;
  overflow: hidden;
}

.pc-chart-bar {
  width: 100%;
  min-height: 4px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--pc-teal), var(--pc-turq));
}

.pc-chart-label {
  font-size: .72rem;
  color: var(--pc-muted);
  text-align: center;
  white-space: nowrap;
}

.pc-dash-latest td,
.pc-dash-latest th { vertical-align: middle; white-space: nowrap; }

.pc-dash-latest td:first-child { white-space: normal; min-width: 190px; }

@media (max-width: 991.98px) {
  .pc-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .pc-kpi-grid { grid-template-columns: 1fr; }
  .pc-chart { gap: .45rem; }
  .pc-chart-track { height: 110px; }
  .pc-chart-label { font-size: .65rem; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.pc-footer {
  margin-top: 3rem;
  background: var(--pc-navy);
  color: rgba(255, 255, 255, .72);
  padding: 2.5rem 0 0;
}

.pc-footer h2,
.pc-footer h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.pc-footer p { font-size: .9rem; margin-bottom: .6rem; }
.pc-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.pc-footer a:hover { color: var(--pc-sun); }

.pc-footer-links { list-style: none; padding: 0; margin: 0; }
.pc-footer-links li { margin-bottom: .45rem; font-size: .9rem; }

.pc-footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1rem 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}

.pc-footer .pc-footer-flag {
  height: 4px;
  background: linear-gradient(90deg, var(--pc-coral) 0 33%, var(--pc-sun) 33% 66%, var(--pc-teal) 66% 100%);
  border-radius: 99px;
  margin-bottom: 1.4rem;
}

/* --------------------------------------------------------------------------
   Ajustes heredados de plantillas existentes
   -------------------------------------------------------------------------- */
.card {
  border-radius: var(--pc-radius);
  border-color: var(--pc-line);
}

.card-header {
  background: #fffdf9;
  border-bottom-color: var(--pc-line);
  font-family: var(--pc-font-display);
}

.table {
  --bs-table-striped-bg: rgba(13, 127, 134, .05);
  font-size: .92rem;
}

.table thead th {
  font-family: var(--pc-font-display);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pc-muted);
  border-bottom-width: 1px;
}

.alert { border-radius: var(--pc-radius-sm); border: 0; }

address { font-style: normal; }

/* --------------------------------------------------------------------------
   Animaciones y accesibilidad
   -------------------------------------------------------------------------- */
@keyframes pc-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.pc-hero-layout > * { animation: pc-fade-up .6s ease both; }
.pc-hero-layout > *:nth-child(2) { animation-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .pc-brand img { height: 72px; }
  .pc-hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 26, 44, .55) 0%, rgba(7, 26, 44, .82) 55%, rgba(7, 26, 44, .95) 100%);
  }
  .pc-nav .nav-link { padding: .6rem .25rem; }
  .pc-nav .nav-link::after { left: .25rem; right: auto; width: 28px; }
  .pc-nav .nav-link.pc-nav-cta {
    display: inline-block;
    margin: .5rem 0 .3rem;
    padding: .55rem 1.4rem;
  }
  .pc-nav .navbar-nav { padding: .5rem 0 .8rem; }
}

@media (max-width: 767.98px) {
  .pc-topbar { font-size: .72rem; }
  .pc-topbar .pc-topbar-secondary { display: none; }
  .pc-brand { gap: .7rem; }
  .pc-brand img { height: 58px; }
  .pc-brand-sub { display: none; }
  .pc-ticket-head { flex-direction: column; text-align: center; }
  .pc-ticket-logo { height: 68px; }
  .pc-hero-content { padding: 2.5rem 0; }
  .pc-hero-actions .btn { width: 100%; text-align: center; }
  .pc-cta-actions { width: 100%; }
  .pc-cta-actions .btn { flex: 1 1 auto; text-align: center; }
  .pc-footer-bottom { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   Impresión: solo el comprobante
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #fff !important;
    background-image: none !important;
  }
  .pc-topbar,
  .pc-header,
  .pc-nav,
  .pc-footer,
  .pc-noprint,
  .pc-hero { display: none !important; }
  main { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
  .pc-ticket {
    box-shadow: none !important;
    border: 1px solid #c9c9c9 !important;
    border-radius: 0 !important;
    max-width: 100% !important;
  }
  .pc-ticket-head {
    background: #0d2b45 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .pc-ticket-clave { border-color: #0d7f86 !important; }
  a[href]::after { content: ""; }
}
