/* ==========================================================================
   EntreAutos Noticias — advertorial
   Estética: portal masivo argentino (referencia Infobae). Marca propia.
   ========================================================================== */

:root {
  --ink: #111418;
  --ink-soft: #5a6270;
  --ink-faint: #8b93a1;
  --line: #e3e6ea;
  --line-soft: #eef1f4;
  --blue: #1b4b8f;
  --blue-dark: #143869;
  --red: #d6002a;
  --wash: #f4f6f8;
  --green: #128c4a;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;

  --col: 700px;   /* columna de texto editorial */
  --wide: 1120px; /* ancho del portal */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 18px; }
.col  { width: 100%; max-width: var(--col);  margin: 0 auto; padding: 0 18px; }

/* ---------- Header del portal ---------- */

.masthead {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: -0.03em;
}
.logo__name { font-size: 25px; font-weight: 900; color: var(--ink); }
.logo__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  padding: 3px 7px;
  border-radius: 3px;
}

.masthead__nav {
  display: flex;
  gap: 20px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.masthead__nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.masthead__nav a:hover { color: var(--blue); }

.masthead__date {
  font-size: 12px;
  color: var(--ink-faint);
  text-transform: capitalize;
  white-space: nowrap;
}

/* Franja de divulgación: es contenido comercial, va declarado. */
.disclosure {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 7px 0;
}

/* ---------- Encabezado de la nota ---------- */

.article { padding-bottom: 40px; }

.kicker {
  display: inline-block;
  margin: 26px 0 12px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(30px, 6.2vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.standfirst {
  font-size: clamp(18px, 2.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-weight: 400;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
}
.byline__author { color: var(--ink); font-weight: 700; }
.byline__sep { color: var(--line); }

.share { display: flex; gap: 8px; margin-left: auto; }
.share a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  text-decoration: none;
  transition: 0.15s ease;
}
.share a:hover { background: var(--wash); color: var(--ink); border-color: var(--ink-faint); }
.share svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Figura / hero ---------- */

figure { margin: 26px 0; }
figure img { width: 100%; height: auto; border-radius: 2px; }
figcaption {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-faint);
  padding-top: 9px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 12px;
}

.hero-figure { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Cuerpo ---------- */

.article p { margin: 0 0 14px; }

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(23px, 3.6vw, 31px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 38px 0 16px;
}

h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
  margin: 26px 0 10px;
}

.article ul { margin: 0 0 16px; padding-left: 22px; }
.article li { margin-bottom: 7px; }

strong { font-weight: 700; }

/* Bloque staccato: líneas cortas con menos aire, mantiene el ritmo del texto */
.beat p { margin-bottom: 6px; }

/* ---------- Pull quote ---------- */

blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--blue);
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 25px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* ---------- Módulo de premios ---------- */

.prizes { display: grid; gap: 14px; margin: 26px 0; }

.prize {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  background: #fff;
}
.prize__tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.prize h3 { margin: 0 0 10px; font-size: 23px; }
.prize ul { margin: 0; padding-left: 20px; font-size: 17px; color: var(--ink-soft); }
.prize li { margin-bottom: 5px; }

/* ---------- Pasos ---------- */

.steps { counter-reset: step; margin: 24px 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 52px;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
}
.steps li strong { display: block; }

/* ---------- Prueba social ---------- */

.proof {
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.proof__head {
  background: var(--wash);
  padding: 12px 18px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--line);
}
.proof__body { padding: 18px; }
.proof__body img { width: 100%; max-width: 330px; margin: 0 auto 14px; border-radius: 4px; }
.proof__body p { margin: 0; font-size: 16px; color: var(--ink-soft); text-align: center; }

/* ---------- Caja de CTA ---------- */

.cta-box {
  margin: 34px 0;
  padding: 26px 22px;
  background: var(--wash);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 6px 6px;
  text-align: center;
}
.cta-box h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 3.2vw, 27px);
  letter-spacing: -0.02em;
}
.cta-box p { margin: 0 0 18px; font-size: 17px; color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: 4px;
  min-height: 54px;
  transition: 0.15s ease;
}
.btn:hover { background: var(--blue-dark); }
.btn--lg { font-size: 19px; padding: 18px 36px; width: 100%; max-width: 420px; }

.cta-note { font-size: 13px; color: var(--ink-faint); margin: 12px 0 0; }

/* ---------- Contador ---------- */

.countdown { margin: 18px 0 4px; }
.countdown__label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 380px;
  margin: 0 auto;
}
.countdown__cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 4px;
}
.countdown__cell strong {
  display: block;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__cell span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Checklist final ---------- */

.checklist { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; display: inline-block; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 9px;
  font-size: 17px;
}
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq { margin: 22px 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 15px 34px 15px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 15px; color: var(--ink-soft); font-size: 17px; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 50px;
  background: var(--ink);
  color: #cfd5dd;
  padding: 34px 0;
  font-size: 14px;
  line-height: 1.6;
}
.site-footer a { color: #fff; }
.site-footer .logo__name { color: #fff; font-size: 21px; }
.site-footer__legal { margin-top: 14px; color: #8b93a1; font-size: 13px; }
.site-footer__legal p { margin: 0 0 7px; }

/* ---------- Barra fija mobile ---------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  display: none;
}
.sticky-cta .btn { width: 100%; font-size: 16px; padding: 14px; min-height: 50px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .masthead__nav, .masthead__date { display: none; }
  .masthead__bar { justify-content: center; }
}

@media (min-width: 620px) {
  .prizes { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 619px) {
  body { font-size: 18px; }
  .share { margin-left: 0; width: 100%; }
  .byline { gap: 6px 10px; }
  .cta-box { padding: 22px 16px; }
  .sticky-cta { display: block; }
  body { padding-bottom: 78px; }
  .countdown__cell strong { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
