.elementor-1748 .elementor-element.elementor-element-97c9713{--display:flex;}/* Start custom CSS for html, class: .elementor-element-a628f29 */:root {
  /* === TUS COLORES CORPORATIVOS === */
  --primary: #ff8200; /* Naranja para botones, spans, destacados */
  --primary-dark: #e67500; /* Hover naranja */
  --secondary: #101f46; /* Azul corporativo para H2 y textos principales */
  --accent: #4a90e2; /* Azul secundario para tips */
  --text: #2d2d2d;
  --text-light: #6b7280;
  --bg: #faf9f7;
  --bg-card: #ffffff;
  --bg-secondary: #f5f2ef;
  --border: rgba(255, 130, 0, 0.2);
  --shadow: rgba(16, 31, 70, 0.08);
  --gradient-1: linear-gradient(135deg, #ff8200 0%, #e67500 100%);
  --gradient-2: linear-gradient(135deg, #101f46 0%, #1a3366 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-1);
  z-index: 1001;
  transition: width 0.1s;
}

/* Navegación */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
[data-theme="dark"] .navbar {
  background: rgba(26, 26, 26, 0.9);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 2px 8px var(--shadow);
}
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}
.theme-toggle span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

/* Container principal */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.article-hero {
  margin-top: 100px;
  margin-bottom: 4rem;
  text-align: center;
}

.category-badge {
  display: inline-block;
  background: var(--gradient-1);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  color: var(--text-light);
  font-size: 0.95rem;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.meta-item i {
  color: var(--primary);
}

/* Featured Image */
.featured-image-wrapper {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
}
.featured-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.featured-image-wrapper:hover .featured-image {
  transform: scale(1.05);
}
.image-credit {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* Tabla de Contenidos Sticky */
.toc-wrapper {
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px var(--shadow);
}
.toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
}
.toc-list {
  list-style: none;
  counter-reset: toc-counter;
}
.toc-list li {
  counter-increment: toc-counter;
  margin-bottom: 0.75rem;
}
.toc-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s;
}
.toc-list a::before {
  content: counter(toc-counter);
  background: var(--bg-secondary);
  color: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.toc-list a:hover {
  background: var(--bg-secondary);
  color: var(--text);
  transform: translateX(5px);
}
.toc-list a.active {
  background: var(--primary);
  color: white;
}
.toc-list a.active::before {
  background: white;
  color: var(--primary);
}

/* Contenido del artículo */
.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}
.article-content p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.article-content h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary); /* #101F46 */
  position: relative;
  padding-bottom: 1rem;
}
.article-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}
.article-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

/* Highlight boxes */
.highlight-box {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 12px var(--shadow);
}
.highlight-box.tip {
  border-left-color: var(--accent);
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(255, 130, 0, 0.1) 100%);
}
.highlight-box.warning {
  border-left-color: var(--secondary);
}
.highlight-box strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* Lista personalizada */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.custom-list li {
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.3s;
}
.custom-list li:hover {
  transform: translateX(5px);
}
.custom-list li i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

/* Tabla comparativa */
.comparison-table {
  width: 100%;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}
.comparison-table th {
  background: var(--gradient-2);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tr:hover {
  background: var(--bg-secondary);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.stat-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.3s;
}
.stat-card:hover {
  transform: translateY(-5px);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item.full-width {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

/* CTA Box */
.cta-box {
  background: var(--gradient-2);
  color: white;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(16, 31, 70, 0.3);
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-box h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}
.cta-box p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  position: relative;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary); /* #FF8200 */
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 130, 0, 0.4);
  position: relative;
}
.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 130, 0, 0.6);
}
.cta-button i {
  transition: transform 0.3s;
}
.cta-button:hover i {
  transform: translateX(5px);
}

/* Author Box */
.author-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
  display: flex;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 4px 12px var(--shadow);
}
.author-avatar {
  width: 130px;
  height: 130px;
  object-fit: cover;
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}
.author-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
}
.author-social {
  display: flex;
  gap: 1rem;
}
.author-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
}
.author-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Tags */
.tags-section {
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.tags-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tag {
  background: var(--bg-secondary);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid var(--border);
}
.tag:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Newsletter */
.newsletter-box {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}
.newsletter-box h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}
.newsletter-box p {
  color: var(--text-light);
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border) !important;
  border-radius: 50px !important;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input:focus {
  border-color: var(--primary);
}
.newsletter-form button {
  padding: 1rem 2rem;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 50px !important;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 130, 0, 0.4);
}

/* Related Posts */
.related-posts {
  margin: 4rem 0;
}
.section-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--secondary);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.post-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow);
}
.post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.post-card-content {
  padding: 1.5rem;
}
.post-card-category {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--secondary);
}
.post-card-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Compartir */
.share-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.share-title {
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--secondary);
}
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.share-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s;
}
.share-button.facebook {
  background: #1877f2;
  color: white;
}
.share-button.twitter {
  background: #1da1f2;
  color: white;
}
.share-button.whatsapp {
  background: #25d366;
  color: white;
}
.share-button.instagram {
  background: rgb(231, 71, 164);
  color: white;
}
.share-button.google {
  background: #df000b;
  color: white;
}
.share-button:hover {
  transform: translateY(-3px) scale(1.1);
  color: white !important;
}

.table-responsive {
  overflow-x: auto;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .article-hero {
    margin-top: 80px;
  }
  .featured-image {
    height: 300px;
  }
  .toc-wrapper {
    position: relative;
    top: 0;
  }
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .image-gallery {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.article-content > * {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}/* End custom CSS */