/* Bot de WhatsApp - WhatsApp Green Theme */
:root {
  --whatsapp-green: #25D366;
  --whatsapp-dark: #075E54;
  --whatsapp-light: #D9FDD3;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --dark-gray: #2C3E50;
  --text-gray: #5D6D7E;
  --border-gray: #E5E7EB;
  --max-width: 760px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Header - Clean white with WhatsApp accent */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--whatsapp-green);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.1);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-logo::before {
  content: "💬";
  font-size: 1.2rem;
}
.site-logo span { 
  color: var(--whatsapp-green);
  font-weight: 800;
}
.header-cta {
  background: var(--whatsapp-green);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.header-cta:hover { 
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* Hero - WhatsApp gradient */
.blog-hero {
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--white) 100%);
  padding: 4rem 0;
  text-align: left;
  position: relative;
}
.blog-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 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='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.blog-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  max-width: 550px;
  line-height: 1.6;
}

/* Article header */
.article-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 2.5rem;
}
.article-header .category {
  display: inline-flex;
  align-items: center;
  background: var(--whatsapp-light);
  color: var(--whatsapp-dark);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  gap: 0.3rem;
}
.article-header .category::before {
  content: "📚";
  font-size: 0.9rem;
}
.article-header h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Posts grid - Card layout */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.15);
  border-color: var(--whatsapp-green);
}
.post-card-body { 
  padding: 1.5rem;
}
.post-card-body .category {
  display: inline-flex;
  align-items: center;
  background: var(--whatsapp-green);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  gap: 0.3rem;
}
.post-card-body .category::before {
  content: "💡";
  font-size: 0.8rem;
}
.post-card-body h2 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.post-card-body h2 a {
  color: var(--dark-gray);
  text-decoration: none;
}
.post-card-body h2 a:hover { color: var(--whatsapp-green); }
.post-card-body p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Article content */
.article-content h2 {
  font-size: 1.5rem;
  color: var(--dark-gray);
  margin: 2.5rem 0 1rem;
  font-weight: 700;
  position: relative;
  padding-left: 1rem;
}
.article-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 4px;
  height: 1.2rem;
  background: var(--whatsapp-green);
  border-radius: 2px;
}
.article-content h3 {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}
.article-content p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
  line-height: 1.7;
}
.article-content ul, .article-content ol {
  margin: 1.5rem 0 1.5rem 1.5rem;
  color: var(--text-gray);
}
.article-content li { 
  margin-bottom: 0.75rem;
  position: relative;
}
.article-content ul li::marker {
  color: var(--whatsapp-green);
}
.article-content blockquote {
  border-left: 4px solid var(--whatsapp-green);
  padding: 1.5rem 2rem;
  background: var(--whatsapp-light);
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
  position: relative;
}
.article-content blockquote::before {
  content: "💬";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.2rem;
  opacity: 0.6;
}
.article-content strong { color: var(--dark-gray); }

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
  color: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  margin: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-box h3 {
  color: var(--white) !important;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.cta-box p {
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}
.cta-box a {
  display: inline-block;
  background: var(--white);
  color: var(--whatsapp-green);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cta-box a:hover { 
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Footer */
.site-footer {
  background: var(--whatsapp-dark);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
}
.site-footer p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}
.site-footer a { 
  color: var(--whatsapp-green);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.footer-powered {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .blog-hero { padding: 2.5rem 0; text-align: center; }
  .blog-hero h1 { font-size: 2rem; }
  .article-header h1 { font-size: 1.8rem; }
  .posts-grid { grid-template-columns: 1fr; gap: 1rem; }
  .site-header .container { flex-direction: column; gap: 1rem; }
}