/* SEO landing pages — CSS mínimo, mobile-first, sin frameworks.
   Una sola descarga compartida por todas las páginas verticales y blog.
   Brand: #0d9b6a, #087a52. */

:root {
  --brand: #0d9b6a;
  --brand-dark: #087a52;
  --brand-tint: #f0fdf4;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 10px 30px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.seo-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 100;
}
.seo-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.seo-logo { font-size: 18px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.seo-logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.seo-nav { display: flex; gap: 22px; font-size: 14px; }
.seo-nav a { color: var(--ink-soft); font-weight: 500; }
.seo-cta {
  display: inline-block;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: background 120ms ease;
}
.seo-cta:hover { background: var(--brand-dark); text-decoration: none; color: #fff !important; }

@media (max-width: 720px) {
  .seo-nav { display: none; }
}

/* Hero */
.seo-hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--brand-tint) 0%, #ffffff 100%);
}
.seo-hero h1 {
  font-size: 44px; line-height: 1.15; margin: 0 0 18px; font-weight: 800;
  letter-spacing: -0.01em;
}
.seo-hero h1 em { font-style: normal; color: var(--brand-dark); }
.seo-hero .lead { font-size: 19px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 28px; max-width: 700px; }
.seo-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.seo-hero .pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(13, 155, 106, 0.25);
}
.btn-primary {
  display: inline-block;
  padding: 14px 24px;
  background: var(--brand);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: background 120ms ease, transform 120ms ease;
}
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  padding: 14px 24px;
  background: #ffffff;
  color: var(--ink) !important;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-dark) !important; text-decoration: none; }

@media (max-width: 720px) {
  .seo-hero { padding: 40px 0 36px; }
  .seo-hero h1 { font-size: 30px; }
  .seo-hero .lead { font-size: 17px; }
}

/* Sections */
.seo-section { padding: 64px 0; }
.seo-section.alt { background: var(--bg-soft); }
.seo-section h2 {
  font-size: 32px; line-height: 1.2; margin: 0 0 14px; font-weight: 800;
  letter-spacing: -0.005em;
}
.seo-section h2 + .lead { font-size: 17px; color: var(--ink-soft); max-width: 700px; margin-bottom: 36px; }
.seo-section h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; }

.seo-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.seo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.seo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 155, 106, 0.5);
  box-shadow: 0 4px 8px rgba(13, 155, 106, 0.08), 0 16px 40px rgba(13, 155, 106, 0.08);
}
.seo-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.seo-card p { color: var(--ink-soft); margin: 0; }

/* Metric strip */
.seo-metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 28px 0;
}
.seo-metric {
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}
.seo-metric .value {
  font-size: 36px; font-weight: 800; color: var(--brand-dark);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 8px;
}
.seo-metric .label { color: var(--ink-soft); font-size: 14px; }

/* Bullets list */
.seo-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.seo-bullets li {
  position: relative; padding-left: 30px;
  color: var(--ink); font-size: 16px;
}
.seo-bullets li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

/* FAQ */
.seo-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  background: #fff;
}
.seo-faq summary {
  cursor: pointer;
  font-weight: 700; font-size: 17px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after {
  content: '+';
  color: var(--brand);
  font-size: 24px; font-weight: 400;
  line-height: 1;
}
.seo-faq details[open] summary::after { content: '−'; }
.seo-faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Final CTA */
.seo-final-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  text-align: center;
}
.seo-final-cta h2 { color: #fff; font-size: 36px; margin: 0 0 14px; }
.seo-final-cta p { color: rgba(255, 255, 255, 0.92); font-size: 18px; margin: 0 0 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.seo-final-cta .btn-primary {
  background: #fff;
  color: var(--brand-dark) !important;
}
.seo-final-cta .btn-primary:hover { background: rgba(255, 255, 255, 0.92); }

/* Footer */
.seo-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px 0 32px;
  color: var(--ink-soft);
  font-size: 14px;
}
.seo-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.seo-footer .col { flex: 1 1 200px; }
.seo-footer .col h4 { color: var(--ink); font-size: 14px; margin: 0 0 12px; }
.seo-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.seo-footer a { color: var(--ink-soft); }
.seo-footer .copy { width: 100%; text-align: center; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 16px; color: var(--ink-soft); font-size: 13px; }

/* Article (blog post) */
.seo-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.seo-article .meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 14px;
}
.seo-article h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.seo-article .lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  line-height: 1.55;
}
.seo-article h2 {
  font-size: 26px;
  margin: 36px 0 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.seo-article h3 {
  font-size: 20px;
  margin: 28px 0 10px;
  font-weight: 700;
}
.seo-article p { margin: 0 0 16px; color: var(--ink); }
.seo-article ul, .seo-article ol { margin: 0 0 20px; padding-left: 24px; color: var(--ink); }
.seo-article ul li, .seo-article ol li { margin-bottom: 6px; }
.seo-article blockquote {
  border-left: 3px solid var(--brand);
  background: var(--brand-tint);
  padding: 12px 18px;
  margin: 20px 0;
  font-style: italic;
  color: var(--ink);
  border-radius: 0 8px 8px 0;
}
.seo-article .post-cta {
  margin: 36px 0;
  padding: 24px;
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0;
}
.seo-article .post-cta strong { color: var(--brand-dark); }

/* Blog index */
.seo-blog-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 32px 0;
}
.seo-blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.seo-blog-card:hover {
  border-color: rgba(13, 155, 106, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(13, 155, 106, 0.08), 0 16px 40px rgba(13, 155, 106, 0.08);
}
.seo-blog-card .tag {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.seo-blog-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; color: var(--ink); }
.seo-blog-card h3 a { color: inherit; }
.seo-blog-card p { color: var(--ink-soft); font-size: 14px; margin: 0 0 10px; }
.seo-blog-card .meta { color: var(--ink-soft); font-size: 13px; }
