/* Wellnessbridge landings — paleta y tipografías del Canva original */
@import url("/css/canva-fonts.css");

:root {
  --wb-bg: #f8f5ef;
  --wb-bg-soft: #efebce;
  --wb-cream: #faedcd;
  --wb-sand: #ede8de;
  --wb-text: #423f32;
  --wb-brown: #513e29;
  --wb-brown-deep: #5d3b27;
  --wb-teal: #2f636a;
  --wb-teal-deep: #304254;
  --wb-muted: #849a97;
  --wb-sage: #a3a380;
  --wb-sage-soft: #92ada4;
  --wb-taupe: #a6806b;
  --wb-gold: #c5a280;
  --wb-rose: #d8a48f;
  --wb-ink: #231f20;
  --wb-white: #ffffff;
  --wb-radius: 0;
  --wb-max: 72rem;
  --wb-font: "Poppins", "Arimo", Helvetica, Arial, sans-serif;
  --wb-font-display: "Comfortaa", "Tabarra Round", sans-serif;
  --wb-font-alt: "Balgin", "Loubag", sans-serif;
  --wb-font-accent: "Shantell Sans", "Bellota", cursive;
  --wb-font-ui: "Arimo", "Poppins", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--wb-font);
  font-weight: 300;
  color: var(--wb-text);
  background: var(--wb-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--wb-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--wb-brown);
}

.wb-skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  background: var(--wb-white);
  color: var(--wb-text);
  padding: 0.55rem 0.9rem;
  z-index: 100;
  border: 1px solid rgba(66, 63, 50, 0.2);
}

.wb-skip:focus {
  transform: none;
}

.wb-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid rgba(66, 63, 50, 0.12);
  backdrop-filter: blur(10px);
}

.wb-top__inner {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--wb-font-display);
  font-weight: 700;
  color: var(--wb-brown);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.wb-brand .logo-round {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50% !important;
  object-fit: cover;
  background: transparent;
}

.wb-brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.wb-brand span {
  font-family: var(--wb-font-ui);
  font-weight: 700;
  color: var(--wb-taupe);
  margin-left: 0.35rem;
}

.wb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.95rem;
  justify-content: flex-end;
}

.wb-nav a {
  color: var(--wb-text);
  text-decoration: none;
  font-size: 0.92rem;
}

.wb-nav a[aria-current="page"] {
  color: var(--wb-teal);
  font-weight: 700;
}

.wb-hero {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: 2.1rem 1.25rem 0.65rem;
  display: block;
}

/* Revista / periódico: la imagen flota a nivel de main y el texto la envuelve */
main {
  display: flow-root;
}

.wb-media--editorial {
  float: right;
  width: min(44%, 28rem);
  margin: 2.35rem 1.25rem 1.5rem 2rem;
  shape-outside: margin-box;
  shape-margin: 1rem;
  background: var(--wb-bg-soft);
  overflow: hidden;
}

.wb-media--editorial img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 36rem);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.wb-hero--split {
  display: block;
}

.wb-hero--split > div:not(.wb-media) {
  display: block;
}

.wb-hero--split .wb-lead {
  max-width: none;
}

.wb-hero--split .wb-chips,
.wb-hero--split .wb-actions {
  clear: none;
}

.wb-hero--split .wb-actions {
  padding-top: 0.35rem;
  margin-bottom: 0.35rem;
}

/* Elementos de bloque ancho no deben quedar aplastados junto a la imagen */
.wb-grid,
.wb-faq,
.wb-band,
.wb-cta,
.wb-contact,
.wb-quote,
.wb-tile-grid,
.wb-media-pair,
.wb-media-gallery {
  clear: both;
}

.wb-nav-mobile {
  display: none;
}

/* Rejilla de servicios estilo Canva */
.wb-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0 0.5rem;
}

.wb-tile {
  display: block;
  position: relative;
  overflow: hidden;
  background: #1f1b16;
  color: #f8f5ef;
  text-decoration: none;
  min-height: 11rem;
  border: 1px solid rgba(66, 63, 50, 0.12);
}

.wb-tile img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.wb-tile:hover img,
.wb-tile:focus-visible img {
  transform: scale(1.04);
}

.wb-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.75rem 0.7rem;
  background: linear-gradient(transparent, rgba(20, 17, 14, 0.88));
  font-family: var(--wb-font-ui, inherit);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wb-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.wb-media-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 860px) {
  .wb-media--editorial {
    float: none;
    width: auto;
    margin: 1rem 1rem 0.35rem;
    shape-outside: none;
    max-width: none;
  }

  .wb-media--editorial img {
    width: 100%;
    height: auto !important;
    max-height: none;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top;
    background: var(--wb-bg-soft);
  }

  .wb-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-tile,
  .wb-tile img {
    min-height: 9.5rem;
  }

  .wb-top__inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .wb-nav {
    display: none;
  }

  .wb-nav-mobile {
    display: flex !important;
    width: 100%;
    padding: 0 1.25rem 0.85rem;
    gap: 0.45rem 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .wb-nav-mobile a {
    flex: 0 0 auto;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(66, 63, 50, 0.14);
    background: var(--wb-white);
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .wb-hero {
    padding: 2rem 1rem 1.5rem;
  }

  .wb-section {
    padding: 1.75rem 1rem;
  }

  .wb-actions {
    width: 100%;
  }

  .wb-actions .wb-btn {
    flex: 1 1 auto;
    min-width: 9rem;
    text-align: center;
  }

  .wb-footer__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .wb-social {
    gap: 0.45rem;
  }
}

@media (max-width: 480px) {
  .wb-brand span {
    display: none;
  }

  .wb-hero h1 {
    font-size: 1.55rem;
  }

  .wb-btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}

.wb-kicker {
  font-family: var(--wb-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wb-taupe);
  margin: 0 0 0.75rem;
}

.wb-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--wb-font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--wb-brown-deep);
  font-weight: 700;
  text-wrap: balance;
}

.wb-lead {
  margin: 0;
  font-size: 1.08rem;
  max-width: none;
  color: var(--wb-text);
  text-wrap: pretty;
}

.wb-lead + .wb-lead {
  margin-top: 0.85rem;
}

.wb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.wb-btn--primary {
  background: var(--wb-teal);
  color: var(--wb-white);
}

.wb-btn--primary:hover {
  background: var(--wb-brown);
  color: var(--wb-white);
}

.wb-btn--ghost {
  background: transparent;
  color: var(--wb-brown);
  border-color: rgba(81, 62, 41, 0.35);
}

.wb-btn--ghost:hover {
  background: var(--wb-cream);
  color: var(--wb-brown);
}

.wb-media {
  background: var(--wb-bg-soft);
  overflow: hidden;
}

.wb-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.wb-section {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: 1.35rem 1.25rem;
  border-top: 1px solid rgba(66, 63, 50, 0.08);
}

main > .wb-hero + .wb-section {
  border-top: none;
  padding-top: 0.35rem;
}

.wb-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--wb-font-display);
  color: var(--wb-brown);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  max-width: 40rem;
}

.wb-section p {
  margin: 0 0 0.85rem;
  max-width: 46rem;
  text-wrap: pretty;
}

/* Editorial continuo: sin columnas laterales vacías */
.wb-hero--split .wb-kicker,
.wb-hero--split h1 {
  max-width: none;
}

.wb-hero--split .wb-lead,
.wb-section p,
.wb-section li,
.wb-faq p,
.wb-card p,
.libro-hero__deck,
.libro-hero__subtitle,
.libro-story p,
.libro-author__panel > p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.wb-cta p,
.libro-quote p,
.libro-cta__inner p {
  text-align: center;
  text-justify: auto;
  hyphens: manual;
}

.wb-section p,
.wb-section .wb-list,
.wb-faq {
  max-width: none;
}

.wb-section h2 {
  max-width: none;
}

/* Medida tipográfica editorial a ancho completo del contenedor */
.wb-section > p,
.wb-section .wb-list,
.wb-faq,
.wb-lead {
  max-width: none;
}

@media (min-width: 861px) {
  main > .wb-hero + .wb-section > p,
  main > .wb-hero + .wb-section > h2 {
    max-width: none;
  }
}

.wb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.wb-card {
  background: var(--wb-white);
  border: 1px solid rgba(66, 63, 50, 0.1);
  padding: 1.25rem;
}

.wb-card h3 {
  margin: 0 0 0.5rem;
  color: var(--wb-brown);
  font-size: 1.05rem;
}

.wb-card p {
  margin: 0;
  font-size: 0.95rem;
}

.wb-card a {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.wb-band {
  background: var(--wb-bg-soft);
  border-block: 1px solid rgba(66, 63, 50, 0.08);
}

.wb-quote {
  max-width: 40rem;
  margin: 0;
  font-family: var(--wb-font-accent);
  font-size: 1.15rem;
  font-style: normal;
  color: var(--wb-brown);
}

.wb-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--wb-font-ui);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--wb-muted);
}

.wb-list {
  margin: 0;
  padding-left: 1.15rem;
  max-width: 40rem;
}

.wb-list li {
  margin-bottom: 0.45rem;
}

.wb-cta {
  background: var(--wb-teal);
  color: var(--wb-white);
}

.wb-cta .wb-section {
  text-align: center;
}

.wb-cta h2,
.wb-cta p {
  color: var(--wb-white);
  margin-left: auto;
  margin-right: auto;
}

.wb-cta .wb-btn--primary {
  background: var(--wb-white);
  color: var(--wb-teal);
}

.wb-cta .wb-btn--ghost {
  color: var(--wb-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.wb-footer {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--wb-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(66, 63, 50, 0.1);
}

.wb-footer a {
  color: var(--wb-text);
  text-decoration: none;
}

.wb-disclaimer {
  font-size: 0.85rem;
  color: var(--wb-muted);
  max-width: 42rem;
}

.wb-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
}

.wb-social__link {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--wb-text);
  text-decoration: none;
  border: 1px solid rgba(66, 63, 50, 0.16);
  background: var(--wb-white);
  border-bottom: 1px solid rgba(66, 63, 50, 0.16);
}

.wb-social__link:hover {
  color: var(--wb-teal);
  border-color: var(--wb-teal);
}

.wb-social__link svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.wb-footer {
  flex-direction: column;
  align-items: flex-start;
}

.wb-footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
}

.wb-section--social {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.wb-footer__home {
  display: flex;
  align-items: center;
}

.wb-footer .wb-social {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(66, 63, 50, 0.1);
  width: 100%;
}

.wb-seo-block h2 {
  margin-top: 0;
}

.wb-faq {
  max-width: 42rem;
  margin: 1.25rem 0 0;
}

.wb-faq details {
  border-bottom: 1px solid rgba(66, 63, 50, 0.12);
  padding: 0.85rem 0;
}

.wb-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--wb-brown);
  list-style: none;
}

.wb-faq summary::-webkit-details-marker {
  display: none;
}

.wb-faq summary::before {
  content: "+ ";
  color: var(--wb-teal);
}

.wb-faq details[open] summary::before {
  content: "– ";
}

.wb-faq p {
  margin: 0.65rem 0 0;
  color: var(--wb-text);
}

.wb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.wb-chip {
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(47, 99, 106, 0.28);
  color: var(--wb-teal);
  background: rgba(255, 255, 255, 0.7);
}

/* Contact form */
.wb-contact {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.35fr 0.9fr;
  align-items: start;
}

.wb-form {
  background: var(--wb-white);
  border: 1px solid rgba(66, 63, 50, 0.12);
  padding: 1.5rem 1.35rem 1.75rem;
}

.wb-form h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  color: var(--wb-brown);
}

.wb-form > p {
  margin: 0 0 1.25rem;
  color: var(--wb-muted);
  font-size: 0.95rem;
}

.wb-field {
  margin-bottom: 1rem;
}

.wb-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--wb-brown);
  margin-bottom: 0.35rem;
}

.wb-field .wb-req {
  color: var(--wb-teal);
  font-weight: 700;
}

.wb-field input,
.wb-field select,
.wb-field textarea {
  width: 100%;
  font: inherit;
  color: var(--wb-text);
  background: var(--wb-bg);
  border: 1px solid rgba(66, 63, 50, 0.2);
  padding: 0.7rem 0.85rem;
  border-radius: 0;
}

.wb-field input:focus,
.wb-field select:focus,
.wb-field textarea:focus {
  outline: 2px solid rgba(47, 99, 106, 0.35);
  outline-offset: 1px;
  border-color: var(--wb-teal);
}

.wb-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.wb-field-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.wb-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.wb-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.15rem;
}

.wb-form-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.wb-form-status--ok {
  background: rgba(47, 99, 106, 0.1);
  border-color: rgba(47, 99, 106, 0.28);
  color: var(--wb-teal);
}

.wb-form-status--err {
  background: rgba(93, 59, 39, 0.08);
  border-color: rgba(93, 59, 39, 0.25);
  color: var(--wb-brown-deep);
}

.wb-contact-aside .wb-card {
  margin-bottom: 1rem;
}

.wb-contact-aside .wb-card:last-child {
  margin-bottom: 0;
}

.wb-contact-note {
  font-size: 0.85rem;
  color: var(--wb-muted);
  margin-top: 0.85rem;
}

@media (max-width: 860px) {
  .wb-contact {
    grid-template-columns: 1fr;
  }

  .wb-field-row {
    grid-template-columns: 1fr;
  }
}

.wb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.wb-brand img,
.wb-brand .logo-round,
.logo-round {
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
  display: block;
}

.wb-media--video {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
}

.wb-media--video video {
  width: 100%;
  height: auto;
  display: block;
  background: #231f20;
}

.wb-media-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 1.5rem;
}

.wb-media-pair img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 720px) {
  .wb-media-pair {
    grid-template-columns: 1fr;
  }
}

/* Retrato editorial antes de «¿Quién soy?» — escala fluida, sin recorte */
.wb-media--cover {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: none;
  margin: 0.5rem 0 2rem;
  background: transparent;
  overflow: visible;
}

.wb-media--cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(82vh, 54rem);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 24px 56px rgba(31, 27, 22, 0.13);
}

@media (max-width: 860px) {
  .wb-media--cover {
    margin: 0.25rem 0 1.5rem;
    justify-content: center;
  }

  .wb-media--cover img {
    width: 100%;
    max-height: none;
    box-shadow: 0 16px 36px rgba(31, 27, 22, 0.11);
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .wb-media--cover img {
    max-height: min(75vh, 44rem);
  }
}

/* —— Página Libro: composición editorial —— */
.page-libro {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(250, 237, 205, 0.9), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(153, 186, 185, 0.22), transparent 50%),
    var(--wb-bg);
}

.page-libro .wb-top {
  background: rgba(248, 245, 239, 0.88);
  backdrop-filter: blur(10px);
}

.libro-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem clamp(3rem, 6vw, 5rem);
}

.libro-hero__glow {
  position: absolute;
  inset: -10% 40% auto -15%;
  height: 70%;
  background: radial-gradient(circle at 40% 40%, rgba(197, 162, 128, 0.28), transparent 65%);
  pointer-events: none;
}

.libro-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.libro-hero__cover {
  margin: 0;
  justify-self: center;
  width: min(100%, 22rem);
  animation: libro-rise 0.9s ease both;
}

.libro-hero__cover img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow:
    0 28px 60px rgba(35, 31, 32, 0.22),
    0 8px 18px rgba(93, 59, 39, 0.12);
  transform: rotate(-1.5deg);
  transition: transform 0.45s ease;
}

.libro-hero__cover:hover img {
  transform: rotate(0deg) translateY(-4px);
}

.libro-hero__copy {
  animation: libro-rise 0.9s ease 0.12s both;
}

.libro-hero__copy h1 {
  margin: 0 0 0.85rem;
  font-family: var(--wb-font-display);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.12;
  color: var(--wb-brown-deep);
  font-weight: 700;
  text-wrap: balance;
}

.libro-hero__subtitle {
  margin: 0 0 1rem;
  font-family: var(--wb-font-accent);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  color: var(--wb-teal);
}

.libro-hero__deck {
  margin: 0;
  max-width: 34rem;
  font-size: 1.08rem;
  color: var(--wb-text);
}

.libro-story {
  padding: 0 1.25rem 3.5rem;
}

.libro-story__inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.25rem 0 0;
  border-top: 1px solid rgba(166, 128, 107, 0.28);
  animation: libro-rise 0.8s ease 0.2s both;
}

.libro-story__label {
  margin: 0 0 1.25rem;
  font-family: var(--wb-font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wb-taupe);
}

.libro-story__inner p {
  margin: 0 0 1.15rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--wb-text);
  text-wrap: pretty;
}

.libro-story__emphasis {
  font-family: var(--wb-font-accent);
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  color: var(--wb-brown-deep) !important;
}

.libro-author {
  background:
    linear-gradient(160deg, #304254 0%, #2f636a 48%, #513e29 100%);
  color: #f8f5ef;
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
}

.libro-author__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.libro-author__portrait {
  margin: 0;
  position: relative;
}

.libro-author__portrait::after {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 42%;
  height: 42%;
  border: 1px solid rgba(197, 162, 128, 0.55);
  pointer-events: none;
}

.libro-author__portrait img {
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.libro-author__panel {
  padding: 0.5rem 0 1rem;
}

.libro-author__panel .wb-kicker {
  color: var(--wb-gold);
}

.libro-author__panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--wb-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  color: #fff;
  font-weight: 700;
}

.libro-author__panel > p {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  color: rgba(248, 245, 239, 0.88);
  font-size: 1.05rem;
  line-height: 1.6;
}

.libro-author__video {
  margin: 1.25rem 0 0;
  max-width: 15.5rem;
  width: 100%;
  line-height: 0;
  background: #231f20;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  outline: 1px solid rgba(197, 162, 128, 0.35);
  outline-offset: 5px;
}

.libro-author__video video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

.libro-quote {
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
  background:
    linear-gradient(180deg, rgba(239, 235, 206, 0.55), transparent 70%),
    var(--wb-bg);
}

.libro-quote blockquote {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

.libro-quote p {
  margin: 0;
  font-family: var(--wb-font-accent);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.45;
  color: var(--wb-brown-deep);
  text-align: center;
  text-wrap: balance;
}

.libro-cta {
  padding: 0 1.25rem 3.5rem;
}

.libro-cta__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(250, 237, 205, 0.65), rgba(153, 186, 185, 0.18));
  border-top: 1px solid rgba(166, 128, 107, 0.3);
  border-bottom: 1px solid rgba(166, 128, 107, 0.3);
}

.libro-cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--wb-font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--wb-brown-deep);
}

.libro-cta p {
  margin: 0 0 1.25rem;
  color: var(--wb-text);
}

.libro-cta .wb-actions {
  justify-content: center;
}

@keyframes libro-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .libro-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .libro-hero__cover {
    width: min(100%, 18rem);
    order: -1;
  }

  .libro-hero__cover img {
    transform: none;
  }

  .libro-hero__deck {
    margin-left: auto;
    margin-right: auto;
  }

  .libro-hero__copy .wb-actions {
    justify-content: center;
  }

  .libro-author__inner {
    grid-template-columns: 1fr;
  }

  .libro-author__portrait::after {
    display: none;
  }

  .libro-author__video {
    max-width: 15.5rem;
    margin-inline: auto;
  }
}


/* —— Página Talleres: composición Canva (imagen ↔ texto) —— */
.page-talleres {
  background:
    linear-gradient(180deg, rgba(250, 237, 205, 0.35), transparent 18%),
    var(--wb-bg);
}

.page-talleres .wb-top {
  background: rgba(248, 245, 239, 0.9);
  backdrop-filter: blur(10px);
}

.wb-page-hero {
  position: relative;
  min-height: min(88vh, 44rem);
  display: grid;
  align-items: end;
  color: #f8f5ef;
  overflow: hidden;
}

.wb-page-hero__media,
.wb-page-hero__veil {
  position: absolute;
  inset: 0;
}

.wb-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.wb-page-hero__veil {
  background:
    linear-gradient(90deg, rgba(35, 31, 32, 0.72) 0%, rgba(35, 31, 32, 0.42) 48%, rgba(35, 31, 32, 0.18) 100%),
    linear-gradient(180deg, rgba(35, 31, 32, 0.15) 0%, rgba(35, 31, 32, 0.55) 100%);
}

.wb-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: clamp(5.5rem, 12vw, 8rem) 1.35rem clamp(2.5rem, 6vw, 4rem);
}

.wb-page-hero__logo {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.wb-page-hero__kicker {
  color: rgba(250, 237, 205, 0.92);
}

.wb-page-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--wb-font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
}

.wb-page-hero__tag {
  margin: 0 0 1.5rem;
  font-family: var(--wb-font-accent);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  color: rgba(248, 245, 239, 0.92);
}

.wb-page-hero .wb-btn--ghost {
  border-color: rgba(248, 245, 239, 0.55);
  color: #f8f5ef;
}

.wb-page-hero .wb-btn--ghost:hover {
  background: rgba(248, 245, 239, 0.12);
  color: #fff;
}

.taller-intro {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.taller-quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.taller-quote p {
  margin: 0;
  font-family: var(--wb-font-accent);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  color: var(--wb-brown-deep);
  text-align: left;
  text-wrap: pretty;
}

.taller-intro__meta p {
  margin: 0 0 0.75rem;
  color: var(--wb-text);
  text-align: justify;
  hyphens: auto;
}

.taller-split {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  align-items: center;
}

.taller-split--flip .taller-split__media {
  order: 2;
}

.taller-split--flip .taller-split__copy {
  order: 1;
}

.taller-split__media {
  margin: 0;
  overflow: hidden;
  background: var(--wb-bg-soft);
}

.taller-split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
}

.taller-split__copy h2 {
  margin: 0 0 0.55rem;
  font-family: var(--wb-font-display);
  color: var(--wb-brown);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.taller-split__copy p {
  margin: 0 0 0.85rem;
  text-align: justify;
  hyphens: auto;
}

.taller-mod__title {
  font-family: var(--wb-font-alt);
  font-size: 1.12rem;
  color: var(--wb-teal-deep);
  margin-bottom: 0.35rem !important;
}

.taller-mod__follow {
  margin-top: 1.75rem !important;
}

.taller-cuida {
  background:
    linear-gradient(135deg, #304254 0%, #2f636a 55%, #513e29 120%);
  color: #f8f5ef;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
}

.taller-cuida__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.taller-cuida .wb-kicker {
  color: rgba(250, 237, 205, 0.9);
}

.taller-cuida h2 {
  margin: 0 0 0.85rem;
  font-family: var(--wb-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
}

.taller-cuida p {
  margin: 0 0 0.9rem;
  color: rgba(248, 245, 239, 0.9);
  text-align: justify;
}

.taller-cuida__pull {
  font-family: var(--wb-font-accent);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.4;
  color: #faedcd !important;
  text-align: left !important;
}

.taller-modules {
  max-width: var(--wb-max);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.taller-mod {
  background: var(--wb-white);
  border: 1px solid rgba(66, 63, 50, 0.1);
  padding: 1.25rem 1.15rem 1.35rem;
  min-height: 9.5rem;
}

.taller-mod--soft {
  background: var(--wb-cream);
}

.taller-mod__num {
  display: block;
  font-family: var(--wb-font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--wb-taupe);
  margin-bottom: 0.55rem;
}

.taller-mod h3 {
  margin: 0 0 0.45rem;
  font-family: var(--wb-font-display);
  font-size: 1.05rem;
  color: var(--wb-brown);
}

.taller-mod p {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.taller-close {
  max-width: var(--wb-max);
  margin: 0 auto 1rem;
  padding: clamp(1.5rem, 4vw, 2.75rem) 1.25rem clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  align-items: center;
}

.taller-close__media {
  margin: 0;
  overflow: hidden;
}

.taller-close__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.taller-close__copy h2 {
  margin: 0 0 1rem;
  font-family: var(--wb-font-display);
  color: var(--wb-brown);
}

.taller-chips {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.taller-chips li {
  padding: 0.4rem 0.7rem;
  background: var(--wb-cream);
  border: 1px solid rgba(81, 62, 41, 0.12);
  font-size: 0.86rem;
  color: var(--wb-brown-deep);
}

.taller-close__line {
  margin: 0 0 1.35rem;
  font-family: var(--wb-font-accent);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--wb-teal-deep);
  text-align: left;
}

@media (max-width: 900px) {
  .wb-page-hero {
    min-height: min(78vh, 36rem);
  }

  .taller-intro,
  .taller-split,
  .taller-split--flip .taller-split__media,
  .taller-split--flip .taller-split__copy,
  .taller-close {
    grid-template-columns: 1fr;
  }

  .taller-split--flip .taller-split__media,
  .taller-split--flip .taller-split__copy {
    order: initial;
  }

  .taller-modules {
    grid-template-columns: 1fr;
  }

  .wb-page-hero__inner {
    max-width: none;
  }

  .taller-quote p,
  .taller-cuida__pull,
  .taller-close__line {
    text-align: left !important;
  }
}


/* Alias legacy */
.taller-hero { /* compat */ }
.page-talleres .wb-page-hero,
.page-historia .wb-page-hero,
.page-psico .wb-page-hero,
.page-edu .wb-page-hero,
.page-lab .wb-page-hero,
.page-social .wb-page-hero,
.page-contacto .wb-page-hero,
.page-servicios .wb-page-hero {
  /* shared hero already via .wb-page-hero */
}

.taller-mod--visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--wb-cream);
  min-height: 11rem;
}

.taller-mod--visual img {
  width: min(7.5rem, 70%);
  height: auto;
  margin-top: 0.65rem;
  display: block;
}

.taller-mod--visual h3 {
  margin-bottom: 0;
}

.wb-page-hero__tag br + * {
  /* noop */
}

.wb-page-hero__tag a {
  color: inherit;
}


/* ——— Legal pages + cookie banner (2026-07-23) ——— */
.wb-section--legal {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.wb-section--legal h1 {
  font-family: var(--wb-font-display);
  color: var(--wb-brown);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0.35rem 0 1.5rem;
}
.wb-legal h2 {
  font-family: var(--wb-font-display);
  color: var(--wb-brown);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
.wb-legal p, .wb-legal li {
  color: var(--wb-text);
  font-size: 1rem;
  line-height: 1.7;
}
.wb-legal ul { padding-left: 1.2rem; }
.wb-legal__meta {
  color: var(--wb-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.wb-legal__note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--wb-muted);
  border-top: 1px solid rgba(66,63,50,0.12);
  padding-top: 1rem;
}
.wb-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}
.wb-legal-table th,
.wb-legal-table td {
  border: 1px solid rgba(66,63,50,0.15);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.wb-legal-table th {
  background: var(--wb-bg-soft);
  color: var(--wb-brown);
  font-weight: 500;
}
.wb-legal-links {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--wb-muted);
}
.wb-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
}
.wb-legal-nav a {
  color: var(--wb-teal);
  text-decoration: none;
}
.wb-legal-nav a:hover { text-decoration: underline; }
.wb-copy {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--wb-muted);
}
.wb-cookie {
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: rgba(35, 31, 32, 0.55);
}
.wb-cookie__inner {
  max-width: 52rem;
  margin: 0 auto;
  background: var(--wb-white);
  border: 1px solid rgba(66,63,50,0.15);
  padding: 1.15rem 1.25rem 1.25rem;
  color: var(--wb-text);
  box-shadow: 0 -8px 32px rgba(35,31,32,0.12);
}
.wb-cookie__inner p { margin: 0.35rem 0; font-size: 0.92rem; line-height: 1.5; }
.wb-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.9rem;
}
.wb-cookie__link {
  font-size: 0.88rem;
  color: var(--wb-teal);
}
.wb-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.wb-consent input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}
