@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

.cms-service-carousel.layout1 .action-buttons .entry-readmore a .fill-button {
  background-color: #1eb1bc;
}

.cms-team-carousel.layout2 .carousel-item-inner .entry-body .entry-body-inner .lq-team-category a:hover {
  color: #1eb1bc;
}

.elementor-739 .elementor-element.elementor-element-b8eed93 .elementor-element-populated a:hover {
  color: #1eb1bc;
}

.zmdi.zmdi-phone {
  color: #1EB1BC;
}

.btn-more {
  color: #1EB1BC;
}

.cms-team-carousel.layout2 .carousel-item-inner .entry-body .entry-body-inner .lq-team-category a {
  color: #FFBB22;
}

.site-navigation-main-content {
  background-color: #1eb1bc;
}

#site-header-wrap #site-header {
  background-color: #1eb1bc;
}

.cms-heading.layout1 .custom-description {
  color: #14434c;
  font-variant: normal;
  font-style: italic;
  font-size: 19px;
  text-transform: capitalize;
}

.btn.btn-outline.secondary,
.button:not(.add_to_cart_button).btn-outline.secondary {
  color: #777;
  border-color: #1eb1bc;
}

body.page-id-5588 {
  background-color: #fff;
}

/* Fundación LIBELLA · Modernización visual 2026
   Capa estética global: no modifica contenidos ni arquitectura. */
:root {
  --libella-turquoise: #2A9D9A;
  --libella-turquoise-deep: #176B68;
  --libella-turquoise-soft: #DDF2F1;
  --libella-orange: #E97832;
  --libella-orange-deep: #C85F22;
  --libella-yellow: #F2C94C;
  --libella-yellow-soft: #FFF3C9;
  --libella-wellness-yellow: #E7B83A;
  --libella-wellness-gold: #D6A62A;
  --libella-wellness-cream: #FFF7DB;
  --libella-sand: #F5F1E8;
  --libella-ivory: #FCFAF6;
  --libella-white: #FFFFFF;
  --libella-graphite: #263332;
  --libella-gray: #6F7A79;
  --libella-line: #D9DEDD;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--libella-ivory);
  color: var(--libella-graphite);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
  padding-top: 89px;
}

body,
button,
input,
select,
textarea,
.primary-menu li a,
.btn,
.button,
.elementor-button {
  font-family: 'Manrope', Arial, sans-serif !important;
}

h1,
h2,
.cms-heading .custom-heading,
.elementor-heading-title {
  color: var(--libella-graphite);
  font-family: 'Lora', Georgia, serif !important;
  letter-spacing: 0;
}

h1,
.entry-title,
.page-title,
.elementor-widget-heading h1.elementor-heading-title {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
}

h2,
.elementor-widget-heading h2.elementor-heading-title {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.14;
}

h3,
.elementor-widget-heading h3.elementor-heading-title {
  color: var(--libella-graphite);
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

p,
li,
.elementor-widget-text-editor {
  color: var(--libella-graphite);
}

a {
  color: var(--libella-turquoise-deep);
}

a:hover,
a:focus {
  color: var(--libella-turquoise);
}

/* Header limpio, sticky y alineado a la derecha */
#site-header-wrap {
  background: var(--libella-ivory) !important;
  border-bottom: 1px solid var(--libella-line);
  box-shadow: 0 10px 28px rgba(38, 51, 50, 0.045);
  height: 89px !important;
  left: 0;
  position: fixed !important;
  right: 0;
  top: 0;
  z-index: 999;
}

body.admin-bar #site-header-wrap {
  top: 32px;
}

body.admin-bar {
  padding-top: 121px;
}

#site-header-wrap .header-top {
  display: none !important;
}

#site-header-wrap #site-header,
#site-header-wrap .site-header-main,
#site-header-wrap .site-navigation-main-content {
  background: var(--libella-ivory) !important;
}

#site-header-wrap #site-header {
  min-height: 88px;
  transition: min-height 220ms ease, box-shadow 220ms ease;
}

#site-header-wrap.h-fixed #site-header,
#site-header-wrap.is-stuck #site-header {
  min-height: 78px;
}

#site-header-wrap #site-header .container {
  max-width: 1320px;
  padding-left: clamp(22px, 4vw, 56px);
  padding-right: clamp(22px, 4vw, 56px);
  position: relative;
  width: 100%;
}

#site-header-wrap #site-header .container::before {
  background: url('https://fundacionlibella.org/wp-content/uploads/libella-logo-institucional-transparente-2026.png') left center / contain no-repeat;
  content: "";
  display: block;
  height: 62px;
  left: clamp(22px, 4vw, 56px);
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  z-index: 2;
}

#site-header-wrap #site-header .row > [class*="col-"] {
  align-items: center;
  display: flex;
  min-height: 88px;
}

#site-header-wrap .site-branding {
  align-items: center;
  display: flex !important;
  flex: 0 0 250px;
  height: 88px;
  margin-right: auto;
  min-width: 225px;
  padding: 0;
}

#site-header-wrap .site-branding .logo-light,
#site-header-wrap .site-branding .logo-mobile {
  display: none !important;
}

#site-header-wrap .site-branding .logo-dark {
  align-items: center;
  display: inline-flex !important;
  height: 88px !important;
  opacity: 1 !important;
  position: static !important;
  width: 245px !important;
}

#site-header-wrap .site-branding a {
  align-items: center;
  display: inline-flex;
}

#site-header-wrap .site-branding img {
  display: block;
  height: 64px !important;
  max-height: 64px !important;
  max-width: none !important;
  min-width: 0 !important;
  object-fit: contain;
  opacity: 1 !important;
  width: 245px !important;
}

#site-header-wrap.h-fixed .site-branding,
#site-header-wrap.is-stuck .site-branding,
#site-header-wrap.h-fixed .site-branding .logo-dark,
#site-header-wrap.is-stuck .site-branding .logo-dark {
  height: 78px !important;
}

#site-header-wrap.h-fixed .site-branding img,
#site-header-wrap.is-stuck .site-branding img {
  height: 58px !important;
  width: 220px !important;
}

#site-header-wrap .site-navigation {
  flex: 1 1 auto;
}

#site-header-wrap .site-navigation-inner,
#site-header-wrap .site-navigation-main-content,
#site-header-wrap .main-navigation {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

#site-header-wrap .primary-menu {
  align-items: center;
  display: flex;
  gap: clamp(16px, 1.7vw, 30px);
  justify-content: flex-end;
  margin: 0;
}

#site-header-wrap .primary-menu > li {
  margin: 0 !important;
}

#site-header-wrap .primary-menu > li > a,
#site-header.h-fixed .primary-menu > li > a {
  align-items: center;
  color: var(--libella-graphite) !important;
  display: inline-flex;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700;
  height: 88px !important;
  letter-spacing: 0.01em;
  line-height: 1.3;
  padding: 0 !important;
  position: relative;
  text-transform: uppercase;
  transition: color 180ms ease;
}

#site-header-wrap .primary-menu > li > a::after {
  background: var(--libella-turquoise);
  bottom: 24px;
  content: "";
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: opacity 180ms ease, transform 180ms ease;
  width: 100%;
}

#site-header-wrap .primary-menu > li:hover > a,
#site-header-wrap .primary-menu > li.current-menu-item > a,
#site-header-wrap .primary-menu > li.current_page_item > a,
#site-header-wrap .primary-menu > li.current-menu-ancestor > a,
#site-header-wrap .primary-menu > li.current_page_ancestor > a,
#site-header.h-fixed .primary-menu > li:hover > a,
#site-header.h-fixed .primary-menu > li.current-menu-item > a,
#site-header.h-fixed .primary-menu > li.current_page_item > a,
#site-header.h-fixed .primary-menu > li.current-menu-ancestor > a,
#site-header.h-fixed .primary-menu > li.current_page_ancestor > a {
  color: var(--libella-turquoise) !important;
}

#site-header-wrap .primary-menu > li:hover > a::after,
#site-header-wrap .primary-menu > li.current-menu-item > a::after,
#site-header-wrap .primary-menu > li.current_page_item > a::after,
#site-header-wrap .primary-menu > li.current-menu-ancestor > a::after,
#site-header-wrap .primary-menu > li.current_page_ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

#site-header-wrap.h-fixed .primary-menu > li > a,
#site-header-wrap.is-stuck .primary-menu > li > a {
  height: 78px !important;
}

#site-header-wrap .primary-menu .sub-menu {
  background: var(--libella-white) !important;
  border: 1px solid var(--libella-line) !important;
  border-radius: 0;
  box-shadow: 0 18px 45px rgba(38, 51, 50, 0.12);
  padding: 12px 0 !important;
}

#site-header-wrap .primary-menu .sub-menu li {
  background: transparent !important;
}

#site-header-wrap .primary-menu .sub-menu li a {
  color: var(--libella-graphite) !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 20px !important;
  text-transform: none;
}

#site-header-wrap .primary-menu .sub-menu li:hover > a,
#site-header-wrap .primary-menu .sub-menu li.current-menu-item > a,
#site-header-wrap .primary-menu .sub-menu li.current_page_item > a {
  background: var(--libella-turquoise-soft) !important;
  color: var(--libella-turquoise-deep) !important;
}

/* Ritmo visual general */
.site-content {
  background: var(--libella-ivory);
}

.content-area,
.entry-content,
.elementor-section,
.elementor-top-section {
  letter-spacing: 0;
}

.elementor-section,
.elementor-top-section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.elementor-section:nth-of-type(even) {
  background-color: var(--libella-sand);
}

.elementor-section:nth-of-type(3n) {
  background-color: var(--libella-white);
}

.elementor-section:nth-of-type(4n) {
  background-color: var(--libella-turquoise-soft);
}

.libella-architecture-page {
  background: var(--libella-ivory);
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(64px, 8vw, 112px) clamp(22px, 5vw, 52px);
}

.libella-architecture-page h1 {
  margin-bottom: 28px;
}

.libella-architecture-page h2 {
  margin-top: 58px;
  margin-bottom: 18px;
}

.libella-architecture-page .libella-lead {
  color: var(--libella-gray);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
  max-width: 820px;
}

.libella-architecture-page ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.libella-architecture-page li {
  background: var(--libella-white);
  border: 1px solid var(--libella-line);
  padding: 14px 18px;
}

.libella-architecture-page li a {
  color: var(--libella-turquoise-deep);
  font-weight: 700;
}

.page-id-13703 .libella-architecture-page h2:first-of-type,
.page-id-13706 .libella-architecture-page h1,
.page-id-13706 .libella-architecture-page h2 {
  color: var(--libella-orange-deep);
}

.page-id-13703 .libella-architecture-page h2:nth-of-type(2),
.page-id-13709 .libella-architecture-page h1,
.page-id-13709 .libella-architecture-page h2 {
  color: var(--libella-wellness-gold);
}

.btn,
.button,
.elementor-button,
button[type="submit"],
input[type="submit"] {
  background: var(--libella-turquoise) !important;
  border-color: var(--libella-turquoise) !important;
  color: var(--libella-white) !important;
  font-family: 'Manrope', Arial, sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.btn:hover,
.button:hover,
.elementor-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--libella-turquoise-deep) !important;
  border-color: var(--libella-turquoise-deep) !important;
}

@media (max-width: 1199px) {
  #site-header-wrap .primary-menu {
    gap: 14px;
  }

  #site-header-wrap .primary-menu > li > a,
  #site-header.h-fixed .primary-menu > li > a {
    font-size: 13px !important;
  }
}

@media (max-width: 991px) {
  body.admin-bar #site-header-wrap,
  #site-header-wrap {
    top: 0;
  }

  body,
  body.admin-bar {
    padding-top: 86px;
  }

  #site-header-wrap #site-header,
  #site-header-wrap #site-header .row > [class*="col-"] {
    min-height: 76px !important;
  }

  #site-header-wrap,
  #site-header-wrap #site-header {
    height: 86px !important;
    max-height: 86px;
  }

  #site-header-wrap .site-branding img {
    max-height: 54px !important;
  }

  #site-header-wrap #site-header .container::before {
    height: 48px;
    left: 18px;
    width: 172px;
  }

  #site-header-wrap .site-navigation {
    flex: 0 0 auto;
  }

  #main-menu-mobile {
    margin-left: auto;
  }

  #main-menu-mobile .btn-nav-mobile span,
  #main-menu-mobile .btn-nav-mobile::before,
  #main-menu-mobile .btn-nav-mobile::after {
    background: var(--libella-graphite) !important;
  }

  .elementor-section,
  .elementor-top-section {
    padding-top: clamp(56px, 12vw, 80px);
    padding-bottom: clamp(56px, 12vw, 80px);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  h1,
  .entry-title,
  .page-title {
    font-size: clamp(36px, 12vw, 46px);
  }

  h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  #site-header-wrap #site-header .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .libella-architecture-page {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Nosotros · rediseño editorial contemporáneo */
.libella-nosotros-editorial {
  --libella-petrol: #135a5d;
  --libella-petrol-soft: #dcefed;
  --libella-magenta: #c84c7a;
  --libella-magenta-soft: #f7dfea;
  --libella-gold: #d7a328;
  --libella-gold-soft: #f8edc7;
  --libella-mint: #dff5ef;
  --libella-ink: #1f3435;
  --libella-cream: #fffaf1;
  --libella-paper: #fffdf8;
  background: var(--libella-cream);
  color: var(--libella-ink);
  overflow: hidden;
}

.libella-nosotros-editorial * {
  box-sizing: border-box;
}

.libella-nosotros-editorial section {
  padding: clamp(74px, 9vw, 132px) clamp(22px, 5vw, 68px);
  position: relative;
}

.libella-nosotros-editorial h1,
.libella-nosotros-editorial h2 {
  color: var(--libella-ink);
  font-family: 'Lora', Georgia, serif !important;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}

.libella-nosotros-editorial h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  max-width: 900px;
}

.libella-nosotros-editorial h2 {
  font-size: clamp(38px, 5.3vw, 70px);
  line-height: 1.02;
}

.libella-nosotros-editorial h3,
.libella-nosotros-editorial p,
.libella-nosotros-editorial span,
.libella-nosotros-editorial a {
  font-family: 'Manrope', Arial, sans-serif !important;
  letter-spacing: 0;
}

.libella-nosotros-editorial p {
  color: rgba(31, 52, 53, 0.82);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.68;
  margin: 0 0 18px;
}

.libella-hero {
  align-items: center;
  background:
    radial-gradient(circle at 9% 12%, rgba(200, 76, 122, 0.13), transparent 27%),
    radial-gradient(circle at 74% 18%, rgba(215, 163, 40, 0.18), transparent 28%),
    linear-gradient(135deg, var(--libella-paper) 0%, #f4eee2 52%, var(--libella-mint) 100%);
  display: grid;
  gap: clamp(38px, 6vw, 86px);
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  min-height: calc(100vh - 89px);
  padding-top: clamp(86px, 8vw, 124px) !important;
}

.libella-organic {
  border: 2px solid rgba(42, 157, 154, 0.18);
  border-radius: 46% 54% 68% 32% / 45% 39% 61% 55%;
  content: "";
  position: absolute;
  transform: rotate(-12deg);
  z-index: 0;
}

.libella-organic--one {
  height: clamp(180px, 24vw, 350px);
  left: -82px;
  top: 110px;
  width: clamp(210px, 28vw, 410px);
}

.libella-organic--two {
  background: rgba(255, 255, 255, 0.34);
  bottom: 72px;
  height: clamp(150px, 20vw, 280px);
  right: -96px;
  width: clamp(180px, 25vw, 340px);
}

.libella-hero__copy,
.libella-hero__image {
  position: relative;
  z-index: 1;
}

.libella-kicker,
.libella-number {
  color: var(--libella-petrol);
  display: block;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.16em !important;
  margin: 0 0 18px !important;
  text-transform: uppercase;
}

.libella-lead {
  color: rgba(31, 52, 53, 0.75) !important;
  font-size: clamp(20px, 2.1vw, 28px) !important;
  line-height: 1.48 !important;
  margin-top: 30px !important;
  max-width: 790px;
}

.libella-manifesto {
  color: var(--libella-petrol) !important;
  font-size: clamp(19px, 1.8vw, 24px) !important;
  font-weight: 750;
  line-height: 1.5 !important;
  margin: 26px 0 30px !important;
  max-width: 720px;
}

.libella-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.libella-tags span {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(19, 90, 93, 0.16);
  border-radius: 999px;
  color: var(--libella-petrol);
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.08em !important;
  padding: 10px 14px;
  text-transform: uppercase;
}

.libella-hero__image {
  margin: 0;
}

.libella-hero__image::before {
  background: var(--libella-gold);
  border-radius: 42px;
  content: "";
  inset: 24px -18px -18px 22px;
  opacity: 0.55;
  position: absolute;
}

.libella-hero__image img {
  aspect-ratio: 4 / 3.4;
  border-radius: 44px;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
  position: relative;
  width: 100%;
  z-index: 1;
}

.libella-section--warm {
  background: var(--libella-cream);
}

.libella-section--light {
  background: var(--libella-paper);
}

.libella-section--color {
  background: linear-gradient(135deg, var(--libella-petrol-soft), #f8f2de);
}

.libella-section > .libella-number,
.libella-section > h2,
.libella-section > p,
.libella-two-col,
.libella-pillars,
.libella-duo,
.libella-cards,
.libella-identity__intro,
.libella-identity-grid,
.libella-roles {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.libella-two-col {
  align-items: start;
  display: grid;
  gap: clamp(34px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.libella-pillars,
.libella-duo,
.libella-cards,
.libella-identity-grid,
.libella-roles {
  display: grid;
  gap: 20px;
  margin-top: clamp(36px, 5vw, 58px);
}

.libella-pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.libella-pillars article,
.libella-duo article,
.libella-cards article,
.libella-identity-grid article,
.libella-roles article {
  border: 1px solid rgba(31, 52, 53, 0.08);
  border-radius: 34px;
  box-shadow: 0 18px 42px rgba(19, 90, 93, 0.06);
  padding: clamp(24px, 3.2vw, 38px);
}

.libella-pillars article {
  min-height: 290px;
}

.libella-pillars span,
.libella-duo span,
.libella-cards span,
.libella-identity-grid span,
.libella-roles span {
  color: rgba(31, 52, 53, 0.64);
  display: block;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.14em !important;
  margin-bottom: 18px !important;
  text-transform: uppercase;
}

.libella-pillars h3,
.libella-cards h3,
.libella-identity-grid h3,
.libella-roles h3,
.libella-duo h3 {
  color: var(--libella-ink);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 850;
  line-height: 1.08;
  margin: 0 0 18px;
}

.libella-card--teal {
  background: var(--libella-mint);
}

.libella-card--gold {
  background: var(--libella-gold-soft);
}

.libella-card--magenta {
  background: var(--libella-magenta-soft);
}

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

.libella-duo article {
  min-height: 390px;
}

.libella-mission {
  background: var(--libella-petrol);
}

.libella-vision {
  background: var(--libella-magenta);
}

.libella-mission span,
.libella-mission h3,
.libella-mission p,
.libella-vision span,
.libella-vision h3,
.libella-vision p {
  color: #fffdf8 !important;
}

.libella-duo p {
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.55;
}

.libella-cards {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.libella-cards article:nth-child(1) {
  background: var(--libella-mint);
}

.libella-cards article:nth-child(2) {
  background: var(--libella-gold-soft);
}

.libella-cards article:nth-child(3) {
  background: #e9f1ef;
}

.libella-cards article:nth-child(4) {
  background: var(--libella-magenta-soft);
}

.libella-cards article:nth-child(5) {
  background: #e7e4f5;
}

.libella-cards span {
  color: var(--libella-petrol);
  font-family: 'Lora', Georgia, serif !important;
  font-size: 34px !important;
  font-weight: 600;
  letter-spacing: 0 !important;
  margin-bottom: 28px !important;
}

.libella-identity__intro {
  align-items: center;
  display: grid;
  gap: clamp(36px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.74fr);
}

.libella-identity__intro figure {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(223, 245, 239, 0.88));
  border: 1px solid rgba(42, 157, 154, 0.14);
  border-radius: 44% 56% 48% 52% / 50% 41% 59% 50%;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 360px;
  padding: clamp(28px, 5vw, 58px);
}

.libella-identity__intro img {
  display: block;
  max-width: 430px;
  object-fit: contain;
  width: 100%;
}

.libella-identity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.libella-identity-grid article {
  background: rgba(255, 255, 255, 0.7);
}

.libella-identity-grid article:nth-child(2) {
  background: var(--libella-petrol-soft);
}

.libella-identity-grid article:nth-child(3) {
  background: var(--libella-gold-soft);
}

.libella-identity-grid article:nth-child(4) {
  background: var(--libella-magenta-soft);
}

.libella-people > p:not(.libella-number) {
  max-width: 760px;
}

.libella-roles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.libella-roles article {
  background: var(--libella-cream);
  min-height: 220px;
}

.libella-roles article:nth-child(2) {
  background: var(--libella-mint);
}

.libella-roles article:nth-child(3) {
  background: var(--libella-gold-soft);
}

.libella-statement {
  background: var(--libella-petrol);
  overflow: hidden;
  text-align: center;
}

.libella-statement::before,
.libella-statement::after {
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 45% 55% 65% 35% / 45% 38% 62% 55%;
  content: "";
  height: 260px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(14deg);
  width: 340px;
}

.libella-statement::before {
  left: -150px;
}

.libella-statement::after {
  right: -150px;
}

.libella-statement p {
  color: #fffdf8 !important;
  font-family: 'Lora', Georgia, serif !important;
  font-size: clamp(40px, 6vw, 82px) !important;
  line-height: 1.06 !important;
  margin: 0 auto !important;
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.libella-closing {
  background:
    radial-gradient(circle at 88% 14%, rgba(200, 76, 122, 0.14), transparent 26%),
    linear-gradient(135deg, var(--libella-paper), var(--libella-gold-soft));
  text-align: center;
}

.libella-closing h2,
.libella-closing p {
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}

.libella-closing p {
  font-size: clamp(18px, 1.8vw, 22px);
  margin-top: 24px;
}

.libella-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
}

.libella-actions a {
  background: var(--libella-petrol);
  border: 1px solid var(--libella-petrol);
  border-radius: 999px;
  color: #fffdf8 !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em !important;
  padding: 15px 24px;
  text-transform: uppercase;
}

.libella-actions a:last-child {
  background: transparent;
  color: var(--libella-petrol) !important;
}

.libella-contact,
.libella-contact a {
  color: rgba(31, 52, 53, 0.72) !important;
  font-size: 15px !important;
}

.libella-contact {
  margin-top: 40px !important;
}

body.page-id-13700 footer,
body.page-id-13700 #colophon,
body.page-id-13700 .site-footer,
body.page-id-13700 .footer,
body.page-id-13700 #pagetitle {
  display: none !important;
}

@media (max-width: 1180px) {
  .libella-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .libella-hero,
  .libella-two-col,
  .libella-identity__intro {
    grid-template-columns: 1fr;
  }

  .libella-hero__image {
    max-width: 720px;
  }

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

@media (max-width: 820px) {
  .libella-pillars,
  .libella-duo,
  .libella-roles {
    grid-template-columns: 1fr;
  }

  .libella-duo article {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .libella-nosotros-editorial section {
    padding: 64px 20px;
  }

  .libella-hero {
    min-height: auto;
    padding-top: 72px !important;
  }

  .libella-nosotros-editorial h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

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

  .libella-hero__image::before {
    inset: 12px -10px -10px 12px;
  }

  .libella-hero__image img,
  .libella-pillars article,
  .libella-duo article,
  .libella-cards article,
  .libella-identity-grid article,
  .libella-roles article {
    border-radius: 26px;
  }

  .libella-identity__intro figure {
    border-radius: 34px;
    min-height: 240px;
  }
}

/* Inicio · experiencia editorial LIBELLA */
.libella-home-editorial {
  --home-petrol: #135a5d;
  --home-turquoise: #1faeb7;
  --home-aqua: #dff8f6;
  --home-cream: #fff9ef;
  --home-sand: #f4ead8;
  --home-gold: #f7df9a;
  --home-rose: #f5dce8;
  --home-ink: #1e3536;
  background: var(--home-cream);
  color: var(--home-ink);
  overflow: hidden;
}

.libella-home-editorial * {
  box-sizing: border-box;
}

.libella-home-editorial section {
  padding: clamp(76px, 9vw, 134px) clamp(22px, 5vw, 68px);
  position: relative;
}

.libella-home-editorial h1,
.libella-home-editorial h2 {
  color: var(--home-ink);
  font-family: 'Lora', Georgia, serif !important;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}

.libella-home-editorial h1 {
  font-size: clamp(50px, 7.4vw, 96px);
  line-height: 0.98;
  max-width: 910px;
}

.libella-home-editorial h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.03;
}

.libella-home-editorial h3,
.libella-home-editorial p,
.libella-home-editorial a,
.libella-home-editorial span,
.libella-home-editorial strong {
  font-family: 'Manrope', Arial, sans-serif !important;
  letter-spacing: 0;
}

.libella-home-editorial p {
  color: rgba(30, 53, 54, 0.78);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
  margin: 0 0 18px;
}

.libella-home-eyebrow {
  color: var(--home-petrol) !important;
  display: block;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.16em !important;
  margin: 0 0 20px !important;
  text-transform: uppercase;
}

.libella-home-hero {
  align-items: center;
  background:
    radial-gradient(circle at 13% 12%, rgba(31, 174, 183, 0.24), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(247, 223, 154, 0.55), transparent 28%),
    linear-gradient(135deg, var(--home-aqua), #f8f1e4);
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  min-height: calc(100vh - 89px);
  padding-top: clamp(92px, 9vw, 132px) !important;
}

.libella-home-shape {
  border: 2px solid rgba(19, 90, 93, 0.12);
  border-radius: 42% 58% 66% 34% / 48% 42% 58% 52%;
  height: clamp(220px, 30vw, 460px);
  left: -120px;
  position: absolute;
  top: 110px;
  transform: rotate(-10deg);
  width: clamp(260px, 36vw, 540px);
}

.libella-home-hero__copy,
.libella-home-hero__image {
  position: relative;
  z-index: 1;
}

.libella-home-hero__copy > p:not(.libella-home-eyebrow) {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.48;
  margin-top: 28px;
  max-width: 750px;
}

.libella-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.libella-home-actions a,
.libella-home-training a,
.libella-home-program-grid a {
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em !important;
  padding: 15px 24px;
  text-transform: uppercase;
}

.libella-home-actions a:first-child,
.libella-home-training a,
.libella-home-program-grid a {
  background: var(--home-petrol);
  border: 1px solid var(--home-petrol);
  color: #fffdf8 !important;
}

.libella-home-actions a:last-child {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(19, 90, 93, 0.22);
  color: var(--home-petrol) !important;
}

.libella-home-hero__image {
  margin: 0;
}

.libella-home-hero__image::before {
  background: var(--home-gold);
  border-radius: 40px;
  content: "";
  inset: 22px -18px -18px 22px;
  opacity: 0.6;
  position: absolute;
}

.libella-home-hero__image img,
.libella-home-axis figure img,
.libella-home-photo-grid img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.libella-home-hero__image img {
  aspect-ratio: 4 / 3.35;
  border-radius: 46px;
  position: relative;
  z-index: 1;
}

.libella-home-about {
  background: var(--home-cream);
}

.libella-home-split,
.libella-home-axis,
.libella-home-programs,
.libella-home-training,
.libella-home-action {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.libella-home-split {
  display: grid;
  gap: clamp(34px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.libella-home-axis {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.libella-home-axis--reverse figure {
  order: 2;
}

.libella-home-axis--mint {
  background: var(--home-aqua);
}

.libella-home-axis--sand {
  background: var(--home-sand);
}

.libella-home-axis--rose {
  background: var(--home-rose);
}

.libella-home-axis figure {
  margin: 0;
}

.libella-home-axis figure img {
  aspect-ratio: 1.08 / 1;
  border-radius: 42px;
}

.libella-home-axis h2 {
  max-width: 670px;
}

.libella-home-axis p:not(.libella-home-eyebrow) {
  font-size: clamp(19px, 1.8vw, 24px);
  max-width: 650px;
}

.libella-home-statement {
  background: var(--home-petrol);
  overflow: hidden;
  text-align: center;
}

.libella-home-statement::before,
.libella-home-statement::after {
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 46% 54% 62% 38% / 44% 41% 59% 56%;
  content: "";
  height: 260px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(13deg);
  width: 360px;
}

.libella-home-statement::before {
  left: -150px;
}

.libella-home-statement::after {
  right: -150px;
}

.libella-home-statement p {
  color: #fffdf8 !important;
  font-family: 'Lora', Georgia, serif !important;
  font-size: clamp(42px, 6vw, 84px) !important;
  line-height: 1.05 !important;
  margin: 0 auto 22px !important;
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.libella-home-statement span {
  color: rgba(255, 253, 248, 0.82);
  display: block;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.libella-home-programs {
  background: #fffdf8;
}

.libella-home-program-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 58px);
}

.libella-home-program-grid article {
  border: 1px solid rgba(30, 53, 54, 0.08);
  border-radius: 28px;
  min-height: 370px;
  padding: clamp(26px, 3vw, 38px);
}

.libella-home-program-grid article:nth-child(1) {
  background: var(--home-aqua);
}

.libella-home-program-grid article:nth-child(2) {
  background: var(--home-gold);
}

.libella-home-program-grid article:nth-child(3) {
  background: var(--home-rose);
}

.libella-home-program-grid span {
  color: rgba(30, 53, 54, 0.66);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em !important;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.libella-home-program-grid h3 {
  color: var(--home-ink);
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 850;
  line-height: 1.08;
  margin: 0 0 18px;
}

.libella-home-program-grid a {
  margin-top: 18px;
}

.libella-home-training {
  align-items: center;
  background: var(--home-sand);
  display: grid;
  gap: clamp(32px, 6vw, 82px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
}

.libella-home-training__list {
  display: grid;
  gap: 14px;
}

.libella-home-training__list p {
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(30, 53, 54, 0.08);
  border-radius: 999px;
  color: var(--home-petrol);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 850;
  margin: 0;
  padding: 18px 24px;
}

.libella-home-action {
  background: var(--home-cream);
}

.libella-home-action > h2 {
  max-width: 860px;
}

.libella-home-photo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  grid-template-rows: 240px 300px;
  margin-top: clamp(36px, 5vw, 58px);
}

.libella-home-photo-grid figure {
  margin: 0;
  overflow: hidden;
}

.libella-home-photo-grid figure,
.libella-home-photo-grid img {
  border-radius: 34px;
}

.libella-home-photo-grid figure:nth-child(1) {
  grid-row: span 2;
}

.libella-home-photo-grid figure:nth-child(3) {
  grid-column: span 1;
  grid-row: span 2;
}

.libella-home-closing {
  background:
    radial-gradient(circle at 88% 12%, rgba(31, 174, 183, 0.24), transparent 28%),
    linear-gradient(135deg, var(--home-petrol), #0c3f42);
  text-align: center;
}

.libella-home-closing h2,
.libella-home-closing p {
  color: #fffdf8 !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}

.libella-home-closing .libella-home-actions {
  justify-content: center;
}

.libella-home-closing .libella-home-actions a:first-child {
  background: #fffdf8;
  border-color: #fffdf8;
  color: var(--home-petrol) !important;
}

.libella-home-closing .libella-home-actions a:last-child {
  background: transparent;
  border-color: rgba(255, 253, 248, 0.58);
  color: #fffdf8 !important;
}

.libella-home-footer {
  border-top: 1px solid rgba(255, 253, 248, 0.2);
  color: rgba(255, 253, 248, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  margin: 72px auto 0;
  max-width: 980px;
  padding-top: 28px;
}

.libella-home-footer strong,
.libella-home-footer span,
.libella-home-footer a {
  color: rgba(255, 253, 248, 0.86) !important;
  font-size: 15px;
}

body.home footer,
body.home #colophon,
body.home .site-footer,
body.home .footer,
body.home #pagetitle {
  display: none !important;
}

@media (max-width: 1100px) {
  .libella-home-hero,
  .libella-home-split,
  .libella-home-axis,
  .libella-home-training {
    grid-template-columns: 1fr;
  }

  .libella-home-axis--reverse figure {
    order: 0;
  }

  .libella-home-program-grid {
    grid-template-columns: 1fr;
  }

  .libella-home-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 260px 260px;
  }

  .libella-home-photo-grid figure:nth-child(1),
  .libella-home-photo-grid figure:nth-child(3) {
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  .libella-home-editorial section {
    padding: 64px 20px;
  }

  .libella-home-hero {
    min-height: auto;
    padding-top: 76px !important;
  }

  .libella-home-editorial h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .libella-home-hero__image img,
  .libella-home-axis figure img,
  .libella-home-photo-grid figure,
  .libella-home-photo-grid img,
  .libella-home-program-grid article {
    border-radius: 26px;
  }

  .libella-home-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .libella-home-photo-grid figure {
    height: 260px;
  }

  .libella-home-footer {
    align-items: center;
    flex-direction: column;
  }
}
