/* ════════════════════════════════════════════════════════════════════
   BLOG · Estilos compartidos para:
   - /blog.html (índice de artículos de servicios)
   - /blog/<slug>.html (4 artículos de servicios)
   - /zonas/<slug>.html (6 artículos de zonas)

   Reusa los tokens que ya define cada HTML en :root
   (--gold, --dark, --light, --text-light, etc).
   ════════════════════════════════════════════════════════════════════ */

/* ── BLOG HERO ──────────────────────────────────────────────────────── */
.blog-hero {
  position: relative;
  padding: 140px 0 72px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201,168,76,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(201,168,76,0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
  color: var(--text-light, #F5F5F0);
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
.blog-hero .container { position: relative; z-index: 2; }

.blog-hero-breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(245,245,240,0.55);
  margin-bottom: 22px;
}
.blog-hero-breadcrumb a { color: var(--gold, #C9A84C); }
.blog-hero-breadcrumb a:hover { color: var(--gold-light, #E2C070); }
.blog-hero-breadcrumb .sep { color: rgba(245,245,240,0.35); }

.blog-hero-emoji {
  font-size: 56px; line-height: 1;
  margin-bottom: 18px;
  display: inline-block;
  filter: drop-shadow(0 4px 20px rgba(201,168,76,0.35));
}

.blog-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: #fff;
}
.blog-hero h1 span { color: var(--gold, #C9A84C); }

.blog-hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  max-width: 640px; margin: 0 auto;
  color: rgba(245,245,240,0.75);
}

.blog-hero-meta {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid rgba(201,168,76,0.2);
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(245,245,240,0.6);
}
.blog-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold, #C9A84C); }

/* ── BLOG BODY (artículo editorial) ─────────────────────────────────── */
.blog-body {
  max-width: 760px; margin: 0 auto;
  padding: 72px 28px 60px;
  background: var(--light, #F8F7F4);
  color: var(--text-dark, #1A1A1A);
}
.blog-body-wrap { background: var(--light, #F8F7F4); }

.blog-body p, .blog-body li {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: #2C2C2C;
  margin-bottom: 18px;
}

.blog-body .lead {
  font-size: 19px; line-height: 1.65;
  color: #3D3D3D; font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.blog-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px; font-weight: 800; letter-spacing: -0.3px;
  line-height: 1.25;
  margin: 48px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold, #C9A84C);
  color: #0F0F0F;
}

.blog-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px; font-weight: 700;
  margin: 32px 0 10px;
  color: #1A1A1A;
}

.blog-body ul, .blog-body ol {
  padding-left: 0; margin: 0 0 20px; list-style: none;
}
.blog-body ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.blog-body ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; line-height: 18px; text-align: center;
  font-size: 11px; font-weight: 800;
  color: #0A0A0A;
  background: var(--gold, #C9A84C);
  border-radius: 50%;
}
.blog-body ol { counter-reset: blog-ol; }
.blog-body ol li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  counter-increment: blog-ol;
}
.blog-body ol li::before {
  content: counter(blog-ol);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; line-height: 28px; text-align: center;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800;
  color: #0A0A0A;
  background: var(--gold, #C9A84C);
  border-radius: 50%;
}

.blog-body blockquote {
  margin: 32px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--gold, #C9A84C);
  background: rgba(201,168,76,0.07);
  border-radius: 0 8px 8px 0;
}
.blog-body blockquote p {
  font-style: italic;
  color: #2C2C2C;
  margin: 0;
}

.blog-body strong { color: #0A0A0A; font-weight: 700; }

.blog-body .callout {
  margin: 36px 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 100%);
  color: rgba(245,245,240,0.88);
  border-radius: 12px;
  border-left: 4px solid var(--gold, #C9A84C);
}
.blog-body .callout h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 10px;
}
.blog-body .callout p { color: rgba(245,245,240,0.88); margin: 0; font-size: 15.5px; }

.blog-body .data-table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}
.blog-body .data-table th,
.blog-body .data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.blog-body .data-table thead th {
  background: #0F0F0F; color: #F5F5F0;
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.blog-body .data-table tbody tr:nth-child(even) td { background: rgba(0,0,0,0.03); }

/* ── BLOG CTA (bloque final de WhatsApp) ───────────────────────────── */
.blog-cta {
  padding: 80px 28px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,168,76,0.15) 0%, transparent 55%),
    linear-gradient(135deg, #0A0A0A 0%, #141414 100%);
  text-align: center;
  color: var(--text-light, #F5F5F0);
  border-top: 1px solid rgba(201,168,76,0.2);
}
.blog-cta-inner { max-width: 640px; margin: 0 auto; }
.blog-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  margin-bottom: 14px; letter-spacing: -0.4px;
  color: #fff;
}
.blog-cta p {
  font-size: 16px; line-height: 1.6;
  color: rgba(245,245,240,0.75);
  margin-bottom: 28px;
}
.blog-cta .btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.5px;
  padding: 16px 34px; border-radius: 8px;
  background: var(--gold, #C9A84C); color: #0A0A0A;
  border: 2px solid var(--gold, #C9A84C);
  transition: 0.28s ease;
}
.blog-cta .btn-whatsapp:hover {
  background: var(--gold-light, #E2C070);
  border-color: var(--gold-light, #E2C070);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,168,76,0.3);
}
.blog-cta .btn-whatsapp svg { width: 18px; height: 18px; fill: #0A0A0A; }

/* ── BLOG INDEX (tarjetas en /blog.html) ───────────────────────────── */
.blog-index {
  padding: 80px 0 96px;
  background: var(--light, #F8F7F4);
}
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.blog-index-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 34px 30px 28px;
  transition: 0.28s ease;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.blog-index-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold, #C9A84C);
  box-shadow: 0 14px 38px rgba(201,168,76,0.16);
}
.blog-index-card .idx-icon {
  font-size: 34px; line-height: 1;
  margin-bottom: 18px;
  display: inline-block;
  padding: 10px 12px;
  background: rgba(201,168,76,0.1);
  border-radius: 12px;
  width: max-content;
}
.blog-index-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 800;
  margin-bottom: 10px;
  color: #0A0A0A;
  letter-spacing: -0.2px;
}
.blog-index-card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px; line-height: 1.65;
  color: #3D3D3D;
  margin-bottom: 20px;
  flex: 1;
}
.blog-index-card .idx-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.blog-index-card:hover .idx-link { gap: 12px; color: var(--gold-light, #E2C070); }

/* ── BLOG RELATED (al final de cada artículo) ──────────────────────── */
.blog-related {
  padding: 60px 0 80px;
  background: var(--light2, #EEECEA);
}
.blog-related-header {
  text-align: center; margin-bottom: 36px;
}
.blog-related-header .tag {
  display: inline-block; font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold, #C9A84C);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 20px;
  padding: 4px 14px; margin-bottom: 12px;
}
.blog-related-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px; font-weight: 800; color: #0A0A0A;
  letter-spacing: -0.3px;
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px; margin: 0 auto;
  padding: 0 28px;
}
.blog-related-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 22px;
  transition: 0.28s ease;
  text-decoration: none; color: inherit;
}
.blog-related-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold, #C9A84C);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.blog-related-card .rc-icon { font-size: 22px; margin-bottom: 10px; }
.blog-related-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 4px;
}
.blog-related-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; line-height: 1.55;
  color: #666; margin: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .blog-hero { padding: 120px 0 60px; }
  .blog-hero-emoji { font-size: 48px; }
  .blog-index-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-related-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-body { padding: 56px 24px 52px; }
  .blog-body h2 { font-size: 23px; margin-top: 40px; }
  .blog-cta { padding: 64px 24px; }
}
@media (max-width: 560px) {
  .blog-hero { padding: 108px 0 52px; }
  .blog-body p, .blog-body li { font-size: 16px; }
  .blog-body .lead { font-size: 17px; }
  .blog-body h2 { font-size: 21px; }
  .blog-cta .btn-whatsapp { padding: 14px 28px; font-size: 13px; }
}
