/* RESET */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background-color: #ffffff;
  line-height: 1.5;
}

/* BRAND TOKENS */
:root {
  --primary: #021CD4;         /* azul estanque */
  --primary-hover: #00108a;   /* azul más oscuro para hover */
  --border: #e2e8f0;
  --text-main: #0f172a;
  --text-dim: #64748b;
  --bg-soft: #f8fafc;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-full: 999px;
  --max-width: 1200px;
  --gap-section: clamp(3rem, 2vw, 4rem);
  --gap-blocks: 2rem;
}

/* LAYOUT HELPERS */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-block {
  padding-top: var(--gap-section);
  padding-bottom: var(--gap-section);
}

.soft-bg {
  background-color: var(--bg-soft);
}

/* HEADER */
.site-header {
  border-bottom: 1px solid var(--border);
  background-color: #fff;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* NUEVO: bloque brand (logo svg + texto) */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 0.6rem;
}

/* Logo SVG (archivo externo <img src="logo-estanque.svg">) */
.brand-logo {
    width: 50px;
    height: auto;
    display: inline-block;
}

/* Texto "Estanque Creativo" */
.brand-name {
    font-size: 1.34rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0;
    line-height: 0;
}

/* Ajuste en pantallas más pequeñas */
@media (max-width: 480px) {
  .brand-name {
    font-size: 0.95rem;
  }
}

/* Ya no usamos brand-text ni brand-tagline en el header,
   pero si los quieres en footer los podemos mantener allá.
   Por claridad las removemos aquí del header layout. */

/* Navegación */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-size: .9rem;
  color: var(--text-main);
  font-weight: 500;
}

.btn-nav {
  border: 1px solid var(--primary);
  background-color: var(--primary);
  color: #fff !important;
  font-weight: 500;
  border-radius: var(--radius-full);
  padding: .5rem .9rem;
  line-height: 1.2;
  display: inline-block;
  transition: background-color .2s ease;
  text-decoration: none;
}

.btn-nav:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* HERO */
.hero-section {
  padding-top: clamp(2rem, 3vw, 4rem);
  padding-bottom: clamp(2rem, 3vw, 4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(2rem, 1vw + 1.5rem, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.hero-description {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: .7rem 1.1rem;
  font-weight: 600;
  border: 1px solid var(--primary);
  font-size: .9rem;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color .2s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-secondary {
  display: inline-block;
  background-color: #fff;
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: .7rem 1.1rem;
  font-weight: 600;
  border: 1px solid var(--primary);
  font-size: .9rem;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color .2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #eef2ff;
}

.text-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.sp-avatar-row {
  display: flex;
  align-items: center;
}

.sp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 4px 12px rgba(2,28,212,.3);
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-avatar:first-child {
  margin-left: 0;
}

.sp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.social-proof-text {
  font-size: .8rem;
  color: var(--text-dim);
  line-height: 1.3;
}

.hero-photo {
  display: flex;
  justify-content: center;
}

.photo-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  background-color: #fff;
}

/* SECTION HEADER */
.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: .4rem;
  letter-spacing: -0.03em;
}

.section-desc {
    font-size: .95rem;
    color: var(--text-dim);
    max-width: 100%;
    line-height: 1.4;
}

/* BLOG CARDS */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem 1rem;
  background-color: #fff;
  transition: box-shadow .15s ease, transform .15s ease;
}

.post-card:hover {
  box-shadow: 0 24px 48px rgba(0,0,0,.07);
  transform: translateY(-2px);
}

.post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .75rem;
  line-height: 1.2;
  color: var(--text-dim);
  margin-bottom: .75rem;
  font-weight: 500;
}

.post-tag {
  background-color: #eef2ff; /* azul muy pálido */
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: .3rem .6rem;
  line-height: 1.2;
  font-size: .7rem;
  border: 1px solid var(--primary);
  font-weight: 500;
}

.post-date {
  color: var(--text-dim);
}

.post-title {
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: .5rem;
  letter-spacing: -0.03em;
}

.post-excerpt {
  font-size: .9rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 1rem;
  max-width: 60ch;
}

.read-more {
  font-size: .8rem;
  font-weight: 500;
  color: var(--primary);
}

/* RECURSOS */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap: 1rem;
}

.resource-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: #fff;
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  box-shadow: 0 16px 40px rgba(0,0,0,.03);
}

.resource-body {
  margin-bottom: 1rem;
}

.resource-eyebrow {
  font-size: .7rem;
  font-weight: 500;
  color: var(--primary);
  background-color: #eef2ff;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: .3rem .6rem;
  line-height: 1.2;
  display: inline-block;
  margin-bottom: .75rem;
}

.resource-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: .5rem;
}

.resource-desc {
  color: var(--text-dim);
  font-size: .9rem;
  line-height: 1.4;
  max-width: 45ch;
}

/* NEWSLETTER */
.newsletter-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--bg-soft);
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.06);
  max-width: 700px;
}

.newsletter-title {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: .75rem;
}

.newsletter-desc {
  font-size: .95rem;
  line-height: 1.4;
  color: var(--text-dim);
  max-width: 50ch;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .5rem;
}

.input-email {
  flex: 1;
  min-width: 200px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background-color: #fff;
  padding: .7rem 1rem;
  font-size: .9rem;
  line-height: 1.2;
  color: var(--text-main);
  outline: none;
}

.input-email:focus {
  border-color: var(--primary);
}

.mini-note {
  color: var(--text-dim);
  font-size: .75rem;
  line-height: 1.4;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: #fff;
  margin-top: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: start;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.footer-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: .8rem;
  line-height: 1.4;
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a,
.footer-social a {
  font-size: .8rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.legal {
  font-size: .7rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-photo {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ABOUT PAGE LAYOUT */

/* Hero de la página About */
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(260px,320px);
  gap: 2rem;
  align-items: start;
}

.about-title {
  font-size: clamp(1.8rem, 1vw + 1rem, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.about-intro {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 60ch;
}

.about-hero-photo {
  display: flex;
  justify-content: center;
}

.about-photo-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
}

/* Principios */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.principle-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: #fff;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.03);
}

.principle-title {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: .5rem;
  letter-spacing: -0.03em;
}

.principle-text {
  font-size: .9rem;
  line-height: 1.4;
  color: var(--text-dim);
  max-width: 50ch;
}

/* Qué hacemos */
.what-we-do {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.what-list {
  list-style: none;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text-main);
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.what-list strong {
  color: var(--primary);
  font-weight: 600;
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(220px,280px) 1fr;
  gap: 2rem;
  align-items: start;
}

.founder-photo-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
  max-width: 280px;
}

.founder-bio {
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 1rem;
  max-width: 60ch;
}

/* CTA final */
.final-cta-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,.06);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.final-cta-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: .5rem;
  letter-spacing: -0.03em;
}

.final-cta-desc {
  font-size: .9rem;
  line-height: 1.4;
  color: var(--text-dim);
  max-width: 55ch;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .what-we-do {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    order: -1;
  }
}
/* BLOG PAGE LAYOUT */

/* Intro del blog */
.blog-hero-inner {
  max-width: 800px;
  padding-bottom: 1rem;
}

.blog-page-title {
  font-size: clamp(2rem, 1vw + 1.5rem, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.blog-page-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 65ch;
}

/* Lista de artículos en columna */
.blog-list-section .container {
  max-width: 800px;
}

/* Cada entrada */
.blog-row {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border);
}

.blog-row:first-of-type {
  border-top: 1px solid var(--border);
}

/* Meta arriba (categoría + fecha) */
.blog-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  font-size: .75rem;
  line-height: 1.2;
  margin-bottom: .75rem;
}

.blog-row-tag {
  background-color: #eef2ff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: .3rem .6rem;
  line-height: 1.2;
  font-size: .7rem;
  font-weight: 500;
}

.blog-row-date {
  color: var(--text-dim);
  font-weight: 500;
  font-size: .75rem;
}

/* Título clickeable */
.blog-row-title {
  display: block;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.03em;
  margin-bottom: .5rem;
}

.blog-row-title:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Descripción corta */
.blog-row-excerpt {
  font-size: .95rem;
  line-height: 1.45;
  color: var(--text-dim);
  max-width: 70ch;
}

/* Responsive pequeño: más aire entre posts */
@media (max-width: 600px) {
  .blog-row {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .blog-row-title {
    font-size: 1rem;
  }

  .blog-row-excerpt {
    font-size: .9rem;
  }
}
/* ===== PAGE: POST INDIVIDUAL ===== */

/* Contenedor del header del post */
.post-header-wrap {
  max-width: 760px;
}

/* Metadatos arriba del título */
.post-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  font-size: .75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dim);
  font-weight: 500;
}

.post-tag-pill {
  background-color: #eef2ff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: .3rem .6rem;
  line-height: 1.2;
  font-size: .7rem;
  font-weight: 500;
}

.post-date-line {
  color: var(--text-dim);
  font-weight: 500;
}

.post-readtime {
  color: var(--text-dim);
  font-weight: 500;
}

/* Título principal del artículo */
.post-title-xl {
  font-size: clamp(2rem, 1vw + 1.5rem, 2.5rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

/* Subtítulo / hook */
.post-subhead {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 65ch;
  margin-bottom: 2rem;
}

/* Autor */
.post-author-block {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.post-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(2,28,212,.25);
}

.post-author-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.post-author-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.post-author-role {
  font-size: .8rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* Cuerpo del post */
.post-body-inner {
  max-width: 760px;
}

.post-body-inner p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  max-width: 70ch;
}

.post-body-inner h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-top: 2rem;
  margin-bottom: .75rem;
  max-width: 60ch;
}

.post-body-inner ul.post-list {
  margin: 0 0 1.5rem 1.25rem;
  padding: 0;
  display: grid;
  gap: .75rem;
  max-width: 70ch;
}

.post-body-inner ul.post-list li {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-main);
}

.post-body-inner ul.post-list li strong {
  color: var(--primary);
  font-weight: 600;
}

.post-body-inner em {
  font-style: italic;
  color: var(--text-main);
}

/* Bloque de cita */
.post-quote-block {
  border-left: 4px solid var(--primary);
  background-color: #eef2ff;
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1rem 1rem;
  margin: 2rem 0;
  box-shadow: 0 12px 30px rgba(2,28,212,.08);
  max-width: 700px;
}

.post-quote-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Navegación entre posts */
.post-nav {
  max-width: 760px;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  padding-bottom: 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.post-nav-link {
  font-size: .9rem;
  line-height: 1.4;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  max-width: 320px;
}

.post-nav-link:hover {
  text-decoration: underline;
}

/* Responsive ajustes */
@media (max-width: 600px) {
  .post-title-xl {
    font-size: 2rem;
  }

  .post-subhead {
    font-size: .95rem;
  }

  .post-author-avatar {
    width: 40px;
    height: 40px;
  }

  .post-body-inner p {
    font-size: .95rem;
  }

  .post-body-inner h2 {
    font-size: 1.15rem;
  }
}
/* ===== RESOURCES PAGE ===== */

/* Hero de recursos */
.resources-hero-inner {
  max-width: 800px;
  padding-bottom: 1rem;
}

.resources-page-title {
  font-size: clamp(2rem, 1vw + 1.5rem, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.resources-page-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 65ch;
  margin-bottom: 1rem;
}

.resources-badge {
  font-size: .8rem;
  font-weight: 500;
  color: var(--primary);
  background-color: #eef2ff;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  display: inline-block;
  padding: .4rem .75rem;
  line-height: 1.2;
  width: fit-content;
}

/* GRID de recursos descargables */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,360px),1fr));
  gap: 1.5rem;
}

/* Tarjeta grande de recurso */
.resource-card-lg {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header de la tarjeta */
.resource-card-head {
  margin-bottom: .75rem;
}

.resource-type-pill {
  font-size: .7rem;
  font-weight: 500;
  color: var(--primary);
  background-color: #eef2ff;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: .3rem .6rem;
  line-height: 1.2;
  display: inline-block;
}

/* Título y descripción del recurso */
.resource-card-title {
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: .5rem;
}

.resource-card-desc {
  font-size: .9rem;
  line-height: 1.45;
  color: var(--text-dim);
  margin-bottom: 1rem;
  max-width: 60ch;
}

/* Bullet points del recurso */
.resource-points {
  margin: 0 0 1.25rem 1rem;
  padding: 0;
  display: grid;
  gap: .5rem;
  font-size: .9rem;
  line-height: 1.4;
  color: var(--text-main);
}

.resource-points li {
  list-style: disc;
}

/* Botón dentro de tarjeta */
.resource-cta-btn {
  align-self: flex-start;
}

/* Sección herramientas que usamos */
.tools-wrap {
  max-width: 1000px;
}

.tools-head {
  max-width: 680px;
  margin-bottom: 2rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr));
  gap: 1rem;
}

/* Cada herramienta */
.tool-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,.03);
  padding: 1rem 1rem 1rem;
}

.tool-name-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: baseline;
  margin-bottom: .5rem;
}

.tool-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.tool-tag {
  font-size: .7rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--primary);
  background-color: #eef2ff;
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: .3rem .6rem;
}

.tool-desc {
  font-size: .9rem;
  line-height: 1.4;
  color: var(--text-dim);
  max-width: 45ch;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .resources-page-title {
    font-size: 2rem;
  }
  .resource-card-lg {
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem 1rem;
  }
}
/* ===== COMPARTIR ARTÍCULO (BARRA FLOTANTE CON BLUR) ===== */
.share-section {
  background: transparent;
  border: none;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.share-container {
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.6),
      rgba(240, 245, 255, 0.55)
    );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  box-shadow:
    0 8px 24px rgba(2, 28, 212, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 1.25rem 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.share-container:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(2, 28, 212, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

.share-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 0.9rem;
}

.share-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Botones de redes */
.share-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* Hover por red */
.share-btn.twitter:hover {
  background-color: #000;
  color: #fff;
}

.share-btn.linkedin:hover {
  background-color: #0077b5;
  color: #fff;
}

.share-btn.facebook:hover {
  background-color: #1877f2;
  color: #fff;
}

.share-btn.copy:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 480px) {
  .share-container {
    padding: 1rem 1.25rem;
  }

  .share-btn {
    width: 38px;
    height: 38px;
  }
}

/* ===== SECCIÓN LIBROS SIN INCLINACIÓN ===== */

.books-simple-wrap {
  max-width: 1100px;
}

.books-cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  padding-top: 1rem;
}

/* Tarjeta portada */
.book-cover-only {
  display: block;
  aspect-ratio: 2/3;
  width: 100%;
  max-width: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #fff;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.06),
    0 4px 8px rgba(0, 0, 0, 0.04);
  transform-origin: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
  line-height: 0; /* Evita el pequeño salto del link */
}

/* Imagen */
.book-cover-only img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover con animación */
.book-cover-only:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.10);
  z-index: 2;
}

/* Responsive */
@media (max-width: 480px) {
  .books-cover-grid {
    gap: 1.25rem;
  }

  .book-cover-only {
    max-width: 120px;
  }
}
/* ===== NOTAS DE LECTURA / BOOK NOTES PAGE ===== */

.booknotes-header-wrap {
  max-width: 760px;
}

.booknotes-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  font-size: .75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dim);
  font-weight: 500;
}

.booknote-type-pill {
  background-color: #eef2ff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: .3rem .6rem;
  line-height: 1.2;
  font-size: .7rem;
  font-weight: 500;
}

.booknote-date {
  color: var(--text-dim);
  font-weight: 500;
  font-size: .75rem;
}

.booknotes-title-xl {
  font-size: clamp(2rem, 1vw + 1.5rem, 2.3rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.booknotes-subhead {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 65ch;
  margin-bottom: 2rem;
}

/* Portada + info del libro */
.booknotes-book-intro {
  display: grid;
  grid-template-columns: minmax(120px,160px) 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 2rem;
}

.booknotes-cover-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #fff;
  box-shadow:
    0 16px 40px rgba(0,0,0,.12),
    0 4px 8px rgba(0,0,0,.06);
  aspect-ratio: 2/3;
  max-width: 160px;
}

.booknotes-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.booknotes-book-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.booknotes-book-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: .25rem;
}

.booknotes-book-author {
  font-size: .8rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: .75rem;
}

.booknotes-book-tagline {
  font-size: .9rem;
  color: var(--text-main);
  line-height: 1.4;
  max-width: 45ch;
}

/* Cuerpo de notas */
.booknotes-body-inner {
  max-width: 760px;
}

.booknotes-block {
  margin-bottom: 2.5rem;
}

.booknotes-h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: .75rem;
  max-width: 60ch;
}

.booknotes-h3 {
  font-size: .9rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}

.booknotes-h3.good {
  color: var(--primary);
}

.booknotes-h3.bad {
  color: #ef4444; /* rojo suave para contraste; puedes cambiarlo si quieres algo más neutro */
}

.booknotes-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  max-width: 70ch;
}

.booknotes-list {
  margin: 0 0 1.5rem 1.25rem;
  padding: 0;
  display: grid;
  gap: .75rem;
  max-width: 70ch;
}

.booknotes-list li {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-main);
}

.booknotes-list li strong {
  color: var(--primary);
  font-weight: 600;
}

.booknotes-list em {
  font-style: italic;
  color: var(--text-main);
}

/* Bloque de cita grande */
.booknotes-quote-block {
  border-left: 4px solid var(--primary);
  background-color: #eef2ff;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 2rem 0;
  box-shadow: 0 12px 30px rgba(2,28,212,.08);
  max-width: 700px;
}

.booknotes-quote-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Grid para "para quién sí / no" */
.booknotes-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.booknotes-col-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.03);
  padding: 1rem 1rem 1rem;
}

.booknotes-mini-list {
  margin: 0;
  padding-left: 1rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--text-main);
  display: grid;
  gap: .5rem;
}

.booknotes-mini-list li {
  list-style: disc;
  max-width: 50ch;
  color: var(--text-main);
}

/* Baraja de frases destacadas */
.booknotes-quote-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,250px),1fr));
  gap: 1rem;
}

.booknotes-quote-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.03);
  padding: 1rem;
}

.booknotes-quote-card-text {
  font-size: .9rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* Navegación entre notas de libros */
.booknotes-nav {
  max-width: 760px;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  padding-bottom: 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.booknotes-nav-link {
  font-size: .9rem;
  line-height: 1.4;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  max-width: 320px;
}

.booknotes-nav-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  .booknotes-book-intro {
    grid-template-columns: 1fr;
  }

  .booknotes-cover-frame {
    max-width: 180px;
  }

  .booknotes-grid-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .booknotes-title-xl {
    font-size: 2rem;
  }

  .booknotes-subhead {
    font-size: .95rem;
  }

  .booknotes-text {
    font-size: .95rem;
  }

  .booknotes-h2 {
    font-size: 1.15rem;
  }
}
/* ===== QUÉ HACEMOS / WHAT WE DO SECTION ===== */

.whatwedo-wrap {
    margin-top: 1rem;
}

.whatwedo-header {
  max-width: 680px;
  margin-bottom: 2rem;
}

/* GRID para "Qué hacemos" en 2 columnas simétricas */
.whatwedo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

@media (max-width: 700px) {
  .whatwedo-grid {
    grid-template-columns: 1fr;
  }
}

/* Cada tarjeta */
.whatwedo-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  padding: 1.5rem 1.25rem 1.25rem;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Hover interaction */
.whatwedo-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.08),
    0 4px 16px rgba(0,0,0,0.04);
  border-color: rgba(2,28,212,.4); /* un toque de azul */
}

/* Ícono arriba */
.whatwedo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(2,28,212,0.08); /* azul suave translúcido */
  border: 1px solid rgba(2,28,212,0.2);
  box-shadow: 0 8px 16px rgba(2,28,212,0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: all .22s ease;
}

/* al hover, damos pequeño "bump" al icono */
.whatwedo-card:hover .whatwedo-icon {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 12px 24px rgba(2,28,212,0.22);
  background-color: rgba(2,28,212,0.10);
}

/* Título dentro de la tarjeta */
.whatwedo-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: .5rem;
  transition: color .22s ease;
}

/* Cambia a azul al hover */
.whatwedo-card:hover .whatwedo-card-title {
  color: var(--primary);
}

/* Descripción */
.whatwedo-card-desc {
  font-size: .9rem;
  line-height: 1.4;
  color: var(--text-dim);
  max-width: 50ch;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .whatwedo-grid {
    gap: 1rem;
  }

  .whatwedo-card {
    padding: 1.25rem 1rem 1rem;
  }

  .whatwedo-icon {
    width: 36px;
    height: 36px;
    font-size: .9rem;
    margin-bottom: .75rem;
  }

  .whatwedo-card-title {
    font-size: .95rem;
    margin-bottom: .4rem;
  }

  .whatwedo-card-desc {
    font-size: .85rem;
  }
}
/* ===== CONTACTO / BUZÓN DE IDEAS ===== */

.contact-card {
  max-width: 820px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
}

.field-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

/* Inputs de texto (nombre, email, tema) */
.input-text {
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background-color: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--text-main);
  outline: none;
}

.input-text:focus {
  border-color: var(--primary);
}

/* Área de mensaje */
.input-area {
  border-radius: 18px;
  border: 2px solid var(--border);
  background-color: #fff;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-main);
  resize: vertical;
  min-height: 140px;
  outline: none;
}

.input-area:focus {
  border-color: var(--primary);
}

/* Ajustes responsive */
@media (max-width: 600px) {
  .contact-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-row {
    flex-direction: column;
  }
}
/* ===== ARTÍCULOS ===== */
.post-article {
  max-width: 720px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 2rem;
}

.post-author {
  color: var(--text-dim);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

.post-title {
  font-size: clamp(2rem, 1.5vw + 1rem, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.post-subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.post-intro {
  font-size: 1rem;
  color: var(--text-dim);
}

.post-image {
  margin: 2rem 0;
}

.post-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.post-body p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
}

.list-green {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.list-green li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Ajuste del link a video */
.post-body .text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.post-body .text-link:hover {
  text-decoration: underline;
}
/* ===========================
   REFERENCIAS / FUENTES
   =========================== */
.ref-section {
  margin-top: 3rem;
}

.ref-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.ref-intro {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: 540px;
}

.ref-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.ref-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.ref-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(2, 28, 212, 0.12);
  border-color: var(--primary);
}

.ref-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ref-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.ref-domain {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.ref-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  background-color: #eef2ff;
  font-weight: 500;
}
