/* ============================================================
   ADVERTORIAL.CSS — Estilo editorial, no landing page
   Objetivo: parecer un artículo periodístico confiable
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #FFFFFF;
  color: #1A1A1A;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER === */
.site-header {
  border-bottom: 1px solid #E5E5E5;
  padding: 16px 0;
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1rem;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

.header-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: #737373;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #F5F5F5;
  padding: 4px 10px;
  border-radius: 4px;
}

/* === ARTICLE LAYOUT === */
.article-main {
  padding: 48px 0 80px;
}

.article-container {
  max-width: 720px;
}

/* === META === */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.article-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-date {
  font-size: 0.75rem;
  color: #737373;
}

/* === HEADLINE === */
.article-headline {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.article-deck {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #404040;
  margin-bottom: 24px;
  font-style: italic;
}

/* === AUTHOR BAR === */
.author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1A1A1A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1A1A;
}

.author-note {
  font-size: 0.75rem;
  color: #737373;
}

/* === DIVIDER === */
.article-divider {
  border: none;
  border-top: 1px solid #E5E5E5;
  margin: 24px 0 32px;
}

/* === BODY === */
.article-body {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #1A1A1A;
}

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

.article-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #1A1A1A;
}

.article-body h2 {
  font-family: "Inter", sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 2.5em 0 0.75em;
  line-height: 1.3;
}

/* === QUOTE === */
.article-quote {
  border-left: 3px solid #111111;
  padding: 4px 0 4px 24px;
  margin: 2em 0;
  font-style: italic;
  font-size: 1.125rem;
  color: #404040;
  line-height: 1.6;
}

/* === LISTS === */
.article-list {
  margin: 0 0 1.5em 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-list li {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1A1A1A;
  padding-left: 20px;
  position: relative;
}

.article-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #737373;
}

.article-list--check li::before {
  content: "✓";
  color: #16A34A;
  font-weight: 700;
}

/* === CALLOUT === */
.callout-box {
  background: #F8F8F8;
  border: 1px solid #E5E5E5;
  border-left: 3px solid #2563EB;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 2em 0;
}

.callout-title {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563EB;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px !important;
}

.callout-text {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1A1A1A;
  margin-bottom: 0 !important;
}

/* === CTA SECTION === */
.cta-section {
  margin: 3em 0 1em;
  background: #111111;
  border-radius: 12px;
  overflow: hidden;
}

.cta-inner {
  padding: 40px;
}

.cta-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px !important;
}

.cta-title {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.cta-text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px !important;
}

.cta-details {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cta-price {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
}

.cta-includes {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #111111;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  transition: transform 150ms ease, box-shadow 150ms ease;
  margin-bottom: 16px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-cta:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.cta-disclaimer {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin-bottom: 0 !important;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid #E5E5E5;
  padding: 40px 0;
  background: #FAFAFA;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1A1A1A;
}

.footer-text {
  font-size: 0.875rem;
  color: #737373;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #A3A3A3;
  line-height: 1.6;
  max-width: 640px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  /* HEADER */
  .header-inner { gap: 12px; }
  .header-tag { display: none; }

  /* ARTICLE */
  .article-main { padding: 24px 0 100px; } /* padding-bottom para el CTA flotante */
  .article-headline { font-size: 1.375rem; line-height: 1.3; }
  .article-deck { font-size: 0.9375rem; }
  .article-body { font-size: 0.9375rem; }
  .article-body h2 { font-size: 1.125rem; margin: 2em 0 0.6em; }
  .article-quote { font-size: 0.9375rem; padding-left: 14px; }
  .article-list li { font-size: 0.9375rem; }

  /* CALLOUT */
  .callout-box { padding: 14px 16px; }

  /* CTA */
  .cta-section { border-radius: 10px; }
  .cta-inner { padding: 24px 18px; }
  .cta-title { font-size: 1.125rem; }
  .cta-text { font-size: 0.875rem; }
  .cta-details { flex-direction: column; align-items: flex-start; gap: 6px; }
  .btn-cta { width: 100%; justify-content: center; padding: 14px 20px; font-size: 0.9375rem; }

  /* CTA FLOTANTE en móvil */
  .mobile-cta-bar {
    display: flex !important;
  }
}

/* CTA flotante — solo visible en móvil */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #111111;
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #FFFFFF;
  color: #111111;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
}

.mobile-cta-bar .mobile-cta-price {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .article-headline { font-size: 1.25rem; }
  .callout-box { padding: 12px 14px; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
