/* ============================================================= */
/* SISTEMA:      GraxSoft Sitio Web                              */
/* ARCHIVO:      css/news-cicy.css                               */
/* MÓDULO:       Estilos Promoción CICY (HUD Sci-Fi)             */
/*                                                               */
/* AUTOR:        Ing. Gabriel Amilcar Cruz Canto, CEO Graxsoft   */
/* DEPTO:        DevLabs Division (Diseño e Investigación) en Graxsoft */
/*                                                               */
/* PROPÓSITO:                                                    */
/* Estilos específicos de presentación y maquetado táctico       */
/* para la promoción del CICY (flyers, tablas y acordeones).     */
/*                                                               */
/* DEPENDENCIAS:                                                 */
/* - css/design-system.css                                       */
/*                                                               */
/* CONTROL DE VERSIÓN:                                           */
/* v1.0 2026-05-20 DevIAn -> Estilos responsivos de la promo CICY*/
/* ============================================================= */

/* Title Section */
.cicy-title-section {
  padding: 130px 0 30px 0;
  text-align: center;
  position: relative;
}

.cicy-title-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.cicy-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 0, 38, 0.08);
  border: 1px solid rgba(234, 0, 38, 0.3);
  color: #ea0026; /* Rojo de GraxSoft */
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(234, 0, 38, 0.05);
}

.cicy-title-wrap h1 {
  font-family: var(--font-header);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: transparent;
  background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  letter-spacing: -1.5px;
  text-transform: lowercase;
  margin: 0;
}

.cicy-intro-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0;
}

.cicy-intro-desc strong {
  color: var(--accent-secondary);
  font-weight: 600;
}

/* Flyer Section (Imagen Completa) */
.cicy-flyer-section {
  padding: 10px 0 40px 0;
}

.cicy-flyer-card {
  min-height: auto !important;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 25px 25px 25px !important;
}

.cicy-flyer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.flyer-display {
  width: 100%;
  max-width: 850px;
  background: rgba(4, 10, 15, 0.95);
  border: 1px solid rgba(234, 0, 38, 0.2);
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(234, 0, 38, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.flyer-display:hover {
  border-color: rgba(234, 0, 38, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 30px rgba(234, 0, 38, 0.15);
}

.flyer-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.flyer-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.15) 50%
  );
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
}

/* Info Hub Columns & Stacking */
.cicy-info-hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: start;
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-subcard {
  min-height: auto !important;
  padding: 30px 25px 25px 25px !important;
}

/* Quote and Sign customization */
.text-red {
  color: #ea0026 !important;
}

.border-red {
  border-color: rgba(234, 0, 38, 0.3) !important;
}

.border-red-top {
  border-top: 1px solid rgba(234, 0, 38, 0.15) !important;
}

.sign-quote-icon {
  font-size: 28px;
  margin-bottom: 15px;
}

.cicy-sign-content {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cicy-sign-text {
  text-align: center;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cicy-sign-text p {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 25px;
}

.digital-sign-block {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.sign-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.sign-name {
  font-family: var(--font-header);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sign-role {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
}

.system-hash {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* Terms and Conditions Accordion */
.cicy-terms-wrapper {
  flex-direction: column;
}

.terms-block-title {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  text-transform: lowercase;
}

.terms-block-title i {
  margin-right: 8px;
}

.cicy-terms-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cicy-terms-item {
  background: rgba(4, 10, 15, 0.7);
  border: 1px solid rgba(234, 0, 38, 0.1);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cicy-terms-item[open] {
  border-color: rgba(234, 0, 38, 0.4);
  background: rgba(4, 10, 15, 0.9);
  box-shadow: 0 0 20px rgba(234, 0, 38, 0.03);
}

.cicy-terms-item summary {
  padding: 15px 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.cicy-terms-item summary::-webkit-details-marker {
  display: none;
}

.cicy-terms-item summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ea0026;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: 14px;
}

.cicy-terms-item[open] summary::after {
  transform: rotate(180deg);
}

.terms-details-content {
  padding: 0 20px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.terms-details-content p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: #ffffff;
  margin: 12px 0;
}

/* Infrastructure Image Grid Section */
.cicy-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.image-hud-panel {
  min-height: auto !important;
  padding: 30px 25px 25px 25px !important;
}

.image-hud-panel .hud-content {
  flex-direction: column;
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: grayscale(40%) contrast(110%);
}

.image-hud-panel:hover img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.05);
}

.image-overlay-text h4 {
  font-family: var(--font-header);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: lowercase;
}

.image-overlay-text p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Call to Action HUD */
.cicy-cta-hud {
  min-height: auto !important;
  padding: 40px 30px !important;
}

.cta-hud-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-hud-content h2 {
  font-family: var(--font-header);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: lowercase;
  letter-spacing: -1px;
}

.cta-hud-content p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.large-cta-btn {
  animation: cyber-pulse 4s infinite ease-in-out;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .cicy-title-wrap h1 {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .cicy-title-wrap h1 {
    font-size: 30px;
  }
  .cicy-info-hub,
  .cicy-images-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .cicy-title-wrap h1 {
    font-size: 26px;
  }
  .terms-details-content {
    padding: 0 15px 15px 15px;
  }
  .cicy-flyer-card {
    padding: 20px 15px 15px 15px !important;
  }
  .flyer-display {
    padding: 5px;
  }
}

/* ============================================================= */
/* FIN css/news-cicy.css                                         */
/* ============================================================= */
