/* =========================
   RESET GLOBAL
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0e1412;
  color: #f3f5f4;
  overflow-x: hidden;
}

/* =========================
   VARIABLES
========================= */
:root {
  --header-h: 76px;
  --grad-menu: linear-gradient(135deg, #25367b 0%, #c91f28 100%);
  --yellow: #e2c448;
}

/* =========================
   HEADER
========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  height: var(--header-h);
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0);
}

/* =========================
   BRAND
========================= */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 100px;
  height: 60px;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.brand-title {
  font-weight: 700;
}

.brand-sub {
  font-size: 12px;
  opacity: 0.8;
}

/* =========================
   MENÚ DESKTOP
========================= */
.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  position: relative;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--yellow);
  font-weight: 500;          /* más fino, evita halo */
  z-index: 1;
  transition: color 0 s ease;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

/* CUADRO DEGRADADO ATRÁS */
.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-menu);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: -1;
}

/* SUBRAYADO */
.nav a::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -6px;
  height: 3px;
  background: #25367b;
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* HOVER */
.nav a:hover {
  color: #ffffff;
}

.nav a:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ACTIVO */
.nav a.active {
  color: #ffffff;
  font-weight: 600;
}

.nav a.active::before {
  opacity: 1;
  transform: translateY(0);
}

.nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* =========================
   ICONOS SOCIALES
========================= */
.nav-social {
  display: flex;
  gap: 10px;
}

.chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-social .chip img {
  width: 42px;
  height: 42px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-social .chip:hover img {
  transform: scale(1.12);
  filter: brightness(1.15);
}

/* =========================
   BOTÓN MENÚ MÓVIL
========================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
}

/* =========================
   HERO FULL SCREEN
========================= */
.hero-full {
  width: 100%;
  min-height: 75vh;
  position: relative;
  background: url('../img/banners/hero.jpg') center / cover no-repeat;
  overflow: hidden;
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.30) 45%,
    rgba(0,0,0,0.65) 100%
  );
}

/* =========================
   CONTENIDO HERO
========================= */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 180px;
  padding-bottom: 60px;
  text-align: center;
}

.hero-content h1 {
  font-size: 72px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-content .gold {
  color: #f0c35a;
}

.sub {
  font-size: 22px;
  max-width: 520px;
  margin-bottom: 34px;
}

/* =========================
   BADGES HERO
========================= */
.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin-bottom: 30px;
}

.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px;
  border-radius: 14px;
}

.badge strong {
  font-size: 18px;
  font-weight: 700;
}

.badge small {
  font-size: 14px;
  opacity: 0.9;
}

/* =========================
   CTA
========================= */
.cta {
  display: inline-block;
  background: #25367b;
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.cta:hover {
  background: #c91f28;
}

/* =========================
   QUIÉNES SOMOS
========================= */
.quienes {
  background: url("../img/banners/fondo-laja.png") center / cover no-repeat;
  padding: 120px 20px;
  position: relative;
}

.quienes::before {
  content: "";
  position: absolute;
  inset: 1;
  background: rgba(255, 255, 255, 0.521);
}

.quienes > * {
  position: relative;
  z-index: 2;
}

/* HEADER QUIÉNES SOMOS */
.quienes-header {
  max-width: 1100px;
  margin: 0 auto 20px;
  text-align: center;
}

.quienes-header h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #25253b;
  letter-spacing: 1px;
}

.quienes-texto {
  font-size: 18px;
  line-height: 1.6;
  color: #3a3a3a;
}

/* Línea + iconos circulares tipo “sello” */
.quienes-badges {
  margin-top: 18px;
  display: inline-flex;
  justify-content: center;
  gap: 18px;
  position: relative;
}

/* Línea fina detrás de los iconos */
.quienes-badges::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -80px;
  right: -80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(210, 167, 110, 0),
    rgba(210, 167, 110, 0.7),
    rgba(210, 167, 110, 0)
  );
  z-index: 0;
}

/* Cada badge */
.q-badge {
  background: #fdf5ea;
  border-radius: 999px;
  padding: 6px 14px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  border: 2px solid #f1c27a;
  position: relative;
  z-index: 1;
}

.q-badge img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.q-badge span {
  font-size: 13px;
  font-weight: 700;
  color: #66401f;
}

/* Responsive encabezado */
@media (max-width: 650px) {
  .quienes-badges {
    flex-wrap: wrap;
    gap: 12px;
  }

  .quienes-badges::before {
    display: none;
  }
}

/* GRID DE PERSONAS (4 COLUMNAS) */
.quienes-grid {
  max-width: 1100px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start; /* 👈 ESTA ES LA CLAVE */
}


/* TARJETA INDIVIDUAL */
.persona-card {
  background: rgba(255,255,255,0.96);
  border-radius: 22px;
  padding: 22px 20px 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Borde superior degradado */
.persona-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #25367b, #c91f28);
}

/* FOTO REDONDA */
.persona-foto {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.persona-foto img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}

/* NOMBRE Y CARGO */
.persona-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #24324a;
  margin-bottom: 4px;
}

.persona-cargo {
  display: block;
  font-size: 14px;
  color: #c91f28;
  font-weight: 700;
  margin-bottom: 16px;
}

/* BLOQUES: FORMACIÓN / EXPERIENCIA */
.persona-bloque {
  text-align: left;
  margin-top: 10px;
}

.persona-bloque h4 {
  font-size: 14px;
  font-weight: 800;
  color: #c46b1b;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.persona-bloque .lista {
  padding-left: 18px;
  margin-bottom: 6px;
}

.persona-bloque .lista li {
  font-size: 13px;
  color: #333;
}

.persona-bloque .lista li::marker {
  color: #e2c448;
}

/* ANIMACIÓN ENTRADA TARJETAS */
.persona-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s ease forwards;
}

.persona-card:nth-child(2) {
  animation-delay: 0.15s;
}

.persona-card:nth-child(3) {
  animation-delay: 0.30s;
}

.persona-card:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE QUIÉNES SOMOS TARJETAS */
@media (max-width: 1100px) {
  .quienes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .quienes-grid {
    grid-template-columns: 1fr;
  }
}

/* OFFSET HEADER AL HACER SCROLL */
#quienes {
  scroll-margin-top: calc(var(--header-h) - 90px);
}

/* =========================
   PROPUESTAS
========================= */
.propuestas {
  background: url("assets/img/banners/fondo-laja.png") center / cover no-repeat;
  padding: 120px 20px 100px;
  position: relative;
}

.propuestas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
}

.propuestas > * {
  position: relative;
  z-index: 2;
}

.propuestas-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;                     /* pequeño respiro lateral */
}
.propuestas-title {
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #3a2420;
  margin-bottom: 10px;
}

.propuestas-sub {
  text-align: center;
  font-size: 18px;
  color: #5b4a44;
  margin-bottom: 40px;
}

/* GRID DE TARJETAS */
.propuestas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
/* TARJETA */
.propuesta-post {
  background: #fffaf3;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  border: 4px solid #f3d29a;
  padding: 10px 10px 18px;
  display: flex;
  flex-direction: column;
}

/* imagen tipo foto con marco */
.propuesta-img {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
  margin-bottom: 12px;
}

.propuesta-img img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* contenido */
.propuesta-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: #5a3026;
  margin-bottom: 10px;
}

.propuesta-body p {
  font-size: 14px;
  color: #5b4a44;
  margin-bottom: 10px;
}

.propuesta-body ul {
  padding-left: 18px;
  font-size: 14px;
  color: #5b4a44;
  margin-bottom: 16px;
}

.propuesta-body ul li {
  margin-bottom: 4px;
}

/* acciones (botones verdes y azules) */
.acciones {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.btn-share {
  display: block;
  text-align: center;
  padding: 8px 10px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.btn-share.wa {
  background: linear-gradient(90deg,#1ebc5a,#0f8c3d);
}

.btn-share.fb {
  background: linear-gradient(90deg,#2851a3,#1d3c77);
}

/* botón comentar naranja */
.btn-comentar {
  width: 100%;
  border: none;
  border-radius: 20px;
  padding: 8px 10px;
  background: linear-gradient(90deg,#f59b2a,#e26a0b);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .propuestas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .propuestas-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   GALERÍA (IMAGEN GRANDE + RESPONSIVE)
========================= */
/* =========================
   GALERÍA - FULL RESPONSIVE
========================= */
/* =========================
   GALERÍA (IMAGEN GRANDE + RESPONSIVE)
========================= */
.galeria-section {
  background: url("assets/img/banners/fondo-laja.png") center / cover no-repeat;
  padding: 80px 0;            /* quitamos 20px para controlar con inner */
  position: relative;
}

.galeria-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.94);
}

.galeria-section > * {
  position: relative;
  z-index: 2;
}

/* contenedor interno */
.galeria-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 0 14px;             /* ✅ importante en celular */
}

.galeria-title {
  font-size: 34px;
  font-weight: 900;
  color: #3a2420;
  margin-bottom: 24px;
}

/* carrusel */
.galeria-carousel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ventana */
.galeria-window {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
  touch-action: pan-y; /* móvil */
}

/* track */
.galeria-track {
  display: flex;
  transition: transform .35s ease;
}

/* slide */
.galeria-slide {
  flex: 0 0 100%;
}

/* ✅ IMAGEN GRANDE */
.galeria-slide img {
  width: 100%;
  height: 520px;          /* desktop */
  object-fit: cover;      /* no se deforma */
  display: block;
}

/* botones flecha estilo pro */
.galeria-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  z-index: 10;
}

.galeria-btn.prev { left: 12px; }
.galeria-btn.next { right: 12px; }

.galeria-btn:hover {
  background: rgba(0,0,0,.70);
}

/* ✅ RESPONSIVE: en celular se verá grande */
@media (max-width: 768px) {
  .galeria-section { padding: 90px 0; }

  .galeria-slide img {
    height: 430px; /* ✅ grande en celular */
  }

  .galeria-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

@media (max-width: 420px) {
  .galeria-slide img {
    height: 380px;
  }
}
/* ===== Footer de galería: contador + miniaturas ===== */
.galeria-footer{
  margin-top: 14px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.galeria-counter{
  font-weight: 900;
  font-size: 18px;
  color: #3a2420;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

/* contenedor thumbnails */
.galeria-thumbs{
  width: 100%;
  max-width: 900px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.galeria-thumbs::-webkit-scrollbar{
  height: 6px;
}
.galeria-thumbs::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.25);
  border-radius: 999px;
}

.galeria-thumb{
  flex: 0 0 auto;
  width: 84px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
  cursor: pointer;
  background: #fff;
}

.galeria-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.galeria-thumb.active{
  border-color: #c91f28; /* rojo */
  transform: translateY(-1px);
}

@media (max-width: 768px){
  .galeria-thumb{
    width: 72px;
    height: 46px;
  }
  .galeria-counter{
    font-size: 16px;
  }
}

/* =========================
   MENÚ MÓVIL (DRAWER)
========================= */

/* oculto en desktop */
.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* overlay oscuro */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* panel lateral */
.drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 1000;
}

.drawer.open {
  right: 0;
}

/* header del drawer */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #f8d640;
}

.drawer-header img {
  height: 36px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* enlaces del drawer */
.drawer-nav {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-link {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 4px;
  border-radius: 6px;
}

.drawer-link:hover {
  background: #f5f5f5;
}

/* =========================
   VIDEOS (SIN CARRUSEL)
========================= */
.videos-section {
  background: url("assets/img/banners/fondo-laja.png") center / cover no-repeat;
  padding: 120px 20px 100px;
  position: relative;
}

.videos-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.94);
}

.videos-section > * {
  position: relative;
  z-index: 2;
}

.videos-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.videos-title {
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  color: #3a2420;
  margin-bottom: 10px;
}

.videos-sub {
  text-align: center;
  font-size: 18px;
  color: #5b4a44;
  margin-bottom: 32px;
}

/* grilla de videos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* tarjeta de video elegante (sin botones) */
.video-card {
  background: radial-gradient(circle at top, #1b1b23 0%, #050507 55%, #000000 100%);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0 0 16px;
  overflow: hidden;
}

/* contenedor del video */
.video-frame {
  overflow: hidden;
  margin-bottom: 12px;
  background: #000;
}

/* video */
.video-frame video {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #000;
}

/* textos debajo del video */
.video-card h3,
.video-card p {
  padding: 0 18px;
}

.video-card h3 {
  margin-top: 6px;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.video-card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,#f3c96b,#e26a0b);
}

.video-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #e3d6c5;
}

/* responsive */
@media (max-width: 1100px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   COMENTARIOS EN PROPUESTAS
========================= */
/* =========================
   COMENTARIOS EN PROPUESTAS
========================= */

/* Contenedor general dentro de la tarjeta */
.comentarios {
  display: none !important;
}

/* Panel principal */
.comentarios-locales {
  margin-top: 6px;
  padding: 14px 14px 16px;
  border-radius: 18px;
  background: #fffdf9;
  border: 1px solid #f0ddc5;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  color: #3c3224;
}

/* Cabecera */
.comentarios-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 13px;
  color: #7c6a50;
}

.comentarios-header::before {
  content: "Comentarios";
  font-weight: 700;
  font-size: 14px;
  color: #4a3d2a;
  margin-right: 6px;
}

.comentarios-header strong {
  font-weight: 600;
  font-size: 13px;
}

/* Mensaje vacío */
.comentarios-vacio {
  font-size: 12px;
  color: #8a7a63;
  margin: 4px 0 0;
}

/* Formulario principal */
.form-comentario {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.form-comentario input,
.form-comentario textarea {
  width: 100%;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #e4d6c2;
  font-size: 12px;
  font-family: inherit;
  background: #fffbf4;
  color: #3c3224;
}

.form-comentario input::placeholder,
.form-comentario textarea::placeholder {
  color: #b8a896;
}

.form-comentario input:focus,
.form-comentario textarea:focus {
  outline: none;
  border-color: #f08a2d;
  box-shadow: 0 0 0 1px rgba(240,138,45,0.25);
}

.form-comentario textarea {
  resize: vertical;
  min-height: 60px;
}

/* Botón enviar comentario */
.form-comentario .btn-comentar {
  align-self: stretch;
  margin-top: 4px;
  padding: 7px 0;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg,#f08a2d,#f46b1f);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.form-comentario .btn-comentar:hover {
  filter: brightness(1.03);
}

/* Lista de comentarios */
.lista-comentarios {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Comentario principal con mini avatar */
.comentario-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 8px;
  margin-top: 4px;
  padding: 6px 8px 8px;
  border-radius: 12px;
  background: #fffaf1;
  border: 1px solid #f2dfc8;
}

/* avatar circular usando la inicial (via data-inicial) */
.comentario-item::before {
  content: attr(data-inicial);
  grid-row: span 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f08a2d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* cabecera a la derecha del avatar */
.comentario-header {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
  font-size: 11px;
}

.comentario-autor {
  font-weight: 700;
  color: #3a3022;
}

.comentario-fecha {
  color: #a0917a;
  font-size: 10px;
}

/* texto del comentario */
.comentario-texto {
  grid-column: 2;
  font-size: 12px;
  margin: 0;
  color: #4a4030;
}

/* ========== REACCIONES ========== */
.reacciones {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.btn-react {
  flex: 1;
  padding: 5px 6px;
  border-radius: 999px;
  border: 1px solid #e4d0b3;
  background: #fffaf3;
  color: #5a3026;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-react:hover {
  background: #fbe3c5;
  box-shadow: 0 0 0 1px rgba(240,138,45,0.15);
}

.btn-react.reacting {
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(240,138,45,0.25);
}

.btn-react.active-react {
  background: linear-gradient(90deg,#f08a2d,#f46b1f);
  color: #fff;
  border-color: transparent;
}

/* ========== RESPUESTAS DEL GRUPO DE TRABAJO ========== */

/* Contenedor sangrado */
.respuestas-grupo {
  grid-column: 2;
  margin-top: 4px;   /* antes 6px */
  margin-left: 4px;  /* más pegado al texto del comentario */
  display: flex;
  flex-direction: column;
  gap: 4px;          /* burbuja y siguientes respuestas más juntas */
}


/* Tarjeta pequeña para respuesta oficial */
.comentario-item.comentario-oficial {
  background: #f1f5ff;
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: none;
  border: 1px solid #d4e3ff;
  display: block;
}

/* la burbuja oficial no lleva avatar circular propio */
.comentario-item.comentario-oficial::before {
  content: none;
}

/* cabecera compacta dentro de la burbuja */
.comentario-oficial .comentario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.comentario-oficial .comentario-autor {
  font-weight: 700;
  color: #f57c00;
  font-size: 12px;
}

.comentario-oficial .comentario-fecha {
  font-size: 10px;
  color: #999;
}

.comentario-oficial .comentario-texto {
  font-size: 12px;
  margin: 0;
}

/* Botón “Responder como Grupo de Trabajo” */
.btn-responder-oficial {
  grid-column: 2;
  margin-top: 3px;           /* menos separación de la burbuja */
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #ffcf90;
  background: #fffaf3;
  color: #e0821e;
  font-size: 10px;           /* un poco más pequeño */
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.btn-responder-oficial:hover {
  background: #ffe7c5;
}

/* Contenedor donde se inyecta el form de respuesta */
.contenedor-respuesta-oficial {
  grid-column: 2;
  margin-top: 4px;
}

/* Formulario inline para respuesta oficial */
.form-respuesta-oficial {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 6px;
  background: #fffdf7;
  border-radius: 8px;
  border: 1px dashed #e0d4c2;
}

.form-respuesta-oficial textarea {
  width: 100%;
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid #e0d4c2;
  font-size: 11px;
  font-family: inherit;
  background: #fffaf3;
  color: #3c3224;
  resize: vertical;
  min-height: 40px;
}

.form-respuesta-oficial textarea::placeholder {
  color: #b3a594;
}

.form-respuesta-oficial .btn-comentar {
  align-self: flex-end;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  background: #e08a2e;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}

.form-respuesta-oficial .btn-comentar:hover {
  background: #cc7a24;
}

/* =========================
   PERSONA CARD CORTA (SOLO FREDDY)
========================= */
.persona-card.persona-card-corta{
  padding: 18px 18px 16px;   /* menos alto */
  min-height: auto;
}

.persona-card.persona-card-corta .persona-foto{
  margin-bottom: 10px;
}

.persona-card.persona-card-corta .persona-foto img{
  width: 110px;             /* un poco más pequeño */
  height: 110px;
}

.persona-card.persona-card-corta h3{
  margin-bottom: 3px;
}

.persona-card.persona-card-corta .persona-cargo{
  margin-bottom: 0;         /* quita el espacio grande */
}

/* =========================
   CUADRO EXTRA DEBAJO DEL CARGO
========================= */
.persona-extra{
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #25367b, #c91f28);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

