/* =============================================================================
   TURISMO SAMANÁ - SISTEMA DE DISEÑO MODERNO
   Diseño limpio, profesional y orientado a turismo
   ============================================================================= */

/* ---------------------------------------------------------------------------
   VARIABLES CSS - Sistema de diseño consistente
   --------------------------------------------------------------------------- */
:root {
  /* Colores principales */
  --ts-primary: #0066CC;
  --ts-primary-dark: #004C99;
  --ts-secondary: #00A896;
  --ts-accent: #FF6B35;
  
  /* Neutros */
  --ts-dark: #1A1A1A;
  --ts-gray: #666666;
  --ts-gray-light: #E5E5E5;
  --ts-gray-ultralight: #F8F9FA;
  --ts-white: #FFFFFF;
  
  /* Legacy (mantener compatibilidad) */
  --ts-gray-50: #f9fafb;
  --ts-gray-100: #f3f4f6;
  --ts-gray-200: #e5e7eb;
  --ts-gray-700: #374151;
  --ts-gray-900: #111827;
  
  /* Sombras */
  --ts-shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --ts-shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --ts-shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  
  /* Espaciado */
  --ts-space-xs: 0.5rem;
  --ts-space-sm: 1rem;
  --ts-space-md: 1.5rem;
  --ts-space-lg: 2rem;
  --ts-space-xl: 3rem;
  
  /* Tipografía */
  --ts-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ts-font-heading: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Single Activity */
.single-activity {
  max-width: 1200px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.activity-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--ts-gray-100);
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-content {
  padding: 2rem;
}

.activity-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ts-gray-900);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.activity-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ts-gray-700);
  margin-bottom: 1rem;
}

/* Bloques de texto de IA */
.activity-intro,
.activity-context {
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--ts-primary);
  background: var(--ts-gray-ultralight);
  border-radius: 8px;
}

.activity-intro h2,
.activity-context h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ts-primary);
  margin: 0 0 1rem 0;
}

.intro-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ts-gray);
  font-style: italic;
}

.context-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ts-gray-700);
}

.context-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ts-primary-dark);
  margin: 1.5rem 0 0.75rem 0;
}

.activity-meta {
  background: var(--ts-gray-50);
  padding: 2rem;
  border-top: 1px solid var(--ts-gray-200);
}

.activity-meta-inner h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ts-gray-900);
  margin: 0 0 1rem 0;
}

.activity-meta p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  font-size: 1rem;
  color: var(--ts-gray-700);
}

.activity-meta strong {
  color: var(--ts-gray-900);
  font-weight: 600;
  min-width: 100px;
}

.activity-meta a {
  color: var(--ts-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.activity-meta a:hover {
  color: var(--ts-primary-dark);
  text-decoration: underline;
}

.activity-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ts-secondary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}

.activity-map {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ts-gray-200);
}

.activity-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.silo-internal-links {
  background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-primary-dark) 100%);
  padding: 1.5rem 2rem;
}

.silo-internal-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.silo-internal-links li a {
  display: inline-block;
  color: #fff;
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.silo-internal-links li a:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.similar-activities {
  padding: 2rem;
  background: #fff;
}

.similar-activities h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ts-gray-900);
  margin: 0 0 1rem 0;
}

.similar-activities ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.similar-activities li a {
  display: block;
  padding: 1rem;
  background: var(--ts-gray-50);
  border: 1px solid var(--ts-gray-200);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ts-gray-900);
  transition: all 0.2s;
}

.similar-activities li a:hover {
  background: var(--ts-primary);
  color: #fff;
  border-color: var(--ts-primary);
  transform: translateY(-2px);
}

/* Archive & Taxonomy */
.posts-grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( 300px, 1fr ) );
  gap: 2rem;
  margin-top: 2rem;
}

.activity-card {
  border: 1px solid var(--color-light);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.activity-card:hover {
  transform: translateY( -4px );
  box-shadow: 0 4px 12px rgba( 0, 0, 0, 0.1 );
}

.card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card-type {
  color: var(--color-secondary);
  font-weight: 600;
}

.btn-read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  transition: color 0.2s;
}

.btn-read-more:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

/* ---------------------------------------------------------------------------
   CONTENEDOR BASE
   --------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ts-space-md);
}

/* ---------------------------------------------------------------------------
   HERO SECTION - Header de HUBs
   --------------------------------------------------------------------------- */
.silo-hero {
  background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-primary-dark) 100%);
  color: var(--ts-white);
  padding: var(--ts-space-xl) 0;
  margin-bottom: var(--ts-space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.silo-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.silo-hero .container {
  position: relative;
  z-index: 1;
}

.silo-title {
  font-family: var(--ts-font-heading);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 var(--ts-space-sm) 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.silo-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------------------------------------------------------------------------
   HUB HERO (header interno de páginas tipo/municipio)
   --------------------------------------------------------------------------- */
.hub-hero {
  margin-bottom: var(--ts-space-lg);
  padding-bottom: var(--ts-space-md);
  border-bottom: 3px solid var(--ts-gray-light);
}

.hub-hero h1 {
  font-family: var(--ts-font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--ts-dark);
  margin: 0 0 var(--ts-space-sm) 0;
}

.hub-lede {
  font-size: 1.0625rem;
  color: var(--ts-gray);
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   CONTENIDO HUB PROGRAMÁTICO (generado por IA)
   --------------------------------------------------------------------------- */
.hub-content-main {
  background: var(--ts-white);
  padding: var(--ts-space-lg);
  margin-bottom: var(--ts-space-xl);
  border-radius: 12px;
  box-shadow: var(--ts-shadow-sm);
  border-left: 4px solid var(--ts-secondary);
  line-height: 1.8;
  font-size: 1.0625rem;
  color: var(--ts-dark);
}

.hub-content-main p {
  margin-bottom: var(--ts-space-md);
}

.hub-content-main p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
   SECCIONES DE HUBS (municipios, tipos)
   --------------------------------------------------------------------------- */
.hub-municipios,
.hub-tipos,
.municipio-tipos,
.tipo-municipios {
  background: var(--ts-gray-ultralight);
  padding: var(--ts-space-lg);
  margin-bottom: var(--ts-space-lg);
  border-radius: 12px;
  border: 1px solid var(--ts-gray-light);
}

.hub-municipios h2,
.hub-tipos h2,
.municipio-tipos h2,
.tipo-municipios h2 {
  font-family: var(--ts-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ts-dark);
  margin: 0 0 var(--ts-space-md) 0;
  display: flex;
  align-items: center;
  gap: var(--ts-space-sm);
}

.hub-municipios h2::before {
  content: '📍';
  font-size: 1.5rem;
}

.hub-tipos h2::before,
.municipio-tipos h2::before {
  content: '🎯';
  font-size: 1.5rem;
}

.tipo-municipios h2::before {
  content: '🗺️';
  font-size: 1.5rem;
}

/* ---------------------------------------------------------------------------
   ENLACES SILO (listas de municipios/tipos)
   --------------------------------------------------------------------------- */
.silo-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--ts-space-sm);
}

.silo-links li {
  margin: 0;
}

.silo-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ts-space-sm) var(--ts-space-md);
  background: var(--ts-white);
  border: 2px solid var(--ts-gray-light);
  border-radius: 8px;
  color: var(--ts-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.silo-links a:hover {
  background: var(--ts-primary);
  color: var(--ts-white);
  border-color: var(--ts-primary);
  transform: translateY(-2px);
  box-shadow: var(--ts-shadow-md);
}

.silo-links a::after {
  content: '→';
  font-size: 1.25rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.silo-links a:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

/* ---------------------------------------------------------------------------
   LISTADO DE ACTIVIDADES
   --------------------------------------------------------------------------- */
.activities-list,
.activities-grid,
.posts-preview {
  margin-bottom: var(--ts-space-xl);
}

.activities-list h2,
.activities-grid h2,
.posts-preview h2 {
  font-family: var(--ts-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ts-dark);
  margin: 0 0 var(--ts-space-lg) 0;
  padding-bottom: var(--ts-space-sm);
  border-bottom: 3px solid var(--ts-secondary);
}

.activities-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--ts-space-sm);
}

.activity-item {
  background: var(--ts-white);
  border: 1px solid var(--ts-gray-light);
  border-radius: 8px;
  padding: var(--ts-space-md);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ts-space-md);
}

.activity-item:hover {
  border-color: var(--ts-secondary);
  box-shadow: var(--ts-shadow-sm);
  transform: translateX(4px);
}

.activity-item a {
  color: var(--ts-dark);
  text-decoration: none;
  font-weight: 500;
  flex: 1;
  font-size: 1.0625rem;
}

.activity-item a:hover {
  color: var(--ts-primary);
}

.activity-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--ts-secondary);
  color: var(--ts-white);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   NAVEGACIÓN SILO (volver arriba)
   --------------------------------------------------------------------------- */
.silo-navigation {
  margin-top: var(--ts-space-xl);
  padding-top: var(--ts-space-lg);
  border-top: 2px solid var(--ts-gray-light);
  text-align: center;
}

.silo-navigation a {
  display: inline-flex;
  align-items: center;
  gap: var(--ts-space-xs);
  padding: var(--ts-space-sm) var(--ts-space-lg);
  background: var(--ts-gray-ultralight);
  color: var(--ts-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid var(--ts-gray-light);
}

.silo-navigation a:hover {
  background: var(--ts-primary);
  color: var(--ts-white);
  border-color: var(--ts-primary);
  transform: translateY(-2px);
  box-shadow: var(--ts-shadow-md);
}

/* ---------------------------------------------------------------------------
   PAGINACIÓN
   --------------------------------------------------------------------------- */
.pagination-nav {
  margin-top: var(--ts-space-xl);
  padding: var(--ts-space-lg) 0;
  text-align: center;
}

.pagination-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 0.25rem;
  padding: 0 var(--ts-space-sm);
  background: var(--ts-white);
  border: 2px solid var(--ts-gray-light);
  border-radius: 6px;
  color: var(--ts-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pagination-nav .page-numbers:hover {
  background: var(--ts-primary);
  color: var(--ts-white);
  border-color: var(--ts-primary);
  transform: translateY(-2px);
}

.pagination-nav .page-numbers.current {
  background: var(--ts-primary);
  color: var(--ts-white);
  border-color: var(--ts-primary);
  cursor: default;
}

.pagination-nav .page-numbers.dots {
  background: transparent;
  border: none;
  cursor: default;
}

/* ---------------------------------------------------------------------------
   RESPONSIVE - Mobile First
   --------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .silo-links {
    grid-template-columns: 1fr;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .hub-content-main {
    padding: var(--ts-space-md);
  }
  
  .hub-municipios,
  .hub-tipos {
    padding: var(--ts-space-md);
  }
  
  .silo-hero {
    padding: var(--ts-space-lg) 0;
  }
  
  .silo-title {
    font-size: 1.75rem;
  }
}

/* ---------------------------------------------------------------------------
   IMPRESIÓN - Optimizar para PDF/impresión
   --------------------------------------------------------------------------- */
@media print {
  .silo-hero {
    background: none;
    color: var(--ts-dark);
    border-bottom: 2px solid var(--ts-dark);
  }
  
  .silo-links a,
  .activity-item {
    border: 1px solid var(--ts-gray);
    page-break-inside: avoid;
  }
}
.breadcrumbs {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not( :last-child )::after {
  content: ' › ';
  margin: 0 0.5rem;
}

.activity-details {
  list-style: none;
  margin-top: 1rem;
}

.activity-details li {
  margin-bottom: 0.5rem;
}

/* Ficha Card */
.ts-card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ts-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--ts-shadow-lg) !important;
}

.activity-map {
  margin-top: 2rem;
}

 
 
 
         D i r e c t o r i o :   C : \ U s e r s \ j o h a n \ D e s k t o p \ t u r i s m o - s a m a n a - c o r e 
 
 
 
 
 
 M o d e                                   L a s t W r i t e T i m e                   L e n g t h   N a m e                                         
 
 - - - -                                   - - - - - - - - - - - - -                   - - - - - -   - - - -                                         
 
 d - - - - -                 1 4 / 0 1 / 2 0 2 6           2 1 : 1 3                                 . g i t h u b                                   
 
 d - - - - -                 1 4 / 0 1 / 2 0 2 6           2 3 : 3 8                                 a s s e t s                                     
 
 d - - - - -                 1 4 / 0 1 / 2 0 2 6           2 3 : 3 8                                 b i n                                           
 
 d - - - - -                 1 4 / 0 1 / 2 0 2 6           2 3 : 3 8                                 d o c s                                         
 
 d - - - - -                 1 5 / 0 1 / 2 0 2 6           1 7 : 4 2                                 i n c                                           
 
 d - - - - -                 1 4 / 0 1 / 2 0 2 6           2 3 : 3 8                                 t e m p l a t e s                               
 
 - a - - - -                 1 4 / 0 1 / 2 0 2 6           1 6 : 5 0                       7 8 7 7   C H E C K L I S T - P R O D U C C I O N . m d   
 
 - a - - - -                 1 4 / 0 1 / 2 0 2 6           1 7 : 0 6                       5 1 7 9   F I X - I M P O R T A C I O N . m d             
 
 - a - - - -                 1 5 / 0 1 / 2 0 2 6           1 7 : 4 3                       5 4 3 4   t u r i s m o - s a m a n a - c o r e . p h p   
 
 - a - - - -                 1 4 / 0 1 / 2 0 2 6           2 3 : 4 9                     8 0 9 7 7   t u r i s m o - s a m a n a - c o r e 0 . z i p 
 
 - a - - - -                 1 5 / 0 1 / 2 0 2 6             0 : 0 5                     8 1 9 0 6   t u r i s m o - s a m a n a - c o r e 1 . z i p 
 
 - a - - - -                 1 5 / 0 1 / 2 0 2 6             1 : 0 8                     8 3 4 6 8   t u r i s m o - s a m a n a - c o r e 2 . z i p 
 
 - a - - - -                 1 5 / 0 1 / 2 0 2 6           1 7 : 0 8                     8 3 3 8 6   t u r i s m o - s a m a n a - c o r e 3 . z i p 
 
 
 
 
 
 