/* ============================================
   BLOG STYLES - REDEIL
   Estilos profesionales para blog y artículos
   ============================================ */

:root {
  --blog-primary: #f59e0b;
  --blog-primary-dark: #d97706;
  --blog-primary-light: #fbbf24;
  --blog-dark: #1a1a2e;
  --blog-dark-alt: #16213e;
  --blog-text: #1d1d1f;
  --blog-text-light: #6b7280;
  --blog-text-muted: #9ca3af;
  --blog-bg-light: #f5f5f7;
  --blog-bg-alt: #fafafa;
  --blog-border: #e5e7eb;
  --blog-white: #ffffff;
  --blog-success: #10b981;
  --blog-info: #3b82f6;
  --blog-warning: #f59e0b;
  --blog-danger: #ef4444;
  --blog-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --blog-shadow-md: 0 8px 24px rgba(0,0,0,0.1);
  --blog-shadow-lg: 0 15px 40px rgba(0,0,0,0.15);
  --blog-shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --blog-radius-sm: 8px;
  --blog-radius-md: 12px;
  --blog-radius-lg: 16px;
  --blog-radius-xl: 24px;
  --blog-transition: all 0.3s ease;
}

/* ============================================
   BREADCRUMB - ESTILO PROFESIONAL
   ============================================ */
.breadcrumb-section {
  background: linear-gradient(135deg, var(--blog-bg-light) 0%, var(--blog-bg-alt) 100%);
  padding: 1rem 0;
  border-bottom: 1px solid var(--blog-border);
  margin-top: 100px;
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--blog-text-light);
}

.breadcrumb li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--blog-text-muted);
  border-right: 1.5px solid var(--blog-text-muted);
  transform: rotate(45deg);
  margin: 0 0.75rem;
}

.breadcrumb a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blog-text-light);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: var(--blog-radius-sm);
  transition: var(--blog-transition);
}

.breadcrumb a:hover {
  color: var(--blog-primary);
  background: rgba(245, 158, 11, 0.1);
}

.breadcrumb li:last-child {
  color: var(--blog-dark);
  font-weight: 600;
}

.breadcrumb .breadcrumb-icon {
  width: 16px;
  height: 16px;
  color: var(--blog-primary);
}

/* ============================================
   ARTICLE HERO
   ============================================ */
.article-hero {
  position: relative;
  background: linear-gradient(135deg, var(--blog-dark) 0%, var(--blog-dark-alt) 100%);
  padding: 4rem 0;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59e0b' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.article-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.article-hero-content {
  color: var(--blog-white);
}

.article-tag {
  display: inline-block;
  background: var(--blog-primary);
  color: var(--blog-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.article-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: var(--blog-white);
}

.article-excerpt {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0 0 2rem;
}

.article-meta-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.article-hero-image {
  position: relative;
  border-radius: var(--blog-radius-lg);
  overflow: hidden;
  box-shadow: var(--blog-shadow-lg);
}

.article-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ============================================
   ARTICLE CONTENT SECTION
   ============================================ */
.article-content-section {
  padding: 4rem 0 5rem;
  background: var(--blog-white);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

/* ============================================
   ARTICLE MAIN
   ============================================ */
.article-main {
  max-width: none;
}

/* Table of Contents */
.article-toc {
  background: linear-gradient(135deg, var(--blog-bg-light) 0%, var(--blog-white) 100%);
  border-radius: var(--blog-radius-md);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--blog-border);
  border-left: 4px solid var(--blog-primary);
}

.article-toc h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blog-text);
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.article-toc li {
  counter-increment: toc-counter;
  margin-bottom: 0.6rem;
}

.article-toc li::before {
  content: counter(toc-counter) ".";
  color: var(--blog-primary);
  font-weight: 700;
  margin-right: 0.5rem;
}

.article-toc a {
  color: var(--blog-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--blog-transition);
}

.article-toc a:hover {
  color: var(--blog-primary);
}

/* Article Body */
.article-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--blog-text);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--blog-text);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--blog-primary);
}

.article-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blog-text);
  margin: 2.5rem 0 1rem;
}

/* ============================================
   SIDEBAR - DISEÑO PROFESIONAL MEJORADO
   ============================================ */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Widget Base */
.sidebar-widget {
  background: var(--blog-white);
  border-radius: var(--blog-radius-md);
  overflow: hidden;
  box-shadow: var(--blog-shadow-card);
  border: 1px solid var(--blog-border);
}

.widget-header {
  background: linear-gradient(135deg, var(--blog-dark) 0%, var(--blog-dark-alt) 100%);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.widget-header svg {
  color: var(--blog-primary);
}

.widget-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blog-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-content {
  padding: 1.25rem;
}

/* Widget Servicios Relacionados */
.widget-services .services-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem;
  background: var(--blog-bg-light);
  border-radius: var(--blog-radius-sm);
  text-decoration: none;
  transition: var(--blog-transition);
  border: 1px solid transparent;
}

.service-item:hover {
  background: var(--blog-white);
  border-color: var(--blog-primary);
  transform: translateX(5px);
  box-shadow: var(--blog-shadow-sm);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blog-primary) 0%, var(--blog-primary-dark) 100%);
  border-radius: var(--blog-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--blog-dark);
}

.service-info h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blog-text);
}

.service-info span {
  font-size: 0.8rem;
  color: var(--blog-text-light);
}

/* Widget Artículos Relacionados */
.widget-related .related-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-item {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: var(--blog-radius-sm);
  transition: var(--blog-transition);
}

.related-item:hover {
  background: var(--blog-bg-light);
}

.related-image {
  width: 80px;
  height: 60px;
  border-radius: var(--blog-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--blog-transition);
}

.related-item:hover .related-image img {
  transform: scale(1.1);
}

.related-info {
  flex: 1;
  min-width: 0;
}

.related-info h4 {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blog-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--blog-text-muted);
}

/* Widget CTA */
.widget-cta {
  background: linear-gradient(135deg, var(--blog-dark) 0%, var(--blog-dark-alt) 100%);
  border: none;
  text-align: center;
  padding: 2rem 1.5rem;
}

.widget-cta .cta-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blog-primary) 0%, var(--blog-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.widget-cta .cta-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blog-dark);
}

.widget-cta h3 {
  color: var(--blog-white);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.widget-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.widget-cta .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.widget-cta .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--blog-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--blog-transition);
}

.widget-cta .btn-primary {
  background: var(--blog-primary);
  color: var(--blog-dark);
}

.widget-cta .btn-primary:hover {
  background: var(--blog-primary-light);
  transform: translateY(-2px);
}

.widget-cta .btn-whatsapp {
  background: #25d366;
  color: var(--blog-white);
}

.widget-cta .btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

/* Widget Contacto Rápido */
.widget-contact .contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--blog-bg-light);
  border-radius: var(--blog-radius-sm);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--blog-primary);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--blog-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--blog-transition);
}

.contact-item a:hover {
  color: var(--blog-primary);
}

.contact-item span {
  color: var(--blog-text);
  font-size: 0.9rem;
}

/* Widget Tags */
.widget-tags .tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  background: var(--blog-bg-light);
  border: 1px solid var(--blog-border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--blog-text-light);
  text-decoration: none;
  transition: var(--blog-transition);
}

.tag:hover {
  background: var(--blog-primary);
  border-color: var(--blog-primary);
  color: var(--blog-dark);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
  margin: 3rem 0;
  background: var(--blog-bg-light);
  border-radius: var(--blog-radius-lg);
  padding: 2rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  border: none;
  padding: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--blog-white);
  border-radius: var(--blog-radius-md);
  border: 1px solid var(--blog-border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blog-text);
  text-align: left;
  cursor: pointer;
  transition: var(--blog-transition);
}

.faq-question:hover {
  background: var(--blog-bg-light);
}

.faq-question svg {
  flex-shrink: 0;
  transition: var(--blog-transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--blog-text-light);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   FOOTER - DISEÑO PROFESIONAL
   ============================================ */
.article-footer,
.site-footer-new {
  background: linear-gradient(180deg, var(--blog-dark) 0%, #0f0f1a 100%);
  color: var(--blog-white);
  padding: 4rem 0 0;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blog-primary);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  color: var(--blog-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--blog-transition);
}

.footer-social a:hover {
  background: var(--blog-primary);
  color: var(--blog-dark);
  transform: translateY(-2px);
}

.footer-contact-new .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-item-new {
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--blog-radius-sm);
}

.contact-item-new strong {
  display: block;
  font-size: 0.75rem;
  color: var(--blog-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.contact-item-new a,
.contact-item-new span {
  color: var(--blog-white);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-item-new a:hover {
  color: var(--blog-primary);
}

/* Footer Links */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: var(--blog-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--blog-primary);
  display: inline-block;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  transition: var(--blog-transition);
}

.footer-col a:hover {
  color: var(--blog-primary);
  padding-left: 0.5rem;
}

/* Footer Zonas */
.footer-zonas-new {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-zonas-header {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-zonas-header h4 {
  color: var(--blog-white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-zonas-header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn-ver-todas {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--blog-primary);
  color: var(--blog-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--blog-transition);
}

.btn-ver-todas:hover {
  background: var(--blog-primary);
  color: var(--blog-dark);
}

.footer-zonas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-zona-col h5 {
  color: var(--blog-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-zona-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: var(--blog-transition);
}

.footer-zona-col a:hover {
  color: var(--blog-white);
}

.ver-mas-link {
  color: var(--blog-primary) !important;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Footer Branches */
.footer-branches-new {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-branches-new h4 {
  text-align: center;
  color: var(--blog-white);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.branches-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.branch {
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--blog-radius-md);
  transition: var(--blog-transition);
}

.branch:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(245,158,11,0.3);
}

.branch strong {
  display: block;
  color: var(--blog-primary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.branch span {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}

.footer-bottom-new p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal-new {
  display: flex;
  gap: 2rem;
}

.footer-legal-new a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--blog-transition);
}

.footer-legal-new a:hover {
  color: var(--blog-primary);
}

/* ============================================
   INTEREST MODULES
   ============================================ */
.interest-module {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: var(--blog-radius-md);
}

.stat-module {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 5px solid var(--blog-primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blog-primary-dark);
}

.stat-content h4 {
  margin: 0 0 0.25rem;
  color: var(--blog-dark);
  font-size: 1.1rem;
}

.stat-content p {
  margin: 0;
  color: var(--blog-text-light);
  font-size: 0.95rem;
}

.tip-module {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-left: 5px solid var(--blog-success);
}

.tip-icon {
  flex-shrink: 0;
  color: var(--blog-success);
}

.tip-content h4 {
  margin: 0 0 0.5rem;
  color: #065f46;
  font-size: 1rem;
}

.tip-content p {
  margin: 0;
  color: #064e3b;
  line-height: 1.6;
}

/* Benefits Box */
.benefits-box {
  background: var(--blog-bg-light);
  border-radius: var(--blog-radius-md);
  padding: 2rem;
  margin: 2rem 0;
}

.benefits-box h3 {
  color: var(--blog-dark);
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--blog-white);
  border-radius: var(--blog-radius-sm);
  font-size: 0.95rem;
}

.benefits-list li::before {
  content: '✓';
  color: var(--blog-success);
  font-weight: bold;
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .widget-cta {
    grid-column: span 2;
  }

  .footer-zonas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branches-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .breadcrumb-section {
    margin-top: 70px;
    padding: 0.75rem 0;
  }

  .breadcrumb li {
    font-size: 0.8rem;
  }

  .article-hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .article-hero h1 {
    font-size: 1.75rem;
  }

  .article-hero-image img {
    height: 250px;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .widget-cta {
    grid-column: span 1;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-zonas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .branches-grid-new {
    grid-template-columns: 1fr;
  }

  .footer-bottom-new {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   OVERRIDE STYLES - MÁXIMA PRIORIDAD
   Para artículos generados por n8n workflow
   ============================================ */

/* Breadcrumb Override */
body .breadcrumb-section {
  background: linear-gradient(135deg, #f5f5f7 0%, #fafafa 100%) !important;
  padding: 1rem 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  margin-top: 100px !important;
}

body .breadcrumb-section .breadcrumb {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

body .breadcrumb-section .breadcrumb ol {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .breadcrumb-section .breadcrumb li {
  display: flex !important;
  align-items: center !important;
  font-size: 0.875rem !important;
  color: #6b7280 !important;
}

body .breadcrumb-section .breadcrumb li:not(:last-child)::after {
  content: '' !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-top: 1.5px solid #9ca3af !important;
  border-right: 1.5px solid #9ca3af !important;
  transform: rotate(45deg) !important;
  margin: 0 0.75rem !important;
}

body .breadcrumb-section .breadcrumb li:last-child {
  color: #1a1a2e !important;
  font-weight: 600 !important;
}

body .breadcrumb-section .breadcrumb a {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: #6b7280 !important;
  text-decoration: none !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

body .breadcrumb-section .breadcrumb a:hover {
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

/* Article Layout Override */
body .article-content-section .article-layout {
  display: grid !important;
  grid-template-columns: 1fr 360px !important;
  gap: 3rem !important;
  align-items: start !important;
}

/* Sidebar Override */
body .article-sidebar {
  position: sticky !important;
  top: 100px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

body .article-sidebar .sidebar-widget {
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
  border: 1px solid #e5e7eb !important;
}

body .article-sidebar .widget-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  padding: 1rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

body .article-sidebar .widget-header svg {
  color: #f59e0b !important;
}

body .article-sidebar .widget-header h3 {
  margin: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body .article-sidebar .widget-content {
  padding: 1.25rem !important;
}

/* Service Items Override */
body .article-sidebar .service-item {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 0.875rem !important;
  background: #f5f5f7 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: 1px solid transparent !important;
  margin-bottom: 0.75rem !important;
}

body .article-sidebar .service-item:hover {
  background: #ffffff !important;
  border-color: #f59e0b !important;
  transform: translateX(5px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

body .article-sidebar .service-icon {
  width: 44px !important;
  height: 44px !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

body .article-sidebar .service-icon svg {
  width: 22px !important;
  height: 22px !important;
  color: #1a1a2e !important;
}

body .article-sidebar .service-info h4 {
  margin: 0 0 0.25rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
}

body .article-sidebar .service-info span {
  font-size: 0.8rem !important;
  color: #6b7280 !important;
}

/* Related Articles Override */
body .article-sidebar .related-item {
  display: flex !important;
  gap: 1rem !important;
  text-decoration: none !important;
  padding: 0.5rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  margin-bottom: 0.75rem !important;
}

body .article-sidebar .related-item:hover {
  background: #f5f5f7 !important;
}

body .article-sidebar .related-image {
  width: 80px !important;
  height: 60px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

body .article-sidebar .related-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body .article-sidebar .related-info h4 {
  margin: 0 0 0.25rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  line-height: 1.4 !important;
}

/* Widget CTA Override */
body .article-sidebar .widget-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  border: none !important;
  text-align: center !important;
  padding: 2rem 1.5rem !important;
}

body .article-sidebar .widget-cta .cta-icon {
  width: 60px !important;
  height: 60px !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.25rem !important;
}

body .article-sidebar .widget-cta h3 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  margin: 0 0 0.75rem !important;
}

body .article-sidebar .widget-cta p {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.9rem !important;
  margin: 0 0 1.5rem !important;
  line-height: 1.5 !important;
}

body .article-sidebar .widget-cta .btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.875rem 1.25rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  margin-bottom: 0.75rem !important;
}

body .article-sidebar .widget-cta .btn-primary {
  background: #f59e0b !important;
  color: #1a1a2e !important;
}

body .article-sidebar .widget-cta .btn-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
}

/* Footer Override */
body .site-footer-new {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%) !important;
  color: #ffffff !important;
  padding: 4rem 0 0 !important;
}

body .site-footer-new .footer-top-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  padding-bottom: 3rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

body .site-footer-new .footer-brand .footer-logo {
  display: inline-block !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #f59e0b !important;
  text-decoration: none !important;
  margin-bottom: 1rem !important;
}

body .site-footer-new .footer-brand p {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
}

body .site-footer-new .footer-social {
  display: flex !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

body .site-footer-new .footer-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem 1rem !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

body .site-footer-new .footer-social a:hover {
  background: #f59e0b !important;
  color: #1a1a2e !important;
  transform: translateY(-2px) !important;
}

body .site-footer-new .footer-links {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  padding: 3rem 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

body .site-footer-new .footer-col h4 {
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.25rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 2px solid #f59e0b !important;
  display: inline-block !important;
}

body .site-footer-new .footer-col a {
  display: block !important;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  padding: 0.4rem 0 !important;
  transition: all 0.3s ease !important;
}

body .site-footer-new .footer-col a:hover {
  color: #f59e0b !important;
  padding-left: 0.5rem !important;
}

body .site-footer-new .footer-bottom-new {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 2rem 0 !important;
}

body .site-footer-new .footer-bottom-new p {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}

/* Responsive Override */
@media (max-width: 1024px) {
  body .article-content-section .article-layout {
    grid-template-columns: 1fr !important;
  }

  body .article-sidebar {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  body .article-sidebar .widget-cta {
    grid-column: span 2 !important;
  }

  body .site-footer-new .footer-top-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  body .site-footer-new .footer-links {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  body .breadcrumb-section {
    margin-top: 70px !important;
    padding: 0.75rem 0 !important;
  }

  body .breadcrumb-section .breadcrumb li {
    font-size: 0.8rem !important;
  }

  body .article-sidebar {
    grid-template-columns: 1fr !important;
  }

  body .article-sidebar .widget-cta {
    grid-column: span 1 !important;
  }

  body .site-footer-new .footer-links {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  body .site-footer-new .footer-bottom-new {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
}

/* ============================================
   FOOTER COMPLETE STYLES - MÁXIMA PRIORIDAD
   ============================================ */

/* Footer Base */
footer.site-footer-new,
body footer.site-footer-new {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%) !important;
  color: #ffffff !important;
  padding: 4rem 0 0 !important;
  margin-top: 0 !important;
}

footer.site-footer-new .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}

/* Footer Top Row */
footer.site-footer-new .footer-top-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  padding-bottom: 3rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

/* Footer Brand */
footer.site-footer-new .footer-brand {
  display: block !important;
}

footer.site-footer-new .footer-brand .footer-logo {
  display: inline-block !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #f59e0b !important;
  text-decoration: none !important;
  margin-bottom: 1rem !important;
  font-family: 'Montserrat', sans-serif !important;
}

footer.site-footer-new .footer-brand p {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin: 0 0 1.5rem 0 !important;
}

/* Footer Social */
footer.site-footer-new .footer-social {
  display: flex !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

footer.site-footer-new .footer-social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem 1rem !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

footer.site-footer-new .footer-social a:hover {
  background: #f59e0b !important;
  color: #1a1a2e !important;
  transform: translateY(-2px) !important;
}

/* Footer Contact */
footer.site-footer-new .footer-contact-new {
  display: block !important;
}

footer.site-footer-new .footer-contact-new .contact-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem !important;
}

footer.site-footer-new .footer-contact-new .contact-item-new {
  padding: 1rem !important;
  background: rgba(255,255,255,0.05) !important;
  border-radius: 8px !important;
  display: block !important;
}

footer.site-footer-new .footer-contact-new .contact-item-new strong {
  display: block !important;
  font-size: 0.7rem !important;
  color: #f59e0b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 0.4rem !important;
  font-weight: 700 !important;
}

footer.site-footer-new .footer-contact-new .contact-item-new a,
footer.site-footer-new .footer-contact-new .contact-item-new span {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  display: block !important;
}

footer.site-footer-new .footer-contact-new .contact-item-new a:hover {
  color: #f59e0b !important;
}

/* Footer Links */
footer.site-footer-new .footer-links {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  padding: 3rem 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

footer.site-footer-new .footer-links .footer-col {
  display: block !important;
}

footer.site-footer-new .footer-links .footer-col h4 {
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 0 0 1.25rem 0 !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 2px solid #f59e0b !important;
  display: inline-block !important;
  font-family: 'Montserrat', sans-serif !important;
}

footer.site-footer-new .footer-links .footer-col a {
  display: block !important;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  padding: 0.4rem 0 !important;
  transition: all 0.3s ease !important;
}

footer.site-footer-new .footer-links .footer-col a:hover {
  color: #f59e0b !important;
  padding-left: 0.5rem !important;
}

/* Footer Bottom */
footer.site-footer-new .footer-bottom-new {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 2rem 0 !important;
}

footer.site-footer-new .footer-bottom-new p {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}

footer.site-footer-new .footer-legal-new {
  display: flex !important;
  gap: 2rem !important;
}

footer.site-footer-new .footer-legal-new a {
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  transition: all 0.3s ease !important;
}

footer.site-footer-new .footer-legal-new a:hover {
  color: #f59e0b !important;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  footer.site-footer-new .footer-top-row {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  footer.site-footer-new .footer-links {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  footer.site-footer-new {
    padding: 3rem 0 0 !important;
  }

  footer.site-footer-new .footer-contact-new .contact-grid {
    grid-template-columns: 1fr !important;
  }

  footer.site-footer-new .footer-links {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 2rem 0 !important;
  }

  footer.site-footer-new .footer-bottom-new {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
    padding: 1.5rem 0 !important;
  }

  footer.site-footer-new .footer-legal-new {
    justify-content: center !important;
  }
}
