/* Shared styles for article pages under /articulos/ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #2D3436;
  background: #F7F9FA;
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0; background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.15rem; color: #1A7A6D;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: .95rem; font-weight: 500; color: #2D3436; transition: color .3s; }
.nav-links a:hover { color: #1A7A6D; }
.nav-cta {
  background: #1A7A6D; color: #fff; padding: 10px 22px;
  border-radius: 999px; font-weight: 600; font-size: .9rem;
  transition: background .3s, transform .2s;
}
.nav-cta:hover { background: #145e54; transform: translateY(-1px); }
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* Breadcrumb */
.breadcrumb {
  padding: 120px 0 20px; font-size: .9rem; color: #6C7A89;
}
.breadcrumb a { color: #1A7A6D; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* Article */
article.articulo-page {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  overflow: hidden;
  margin-bottom: 60px;
}
.articulo-hero { width: 100%; height: 360px; overflow: hidden; }
.articulo-hero img { width: 100%; height: 100%; object-fit: cover; }
.articulo-content { padding: 44px 54px 54px; }
.articulo-cat {
  display: inline-block;
  background: #E6F5F2; color: #1A7A6D;
  padding: 5px 14px; border-radius: 999px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.articulo-content h1 {
  font-size: 2.1rem; color: #1B2A38; line-height: 1.22; margin-bottom: 12px;
}
.articulo-autor {
  font-size: .9rem; color: #6C7A89; margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid #E6F5F2; font-style: italic;
}
.articulo-content p {
  font-size: 1rem; color: #2D3436; line-height: 1.8; margin-bottom: 18px;
}
.articulo-content h2 {
  font-size: 1.35rem; color: #1A7A6D; margin: 30px 0 12px;
}
.articulo-content .intro {
  font-size: 1.08rem; color: #1B2A38; font-weight: 500;
}
.articulo-cta-box {
  margin-top: 36px; padding: 24px 28px;
  background: #F7F9FA; border-left: 4px solid #1A7A6D; border-radius: 10px;
}
.articulo-cta-box p { margin-bottom: 14px; }
.articulo-cta-box a.btn {
  display: inline-block;
  background: #1A7A6D; color: #fff;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: background .3s, transform .2s;
}
.articulo-cta-box a.btn:hover { background: #145e54; transform: translateY(-1px); }

@media (max-width: 700px) {
  .articulo-hero { height: 220px; }
  .articulo-content { padding: 28px 24px 36px; }
  .articulo-content h1 { font-size: 1.55rem; }
}

/* Related articles */
.related-section { padding: 20px 0 60px; }
.related-section h2 {
  font-size: 1.5rem; color: #1B2A38; margin-bottom: 24px;
  font-family: 'Playfair Display', serif;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.related-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,122,109,.12); }
.related-card img { width: 100%; height: 130px; object-fit: cover; }
.related-card .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.related-card .cat {
  font-size: .7rem; font-weight: 600; color: #1A7A6D;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px;
}
.related-card h3 {
  font-size: 1rem; color: #1B2A38; line-height: 1.35;
  font-family: 'Inter', sans-serif; font-weight: 600;
}
@media (max-width: 800px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .related-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer {
  background: #1B2A38; border-top: 3px solid #1A7A6D;
  padding: 36px 0; text-align: center;
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; }
.footer-brand span {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.1rem; color: #fff;
}
.footer p { color: rgba(255,255,255,.5); font-size: .85rem; }
.footer .legal-disclaimer {
  max-width: 780px; margin: 14px auto 0;
  font-size: .72rem; line-height: 1.55;
  color: rgba(255,255,255,.38);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
