/* Rankers Reading Room — vanilla CSS */
:root {
  --bg: #faf7f1;
  --surface: #ffffff;
  --surface-2: #f4efe5;
  --border: #e7ddc9;
  --fg: #2a1f14;
  --muted: #7a6a55;
  --accent: #c98a1f;
  --accent-fg: #ffffff;
  --primary: #2a1f14;
  --primary-fg: #faf7f1;
  --whatsapp: #25d366;
  --whatsapp-fg: #07331a;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(40,25,10,.04), 0 8px 24px -12px rgba(40,25,10,.08);
  --shadow-lift: 0 12px 32px -12px rgba(201,138,31,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 56rem; }
.center { text-align: center; }
.accent { color: var(--accent); }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }

.eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 1rem; }
.big { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.05; }
.body { font-size: 1rem; color: var(--muted); margin-top: .75rem; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,247,241,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark {
  width: 2.5rem; height: 2.5rem; border-radius: 12px;
  background: var(--accent); color: var(--accent-fg);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(201,138,31,.6);
}
.brand-mark svg { width: 26px; height: 26px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 800; }
.brand-text small { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.site-nav { display: none; gap: 2rem; font-size: .9rem; font-weight: 600; }
.site-nav a { color: var(--muted); transition: color .2s; }
.site-nav a:hover { color: var(--fg); }
@media (min-width: 768px) { .site-nav { display: flex; } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.75rem; padding: 0 1.25rem;
  border-radius: 12px; font-weight: 700; font-size: .9rem;
  cursor: pointer; transition: opacity .15s, transform .15s;
  border: 0; white-space: nowrap;
}
.btn:hover { opacity: .9; }
.btn-sm { height: 2.5rem; padding: 0 1rem; font-size: .85rem; }
.btn-lg { height: 3rem; padding: 0 1.75rem; font-size: .95rem; }
.btn-whatsapp { background: var(--whatsapp); color: var(--whatsapp-fg); box-shadow: 0 8px 20px -8px rgba(37,211,102,.45); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.ico { width: 1.05rem; height: 1.05rem; }

/* GLOW */
.glow {
  position: absolute; border-radius: 9999px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201,138,31,.20), transparent 70%);
  filter: blur(40px); z-index: 0;
}
.glow-tl { top: -8rem; left: -8rem; width: 520px; height: 520px; }
.glow-br { bottom: -8rem; right: -8rem; width: 520px; height: 520px; }
.glow-center { top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; }

/* HERO */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 5rem; }
@media (min-width: 768px) { .hero { padding: 5rem 0 7rem; } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.hero-copy > * + * { margin-top: 1.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border); background: var(--surface);
  padding: .35rem 1rem; border-radius: 9999px;
  font-size: .75rem; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.05; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 36rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); background: rgba(255,255,255,.6);
  padding: .4rem .85rem; border-radius: 9999px;
  font-size: .75rem; font-weight: 600;
}
.hero-img-wrap { display: flex; justify-content: center; }
.hero-img {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 4/5;
  border-radius: 2rem; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(40,25,10,.25);
  background: var(--surface);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,12,4,.85), rgba(20,12,4,.15) 55%, transparent);
}
.hero-img-caption {
  position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
  color: #f5e9d3;
}

/* SECTIONS */
.section { padding: 5rem 0; border-top: 1px solid var(--border); position: relative; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-muted { background: rgba(244,239,229,.45); }

/* BENTO */
.bento {
  position: relative; z-index: 1;
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; } .span-2x2 { grid-column: span 2; grid-row: span 2; } .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(201,138,31,.35); }
.card-ico {
  width: 2.5rem; height: 2.5rem; border-radius: 12px;
  background: rgba(201,138,31,.12); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-ico svg { width: 20px; height: 20px; }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.card p { font-size: .88rem; color: var(--muted); }

/* Feature (hero) bento card */
.card-feature {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(201,138,31,.18), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, #fff8ea 100%);
  border-color: rgba(201,138,31,.35);
  padding: 2rem;
}
.card-feature::before {
  content: ""; position: absolute; inset: auto -40px -40px auto;
  width: 220px; height: 220px; border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(201,138,31,.18), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.card-ico-lg { width: 3.25rem; height: 3.25rem; border-radius: 16px; margin-bottom: 1.25rem; }
.card-ico-lg svg { width: 26px; height: 26px; }
.kicker {
  font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .5rem;
}
.card-title-lg {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem) !important;
  font-weight: 800; line-height: 1.15; margin-bottom: .75rem !important;
}
.card-feature > p { font-size: .95rem; color: var(--muted); max-width: 32rem; }
.mini-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.mini-list li {
  position: relative; padding-left: 1.4rem;
  font-size: .88rem; color: var(--fg);
}
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: .5rem;
  width: .75rem; height: .75rem; border-radius: 9999px;
  background: var(--accent); opacity: .85;
  box-shadow: 0 0 0 4px rgba(201,138,31,.15);
}
.stat-strip {
  margin-top: auto; padding-top: 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border-top: 1px dashed rgba(201,138,31,.35);
  padding-top: 1.25rem; margin-top: 1.5rem;
}
.stat-strip > div { display: flex; flex-direction: column; }
.stat-strip strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem; font-weight: 900; color: var(--fg); line-height: 1;
}
.stat-strip span {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-top: .35rem;
}

/* PLANS */
.plans { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--border); background: rgba(255,255,255,.7);
  border-radius: 26px; padding: 2rem;
}
.plan.popular { border-color: var(--accent); background: var(--surface); box-shadow: 0 20px 40px -16px rgba(201,138,31,.25); }
.plan .badge {
  position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-fg);
  font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .75rem; border-radius: 9999px;
}
.plan h3 { font-size: 1.4rem; font-weight: 800; }
.price { display: flex; align-items: baseline; gap: .4rem; margin-top: .75rem; }
.price .amount { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.25rem; font-weight: 900; }
.price .per { font-size: .85rem; color: var(--muted); }
.plan ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; }
.plan ul li::first-letter { color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; padding-top: 0; height: 2.85rem; margin-top: 1.75rem; }

/* FINAL CTA */
.final-cta { overflow: hidden; }
.final-cta .container { position: relative; z-index: 1; }
.final-cta .btn { margin-top: 1.75rem; }

/* CONTACT */
.map-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}
.google-map {
  width: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}
.map-details {
  background: var(--surface);
  padding: 1.5rem 1.75rem 2rem;
  color: var(--fg);
  line-height: 1.7;
}
@media (min-width: 900px) {
  .map-card {
    grid-template-columns: 42% 58%;
  }
  .google-map {
    min-height: 360px;
  }
  .map-details {
    padding: 2rem 2.25rem;
  }
}
.map-details p {
  margin: 0 0 1rem;
  font-size: .95rem;
}
.map-details strong {
  display: block;
  margin-bottom: .5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-item { display: flex; gap: 1rem; }
.contact-ico {
  flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 12px;
  background: rgba(201,138,31,.12); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-ico svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.contact-item p { font-size: .9rem; color: var(--muted); }
.contact-link,
.contact-email {
  display: block;
  font-size: .9rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.contact-link { text-decoration: none; transition: color .15s; }
.contact-link:hover,
.contact-email a:hover { color: var(--accent); }
.contact-email a { color: inherit; text-decoration: none; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-row {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  font-size: .75rem; color: var(--muted);
}
@media (min-width: 640px) { .footer-row { flex-direction: row; justify-content: space-between; } }
