/* =========================================================
   Brandcrops — Recursos
   Paleta y tipografía oficiales (brandbook v8, abril 2026)
   ========================================================= */

:root {
  /* Paleta principal */
  --bc-navy: #001A72;
  --bc-green: #00C288;
  --bc-pink: #DA1884;
  --bc-white: #FFFFFF;
  --bc-black: #000000;
  --bc-bg: #F4F6FB;
  --bc-grey: #6B7280;
  --bc-border: #E2E6F0;

  /* Tints navy */
  --bc-navy-dark: #000E4A;
  --bc-navy-light: #1A3A9A;
  --bc-navy-50: #E6E8F5;

  /* Tints green */
  --bc-green-dark: #009166;
  --bc-green-light: #33DCB3;
  --bc-green-50: #E5FBF5;

  /* Tipografía */
  --font-display: "Roboto", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;

  /* Spacing */
  --container: 1180px;
  --container-narrow: 880px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--bc-black);
  background: var(--bc-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bc-navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Tipografía */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--bc-navy);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-weight: 900; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
p  { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--bc-green);
  margin-bottom: 14px;
  display: inline-block;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }
section.tight { padding: 48px 0; }

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
  background: var(--bc-navy);
  color: var(--bc-white);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar a { color: var(--bc-white); }
.brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bc-green); display: inline-block; }
.topbar nav { display: flex; gap: 28px; align-items: center; font-size: .95rem; }
.topbar nav a { opacity: .85; transition: opacity .2s; }
.topbar nav a:hover { opacity: 1; text-decoration: none; }
.topbar nav a.cta {
  background: var(--bc-green);
  color: var(--bc-navy);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
}
.topbar nav a.cta:hover { background: var(--bc-green-light); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, background .2s, color .2s;
}
.btn-primary { background: var(--bc-green); color: var(--bc-navy); }
.btn-primary:hover { background: var(--bc-green-light); transform: translateY(-1px); text-decoration: none; }
.btn-secondary { background: var(--bc-navy); color: var(--bc-white); }
.btn-secondary:hover { background: var(--bc-navy-light); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--bc-navy); border: 2px solid var(--bc-navy); }
.btn-ghost:hover { background: var(--bc-navy); color: var(--bc-white); text-decoration: none; }

/* =========================================================
   Hero (hub)
   ========================================================= */
.hero {
  background: var(--bc-navy);
  color: var(--bc-white);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,136,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 { color: var(--bc-white); max-width: 760px; }
.hero h1 em { color: var(--bc-green); font-style: normal; }
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 640px;
  opacity: .92;
  margin-top: 8px;
}

/* =========================================================
   Grid de descargables
   ========================================================= */
.grid-recursos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.card-recurso {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: var(--bc-black);
}
.card-recurso:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(0,26,114,.25);
  border-color: var(--bc-navy-50);
  text-decoration: none;
}
.card-recurso .thumb {
  aspect-ratio: 4 / 3;
  background: var(--bc-navy-50) linear-gradient(135deg, var(--bc-navy) 0%, var(--bc-navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.card-recurso .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-recurso .thumb-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%;
  color: var(--bc-white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  padding: 24px;
  text-align: center;
  line-height: 1.1;
}
.card-recurso .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-recurso h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--bc-navy);
}
.card-recurso .resumen {
  font-size: .92rem;
  color: var(--bc-grey);
  margin: 0 0 18px;
  flex: 1;
}
.card-recurso .pill {
  align-self: flex-start;
  font-size: .72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--bc-green-dark);
  background: var(--bc-green-50);
  padding: 6px 12px;
  border-radius: 999px;
}

/* =========================================================
   Landing individual
   ========================================================= */
.landing-hero {
  background: var(--bc-navy);
  color: var(--bc-white);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.landing-hero::before {
  content: "";
  position: absolute;
  bottom: -160px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218,24,132,.14) 0%, transparent 70%);
  pointer-events: none;
}
.landing-hero h1 { color: var(--bc-white); max-width: 800px; }
.landing-hero p.subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 680px;
  opacity: .92;
  margin-top: 6px;
}
.landing-hero .back-link {
  color: var(--bc-green);
  font-size: .85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.landing-hero .back-link:hover { text-decoration: none; opacity: .8; }

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr);
  gap: 60px;
  align-items: start;
}
@media (max-width: 920px) {
  .landing-grid { grid-template-columns: 1fr; gap: 36px; }
}

.landing-content h2 { color: var(--bc-navy); margin-bottom: 14px; }
.landing-content p { color: var(--bc-black); font-size: 1.02rem; }

.cover-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(0,26,114,.35);
  background: var(--bc-navy);
  aspect-ratio: 4 / 5;
  margin-bottom: 28px;
}
.cover-img img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%;
  color: var(--bc-white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  padding: 32px;
  text-align: center;
  line-height: 1.1;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}
.bullets li {
  padding: 14px 0 14px 38px;
  border-bottom: 1px solid var(--bc-border);
  position: relative;
  font-size: 1rem;
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bc-green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001A72' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Form card */
.form-card {
  background: var(--bc-white);
  border: 1px solid var(--bc-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 40px -28px rgba(0,26,114,.25);
  position: sticky;
  top: 24px;
}
.form-card .form-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--bc-green);
  margin-bottom: 10px;
  display: block;
}
.form-card h3 {
  color: var(--bc-navy);
  margin: 0 0 6px;
  font-size: 1.4rem;
}
.form-card p.form-sub {
  color: var(--bc-grey);
  font-size: .95rem;
  margin: 0 0 18px;
}
.form-card iframe {
  width: 100%;
  min-height: 580px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--bc-white);
}
.form-card .privacy {
  font-size: .78rem;
  color: var(--bc-grey);
  margin-top: 14px;
  line-height: 1.5;
}

/* Trust strip */
.trust {
  background: var(--bc-white);
  border-top: 1px solid var(--bc-border);
  border-bottom: 1px solid var(--bc-border);
  padding: 36px 0;
}
.trust .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.trust .stats { display: flex; gap: 40px; flex-wrap: wrap; }
.trust .stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--bc-navy);
  font-size: 1.8rem;
  line-height: 1;
}
.trust .stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bc-grey);
  font-weight: 700;
  margin-top: 4px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--bc-navy);
  color: var(--bc-white);
  padding: 56px 0 32px;
}
.footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) {
  .footer .container { grid-template-columns: 1fr; }
}
.footer h4 {
  color: var(--bc-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 14px;
  opacity: .7;
}
.footer a {
  color: var(--bc-white);
  display: block;
  margin-bottom: 8px;
  opacity: .85;
  font-size: .95rem;
}
.footer a:hover { opacity: 1; }
.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  margin-top: 36px;
  font-size: .82rem;
  opacity: .6;
}
.footer .brand { color: var(--bc-white); margin-bottom: 12px; }
.footer p { opacity: .85; font-size: .95rem; margin-bottom: 6px; }

/* =========================================================
   Section intro
   ========================================================= */
.section-intro { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-intro .eyebrow { display: inline-block; }
.section-intro h2 { color: var(--bc-navy); margin-bottom: 12px; }
.section-intro p { color: var(--bc-grey); font-size: 1.05rem; }
